From f46c0e24feeaf32bff33fb89417e043cdbd499a4 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 8 Apr 2023 11:49:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=80=E6=9C=89=E8=8F=9C=E5=8D=95=E7=9A=84?= =?UTF-8?q?=20name=20=E9=83=BD=E5=8A=A0=E4=B8=8A=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E7=9A=84=E5=89=8D=E7=BC=80=EF=BC=8C=E9=81=BF=E5=85=8D=E5=86=B2?= =?UTF-8?q?=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin/src/router/index.js | 28 +++++++++---------- .../src/views/bpm/definition/index.vue | 2 +- yudao-ui-admin/src/views/bpm/form/index.vue | 6 ++-- yudao-ui-admin/src/views/bpm/group/index.vue | 2 +- yudao-ui-admin/src/views/bpm/model/index.vue | 6 ++-- .../src/views/bpm/model/modelEditor.vue | 2 +- .../src/views/bpm/oa/leave/create.vue | 2 +- .../src/views/bpm/oa/leave/detail.vue | 2 +- .../src/views/bpm/oa/leave/index.vue | 8 +++--- .../src/views/bpm/processInstance/index.vue | 6 ++-- yudao-ui-admin/src/views/bpm/task/done.vue | 4 +-- yudao-ui-admin/src/views/bpm/task/todo.vue | 4 +-- .../taskAssignRule/taskAssignRuleDialog.vue | 2 +- .../src/views/infra/apiAccessLog/index.vue | 2 +- .../src/views/infra/apiErrorLog/index.vue | 2 +- .../src/views/infra/build/index.vue | 1 + .../src/views/infra/codegen/index.vue | 2 +- .../src/views/infra/config/index.vue | 2 +- .../views/infra/dataSourceConfig/index.vue | 2 +- .../src/views/infra/dbDoc/index.vue | 2 +- yudao-ui-admin/src/views/infra/file/index.vue | 2 +- .../src/views/infra/fileConfig/index.vue | 2 +- yudao-ui-admin/src/views/infra/job/index.vue | 2 +- yudao-ui-admin/src/views/infra/job/log.vue | 2 +- .../src/views/infra/redis/index.vue | 2 +- .../src/views/infra/server/index.vue | 2 +- .../src/views/infra/skywalking/index.vue | 2 +- .../src/views/infra/swagger/index.vue | 2 +- .../src/views/mall/product/property/index.vue | 2 +- .../src/views/mall/product/property/value.vue | 2 +- .../src/views/mall/product/spu/index.vue | 6 ++-- .../src/views/mall/product/spu/save.vue | 2 +- .../src/views/mall/promotion/coupon/index.vue | 2 +- .../mall/promotion/couponTemplate/index.vue | 2 +- .../mall/promotion/discountActivity/index.vue | 2 +- .../mall/promotion/rewardActivity/index.vue | 2 +- .../seckill/seckillActivity/index.vue | 2 +- .../promotion/seckill/seckillTime/index.vue | 2 +- .../src/views/mall/trade/afterSale/index.vue | 2 +- .../src/views/mall/trade/order/detail.vue | 2 +- .../src/views/mall/trade/order/index.vue | 4 +-- yudao-ui-admin/src/views/pay/app/index.vue | 2 +- .../src/views/pay/merchant/index.vue | 2 +- yudao-ui-admin/src/views/pay/refund/index.vue | 2 +- .../src/views/system/area/index.vue | 2 +- .../src/views/system/dept/index.vue | 2 +- yudao-ui-admin/src/views/system/dict/data.vue | 2 +- .../src/views/system/dict/index.vue | 2 +- .../src/views/system/errorCode/index.vue | 2 +- .../src/views/system/loginlog/index.vue | 2 +- .../src/views/system/mail/account/index.vue | 2 +- .../src/views/system/mail/log/index.vue | 2 +- .../src/views/system/mail/template/index.vue | 2 +- .../src/views/system/menu/index.vue | 2 +- .../src/views/system/notice/index.vue | 2 +- .../src/views/system/notify/message/index.vue | 2 +- .../src/views/system/notify/my/index.vue | 2 +- .../views/system/notify/template/index.vue | 2 +- .../src/views/system/oauth2/client/index.vue | 2 +- .../src/views/system/oauth2/token/index.vue | 2 +- .../src/views/system/operatelog/index.vue | 2 +- .../src/views/system/post/index.vue | 2 +- .../src/views/system/role/index.vue | 2 +- .../src/views/system/sensitiveWord/index.vue | 2 +- .../src/views/system/sms/channel/index.vue | 2 +- .../src/views/system/sms/log/index.vue | 2 +- .../src/views/system/sms/template/index.vue | 2 +- .../src/views/system/tenant/index.vue | 2 +- .../src/views/system/tenantPackage/index.vue | 2 +- .../src/views/system/user/index.vue | 2 +- 70 files changed, 97 insertions(+), 96 deletions(-) diff --git a/yudao-ui-admin/src/router/index.js b/yudao-ui-admin/src/router/index.js index d38e6c42d8..1d64f59bc6 100644 --- a/yudao-ui-admin/src/router/index.js +++ b/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) diff --git a/yudao-ui-admin/src/views/bpm/definition/index.vue b/yudao-ui-admin/src/views/bpm/definition/index.vue index 0ef67b2a3d..dc992545fb 100644 --- a/yudao-ui-admin/src/views/bpm/definition/index.vue +++ b/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 diff --git a/yudao-ui-admin/src/views/bpm/form/index.vue b/yudao-ui-admin/src/views/bpm/form/index.vue index db730abde8..f9bcb72644 100644 --- a/yudao-ui-admin/src/views/bpm/form/index.vue +++ b/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 } diff --git a/yudao-ui-admin/src/views/bpm/group/index.vue b/yudao-ui-admin/src/views/bpm/group/index.vue index ffb3f2046d..6c23a947f8 100644 --- a/yudao-ui-admin/src/views/bpm/group/index.vue +++ b/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() { diff --git a/yudao-ui-admin/src/views/bpm/model/index.vue b/yudao-ui-admin/src/views/bpm/model/index.vue index fbb580fe3c..e80b96429a 100644 --- a/yudao-ui-admin/src/views/bpm/model/index.vue +++ b/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 } diff --git a/yudao-ui-admin/src/views/bpm/model/modelEditor.vue b/yudao-ui-admin/src/views/bpm/model/modelEditor.vue index 91be300a70..78e78d317f 100644 --- a/yudao-ui-admin/src/views/bpm/model/modelEditor.vue +++ b/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 { diff --git a/yudao-ui-admin/src/views/bpm/oa/leave/create.vue b/yudao-ui-admin/src/views/bpm/oa/leave/create.vue index 14b6ed566b..3ac54173c1 100644 --- a/yudao-ui-admin/src/views/bpm/oa/leave/create.vue +++ b/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() { diff --git a/yudao-ui-admin/src/views/bpm/oa/leave/detail.vue b/yudao-ui-admin/src/views/bpm/oa/leave/detail.vue index 1e1e464fa0..0436b02fc4 100644 --- a/yudao-ui-admin/src/views/bpm/oa/leave/detail.vue +++ b/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() { diff --git a/yudao-ui-admin/src/views/bpm/oa/leave/index.vue b/yudao-ui-admin/src/views/bpm/oa/leave/index.vue index 8a2f01eefd..49d5d21f00 100644 --- a/yudao-ui-admin/src/views/bpm/oa/leave/index.vue +++ b/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) { diff --git a/yudao-ui-admin/src/views/bpm/processInstance/index.vue b/yudao-ui-admin/src/views/bpm/processInstance/index.vue index b15751325d..4e681ac240 100644 --- a/yudao-ui-admin/src/views/bpm/processInstance/index.vue +++ b/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}}); }, } }; diff --git a/yudao-ui-admin/src/views/bpm/task/done.vue b/yudao-ui-admin/src/views/bpm/task/done.vue index c6d8e4cc3d..9d522bec56 100644 --- a/yudao-ui-admin/src/views/bpm/task/done.vue +++ b/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}}); }, } }; diff --git a/yudao-ui-admin/src/views/bpm/task/todo.vue b/yudao-ui-admin/src/views/bpm/task/todo.vue index 79b922d95a..a14dc5644f 100644 --- a/yudao-ui-admin/src/views/bpm/task/todo.vue +++ b/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}}); }, } }; diff --git a/yudao-ui-admin/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue b/yudao-ui-admin/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue index dd337475d5..ec503b40ee 100644 --- a/yudao-ui-admin/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue +++ b/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 }, diff --git a/yudao-ui-admin/src/views/infra/apiAccessLog/index.vue b/yudao-ui-admin/src/views/infra/apiAccessLog/index.vue index ce5d1e4716..345adf631f 100644 --- a/yudao-ui-admin/src/views/infra/apiAccessLog/index.vue +++ b/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() { diff --git a/yudao-ui-admin/src/views/infra/apiErrorLog/index.vue b/yudao-ui-admin/src/views/infra/apiErrorLog/index.vue index cea4893e02..f076bc723a 100644 --- a/yudao-ui-admin/src/views/infra/apiErrorLog/index.vue +++ b/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() { diff --git a/yudao-ui-admin/src/views/infra/build/index.vue b/yudao-ui-admin/src/views/infra/build/index.vue index a77daae980..83f6824007 100644 --- a/yudao-ui-admin/src/views/infra/build/index.vue +++ b/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, diff --git a/yudao-ui-admin/src/views/infra/codegen/index.vue b/yudao-ui-admin/src/views/infra/codegen/index.vue index a5405b7c5e..252f1197f0 100644 --- a/yudao-ui-admin/src/views/infra/codegen/index.vue +++ b/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 { diff --git a/yudao-ui-admin/src/views/infra/config/index.vue b/yudao-ui-admin/src/views/infra/config/index.vue index 802abeb088..6ec5ac0b2b 100644 --- a/yudao-ui-admin/src/views/infra/config/index.vue +++ b/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 { // 遮罩层 diff --git a/yudao-ui-admin/src/views/infra/dataSourceConfig/index.vue b/yudao-ui-admin/src/views/infra/dataSourceConfig/index.vue index 6a8e3da1cd..576259cec9 100755 --- a/yudao-ui-admin/src/views/infra/dataSourceConfig/index.vue +++ b/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() { diff --git a/yudao-ui-admin/src/views/infra/dbDoc/index.vue b/yudao-ui-admin/src/views/infra/dbDoc/index.vue index 3df8f36b7b..a7b40f8ca2 100644 --- a/yudao-ui-admin/src/views/infra/dbDoc/index.vue +++ b/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 { diff --git a/yudao-ui-admin/src/views/infra/file/index.vue b/yudao-ui-admin/src/views/infra/file/index.vue index bd569a3770..b4ebf35f97 100644 --- a/yudao-ui-admin/src/views/infra/file/index.vue +++ b/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 }, diff --git a/yudao-ui-admin/src/views/infra/fileConfig/index.vue b/yudao-ui-admin/src/views/infra/fileConfig/index.vue index 1ee8c5f5d9..01e671fab8 100755 --- a/yudao-ui-admin/src/views/infra/fileConfig/index.vue +++ b/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() { diff --git a/yudao-ui-admin/src/views/infra/job/index.vue b/yudao-ui-admin/src/views/infra/job/index.vue index 2bd387cc05..052e3417f8 100644 --- a/yudao-ui-admin/src/views/infra/job/index.vue +++ b/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 { // 遮罩层 diff --git a/yudao-ui-admin/src/views/infra/job/log.vue b/yudao-ui-admin/src/views/infra/job/log.vue index 8febf83dba..ab47bb0701 100644 --- a/yudao-ui-admin/src/views/infra/job/log.vue +++ b/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 { // 遮罩层 diff --git a/yudao-ui-admin/src/views/infra/redis/index.vue b/yudao-ui-admin/src/views/infra/redis/index.vue index 38e1cf8234..0f08aef83a 100644 --- a/yudao-ui-admin/src/views/infra/redis/index.vue +++ b/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 { // 统计命令信息 diff --git a/yudao-ui-admin/src/views/infra/server/index.vue b/yudao-ui-admin/src/views/infra/server/index.vue index 409bd73254..575597d847 100644 --- a/yudao-ui-admin/src/views/infra/server/index.vue +++ b/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 { diff --git a/yudao-ui-admin/src/views/infra/skywalking/index.vue b/yudao-ui-admin/src/views/infra/skywalking/index.vue index 6f5e7dc7f4..2b3f2a196c 100644 --- a/yudao-ui-admin/src/views/infra/skywalking/index.vue +++ b/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 { diff --git a/yudao-ui-admin/src/views/infra/swagger/index.vue b/yudao-ui-admin/src/views/infra/swagger/index.vue index 0558fa6949..249269c8b1 100644 --- a/yudao-ui-admin/src/views/infra/swagger/index.vue +++ b/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 { diff --git a/yudao-ui-admin/src/views/mall/product/property/index.vue b/yudao-ui-admin/src/views/mall/product/property/index.vue index a4044cfe12..5b105bfcf2 100644 --- a/yudao-ui-admin/src/views/mall/product/property/index.vue +++ b/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() { diff --git a/yudao-ui-admin/src/views/mall/product/property/value.vue b/yudao-ui-admin/src/views/mall/product/property/value.vue index 86fc54f004..cb61fe76ba 100644 --- a/yudao-ui-admin/src/views/mall/product/property/value.vue +++ b/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 { // 遮罩层 diff --git a/yudao-ui-admin/src/views/mall/product/spu/index.vue b/yudao-ui-admin/src/views/mall/product/spu/index.vue index d77229203d..806e4f2056 100644 --- a/yudao-ui-admin/src/views/mall/product/spu/index.vue +++ b/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) { diff --git a/yudao-ui-admin/src/views/mall/product/spu/save.vue b/yudao-ui-admin/src/views/mall/product/spu/save.vue index 1e2f482557..307f58f3b2 100644 --- a/yudao-ui-admin/src/views/mall/product/spu/save.vue +++ b/yudao-ui-admin/src/views/mall/product/spu/save.vue @@ -187,7 +187,6 @@