| | |
| | | <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> |
| | |
| | | ], |
| | | prop:'date' ,//对应日期字段名 |
| | | DayDataTree: [], |
| | | |
| | | userId:undefined, |
| | | dialog_1: false, |
| | | handleTaskType: {}, |
| | | upload_url: "", |
| | |
| | | let iformat = imoment.format('YYYY-MM'); |
| | | let systemDate = iformat + '-01 00:00:00'; |
| | | this.getDatedef(systemDate); |
| | | |
| | | this.userId = localStorage.getItem('userId'); |
| | | }, |
| | | |
| | | methods: { |