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

This commit is contained in:
YunaiV 2023-04-08 11:49:28 +08:00 committed by &wxr
parent 00a2818c01
commit f46c0e24fe
70 changed files with 97 additions and 96 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -89,7 +89,7 @@ import { getDictDatas, DICT_TYPE } from '@/utils/dict'
import {cancelProcessInstance} from "@/api/bpm/processInstance"; import {cancelProcessInstance} from "@/api/bpm/processInstance";
export default { export default {
name: "Leave", name: "BpmOALeave",
components: { components: {
}, },
data() { data() {
@ -142,15 +142,15 @@ export default {
}, },
/** 新增按钮操作 */ /** 新增按钮操作 */
handleAdd() { handleAdd() {
this.$router.push({ path: "/bpm/oa/leave/create"}); this.$router.push({ name: "BpmOALeaveCreate"});
}, },
/** 详情按钮操作 */ /** 详情按钮操作 */
handleDetail(row) { 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) { 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) { handleCancel(row) {

View File

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

View File

@ -63,7 +63,7 @@ import {getDoneTaskPage} from '@/api/bpm/task'
import {getDate} from "@/utils/dateUtils"; import {getDate} from "@/utils/dateUtils";
export default { export default {
name: "Done", name: "BpmDoneTask",
components: { components: {
}, },
data() { data() {
@ -113,7 +113,7 @@ export default {
}, },
/** 处理审批按钮 */ /** 处理审批按钮 */
handleAudit(row) { 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}});
}, },
} }
}; };

View File

@ -52,7 +52,7 @@
import {getTodoTaskPage} from '@/api/bpm/task' import {getTodoTaskPage} from '@/api/bpm/task'
export default { export default {
name: "Todo", name: "BpmTodoTask",
components: { components: {
}, },
data() { data() {
@ -100,7 +100,7 @@ export default {
}, },
/** 处理审批按钮 */ /** 处理审批按钮 */
handleAudit(row) { 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}});
}, },
} }
}; };

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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