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/repair/repair-add.vue | 51 ++++++++++++++++++--------------------------------- 1 files changed, 18 insertions(+), 33 deletions(-) diff --git a/eims-ui-mobile/src/pages/repair/repair-add.vue b/eims-ui-mobile/src/pages/repair/repair-add.vue index 05718e4..2a2778c 100644 --- a/eims-ui-mobile/src/pages/repair/repair-add.vue +++ b/eims-ui-mobile/src/pages/repair/repair-add.vue @@ -1,30 +1,22 @@ <route lang="json5" type="page"> { layout: 'default', - style: { - navigationBarTitleText: '娣诲姞鎶ヤ慨', - 'app-plus': { - titleNView: { - buttons: [ - { - text: '鎻愪氦', - fontSize: '14px', - color: '#FFFFFF', - }, - { - text: '', - fontSize: '24px', - color: '#FFFFFF', - }, - ], - }, - }, - }, + needLogin: true, + style: { navigationBarTitleText: '娣诲姞鎶ヤ慨', navigationStyle: 'custom' }, } </route> <template> <view class="bg-base"> + <wd-navbar + title="娣诲姞鎶ヤ慨" + left-arrow + @click-left="goBack" + right-text="鎻愪氦" + @click-right="handleSubmit" + custom-style="background: #4D80F0;" + safeAreaInsetTop + ></wd-navbar> <wd-form ref="form" :model="model"> <wd-cell-group custom-class="group" title="绫诲瀷淇℃伅" border> <wd-picker @@ -243,12 +235,14 @@ fixtureName: '', fileList: [], }) - +const goBack = () => { + uni.navigateBack() +} /** * 閫夋嫨璁惧 */ function handleSelectEqu() { - if(reqTypeDis.value){ + if (reqTypeDis.value) { return false } uni.navigateTo({ @@ -387,20 +381,17 @@ /** * 閫夋嫨鎶ヤ慨绫诲瀷 */ -function handleConfirmReqType({ value }) { -} +function handleConfirmReqType({ value }) {} /** * 閫夋嫨鏁呴殰绫诲埆 */ -function handleConfirmFaultType({ value }) { -} +function handleConfirmFaultType({ value }) {} /** * 閫夋嫨绱ф�ョ▼搴� */ -function handleConfirmUrgencyLevel({ value }) { -} +function handleConfirmUrgencyLevel({ value }) {} async function initData() { const reqTypeList = await getDictInfo(DICT_REPAIR_REQ_TYPE) @@ -412,12 +403,6 @@ const uList = await getDictInfo(DICT_REPAIR_URGENCY_LEVEL) urgencyList.value = uList } - -onNavigationBarButtonTap((e) => { - if (e.index === 0) { - handleSubmit() - } -}) onLoad((options) => { Object.assign(option, options) -- Gitblit v1.9.3