Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
卡
卡车调度系统
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
caicaicai
卡车调度系统
Commits
0f394f0e
Commit
0f394f0e
authored
May 11, 2022
by
caicaicai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1e86a8f2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
.env.development
.env.development
+3
-3
common.js
src/assets/js/common.js
+9
-1
index.vue
src/views/driverManagement/index.vue
+1
-1
No files found.
.env.development
View file @
0f394f0e
...
@@ -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.1
10
:8001'
VUE_APP_BASE_API = 'http://192.168.0.1
08
: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.1
10
:8001'
VUE_APP_LOCAL_API = 'http://192.168.0.1
08
:8001'
VUE_APP_LOCAL_API2 = 'http://192.168.0.1
10
:8001'
VUE_APP_LOCAL_API2 = 'http://192.168.0.1
08
:8001'
# 是否启用 babel-plugin-dynamic-import-node插件
# 是否启用 babel-plugin-dynamic-import-node插件
VUE_CLI_BABEL_TRANSPILE_MODULES = true
VUE_CLI_BABEL_TRANSPILE_MODULES = true
src/assets/js/common.js
View file @
0f394f0e
...
@@ -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
({
...
...
src/views/driverManagement/index.vue
View file @
0f394f0e
...
@@ -164,7 +164,7 @@ export default {
...
@@ -164,7 +164,7 @@ export default {
}
}
})
})
//获取用于选择的用户名
//获取用于选择的用户名
HttpReq
.
truckDispatching
.
get
All
SystemUserNameQuery
({
size
:
9999
}).
then
((
res
)
=>
{
HttpReq
.
truckDispatching
.
get
NoUse
SystemUserNameQuery
({
size
:
9999
}).
then
((
res
)
=>
{
this
.
allSystemUserNameData
=
res
.
content
;
this
.
allSystemUserNameData
=
res
.
content
;
})
})
//获取用于选择的用户名
//获取用于选择的用户名
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment