微调
This commit is contained in:
parent
fefbf3ce83
commit
de15e693e9
@ -83,7 +83,7 @@ export default {
|
|||||||
parentId:''
|
parentId:''
|
||||||
};
|
};
|
||||||
if (creatSonTask) {
|
if (creatSonTask) {
|
||||||
this.formModel.parentId = row.parentId;
|
this.formModel.parentId = row.id;
|
||||||
}
|
}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.ruleForm.resetFields();
|
this.$refs.ruleForm.resetFields();
|
||||||
@ -117,7 +117,7 @@ export default {
|
|||||||
editTask(data).then(() => {
|
editTask(data).then(() => {
|
||||||
this.$message.success('修改任务成功!');
|
this.$message.success('修改任务成功!');
|
||||||
this.handleClose();
|
this.handleClose();
|
||||||
this.$emit('paperListRefresh');
|
this.$emit('reloadTaskTree');
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
this.$message.error(error.message);
|
this.$message.error(error.message);
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
@ -126,7 +126,7 @@ export default {
|
|||||||
createTask(data).then(() => {
|
createTask(data).then(() => {
|
||||||
this.$message.success('创建任务成功!');
|
this.$message.success('创建任务成功!');
|
||||||
this.handleClose();
|
this.handleClose();
|
||||||
this.$emit('paperListRefresh');
|
this.$emit('reloadTaskTree');
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
this.$message.error(error.message);
|
this.$message.error(error.message);
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user