Commit 6d5fceb9 authored by dlkong's avatar dlkong

用户分配岗位

parent 7f934dad
......@@ -42,3 +42,12 @@ export function delPost(postId) {
method: 'delete'
})
}
// 用户配置岗位保存
export function saveUserPost(data) {
return request({
url: '/system/currentProject/save',
method: 'post',
data: data
})
}
This diff is collapsed.
......@@ -112,7 +112,7 @@ export default {
},
loading: false,
// 验证码开关
captchaEnabled: true,
captchaEnabled: false,
// 注册开关
register: false,
redirect: undefined,
......
......@@ -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,
},
},
......
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