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