| | |
| | | getDeviceEventList(params.value, sizeParams.value).then(res => { |
| | | const resData = res?.data?.data || {} |
| | | list.value = resData.records |
| | | total.value = resData.total |
| | | |
| | | total.value = resData.total |
| | | }) |
| | | } |
| | | |
| | |
| | | (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> |
| | |
| | | infinite-scroll-immediate="true" |
| | | > |
| | | > |
| | | <div class="item" v-for="(item, index) in tableList"> |
| | | <div class="item" v-for="(item, index) in tableList" :key="index"> |
| | | <div class="left" @click="taskClick(item)"> |
| | | <div class="left-t"> |
| | | <span>{{ index + 1 }}.</span> |