refactor(lb-eims):调整代码和更新配置- 注释掉 EimsEquImportVo 中的 @ExcelProperty 注解
- 优化 EimsEquImportListener 中的异常日志输出- 更新 snailjob 监控页面的 iframe 源地址- 修改移动端项目的 API 基础 URL
- 优化移动端页面跳转逻辑
- 改进维修请求列表的接单操作流程
| | |
| | | # h5部署网站的base,配置到 manifest.config.ts 里的 h5.router.base |
| | | VITE_APP_PUBLIC_BASE=/ |
| | | |
| | | VITE_SERVER_BASEURL = 'http://192.168.12.33:8080' |
| | | VITE_UPLOAD_BASEURL = 'http://192.168.12.33:8080/resource/oss/upload' |
| | | VITE_SERVER_BASEURL = 'http://lanpucloud.cn:8091' |
| | | VITE_UPLOAD_BASEURL = 'http://lanpucloud.cn:8091/resource/oss/upload' |
| | | |
| | | # 有些同学可能需要在微信小程序里面根据 develop、trial、release 分别设置上传地址,参考代码如下。 |
| | | # 下面的变量如果没有设置,会默认使用 VITE_SERVER_BASEURL or VITE_UPLOAD_BASEURL |
| | |
| | | updateData(resolve) |
| | | }, |
| | | }) |
| | | .then(() => {}) |
| | | .then(() => { |
| | | goBack() |
| | | }) |
| | | .catch((error) => { |
| | | console.log(error) |
| | | }) |
| | |
| | | updateOrder(data, resolve) |
| | | }, |
| | | }) |
| | | .then(() => {}) |
| | | .then(() => { |
| | | goBack() |
| | | }) |
| | | .catch((error) => { |
| | | console.log(error) |
| | | }) |
| | |
| | | </view> |
| | | <view v-if="isSelectReq"> |
| | | <wd-button size="small" icon="edit-outline" @click.stop="handleSelectReq(item)"> |
| | | 选中 |
| | | 接单 |
| | | </wd-button> |
| | | </view> |
| | | </view> |
| | |
| | | * @param item |
| | | */ |
| | | function handleSelectReq(item: any) { |
| | | // 弹出确认是否接单弹窗 |
| | | message.confirm({ |
| | | msg: '确定接单?', |
| | | title: '提示', |
| | | beforeConfirm: ({ resolve }) => { |
| | | resolve(true) |
| | | // 接单逻辑处理 |
| | | if (isSelectReq.value) { |
| | | emitSelectReq(item) |
| | | uni.navigateBack() |
| | | } |
| | | }, |
| | | }) |
| | | } |
| | | |
| | | /** |
| | |
| | | <template> |
| | | <iframe class="size-full" src="http://localhost:8800/snail-job"></iframe> |
| | | <iframe class="size-full" src="http://lanpucloud.cn:8092/snail-job"></iframe> |
| | | </template> |
| | |
| | | /** |
| | | * 附件 |
| | | */ |
| | | @ExcelProperty(value = "附件") |
| | | // @ExcelProperty(value = "附件") |
| | | private Long attachId; |
| | | |
| | | /** |
| | |
| | | if (exception instanceof ExcelDataConvertException) { |
| | | ExcelDataConvertException excelDataConvertException = (ExcelDataConvertException) exception; |
| | | log.error("第{}行,第{}列解析异常,数据为:{}", excelDataConvertException.getRowIndex(), |
| | | excelDataConvertException.getColumnIndex(), excelDataConvertException.getCellData()); |
| | | excelDataConvertException.getColumnIndex(), excelDataConvertException.getCellData().getData()); |
| | | } |
| | | } |
| | | |