Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pc
Project
Project
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
wbx-PCAndMobi
pc
Commits
9978c122
Commit
9978c122
authored
Apr 30, 2021
by
zhangrui123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编辑显示的权限码修改
parent
edbbf3a6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
home.vue
src/views/home.vue
+1
-0
list.vue
src/views/personal/role/list.vue
+3
-3
No files found.
src/views/home.vue
View file @
9978c122
...
@@ -520,6 +520,7 @@ export default {
...
@@ -520,6 +520,7 @@ export default {
let
info
=
this
.
secRowInfos
.
COMMUNITY_MANAGER_MATH
&&
this
.
secRowInfos
.
COMMUNITY_MANAGER_MATH
.
data
[
i
-
1
]
?
this
.
secRowInfos
.
COMMUNITY_MANAGER_MATH
.
data
[
i
-
1
].
rato
:
0
let
info
=
this
.
secRowInfos
.
COMMUNITY_MANAGER_MATH
&&
this
.
secRowInfos
.
COMMUNITY_MANAGER_MATH
.
data
[
i
-
1
]
?
this
.
secRowInfos
.
COMMUNITY_MANAGER_MATH
.
data
[
i
-
1
].
rato
:
0
let
data_time
=
this
.
secRowInfos
.
COMMUNITY_MANAGER_MATH
&&
this
.
secRowInfos
.
COMMUNITY_MANAGER_MATH
.
data
[
i
-
1
]?
this
.
secRowInfos
.
COMMUNITY_MANAGER_MATH
.
data
[
i
-
1
].
checkTime
.
slice
(
8
,
10
):
100
let
data_time
=
this
.
secRowInfos
.
COMMUNITY_MANAGER_MATH
&&
this
.
secRowInfos
.
COMMUNITY_MANAGER_MATH
.
data
[
i
-
1
]?
this
.
secRowInfos
.
COMMUNITY_MANAGER_MATH
.
data
[
i
-
1
].
checkTime
.
slice
(
8
,
10
):
100
let
color
=
'rgb(226,235,245)'
let
color
=
'rgb(226,235,245)'
console
.
log
(
dateArr
)
if
(
i
==
Number
(
data_time
)){
if
(
i
==
Number
(
data_time
)){
if
(
info
)
{
if
(
info
)
{
if
(
info
<
0.9
)
{
if
(
info
<
0.9
)
{
...
...
src/views/personal/role/list.vue
View file @
9978c122
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</a-form>
</a-form>
<p
class=
"gayLine noline"
></p>
<p
class=
"gayLine noline"
></p>
<div
class=
"portalTableOperates"
>
<div
class=
"portalTableOperates"
>
<a-button
type=
"primary"
icon=
'plus'
v-if=
"$permission('0009030
2
')"
@
click=
"addBtn"
>
新增角色
</a-button>
<a-button
type=
"primary"
icon=
'plus'
v-if=
"$permission('0009030
3
')"
@
click=
"addBtn"
>
新增角色
</a-button>
</div>
</div>
<div
class=
"wrapper-roles"
>
<div
class=
"wrapper-roles"
>
<div
class=
"box"
v-for=
"(item,index) in roleList"
:key=
"index"
>
<div
class=
"box"
v-for=
"(item,index) in roleList"
:key=
"index"
>
...
@@ -33,10 +33,10 @@
...
@@ -33,10 +33,10 @@
<a-divider
type=
"vertical"
/>
<a-divider
type=
"vertical"
/>
</
template
>
</
template
>
<
template
>
<
template
>
<span
@
click=
"edit(item)"
v-if=
"$permission('0009030
4
')"
>
修改
</span>
<span
@
click=
"edit(item)"
v-if=
"$permission('0009030
3
')"
>
修改
</span>
<a-divider
type=
"vertical"
/>
<a-divider
type=
"vertical"
/>
</
template
>
</
template
>
<span
@
click=
"deleteBtn(item)"
v-if=
"$permission('0009030
4
')"
>
删除
</span>
<span
@
click=
"deleteBtn(item)"
v-if=
"$permission('0009030
3
')"
>
删除
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
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