|
|
@ -948,13 +948,21 @@ |
|
|
|
|
|
|
|
|
saveData () { |
|
|
saveData () { |
|
|
this.dataForm.engineerList = [] |
|
|
this.dataForm.engineerList = [] |
|
|
this.dataForm.engineerList.push(this.dataForm.engineerNo) // Engineer |
|
|
|
|
|
|
|
|
if (this.dataForm.engineerNo !== '') { |
|
|
|
|
|
this.dataForm.engineerList.push(this.dataForm.engineerNo) // Engineer |
|
|
|
|
|
} |
|
|
this.dataForm.technicianList = [] |
|
|
this.dataForm.technicianList = [] |
|
|
this.dataForm.technicianList.push(this.dataForm.technicianNo) // Artwork |
|
|
|
|
|
|
|
|
if (this.dataForm.technicianNo !== '') { |
|
|
|
|
|
this.dataForm.technicianList.push(this.dataForm.technicianNo) // Artwork |
|
|
|
|
|
} |
|
|
this.dataForm.csOperatorList = [] |
|
|
this.dataForm.csOperatorList = [] |
|
|
this.dataForm.csOperatorList.push(this.dataForm.csOperater) // CS |
|
|
|
|
|
|
|
|
if (this.dataForm.csOperater !== '') { |
|
|
|
|
|
this.dataForm.csOperatorList.push(this.dataForm.csOperater) // CS |
|
|
|
|
|
} |
|
|
this.dataForm.planOperatorList = [] |
|
|
this.dataForm.planOperatorList = [] |
|
|
this.dataForm.planOperatorList.push(this.dataForm.planOperator) // Planner |
|
|
|
|
|
|
|
|
if (this.dataForm.planOperator !== '') { |
|
|
|
|
|
this.dataForm.planOperatorList.push(this.dataForm.planOperator) // Planner |
|
|
|
|
|
} |
|
|
this.$confirm("是否保存基本信息?", '保存提示', { |
|
|
this.$confirm("是否保存基本信息?", '保存提示', { |
|
|
confirmButtonText: '确定', |
|
|
confirmButtonText: '确定', |
|
|
cancelButtonText: '取消', |
|
|
cancelButtonText: '取消', |
|
|
@ -1055,13 +1063,21 @@ |
|
|
type: 'warning' |
|
|
type: 'warning' |
|
|
}).then(() => { |
|
|
}).then(() => { |
|
|
this.dataForm.engineerList = [] |
|
|
this.dataForm.engineerList = [] |
|
|
this.dataForm.engineerList.push(this.dataForm.engineerNo) // Engineer |
|
|
|
|
|
|
|
|
if (this.dataForm.engineerNo !== '') { |
|
|
|
|
|
this.dataForm.engineerList.push(this.dataForm.engineerNo) // Engineer |
|
|
|
|
|
} |
|
|
this.dataForm.technicianList = [] |
|
|
this.dataForm.technicianList = [] |
|
|
this.dataForm.technicianList.push(this.dataForm.technicianNo) // Artwork |
|
|
|
|
|
|
|
|
if (this.dataForm.technicianNo !== '') { |
|
|
|
|
|
this.dataForm.technicianList.push(this.dataForm.technicianNo) // Artwork |
|
|
|
|
|
} |
|
|
this.dataForm.csOperatorList = [] |
|
|
this.dataForm.csOperatorList = [] |
|
|
this.dataForm.csOperatorList.push(this.dataForm.csOperater) // CS |
|
|
|
|
|
|
|
|
if (this.dataForm.csOperater !== '') { |
|
|
|
|
|
this.dataForm.csOperatorList.push(this.dataForm.csOperater) // CS |
|
|
|
|
|
} |
|
|
this.dataForm.planOperatorList = [] |
|
|
this.dataForm.planOperatorList = [] |
|
|
this.dataForm.planOperatorList.push(this.dataForm.planOperator) // Planner |
|
|
|
|
|
|
|
|
if (this.dataForm.planOperator !== '') { |
|
|
|
|
|
this.dataForm.planOperatorList.push(this.dataForm.planOperator) // Planner |
|
|
|
|
|
} |
|
|
let tempData = { |
|
|
let tempData = { |
|
|
...this.dataForm, |
|
|
...this.dataForm, |
|
|
site: this.searchData.site, |
|
|
site: this.searchData.site, |
|
|
@ -1082,13 +1098,21 @@ |
|
|
type: 'warning' |
|
|
type: 'warning' |
|
|
}).then(() => { |
|
|
}).then(() => { |
|
|
this.dataForm.engineerList = [] |
|
|
this.dataForm.engineerList = [] |
|
|
this.dataForm.engineerList.push(this.dataForm.engineerNo) // Engineer |
|
|
|
|
|
|
|
|
if (this.dataForm.engineerNo !== '') { |
|
|
|
|
|
this.dataForm.engineerList.push(this.dataForm.engineerNo) // Engineer |
|
|
|
|
|
} |
|
|
this.dataForm.technicianList = [] |
|
|
this.dataForm.technicianList = [] |
|
|
this.dataForm.technicianList.push(this.dataForm.technicianNo) // Artwork |
|
|
|
|
|
|
|
|
if (this.dataForm.technicianNo !== '') { |
|
|
|
|
|
this.dataForm.technicianList.push(this.dataForm.technicianNo) // Artwork |
|
|
|
|
|
} |
|
|
this.dataForm.csOperatorList = [] |
|
|
this.dataForm.csOperatorList = [] |
|
|
this.dataForm.csOperatorList.push(this.dataForm.csOperater) // CS |
|
|
|
|
|
|
|
|
if (this.dataForm.csOperater !== '') { |
|
|
|
|
|
this.dataForm.csOperatorList.push(this.dataForm.csOperater) // CS |
|
|
|
|
|
} |
|
|
this.dataForm.planOperatorList = [] |
|
|
this.dataForm.planOperatorList = [] |
|
|
this.dataForm.planOperatorList.push(this.dataForm.planOperator) // Planner |
|
|
|
|
|
|
|
|
if (this.dataForm.planOperator !== '') { |
|
|
|
|
|
this.dataForm.planOperatorList.push(this.dataForm.planOperator) // Planner |
|
|
|
|
|
} |
|
|
let tempData = { |
|
|
let tempData = { |
|
|
...this.dataForm, |
|
|
...this.dataForm, |
|
|
site: this.searchData.site, |
|
|
site: this.searchData.site, |
|
|
@ -1130,13 +1154,21 @@ |
|
|
type: 'warning' |
|
|
type: 'warning' |
|
|
}).then(() => { |
|
|
}).then(() => { |
|
|
this.dataForm.engineerList = [] |
|
|
this.dataForm.engineerList = [] |
|
|
this.dataForm.engineerList.push(this.dataForm.engineerNo) // Engineer |
|
|
|
|
|
|
|
|
if (this.dataForm.engineerNo !== '') { |
|
|
|
|
|
this.dataForm.engineerList.push(this.dataForm.engineerNo) // Engineer |
|
|
|
|
|
} |
|
|
this.dataForm.technicianList = [] |
|
|
this.dataForm.technicianList = [] |
|
|
this.dataForm.technicianList.push(this.dataForm.technicianNo) // Artwork |
|
|
|
|
|
|
|
|
if (this.dataForm.technicianNo !== '') { |
|
|
|
|
|
this.dataForm.technicianList.push(this.dataForm.technicianNo) // Artwork |
|
|
|
|
|
} |
|
|
this.dataForm.csOperatorList = [] |
|
|
this.dataForm.csOperatorList = [] |
|
|
this.dataForm.csOperatorList.push(this.dataForm.csOperater) // CS |
|
|
|
|
|
|
|
|
if (this.dataForm.csOperater !== '') { |
|
|
|
|
|
this.dataForm.csOperatorList.push(this.dataForm.csOperater) // CS |
|
|
|
|
|
} |
|
|
this.dataForm.planOperatorList = [] |
|
|
this.dataForm.planOperatorList = [] |
|
|
this.dataForm.planOperatorList.push(this.dataForm.planOperator) // Planner |
|
|
|
|
|
|
|
|
if (this.dataForm.planOperator !== '') { |
|
|
|
|
|
this.dataForm.planOperatorList.push(this.dataForm.planOperator) // Planner |
|
|
|
|
|
} |
|
|
let tempData = { |
|
|
let tempData = { |
|
|
...this.dataForm, |
|
|
...this.dataForm, |
|
|
site: this.searchData.site, |
|
|
site: this.searchData.site, |
|
|
|