Commit 0f394f0e authored by caicaicai's avatar caicaicai

修改

parent 1e86a8f2
...@@ -2,10 +2,10 @@ ENV = 'development' ...@@ -2,10 +2,10 @@ ENV = 'development'
# 接口地址 # 接口地址
#VUE_APP_BASE_API = 'http://localhost:8000' #VUE_APP_BASE_API = 'http://localhost:8000'
VUE_APP_BASE_API = 'http://192.168.0.110:8001' VUE_APP_BASE_API = 'http://192.168.0.108:8001'
VUE_APP_WS_API = 'ws://8.143.203.103:9090/webSocket' VUE_APP_WS_API = 'ws://8.143.203.103:9090/webSocket'
VUE_APP_LOCAL_API = 'http://192.168.0.110:8001' VUE_APP_LOCAL_API = 'http://192.168.0.108:8001'
VUE_APP_LOCAL_API2 = 'http://192.168.0.110:8001' VUE_APP_LOCAL_API2 = 'http://192.168.0.108:8001'
# 是否启用 babel-plugin-dynamic-import-node插件 # 是否启用 babel-plugin-dynamic-import-node插件
VUE_CLI_BABEL_TRANSPILE_MODULES = true VUE_CLI_BABEL_TRANSPILE_MODULES = true
...@@ -2109,7 +2109,7 @@ var HttpReq = function(){ ...@@ -2109,7 +2109,7 @@ var HttpReq = function(){
params:param, params:param,
}) })
}, },
//获取用于选择用户的用户名 //获取用于选择用户的用户名(全部用户名)
getAllSystemUserNameQuery:function(param){ getAllSystemUserNameQuery:function(param){
return request({ return request({
url: '/api/users', url: '/api/users',
...@@ -2117,6 +2117,14 @@ var HttpReq = function(){ ...@@ -2117,6 +2117,14 @@ var HttpReq = function(){
params:param, params:param,
}) })
}, },
//获取用于选择用户的用户名(没用过的用户名)
getNoUseSystemUserNameQuery:function(param){
return request({
url: '/api/users/use',
method: 'get',
params:param,
})
},
//获取人员管理中的部门 //获取人员管理中的部门
getAllDepartmentQuery:function(param){ getAllDepartmentQuery:function(param){
return request({ return request({
......
...@@ -164,7 +164,7 @@ export default { ...@@ -164,7 +164,7 @@ export default {
} }
}) })
//获取用于选择的用户名 //获取用于选择的用户名
HttpReq.truckDispatching.getAllSystemUserNameQuery({size:9999}).then((res) => { HttpReq.truckDispatching.getNoUseSystemUserNameQuery({size:9999}).then((res) => {
this.allSystemUserNameData = res.content; this.allSystemUserNameData = res.content;
}) })
//获取用于选择的用户名 //获取用于选择的用户名
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment