From 181d58e9f0eb854d12f4dd66a3310f580c339c09 Mon Sep 17 00:00:00 2001 From: shen_yan_pu <1975145892@qq.com> Date: Mon, 9 Aug 2021 14:34:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E5=87=86=E5=BE=81=E6=B1=82=E6=84=8F?= =?UTF-8?q?=E8=A7=81=E6=B5=81=E7=A8=8B=E5=8A=A0=E4=B8=80=E4=B8=AAId?= =?UTF-8?q?=EF=BC=8C=E6=A0=87=E5=87=86=E5=BA=93=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E5=8A=A0=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzzqyj/step1.vue | 3 ++ .../pags/consultationDetails.vue | 43 +++++++++++-------- 2 files changed, 27 insertions(+), 19 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue index 74b330f0a..c38825090 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue @@ -282,6 +282,7 @@ export default { endTime: '', // 结束日期 cname: '', // 名称 standType: '', + standId: '', }, formRules: { cid: [ @@ -299,6 +300,7 @@ export default { standSort: '', standNumber: '', standType: '', + standId: '', page: 1, pageSize: this.$store.getters.userInfo.configContent }, @@ -456,6 +458,7 @@ export default { this.form.cid = bringData[0].standSortShow + '-' + bringData[0].standNumber } this.form.standType = bringData[0].standType + this.form.standId = bringData[0].id this.form.cname = bringData[0].standName; this.listModel = false; } else if (this.selectedList.length > 1) { diff --git a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue index 23cc1cb95..a704c9847 100644 --- a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue +++ b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue @@ -11,19 +11,27 @@

- {{ $route.query.item.cid }} + + {{ this.$route.query.item.cid }} +

- {{ $route.query.item.cname || '-' }} + + {{ this.$route.query.item.cname || '-' }} +

- {{ $route.query.item.endTime || '-' }} + {{ this.$route.query.item.endTime || '-' }}

- {{ $route.query.item.startTime + ' ~ ' + $route.query.item.endTime}} + {{ this.$route.query.item.startTime + ' ~ ' + this.$route.query.item.endTime}} -

@@ -120,6 +128,7 @@ name: 'consultationDetails', data () { return { + itemData: this.$route.query.item, id: '', // 选中id type: '', // 选中状态 spinShow: false, @@ -152,6 +161,17 @@ } }, methods: { + // 点击查看 + handlePreview (item) { + let routeUrl = this.$router.resolve({ + name: 'OtherStandardDetails', + params: { + id: item.standId, + pageType: 'INLAND_STAND' + } + }) + window.open(routeUrl.href, '_blank') + }, exportAll () { window.open('/api/slrs/sar-public-idea-all/tuallStand?cid=' + this.$route.query.item.cid) }, @@ -166,21 +186,6 @@ } }) }, - - //点击查看 - handlePreview(data) { - console.log(data); - return - let routeUrl = this.$router.resolve({ - name: "OtherStandardDetails", - params: { - id: data.id, - pageType: data.standType - } - }); - window.open(routeUrl.href, "_blank"); - }, - // 获取详情信息列表 getList() { this.spinShow = true