Browse Source

所有菜单的 name 都加上模块的前缀,避免冲突

YunaiV 1 year ago
parent
commit
f46c0e24fe
70 changed files with 97 additions and 96 deletions
  1. 14 14
      yudao-ui-admin/src/router/index.js
  2. 1 1
      yudao-ui-admin/src/views/bpm/definition/index.vue
  3. 3 3
      yudao-ui-admin/src/views/bpm/form/index.vue
  4. 1 1
      yudao-ui-admin/src/views/bpm/group/index.vue
  5. 3 3
      yudao-ui-admin/src/views/bpm/model/index.vue
  6. 1 1
      yudao-ui-admin/src/views/bpm/model/modelEditor.vue
  7. 1 1
      yudao-ui-admin/src/views/bpm/oa/leave/create.vue
  8. 1 1
      yudao-ui-admin/src/views/bpm/oa/leave/detail.vue
  9. 4 4
      yudao-ui-admin/src/views/bpm/oa/leave/index.vue
  10. 3 3
      yudao-ui-admin/src/views/bpm/processInstance/index.vue
  11. 2 2
      yudao-ui-admin/src/views/bpm/task/done.vue
  12. 2 2
      yudao-ui-admin/src/views/bpm/task/todo.vue
  13. 1 1
      yudao-ui-admin/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue
  14. 1 1
      yudao-ui-admin/src/views/infra/apiAccessLog/index.vue
  15. 1 1
      yudao-ui-admin/src/views/infra/apiErrorLog/index.vue
  16. 1 0
      yudao-ui-admin/src/views/infra/build/index.vue
  17. 1 1
      yudao-ui-admin/src/views/infra/codegen/index.vue
  18. 1 1
      yudao-ui-admin/src/views/infra/config/index.vue
  19. 1 1
      yudao-ui-admin/src/views/infra/dataSourceConfig/index.vue
  20. 1 1
      yudao-ui-admin/src/views/infra/dbDoc/index.vue
  21. 1 1
      yudao-ui-admin/src/views/infra/file/index.vue
  22. 1 1
      yudao-ui-admin/src/views/infra/fileConfig/index.vue
  23. 1 1
      yudao-ui-admin/src/views/infra/job/index.vue
  24. 1 1
      yudao-ui-admin/src/views/infra/job/log.vue
  25. 1 1
      yudao-ui-admin/src/views/infra/redis/index.vue
  26. 1 1
      yudao-ui-admin/src/views/infra/server/index.vue
  27. 1 1
      yudao-ui-admin/src/views/infra/skywalking/index.vue
  28. 1 1
      yudao-ui-admin/src/views/infra/swagger/index.vue
  29. 1 1
      yudao-ui-admin/src/views/mall/product/property/index.vue
  30. 1 1
      yudao-ui-admin/src/views/mall/product/property/value.vue
  31. 3 3
      yudao-ui-admin/src/views/mall/product/spu/index.vue
  32. 1 1
      yudao-ui-admin/src/views/mall/product/spu/save.vue
  33. 1 1
      yudao-ui-admin/src/views/mall/promotion/coupon/index.vue
  34. 1 1
      yudao-ui-admin/src/views/mall/promotion/couponTemplate/index.vue
  35. 1 1
      yudao-ui-admin/src/views/mall/promotion/discountActivity/index.vue
  36. 1 1
      yudao-ui-admin/src/views/mall/promotion/rewardActivity/index.vue
  37. 1 1
      yudao-ui-admin/src/views/mall/promotion/seckill/seckillActivity/index.vue
  38. 1 1
      yudao-ui-admin/src/views/mall/promotion/seckill/seckillTime/index.vue
  39. 1 1
      yudao-ui-admin/src/views/mall/trade/afterSale/index.vue
  40. 1 1
      yudao-ui-admin/src/views/mall/trade/order/detail.vue
  41. 2 2
      yudao-ui-admin/src/views/mall/trade/order/index.vue
  42. 1 1
      yudao-ui-admin/src/views/pay/app/index.vue
  43. 1 1
      yudao-ui-admin/src/views/pay/merchant/index.vue
  44. 1 1
      yudao-ui-admin/src/views/pay/refund/index.vue
  45. 1 1
      yudao-ui-admin/src/views/system/area/index.vue
  46. 1 1
      yudao-ui-admin/src/views/system/dept/index.vue
  47. 1 1
      yudao-ui-admin/src/views/system/dict/data.vue
  48. 1 1
      yudao-ui-admin/src/views/system/dict/index.vue
  49. 1 1
      yudao-ui-admin/src/views/system/errorCode/index.vue
  50. 1 1
      yudao-ui-admin/src/views/system/loginlog/index.vue
  51. 1 1
      yudao-ui-admin/src/views/system/mail/account/index.vue
  52. 1 1
      yudao-ui-admin/src/views/system/mail/log/index.vue
  53. 1 1
      yudao-ui-admin/src/views/system/mail/template/index.vue
  54. 1 1
      yudao-ui-admin/src/views/system/menu/index.vue
  55. 1 1
      yudao-ui-admin/src/views/system/notice/index.vue
  56. 1 1
      yudao-ui-admin/src/views/system/notify/message/index.vue
  57. 1 1
      yudao-ui-admin/src/views/system/notify/my/index.vue
  58. 1 1
      yudao-ui-admin/src/views/system/notify/template/index.vue
  59. 1 1
      yudao-ui-admin/src/views/system/oauth2/client/index.vue
  60. 1 1
      yudao-ui-admin/src/views/system/oauth2/token/index.vue
  61. 1 1
      yudao-ui-admin/src/views/system/operatelog/index.vue
  62. 1 1
      yudao-ui-admin/src/views/system/post/index.vue
  63. 1 1
      yudao-ui-admin/src/views/system/role/index.vue
  64. 1 1
      yudao-ui-admin/src/views/system/sensitiveWord/index.vue
  65. 1 1
      yudao-ui-admin/src/views/system/sms/channel/index.vue
  66. 1 1
      yudao-ui-admin/src/views/system/sms/log/index.vue
  67. 1 1
      yudao-ui-admin/src/views/system/sms/template/index.vue
  68. 1 1
      yudao-ui-admin/src/views/system/tenant/index.vue
  69. 1 1
      yudao-ui-admin/src/views/system/tenantPackage/index.vue
  70. 1 1
      yudao-ui-admin/src/views/system/user/index.vue

