Merge branch 'refs/heads/fix/v1.0.0/lgh/历史任务详情优化' into test
# Conflicts:
# src/components/DeviceJobDetails/JobRelatedEvents.vue
# src/views/SignMachineNest/MachineRight/InspectionRaskList.vue
| | |
| | | const resData = res?.data?.data || {} |
| | | list.value = resData.records |
| | | total.value = resData.total |
| | | console.log('历史任务详情'); |
| | | |
| | | }) |
| | | } |
| | | |
| | |
| | | (newValue) => { |
| | | if (!newValue) return; |
| | | statisticsList.value = [ |
| | | { imgurl: rwcs, num: newValue.fly_count || 0, text: '任务次数(次)' }, |
| | | { imgurl: rwcs, num: newValue.task_num || 0, text: '任务次数(次)' }, |
| | | { imgurl: sjs, num: newValue.event_count || 0, text: '事件数(件)' }, |
| | | { imgurl: jscb, num: newValue.total_cost_saved || 0, text: '节省成本(万元)' }, |
| | | { imgurl: rwcg, num: newValue.achievement_count || 0, text: '任务成果(个)' }, |
| | |
| | | <div :class="tabIndex === 2 ? 'active' : ''" @click="tabClick(2)">历史任务</div> |
| | | </div> |
| | | <div class="search-box"> |
| | | <el-input v-model="searchText" placeholder="请输入搜索内容" class="input-with-select"> |
| | | <el-input v-model="searchText" placeholder="请输入关键字" class="input-with-select"> |
| | | <template #append> |
| | | <el-button :icon="Search" @click="searchNickName" /> |
| | | </template> |
| | |
| | | <span>{{ scope.row.event_number ? scope.row.event_number : '/' }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="begin_time" label="任务时间" /> |
| | | <el-table-column prop="create_time" label="任务时间" /> |
| | | <el-table-column prop="creator_name" label="创建人" /> |
| | | <el-table-column label="操作" > |
| | | <template #default="scope"> |
| | |
| | | if (res.data.code !== 0) return; |
| | | jobListData.value = res.data.data.records; |
| | | total.value = res.data.data.total; |
| | | console.log('任务管理列表',jobListData.value); |
| | | |
| | | }); |
| | | }; |
| | | // 状态文字 |