Commit 1424d795 authored by 张海景's avatar 张海景

update:修改排班计划不存calWorkunits

parent 2ec8d163
...@@ -406,7 +406,7 @@ export default { ...@@ -406,7 +406,7 @@ export default {
if (this.form.planId != null) { if (this.form.planId != null) {
let params = Object.assign({}, this.form) let params = Object.assign({}, this.form)
params.calShifts = this.$refs.shiftTab.shiftList params.calShifts = this.$refs.shiftTab.shiftList
params.calWorkunits = this.$refs.teamTab.teamList // params.calWorkunits = this.$refs.teamTab.teamList
updateCalplan(params).then(response => { updateCalplan(params).then(response => {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
...@@ -442,7 +442,7 @@ export default { ...@@ -442,7 +442,7 @@ export default {
if (this.form.planId != null) { if (this.form.planId != null) {
let params = Object.assign({}, this.form) let params = Object.assign({}, this.form)
params.calShifts = this.$refs.shiftTab.shiftList params.calShifts = this.$refs.shiftTab.shiftList
params.calWorkunits = this.$refs.teamTab.teamList // params.calWorkunits = this.$refs.teamTab.teamList
finishCalplan(params).then(response => { finishCalplan(params).then(response => {
this.$modal.msgSuccess("已完成"); this.$modal.msgSuccess("已完成");
this.open = false; this.open = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment