diff --git a/.env.development b/.env.development index 7a6d974..f1ab67d 100644 --- a/.env.development +++ b/.env.development @@ -1,7 +1,7 @@ ENV = 'development' # 接口地址 -VUE_APP_BASE_API = 'http://192.168.0.110:8094' +VUE_APP_BASE_API = 'http://192.168.0.114:8094' VUE_APP_WS_API = 'ws://localhost:8088' # 是否启用 babel-plugin-dynamic-import-node插件 diff --git a/.env.production b/.env.production index fdb9aa0..39b7707 100644 --- a/.env.production +++ b/.env.production @@ -1,6 +1,6 @@ ENV = 'production' # 接口地址 -VUE_APP_BASE_API = 'http://www.cyjyyjy.com:8095' +VUE_APP_BASE_API = 'http://www.cyjyyjy.com:8094' VUE_APP_WS_API = 'ws:///127.0.0.1:8001' diff --git a/dist.rar b/dist.rar index dbed048..2fae6b9 100644 Binary files a/dist.rar and b/dist.rar differ diff --git a/src/api/ResourcesCagetory.js b/src/api/ResourcesCagetory.js index da567c5..0320b1d 100644 --- a/src/api/ResourcesCagetory.js +++ b/src/api/ResourcesCagetory.js @@ -24,4 +24,5 @@ export function edit(data) { }) } + export default { add, edit, del } diff --git a/src/router/routers.js b/src/router/routers.js index 70c2921..ac39b96 100644 --- a/src/router/routers.js +++ b/src/router/routers.js @@ -71,7 +71,7 @@ export const constantRouterMap = [ ] export default new Router({ - mode: 'history', + mode: 'hash', scrollBehavior: () => ({ y: 0 }), routes: constantRouterMap }) diff --git a/src/views/shop/demandHall/authentication.vue b/src/views/shop/demandHall/authentication.vue index b6315de..e5fddb5 100644 --- a/src/views/shop/demandHall/authentication.vue +++ b/src/views/shop/demandHall/authentication.vue @@ -208,7 +208,6 @@ export default { }) }, showDialog(row){ - console.log(row) this.authForm.examineId = row.id row.authenticationState == 2 ? this.authForm.type = 1 : this.authForm.type = 0 this.authForm.reason = row.reason diff --git a/src/views/shop/demandHall/projectList.vue b/src/views/shop/demandHall/projectList.vue index efcb90b..01dcbd0 100644 --- a/src/views/shop/demandHall/projectList.vue +++ b/src/views/shop/demandHall/projectList.vue @@ -32,16 +32,18 @@ 审核不通过 - + @@ -133,7 +135,7 @@ export default { }) }, openProject(row){ - if(row.projectState == 0){ + if(row.examineState == 1){ this.$confirm('是否确定开启项目?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', diff --git a/src/views/shop/projectManage/cooperationMode.vue b/src/views/shop/projectManage/cooperationMode.vue index 9b2ffc9..96a30ea 100644 --- a/src/views/shop/projectManage/cooperationMode.vue +++ b/src/views/shop/projectManage/cooperationMode.vue @@ -41,7 +41,6 @@ -