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
96e74a8e
Commit
96e74a8e
authored
Jun 15, 2022
by
xue_wengang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户管理
parent
fe1bd88e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
14 deletions
+35
-14
src/components/ptCxForm_components.vue
+1
-1
src/views/index/img/daohang.png
+0
-0
src/views/index/kshData.vue
+24
-9
src/views/userAuth/role/queryRole.vue
+10
-4
No files found.
src/components/ptCxForm_components.vue
View file @
96e74a8e
...
...
@@ -2683,7 +2683,7 @@
:default-sort=
"{ prop: 'date', order: 'descending' }"
@
sort-change=
"sortChange"
@
row-click=
"rowClick"
indent=
"20"
indent=
20
>
<el-table-column
type=
"selection"
...
...
src/views/index/img/daohang.png
View replaced file @
fe1bd88e
View file @
96e74a8e
75.3 KB
|
W:
|
H:
75.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/index/kshData.vue
View file @
96e74a8e
...
...
@@ -26,14 +26,22 @@
</div>
<div
style=
"position: absolute; right: 40px; top: 35px; color: #9fbcda"
>
<span
style=
"padding-right: 20px; font-family: 'DIN'; font-size: 18p
x"
>
{{
dateTime
}}
</span
@
click=
"toInde
x"
style=
"cursor: pointer; font-size: 15px; color: #e0d117"
>
<span
style=
"padding-right: 20px; font-size: 18px"
>
|
</span>
<span
@
click=
"toIndex"
style=
"cursor: pointer; font-size: 15px"
>
<i
style=
"padding-right: 10px"
class=
"el-icon-s-home"
></i>
<span
style=
"font-size: 1
6
px"
>
系统首页
</span>
<span
style=
"font-size: 1
7px; padding-right: 20
px"
>
系统首页
</span>
</span>
<span
style=
"padding-right: 20px; font-size: 18px"
>
|
</span>
<span
style=
"font-family: 'DIN'; font-size: 18px"
>
{{
dateTime
}}
</span>
<i
style=
"padding-left: 10px; font-size: 25px"
class=
"el-icon-switch-button"
title=
"注销"
@
click=
"loginOut"
></i>
</div>
</div>
<div
v-if=
"istabShow == 1"
class=
"daping_box_content"
>
...
...
@@ -1181,6 +1189,12 @@ export default {
},
},
methods
:
{
loginOut
()
{
sessionStorage
.
setItem
(
"token"
,
""
);
sessionStorage
.
setItem
(
"userInfo"
,
""
);
this
.
$store
.
commit
(
"user/SET_ROLES"
,
[]);
window
.
location
.
href
=
'http://zhyy.xzxt.an:8080/index'
},
/* 电诈start */
//电诈案件涉案金额
dxzpsajeInit
()
{
...
...
@@ -4124,9 +4138,10 @@ export default {
*/
toIndex
()
{
let
Base64
=
require
(
"js-base64"
).
Base64
;
let
path
=
`http://zhyy.xzxt.an:8080/toGzzmYanshou?jumpDa=
${
Base64
.
encode
(
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
"userInfo"
)).
identitycard
)}
`
;
// let path = `http://zhyy.xzxt.an:8080/toGzzmYanshou?jumpDa=${Base64.encode(
// JSON.parse(window.sessionStorage.getItem("userInfo")).identitycard
// )}`;
let
path
=
`http://zhyy.xzxt.an:8080/toHomePage`
;
// toHomePageVue
//let path = `http://192.168.1.124:9090/toHomePage?jumpDa=${Base64.encode(JSON.parse(window.sessionStorage.getItem("userInfo")).identitycard)}`;
window
.
open
(
path
,
"_blank"
);
...
...
@@ -5400,7 +5415,7 @@ export default {
bottom
:
260px
;
right
:
13%
;
}
.disClick
{
.disClick
{
cursor
:
not-allowed
;
}
</
style
>
...
...
src/views/userAuth/role/queryRole.vue
View file @
96e74a8e
...
...
@@ -222,9 +222,10 @@ export default {
editMenu
()
{
if
(
this
.
selectedId
.
length
>
0
)
{
this
.
dialogVisible
=
true
;
let
arr
=
new
Set
([...
this
.
parentArr
])
this
.
selec
=
new
Set
(
this
.
selectedId
[
0
].
menuListId
.
filter
(
x
=>
!
arr
.
has
(
x
)));
console
.
log
(
difference
);
let
arr
=
new
Set
([...
this
.
parentArr
]);
this
.
selec
=
new
Set
(
this
.
selectedId
[
0
].
menuListId
.
filter
((
x
)
=>
!
arr
.
has
(
x
))
);
//this.selec = this.selectedId[0].menuListId;
}
else
{
this
.
$message
.
error
(
"请选择角色"
);
...
...
@@ -328,9 +329,14 @@ export default {
},
//全选
handleCheckAllChange
(
val
)
{
debugger
;
if
(
this
.
checkAll
)
{
this
.
treeData
.
forEach
((
item
)
=>
{
this
.
selectedTree
.
push
(
item
.
id
);
if
(
item
.
hasChildren
)
{
this
.
handleChildren
(
item
.
children
);
}
else
{
this
.
selectedTree
.
push
(
item
.
id
);
}
});
this
.
$refs
.
tree
.
setCheckedNodes
(
this
.
treeData
);
}
else
{
...
...
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