From 588074fb8092d2582640fe29bb19683c090b5678 Mon Sep 17 00:00:00 2001 From: zhoulingpo Date: Mon, 1 Jul 2024 14:41:26 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E6=94=BF?= =?UTF-8?q?=E7=AD=96=E6=96=87=E5=8F=B7=E4=B8=8D=E5=BF=85=E5=A1=AB=20?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E5=8F=AF=E8=B7=B3=E8=BD=AC=20=E6=A8=A1?= =?UTF-8?q?=E7=89=88=E4=B8=8A=E6=AC=A1pdf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../creatProcess/policyConsultation/index.vue | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/policyConsultation/index.vue b/src/pages/processCenter/pages/creatProcess/policyConsultation/index.vue index f52fb3e48..d2e97289d 100644 --- a/src/pages/processCenter/pages/creatProcess/policyConsultation/index.vue +++ b/src/pages/processCenter/pages/creatProcess/policyConsultation/index.vue @@ -66,13 +66,14 @@ @@ -166,7 +167,7 @@ type="primary" class="common-button-primary" size="mini" - @click="fileUpload('templateFileList','templateFileId','.zip,.docx,.doc,.xls,.xlsx',200)" + @click="fileUpload('templateFileList','templateFileId','.zip,.docx,.doc,.xls,.xlsx,.pdf',200)" > 点击上传 @@ -361,6 +362,7 @@ export default { }, data () { return { + linkUrl:'',//调准页面 active: '1', accept: '', fileMax_M: 0, @@ -369,7 +371,7 @@ export default { nodeList: [], formRules: { lawsNo: [ - { required: true, message: '请输入政策文号', trigger: 'change' }, + // { required: true, message: '请输入政策文号', trigger: 'change' }, ], lawsName: [ { required: true, message: '请输入政策名称', trigger: 'change' }, @@ -548,6 +550,11 @@ export default { } }, methods: { + //跳转到政策详情 + goDeatil(){ + if(this.linkUrl) + window.open(this.linkUrl,'_blank') + }, handlePreview (file) { let attId = '' if (file && file.id) { @@ -566,6 +573,7 @@ export default { this.dataForm.lawsNo = row.lawsNo this.dataForm.lawsName = row.lawsName this.dataForm.lawsId = row.id + this.linkUrl=row.lawsDetailLink this.dataForm = { ...this.dataForm } }, handleSearchStandard () { @@ -1067,4 +1075,10 @@ export default { .addButton { display: inline-block; } + .cursor-poin { + /deep/ .el-input .el-input__inner{ + cursor: pointer !important; + color: #0c91e5 !important; + } + }