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
9986afd2
Commit
9986afd2
authored
Dec 27, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.yiboshi.com/XuJun/yn-science-front
parents
cc5079e9
fb888fcb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
index.vue
src/views/expert/index.vue
+8
-4
No files found.
src/views/expert/index.vue
View file @
9986afd2
...
...
@@ -7,19 +7,22 @@
<a-form-item>
<a-input
v-model=
"searchForm.certId"
placeholder=
"证件号"
:maxLength=
"100"
style=
"width: 150px"
/>
</a-form-item>
<a-form-item>
<
!--
<
a-form-item>
<a-select
v-model=
"searchForm.sex"
style=
"width: 100px"
>
<a-select-option
value=
""
>
--性别--
</a-select-option>
<a-select-option
value=
"男"
>
男
</a-select-option>
<a-select-option
value=
"女"
>
女
</a-select-option>
</a-select>
</a-form-item>
</a-form-item>
-->
<a-form-item
v-if=
"isTopGov"
>
<a-input
v-model=
"searchForm.unitName"
placeholder=
"单位"
:maxLength=
"100"
style=
"width: 130px"
/>
</a-form-item>
<a-form-item>
<a-input
v-model=
"searchForm.username"
placeholder=
"用户名"
:maxLength=
"100"
style=
"width: 130px"
/>
</a-form-item>
<a-form-item>
<cascader-select
v-model=
"searchForm.specParentId"
:changeOnSelect=
"true"
/>
</a-form-item>
<a-form-item>
<para-multi-select
v-model=
"searchForm.title"
@
parentChange=
"titleChange"
:title=
"'职称'"
:objType=
"'project'"
:typeId=
"7"
:width=
"150"
/>
</a-form-item>
...
...
@@ -74,10 +77,11 @@ import moment from 'moment';
import
expertView
from
'./components/expertView'
import
expertEdit
from
'./components/expertEdit'
;
import
expertImport
from
'./components/expertImport'
;
import
cascaderSelect
from
'@/views/components/common/cascaderSelect'
export
default
{
name
:
'expertManager'
,
components
:
{
expertView
,
expertEdit
,
expertImport
},
components
:
{
expertView
,
expertEdit
,
expertImport
,
cascaderSelect
},
data
()
{
return
{
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
...
...
@@ -92,7 +96,6 @@ 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,6 +124,7 @@ export default {
if
(
user
&&
user
.
roles
)
{
if
(
user
.
roles
.
indexOf
(
"0"
)
!=
-
1
)
{
this
.
isTopGov
=
true
this
.
columns
.
splice
(
8
,
0
,
{
title
:
'状态'
,
scopedSlots
:
{
customRender
:
'stateSwitch'
},
align
:
'center'
},)
}
else
{
this
.
columns
.
splice
(
8
,
0
,
{
title
:
'上报状态'
,
scopedSlots
:
{
customRender
:
'reportState'
},
align
:
'center'
})
...
...
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