Commit f46c0e24feeaf32bff33fb89417e043cdbd499a4

Authored by YunaiV
Committed by &wxr
1 parent 00a2818c

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

Showing 70 changed files with 97 additions and 96 deletions
yudao-ui-admin/src/router/index.js
... ... @@ -100,7 +100,7 @@ export const constantRoutes = [
100 100 children: [{
101 101 path: 'type/data/:dictId(\\d+)',
102 102 component: (resolve) => require(['@/views/system/dict/data'], resolve),
103   - name: 'Data',
  103 + name: 'SystemDictData',
104 104 meta: {title: '字典数据', icon: '', activeMenu: '/system/dict'}
105 105 }
106 106 ]
... ... @@ -112,7 +112,7 @@ export const constantRoutes = [
112 112 children: [{
113 113 path: 'log',
114 114 component: (resolve) => require(['@/views/infra/job/log'], resolve),
115   - name: 'JobLog',
  115 + name: 'InfraJobLog',
116 116 meta: {title: '调度日志', activeMenu: '/infra/job'}
117 117 }
118 118 ]
... ... @@ -123,7 +123,7 @@ export const constantRoutes = [
123 123 children: [{
124 124 path: 'edit/:tableId(\\d+)',
125 125 component: (resolve) => require(['@/views/infra/codegen/editTable'], resolve),
126   - name: 'GenEdit',
  126 + name: 'InfraCodegenEditTable',
127 127 meta: {title: '修改生成配置', activeMenu: '/infra/codegen'}
128 128 }
129 129 ]
... ... @@ -136,12 +136,12 @@ export const constantRoutes = [
136 136 children: [{
137 137 path: 'oa/leave/create',
138 138 component: (resolve) => require(['@/views/bpm/oa/leave/create'], resolve),
139   - name: '发起 OA 请假',
  139 + name: 'BpmOALeaveCreate',
140 140 meta: {title: '发起 OA 请假', icon: 'form', activeMenu: '/bpm/oa/leave'}
141 141 }, {
142 142 path: 'oa/leave/detail',
143 143 component: (resolve) => require(['@/views/bpm/oa/leave/detail'], resolve),
144   - name: '查看 OA 请假',
  144 + name: 'BpmOALeaveDetail',
145 145 meta: {title: '查看 OA 请假', icon: 'view', activeMenu: '/bpm/oa/leave'}
146 146 }
147 147 ]
... ... @@ -153,27 +153,27 @@ export const constantRoutes = [
153 153 children: [{
154 154 path: 'manager/form/edit',
155 155 component: (resolve) => require(['@/views/bpm/form/formEditor'], resolve),
156   - name: '流程表单-编辑',
  156 + name: 'BpmFormEditor',
157 157 meta: {title: '流程表单-编辑', activeMenu: '/bpm/manager/form'}
158 158 }, {
159 159 path: 'manager/definition',
160 160 component: (resolve) => require(['@/views/bpm/definition/index'], resolve),
161   - name: '流程定义',
  161 + name: 'BpmProcessDefinition',
162 162 meta: {title: '流程定义', activeMenu: '/bpm/manager/model'}
163 163 }, {
164 164 path: 'manager/model/design',
165 165 component: (resolve) => require(['@/views/bpm/model/modelEditor'], resolve),
166   - name: '设计流程',
  166 + name: 'BpmModelEditor',
167 167 meta: {title: '设计流程', activeMenu: '/bpm/manager/model'}
168 168 }, {
169 169 path: 'process-instance/create',
170 170 component: (resolve) => require(['@/views/bpm/processInstance/create'], resolve),
171   - name: '发起流程',
  171 + name: 'BpmProcessInstanceCreate',
172 172 meta: {title: '发起流程', activeMenu: '/bpm/task/my'}
173 173 }, {
174 174 path: 'process-instance/detail',
175 175 component: (resolve) => require(['@/views/bpm/processInstance/detail'], resolve),
176   - name: '流程详情',
  176 + name: 'BpmProcessInstanceDetail',
177 177 meta: {title: '流程详情', activeMenu: '/bpm/task/my'}
178 178 }
179 179 ]
... ... @@ -185,7 +185,7 @@ export const constantRoutes = [
185 185 children: [{
186 186 path: 'value/:propertyId(\\d+)',
187 187 component: (resolve) => require(['@/views/mall/product/property/value'], resolve),
188   - name: 'PropertyValue',
  188 + name: 'ProductPropertyValue',
189 189 meta: {title: '商品属性值', icon: '', activeMenu: '/product/property'}
190 190 }
191 191 ]
... ... @@ -197,13 +197,13 @@ export const constantRoutes = [
197 197 children: [{
198 198 path: 'edit/:spuId(\\d+)',
199 199 component: (resolve) => require(['@/views/mall/product/spu/save'], resolve),
200   - name: 'SpuEdit',
  200 + name: 'ProductSpuUpdate',
201 201 meta: {title: '修改商品', activeMenu: '/product/spu'}
202 202 },
203 203 {
204 204 path: 'add',
205 205 component: (resolve) => require(['@/views/mall/product/spu/save'], resolve),
206   - name: 'SpuAdd',
  206 + name: 'ProductSpuCreate',
207 207 meta: {title: '添加商品', activeMenu: '/product/spu'}
208 208 }
209 209 ]
... ... @@ -215,7 +215,7 @@ export const constantRoutes = [
215 215 children: [
216 216 {
217 217 path: 'detail',
218   - name: '订单详情',
  218 + name: 'TradeOrderDetail',
219 219 hidden: true,
220 220 meta: { title: '订单详情' },
221 221 component: (resolve) => require(['@/views/mall/trade/order/detail'], resolve)
... ...
yudao-ui-admin/src/views/bpm/definition/index.vue
... ... @@ -81,7 +81,7 @@ import Parser from '@/components/parser/Parser'
81 81 import taskAssignRuleDialog from "../taskAssignRule/taskAssignRuleDialog";
82 82  
83 83 export default {
84   - name: "processDefinition",
  84 + name: "BpmProcessDefinition",
85 85 components: {
86 86 Parser,
87 87 taskAssignRuleDialog
... ...
yudao-ui-admin/src/views/bpm/form/index.vue
... ... @@ -67,7 +67,7 @@ import Parser from '@/components/parser/Parser'
67 67 import {decodeFields} from "@/utils/formGenerator";
68 68  
69 69 export default {
70   - name: "Form",
  70 + name: "BpmForm",
71 71 components: {
72 72 Parser
73 73 },
... ... @@ -134,13 +134,13 @@ export default {
134 134 /** 新增按钮操作 */
135 135 handleAdd() {
136 136 this.$router.push({
137   - path:"/bpm/manager/form/edit"
  137 + name: "BpmFormEditor"
138 138 });
139 139 },
140 140 /** 修改按钮操作 */
141 141 handleUpdate(row) {
142 142 this.$router.push({
143   - path:"/bpm/manager/form/edit",
  143 + name: "BpmFormEditor",
144 144 query:{
145 145 formId: row.id
146 146 }
... ...
yudao-ui-admin/src/views/bpm/group/index.vue
... ... @@ -102,7 +102,7 @@ import {CommonStatusEnum} from "@/utils/constants";
102 102 import {listSimpleUsers} from "@/api/system/user";
103 103  
104 104 export default {
105   - name: "UserGroup",
  105 + name: "BpmUserGroup",
106 106 components: {
107 107 },
108 108 data() {
... ...
yudao-ui-admin/src/views/bpm/model/index.vue
... ... @@ -233,7 +233,7 @@ import Treeselect from "@riophae/vue-treeselect";
233 233 import "@riophae/vue-treeselect/dist/vue-treeselect.css";
234 234  
235 235 export default {
236   - name: "model",
  236 + name: "BpmModel",
237 237 components: {
238 238 Parser,
239 239 Treeselect,
... ... @@ -380,7 +380,7 @@ export default {
380 380 /** 设计按钮操作 */
381 381 handleDesign(row) {
382 382 this.$router.push({
383   - path:"/bpm/manager/model/design",
  383 + name: "BpmModelEditor",
384 384 query:{
385 385 modelId: row.id
386 386 }
... ... @@ -473,7 +473,7 @@ export default {
473 473 /** 跳转流程定义的列表 */
474 474 handleDefinitionList(row) {
475 475 this.$router.push({
476   - path:"/bpm/manager/definition",
  476 + name: "BpmProcessDefinition",
477 477 query:{
478 478 key: row.key
479 479 }
... ...
yudao-ui-admin/src/views/bpm/model/modelEditor.vue
... ... @@ -26,7 +26,7 @@ import {createModel, getModel, updateModel} from "@/api/bpm/model";
26 26 // import MyProcessPanel from "../package/process-panel/ProcessPanel";
27 27  
28 28 export default {
29   - name: "App",
  29 + name: "BpmModelEditor",
30 30 components: { MyProcessPalette },
31 31 data() {
32 32 return {
... ...
yudao-ui-admin/src/views/bpm/oa/leave/create.vue
... ... @@ -30,7 +30,7 @@ import { createLeave} from "@/api/bpm/leave"
30 30 import { getDictDatas, DICT_TYPE } from '@/utils/dict'
31 31  
32 32 export default {
33   - name: "LeaveCreate",
  33 + name: "BpmOALeaveCreate",
34 34 components: {
35 35 },
36 36 data() {
... ...
yudao-ui-admin/src/views/bpm/oa/leave/detail.vue
... ... @@ -16,7 +16,7 @@
16 16 import { getLeave} from "@/api/bpm/leave"
17 17 import {getDictDatas, DICT_TYPE} from '@/utils/dict'
18 18 export default {
19   - name: "LeaveDetail",
  19 + name: "BpmOALeaveDetail",
20 20 components: {
21 21 },
22 22 data() {
... ...
yudao-ui-admin/src/views/bpm/oa/leave/index.vue
... ... @@ -89,7 +89,7 @@ import { getDictDatas, DICT_TYPE } from '@/utils/dict'
89 89 import {cancelProcessInstance} from "@/api/bpm/processInstance";
90 90  
91 91 export default {
92   - name: "Leave",
  92 + name: "BpmOALeave",
93 93 components: {
94 94 },
95 95 data() {
... ... @@ -142,15 +142,15 @@ export default {
142 142 },
143 143 /** 新增按钮操作 */
144 144 handleAdd() {
145   - this.$router.push({ path: "/bpm/oa/leave/create"});
  145 + this.$router.push({ name: "BpmOALeaveCreate"});
146 146 },
147 147 /** 详情按钮操作 */
148 148 handleDetail(row) {
149   - this.$router.push({ path: "/bpm/oa/leave/detail", query: { id: row.id}});
  149 + this.$router.push({ name: "BpmOALeaveDetail", query: { id: row.id}});
150 150 },
151 151 /** 查看审批进度的操作 */
152 152 handleProcessDetail(row) {
153   - this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.processInstanceId}});
  153 + this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.processInstanceId}});
154 154 },
155 155 /** 取消请假 */
156 156 handleCancel(row) {
... ...
yudao-ui-admin/src/views/bpm/processInstance/index.vue
... ... @@ -103,7 +103,7 @@
103 103 import { getMyProcessInstancePage, cancelProcessInstance } from "@/api/bpm/processInstance";
104 104  
105 105 export default {
106   - name: "ProcessInstance",
  106 + name: "BpmProcessInstance",
107 107 components: {
108 108 },
109 109 data() {
... ... @@ -155,7 +155,7 @@ export default {
155 155 },
156 156 /** 新增按钮操作 **/
157 157 handleAdd() {
158   - this.$router.push({ path: "/bpm/process-instance/create"})
  158 + this.$router.push({ name: "BpmProcessInstanceCreate"})
159 159 },
160 160 /** 取消按钮操作 */
161 161 handleCancel(row) {
... ... @@ -175,7 +175,7 @@ export default {
175 175 },
176 176 /** 处理详情按钮 */
177 177 handleDetail(row) {
178   - this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.id}});
  178 + this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.id}});
179 179 },
180 180 }
181 181 };
... ...
yudao-ui-admin/src/views/bpm/task/done.vue
... ... @@ -63,7 +63,7 @@ import {getDoneTaskPage} from '@/api/bpm/task'
63 63 import {getDate} from "@/utils/dateUtils";
64 64  
65 65 export default {
66   - name: "Done",
  66 + name: "BpmDoneTask",
67 67 components: {
68 68 },
69 69 data() {
... ... @@ -113,7 +113,7 @@ export default {
113 113 },
114 114 /** 处理审批按钮 */
115 115 handleAudit(row) {
116   - this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.processInstance.id}});
  116 + this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.processInstance.id}});
117 117 },
118 118 }
119 119 };
... ...
yudao-ui-admin/src/views/bpm/task/todo.vue
... ... @@ -52,7 +52,7 @@
52 52 import {getTodoTaskPage} from '@/api/bpm/task'
53 53  
54 54 export default {
55   - name: "Todo",
  55 + name: "BpmTodoTask",
56 56 components: {
57 57 },
58 58 data() {
... ... @@ -100,7 +100,7 @@ export default {
100 100 },
101 101 /** 处理审批按钮 */
102 102 handleAudit(row) {
103   - this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.processInstance.id}});
  103 + this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.processInstance.id}});
104 104 },
105 105 }
106 106 };
... ...
yudao-ui-admin/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue
... ... @@ -91,7 +91,7 @@ import {listSimpleUsers} from "@/api/system/user";
91 91 import {listSimpleUserGroups} from "@/api/bpm/userGroup";
92 92  
93 93 export default {
94   - name: "taskAssignRuleDialog",
  94 + name: "BpmTaskAssignRule",
95 95 components: {
96 96 Treeselect
97 97 },
... ...
yudao-ui-admin/src/views/infra/apiAccessLog/index.vue
... ... @@ -116,7 +116,7 @@
116 116 import { getApiAccessLogPage, exportApiAccessLogExcel } from "@/api/infra/apiAccessLog";
117 117  
118 118 export default {
119   - name: "ApiAccessLog",
  119 + name: "InfraApiAccessLog",
120 120 components: {
121 121 },
122 122 data() {
... ...
yudao-ui-admin/src/views/infra/apiErrorLog/index.vue
... ... @@ -123,7 +123,7 @@ import { updateApiErrorLogProcess, getApiErrorLogPage, exportApiErrorLogExcel }
123 123 import { InfraApiErrorLogProcessStatusEnum } from '@/utils/constants'
124 124  
125 125 export default {
126   - name: "ApiErrorLog",
  126 + name: "InfraApiErrorLog",
127 127 components: {
128 128 },
129 129 data() {
... ...
yudao-ui-admin/src/views/infra/build/index.vue
... ... @@ -158,6 +158,7 @@ const formConfInDB = getFormConf()
158 158 const idGlobal = getIdGlobal()
159 159  
160 160 export default {
  161 + name: "InfraBuild",
161 162 components: {
162 163 draggable,
163 164 render,
... ...
yudao-ui-admin/src/views/infra/codegen/index.vue
... ... @@ -100,7 +100,7 @@ hljs.registerLanguage("javascript", require("highlight.js/lib/languages/javascri
100 100 hljs.registerLanguage("sql", require("highlight.js/lib/languages/sql"));
101 101 hljs.registerLanguage("typescript", require("highlight.js/lib/languages/typescript"));
102 102 export default {
103   - name: "Codegen",
  103 + name: "InfraCodegen",
104 104 components: { importTable },
105 105 data() {
106 106 return {
... ...
yudao-ui-admin/src/views/infra/config/index.vue
... ... @@ -110,7 +110,7 @@
110 110 import { listConfig, getConfig, delConfig, addConfig, updateConfig, exportConfig } from "@/api/infra/config";
111 111  
112 112 export default {
113   - name: "Config",
  113 + name: "InfraConfig",
114 114 data() {
115 115 return {
116 116 // 遮罩层
... ...
yudao-ui-admin/src/views/infra/dataSourceConfig/index.vue
... ... @@ -57,7 +57,7 @@
57 57 import { createDataSourceConfig, updateDataSourceConfig, deleteDataSourceConfig, getDataSourceConfig, getDataSourceConfigList } from "@/api/infra/dataSourceConfig";
58 58  
59 59 export default {
60   - name: "DataSourceConfig",
  60 + name: "InfraDataSourceConfig",
61 61 components: {
62 62 },
63 63 data() {
... ...
yudao-ui-admin/src/views/infra/dbDoc/index.vue
... ... @@ -21,7 +21,7 @@ import { exportHtml, exportWord, exportMarkdown} from "@/api/infra/dbDoc";
21 21 import iFrame from "@/components/iFrame/index";
22 22  
23 23 export default {
24   - name: "DBDoc",
  24 + name: "InfraDBDoc",
25 25 components: { iFrame },
26 26 data() {
27 27 return {
... ...
yudao-ui-admin/src/views/infra/file/index.vue
... ... @@ -92,7 +92,7 @@ import {getAccessToken} from "@/utils/auth";
92 92 import ImagePreview from "@/components/ImagePreview";
93 93  
94 94 export default {
95   - name: "File",
  95 + name: "InfraFile",
96 96 components: {
97 97 ImagePreview
98 98 },
... ...
yudao-ui-admin/src/views/infra/fileConfig/index.vue
... ... @@ -145,7 +145,7 @@ import {
145 145 } from "@/api/infra/fileConfig";
146 146  
147 147 export default {
148   - name: "FileConfig",
  148 + name: "InfraFileConfig",
149 149 components: {
150 150 },
151 151 data() {
... ...
yudao-ui-admin/src/views/infra/job/index.vue
... ... @@ -155,7 +155,7 @@ import Crontab from '@/components/Crontab'
155 155  
156 156 export default {
157 157 components: { Crontab },
158   - name: "Job",
  158 + name: "InfraJob",
159 159 data() {
160 160 return {
161 161 // 遮罩层
... ...
yudao-ui-admin/src/views/infra/job/log.vue
... ... @@ -96,7 +96,7 @@
96 96 import { getJobLogPage, exportJobLogExcel } from "@/api/infra/jobLog";
97 97  
98 98 export default {
99   - name: "JobLog",
  99 + name: "InfraJobLog",
100 100 data() {
101 101 return {
102 102 // 遮罩层
... ...
yudao-ui-admin/src/views/infra/redis/index.vue
... ... @@ -73,7 +73,7 @@ import { getCache } from "@/api/infra/redis";
73 73 import * as echarts from 'echarts'
74 74 require('echarts/theme/macarons') // echarts theme
75 75 export default {
76   - name: "Server",
  76 + name: "InfraRedis",
77 77 data () {
78 78 return {
79 79 // 统计命令信息
... ...
yudao-ui-admin/src/views/infra/server/index.vue
... ... @@ -8,7 +8,7 @@
8 8 import iFrame from "@/components/iFrame/index";
9 9 import { getConfigKey } from "@/api/infra/config";
10 10 export default {
11   - name: "Druid",
  11 + name: "InfraAdminServer",
12 12 components: { iFrame },
13 13 data() {
14 14 return {
... ...
yudao-ui-admin/src/views/infra/skywalking/index.vue
... ... @@ -8,7 +8,7 @@
8 8 import iFrame from "@/components/iFrame/index";
9 9 import { getConfigKey } from "@/api/infra/config";
10 10 export default {
11   - name: "Druid",
  11 + name: "InfraSkyWalking",
12 12 components: { iFrame },
13 13 data() {
14 14 return {
... ...
yudao-ui-admin/src/views/infra/swagger/index.vue
... ... @@ -8,7 +8,7 @@
8 8 import iFrame from "@/components/iFrame/index";
9 9 import { getConfigKey } from "@/api/infra/config";
10 10 export default {
11   - name: "Druid",
  11 + name: "InfraSwagger",
12 12 components: { iFrame },
13 13 data() {
14 14 return {
... ...
yudao-ui-admin/src/views/mall/product/property/index.vue
... ... @@ -77,7 +77,7 @@
77 77 import { createProperty, updateProperty, deleteProperty, getProperty, getPropertyPage } from "@/api/mall/product/property";
78 78  
79 79 export default {
80   - name: "Property",
  80 + name: "ProductProperty",
81 81 components: {
82 82 },
83 83 data() {
... ...
yudao-ui-admin/src/views/mall/product/property/value.vue
... ... @@ -83,7 +83,7 @@ import {
83 83 } from '@/api/mall/product/property'
84 84  
85 85 export default {
86   - name: "PropertyValue",
  86 + name: "ProductPropertyValue",
87 87 data() {
88 88 return {
89 89 // 遮罩层
... ...
yudao-ui-admin/src/views/mall/product/spu/index.vue
... ... @@ -227,7 +227,7 @@ import {getBrandList} from "@/api/mall/product/brand";
227 227 import {ProductSpuStatusEnum} from "@/utils/constants";
228 228  
229 229 export default {
230   - name: "Spu",
  230 + name: "ProductSpu",
231 231 data() {
232 232 return {
233 233 activeTabs: "all",
... ... @@ -318,11 +318,11 @@ export default {
318 318 },
319 319 /** 新增按钮操作 */
320 320 handleAdd() {
321   - this.$router.push({ name: 'SpuAdd'})
  321 + this.$router.push({ name: 'ProductSpuCreate'})
322 322 },
323 323 /** 修改按钮操作 */
324 324 handleUpdate(row) {
325   - this.$router.push({ name: 'SpuEdit', params: { spuId: row.id }})
  325 + this.$router.push({ name: 'ProductSpuUpdate', params: { spuId: row.id }})
326 326 },
327 327 /** 删除按钮操作 */
328 328 handleDelete(row) {
... ...
yudao-ui-admin/src/views/mall/product/spu/save.vue
... ... @@ -187,7 +187,6 @@
187 187 </template>
188 188  
189 189 <script>
190   -
191 190 import {getBrandList} from "@/api/mall/product/brand";
192 191 import {getProductCategoryList} from "@/api/mall/product/category";
193 192 import {createSpu, getSpuDetail, updateSpu} from "@/api/mall/product/spu";
... ... @@ -197,6 +196,7 @@ import ImageUpload from &quot;@/components/ImageUpload&quot;;
197 196 import VideoUpload from "@/components/VideoUpload";
198 197  
199 198 export default {
  199 + name: "ProductSave",
200 200 components: {
201 201 Editor,
202 202 ImageUpload,
... ...
yudao-ui-admin/src/views/mall/promotion/coupon/index.vue
... ... @@ -74,7 +74,7 @@ import { deleteCoupon, getCouponPage } from &quot;@/api/mall/promotion/coupon&quot;;
74 74 import { DICT_TYPE, getDictDatas} from "@/utils/dict";
75 75  
76 76 export default {
77   - name: "Coupon",
  77 + name: "PromotionCoupon",
78 78 components: {
79 79 },
80 80 data() {
... ...
yudao-ui-admin/src/views/mall/promotion/couponTemplate/index.vue
... ... @@ -179,7 +179,7 @@ import { parseTime } from &quot;@/utils/ruoyi&quot;;
179 179 import {changeRoleStatus} from "@/api/system/role";
180 180  
181 181 export default {
182   - name: "CouponTemplate",
  182 + name: "PromotionCouponTemplate",
183 183 components: {
184 184 },
185 185 data() {
... ...
yudao-ui-admin/src/views/mall/promotion/discountActivity/index.vue
... ... @@ -156,7 +156,7 @@ import { getSkuOptionList } from &quot;@/api/mall/product/sku&quot;;
156 156 import { deepClone } from "@/utils";
157 157  
158 158 export default {
159   - name: "DiscountActivity",
  159 + name: "PromotionDiscountActivity",
160 160 components: {
161 161 },
162 162 data() {
... ...
yudao-ui-admin/src/views/mall/promotion/rewardActivity/index.vue
... ... @@ -129,7 +129,7 @@ import {
129 129 import {getSpuSimpleList} from "@/api/mall/product/spu";
130 130  
131 131 export default {
132   - name: "RewardActivity",
  132 + name: "PromotionRewardActivity",
133 133 components: {
134 134 },
135 135 data() {
... ...
yudao-ui-admin/src/views/mall/promotion/seckill/seckillActivity/index.vue
... ... @@ -192,7 +192,7 @@ import { getSeckillTimeList } from &quot;@/api/mall/promotion/seckillTime&quot;;
192 192 import { deepClone } from "@/utils";
193 193  
194 194 export default {
195   - name: "SeckillActivity",
  195 + name: "PromotionSeckillActivity",
196 196 components: {
197 197 },
198 198 data() {
... ...
yudao-ui-admin/src/views/mall/promotion/seckill/seckillTime/index.vue
... ... @@ -68,7 +68,7 @@ import router from &quot;@/router&quot;;
68 68 import { deepClone } from "@/utils";
69 69  
70 70 export default {
71   - name: "SeckillTime",
  71 + name: "PromotionSeckillTime",
72 72 components: {
73 73 },
74 74 data() {
... ...
yudao-ui-admin/src/views/mall/trade/afterSale/index.vue
... ... @@ -104,7 +104,7 @@ import { datePickerOptions } from &quot;@/utils/constants&quot;;
104 104 import { DICT_TYPE, getDictDatas } from "@/utils/dict";
105 105  
106 106 export default {
107   - name: "AfterSale",
  107 + name: "TradeAfterSale",
108 108 components: {
109 109 },
110 110 data() {
... ...
yudao-ui-admin/src/views/mall/trade/order/detail.vue
... ... @@ -165,7 +165,7 @@
165 165 import { getOrderDetail } from "@/api/mall/trade/order";
166 166  
167 167 export default {
168   - name: "detail",
  168 + name: "TradeOrderDetail",
169 169 data () {
170 170 return {
171 171 detailGroups: [
... ...
yudao-ui-admin/src/views/mall/trade/order/index.vue
... ... @@ -143,7 +143,7 @@ import { datePickerOptions } from &quot;@/utils/constants&quot;;
143 143 import { DICT_TYPE, getDictDatas } from "@/utils/dict";
144 144  
145 145 export default {
146   - name: "index",
  146 + name: "TradeOrder",
147 147 data () {
148 148 return {
149 149 // 遮罩层
... ... @@ -232,7 +232,7 @@ export default {
232 232 this.getList();
233 233 },
234 234 goToDetail (row) {
235   - this.$router.push({ path: '/trade/order/detail', query: { id: row.id }})
  235 + this.$router.push({ name: 'TradeOrderDetail', query: { id: row.id }})
236 236 }
237 237 }
238 238 }
... ...
yudao-ui-admin/src/views/pay/app/index.vue
... ... @@ -229,7 +229,7 @@ import wechatChannelForm from &quot;@/views/pay/app/components/wechatChannelForm&quot;;
229 229 import aliPayChannelForm from "@/views/pay/app/components/aliPayChannelForm";
230 230  
231 231 export default {
232   - name: "App",
  232 + name: "PayApp",
233 233 components: {
234 234 "wechatChannelForm": wechatChannelForm,
235 235 "aliPayChannelForm": aliPayChannelForm
... ...
yudao-ui-admin/src/views/pay/merchant/index.vue
... ... @@ -117,7 +117,7 @@ import {DICT_TYPE, getDictDatas} from &quot;@/utils/dict&quot;;
117 117 import {CommonStatusEnum} from "@/utils/constants";
118 118  
119 119 export default {
120   - name: "Merchant",
  120 + name: "PayMerchant",
121 121 components: {
122 122 },
123 123 data() {
... ...
yudao-ui-admin/src/views/pay/refund/index.vue
... ... @@ -264,7 +264,7 @@ const defaultRefundDetail = {
264 264 }
265 265  
266 266 export default {
267   - name: "Refund",
  267 + name: "PayRefund",
268 268 components: {},
269 269 data() {
270 270 return {
... ...
yudao-ui-admin/src/views/system/area/index.vue
... ... @@ -39,7 +39,7 @@
39 39 import {getAreaByIp, getAreaTree} from "@/api/system/area";
40 40  
41 41 export default {
42   - name: "Area",
  42 + name: "SystemArea",
43 43 components: {
44 44 },
45 45 data() {
... ...
yudao-ui-admin/src/views/system/dept/index.vue
... ... @@ -117,7 +117,7 @@ import { getDictDatas, DICT_TYPE } from &#39;@/utils/dict&#39;
117 117 import {listSimpleUsers} from "@/api/system/user";
118 118  
119 119 export default {
120   - name: "Dept",
  120 + name: "SystemDept",
121 121 components: { Treeselect },
122 122 data() {
123 123 return {
... ...
yudao-ui-admin/src/views/system/dict/data.vue
... ... @@ -111,7 +111,7 @@ import { CommonStatusEnum } from &#39;@/utils/constants&#39;
111 111 import { getDictDatas, DICT_TYPE } from '@/utils/dict'
112 112  
113 113 export default {
114   - name: "Data",
  114 + name: "SystemDictData",
115 115 data() {
116 116 return {
117 117 // 遮罩层
... ...
yudao-ui-admin/src/views/system/dict/index.vue
... ... @@ -101,7 +101,7 @@ import { CommonStatusEnum } from &#39;@/utils/constants&#39;
101 101 import { getDictDatas, DICT_TYPE } from '@/utils/dict'
102 102  
103 103 export default {
104   - name: "Dict",
  104 + name: "SystemDictType",
105 105 data() {
106 106 return {
107 107 // 遮罩层
... ...
yudao-ui-admin/src/views/system/errorCode/index.vue
... ... @@ -99,7 +99,7 @@
99 99 import { createErrorCode, updateErrorCode, deleteErrorCode, getErrorCode, getErrorCodePage, exportErrorCodeExcel } from "@/api/system/errorCode";
100 100  
101 101 export default {
102   - name: "ErrorCode",
  102 + name: "SystemErrorCode",
103 103 components: {
104 104 },
105 105 data() {
... ...
yudao-ui-admin/src/views/system/loginlog/index.vue
... ... @@ -66,7 +66,7 @@
66 66 import { list, exportLoginLog } from "@/api/system/loginlog";
67 67  
68 68 export default {
69   - name: "Logininfor",
  69 + name: "SystemLoginLog",
70 70 data() {
71 71 return {
72 72 // 遮罩层
... ...
yudao-ui-admin/src/views/system/mail/account/index.vue
... ... @@ -92,7 +92,7 @@
92 92 import { createMailAccount, updateMailAccount, deleteMailAccount, getMailAccount, getMailAccountPage } from "@/api/system/mail/account";
93 93  
94 94 export default {
95   - name: "MailAccount",
  95 + name: "SystemMailAccount",
96 96 components: {
97 97 },
98 98 data() {
... ...
yudao-ui-admin/src/views/system/mail/log/index.vue
... ... @@ -123,7 +123,7 @@ import Editor from &#39;@/components/Editor&#39;;
123 123 import { getSimpleMailAccountList } from "@/api/system/mail/account";
124 124  
125 125 export default {
126   - name: "MailLog",
  126 + name: "SystemMailLog",
127 127 components: {
128 128 Editor,
129 129 },
... ...
yudao-ui-admin/src/views/system/mail/template/index.vue
... ... @@ -144,7 +144,7 @@ import { CommonStatusEnum } from &quot;@/utils/constants&quot;;
144 144 import { getSimpleMailAccountList } from "@/api/system/mail/account";
145 145  
146 146 export default {
147   - name: "MailTemplate",
  147 + name: "SystemMailTemplate",
148 148 components: {
149 149 Editor,
150 150 },
... ...
yudao-ui-admin/src/views/system/menu/index.vue
... ... @@ -207,7 +207,7 @@ import { getDictDatas, DICT_TYPE } from &#39;@/utils/dict&#39;
207 207 import {isExternal} from "@/utils/validate";
208 208  
209 209 export default {
210   - name: "Menu",
  210 + name: "SystemMenu",
211 211 components: { Treeselect, IconSelect },
212 212 data() {
213 213 return {
... ...
yudao-ui-admin/src/views/system/notice/index.vue
... ... @@ -110,7 +110,7 @@ import {CommonStatusEnum} from &#39;@/utils/constants&#39;
110 110 import { getDictDatas, DICT_TYPE } from '@/utils/dict'
111 111  
112 112 export default {
113   - name: "Notice",
  113 + name: "SystemNotice",
114 114 components: {
115 115 Editor
116 116 },
... ...
yudao-ui-admin/src/views/system/notify/message/index.vue
... ... @@ -116,7 +116,7 @@
116 116 import { getNotifyMessagePage } from "@/api/system/notify/message";
117 117  
118 118 export default {
119   - name: "NotifyMessage",
  119 + name: "SystemNotifyMessage",
120 120 data() {
121 121 return {
122 122 // 遮罩层
... ...
yudao-ui-admin/src/views/system/notify/my/index.vue
... ... @@ -68,7 +68,7 @@
68 68 import {getMyNotifyMessagePage, updateAllNotifyMessageRead, updateNotifyMessageRead} from "@/api/system/notify/message";
69 69  
70 70 export default {
71   - name: "myNotify",
  71 + name: "SystemMyNotify",
72 72 data() {
73 73 return {
74 74 // 遮罩层
... ...
yudao-ui-admin/src/views/system/notify/template/index.vue
... ... @@ -140,7 +140,7 @@ import {listSimpleUsers} from &quot;@/api/system/user&quot;;
140 140 import {CommonStatusEnum} from "@/utils/constants";
141 141  
142 142 export default {
143   - name: "NotifyTemplate",
  143 + name: "SystemNotifyTemplate",
144 144 data() {
145 145 return {
146 146 // 遮罩层
... ...
yudao-ui-admin/src/views/system/oauth2/client/index.vue
... ... @@ -155,7 +155,7 @@ import {CommonStatusEnum} from &quot;@/utils/constants&quot;;
155 155 import FileUpload from "@/components/FileUpload";
156 156  
157 157 export default {
158   - name: "OAuth2Client",
  158 + name: "SystemOAuth2Client",
159 159 components: {
160 160 FileUpload,
161 161 ImageUpload,
... ...
yudao-ui-admin/src/views/system/oauth2/token/index.vue
... ... @@ -59,7 +59,7 @@
59 59 import { getAccessTokenPage, deleteAccessToken } from "@/api/system/oauth2/oauth2Token";
60 60  
61 61 export default {
62   - name: "OAuth2Token",
  62 + name: "SystemTokenClient",
63 63 data() {
64 64 return {
65 65 // 遮罩层
... ...
yudao-ui-admin/src/views/system/operatelog/index.vue
... ... @@ -131,7 +131,7 @@
131 131 import { listOperateLog, exportOperateLog } from "@/api/system/operatelog";
132 132  
133 133 export default {
134   - name: "Operlog",
  134 + name: "SystemOperateLog",
135 135 data() {
136 136 return {
137 137 // 遮罩层
... ...
yudao-ui-admin/src/views/system/post/index.vue
... ... @@ -95,7 +95,7 @@ import {CommonStatusEnum} from &#39;@/utils/constants&#39;
95 95 import { getDictDatas, DICT_TYPE } from '@/utils/dict'
96 96  
97 97 export default {
98   - name: "Post",
  98 + name: "SystemPost",
99 99 data() {
100 100 return {
101 101 // 遮罩层
... ...
yudao-ui-admin/src/views/system/role/index.vue
... ... @@ -180,7 +180,7 @@ import {CommonStatusEnum, SystemDataScopeEnum} from &quot;@/utils/constants&quot;;
180 180 import {DICT_TYPE, getDictDatas} from "@/utils/dict";
181 181  
182 182 export default {
183   - name: "Role",
  183 + name: "SystemRole",
184 184 data() {
185 185 return {
186 186 // 遮罩层
... ...
yudao-ui-admin/src/views/system/sensitiveWord/index.vue
... ... @@ -133,7 +133,7 @@ import { createSensitiveWord, updateSensitiveWord, deleteSensitiveWord, getSensi
133 133 import {CommonStatusEnum} from "@/utils/constants";
134 134  
135 135 export default {
136   - name: "SensitiveWord",
  136 + name: "SystemSensitiveWord",
137 137 data() {
138 138 return {
139 139 // 遮罩层
... ...
yudao-ui-admin/src/views/system/sms/channel/index.vue
... ... @@ -110,7 +110,7 @@
110 110 import { createSmsChannel, updateSmsChannel, deleteSmsChannel, getSmsChannel, getSmsChannelPage } from "@/api/system/sms/smsChannel";
111 111  
112 112 export default {
113   - name: "SmsChannel",
  113 + name: "SystemSmsChannel",
114 114 components: {
115 115 },
116 116 data() {
... ...
yudao-ui-admin/src/views/system/sms/log/index.vue
... ... @@ -189,7 +189,7 @@ import { getSmsLogPage, exportSmsLogExcel } from &quot;@/api/system/sms/smsLog&quot;;
189 189 import { getSimpleSmsChannels } from "@/api/system/sms/smsChannel";
190 190  
191 191 export default {
192   - name: "SmsLog",
  192 + name: "SystemSmsLog",
193 193 components: {
194 194 },
195 195 data() {
... ...
yudao-ui-admin/src/views/system/sms/template/index.vue
... ... @@ -166,7 +166,7 @@ import { createSmsTemplate, updateSmsTemplate, deleteSmsTemplate, getSmsTemplate
166 166 import { getSimpleSmsChannels } from "@/api/system/sms/smsChannel";
167 167  
168 168 export default {
169   - name: "SmsTemplate",
  169 + name: "SystemSmsTemplate",
170 170 data() {
171 171 return {
172 172 // 遮罩层
... ...
yudao-ui-admin/src/views/system/tenant/index.vue
... ... @@ -141,7 +141,7 @@ import { CommonStatusEnum } from &#39;@/utils/constants&#39;
141 141 import {getTenantPackageList} from "@/api/system/tenantPackage";
142 142  
143 143 export default {
144   - name: "Tenant",
  144 + name: "SystemTenant",
145 145 components: {
146 146 },
147 147 data() {
... ...
yudao-ui-admin/src/views/system/tenantPackage/index.vue
... ... @@ -95,7 +95,7 @@ import {CommonStatusEnum} from &quot;@/utils/constants&quot;;
95 95 import {listSimpleMenus} from "@/api/system/menu";
96 96  
97 97 export default {
98   - name: "TenantPackage",
  98 + name: "SystemTenantPackage",
99 99 components: {
100 100 },
101 101 data() {
... ...
yudao-ui-admin/src/views/system/user/index.vue
... ... @@ -248,7 +248,7 @@ import {listSimpleRoles} from &quot;@/api/system/role&quot;;
248 248 import {getBaseHeader} from "@/utils/request";
249 249  
250 250 export default {
251   - name: "User",
  251 + name: "SystemUser",
252 252 components: { Treeselect },
253 253 data() {
254 254 return {
... ...