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
cb5dec1b
Commit
cb5dec1b
authored
Dec 19, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
f5ae7c8c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
expertTemplate.xlsx
public/downloadFile/expertTemplate.xlsx
+0
-0
expertImport.vue
src/views/expert/components/expertImport.vue
+5
-3
No files found.
public/downloadFile/expertTemplate.xlsx
View file @
cb5dec1b
No preview for this file type
src/views/expert/components/expertImport.vue
View file @
cb5dec1b
...
@@ -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
.
手机号
)
...
...
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