企业端、企业端便跟企业信息时未清空以选信息

2024年2月1日V1.0.53^2^2
liujun 2024-01-31 14:08:31 +08:00
parent 237801adb8
commit 688eb1bd1b
1 changed files with 10 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<el-row :gutter="12"> <el-row :gutter="12">
<el-col :span="12"> <el-col :span="12">
<el-form-item prop="STATUS" label="是否通过: "> <el-form-item prop="STATUS" label="是否通过: ">
<el-select v-model="form.STATUS" filterable style="width: 300px" placeholder="请选择"> <el-select v-model="form.STATUS" filterable style="width: 300px" placeholder="请选择" @change="clearInfo">
<el-option label="是" value="1"/> <el-option label="是" value="1"/>
<el-option label="否" value="0"/> <el-option label="否" value="0"/>
</el-select> </el-select>
@ -173,6 +173,7 @@ export default {
} }
).then((data) => { ).then((data) => {
this.peopleList = data.userList this.peopleList = data.userList
this.form.user = ''
}).catch((e) => { }).catch((e) => {
console.log(e) console.log(e)
}) })
@ -210,6 +211,14 @@ export default {
list: [], list: [],
tm: new Date().getTime() tm: new Date().getTime()
} }
},
clearInfo() {
this.form.APPOINT_DEPARTMENT_ID = null
this.form.APPOINT_DEPARTMENT_NAME = ''
this.form.APPOINT_USER_ID = null
this.form.APPOINT_USER_NAME = ''
this.form.OPINION = ''
this.form.user = ''
} }
} }
} }