sunlupeng hace 1 año
padre
commit
048a0c8c2a
Se han modificado 1 ficheros con 3 adiciones y 4 borrados
  1. 3 4
      src/views/HomeView/EarnPoints.vue

+ 3 - 4
src/views/HomeView/EarnPoints.vue

@@ -418,8 +418,7 @@ export default {
       },
       dialogStatus:'',
       textMap: {
-        createCite: "上传表彰",
-        createTrain: "上传培训",
+        create: "上传",
         edit: "修改",
         view: "详情",
       },
@@ -436,9 +435,9 @@ export default {
   },
   methods: {
     handleClickCreate(val){
+      this.dialogStatus = 'create';
       if(val=='上传表彰'){
         this.dialogVisibleCite = true;
-        this.dialogStatus = 'createCite';
         this.dataFormCite =  {
           type: '',
           groupIds: [],
@@ -450,7 +449,7 @@ export default {
         };
       }else{
         this.dialogVisibleTrain = true;
-        this.dialogStatus = 'createTrain';
+        
         this.dataFormTrain =  {
           title: '',
           startTime: '',