From 55bae8d0e4f109723d16257dd084b09632a1cb01 Mon Sep 17 00:00:00 2001 From: changjinpeng <185154740@qq.com> Date: Tue, 8 Mar 2022 18:02:34 +0800 Subject: [PATCH] 28087 --- src/mods/AppProgressNew/detail.vue | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/src/mods/AppProgressNew/detail.vue b/src/mods/AppProgressNew/detail.vue index 14cffb0..0091afd 100644 --- a/src/mods/AppProgressNew/detail.vue +++ b/src/mods/AppProgressNew/detail.vue @@ -2,7 +2,7 @@
{{ detail.processName }}
-
{{ name }}
+
{{ detail.classificationName }}
@@ -18,8 +18,6 @@ export default { showPage: false, id: '', detail: {}, - classList: {}, - name: '', } }, computed: {}, @@ -34,34 +32,10 @@ export default { this.$instance.post(`/app/approval-process-def/info-id?id=${this.id}`).then((res) => { if (res.code == 0) { this.detail = res.data - this.typeList() + this.showPage = true } }) }, - - typeList() { - this.$instance - .post(`/app/zwspapprovalclassification/list-xcx`, null, { - params: { - current: 1, - status: 1, - size: 9999, - }, - }) - .then((res) => { - if (res.code == 0) { - this.classList = res.data.records - if (this.classList) { - this.classList.map((e) => { - if (this.detail.classificationId == e.id) { - this.name = e.name - } - }) - this.showPage = true - } - } - }) - }, }, }