责任状
parent
941626ca83
commit
dda1af7787
|
@ -3,7 +3,10 @@
|
|||
<el-form ref="form" :rules="rules" :model="form" label-width="120px">
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="承诺书名称" prop="PROMISE_NAME">
|
||||
<el-form-item v-if="form.TYPE!='1'" label="承诺书名称" prop="PROMISE_NAME">
|
||||
<el-input v-model="form.PROMISE_NAME" placeholder="请输入"/>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="form.TYPE =='1'" label="责任状名称" prop="PROMISE_NAME">
|
||||
<el-input v-model="form.PROMISE_NAME" placeholder="请输入"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -43,9 +46,10 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-divider content-position="left">承诺人</el-divider>
|
||||
<el-divider v-if="form.TYPE!='1'" content-position="left">承诺人</el-divider>
|
||||
<el-divider v-if="form.TYPE=='1'" content-position="left">受状人</el-divider>
|
||||
</el-col>
|
||||
<el-col v-if="form.DISTRIBUTIONOBJECT" :span="24">
|
||||
<el-col v-if="form.DISTRIBUTIONOBJECT&&form.TYPE!='1'" :span="24">
|
||||
<el-form-item style="text-align: right">
|
||||
<el-button type="primary" @click="addPeople">添加</el-button>
|
||||
</el-form-item>
|
||||
|
@ -148,7 +152,8 @@
|
|||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-divider content-position="left">被承诺人</el-divider>
|
||||
<el-divider v-if="form.TYPE!='1'" content-position="left">被承诺人</el-divider>
|
||||
<el-divider v-if="form.TYPE=='1'" content-position="left">发状人</el-divider>
|
||||
</el-col>
|
||||
<!-- <el-col :span="24">-->
|
||||
<!-- <el-form-item style="text-align: right">-->
|
||||
|
@ -649,6 +654,21 @@ export default {
|
|||
this.form.TYPE = row.TYPE
|
||||
this.dialog.visible = false
|
||||
this.isSelectTemplate = true
|
||||
if (this.form.TYPE == '1') {
|
||||
this.form.people = [
|
||||
{
|
||||
treeData: [],
|
||||
postList: [],
|
||||
userList: [],
|
||||
CORPINFO_ID: '',
|
||||
DEPARTMENT_ID: null,
|
||||
POST_ID: '',
|
||||
USER_ID: [],
|
||||
id: Math.random()
|
||||
}
|
||||
]
|
||||
this.$forceUpdate()
|
||||
}
|
||||
}).catch((e) => {
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue