Browse Source

民意三级菜单处理

main
wang 1 month ago
parent
commit
e1752d33c5
  1. 2
      smart-flow-api/sa-admin/src/main/java/net/lab1024/sa/admin/module/business/jwpy/service/SurveyService.java
  2. 2
      smart-flow-web/src/router/index.js
  3. 2
      smart-flow-web/src/store/modules/system/user.js

2
smart-flow-api/sa-admin/src/main/java/net/lab1024/sa/admin/module/business/jwpy/service/SurveyService.java

@ -65,7 +65,7 @@ public class SurveyService {
wrapper.orderByDesc(SurveyEntity::getCreateTime);
surveyDao.selectPage(page, wrapper);
PageResult<SurveyVO> pageResult = SmartPageUtil.convert2PageResult(page, SurveyVO.class);
PageResult<SurveyVO> pageResult = SmartPageUtil.convert2PageResult(page, page.getRecords(), SurveyVO.class);
return ResponseDTO.ok(pageResult);
}

2
smart-flow-web/src/router/index.js

@ -118,7 +118,7 @@ export function buildRoutes(menuRouterList) {
continue;
}
let routePath = e.path.startsWith('/') ? e.path : `/${e.path}`;
if (e.component && e.component.includes('jwpy/flow/index')) {
if (e.component && (e.component.includes('jwpy/flow/index') || e.component.includes('jwpy/jwpy/flow/index') || e.component.includes('/flow/index'))) {
routePath = `${routePath}/:tabType?`;
}
let route = {

2
smart-flow-web/src/store/modules/system/user.js

@ -375,7 +375,7 @@ function injectWorkflowSubMenus(menuNode) {
}
// 检测组件路径是否为警务评议与问题处置的通用工单列表
if (menuNode.component && menuNode.component.includes('jwpy/flow/index')) {
if (menuNode.component && (menuNode.component.includes('jwpy/flow/index') || menuNode.component.includes('jwpy/jwpy/flow/index') || menuNode.component.includes('/flow/index'))) {
const dictStore = useDictStore();
// 从数据字典加载流转状态项列表,实现真正的动态插拔
const statesDict = dictStore.getDictData('WORKFLOW_STATE') || [];

Loading…
Cancel
Save