From 6b2edd514efd14e23f03f2af6357ced5b7883e01 Mon Sep 17 00:00:00 2001 From: shen_yan_pu <1975145892@qq.com> Date: Tue, 20 Jul 2021 16:37:28 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E7=9A=84=E5=AD=97=E6=AE=B5=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../page/listOfCountries.vue | 14 ++++ .../page/listOther.vue | 3 +- .../page/listProject.vue | 3 +- .../pages/addEdit.vue | 70 ++++++++++++++--- .../pages/details.vue | 76 +++++++++++++++---- .../pages/otherAddEit.vue | 73 ++++++++++++++---- .../pages/projectAddEit.vue | 73 ++++++++++++++---- 7 files changed, 257 insertions(+), 55 deletions(-) diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue index 3b853fd65..b505cde78 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue @@ -86,6 +86,12 @@ prop="countryArea" label="国家/地区" align="center"> + { + this.$set(this.countryAreaMap, item.value, item.label) + }) } }, mounted() { @@ -359,6 +372,7 @@ export default { _this: this }, res => { this.countryOptions = res.data.COUNTRY; + this.setMap(this.countryOptions) }, e => { }); } diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue index f168e45d8..a2ca95cd1 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue @@ -352,7 +352,8 @@ export default { this.$router.push({ name: "OtherAddEit", query: { - id: item.id + id: item.id, + fileIds: item.fileIds } }); } diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue index 6c669dccf..505201a52 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue @@ -355,7 +355,8 @@ export default { this.$router.push({ name: "ProjectAddEit", query: { - id: item.id + id: item.id, + fileIds: item.fileIds } }); } diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index 22dd24b43..fe74d634f 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -242,6 +242,9 @@ prop="textStatus" width="120px" label="文本状态"> + + + + + + + - +