Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-front
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
徐俊
yn-science-front
Commits
816d1c28
Commit
816d1c28
authored
Dec 26, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
444
parent
317d1feb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
index.vue
src/views/expert/index.vue
+3
-2
No files found.
src/views/expert/index.vue
View file @
816d1c28
...
...
@@ -92,7 +92,7 @@ export default {
{
title
:
'单位'
,
dataIndex
:
'unitName'
,
align
:
'center'
},
{
title
:
'用户名'
,
dataIndex
:
'username'
,
align
:
'center'
},
{
title
:
'密码'
,
dataIndex
:
'password'
,
align
:
'center'
},
{
title
:
'状态'
,
scopedSlots
:
{
customRender
:
'stateSwitch'
},
align
:
'center'
},
{
title
:
'操作'
,
scopedSlots
:
{
customRender
:
'option'
},
align
:
'center'
,
fixed
:
'right'
,
width
:
'180px'
,
},
],
excelCol
:
[
...
...
@@ -121,9 +121,10 @@ export default {
if
(
user
&&
user
.
roles
)
{
if
(
user
.
roles
.
indexOf
(
"0"
)
!=
-
1
)
{
this
.
isTopGov
=
true
this
.
columns
.
splice
(
7
,
0
,
{
title
:
'状态'
,
scopedSlots
:
{
customRender
:
'stateSwitch'
},
align
:
'center'
},)
}
else
{
this
.
columns
.
splice
(
8
,
0
,
{
title
:
'上报状态'
,
scopedSlots
:
{
customRender
:
'reportState'
},
align
:
'center'
})
this
.
columns
.
splice
(
7
,
0
,
{
title
:
'上报状态'
,
scopedSlots
:
{
customRender
:
'reportState'
},
align
:
'center'
})
}
}
this
.
getListByPage
()
...
...
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