From 1a743b12d72df8c6f3bbcdcdaa916ccc885322d4 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 5 Jul 2022 12:40:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=B0=83=E4=BB=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E6=B5=81=E7=A8=8B=E5=AE=A1=E6=89=B9=EF=BC=8C=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E9=83=A8=E5=88=86=E9=A1=B5=E9=9D=A2=E5=8F=8A=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=83=A8=E5=88=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...{tiaojiaInfo.vue => tiaojiaDaiBanInfo.vue} | 104 +------- .../tiaojiaguanli/tiaojianYibanInfo.vue | 238 ++++++++++++++++++ 2 files changed, 244 insertions(+), 98 deletions(-) rename anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/{tiaojiaInfo.vue => tiaojiaDaiBanInfo.vue} (73%) create mode 100644 anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojianYibanInfo.vue diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojiaInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojiaDaiBanInfo.vue similarity index 73% rename from anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojiaInfo.vue rename to anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojiaDaiBanInfo.vue index afbe0f5b45..63dd71d65e 100644 --- a/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojiaInfo.vue +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojiaDaiBanInfo.vue @@ -7,10 +7,9 @@
车辆调价详情
- 同 意 - 驳 回 - 终 止 - 撤 回 + 同 意 + 驳 回 + 终 止
@@ -84,28 +83,6 @@ 流程图 - - - - - - 当前环节 - - {{ current.taskName }}->{{ nextNode.name }} - - - - 意见 - - - - -
- 确 定 - 取 消 -
-
-
@@ -138,7 +115,6 @@ export default { nodeDialogVisible: false, // 表单数据 formobj: {}, - transactState: '', // 办理状态 // 环节所需参数 linkByParameter: { businessSid: '', @@ -166,8 +142,6 @@ export default { this.linkByParameter.userSid = window.sessionStorage.getItem('userSid') this.current.taskDefKey = obj.taskDefKey this.current.taskName = obj.taskName - // 办理状态 - this.transactState = obj.transactState // 加载表单数据 this.showInfo(obj.businessSid) // 加载流程图相关的数据 @@ -200,8 +174,8 @@ export default { }) }, // 已办环节的节点 - getFlowViewer(procInsId){ - req.getFlowViewer(procInsId).then((res) =>{ + getFlowViewer(procInsId) { + req.getFlowViewer(procInsId).then((res) => { this.taskList = res.data }) }, @@ -241,21 +215,6 @@ export default { this.submitdisabled = false }) }, - /** 确认撤回任务 */ - openRevoke() { - this.$confirm('是否确认执行撤回操作', '提示', { - confirmButtonText: '确定', - cancelButtonText: '取消', - type: 'warning' - }).then(() => { - this.handleRevoke() - }).catch(() => { - this.$message({ - type: 'info', - message: '已取消撤回' - }) - }) - }, reject() { if (this.operation === '同意') { this.handleAgree() @@ -277,7 +236,7 @@ export default { duration: 2000 }) this.nodeDialogVisible = false - // 子页面向父级页面传递值(关闭弹框) + // 子页面向父级页面传递值 window.parent.postMessage({ cmd: 'returnHeight', params: { @@ -285,13 +244,6 @@ export default { code: 1 } }, '*') - } else { - this.$notify({ - title: '提示', - message: '执行失败', - type: 'error', - duration: 2000 - }) } }) }, @@ -315,13 +267,6 @@ export default { code: 1 } }, '*') - } else { - this.$notify({ - title: '提示', - message: '执行失败', - type: 'error', - duration: 2000 - }) } }) }, @@ -345,43 +290,6 @@ export default { code: 1 } }, '*') - } else { - this.$notify({ - title: '提示', - message: '执行失败', - type: 'error', - duration: 2000 - }) - } - }) - }, - /** 撤回任务 */ - handleRevoke() { - this.linkByParameter.comment = this.dialogList.comment - req.revokeProcess(this.linkByParameter).then((response) => { - if (response.success) { - this.$notify({ - title: '提示', - message: '执行成功', - type: 'success', - duration: 2000 - }) - this.nodeDialogVisible = false - // 子页面向父级页面传递值 - window.parent.postMessage({ - cmd: 'returnHeight', - params: { - // 操作成功,告诉父级页面关闭弹框 - code: 1 - } - }, '*') - } else { - this.$notify({ - title: '提示', - message: '执行失败', - type: 'error', - duration: 2000 - }) } }) } diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojianYibanInfo.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojianYibanInfo.vue new file mode 100644 index 0000000000..8f8803f37a --- /dev/null +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojianYibanInfo.vue @@ -0,0 +1,238 @@ + + + + + +