diff --git a/.env.development b/.env.development index e62009b..fd284ed 100644 --- a/.env.development +++ b/.env.development @@ -14,9 +14,9 @@ ENV = 'development' # 若依管理系统/开发环境 # /dev-api # VUE_APP_BASE_API = 'http://39.101.188.84:9037' -VUE_APP_BASE_API = 'https://bjh.jndz.cn/bjh-admin-server' -VUE_APP_BASE_API1 = 'https://bjh.jndz.cn/process-server' -VUE_APP_BASE_API2 = 'https://bjh.jndz.cn/admin-server/api/webapp' +VUE_APP_BASE_API = 'http://10.236.2.28:54567/bjh-admin-server' +VUE_APP_BASE_API1 = 'http://10.236.2.28:54567/process-server' +VUE_APP_BASE_API2 = 'http://10.236.2.28:54567/admin-server/api/webapp' # VUE_APP_BASE_API = 'http://192.168.0.112:9037' # 路由懒加载 diff --git a/.env.production b/.env.production index 209ed8e..03cb2d8 100644 --- a/.env.production +++ b/.env.production @@ -1,11 +1,3 @@ -### - # @Descripttion: - # @version: - # @Author: JC9527 - # @Date: 2024-01-09 23:08:15 - # @LastEditors: JC9527 - # @LastEditTime: 2024-05-13 18:40:59 -### # 页面标题 VUE_APP_TITLE = 城市精细化管理监测主题 @@ -14,6 +6,6 @@ ENV = 'production' # 若依管理系统/生产环境 # VUE_APP_BASE_API = 'http://39.101.188.84:9037' -VUE_APP_BASE_API = 'https://bjh.jndz.cn/bjh-admin-server' -VUE_APP_BASE_API1 = 'https://bjh.jndz.cn/process-server' -VUE_APP_BASE_API2 = 'https://bjh.jndz.cn/admin-server/api/webapp' \ No newline at end of file +VUE_APP_BASE_API = 'http://10.236.2.28:54567/bjh-admin-server' +VUE_APP_BASE_API1 = 'http://10.236.2.28:54567/process-server' +VUE_APP_BASE_API2 = 'http://10.236.2.28:54567/admin-server/api/webapp' \ No newline at end of file diff --git a/src/permission.js b/src/permission.js index d9150bb..85bb087 100644 --- a/src/permission.js +++ b/src/permission.js @@ -47,7 +47,7 @@ router.beforeEach((to, from, next) => { // }) } else { - location.href = "https://bjh.jndz.cn/bjh-admin/" + location.href = "http://10.236.2.28:54567/bjh-admin/" } } // next() diff --git a/src/utils/request.js b/src/utils/request.js index b682360..a2d1248 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -90,7 +90,7 @@ service.interceptors.response.use(res => { // store.dispatch('LogOut').then(() => { // location.href = '/#/login'; // }) - location.href = "https://bjh.jndz.cn/bjh-admin/" + location.href = "http://10.236.2.28:54567/bjh-admin/" }).catch(() => { isRelogin.show = false; }); diff --git a/src/utils/request1.js b/src/utils/request1.js index 3391284..504467d 100644 --- a/src/utils/request1.js +++ b/src/utils/request1.js @@ -94,7 +94,7 @@ service.interceptors.response.use(res => { // store.dispatch('LogOut').then(() => { // location.href = '/#/login'; // }) - location.href = "https://bjh.jndz.cn/bjh-admin/" + location.href = "http://10.236.2.28:54567/bjh-admin/" }).catch(() => { isRelogin.show = false; }); diff --git a/src/utils/request2.js b/src/utils/request2.js index 21bca21..b305c36 100644 --- a/src/utils/request2.js +++ b/src/utils/request2.js @@ -91,7 +91,7 @@ service.interceptors.response.use(res => { // store.dispatch('LogOut').then(() => { // location.href = '/#/login'; // }) - location.href = "https://bjh.jndz.cn/bjh-admin/" + location.href = "http://10.236.2.28:54567/bjh-admin/" }).catch(() => { isRelogin.show = false; }); diff --git a/src/views/bigScreen/map/index.vue b/src/views/bigScreen/map/index.vue index 7744efb..75bb2fc 100644 --- a/src/views/bigScreen/map/index.vue +++ b/src/views/bigScreen/map/index.vue @@ -1485,7 +1485,7 @@ export default { // this.$refs.aloneVideo.open(res.msg); let videoUrl = res.msg; var code1 = videoUrl.match(/\/openUrl\/(.*)/)[1] - this.$refs.aloneVideo.open(`https://bjh.jndz.cn/bjh-admin-server/jn/videosLive/${code1}`); + this.$refs.aloneVideo.open(`http://10.236.2.28:54567/bjh-admin-server/jn/videosLive/${code1}`); } }) } else {