| | |
| | | <template> |
| | | <div> |
| | | <el-tabs v-model="activeName" type="card"> |
| | | <el-tab-pane v-for="item in ranges" :label="item" :name="item"> </el-tab-pane> |
| | | <el-tab-pane v-for="(item, i) in ranges" :key="i" :label="item" :name="item"> </el-tab-pane> |
| | | </el-tabs> |
| | | <div class="proList"> |
| | | <el-card class="card-style" shadow="hover"> |
| | |
| | | } |
| | | }); |
| | | // 额外处理 |
| | | this.curProList.sort((o1, o2) => o2.getTime() - o1.getTime()); |
| | | this.curProList.sort((o1, o2) => o2.getDate() - o1.getDate()); |
| | | this.loading = false; |
| | | }, |
| | | // 根据子任务获取里面的问题列表 |
| | |
| | | pros.forEach((pro) => { |
| | | if (pro.ptguid == this.deepCopyPro.ptguid) { |
| | | pro._stName = subtask.stName; |
| | | pro._time = this.$fm.formatYM(subtask.stPlanTime) |
| | | pro._time = this.$fm.formatYMD(subtask.stPlanTime) |
| | | this.curProList.push(pro); |
| | | } |
| | | }); |