+ 14 - 14
yudao-ui-admin/src/router/index.js

@@ -100,7 +100,7 @@ export const constantRoutes = [
     children: [{
         path: 'type/data/:dictId(\\d+)',
         component: (resolve) => require(['@/views/system/dict/data'], resolve),
-        name: 'Data',
+        name: 'SystemDictData',
         meta: {title: '字典数据', icon: '', activeMenu: '/system/dict'}
       }
     ]
@@ -112,7 +112,7 @@ export const constantRoutes = [
     children: [{
         path: 'log',
         component: (resolve) => require(['@/views/infra/job/log'], resolve),
-        name: 'JobLog',
+        name: 'InfraJobLog',
         meta: {title: '调度日志', activeMenu: '/infra/job'}
       }
     ]
@@ -123,7 +123,7 @@ export const constantRoutes = [
     children: [{
         path: 'edit/:tableId(\\d+)',
         component: (resolve) => require(['@/views/infra/codegen/editTable'], resolve),
-        name: 'GenEdit',
+        name: 'InfraCodegenEditTable',
         meta: {title: '修改生成配置', activeMenu: '/infra/codegen'}
       }
     ]
@@ -136,12 +136,12 @@ export const constantRoutes = [
     children: [{
         path: 'oa/leave/create',
         component: (resolve) => require(['@/views/bpm/oa/leave/create'], resolve),
-        name: '发起 OA 请假',
+        name: 'BpmOALeaveCreate',
         meta: {title: '发起 OA 请假', icon: 'form', activeMenu: '/bpm/oa/leave'}
       }, {
         path: 'oa/leave/detail',
         component: (resolve) => require(['@/views/bpm/oa/leave/detail'], resolve),
-        name: '查看 OA 请假',
+        name: 'BpmOALeaveDetail',
         meta: {title: '查看 OA 请假', icon: 'view', activeMenu: '/bpm/oa/leave'}
       }
     ]
@@ -153,27 +153,27 @@ export const constantRoutes = [
     children: [{
         path: 'manager/form/edit',
         component: (resolve) => require(['@/views/bpm/form/formEditor'], resolve),
-        name: '流程表单-编辑',
+        name: 'BpmFormEditor',
         meta: {title: '流程表单-编辑', activeMenu: '/bpm/manager/form'}
       }, {
         path: 'manager/definition',
         component: (resolve) => require(['@/views/bpm/definition/index'], resolve),
-        name: '流程定义',
+        name: 'BpmProcessDefinition',
         meta: {title: '流程定义', activeMenu: '/bpm/manager/model'}
       }, {
         path: 'manager/model/design',
         component: (resolve) => require(['@/views/bpm/model/modelEditor'], resolve),
-        name: '设计流程',
+        name: 'BpmModelEditor',
         meta: {title: '设计流程', activeMenu: '/bpm/manager/model'}
       }, {
         path: 'process-instance/create',
         component: (resolve) => require(['@/views/bpm/processInstance/create'], resolve),
-        name: '发起流程',
+        name: 'BpmProcessInstanceCreate',
         meta: {title: '发起流程', activeMenu: '/bpm/task/my'}
       }, {
         path: 'process-instance/detail',
         component: (resolve) => require(['@/views/bpm/processInstance/detail'], resolve),
-        name: '流程详情',
+        name: 'BpmProcessInstanceDetail',
         meta: {title: '流程详情', activeMenu: '/bpm/task/my'}
       }
     ]
@@ -185,7 +185,7 @@ export const constantRoutes = [
     children: [{
       path: 'value/:propertyId(\\d+)',
       component: (resolve) => require(['@/views/mall/product/property/value'], resolve),
-      name: 'PropertyValue',
+      name: 'ProductPropertyValue',
       meta: {title: '商品属性值', icon: '', activeMenu: '/product/property'}
     }
     ]
@@ -197,13 +197,13 @@ export const constantRoutes = [
     children: [{
       path: 'edit/:spuId(\\d+)',
       component: (resolve) => require(['@/views/mall/product/spu/save'], resolve),
-      name: 'SpuEdit',
+      name: 'ProductSpuUpdate',
       meta: {title: '修改商品', activeMenu: '/product/spu'}
     },
       {
         path: 'add',
         component: (resolve) => require(['@/views/mall/product/spu/save'], resolve),
-        name: 'SpuAdd',
+        name: 'ProductSpuCreate',
         meta: {title: '添加商品', activeMenu: '/product/spu'}
       }
     ]
@@ -215,7 +215,7 @@ export const constantRoutes = [
     children: [
       {
         path: 'detail',
-        name: '订单详情',
+        name: 'TradeOrderDetail',
         hidden: true,
         meta: { title: '订单详情' },
         component: (resolve) => require(['@/views/mall/trade/order/detail'], resolve)

+ 1 - 1
yudao-ui-admin/src/views/bpm/definition/index.vue

@@ -81,7 +81,7 @@ import Parser from '@/components/parser/Parser'
 import taskAssignRuleDialog from "../taskAssignRule/taskAssignRuleDialog";
 
 export default {
-  name: "processDefinition",
+  name: "BpmProcessDefinition",
   components: {
     Parser,
     taskAssignRuleDialog

+ 3 - 3
yudao-ui-admin/src/views/bpm/form/index.vue

@@ -67,7 +67,7 @@ import Parser from '@/components/parser/Parser'
 import {decodeFields} from "@/utils/formGenerator";
 
 export default {
-  name: "Form",
+  name: "BpmForm",
   components: {
     Parser
   },
@@ -134,13 +134,13 @@ export default {
     /** 新增按钮操作 */
     handleAdd() {
       this.$router.push({
-        path:"/bpm/manager/form/edit"
+        name: "BpmFormEditor"
       });
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
       this.$router.push({
-        path:"/bpm/manager/form/edit",
+        name: "BpmFormEditor",
         query:{
           formId: row.id
         }

+ 1 - 1
yudao-ui-admin/src/views/bpm/group/index.vue

@@ -102,7 +102,7 @@ import {CommonStatusEnum} from "@/utils/constants";
 import {listSimpleUsers} from "@/api/system/user";
 
 export default {
-  name: "UserGroup",
+  name: "BpmUserGroup",
   components: {
   },
   data() {

+ 3 - 3
yudao-ui-admin/src/views/bpm/model/index.vue

@@ -233,7 +233,7 @@ import Treeselect from "@riophae/vue-treeselect";
 import "@riophae/vue-treeselect/dist/vue-treeselect.css";
 
 export default {
-  name: "model",
+  name: "BpmModel",
   components: {
     Parser,
     Treeselect,
@@ -380,7 +380,7 @@ export default {
     /** 设计按钮操作 */
     handleDesign(row) {
       this.$router.push({
-        path:"/bpm/manager/model/design",
+        name: "BpmModelEditor",
         query:{
           modelId: row.id
         }
@@ -473,7 +473,7 @@ export default {
     /** 跳转流程定义的列表 */
     handleDefinitionList(row) {
       this.$router.push({
-        path:"/bpm/manager/definition",
+        name: "BpmProcessDefinition",
         query:{
           key: row.key
         }

+ 1 - 1
yudao-ui-admin/src/views/bpm/model/modelEditor.vue

@@ -26,7 +26,7 @@ import {createModel, getModel, updateModel} from "@/api/bpm/model";
 // import MyProcessPanel from "../package/process-panel/ProcessPanel";
 
 export default {
-  name: "App",
+  name: "BpmModelEditor",
   components: { MyProcessPalette },
   data() {
     return {

+ 1 - 1
yudao-ui-admin/src/views/bpm/oa/leave/create.vue

@@ -30,7 +30,7 @@ import { createLeave}  from "@/api/bpm/leave"
 import { getDictDatas, DICT_TYPE } from '@/utils/dict'
 
 export default {
-  name: "LeaveCreate",
+  name: "BpmOALeaveCreate",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/bpm/oa/leave/detail.vue

@@ -16,7 +16,7 @@
 import { getLeave}  from "@/api/bpm/leave"
 import {getDictDatas, DICT_TYPE} from '@/utils/dict'
 export default {
-  name: "LeaveDetail",
+  name: "BpmOALeaveDetail",
   components: {
   },
   data() {

+ 4 - 4
yudao-ui-admin/src/views/bpm/oa/leave/index.vue

@@ -89,7 +89,7 @@ import { getDictDatas, DICT_TYPE } from '@/utils/dict'
 import {cancelProcessInstance} from "@/api/bpm/processInstance";
 
 export default {
-  name: "Leave",
+  name: "BpmOALeave",
   components: {
   },
   data() {
@@ -142,15 +142,15 @@ export default {
     },
     /** 新增按钮操作 */
     handleAdd() {
-      this.$router.push({ path: "/bpm/oa/leave/create"});
+      this.$router.push({ name: "BpmOALeaveCreate"});
     },
     /** 详情按钮操作 */
     handleDetail(row) {
-      this.$router.push({ path: "/bpm/oa/leave/detail", query: { id: row.id}});
+      this.$router.push({ name: "BpmOALeaveDetail", query: { id: row.id}});
     },
     /** 查看审批进度的操作 */
     handleProcessDetail(row) {
-      this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.processInstanceId}});
+      this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.processInstanceId}});
     },
     /** 取消请假 */
     handleCancel(row) {

+ 3 - 3
yudao-ui-admin/src/views/bpm/processInstance/index.vue

@@ -103,7 +103,7 @@
 import { getMyProcessInstancePage, cancelProcessInstance } from "@/api/bpm/processInstance";
 
 export default {
-  name: "ProcessInstance",
+  name: "BpmProcessInstance",
   components: {
   },
   data() {
@@ -155,7 +155,7 @@ export default {
     },
     /** 新增按钮操作 **/
     handleAdd() {
-      this.$router.push({ path: "/bpm/process-instance/create"})
+      this.$router.push({ name: "BpmProcessInstanceCreate"})
     },
     /** 取消按钮操作 */
     handleCancel(row) {
@@ -175,7 +175,7 @@ export default {
     },
     /** 处理详情按钮 */
     handleDetail(row) {
-      this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.id}});
+      this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.id}});
     },
   }
 };

+ 2 - 2
yudao-ui-admin/src/views/bpm/task/done.vue

@@ -63,7 +63,7 @@ import {getDoneTaskPage} from '@/api/bpm/task'
 import {getDate} from "@/utils/dateUtils";
 
 export default {
-  name: "Done",
+  name: "BpmDoneTask",
   components: {
   },
   data() {
@@ -113,7 +113,7 @@ export default {
     },
     /** 处理审批按钮 */
     handleAudit(row) {
-      this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.processInstance.id}});
+      this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.processInstance.id}});
     },
   }
 };

+ 2 - 2
yudao-ui-admin/src/views/bpm/task/todo.vue

@@ -52,7 +52,7 @@
 import {getTodoTaskPage} from '@/api/bpm/task'
 
 export default {
-  name: "Todo",
+  name: "BpmTodoTask",
   components: {
   },
   data() {
@@ -100,7 +100,7 @@ export default {
     },
     /** 处理审批按钮 */
     handleAudit(row) {
-      this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.processInstance.id}});
+      this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.processInstance.id}});
     },
   }
 };

+ 1 - 1
yudao-ui-admin/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue

@@ -91,7 +91,7 @@ import {listSimpleUsers} from "@/api/system/user";
 import {listSimpleUserGroups} from "@/api/bpm/userGroup";
 
 export default {
-  name: "taskAssignRuleDialog",
+  name: "BpmTaskAssignRule",
   components: {
     Treeselect
   },

+ 1 - 1
yudao-ui-admin/src/views/infra/apiAccessLog/index.vue

@@ -116,7 +116,7 @@
 import { getApiAccessLogPage, exportApiAccessLogExcel } from "@/api/infra/apiAccessLog";
 
 export default {
-  name: "ApiAccessLog",
+  name: "InfraApiAccessLog",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/infra/apiErrorLog/index.vue

@@ -123,7 +123,7 @@ import { updateApiErrorLogProcess, getApiErrorLogPage, exportApiErrorLogExcel }
 import { InfraApiErrorLogProcessStatusEnum } from '@/utils/constants'
 
 export default {
-  name: "ApiErrorLog",
+  name: "InfraApiErrorLog",
   components: {
   },
   data() {

+ 1 - 0
yudao-ui-admin/src/views/infra/build/index.vue

@@ -158,6 +158,7 @@ const formConfInDB = getFormConf()
 const idGlobal = getIdGlobal()
 
 export default {
+  name: "InfraBuild",
   components: {
     draggable,
     render,

+ 1 - 1
yudao-ui-admin/src/views/infra/codegen/index.vue

@@ -100,7 +100,7 @@ hljs.registerLanguage("javascript", require("highlight.js/lib/languages/javascri
 hljs.registerLanguage("sql", require("highlight.js/lib/languages/sql"));
 hljs.registerLanguage("typescript", require("highlight.js/lib/languages/typescript"));
 export default {
-  name: "Codegen",
+  name: "InfraCodegen",
   components: { importTable },
   data() {
     return {

+ 1 - 1
yudao-ui-admin/src/views/infra/config/index.vue

@@ -110,7 +110,7 @@
 import { listConfig, getConfig, delConfig, addConfig, updateConfig, exportConfig } from "@/api/infra/config";
 
 export default {
-  name: "Config",
+  name: "InfraConfig",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/infra/dataSourceConfig/index.vue

@@ -57,7 +57,7 @@
 import { createDataSourceConfig, updateDataSourceConfig, deleteDataSourceConfig, getDataSourceConfig, getDataSourceConfigList } from "@/api/infra/dataSourceConfig";
 
 export default {
-  name: "DataSourceConfig",
+  name: "InfraDataSourceConfig",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/infra/dbDoc/index.vue

@@ -21,7 +21,7 @@ import { exportHtml, exportWord, exportMarkdown} from "@/api/infra/dbDoc";
 import iFrame from "@/components/iFrame/index";
 
 export default {
-  name: "DBDoc",
+  name: "InfraDBDoc",
   components: { iFrame },
   data() {
     return {

+ 1 - 1
yudao-ui-admin/src/views/infra/file/index.vue

@@ -92,7 +92,7 @@ import {getAccessToken} from "@/utils/auth";
 import ImagePreview from "@/components/ImagePreview";
 
 export default {
-  name: "File",
+  name: "InfraFile",
   components: {
     ImagePreview
   },

+ 1 - 1
yudao-ui-admin/src/views/infra/fileConfig/index.vue

@@ -145,7 +145,7 @@ import {
 } from "@/api/infra/fileConfig";
 
 export default {
-  name: "FileConfig",
+  name: "InfraFileConfig",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/infra/job/index.vue

@@ -155,7 +155,7 @@ import Crontab from '@/components/Crontab'
 
 export default {
   components: { Crontab },
-  name: "Job",
+  name: "InfraJob",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/infra/job/log.vue

@@ -96,7 +96,7 @@
 import { getJobLogPage, exportJobLogExcel } from "@/api/infra/jobLog";
 
 export default {
-  name: "JobLog",
+  name: "InfraJobLog",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/infra/redis/index.vue

@@ -73,7 +73,7 @@ import { getCache } from "@/api/infra/redis";
 import * as echarts from 'echarts'
 require('echarts/theme/macarons') // echarts theme
 export default {
-  name: "Server",
+  name: "InfraRedis",
   data () {
     return {
       // 统计命令信息

+ 1 - 1
yudao-ui-admin/src/views/infra/server/index.vue

@@ -8,7 +8,7 @@
 import iFrame from "@/components/iFrame/index";
 import { getConfigKey } from "@/api/infra/config";
 export default {
-  name: "Druid",
+  name: "InfraAdminServer",
   components: { iFrame },
   data() {
     return {

+ 1 - 1
yudao-ui-admin/src/views/infra/skywalking/index.vue

@@ -8,7 +8,7 @@
 import iFrame from "@/components/iFrame/index";
 import { getConfigKey } from "@/api/infra/config";
 export default {
-  name: "Druid",
+  name: "InfraSkyWalking",
   components: { iFrame },
   data() {
     return {

+ 1 - 1
yudao-ui-admin/src/views/infra/swagger/index.vue

@@ -8,7 +8,7 @@
 import iFrame from "@/components/iFrame/index";
 import { getConfigKey } from "@/api/infra/config";
 export default {
-  name: "Druid",
+  name: "InfraSwagger",
   components: { iFrame },
   data() {
     return {

+ 1 - 1
yudao-ui-admin/src/views/mall/product/property/index.vue

@@ -77,7 +77,7 @@
 import { createProperty, updateProperty, deleteProperty, getProperty, getPropertyPage } from "@/api/mall/product/property";
 
 export default {
-  name: "Property",
+  name: "ProductProperty",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/mall/product/property/value.vue

@@ -83,7 +83,7 @@ import {
 } from '@/api/mall/product/property'
 
 export default {
-  name: "PropertyValue",
+  name: "ProductPropertyValue",
   data() {
     return {
       // 遮罩层

+ 3 - 3
yudao-ui-admin/src/views/mall/product/spu/index.vue

@@ -227,7 +227,7 @@ import {getBrandList} from "@/api/mall/product/brand";
 import {ProductSpuStatusEnum} from "@/utils/constants";
 
 export default {
-  name: "Spu",
+  name: "ProductSpu",
   data() {
     return {
       activeTabs: "all",
@@ -318,11 +318,11 @@ export default {
     },
     /** 新增按钮操作 */
     handleAdd() {
-      this.$router.push({ name: 'SpuAdd'})
+      this.$router.push({ name: 'ProductSpuCreate'})
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
-      this.$router.push({ name: 'SpuEdit', params: { spuId: row.id }})
+      this.$router.push({ name: 'ProductSpuUpdate', params: { spuId: row.id }})
     },
     /** 删除按钮操作 */
     handleDelete(row) {

+ 1 - 1
yudao-ui-admin/src/views/mall/product/spu/save.vue

@@ -187,7 +187,6 @@
 </template>
 
 <script>
-
 import {getBrandList} from "@/api/mall/product/brand";
 import {getProductCategoryList} from "@/api/mall/product/category";
 import {createSpu, getSpuDetail, updateSpu} from "@/api/mall/product/spu";
@@ -197,6 +196,7 @@ import ImageUpload from "@/components/ImageUpload";
 import VideoUpload from "@/components/VideoUpload";
 
 export default {
+  name: "ProductSave",
   components: {
     Editor,
     ImageUpload,

+ 1 - 1
yudao-ui-admin/src/views/mall/promotion/coupon/index.vue

@@ -74,7 +74,7 @@ import { deleteCoupon, getCouponPage } from "@/api/mall/promotion/coupon";
 import { DICT_TYPE, getDictDatas} from "@/utils/dict";
 
 export default {
-  name: "Coupon",
+  name: "PromotionCoupon",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/mall/promotion/couponTemplate/index.vue

@@ -179,7 +179,7 @@ import { parseTime } from "@/utils/ruoyi";
 import {changeRoleStatus} from "@/api/system/role";
 
 export default {
-  name: "CouponTemplate",
+  name: "PromotionCouponTemplate",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/mall/promotion/discountActivity/index.vue

@@ -156,7 +156,7 @@ import { getSkuOptionList } from "@/api/mall/product/sku";
 import { deepClone } from "@/utils";
 
 export default {
-  name: "DiscountActivity",
+  name: "PromotionDiscountActivity",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/mall/promotion/rewardActivity/index.vue

@@ -129,7 +129,7 @@ import {
 import {getSpuSimpleList} from "@/api/mall/product/spu";
 
 export default {
-  name: "RewardActivity",
+  name: "PromotionRewardActivity",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/mall/promotion/seckill/seckillActivity/index.vue

@@ -192,7 +192,7 @@ import { getSeckillTimeList } from "@/api/mall/promotion/seckillTime";
 import { deepClone } from "@/utils";
 
 export default {
-    name: "SeckillActivity",
+    name: "PromotionSeckillActivity",
     components: {
     },
     data() {

+ 1 - 1
yudao-ui-admin/src/views/mall/promotion/seckill/seckillTime/index.vue

@@ -68,7 +68,7 @@ import router from "@/router";
 import { deepClone } from "@/utils";
 
 export default {
-  name: "SeckillTime",
+  name: "PromotionSeckillTime",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/mall/trade/afterSale/index.vue

@@ -104,7 +104,7 @@ import { datePickerOptions } from "@/utils/constants";
 import { DICT_TYPE, getDictDatas } from "@/utils/dict";
 
 export default {
-  name: "AfterSale",
+  name: "TradeAfterSale",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/mall/trade/order/detail.vue

@@ -165,7 +165,7 @@
 import { getOrderDetail } from "@/api/mall/trade/order";
 
 export default {
-  name: "detail",
+  name: "TradeOrderDetail",
   data () {
     return {
       detailGroups: [

+ 2 - 2
yudao-ui-admin/src/views/mall/trade/order/index.vue

@@ -143,7 +143,7 @@ import { datePickerOptions } from "@/utils/constants";
 import { DICT_TYPE, getDictDatas } from "@/utils/dict";
 
 export default {
-  name: "index",
+  name: "TradeOrder",
   data () {
     return {
       // 遮罩层
@@ -232,7 +232,7 @@ export default {
       this.getList();
     },
     goToDetail (row) {
-      this.$router.push({ path: '/trade/order/detail', query: { id: row.id }})
+      this.$router.push({ name: 'TradeOrderDetail', query: { id: row.id }})
     }
   }
 }

+ 1 - 1
yudao-ui-admin/src/views/pay/app/index.vue

@@ -229,7 +229,7 @@ import wechatChannelForm from "@/views/pay/app/components/wechatChannelForm";
 import aliPayChannelForm from "@/views/pay/app/components/aliPayChannelForm";
 
 export default {
-  name: "App",
+  name: "PayApp",
   components: {
     "wechatChannelForm": wechatChannelForm,
     "aliPayChannelForm": aliPayChannelForm

+ 1 - 1
yudao-ui-admin/src/views/pay/merchant/index.vue

@@ -117,7 +117,7 @@ import {DICT_TYPE, getDictDatas} from "@/utils/dict";
 import {CommonStatusEnum} from "@/utils/constants";
 
 export default {
-  name: "Merchant",
+  name: "PayMerchant",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/pay/refund/index.vue

@@ -264,7 +264,7 @@ const defaultRefundDetail = {
 }
 
 export default {
-  name: "Refund",
+  name: "PayRefund",
   components: {},
   data() {
     return {

+ 1 - 1
yudao-ui-admin/src/views/system/area/index.vue

@@ -39,7 +39,7 @@
 import {getAreaByIp, getAreaTree} from "@/api/system/area";
 
 export default {
-  name: "Area",
+  name: "SystemArea",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/system/dept/index.vue

@@ -117,7 +117,7 @@ import { getDictDatas, DICT_TYPE } from '@/utils/dict'
 import {listSimpleUsers} from "@/api/system/user";
 
 export default {
-  name: "Dept",
+  name: "SystemDept",
   components: { Treeselect },
   data() {
     return {

+ 1 - 1
yudao-ui-admin/src/views/system/dict/data.vue

@@ -111,7 +111,7 @@ import { CommonStatusEnum } from '@/utils/constants'
 import { getDictDatas, DICT_TYPE } from '@/utils/dict'
 
 export default {
-  name: "Data",
+  name: "SystemDictData",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/system/dict/index.vue

@@ -101,7 +101,7 @@ import { CommonStatusEnum } from '@/utils/constants'
 import { getDictDatas, DICT_TYPE } from '@/utils/dict'
 
 export default {
-  name: "Dict",
+  name: "SystemDictType",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/system/errorCode/index.vue

@@ -99,7 +99,7 @@
 import { createErrorCode, updateErrorCode, deleteErrorCode, getErrorCode, getErrorCodePage, exportErrorCodeExcel } from "@/api/system/errorCode";
 
 export default {
-  name: "ErrorCode",
+  name: "SystemErrorCode",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/system/loginlog/index.vue

@@ -66,7 +66,7 @@
 import { list, exportLoginLog } from "@/api/system/loginlog";
 
 export default {
-  name: "Logininfor",
+  name: "SystemLoginLog",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/system/mail/account/index.vue

@@ -92,7 +92,7 @@
 import { createMailAccount, updateMailAccount, deleteMailAccount, getMailAccount, getMailAccountPage } from "@/api/system/mail/account";
 
 export default {
-  name: "MailAccount",
+  name: "SystemMailAccount",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/system/mail/log/index.vue

@@ -123,7 +123,7 @@ import Editor from '@/components/Editor';
 import { getSimpleMailAccountList } from "@/api/system/mail/account";
 
 export default {
-  name: "MailLog",
+  name: "SystemMailLog",
   components: {
     Editor,
   },

+ 1 - 1
yudao-ui-admin/src/views/system/mail/template/index.vue

@@ -144,7 +144,7 @@ import { CommonStatusEnum } from "@/utils/constants";
 import { getSimpleMailAccountList } from "@/api/system/mail/account";
 
 export default {
-  name: "MailTemplate",
+  name: "SystemMailTemplate",
   components: {
     Editor,
   },

+ 1 - 1
yudao-ui-admin/src/views/system/menu/index.vue

@@ -207,7 +207,7 @@ import { getDictDatas, DICT_TYPE } from '@/utils/dict'
 import {isExternal} from "@/utils/validate";
 
 export default {
-  name: "Menu",
+  name: "SystemMenu",
   components: { Treeselect, IconSelect },
   data() {
     return {

+ 1 - 1
yudao-ui-admin/src/views/system/notice/index.vue

@@ -110,7 +110,7 @@ import {CommonStatusEnum} from '@/utils/constants'
 import { getDictDatas, DICT_TYPE } from '@/utils/dict'
 
 export default {
-  name: "Notice",
+  name: "SystemNotice",
   components: {
     Editor
   },

+ 1 - 1
yudao-ui-admin/src/views/system/notify/message/index.vue

@@ -116,7 +116,7 @@
 import { getNotifyMessagePage } from "@/api/system/notify/message";
 
 export default {
-  name: "NotifyMessage",
+  name: "SystemNotifyMessage",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/system/notify/my/index.vue

@@ -68,7 +68,7 @@
 import {getMyNotifyMessagePage, updateAllNotifyMessageRead, updateNotifyMessageRead} from "@/api/system/notify/message";
 
 export default {
-  name: "myNotify",
+  name: "SystemMyNotify",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/system/notify/template/index.vue

@@ -140,7 +140,7 @@ import {listSimpleUsers} from "@/api/system/user";
 import {CommonStatusEnum} from "@/utils/constants";
 
 export default {
-  name: "NotifyTemplate",
+  name: "SystemNotifyTemplate",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/system/oauth2/client/index.vue

@@ -155,7 +155,7 @@ import {CommonStatusEnum} from "@/utils/constants";
 import FileUpload from "@/components/FileUpload";
 
 export default {
-  name: "OAuth2Client",
+  name: "SystemOAuth2Client",
   components: {
     FileUpload,
     ImageUpload,

+ 1 - 1
yudao-ui-admin/src/views/system/oauth2/token/index.vue

@@ -59,7 +59,7 @@
 import { getAccessTokenPage, deleteAccessToken } from "@/api/system/oauth2/oauth2Token";
 
 export default {
-  name: "OAuth2Token",
+  name: "SystemTokenClient",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/system/operatelog/index.vue

@@ -131,7 +131,7 @@
 import { listOperateLog, exportOperateLog } from "@/api/system/operatelog";
 
 export default {
-  name: "Operlog",
+  name: "SystemOperateLog",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/system/post/index.vue

@@ -95,7 +95,7 @@ import {CommonStatusEnum} from '@/utils/constants'
 import { getDictDatas, DICT_TYPE } from '@/utils/dict'
 
 export default {
-  name: "Post",
+  name: "SystemPost",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/system/role/index.vue

@@ -180,7 +180,7 @@ import {CommonStatusEnum, SystemDataScopeEnum} from "@/utils/constants";
 import {DICT_TYPE, getDictDatas} from "@/utils/dict";
 
 export default {
-  name: "Role",
+  name: "SystemRole",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/system/sensitiveWord/index.vue

@@ -133,7 +133,7 @@ import { createSensitiveWord, updateSensitiveWord, deleteSensitiveWord, getSensi
 import {CommonStatusEnum} from "@/utils/constants";
 
 export default {
-  name: "SensitiveWord",
+  name: "SystemSensitiveWord",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/system/sms/channel/index.vue

@@ -110,7 +110,7 @@
 import { createSmsChannel, updateSmsChannel, deleteSmsChannel, getSmsChannel, getSmsChannelPage } from "@/api/system/sms/smsChannel";
 
 export default {
-  name: "SmsChannel",
+  name: "SystemSmsChannel",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/system/sms/log/index.vue

@@ -189,7 +189,7 @@ import { getSmsLogPage, exportSmsLogExcel } from "@/api/system/sms/smsLog";
 import {  getSimpleSmsChannels } from "@/api/system/sms/smsChannel";
 
 export default {
-  name: "SmsLog",
+  name: "SystemSmsLog",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/system/sms/template/index.vue

@@ -166,7 +166,7 @@ import { createSmsTemplate, updateSmsTemplate, deleteSmsTemplate, getSmsTemplate
 import {  getSimpleSmsChannels } from "@/api/system/sms/smsChannel";
 
 export default {
-  name: "SmsTemplate",
+  name: "SystemSmsTemplate",
   data() {
     return {
       // 遮罩层

+ 1 - 1
yudao-ui-admin/src/views/system/tenant/index.vue

@@ -141,7 +141,7 @@ import { CommonStatusEnum } from '@/utils/constants'
 import {getTenantPackageList} from "@/api/system/tenantPackage";
 
 export default {
-  name: "Tenant",
+  name: "SystemTenant",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/system/tenantPackage/index.vue

@@ -95,7 +95,7 @@ import {CommonStatusEnum} from "@/utils/constants";
 import {listSimpleMenus} from "@/api/system/menu";
 
 export default {
-  name: "TenantPackage",
+  name: "SystemTenantPackage",
   components: {
   },
   data() {

+ 1 - 1
yudao-ui-admin/src/views/system/user/index.vue

@@ -248,7 +248,7 @@ import {listSimpleRoles} from "@/api/system/role";
 import {getBaseHeader} from "@/utils/request";
 
 export default {
-  name: "User",
+  name: "SystemUser",
   components: { Treeselect },
   data() {
     return {