sunlupeng 1 gadu atpakaļ
vecāks
revīzija
048a0c8c2a
1 mainītis faili ar 3 papildinājumiem un 4 dzēšanām
  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: '',