Przeglądaj źródła

宅基地调查任务审核关联

rongxin_prod
Xyq123* 1 rok temu
rodzic
commit
911943610c
1 zmienionych plików z 14 dodań i 4 usunięć
  1. +14
    -4
      src/views/homesteadSurvey/add4.vue

+ 14
- 4
src/views/homesteadSurvey/add4.vue Wyświetl plik

@@ -158,13 +158,13 @@
<van-form ref="dcshForm">
<van-row>
<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 span="8">
<p style="margin-left: 10%;color: #646566; font-size: 0.373333rem;">审核</p>
</van-col>
<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="4">驳回</van-radio>
</van-radio-group>
@@ -225,6 +225,7 @@ export default {
jzwqkList:[],
fssslxList:[],
zjdzdxx:{surveyStatus:"5"},
zjddcsh:{surveyStatus:"5",auditRemark:""},
fssslist:[],
//电子签名
signature: {
@@ -294,11 +295,20 @@ export default {
$('#canvasTT').css('display', 'none');
},
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){
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){
let _this =this
_this.$toast({


Ładowanie…
Anuluj
Zapisz