| @@ -158,13 +158,13 @@ | |||||
| <van-form ref="dcshForm"> | <van-form ref="dcshForm"> | ||||
| <van-row> | <van-row> | ||||
| <van-col span="24"> | <van-col span="24"> | ||||
| <van-field v-model="zjdzdxx.auditRemark" label="备注" placeholder="审核备注" input-align="right" /> | |||||
| <van-field v-model="zjddcsh.auditRemark" label="备注" placeholder="审核备注" input-align="right" /> | |||||
| </van-col> | </van-col> | ||||
| <van-col span="8"> | <van-col span="8"> | ||||
| <p style="margin-left: 10%;color: #646566; font-size: 0.373333rem;">审核</p> | <p style="margin-left: 10%;color: #646566; font-size: 0.373333rem;">审核</p> | ||||
| </van-col> | </van-col> | ||||
| <van-col span="16"> | <van-col span="16"> | ||||
| <van-radio-group v-model="zjdzdxx.surveyStatus" direction="horizontal"> | |||||
| <van-radio-group v-model="zjddcsh.surveyStatus" direction="horizontal"> | |||||
| <van-radio name="5">通过</van-radio> | <van-radio name="5">通过</van-radio> | ||||
| <van-radio name="4">驳回</van-radio> | <van-radio name="4">驳回</van-radio> | ||||
| </van-radio-group> | </van-radio-group> | ||||
| @@ -225,6 +225,7 @@ export default { | |||||
| jzwqkList:[], | jzwqkList:[], | ||||
| fssslxList:[], | fssslxList:[], | ||||
| zjdzdxx:{surveyStatus:"5"}, | zjdzdxx:{surveyStatus:"5"}, | ||||
| zjddcsh:{surveyStatus:"5",auditRemark:""}, | |||||
| fssslist:[], | fssslist:[], | ||||
| //电子签名 | //电子签名 | ||||
| signature: { | signature: { | ||||
| @@ -294,11 +295,20 @@ export default { | |||||
| $('#canvasTT').css('display', 'none'); | $('#canvasTT').css('display', 'none'); | ||||
| }, | }, | ||||
| bhyyLook(){ | bhyyLook(){ | ||||
| Dialog({ type: 'success', message: this.zjdzdxx.auditRemark }); | |||||
| if(this.zjdzdxx.auditRemark !== null && this.zjdzdxx.auditRemark !== ''){ | |||||
| Dialog({ type: 'success', message: this.zjdzdxx.auditRemark }); | |||||
| }else{ | |||||
| Dialog({ type: 'success', message: "无"}); | |||||
| } | |||||
| }, | }, | ||||
| onBeforeCloseSh(action, done){ | onBeforeCloseSh(action, done){ | ||||
| if (action === 'confirm') { | if (action === 'confirm') { | ||||
| updateZjdzd(this.zjdzdxx).then(response => { | |||||
| if(this.zjddcsh.surveyStatus === '4') { | |||||
| let surveyItem = JSON.parse(localStorage.getItem("surveyItem")); | |||||
| this.$set(this.zjddcsh, 'surveyId', surveyItem.id); | |||||
| } | |||||
| this.$set(this.zjddcsh, 'id', this.zjdzdxx.id); | |||||
| updateZjdzd(this.zjddcsh).then(response => { | |||||
| if(response.code === 200){ | if(response.code === 200){ | ||||
| let _this =this | let _this =this | ||||
| _this.$toast({ | _this.$toast({ | ||||