From bc349b8b5eda714c5c6f5622db46aae336ade62b Mon Sep 17 00:00:00 2001 From: TiaStars Date: Wed, 12 Jun 2024 16:47:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=9F=E4=BA=A7=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E7=9A=84api=E5=9C=B0=E5=9D=80=E3=80=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=89=93=E5=8C=85=E5=90=8E=E7=9A=84=E8=AE=BF=E9=97=AE?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E3=80=81=E5=8F=8A=E5=B0=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 ++- .env.production | 4 +++- package.json | 2 +- src/permission.js | 6 +++++- .../enterInfo/components/tabOne/index.vue | 13 +++++++++++-- src/views/enterpriselibrary/enterInfo/index.vue | 2 +- src/views/enterpriselibrary/index.vue | 7 +++++-- .../project/projectInfo/components/tabTwo/index.vue | 2 +- vue.config.js | 3 ++- 9 files changed, 31 insertions(+), 11 deletions(-) diff --git a/.env.development b/.env.development index 65db24a..f0e439f 100644 --- a/.env.development +++ b/.env.development @@ -5,8 +5,9 @@ VUE_APP_TITLE = 金鸡湖现代服务业品牌管理系统 ENV = 'development' # 金鸡湖现代服务业品牌管理系统/开发环境 -VUE_APP_BASE_API = 'http://192.168.0.105:9040' +# VUE_APP_BASE_API = 'http://192.168.0.104:9040' # VUE_APP_BASE_API = 'http://39.101.188.84:9040' +VUE_APP_BASE_API = 'https://idp.sipac.gov.cn/api' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.production b/.env.production index 3141812..5131780 100644 --- a/.env.production +++ b/.env.production @@ -6,4 +6,6 @@ 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 = 'https://idp.sipac.gov.cn/api' diff --git a/package.json b/package.json index 21d92fd..aa832b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202406031526", + "version": "1.0.202406121001", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/permission.js b/src/permission.js index fe3599a..632b50e 100644 --- a/src/permission.js +++ b/src/permission.js @@ -59,7 +59,11 @@ router.beforeEach((to, from, next) => { } else { next(); } - } else if (getToken()) { + } + // else if(window.location.href.includes("clienttoken=")){ + + // } + else if (getToken()) { to.meta.title && store.dispatch("settings/setTitle", to.meta.title); /* has token*/ if (to.path === "/login") { diff --git a/src/views/enterpriselibrary/enterInfo/components/tabOne/index.vue b/src/views/enterpriselibrary/enterInfo/components/tabOne/index.vue index 9bcaefc..2f6b864 100644 --- a/src/views/enterpriselibrary/enterInfo/components/tabOne/index.vue +++ b/src/views/enterpriselibrary/enterInfo/components/tabOne/index.vue @@ -10,6 +10,15 @@ > {{ item.value }} --> + + {{ info.institutionCode }} + + + {{ info.statisticalCategories }} + + + {{ info.industryCode }} + {{ info.registeredCapital }} @@ -22,9 +31,9 @@ {{ info.formerName }} - + {{ info.enrollAddress }} diff --git a/src/views/enterpriselibrary/enterInfo/index.vue b/src/views/enterpriselibrary/enterInfo/index.vue index 1b6f8b4..22bbbc0 100644 --- a/src/views/enterpriselibrary/enterInfo/index.vue +++ b/src/views/enterpriselibrary/enterInfo/index.vue @@ -27,7 +27,7 @@ 导出企业清单
- 返回 + 编辑
diff --git a/src/views/enterpriselibrary/index.vue b/src/views/enterpriselibrary/index.vue index 7ebd203..b2a5d96 100644 --- a/src/views/enterpriselibrary/index.vue +++ b/src/views/enterpriselibrary/index.vue @@ -43,8 +43,11 @@ --> - - + + + + +