|
|
@ -20,7 +20,7 @@ |
|
|
|
<el-button type="primary" @click="onSaveTaskGroup('basicInfoForm')" :loading="submitting"> 提交 </el-button> |
|
|
|
</div> |
|
|
|
</el-form> |
|
|
|
|
|
|
|
{{ editData.id }} |
|
|
|
<template v-if="editData.id"> |
|
|
|
<!-- 如果是新增的、还没有保存的任务组,不能添加任务 --> |
|
|
|
<div class="fl-around task_op"> |
|
|
@ -251,8 +251,8 @@ export default { |
|
|
|
Message.success(`提交成功!`); |
|
|
|
this.$emit("onSuccess"); |
|
|
|
|
|
|
|
this.editData = result.data; |
|
|
|
// this.mode = "edit" |
|
|
|
this.editData = { ...result.data }; |
|
|
|
this.mode = "edit" |
|
|
|
|
|
|
|
}) |
|
|
|
.catch((err) => { |
|
|
|