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 ? '省级' : '' }} - + -
+ + + + + + + + + + + + + + +