kimi
2020-02-12 2ef590774e2d655cdc43ee2c6fa4c674ac4d882d
src/views/calendarTask.vue
@@ -16,7 +16,7 @@
            <span>{{task_itm.desp}}</span>
            <div v-for="(type_itm, k_) in task_itm.children" :key="k_" class="right_row_">
               <span>{{k_+1}}、{{type_itm.typeStr}}</span>
               <el-button size="mini" type="primary" style="float: right; margin-top: 10px;" @click="handleTask(type_itm.id, type_itm.mustAttach, type_itm)">处理任务</el-button>
               <el-button size="mini" type="primary" v-if="userId === task_itm.userId" style="float: right; margin-top: 10px;" @click="handleTask(type_itm.id, type_itm.mustAttach, type_itm)">处理任务</el-button>
            </div>
         </div>
      </div>
@@ -77,7 +77,7 @@
                  ],
                  prop:'date' ,//对应日期字段名
                  DayDataTree: [],
                  userId:undefined,
                  dialog_1: false,
                  handleTaskType: {},
                  upload_url: "",
@@ -97,7 +97,7 @@
               let iformat = imoment.format('YYYY-MM');
               let systemDate = iformat + '-01 00:00:00';
               this.getDatedef(systemDate);
               this.userId = localStorage.getItem('userId');
            },
            
        methods: {