Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rongtong-pc
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
融通安全管理系统
rongtong-pc
Commits
6d5fceb9
Commit
6d5fceb9
authored
Nov 30, 2023
by
dlkong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户分配岗位
parent
7f934dad
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
219 additions
and
61 deletions
+219
-61
src/api/system/post.js
src/api/system/post.js
+9
-0
src/views/ledger/project/index.vue
src/views/ledger/project/index.vue
+203
-58
src/views/login.vue
src/views/login.vue
+1
-1
vue.config.js
vue.config.js
+6
-2
No files found.
src/api/system/post.js
View file @
6d5fceb9
...
...
@@ -42,3 +42,12 @@ export function delPost(postId) {
method
:
'
delete
'
})
}
// 用户配置岗位保存
export
function
saveUserPost
(
data
)
{
return
request
({
url
:
'
/system/currentProject/save
'
,
method
:
'
post
'
,
data
:
data
})
}
src/views/ledger/project/index.vue
View file @
6d5fceb9
This diff is collapsed.
Click to expand it.
src/views/login.vue
View file @
6d5fceb9
...
...
@@ -112,7 +112,7 @@ export default {
},
loading
:
false
,
// 验证码开关
captchaEnabled
:
tru
e
,
captchaEnabled
:
fals
e
,
// 注册开关
register
:
false
,
redirect
:
undefined
,
...
...
vue.config.js
View file @
6d5fceb9
...
...
@@ -37,8 +37,10 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: "http://192.168.10.137:8080/",
target
:
`http://192.168.4.232:8080`
,
//服务器地址
//
target: `http://192.168.4.232:8080`, //服务器地址
// target: `http://192.168.15.230:8081`, //晓晋本地地址
// target: `http://192.168.15.152:8081`, //鲍德本地地址
target
:
`http://127.0.0.1:8080`
,
//本地地址
changeOrigin
:
true
,
pathRewrite
:
{
[
"
^
"
+
process
.
env
.
VUE_APP_BASE_API
]:
""
,
...
...
@@ -46,8 +48,10 @@ module.exports = {
},
"
/app-api
"
:
{
// target: "http://192.168.10.137:8080/",
target
:
`http://192.168.4.232:8080/`
,
//服务器地址
//
target: `http://192.168.4.232:8080/`, //服务器地址
// target: `http://192.168.15.230:8081`, //晓晋本地地址
// target: `http://192.168.15.152:8081`, //鲍德本地地址
target
:
`http://127.0.0.1:8080`
,
//本地地址
changeOrigin
:
true
,
},
},
...
...
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