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