From 132e112a7e9a81c80e2e1c1859bab7f0ae573233 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Mon, 21 Apr 2025 11:21:00 +0800
Subject: [PATCH] feat: 调整参数
---
src/components/DeviceJobDetails/JobRelatedEvents.vue | 3 +--
src/views/SignMachineNest/MachineLeft/MachineData.vue | 2 +-
src/views/SignMachineNest/MachineRight/InspectionRaskList.vue | 4 ++--
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/components/DeviceJobDetails/JobRelatedEvents.vue b/src/components/DeviceJobDetails/JobRelatedEvents.vue
index 980e4c3..e8bb861 100644
--- a/src/components/DeviceJobDetails/JobRelatedEvents.vue
+++ b/src/components/DeviceJobDetails/JobRelatedEvents.vue
@@ -71,8 +71,7 @@
getDeviceEventList(params.value, sizeParams.value).then(res => {
const resData = res?.data?.data || {}
list.value = resData.records
- total.value = resData.total
-
+ total.value = resData.total
})
}
diff --git a/src/views/SignMachineNest/MachineLeft/MachineData.vue b/src/views/SignMachineNest/MachineLeft/MachineData.vue
index 0a4db03..8892a6d 100644
--- a/src/views/SignMachineNest/MachineLeft/MachineData.vue
+++ b/src/views/SignMachineNest/MachineLeft/MachineData.vue
@@ -33,7 +33,7 @@
(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: '任务成果(个)' },
diff --git a/src/views/SignMachineNest/MachineRight/InspectionRaskList.vue b/src/views/SignMachineNest/MachineRight/InspectionRaskList.vue
index 693cfa6..35773e2 100644
--- a/src/views/SignMachineNest/MachineRight/InspectionRaskList.vue
+++ b/src/views/SignMachineNest/MachineRight/InspectionRaskList.vue
@@ -9,7 +9,7 @@
<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>
@@ -25,7 +25,7 @@
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>
--
Gitblit v1.9.3