zengyicheng 2 years ago
parent
commit
c0eb4028af
1 changed files with 7 additions and 8 deletions
  1. 7 8
      src/components/pages/evaluation.vue

+ 7 - 8
src/components/pages/evaluation.vue

@@ -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;