Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
常超
founder_vue
Commits
c7a4972b
Commit
c7a4972b
authored
Nov 24, 2021
by
张超军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改登录头
parent
135a9421
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
20 deletions
+30
-20
dist.zip
+0
-0
src/views/SystemManage/GroupManage.vue
+4
-4
src/views/SystemManage/PermissionManage.vue
+2
-2
src/views/SystemManage/RoleManage.vue
+3
-3
src/views/SystemManage/UserManage.vue
+4
-4
src/views/SystemManage/UserPermission.vue
+2
-2
vue.config.js
+15
-5
No files found.
dist.zip
0 → 100644
View file @
c7a4972b
File added
src/views/SystemManage/GroupManage.vue
View file @
c7a4972b
...
...
@@ -772,7 +772,7 @@ export default {
searchUser
()
{
let
self
=
this
;
this
.
$axios
.
get
(
"/s
ystem
/roles"
)
.
get
(
"/s
ecurity
/roles"
)
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
&&
res
.
data
.
detail
.
length
>
0
)
{
let
result
=
res
.
data
.
detail
;
...
...
@@ -943,7 +943,7 @@ export default {
this
.
$refs
.
addFormParams
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$axios
.
post
(
"/s
ystem
/user-groups"
,
this
.
addFormParams
)
.
post
(
"/s
ecurity
/user-groups"
,
this
.
addFormParams
)
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
201
)
{
setTimeout
(()
=>
{
...
...
@@ -974,7 +974,7 @@ export default {
console
.
info
(
valid
);
if
(
valid
)
{
this
.
$axios
.
put
(
"/s
ystem
/user-groups"
,
this
.
editFormParams
)
.
put
(
"/s
ecurity
/user-groups"
,
this
.
editFormParams
)
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
)
{
setTimeout
(()
=>
{
...
...
@@ -1030,7 +1030,7 @@ export default {
// 搜索
search
()
{
console
.
info
(
"搜索用户列表"
);
this
.
$axios
.
get
(
"/s
ystem
/user-groups"
).
then
((
res
)
=>
{
this
.
$axios
.
get
(
"/s
ecurity
/user-groups"
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
"200"
)
{
this
.
tableData
=
res
.
data
.
detail
;
}
...
...
src/views/SystemManage/PermissionManage.vue
View file @
c7a4972b
...
...
@@ -652,7 +652,7 @@ export default {
// 获取用户信息
searchUser
()
{
console
.
info
(
"搜索用户列表"
);
this
.
$axios
.
get
(
"/s
ystem
/users"
).
then
((
res
)
=>
{
this
.
$axios
.
get
(
"/s
ecurity
/users"
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
userTableData
=
res
.
data
.
detail
;
}
...
...
@@ -692,7 +692,7 @@ export default {
// 获取用户组信息
searchGroup
()
{
this
.
$axios
.
get
(
"/s
ystem
/user-groups"
).
then
((
res
)
=>
{
this
.
$axios
.
get
(
"/s
ecurity
/user-groups"
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
groupTableData
=
res
.
data
.
detail
;
}
...
...
src/views/SystemManage/RoleManage.vue
View file @
c7a4972b
...
...
@@ -401,7 +401,7 @@ export default {
methods
:
{
// 获取权限列表
getPermissionDataLists
()
{
this
.
$axios
.
get
(
"/s
ystem
/permissions"
).
then
((
res
)
=>
{
this
.
$axios
.
get
(
"/s
ecurity
/permissions"
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
&&
res
.
data
.
detail
.
length
>
0
)
{
let
result
=
res
.
data
.
detail
;
var
arr
=
[];
...
...
@@ -490,7 +490,7 @@ export default {
}
this
.
$axios
({
method
:
"post"
,
url
:
"/s
ystem
/roles"
,
url
:
"/s
ecurity
/roles"
,
headers
:
{
"Content-Type"
:
"application/json;charset=UTF-8"
,
},
...
...
@@ -516,7 +516,7 @@ export default {
// 获取角色列表 和 角色权限列表
search
()
{
this
.
$axios
.
get
(
"/s
ystem
/roles"
)
.
get
(
"/s
ecurity
/roles"
)
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
"200"
&&
res
.
data
.
detail
.
length
>
0
)
{
let
result
=
res
.
data
.
detail
;
...
...
src/views/SystemManage/UserManage.vue
View file @
c7a4972b
...
...
@@ -736,7 +736,7 @@ export default {
console
.
log
(
valid
);
if
(
valid
)
{
this
.
$axios
.
post
(
"/s
ystem
/users"
,
this
.
addFormParams
)
.
post
(
"/s
ecurity
/users"
,
this
.
addFormParams
)
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
201
)
{
setTimeout
(()
=>
{
...
...
@@ -783,7 +783,7 @@ export default {
this
.
$refs
.
editFormParams
.
validate
((
valid
)
=>
{
console
.
log
(
valid
);
if
(
valid
)
{
this
.
$axios
.
put
(
"/s
ystem
/users"
,
this
.
editFormParams
).
then
((
res
)
=>
{
this
.
$axios
.
put
(
"/s
ecurity
/users"
,
this
.
editFormParams
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
)
{
setTimeout
(()
=>
{
this
.
$message
.
success
(
"修改成功"
);
...
...
@@ -825,7 +825,7 @@ export default {
},
search
()
{
console
.
info
(
"搜索用户列表"
);
this
.
$axios
.
get
(
"/s
ystem
/users"
).
then
((
res
)
=>
{
this
.
$axios
.
get
(
"/s
ecurity
/users"
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
tableData
=
res
.
data
.
detail
;
}
...
...
@@ -891,7 +891,7 @@ export default {
// 人员信息
getPersonInfor
(
id
)
{
this
.
loading
=
true
;
this
.
$axios
.
get
(
"/s
ystem
/users/"
+
id
,
{
loading
:
false
}).
then
((
res
)
=>
{
this
.
$axios
.
get
(
"/s
ecurity
/users/"
+
id
,
{
loading
:
false
}).
then
((
res
)
=>
{
this
.
loading
=
false
;
if
(
res
.
data
)
{
let
result
=
res
.
data
;
...
...
src/views/SystemManage/UserPermission.vue
View file @
c7a4972b
...
...
@@ -408,7 +408,7 @@ export default {
},
personInfor
()
{
let
self
=
this
;
this
.
$axios
.
get
(
"/s
ystem
/users/"
+
this
.
userID
).
then
((
res
)
=>
{
this
.
$axios
.
get
(
"/s
ecurity
/users/"
+
this
.
userID
).
then
((
res
)
=>
{
if
(
res
.
data
)
{
let
result
=
res
.
data
;
if
(
result
.
status
==
"1"
)
{
...
...
@@ -529,7 +529,7 @@ export default {
// 获取权限列表
getPermissionDataLists
()
{
this
.
$axios
.
get
(
"/s
ystem
/permissions"
).
then
((
res
)
=>
{
this
.
$axios
.
get
(
"/s
ecurity
/permissions"
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
&&
res
.
data
.
detail
.
length
>
0
)
{
let
result
=
res
.
data
.
detail
;
var
arr
=
[];
...
...
vue.config.js
View file @
c7a4972b
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-11-24 18:
33:09
* @LastEditTime: 2021-11-24 18:
43:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\vue.config.js
...
...
@@ -98,7 +98,7 @@ module.exports = {
// target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://127.0.0.1:8099",
// target: "http://47.92.225.109:5602",
//
target: "http://www.meetfood.cn:2390/", // 湖南-线上
target
:
"http://www.meetfood.cn:2390/"
,
// 湖南-线上
ws
:
true
,
changeOrigin
:
true
,
...
...
@@ -115,13 +115,23 @@ module.exports = {
"^/login"
:
""
}
},
"/system"
:
{
target
:
"http://192.168.128.106:8765/security"
,
// 湖南-王
// "/system": {
// target: "http://192.168.128.106:8765/security", // 湖南-王
// // target: "http://www.meetfood.cn:2390/system", // 湖南-王
// ws: true,
// changeOrigin: true,
// pathRewrite: {
// "^/system": ""
// }
// },
"/security"
:
{
target
:
"http://192.168.128.106:8765"
,
// 湖南-王
// target: "http://www.meetfood.cn:2390/system", // 湖南-王
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
"^/s
ystem
"
:
""
"^/s
ecurity
"
:
""
}
}
// 阿里
...
...
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