diff --git a/src/views/xgf/flow/components/entrust.vue b/src/views/xgf/flow/components/entrust.vue index c532295..e169e6a 100644 --- a/src/views/xgf/flow/components/entrust.vue +++ b/src/views/xgf/flow/components/entrust.vue @@ -140,6 +140,7 @@ export default { this.$message.success('推送成功') this.visible = false this.$emit('refresh', '') + this.beforeClose() }) .catch((e) => { console.log(e) @@ -182,28 +183,40 @@ export default { handleClose() { this.form = { - STATUS: '', + STATUS: '1', + APPOINT_CORP_ID: '', + APPOINT_CORP_NAME: '', APPOINT_DEPARTMENT_ID: null, APPOINT_DEPARTMENT_NAME: '', - APPOINT_USER_ID: '', + APPOINT_USER_ID: null, APPOINT_USER_NAME: '', + OPINION: '', user: '', + tm: new Date().getTime(), list: [], - tm: new Date().getTime() + isShow: true, + info: {}, + entrustFlag: '1' } this.visible = false }, beforeClose() { this.visible = false this.form = { - STATUS: '', + STATUS: '1', + APPOINT_CORP_ID: '', + APPOINT_CORP_NAME: '', APPOINT_DEPARTMENT_ID: null, APPOINT_DEPARTMENT_NAME: '', - APPOINT_USER_ID: '', + APPOINT_USER_ID: null, APPOINT_USER_NAME: '', + OPINION: '', user: '', + tm: new Date().getTime(), list: [], - tm: new Date().getTime() + isShow: true, + info: {}, + entrustFlag: '1' } } }