From 867d91b66f8e2fd9e3eba1d7228e4886d0915e90 Mon Sep 17 00:00:00 2001 From: TiaStars Date: Mon, 11 Nov 2024 13:59:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E4=BC=81=E4=B8=9A=E9=80=9A?= =?UTF-8?q?=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- .env.production | 4 ++-- package.json | 2 +- src/api/jin_ji_hu/login/index.js | 9 +++++++ src/permission.js | 1 + .../enterpriselibrary/enterInfo/index.vue | 24 ++++++++++++++++++- src/views/enterpriselibrary/index.vue | 4 ++-- src/views/login.vue | 2 +- src/views/login_v1.vue | 2 +- .../enterpriseDirectory/index.vue | 4 ++-- vue.config.js | 4 ++-- 11 files changed, 46 insertions(+), 14 deletions(-) diff --git a/.env.development b/.env.development index 5f51fbb..0997661 100644 --- a/.env.development +++ b/.env.development @@ -5,9 +5,9 @@ VUE_APP_TITLE = 金鸡湖现代服务业品牌管理系统 ENV = 'development' # 金鸡湖现代服务业品牌管理系统/开发环境 -# VUE_APP_BASE_API = 'http://192.168.0.108:9031' +VUE_APP_BASE_API = 'http://192.168.0.117:9040' # 测试环境数据库 -VUE_APP_BASE_API = 'http://39.101.188.84:9040' +# VUE_APP_BASE_API = 'http://39.101.188.84:9040' # 脱敏三方测试用数据库 # VUE_APP_BASE_API = 'http://39.101.188.84:9031' # 正式环境数据库 diff --git a/.env.production b/.env.production index 4401bfc..97bf221 100644 --- a/.env.production +++ b/.env.production @@ -7,9 +7,9 @@ ENV = 'production' # 金鸡湖现代服务业品牌管理系统/生产环境 # VUE_APP_BASE_API = '/prod-api' # 测试环境数据库 -VUE_APP_BASE_API = 'http://39.101.188.84:9040' +# VUE_APP_BASE_API = 'http://39.101.188.84:9040' # 脱敏三方测试用数据库 # VUE_APP_BASE_API = 'http://39.101.188.84:9031' # VUE_APP_BASE_API = 'http://192.114.0.197/api' # 正式环境数据库 -# VUE_APP_BASE_API = 'https://idp.sipac.gov.cn/api' +VUE_APP_BASE_API = 'https://idp.sipac.gov.cn/api' diff --git a/package.json b/package.json index 93d5384..d8e86af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202410180915", + "version": "1.0.202411111353", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/api/jin_ji_hu/login/index.js b/src/api/jin_ji_hu/login/index.js index 0e219b7..7bf87da 100644 --- a/src/api/jin_ji_hu/login/index.js +++ b/src/api/jin_ji_hu/login/index.js @@ -27,6 +27,15 @@ export function governmentGetInfo(params) { }) } +// 企业详情查看 +export function returnUrl(params){ + return request({ + url: "/system/chief/returnUrl", + method: "get", + params + }) +} + // // 政务端退出登录 // export function enterpriseLogout(params) { // return request({ diff --git a/src/permission.js b/src/permission.js index 2693192..c3ca52d 100644 --- a/src/permission.js +++ b/src/permission.js @@ -84,6 +84,7 @@ router.beforeEach((to, from, next) => { const timespan = queryOne && queryOne[1]; // 时间戳 const signature = queryTwo && queryTwo[1]; // 签名 const userToken = queryThree && queryThree[1]; // 用户令牌 + localStorage.setItem("otherToken",userToken) let info = { userToken, signature, diff --git a/src/views/enterpriselibrary/enterInfo/index.vue b/src/views/enterpriselibrary/enterInfo/index.vue index 5b0c930..e1beb7c 100644 --- a/src/views/enterpriselibrary/enterInfo/index.vue +++ b/src/views/enterpriselibrary/enterInfo/index.vue @@ -5,7 +5,7 @@