From bdbef0fbde20317d19bfc6d3473dabb10fb3fb3b Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Sat, 19 Apr 2025 15:41:21 +0800
Subject: [PATCH] feat: 修改任务事件概况的饼状图颜色
---
src/views/TaskManage/TaskIntermediateContent/TaskIntermediateContent.vue | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/views/TaskManage/TaskIntermediateContent/TaskIntermediateContent.vue b/src/views/TaskManage/TaskIntermediateContent/TaskIntermediateContent.vue
index 8ed3524..fe788c3 100644
--- a/src/views/TaskManage/TaskIntermediateContent/TaskIntermediateContent.vue
+++ b/src/views/TaskManage/TaskIntermediateContent/TaskIntermediateContent.vue
@@ -63,11 +63,11 @@
v-if="isShowCurrentTaskDetails"
v-model:show="isShowCurrentTaskDetails"
:id="rowData.id"/>
- <!-- 历史人物详情 -->
+ <!-- 历史任务详情 -->
<DeviceJobDetails
v-if="isShowDeviceJobDetails"
v-model:show="isShowDeviceJobDetails"
- :wayLineJodInfoId="wayLineJodInfoId"/>
+ :wayLineJodInfoId="rowData.id"/>
</template>
<script setup>
@@ -85,7 +85,6 @@
});
const jobListData = ref([]);
const total = ref(0);
-let wayLineJodInfoId = ref('')
let isShowDeviceJobDetails = ref(false);
let isShowCurrentTaskDetails = ref(false);
@@ -113,12 +112,10 @@
let rowData = ref({});
const handleDetail = (row) => {
if (row.device_sns.length === 1){
- console.log(row)
+ rowData.value = row? row : {};
if (row.status === 2 || row.status === 1){
- rowData.value = row? row : {};
isShowCurrentTaskDetails.value = true;
} else{
- wayLineJodInfoId.value = row.id
isShowDeviceJobDetails.value = true
}
}else{
--
Gitblit v1.9.3