feat: There is no way the

This commit is contained in:
super_liu
2021-09-16 18:06:18 +08:00
parent f889c4e1a0
commit 094f31f86b
2 changed files with 60 additions and 19 deletions
@@ -516,14 +516,14 @@
ref="formTongGuo"
:model="formTongGuo"
:rules="rules">
<el-form-item
prop="approvalOpinion"
>
<el-select @change="getRule" v-model="formTongGuo.approvalOpinion" placeholder="请审批" style="margin-bottom: 20px;">
<el-option label="驳回" value="1"></el-option>
<el-option label="通过" value="0"></el-option>
</el-select>
</el-form-item>
<!-- <el-form-item-->
<!-- prop="approvalOpinion"-->
<!-- >-->
<!-- <el-select @change="getRule" v-model="formTongGuo.approvalOpinion" placeholder="请审批" style="margin-bottom: 20px;">-->
<!-- <el-option label="驳回" value="1"></el-option>-->
<!-- <el-option label="通过" value="0"></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<el-form-item
prop="commentText"
>
@@ -659,13 +659,14 @@
<!-- 提交-->
<ProcessFooter
:show-save="false"
show-submit
show-over2
show-submit2
show-transfer
:submitLoading="isSubmit"
:saveLoading="saveLoading"
@transfer="handleTransfer"
@save="handleSave"
@submit="handleSubmit"
@submit2="handle2"
@over2="handle1"
>
</ProcessFooter>
@@ -1049,6 +1050,14 @@
this.drawerTitle = '转办处理人'
},
handleSave() {},
handle1(){
this.formTongGuo.approvalOpinion = 1
this.handleSubmit()
},
handle2(){
this.formTongGuo.approvalOpinion = 0
this.handleSubmit()
},
handleSubmit() {
const val= this.form.country;
if (val !== '' && val !== null && typeof (val) !== 'undefined') {