diff --git a/src/views/xgf/flow/components/sendUtil.vue b/src/views/xgf/flow/components/sendUtil.vue index 01ec759..d7a15fb 100644 --- a/src/views/xgf/flow/components/sendUtil.vue +++ b/src/views/xgf/flow/components/sendUtil.vue @@ -38,64 +38,11 @@ - + - - -
{{ form.BACK_NAME }}
-
-
- - - - - - - - - - @@ -167,9 +114,7 @@ export default { tm: new Date().getTime(), list: [], isShow: true, - info: {}, - BACK_NAME: '', - BACK_STEP: '' + info: {} }, rules: { STATUS: [ @@ -189,9 +134,6 @@ export default { ], LIMIT_END_TIME: [ { required: true, message: '请选择指定培训有效截至时间', trigger: 'change' } - ], - BACK_NAME: [ - { required: true, message: '请填选择回节点', trigger: 'change' } ] }, heirloom: {}, @@ -212,9 +154,7 @@ export default { user: '', uploadFile: '', limitFlag: '' - }, - step: 0, - list: [] + } } }, methods: { @@ -225,8 +165,6 @@ export default { this.form.list = JSON.stringify(e) this.info = e[0] await this.getMenu() - this.form.BACK_NAME = this.info.BELONG_TO_CORP_NAME - this.form.BACK_STEP = '-1' if (this.info.FLOWS_TYPE === '0') { if (this.info.FLOWS_STEP === 0) { @@ -390,11 +328,6 @@ export default { list: [], tm: new Date().getTime() } - this.list = [ - { - INDEX: '-1' - } - ] }, clearInfo() { this.form.APPOINT_DEPARTMENT_ID = null @@ -403,36 +336,6 @@ export default { this.form.APPOINT_USER_NAME = '' this.form.OPINION = '' this.form.user = '' - if (this.form.STATUS === '0') { - this.getInfo() - } - }, - getInfo() { - const info = JSON.parse(this.heirloom)[0] - requestFN( - '/xgf/user/getApproveInfo', { XGF_USER_ID: info.XGF_USER_ID } - ).then((data) => { - this.list = data.flow.info - this.step = data.flow.STEP - if (data.flow.endFlag === '1') { - this.title = '审批中' - } - if (data.flow.endFlag === '2') { - this.title = '审批结束' - } - if (data.flow.endFlag === '-2') { - this.title = '审批驳回' - } - this.visible = true - this.loading = false - }).catch((e) => { - console.log(e) - }) - }, - backPoint(num, name) { - this.form.BACK_STEP = num - this.form.BACK_NAME = name - this.$forceUpdate() } } }