diff --git a/.env.production b/.env.production index aa22a934..46d5f12b 100644 --- a/.env.production +++ b/.env.production @@ -5,4 +5,4 @@ VUE_APP_TITLE = 博诺思管理系统 ENV = 'production' # 博诺思管理系统/生产环境 -VUE_APP_BASE_API = '/prod-api' +VUE_APP_BASE_API = '/dev-api' diff --git a/src/api/reportCenter/analysis.js b/src/api/reportCenter/analysis.js new file mode 100644 index 00000000..364ca625 --- /dev/null +++ b/src/api/reportCenter/analysis.js @@ -0,0 +1,135 @@ +import request from '@/utils/request' + +// 系统区域权限树 +export function systemAreaTreeApi(data) { + return request({ + url: '/smart-canteen/api/v2/alloc/area/system-auth/tree', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) +} + +//区域食堂档口树 +export function tenantGroupAreaTreeApi(data) { + return request({ + url: '/smart-canteen/api/v2/alloc/canteen/tenant-group-area/tree', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 3c26ed0f..80e60b11 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -96,7 +96,7 @@ export default { type: 'warning' }).then(() => { this.$store.dispatch('LogOut').then(() => { - location.href = '/index'; + location.href = '/glweb/'; }) }).catch(() => {}); } diff --git a/src/layout/index.vue b/src/layout/index.vue index e3c246a1..eced6d6e 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -153,7 +153,7 @@ export default { }, close() { this.$store.dispatch('LogOut').then(() => { - location.href = '/index'; + location.href = '/glweb/'; }) }, diff --git a/src/utils/request.js b/src/utils/request.js index 7d2be68e..594c97aa 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -22,7 +22,7 @@ const service = axios.create({ // axios中请求配置有baseURL选项,表示请求URL公共部分 baseURL: process.env.VUE_APP_BASE_API, // 超时 - timeout: 10000 + timeout: 20000 }) // request 拦截器 @@ -117,7 +117,7 @@ service.interceptors.response.use(res => { }).then(() => { isRelogin.show = false store.dispatch('LogOut').then(() => { - location.href = '/index' + location.href = '/glweb/' }) }).catch(() => { isRelogin.show = false diff --git a/src/views/accountCenter/account/accountManager/index.vue b/src/views/accountCenter/account/accountManager/index.vue index 19801a7f..ef186ea5 100644 --- a/src/views/accountCenter/account/accountManager/index.vue +++ b/src/views/accountCenter/account/accountManager/index.vue @@ -70,7 +70,7 @@ - + @@ -215,12 +214,12 @@
账户允许最低余额与有效期
- + - + 第二步:修改最低余额和账户有效期 - - diff --git a/src/views/accountCenter/butie/butie/index.vue b/src/views/accountCenter/butie/butie/index.vue index b5ce9bbf..2706b1ed 100644 --- a/src/views/accountCenter/butie/butie/index.vue +++ b/src/views/accountCenter/butie/butie/index.vue @@ -30,7 +30,7 @@ 批量补贴清空 @@ -89,7 +89,7 @@ >补贴 补贴清空 diff --git a/src/views/accountCenter/butie/butieRecordsTab/index.vue b/src/views/accountCenter/butie/butieRecordsTab/index.vue index 33edf895..d1522ed7 100644 --- a/src/views/accountCenter/butie/butieRecordsTab/index.vue +++ b/src/views/accountCenter/butie/butieRecordsTab/index.vue @@ -46,7 +46,7 @@ 批量撤销 @@ -315,7 +315,7 @@ 批量撤销 @@ -323,7 +323,7 @@ - +