refactor(ruoyi-ui): 完成项目重命名与通知跳转适配重构
1. 将系统名称从「若依管理系统」改为「福安德智慧报价平台」,更新所有环境配置、网页标题 2. 替换默认ico图标,移除冗余的ico favicon引用 3. 重构通知跳转逻辑:修复路由路径不匹配问题,添加旧版URL兼容处理 4. 为多个业务页面添加通知中心跳转自动打开详情的逻辑 5. 移除导航栏冗余的若依官方链接组件 6. 补充通知跳转测试用例文件
This commit is contained in:
@@ -302,11 +302,11 @@ public class BizApprovalActionServiceImpl implements IBizApprovalActionService {
|
||||
private String getBizUrl(String bizType, Long bizId) {
|
||||
if (bizType == null || bizId == null) return null;
|
||||
switch (bizType) {
|
||||
case "PURCHASE_ORDER": return "/quote/purchaseorder?id=" + bizId;
|
||||
case "CLIENT_QUOTE": return "/bid/clientquote?id=" + bizId;
|
||||
case "QUOTATION": return "/quote/quotation?quotationId=" + bizId;
|
||||
case "DELIVERY_ORDER": return "/fulfill/client-delivery/pending?id=" + bizId;
|
||||
case "ORDER_OBJECTION": return "/fulfill/supplierFulfill/objection?id=" + bizId;
|
||||
case "PURCHASE_ORDER": return "/bid/purchaseorder?id=" + bizId;
|
||||
case "CLIENT_QUOTE": return "/bid/clientquote/detail?quoteId=" + bizId;
|
||||
case "QUOTATION": return "/bid/quotation?quotationId=" + bizId;
|
||||
case "DELIVERY_ORDER": return "/bid/clientDelivery/pending?id=" + bizId;
|
||||
case "ORDER_OBJECTION": return "/bid/order/objection?id=" + bizId;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -108,7 +108,7 @@ public class BizNotifyMessageServiceImpl implements IBizNotifyMessageService {
|
||||
msg.setNoticeType("quotation_expire");
|
||||
msg.setBizType("QUOTATION");
|
||||
msg.setBizId(quotationId);
|
||||
msg.setBizUrl("/quote/quotation?quotationId=" + quotationId);
|
||||
msg.setBizUrl("/bid/quotation?quotationId=" + quotationId);
|
||||
msg.setCreateBy("system");
|
||||
|
||||
if (daysRemaining <= 0) {
|
||||
@@ -144,11 +144,11 @@ public class BizNotifyMessageServiceImpl implements IBizNotifyMessageService {
|
||||
private String getBizUrl(String bizType, Long bizId) {
|
||||
if (bizType == null || bizId == null) return null;
|
||||
switch (bizType) {
|
||||
case "PURCHASE_ORDER": return "/quote/purchaseorder?id=" + bizId;
|
||||
case "CLIENT_QUOTE": return "/bid/clientquote?id=" + bizId;
|
||||
case "QUOTATION": return "/quote/quotation?quotationId=" + bizId;
|
||||
case "DELIVERY_ORDER": return "/fulfill/client-delivery/pending?id=" + bizId;
|
||||
case "ORDER_OBJECTION": return "/fulfill/supplierFulfill/objection?id=" + bizId;
|
||||
case "PURCHASE_ORDER": return "/bid/purchaseorder?id=" + bizId;
|
||||
case "CLIENT_QUOTE": return "/bid/clientquote/detail?quoteId=" + bizId;
|
||||
case "QUOTATION": return "/bid/quotation?quotationId=" + bizId;
|
||||
case "DELIVERY_ORDER": return "/bid/clientDelivery/pending?id=" + bizId;
|
||||
case "ORDER_OBJECTION": return "/bid/order/objection?id=" + bizId;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user