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
e2917e62
Commit
e2917e62
authored
Mar 20, 2025
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
f0fc85de
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
17 deletions
+15
-17
talentEdit.vue
src/views/report/talent/components/talentEdit.vue
+15
-17
No files found.
src/views/report/talent/components/talentEdit.vue
View file @
e2917e62
...
...
@@ -504,7 +504,6 @@ export default {
this
.
formData
.
mobile
=
data
.
mobile
this
.
formData
.
email
=
data
.
email
this
.
formData
.
fax
=
data
.
fax
console
.
log
(
this
.
formData
)
}
this
.
loading
=
false
}).
catch
(()
=>
{
this
.
loading
=
false
})
...
...
@@ -560,24 +559,23 @@ export default {
let
state
=
obj
.
projState
if
(
state
!=
30
&&
step
==
5
)
obj
.
projState
=
10
console
.
log
(
obj
)
let
pars
=
isEmptyParams
(
obj
)
let
par
=
{
...
pars
}
//
this.$api.talent.save(par).then(({ data = {} }) => {
//
if (data) {
//
this.formData.id = data
//
if (next) {
//
this.$emit('close', 'save')
//
this.$emit('onStepChange', { step: step + 1, state: arr.toString() })
//
} else {
//
this.$message.success('成功!')
//
this.$emit('close', 'submit')
//
}
//
}
//
this.$emit('load', false)
//
}).catch(() => {
//
this.$emit('load', false)
//
})
this
.
$api
.
talent
.
save
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
formData
.
id
=
data
if
(
next
)
{
this
.
$emit
(
'close'
,
'save'
)
this
.
$emit
(
'onStepChange'
,
{
step
:
step
+
1
,
state
:
arr
.
toString
()
})
}
else
{
this
.
$message
.
success
(
'成功!'
)
this
.
$emit
(
'close'
,
'submit'
)
}
}
this
.
$emit
(
'load'
,
false
)
}).
catch
(()
=>
{
this
.
$emit
(
'load'
,
false
)
})
}
else
{
this
.
$message
.
error
(
'信息未填写完全!'
)
return
false
...
...
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