|
@ -54,7 +54,7 @@ |
|
|
|
|
|
|
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<taskEditDialog v-model="isEditing" :groupId="propData.id" :time="selectedTaskGroup.time" :propData="{}" |
|
|
<taskEditDialog v-model="isEditing" :groupId="editData.id" :time="selectedTaskGroup.time" :propData="{}" |
|
|
@onSubmit="onSubmitTaskItem" /> |
|
|
@onSubmit="onSubmitTaskItem" /> |
|
|
|
|
|
|
|
|
<timeEditDialog v-model="isShowTimeEdit" :propData="editingTime" @onSubmit="onSubmitTime" /> |
|
|
<timeEditDialog v-model="isShowTimeEdit" :propData="editingTime" @onSubmit="onSubmitTime" /> |
|
@ -166,8 +166,9 @@ export default { |
|
|
onSubmitTaskItem(){ |
|
|
onSubmitTaskItem(){ |
|
|
this.isEditing = false; |
|
|
this.isEditing = false; |
|
|
this.selectedTaskGroup = {}; |
|
|
this.selectedTaskGroup = {}; |
|
|
|
|
|
console.log("onSubmitTaskItemonSubmitTaskItemonSubmitTaskItem"); |
|
|
request({ |
|
|
request({ |
|
|
url: `/business/dcBatchFunctionsJobGroup/${this.propData.id}`, |
|
|
url: `/business/dcBatchFunctionsJobGroup/${this.editData.id}`, |
|
|
method: "GET" |
|
|
method: "GET" |
|
|
}).then(res=>{ |
|
|
}).then(res=>{ |
|
|
this.editData = { |
|
|
this.editData = { |
|
@ -196,11 +197,11 @@ export default { |
|
|
}).then(() => { |
|
|
}).then(() => { |
|
|
|
|
|
|
|
|
request({ |
|
|
request({ |
|
|
url: `/business/dcBatchFunctionsJob/time/${this.propData.id}/${taskG.time}`, |
|
|
url: `/business/dcBatchFunctionsJob/time/${this.editData.id}/${taskG.time}`, |
|
|
method: "DELETE" |
|
|
method: "DELETE" |
|
|
}).then(res => { |
|
|
}).then(res => { |
|
|
request({ |
|
|
request({ |
|
|
url: `/business/dcBatchFunctionsJobGroup/${this.propData.id}`, |
|
|
url: `/business/dcBatchFunctionsJobGroup/${this.editData.id}`, |
|
|
method: "GET" |
|
|
method: "GET" |
|
|
}).then(res => { |
|
|
}).then(res => { |
|
|
this.editData = { |
|
|
this.editData = { |
|
@ -242,7 +243,6 @@ export default { |
|
|
}) |
|
|
}) |
|
|
.then((result) => { |
|
|
.then((result) => { |
|
|
if (result.code != 200) return; |
|
|
if (result.code != 200) return; |
|
|
|
|
|
|
|
|
Message.success(`提交成功!`); |
|
|
Message.success(`提交成功!`); |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|