From 53bf1e11c46964e15ab2d334457066ed3b68c98d Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期五, 06 六月 2025 12:57:57 +0800 Subject: [PATCH] refactor(lb-eims):调整代码和更新配置- 注释掉 EimsEquImportVo 中的 @ExcelProperty 注解 - 优化 EimsEquImportListener 中的异常日志输出- 更新 snailjob 监控页面的 iframe 源地址- 修改移动端项目的 API 基础 URL - 优化移动端页面跳转逻辑 - 改进维修请求列表的接单操作流程 --- eims-ui-mobile/src/pages/inspect/insp-record.vue | 30 +++++++++++++++++++++++++++--- 1 files changed, 27 insertions(+), 3 deletions(-) diff --git a/eims-ui-mobile/src/pages/inspect/insp-record.vue b/eims-ui-mobile/src/pages/inspect/insp-record.vue index d979f18..a276635 100644 --- a/eims-ui-mobile/src/pages/inspect/insp-record.vue +++ b/eims-ui-mobile/src/pages/inspect/insp-record.vue @@ -118,6 +118,22 @@ </template> </wd-cell> <view class="w-full h-[1px] bg-base"></view> + <wd-input + label="杩愯鏃堕棿" + label-width="200rpx" + clearable + v-model="inspSt.runTimes" + placeholder="璇疯緭鍏ヨ繍琛屾椂闂�(h)" + inputmode="numeric" + /> + <wd-input + label="鏁呴殰鏃堕棿" + label-width="200rpx" + clearable + v-model="inspSt.faultTimes" + placeholder="璇疯緭鍏ユ晠闅滄椂闂�(h)" + inputmode="numeric" + /> <wd-textarea label="鐗硅浜嬮」" label-width="200rpx" @@ -136,7 +152,7 @@ <script setup lang="ts"> import { ref } from 'vue' import { useUserStore, useAccessStore, useSystemConfigStore } from '@/store' -import { isLeader, isOperatorOrRepair } from "@/utils/RoleUtils"; +import { isLeader, isOperatorOrRepair } from '@/utils/RoleUtils' import { getInspStRecordList, getInspSt, @@ -170,6 +186,8 @@ status: string inspUser: number | string specialNote: string + runTimes: number + faultTimes: number } const dataChange = ref(false) @@ -189,6 +207,8 @@ status: '', inspUser: '', specialNote: '', + runTimes: 0, + faultTimes: 0, }) const paging = ref(null) @@ -249,7 +269,9 @@ updateData(resolve) }, }) - .then(() => {}) + .then(() => { + goBack() + }) .catch((error) => { console.log(error) }) @@ -263,10 +285,10 @@ updateInspRecordBatch(params) .then((res: any) => { updateInspSt(resolve) - toast.success('鎿嶄綔鎴愬姛') }) .catch((res) => { console.error(res) + toast.error('鎿嶄綔澶辫触') }) } function updateInspSt(resolve: any) { @@ -274,12 +296,14 @@ inspSt.status = '1' updateInspectSt(inspSt) .then((res: any) => { + toast.success('鎿嶄綔鎴愬姛') paging.value.reload() uni.$emit('insp-st-refresh') resolve(true) }) .catch((res) => { console.error(res) + toast.error('鎿嶄綔澶辫触') }) } -- Gitblit v1.9.3