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
8e66191e
Commit
8e66191e
authored
Dec 19, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.yiboshi.com/XuJun/yn-science-front
parents
e56a24e2
8bb6b317
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
15 deletions
+35
-15
expertTemplate.xlsx
public/downloadFile/expertTemplate.xlsx
+0
-0
knowledgeSelect.vue
src/views/components/common/knowledgeSelect.vue
+18
-7
expertImport.vue
src/views/expert/components/expertImport.vue
+5
-3
projectSelectIntoGroup.vue
src/views/expert/components/projectSelectIntoGroup.vue
+2
-0
projectSelectIntoGroup.vue
src/views/peAssign/components/projectSelectIntoGroup.vue
+10
-5
No files found.
public/downloadFile/expertTemplate.xlsx
View file @
8e66191e
No preview for this file type
src/views/components/common/knowledgeSelect.vue
View file @
8e66191e
<
template
>
<
template
>
<div>
<div>
<a-select
placeholder=
"输入学科代码名称"
:default-active-first-option=
"false"
showSearch
<a-select
v-model=
"selected"
placeholder=
"输入学科代码名称"
:default-active-first-option=
"false"
showSearch
:show-arrow=
"false"
:filter-option=
"false"
@
search=
"onSearch"
@
change=
"handleChange"
:style=
"
{width: width + 'px'}">
:show-arrow=
"false"
:filter-option=
"false"
@
search=
"onSearch"
@
change=
"handleChange"
:style=
"
{width: width + 'px'}"
allowClear
>
<a-select-option
v-for=
"item in selectArray"
:key=
"item.key"
:value=
"item.key"
>
<a-select-option
v-for=
"item in selectArray"
:key=
"item.key"
:value=
"item.key"
>
{{
item
.
title
}}
{{
item
.
title
}}
</a-select-option>
</a-select-option>
...
@@ -40,7 +40,8 @@ export default {
...
@@ -40,7 +40,8 @@ export default {
};
};
},
},
created
()
{
created
()
{
//this.loadValue()
if
(
this
.
value
)
this
.
selected
=
this
.
value
},
},
methods
:
{
methods
:
{
onSearch
(
value
)
{
onSearch
(
value
)
{
...
@@ -87,18 +88,28 @@ export default {
...
@@ -87,18 +88,28 @@ export default {
}
}
}
}
this
.
$emit
(
"input"
,
this
.
selected
)
this
.
$emit
(
"input"
,
this
.
selected
)
},
reset
()
{
this
.
selected
=
undefined
this
.
selectArray
=
[]
this
.
$nextTick
(()
=>
{
this
.
$emit
(
'input'
,
undefined
)
this
.
$emit
(
'change'
)
})
}
}
},
},
watch
:
{
watch
:
{
value
:
{
value
:
{
handler
(
value
)
{
handler
(
value
)
{
if
(
!
!!
value
)
{
if
(
!
value
)
{
this
.
selected
=
null
this
.
selected
=
undefined
}
this
.
selectArray
=
[]
else
}
else
{
this
.
selected
=
value
+
''
this
.
selected
=
value
+
''
}
this
.
$emit
(
"input"
,
this
.
selected
)
this
.
$emit
(
"input"
,
this
.
selected
)
},
},
immediate
:
true
},
},
}
}
};
};
...
...
src/views/expert/components/expertImport.vue
View file @
8e66191e
...
@@ -42,14 +42,13 @@ export default {
...
@@ -42,14 +42,13 @@ export default {
columns
:
[
columns
:
[
{
title
:
"姓名"
,
dataIndex
:
"personName"
,
align
:
'center'
},
{
title
:
"姓名"
,
dataIndex
:
"personName"
,
align
:
'center'
},
{
title
:
"证件号"
,
dataIndex
:
"certId"
,
align
:
'center'
},
{
title
:
"证件号"
,
dataIndex
:
"certId"
,
align
:
'center'
},
// { title: "性别", dataIndex: "sex" },
// { title: "出生日期", dataIndex: 'birthday' },
{
title
:
"手机号"
,
dataIndex
:
"mobile"
,
align
:
'center'
},
{
title
:
"手机号"
,
dataIndex
:
"mobile"
,
align
:
'center'
},
{
title
:
"邮箱"
,
dataIndex
:
"email"
,
align
:
'center'
},
{
title
:
"邮箱"
,
dataIndex
:
"email"
,
align
:
'center'
},
{
title
:
"职称"
,
dataIndex
:
"titleName"
,
align
:
'center'
},
{
title
:
"职称"
,
dataIndex
:
"titleName"
,
align
:
'center'
},
{
title
:
"学历"
,
dataIndex
:
"educationName"
,
align
:
'center'
},
{
title
:
"学历"
,
dataIndex
:
"educationName"
,
align
:
'center'
},
{
title
:
"专业"
,
dataIndex
:
"specName"
,
align
:
'center'
},
{
title
:
"专业"
,
dataIndex
:
"specName"
,
align
:
'center'
},
{
title
:
'工作单位'
,
dataIndex
:
'unitName'
,
align
:
'center'
},
{
title
:
'工作单位'
,
dataIndex
:
'unitName'
,
align
:
'center'
},
{
title
:
'是否财务专家'
,
dataIndex
:
'isFinance'
,
align
:
'center'
},
{
title
:
'验证结果'
,
scopedSlots
:
{
customRender
:
'msg'
},
align
:
'center'
},
{
title
:
'验证结果'
,
scopedSlots
:
{
customRender
:
'msg'
},
align
:
'center'
},
],
],
tableData
:
[],
tableData
:
[],
...
@@ -102,6 +101,9 @@ export default {
...
@@ -102,6 +101,9 @@ export default {
if
(
!!!
e
.
工作单位
)
{
if
(
!!!
e
.
工作单位
)
{
msg
+=
';工作单位不能为空!'
msg
+=
';工作单位不能为空!'
}
}
if
(
!!!
e
.
是否财务专家
)
{
msg
+=
';是否财务专家不能为空!'
}
if
(
!!
msg
)
{
if
(
!!
msg
)
{
this
.
errorState
=
true
this
.
errorState
=
true
}
}
...
@@ -111,7 +113,7 @@ export default {
...
@@ -111,7 +113,7 @@ export default {
birthday
=
personBirthday
(
certId
)
+
' 00:00:00'
birthday
=
personBirthday
(
certId
)
+
' 00:00:00'
}
}
let
expert
=
{
personName
:
e
.
姓名
,
certId
:
certId
,
sex
:
gender
,
birthday
:
birthday
,
mobile
:
e
.
手机号
,
email
:
e
.
邮箱
,
specName
:
e
.
专业
,
educationName
:
e
.
学历
,
titleName
:
e
.
职称
,
unitName
:
e
.
工作单位
,
msg
:
msg
}
let
expert
=
{
personName
:
e
.
姓名
,
certId
:
certId
,
sex
:
gender
,
birthday
:
birthday
,
mobile
:
e
.
手机号
,
email
:
e
.
邮箱
,
specName
:
e
.
专业
,
educationName
:
e
.
学历
,
titleName
:
e
.
职称
,
unitName
:
e
.
工作单位
,
isFinance
:
e
.
是否财务专家
===
'是'
?
1
:
0
,
msg
:
msg
}
exportList
.
push
(
expert
)
exportList
.
push
(
expert
)
certList
.
push
(
e
.
证件号
)
certList
.
push
(
e
.
证件号
)
mobileList
.
push
(
e
.
手机号
)
mobileList
.
push
(
e
.
手机号
)
...
...
src/views/expert/components/projectSelectIntoGroup.vue
0 → 100644
View file @
8e66191e
\ No newline at end of file
src/views/peAssign/components/projectSelectIntoGroup.vue
View file @
8e66191e
...
@@ -8,10 +8,8 @@
...
@@ -8,10 +8,8 @@
<a-input
placeholder=
"申请编号"
v-model=
"searchForm.appNo"
:maxLength=
"100"
style=
"width: 120px"
/>
<a-input
placeholder=
"申请编号"
v-model=
"searchForm.appNo"
:maxLength=
"100"
style=
"width: 120px"
/>
</a-form-item>
</a-form-item>
<a-form-item>
<a-form-item>
<!--
<para-multi-select
v-model=
"searchForm.knowledgeId"
@
parentChange=
"parChange"
:typeId=
"57"
:width=
"120"
/>
-->
<knowledge-select
ref=
"knowledgeSelectRef"
v-model=
"searchForm.knowledgeId"
></knowledge-select>
<knowledge-select
v-model=
"searchForm.knowledgeId"
></knowledge-select>
</a-form-item>
</a-form-item>
<!--
<br
/>
-->
<a-form-item>
<a-form-item>
<a-input
v-model=
"searchForm.certId"
placeholder=
"申报人证件号"
:maxLength=
"100"
style=
"width: 160px"
/>
<a-input
v-model=
"searchForm.certId"
placeholder=
"申报人证件号"
:maxLength=
"100"
style=
"width: 160px"
/>
</a-form-item>
</a-form-item>
...
@@ -94,7 +92,6 @@ export default {
...
@@ -94,7 +92,6 @@ export default {
getListByPage
()
{
getListByPage
()
{
this
.
loading
=
true
this
.
loading
=
true
this
.
searchForm
.
knowledgeCode
=
this
.
searchForm
.
knowledgeId
this
.
searchForm
.
knowledgeCode
=
this
.
searchForm
.
knowledgeId
this
.
searchForm
.
knowledgeId
=
null
let
pars
=
isEmptyParams
(
this
.
searchForm
)
let
pars
=
isEmptyParams
(
this
.
searchForm
)
let
par
=
{
...
pars
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
}
let
par
=
{
...
pars
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
}
this
.
$api
.
projectAssign
.
getUnAssignProjectListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
projectAssign
.
getUnAssignProjectListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
...
@@ -116,7 +113,15 @@ export default {
...
@@ -116,7 +113,15 @@ export default {
reset
()
{
reset
()
{
this
.
searchForm
.
projName
=
''
this
.
searchForm
.
projName
=
''
this
.
searchForm
.
appNo
=
''
this
.
searchForm
.
appNo
=
''
this
.
searchForm
.
knowledgeId
=
''
this
.
searchForm
.
knowledgeId
=
undefined
this
.
searchForm
.
certId
=
''
this
.
searchForm
.
appPersonName
=
''
this
.
searchForm
.
appUnitName
=
''
if
(
this
.
$refs
.
knowledgeSelectRef
)
{
this
.
$refs
.
knowledgeSelectRef
.
reset
()
}
this
.
pagination
.
pageIndex
=
1
this
.
pagination
.
pageIndex
=
1
this
.
getListByPage
()
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