From 342913fb40c84a4a57692a7911850bc85d948cbc Mon Sep 17 00:00:00 2001 From: TiaStars Date: Fri, 15 Nov 2024 10:51:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E8=AF=A6=E6=83=85=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- package.json | 2 +- .../enterpriselibrary/enterInfo/index.vue | 9 +- .../onlineDeclaration/template/index.vue | 3 +- .../templateDetail/index.vue | 503 +++++++++++++++++- 5 files changed, 504 insertions(+), 15 deletions(-) diff --git a/.env.development b/.env.development index 0997661..d09a93b 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VUE_APP_TITLE = 金鸡湖现代服务业品牌管理系统 ENV = 'development' # 金鸡湖现代服务业品牌管理系统/开发环境 -VUE_APP_BASE_API = 'http://192.168.0.117:9040' +VUE_APP_BASE_API = 'http://192.168.0.116:9040' # 测试环境数据库 # VUE_APP_BASE_API = 'http://39.101.188.84:9040' # 脱敏三方测试用数据库 diff --git a/package.json b/package.json index d8e86af..09b392c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202411111353", + "version": "1.0.202411121525", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/views/enterpriselibrary/enterInfo/index.vue b/src/views/enterpriselibrary/enterInfo/index.vue index e1beb7c..ac9b2b0 100644 --- a/src/views/enterpriselibrary/enterInfo/index.vue +++ b/src/views/enterpriselibrary/enterInfo/index.vue @@ -243,8 +243,13 @@ export default { returnUrl({code:tyshxydm,userToken:this.userToken}).then(res => { if(res.code == 200) { const url = res.msg - console.log(url,"url"); - window.open(url); + var signature = new RegExp(/[?&]signature=([^&#]+)/); + var s = url.match(signature); + const Signaturec = s && s[1]; + const endUrl = encodeURIComponent(Signaturec); + const newUrl = url.replace(/signature=(.*?)&/, `signature=${endUrl}&`); + // console.log(newUrl,"newUrl"); + window.open(newUrl); } }) }, diff --git a/src/views/onlineDeclaration/template/index.vue b/src/views/onlineDeclaration/template/index.vue index d254a3a..c7852c4 100644 --- a/src/views/onlineDeclaration/template/index.vue +++ b/src/views/onlineDeclaration/template/index.vue @@ -361,7 +361,8 @@ export default { this.$router.push({name: 'onlineDeclareDetail',query: { templateId: row.id, pageType: "template", - projectSmallType: row.projectSmallType + projectSmallType: row.projectSmallType, + templateName: row.templateName, }}) }, /** 导出按钮操作 */ diff --git a/src/views/onlineDeclaration/templateDetail/index.vue b/src/views/onlineDeclaration/templateDetail/index.vue index 05ec11f..4f40eaf 100644 --- a/src/views/onlineDeclaration/templateDetail/index.vue +++ b/src/views/onlineDeclaration/templateDetail/index.vue @@ -36,7 +36,7 @@ 级别:{{ info.level == 0 ? '本级' : info.level == 1 ? '省级' : '' }} - + -
+ + + + + + + + + + + + + + +