From 453f63fd6cd6466222304df619e62b3a5667ca68 Mon Sep 17 00:00:00 2001 From: zhuguifei <zhuguifei@zhuguifeideiMac.local> Date: 星期二, 05 八月 2025 13:56:47 +0800 Subject: [PATCH] 修复0730测试问题 --- eims-ui-mobile/src/pages/inspect/insp-st.vue | 23 ++++++++++++++--------- 1 files changed, 14 insertions(+), 9 deletions(-) diff --git a/eims-ui-mobile/src/pages/inspect/insp-st.vue b/eims-ui-mobile/src/pages/inspect/insp-st.vue index f761004..6678fb5 100644 --- a/eims-ui-mobile/src/pages/inspect/insp-st.vue +++ b/eims-ui-mobile/src/pages/inspect/insp-st.vue @@ -12,8 +12,7 @@ <z-paging ref="paging" v-model="dataList" @query="queryList" show-refresher-update-time> <template #top> <!-- 澧炲姞涓�涓悳绱㈡爮 --> - <wd-search v-model="searchValue" @search="handleSearch"> - </wd-search> + <wd-search v-model="searchValue" @search="handleSearch"></wd-search> <wd-tabs v-model="activeTab" @change="handleTabChange"> <wd-tab title="寰呯偣妫�"></wd-tab> <wd-tab title="寰呯‘璁�"></wd-tab> @@ -45,9 +44,15 @@ <view class="text-color-gray text-sm mt-1 flex"> <text class="mr-3">鎬绘暟: {{ item.recordCount }}</text> | + <template v-if="activeTab === 0"> + <text class="mx-3">鏈偣妫�: {{ item.unCheckCount }}</text> + | + </template> + <template v-else> + <text class="mx-3">寰呯‘璁�: {{ item.dqrCount }}</text> + | + </template> <text class="mx-3">宸茬偣妫�: {{ item.checkCount }}</text> - | - <text class="ml-3">鏈偣妫�: {{ item.unCheckCount }}</text> </view> <view class="text-color-gray text-sm mt-2 flex"> <text class="mr-3">姝e父: {{ item.normalNum }}</text> @@ -57,12 +62,12 @@ <view class="text-color-gray text-sm mt-2 flex"> <text>鐘舵�侊細</text> <template v-if="item.status === '1'"> - <wd-icon class="icon-color-success" name="check-outline" size="34rpx"></wd-icon> - <text class="ml-1">宸插畬鎴�</text> + <wd-icon class="icon-color-warning" name="check-outline" size="34rpx"></wd-icon> + <text class="ml-1">寰呯‘璁�</text> </template> <template v-else-if="item.status === '2'"> - <wd-icon class="icon-color-warning" name="check-outline" size="34rpx"></wd-icon> - <text class="ml-1">宸茬‘璁�</text> + <wd-icon class="icon-color-success" name="check-outline" size="34rpx"></wd-icon> + <text class="ml-1">宸插畬鎴�</text> </template> <template v-else> <wd-icon class="icon-color-base" name="detection" size="40rpx"></wd-icon> @@ -82,7 +87,7 @@ import { getInspStList } from '@/service/inspect' import dayjs from 'dayjs' import { useUserStore, useAccessStore, useSystemConfigStore } from '@/store' -import { isLeader, isLineOrRepair, isOperator } from "@/utils/RoleUtils"; +import { isLeader, isLineOrRepair, isOperator } from '@/utils/RoleUtils' // 鏍囩椤电浉鍏� const activeTab = ref(0) // 榛樿閫変腑绗竴涓爣绛鹃〉锛堝緟鐐规锛� -- Gitblit v1.9.3