From e3969f2deba7b5c6e48b14f2bd8e4ffb153eef76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Thu, 24 Feb 2022 16:34:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=87=E5=87=86=E5=90=88?= =?UTF-8?q?=E8=A7=84=E8=AF=84=E4=BC=B0=E6=B5=81=E7=A8=8Bbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzpg/step1.vue | 70 ++++++++++--------- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue index 61df79b99..3d030fc4a 100644 --- a/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzpg/step1.vue @@ -40,7 +40,7 @@ @@ -50,14 +50,14 @@ v-if="listForm.standName && listForm.standName.length>0" class="input-jump" @click.native="handlePreview(listForm)" - readonly + disabled v-model="listForm.standName" placeholder="请输入标准名称" > @@ -373,7 +373,9 @@
- + - + - + { + res.data.managementHostList.forEach(item => { + if (item) { + this.managementHostName.push(item); //管理主体 + } + }); + res.data.developmentHostList.forEach(item => { + if (item) { + this.developmentHostName.push(item); //开发主体 + } + }); + res.data.categoryList.forEach(item => { + if (item) { + this.categoryName.push(item); //项目细分类 + } + }); + }); + }, getHistoryData() { return new Promise((resolve, reject) => { inboundLiaisonDetail({ @@ -1167,6 +1192,7 @@ export default { // } }, mounted() { + this.optionsChange() this.bpnId = this.$route.query.bpnId if (this.bpnId !== undefined) { this.getData() @@ -1176,28 +1202,6 @@ export default { this.getHistoryData() } this.getStandData(); - /** - * 获取项目群筛选项的值 - */ - this.$http.post("sarStandProjectLibrary/querySelect", {}, { - _this: this - }, res => { - res.data.managementHostList.forEach(item => { - if (item) { - this.managementHostName.push(item); //管理主体 - } - }); - res.data.developmentHostList.forEach(item => { - if (item) { - this.developmentHostName.push(item); //开发主体 - } - }); - res.data.categoryList.forEach(item => { - if (item) { - this.categoryName.push(item); //项目细分类 - } - }); - }); //从数据库中查询下拉框数据 this.$http.get("sys/dictype/getDicTypeListCode", {}, { _this: this