From f2d3fe927677a6a83ad1efc730896908475a853f Mon Sep 17 00:00:00 2001 From: liujun Date: Tue, 11 Jun 2024 14:27:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=96=B9=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E5=8F=AF=E6=8C=87=E5=AE=9A=E6=89=93=E5=9B=9E?= =?UTF-8?q?=E8=87=B3=E7=89=B9=E6=AE=8A=E8=8A=82=E7=82=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xgf/flow/components/sendUtil.vue | 103 +-------------------- 1 file changed, 3 insertions(+), 100 deletions(-) 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() } } }