mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 15:32:52 +08:00
feat(underwriting): 新增待核保状态并优化路由跳转逻辑
- 在 ORDER_STATUS 常量中新增 pending(待核保)状态 - 修复 navigateRouter 中 routerInfo 被覆盖的问题,使用对象展开保留原有属性 - 在 OrderList 组件中引入 ORDER_STATUS 并优化 navigateDataCollection 方法支持传递订单状态 - 更新 SupplementaryInformation 页面结构,引入 Sticky 组件优化提示信息展示 - 在 UnderwritingDataCollection 页面根据订单状态动态显示不同操作按钮及文案 - 调整页面样式确保组件布局适配新功能需求
This commit is contained in:
@@ -36,7 +36,7 @@ export function navigateRouter({ path = '', name = '', title = '', params = {} }
|
||||
title: route.meta && route.meta.title ? route.meta.title : '',
|
||||
url: location.origin + '/#' + path + '?' + processJson(params)
|
||||
}
|
||||
options.routerInfo = { path }
|
||||
options.routerInfo = { ...options.routerInfo, path }
|
||||
} else if (name) {
|
||||
const route = routes.find(item => {
|
||||
if (item.children) {
|
||||
@@ -59,7 +59,7 @@ export function navigateRouter({ path = '', name = '', title = '', params = {} }
|
||||
url: location.origin + '/#' + route.path + '?' + processJson(params)
|
||||
}
|
||||
|
||||
options.routerInfo = { name }
|
||||
options.routerInfo = { ...options.routerInfo, name }
|
||||
}
|
||||
|
||||
jump(options)
|
||||
|
||||
Reference in New Issue
Block a user