|
@@ -298,13 +298,14 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!-- <span slot="footer" class="dialog-footer">
|
|
|
- <el-button @click="dialogVisible = false">关 闭</el-button>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <!-- <el-button @click="dialogVisible = false">关 闭</el-button>
|
|
|
<el-button @click="addEJson" type="primary" v-if="!update"
|
|
|
>确 定</el-button
|
|
|
>
|
|
|
- <el-button @click="updateEJson" type="primary" v-else>修 改</el-button>
|
|
|
- </span> -->
|
|
|
+ <el-button @click="updateEJson" type="primary" v-else>修 改</el-button> -->
|
|
|
+ <el-button @click="dialogVisible = false">关 闭</el-button>
|
|
|
+ </span>
|
|
|
</el-dialog>
|
|
|
<el-dialog
|
|
|
title="添加子级"
|
|
@@ -435,7 +436,7 @@ export default {
|
|
|
},
|
|
|
handleClose1(done) {
|
|
|
this.$confirm("是否保存该目标?", "提示", {
|
|
|
- confirmButtonText: "确定",
|
|
|
+ confirmButtonText: "保存并关闭",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning",
|
|
|
})
|
|
@@ -447,9 +448,7 @@ export default {
|
|
|
}
|
|
|
done();
|
|
|
})
|
|
|
- .catch(() => {
|
|
|
- done();
|
|
|
- });
|
|
|
+ .catch(() => {});
|
|
|
},
|
|
|
addE(type) {
|
|
|
this.type = type;
|