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/components/fg-tabbar/fg-tabbar.vue | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/eims-ui-mobile/src/components/fg-tabbar/fg-tabbar.vue b/eims-ui-mobile/src/components/fg-tabbar/fg-tabbar.vue index e8d12de..c3370a9 100644 --- a/eims-ui-mobile/src/components/fg-tabbar/fg-tabbar.vue +++ b/eims-ui-mobile/src/components/fg-tabbar/fg-tabbar.vue @@ -6,7 +6,7 @@ safeAreaInsetBottom placeholder @change="selectTabBar" - active-color="#007aff" + active-color="#4D80F0" inactive-color="#7d7e80" > <block v-for="(item, idx) in tabbarList" :key="item.path"> @@ -62,13 +62,35 @@ // scan鐗规畩澶勭悊 if (index === 2) { tabbarStore.setCurIdx(tabbarStore.lastIdx) + + // 妯℃嫙鎴愬姛 + // uni.navigateTo({ + // url: `/pages/scan/index?result=GPA2024NL025`, + // }) + // return false + // 妯℃嫙鎴愬姛 + // 鍙厑璁搁�氳繃鐩告満鎵爜 uni.scanCode({ onlyFromCamera: true, success: function (res) { console.log('鏉$爜绫诲瀷锛�' + res.scanType) console.log('鏉$爜鍐呭锛�' + res.result) + if (res?.scanType !== 'QR_CODE') { + uni.showToast({ + title: '璇蜂娇鐢ㄤ簩缁寸爜杩涜鎵爜', + icon: 'none', + }) + return false + } + + // 浣跨敤split鏂规硶鎴彇璧勪骇缂栧彿 + // const assetCode = res.result.split('璧勪骇缂栧彿锛�')[1].split(' ')[0] + uni.navigateTo({ + url: `/pages/scan/index?result=${res.result}`, + }) }, + fail: function (res) {}, }) } else { tabbarStore.setCurIdx(index) -- Gitblit v1.9.3