Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_webapp into dev
This commit is contained in:
@@ -967,7 +967,7 @@ export default {
|
||||
starTime: this.jobForm.date[0],
|
||||
endTime: this.jobForm.date[1],
|
||||
}))
|
||||
if (this.jobId != "") {
|
||||
if (this.jobId !== "") {
|
||||
this.form.workInfoList.splice(this.jobId, 1, info)
|
||||
} else {
|
||||
this.form.workInfoList.push(info)
|
||||
@@ -980,7 +980,7 @@ export default {
|
||||
this.$refs.starForm.validate((valid) => {
|
||||
if (valid) {
|
||||
let info = JSON.parse(JSON.stringify(this.starForm))
|
||||
if (this.starId != "") {
|
||||
if (this.starId !== "") {
|
||||
this.form.starList.splice(this.starId, 1, info)
|
||||
} else {
|
||||
this.form.starList.push(info)
|
||||
@@ -993,7 +993,7 @@ export default {
|
||||
this.$refs.disciplinaryForm.validate((valid) => {
|
||||
if (valid) {
|
||||
let info = JSON.parse(JSON.stringify(this.disciplinaryForm))
|
||||
if (this.disciplinaryId != "") {
|
||||
if (this.disciplinaryId !== "") {
|
||||
this.form.disciplinaryInfoList.splice(this.disciplinaryId, 1, info)
|
||||
} else {
|
||||
this.form.disciplinaryInfoList.push(info)
|
||||
|
||||
Reference in New Issue
Block a user