Commit f46c0e24feeaf32bff33fb89417e043cdbd499a4
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
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
yudao-ui-admin/src/views/bpm/oa/leave/detail.vue
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
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
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
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
yudao-ui-admin/src/views/infra/fileConfig/index.vue
yudao-ui-admin/src/views/infra/job/index.vue
yudao-ui-admin/src/views/infra/job/log.vue
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
yudao-ui-admin/src/views/infra/skywalking/index.vue
yudao-ui-admin/src/views/infra/swagger/index.vue
yudao-ui-admin/src/views/mall/product/property/index.vue
yudao-ui-admin/src/views/mall/product/property/value.vue
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 "@/components/ImageUpload"; |
| 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 "@/api/mall/promotion/coupon"; |
| 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 "@/utils/ruoyi"; |
| 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 "@/api/mall/product/sku"; |
| 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
yudao-ui-admin/src/views/mall/promotion/seckill/seckillActivity/index.vue
| ... | ... | @@ -192,7 +192,7 @@ import { getSeckillTimeList } from "@/api/mall/promotion/seckillTime"; |
| 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
yudao-ui-admin/src/views/mall/trade/afterSale/index.vue
| ... | ... | @@ -104,7 +104,7 @@ import { datePickerOptions } from "@/utils/constants"; |
| 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
yudao-ui-admin/src/views/mall/trade/order/index.vue
| ... | ... | @@ -143,7 +143,7 @@ import { datePickerOptions } from "@/utils/constants"; |
| 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 "@/views/pay/app/components/wechatChannelForm"; |
| 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
yudao-ui-admin/src/views/pay/refund/index.vue
yudao-ui-admin/src/views/system/area/index.vue
yudao-ui-admin/src/views/system/dept/index.vue
| ... | ... | @@ -117,7 +117,7 @@ import { getDictDatas, DICT_TYPE } from '@/utils/dict' |
| 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
yudao-ui-admin/src/views/system/dict/index.vue
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
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
yudao-ui-admin/src/views/system/mail/template/index.vue
| ... | ... | @@ -144,7 +144,7 @@ import { CommonStatusEnum } from "@/utils/constants"; |
| 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 '@/utils/dict' |
| 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
yudao-ui-admin/src/views/system/notify/message/index.vue
yudao-ui-admin/src/views/system/notify/my/index.vue
yudao-ui-admin/src/views/system/notify/template/index.vue
| ... | ... | @@ -140,7 +140,7 @@ import {listSimpleUsers} from "@/api/system/user"; |
| 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 "@/utils/constants"; |
| 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
yudao-ui-admin/src/views/system/operatelog/index.vue
yudao-ui-admin/src/views/system/post/index.vue
yudao-ui-admin/src/views/system/role/index.vue
| ... | ... | @@ -180,7 +180,7 @@ import {CommonStatusEnum, SystemDataScopeEnum} from "@/utils/constants"; |
| 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 "@/api/system/sms/smsLog"; |
| 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 '@/utils/constants' |
| 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
yudao-ui-admin/src/views/system/user/index.vue
| ... | ... | @@ -248,7 +248,7 @@ import {listSimpleRoles} from "@/api/system/role"; |
| 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 { | ... | ... |