From af5c40f25047ed8db1b9195c94bde37437d2cbec Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Wed, 1 Sep 2021 10:30:55 +0800 Subject: [PATCH] =?UTF-8?q?=20=E9=A1=B9=E7=9B=AE=E6=B8=85=E5=8D=95?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E6=B5=81=E7=A8=8B--=E7=AC=AC=E4=BA=8C?= =?UTF-8?q?=E6=AD=A5=EF=BC=8C=E6=B7=BB=E5=8A=A0=E9=A1=B5=E9=9D=A2=E7=9A=84?= =?UTF-8?q?=E6=A0=87=E5=87=86=E7=9A=84=E5=AE=9E=E6=96=BD=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=E5=92=8C=E6=96=87=E6=9C=AC=E7=8A=B6=E6=80=81=E6=B2=A1=E5=9B=9E?= =?UTF-8?q?=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/xmqdqr/step2.vue | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue index c75b9ef5a..9121f3ef6 100644 --- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue @@ -113,22 +113,22 @@ { + this.energyKindOptions = res.data.ENERGYTYPES; //适用车型 + this.standSortOptions = res.data.STANDCLASSIFY; // 标准类别 + this.setMap(res.data.WBZTCLASS);// 文本状态 + this.setMap(this.zrbmMap, res.data.ZRBMCLASS); + this.showLocalProductData(this.getLocalPro); + }, e => { + }); + }, methods: { + // 将文本状态的id与name对应 + setMap(data) { + data.forEach(item => { + this.$set(this.textStatusMap, item.value, item.label) + }) + }, processTable() { this.$http.get("lawss/activiti/get_list_by_instance", { prcNum: this.$route.query.prcNum, @@ -659,35 +681,13 @@ export default { this.total = res.data.total; }); }, - // 将文本状态的id与name对应 - setMap(data) { - data.forEach(item => { - this.$set(this.textStatusMap, item.value, item.label); - }); - }, }, computed: { listNoDataText() { return this.processType === 1 ? "暂无待办流程" : "暂无已办流程"; } }, - mounted() { - this.processTable(); - this.getData(); - // 查询各下拉框数据 - this.$http.get("sys/dictype/getDicTypeListCode", "", { - _this: this, - loading: "loading" - }, res => { - this.energyKindOptions = res.data.ENERGYTYPES; //适用车型 - this.standSortOptions = res.data.STANDCLASSIFY; // 标准类别 - this.standStateOptions = res.data.WBZTCLASS; // 文本状态 - this.setMap(this.zrbmMap, res.data.ZRBMCLASS); - this.setMap(this.standStateOptions); - this.showLocalProductData(this.getLocalPro); - }, e => { - }); - } + };