| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187 |
- <template>
- <el-row>
- <el-col :span="24">
- <el-card class="el-card-auto" style="min-height:350px">
- <div slot="header" class="clearfix">
- <span style="font-size: 20px;">我的应用</span>
- <!-- <el-button style="font-size: 20px;float: right; padding: 3px 0" type="text"
- @click="childMethod()">新建应用</el-button> -->
- </div>
- <el-tabs v-model="activeName" @tab-click="handleClick">
- <el-tab-pane v-for="item, index in appList" :label="item.name" :name="item.name" :key="index">
- <div class="app-item" v-for="(childItem, index) in item.children" :key="index" @click="handleSelect(childItem)"
- @mouseover="showContent = index" @mouseleave="showContent = null" v-loading.fullscreen.lock="fullscreenLoading">
- <svg-icon :icon-class="childItem.icon" style="width: 40px;height: 40px" />
- {{ childItem.name }}
- <div v-if="showContent == index" class="app-item-tools">
- <!-- <i slot="reference" class="el-icon-s-tools" @click.stop="editApp(childItem)"></i> -->
- </div>
- </div>
- </el-tab-pane>
- </el-tabs>
- </el-card>
- </el-col>
- </el-row>
- </template>
- <script>
- import {appList,getListByMenuId} from "@/api/home";
- import router from '@/router'
- import store from '@/store'
- export default {
- data() {
- return {
- fullscreenLoading:false,
- activeName: 'OA',
- showContent: null,
- appList: [
- // {
- // name: 'OA',
- // children: [
- // {
- // type: 1,
- // path: 'https://www.baidu.com/',
- // name: '自定义应用',
- // icon: 'zidingyi',
- // },
- // {
- // type: 3,
- // path: '/system/companyInfo',
- // name: '系统管理',
- // icon: 'chuchai',
- // },
- // {
- // type: 1,
- // path: '/oa/entry',
- // name: '入职审批',
- // icon: 'qingjia',
- // },
- // {
- // type: 2,
- // path: '/oa/turnJust',
- // name: '转正申请',
- // icon: 'chuchai',
- // },
- // {
- // type: 3,
- // path: '/oa/renewal',
- // name: '续签申请',
- // icon: 'chuchai',
- // },
- // {
- // type: 4,
- // path: '/oa/staffQuit',
- // name: '离职申请',
- // icon: 'chuchai',
- // },
-
- // {
- // type: 4,
- // path: '/meeting/list',
- // name: '会议室管理',
- // icon: 'chuchai',
- // },
- // ],
- // },
- // {
- // name: '人事',
- // children: [],
- // },
- // {
- // name: '财务',
- // children: [],
- // },
- // {
- // name: 'CRM',
- // children: [],
- // },
- ]
- };
- },
- created(){
- this.getAppList();
- },
- methods: {
- getAppList() {
- appList().then(res => {
- let appDataList = [];
- res.data.map((item) => {
- // if (item.name != '其他') {
- appDataList.push(item);
- // }
- });
- this.appList = appDataList;
- })
- },
- childMethod() {
- this.$parent.openAppList();
- },
- //编辑应用
- editApp(item) {
- this.$parent.editApp(item);
- },
- // 菜单选择事件
- handleSelect(item) {
- console.log(item);
- let key = item.path;
- if(this.ishttp(key)){
- // http(s):// 路径新窗口打开
- window.open(key, "_blank");
- }else if(item.path.indexOf('oa') > -1){
- this.$router.push({ path: key });
- }else{
- this.fullscreenLoading = true;
- getListByMenuId(item.id).then(response => {
- let menuList =response.data;
- localStorage.setItem("parentId", item.parentId)
- localStorage.setItem("menus", JSON.stringify(menuList))
- store.dispatch('GenerateRoutes', menuList).then(accessRoutes => {
- console.log(accessRoutes);
- // 根据 roles 权限生成可访问的路由表
- router.addRoutes(accessRoutes) // 动态添加可访问路由表
- })
- setTimeout(() => {
- this.fullscreenLoading = false;
- this.$router.push({ path: item.component });
- }, 200);
- });
- }
- const menus = [
- {
- "id": 1254,
- "parentId": 0,
- "name": "作者动态",
- "path": "https://www.iocoder.cn",
- "component": null,
- "componentName": null,
- "icon": "ep:avatar",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2159,
- "parentId": 0,
- "name": "Boot 开发文档",
- "path": "https://doc.iocoder.cn/",
- "component": null,
- "componentName": null,
- "icon": "ep:document",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2160,
- "parentId": 0,
- "name": "Cloud 开发文档",
- "path": "https://cloud.iocoder.cn",
- "component": null,
- "componentName": null,
- "icon": "ep:document-copy",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1,
- "parentId": 0,
- "name": "系统管理",
- "path": "/system",
- "component": null,
- "componentName": null,
- "icon": "ep:tools",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 109,
- "parentId": 1,
- "name": "企业信息",
- "path": "companyInfo",
- "component": "system/companyInfo/index",
- "componentName": "SystemCompanyInfo",
- "icon": "ep:document-copy",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1224,
- "parentId": 1,
- "name": "租户管理",
- "path": "tenant",
- "component": null,
- "componentName": null,
- "icon": "fa-solid:house-user",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 1138,
- "parentId": 1224,
- "name": "租户列表",
- "path": "list",
- "component": "system/tenant/index",
- "componentName": "SystemTenant",
- "icon": "ep:house",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1225,
- "parentId": 1224,
- "name": "租户套餐",
- "path": "package",
- "component": "system/tenantPackage/index",
- "componentName": "SystemTenantPackage",
- "icon": "fa:bars",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 100,
- "parentId": 1,
- "name": "用户管理",
- "path": "user",
- "component": "system/user/index",
- "componentName": "SystemUser",
- "icon": "ep:avatar",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 101,
- "parentId": 1,
- "name": "角色管理",
- "path": "role",
- "component": "system/role/index",
- "componentName": "SystemRole",
- "icon": "ep:user",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 102,
- "parentId": 1,
- "name": "菜单管理",
- "path": "menu",
- "component": "system/menu/index",
- "componentName": "SystemMenu",
- "icon": "ep:menu",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 103,
- "parentId": 1,
- "name": "部门管理",
- "path": "dept",
- "component": "system/dept/index",
- "componentName": "SystemDept",
- "icon": "fa:address-card",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 104,
- "parentId": 1,
- "name": "岗位管理",
- "path": "post",
- "component": "system/post/index",
- "componentName": "SystemPost",
- "icon": "fa:address-book-o",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 105,
- "parentId": 1,
- "name": "字典管理",
- "path": "dict",
- "component": "system/dict/index",
- "componentName": "SystemDictType",
- "icon": "ep:collection",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2739,
- "parentId": 1,
- "name": "消息中心",
- "path": "messages",
- "component": "",
- "componentName": "",
- "icon": "ep:chat-dot-round",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 1093,
- "parentId": 2739,
- "name": "短信管理",
- "path": "sms",
- "component": null,
- "componentName": null,
- "icon": "ep:message",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 1094,
- "parentId": 1093,
- "name": "短信渠道",
- "path": "sms-channel",
- "component": "system/sms/channel/index",
- "componentName": "SystemSmsChannel",
- "icon": "fa:stack-exchange",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1100,
- "parentId": 1093,
- "name": "短信模板",
- "path": "sms-template",
- "component": "system/sms/template/index",
- "componentName": "SystemSmsTemplate",
- "icon": "ep:connection",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1107,
- "parentId": 1093,
- "name": "短信日志",
- "path": "sms-log",
- "component": "system/sms/log/index",
- "componentName": "SystemSmsLog",
- "icon": "fa:edit",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2130,
- "parentId": 2739,
- "name": "邮箱管理",
- "path": "mail",
- "component": null,
- "componentName": null,
- "icon": "fa-solid:mail-bulk",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2131,
- "parentId": 2130,
- "name": "邮箱账号",
- "path": "mail-account",
- "component": "system/mail/account/index",
- "componentName": "SystemMailAccount",
- "icon": "fa:universal-access",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2136,
- "parentId": 2130,
- "name": "邮件模版",
- "path": "mail-template",
- "component": "system/mail/template/index",
- "componentName": "SystemMailTemplate",
- "icon": "fa:tag",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2141,
- "parentId": 2130,
- "name": "邮件记录",
- "path": "mail-log",
- "component": "system/mail/log/index",
- "componentName": "SystemMailLog",
- "icon": "fa:edit",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2144,
- "parentId": 2739,
- "name": "站内信管理",
- "path": "notify",
- "component": null,
- "componentName": null,
- "icon": "ep:message-box",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2145,
- "parentId": 2144,
- "name": "模板管理",
- "path": "notify-template",
- "component": "system/notify/template/index",
- "componentName": "SystemNotifyTemplate",
- "icon": "fa:archive",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2151,
- "parentId": 2144,
- "name": "消息记录",
- "path": "notify-message",
- "component": "system/notify/message/index",
- "componentName": "SystemNotifyMessage",
- "icon": "fa:edit",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 107,
- "parentId": 2739,
- "name": "通知公告",
- "path": "notice",
- "component": "system/notice/index",
- "componentName": "SystemNotice",
- "icon": "ep:takeaway-box",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 108,
- "parentId": 1,
- "name": "审计日志",
- "path": "log",
- "component": "",
- "componentName": null,
- "icon": "ep:document-copy",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 500,
- "parentId": 108,
- "name": "操作日志",
- "path": "operate-log",
- "component": "system/operatelog/index",
- "componentName": "SystemOperateLog",
- "icon": "ep:position",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 501,
- "parentId": 108,
- "name": "登录日志",
- "path": "login-log",
- "component": "system/loginlog/index",
- "componentName": "SystemLoginLog",
- "icon": "ep:promotion",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 1261,
- "parentId": 1,
- "name": "OAuth 2.0",
- "path": "oauth2",
- "component": null,
- "componentName": null,
- "icon": "fa:dashcube",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 1263,
- "parentId": 1261,
- "name": "应用管理",
- "path": "oauth2/application",
- "component": "system/oauth2/client/index",
- "componentName": "SystemOAuth2Client",
- "icon": "fa:hdd-o",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 109,
- "parentId": 1261,
- "name": "令牌管理",
- "path": "token",
- "component": "system/oauth2/token/index",
- "componentName": "SystemTokenClient",
- "icon": "fa:key",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2447,
- "parentId": 1,
- "name": "三方登录",
- "path": "social",
- "component": "",
- "componentName": "",
- "icon": "fa:rocket",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2448,
- "parentId": 2447,
- "name": "三方应用",
- "path": "client",
- "component": "views/system/social/client/index.vue",
- "componentName": "SocialClient",
- "icon": "ep:set-up",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2453,
- "parentId": 2447,
- "name": "三方用户",
- "path": "user",
- "component": "system/social/user/index.vue",
- "componentName": "SocialUser",
- "icon": "ep:avatar",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2083,
- "parentId": 1,
- "name": "地区管理",
- "path": "area",
- "component": "system/area/index",
- "componentName": "SystemArea",
- "icon": "fa:map-marker",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2,
- "parentId": 0,
- "name": "基础设施",
- "path": "/infra",
- "component": null,
- "componentName": null,
- "icon": "ep:monitor",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 115,
- "parentId": 2,
- "name": "代码生成",
- "path": "codegen",
- "component": "infra/codegen/index",
- "componentName": "InfraCodegen",
- "icon": "ep:document-copy",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1070,
- "parentId": 2,
- "name": "代码生成案例",
- "path": "demo",
- "component": "infra/testDemo/index",
- "componentName": null,
- "icon": "ep:aim",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2478,
- "parentId": 1070,
- "name": "单表(增删改查)",
- "path": "demo01-contact",
- "component": "infra/demo/demo01/index",
- "componentName": "Demo01Contact",
- "icon": "ep:bicycle",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2484,
- "parentId": 1070,
- "name": "树表(增删改查)",
- "path": "demo02-category",
- "component": "infra/demo/demo02/index",
- "componentName": "Demo02Category",
- "icon": "fa:tree",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2490,
- "parentId": 1070,
- "name": "主子表(标准)",
- "path": "demo03-normal",
- "component": "infra/demo/demo03/normal/index",
- "componentName": "Demo03StudentNormal",
- "icon": "fa:battery-3",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2497,
- "parentId": 1070,
- "name": "主子表(ERP)",
- "path": "demo03-erp",
- "component": "infra/demo/demo03/erp/index",
- "componentName": "Demo03StudentERP",
- "icon": "ep:calendar",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2472,
- "parentId": 1070,
- "name": "主子表(内嵌)",
- "path": "demo03-inner",
- "component": "infra/demo/demo03/inner/index",
- "componentName": "Demo03StudentInner",
- "icon": "fa:power-off",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 1255,
- "parentId": 2,
- "name": "数据源配置",
- "path": "data-source-config",
- "component": "infra/dataSourceConfig/index",
- "componentName": "InfraDataSourceConfig",
- "icon": "ep:data-analysis",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 114,
- "parentId": 2,
- "name": "表单构建",
- "path": "build",
- "component": "infra/build/index",
- "componentName": "InfraBuild",
- "icon": "fa:wpforms",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 116,
- "parentId": 2,
- "name": "API 接口",
- "path": "swagger",
- "component": "infra/swagger/index",
- "componentName": "InfraSwagger",
- "icon": "fa:fighter-jet",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1083,
- "parentId": 2,
- "name": "API 日志",
- "path": "log",
- "component": null,
- "componentName": null,
- "icon": "fa:tasks",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 1078,
- "parentId": 1083,
- "name": "访问日志",
- "path": "api-access-log",
- "component": "infra/apiAccessLog/index",
- "componentName": "InfraApiAccessLog",
- "icon": "ep:place",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1084,
- "parentId": 1083,
- "name": "错误日志",
- "path": "api-error-log",
- "component": "infra/apiErrorLog/index",
- "componentName": "InfraApiErrorLog",
- "icon": "ep:warning-filled",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2525,
- "parentId": 2,
- "name": "WebSocket",
- "path": "websocket",
- "component": "infra/webSocket/index",
- "componentName": "InfraWebSocket",
- "icon": "ep:connection",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1243,
- "parentId": 2,
- "name": "文件管理",
- "path": "file",
- "component": null,
- "componentName": "",
- "icon": "ep:files",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 1237,
- "parentId": 1243,
- "name": "文件配置",
- "path": "file-config",
- "component": "infra/fileConfig/index",
- "componentName": "InfraFileConfig",
- "icon": "fa-solid:file-signature",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1090,
- "parentId": 1243,
- "name": "文件列表",
- "path": "file",
- "component": "infra/file/index",
- "componentName": "InfraFile",
- "icon": "ep:upload-filled",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 110,
- "parentId": 2,
- "name": "定时任务",
- "path": "job",
- "component": "infra/job/index",
- "componentName": "InfraJob",
- "icon": "fa-solid:tasks",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 106,
- "parentId": 2,
- "name": "配置管理",
- "path": "config",
- "component": "infra/config/index",
- "componentName": "InfraConfig",
- "icon": "fa:connectdevelop",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2740,
- "parentId": 2,
- "name": "监控中心",
- "path": "monitors",
- "component": "",
- "componentName": "",
- "icon": "ep:monitor",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 111,
- "parentId": 2740,
- "name": "MySQL 监控",
- "path": "druid",
- "component": "infra/druid/index",
- "componentName": "InfraDruid",
- "icon": "fa-solid:box",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 113,
- "parentId": 2740,
- "name": "Redis 监控",
- "path": "redis",
- "component": "infra/redis/index",
- "componentName": "InfraRedis",
- "icon": "fa:reddit-square",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 112,
- "parentId": 2740,
- "name": "Java 监控",
- "path": "admin-server",
- "component": "infra/server/index",
- "componentName": "InfraAdminServer",
- "icon": "ep:coffee-cup",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1077,
- "parentId": 2740,
- "name": "链路追踪",
- "path": "skywalking",
- "component": "infra/skywalking/index",
- "componentName": "InfraSkyWalking",
- "icon": "fa:eye",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- }
- ]
- },
- {
- "id": 1117,
- "parentId": 0,
- "name": "支付管理",
- "path": "/pay",
- "component": null,
- "componentName": null,
- "icon": "ep:money",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 1126,
- "parentId": 1117,
- "name": "应用信息",
- "path": "app",
- "component": "pay/app/index",
- "componentName": "PayApp",
- "icon": "fa:apple",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1173,
- "parentId": 1117,
- "name": "支付订单",
- "path": "order",
- "component": "pay/order/index",
- "componentName": "PayOrder",
- "icon": "fa:cc-paypal",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1161,
- "parentId": 1117,
- "name": "退款订单",
- "path": "refund",
- "component": "pay/refund/index",
- "componentName": "PayRefund",
- "icon": "fa:registered",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2559,
- "parentId": 1117,
- "name": "转账订单",
- "path": "transfer",
- "component": "pay/transfer/index",
- "componentName": "PayTransfer",
- "icon": "ep:credit-card",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2551,
- "parentId": 1117,
- "name": "钱包管理",
- "path": "wallet",
- "component": "",
- "componentName": "",
- "icon": "ep:wallet",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2557,
- "parentId": 2551,
- "name": "钱包余额",
- "path": "wallet-balance",
- "component": "pay/wallet/balance/index",
- "componentName": "WalletBalance",
- "icon": "fa:leaf",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2552,
- "parentId": 2551,
- "name": "充值套餐",
- "path": "wallet-recharge-package",
- "component": "pay/wallet/rechargePackage/index",
- "componentName": "WalletRechargePackage",
- "icon": "fa:leaf",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2301,
- "parentId": 1117,
- "name": "回调通知",
- "path": "notify",
- "component": "pay/notify/index",
- "componentName": "PayNotify",
- "icon": "ep:mute-notification",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2161,
- "parentId": 1117,
- "name": "接入示例",
- "path": "demo",
- "component": "pay/demo/index",
- "componentName": null,
- "icon": "fa-solid:dragon",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2549,
- "parentId": 2161,
- "name": "支付&退款案例",
- "path": "order",
- "component": "pay/demo/order/index",
- "componentName": "",
- "icon": "fa:paypal",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2550,
- "parentId": 2161,
- "name": "转账案例",
- "path": "transfer",
- "component": "pay/demo/transfer/index",
- "componentName": "",
- "icon": "fa:transgender-alt",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- }
- ]
- },
- {
- "id": 1281,
- "parentId": 0,
- "name": "报表管理",
- "path": "/report",
- "component": null,
- "componentName": null,
- "icon": "ep:pie-chart",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 1282,
- "parentId": 1281,
- "name": "报表设计器",
- "path": "jimu-report",
- "component": "report/jmreport/index",
- "componentName": "GoView",
- "icon": "ep:trend-charts",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2153,
- "parentId": 1281,
- "name": "大屏设计器",
- "path": "go-view",
- "component": "report/goview/index",
- "componentName": "JimuReport",
- "icon": "fa:area-chart",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 1185,
- "parentId": 0,
- "name": "工作流程",
- "path": "/bpm",
- "component": null,
- "componentName": null,
- "icon": "fa:medium",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2758,
- "parentId": 1185,
- "name": "Bpm 任务规则管理",
- "path": "task-assign-rule",
- "component": "bpm/task/index",
- "componentName": "BpmTaskAssignRule",
- "icon": "",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1186,
- "parentId": 1185,
- "name": "流程管理",
- "path": "manager",
- "component": null,
- "componentName": null,
- "icon": "fa:dedent",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 1193,
- "parentId": 1186,
- "name": "流程模型",
- "path": "model",
- "component": "bpm/model/index",
- "componentName": "BpmModel",
- "icon": "fa-solid:project-diagram",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1187,
- "parentId": 1186,
- "name": "流程表单",
- "path": "form",
- "component": "bpm/form/index",
- "componentName": "BpmForm",
- "icon": "fa:hdd-o",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2714,
- "parentId": 1186,
- "name": "流程分类",
- "path": "category",
- "component": "bpm/category/index",
- "componentName": "BpmCategory",
- "icon": "fa:object-ungroup",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1209,
- "parentId": 1186,
- "name": "用户分组",
- "path": "user-group",
- "component": "bpm/group/index",
- "componentName": "BpmUserGroup",
- "icon": "fa:user-secret",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2726,
- "parentId": 1186,
- "name": "流程监听器",
- "path": "process-listener",
- "component": "bpm/processListener/index",
- "componentName": "BpmProcessListener",
- "icon": "fa:assistive-listening-systems",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2731,
- "parentId": 1186,
- "name": "流程表达式",
- "path": "process-expression",
- "component": "bpm/processExpression/index",
- "componentName": "BpmProcessExpression",
- "icon": "fa:wpexplorer",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2721,
- "parentId": 1186,
- "name": "流程实例",
- "path": "process-instance/manager",
- "component": "bpm/processInstance/manager/index",
- "componentName": "BpmProcessInstanceManager",
- "icon": "fa:square",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2724,
- "parentId": 1186,
- "name": "流程任务",
- "path": "process-tasnk",
- "component": "bpm/task/manager/index",
- "componentName": "BpmManagerTask",
- "icon": "ep:collection-tag",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 1200,
- "parentId": 1185,
- "name": "审批中心",
- "path": "task",
- "component": null,
- "componentName": null,
- "icon": "fa:tasks",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2720,
- "parentId": 1200,
- "name": "发起流程",
- "path": "create",
- "component": "bpm/processInstance/create/index",
- "componentName": "BpmProcessInstanceCreate",
- "icon": "fa-solid:grin-stars",
- "visible": true,
- "keepAlive": false,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1201,
- "parentId": 1200,
- "name": "我的流程",
- "path": "my",
- "component": "bpm/processInstance/index",
- "componentName": "BpmProcessInstanceMy",
- "icon": "fa-solid:book",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1207,
- "parentId": 1200,
- "name": "待办任务",
- "path": "todo",
- "component": "bpm/task/todo/index",
- "componentName": "BpmTodoTask",
- "icon": "fa:slack",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 1208,
- "parentId": 1200,
- "name": "已办任务",
- "path": "done",
- "component": "bpm/task/done/index",
- "componentName": "BpmDoneTask",
- "icon": "fa:delicious",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2713,
- "parentId": 1200,
- "name": "抄送我的",
- "path": "copy",
- "component": "bpm/task/copy/index",
- "componentName": "BpmProcessInstanceCopy",
- "icon": "ep:copy-document",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 5,
- "parentId": 1185,
- "name": "OA 示例",
- "path": "oa",
- "component": null,
- "componentName": null,
- "icon": "fa:road",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 1118,
- "parentId": 5,
- "name": "请假查询",
- "path": "leave",
- "component": "bpm/oa/leave/index",
- "componentName": "BpmOALeave",
- "icon": "fa:leanpub",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- }
- ]
- },
- {
- "id": 2262,
- "parentId": 0,
- "name": "会员中心",
- "path": "/member",
- "component": null,
- "componentName": null,
- "icon": "ep:bicycle",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2275,
- "parentId": 2262,
- "name": "会员配置",
- "path": "config",
- "component": "member/config/index",
- "componentName": "MemberConfig",
- "icon": "fa:archive",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2317,
- "parentId": 2262,
- "name": "会员管理",
- "path": "user",
- "component": "member/user/index",
- "componentName": "MemberUser",
- "icon": "ep:avatar",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2320,
- "parentId": 2262,
- "name": "会员标签",
- "path": "tag",
- "component": "member/tag/index",
- "componentName": "MemberTag",
- "icon": "ep:collection-tag",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2325,
- "parentId": 2262,
- "name": "会员等级",
- "path": "level",
- "component": "member/level/index",
- "componentName": "MemberLevel",
- "icon": "fa:level-up",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2330,
- "parentId": 2262,
- "name": "会员分组",
- "path": "group",
- "component": "member/group/index",
- "componentName": "MemberGroup",
- "icon": "fa:group",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2287,
- "parentId": 2262,
- "name": "会员积分",
- "path": "record",
- "component": "member/point/record/index",
- "componentName": "PointRecord",
- "icon": "fa:asterisk",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2300,
- "parentId": 2262,
- "name": "会员签到",
- "path": "signin",
- "component": "",
- "componentName": "",
- "icon": "ep:alarm-clock",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2281,
- "parentId": 2300,
- "name": "签到配置",
- "path": "config",
- "component": "member/signin/config/index",
- "componentName": "SignInConfig",
- "icon": "ep:calendar",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2293,
- "parentId": 2300,
- "name": "签到记录",
- "path": "record",
- "component": "member/signin/record/index",
- "componentName": "SignInRecord",
- "icon": "ep:chicken",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- }
- ]
- },
- {
- "id": 2362,
- "parentId": 0,
- "name": "商城系统",
- "path": "/mall",
- "component": "",
- "componentName": "",
- "icon": "ep:shop",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2388,
- "parentId": 2362,
- "name": "商城首页",
- "path": "home",
- "component": "mall/home/index",
- "componentName": "MallHome",
- "icon": "ep:home-filled",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2000,
- "parentId": 2362,
- "name": "商品中心",
- "path": "product",
- "component": null,
- "componentName": null,
- "icon": "fa:product-hunt",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2014,
- "parentId": 2000,
- "name": "商品列表",
- "path": "spu",
- "component": "mall/product/spu/index",
- "componentName": "ProductSpu",
- "icon": "ep:apple",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2002,
- "parentId": 2000,
- "name": "商品分类",
- "path": "category",
- "component": "mall/product/category/index",
- "componentName": "ProductCategory",
- "icon": "ep:cellphone",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2008,
- "parentId": 2000,
- "name": "商品品牌",
- "path": "brand",
- "component": "mall/product/brand/index",
- "componentName": "ProductBrand",
- "icon": "ep:chicken",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2019,
- "parentId": 2000,
- "name": "商品属性",
- "path": "property",
- "component": "mall/product/property/index",
- "componentName": "ProductProperty",
- "icon": "ep:cold-drink",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2336,
- "parentId": 2000,
- "name": "商品评论",
- "path": "comment",
- "component": "mall/product/comment/index",
- "componentName": "ProductComment",
- "icon": "ep:comment",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2072,
- "parentId": 2362,
- "name": "订单中心",
- "path": "trade",
- "component": null,
- "componentName": null,
- "icon": "ep:eleme",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2342,
- "parentId": 2072,
- "name": "交易配置",
- "path": "config",
- "component": "mall/trade/config/index",
- "componentName": "TradeConfig",
- "icon": "ep:setting",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2076,
- "parentId": 2072,
- "name": "订单列表",
- "path": "order",
- "component": "mall/trade/order/index",
- "componentName": "TradeOrder",
- "icon": "ep:list",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2073,
- "parentId": 2072,
- "name": "售后退款",
- "path": "after-sale",
- "component": "mall/trade/afterSale/index",
- "componentName": "TradeAfterSale",
- "icon": "ep:refrigerator",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2164,
- "parentId": 2072,
- "name": "配送管理",
- "path": "delivery",
- "component": "",
- "componentName": "",
- "icon": "ep:shopping-cart",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2165,
- "parentId": 2164,
- "name": "快递发货",
- "path": "express",
- "component": "",
- "componentName": "",
- "icon": "ep:bicycle",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2167,
- "parentId": 2165,
- "name": "快递公司",
- "path": "express",
- "component": "mall/trade/delivery/express/index",
- "componentName": "Express",
- "icon": "ep:compass",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2173,
- "parentId": 2165,
- "name": "运费模版",
- "path": "express-template",
- "component": "mall/trade/delivery/expressTemplate/index",
- "componentName": "ExpressTemplate",
- "icon": "ep:coordinate",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2166,
- "parentId": 2164,
- "name": "门店自提",
- "path": "pick-up-store",
- "component": "",
- "componentName": "",
- "icon": "ep:add-location",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2179,
- "parentId": 2166,
- "name": "门店管理",
- "path": "pick-up-store",
- "component": "mall/trade/delivery/pickUpStore/index",
- "componentName": "PickUpStore",
- "icon": "ep:basketball",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2389,
- "parentId": 2166,
- "name": "核销订单",
- "path": "pick-up-order",
- "component": "mall/trade/delivery/pickUpOrder/index",
- "componentName": "PickUpOrder",
- "icon": "ep:list",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- }
- ]
- },
- {
- "id": 2345,
- "parentId": 2072,
- "name": "分销管理",
- "path": "brokerage",
- "component": "",
- "componentName": "",
- "icon": "fa-solid:project-diagram",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2346,
- "parentId": 2345,
- "name": "分销用户",
- "path": "brokerage-user",
- "component": "mall/trade/brokerage/user/index",
- "componentName": "TradeBrokerageUser",
- "icon": "fa-solid:user-tie",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2353,
- "parentId": 2345,
- "name": "佣金记录",
- "path": "brokerage-record",
- "component": "mall/trade/brokerage/record/index",
- "componentName": "TradeBrokerageRecord",
- "icon": "fa:money",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2355,
- "parentId": 2345,
- "name": "佣金提现",
- "path": "brokerage-withdraw",
- "component": "mall/trade/brokerage/withdraw/index",
- "componentName": "TradeBrokerageWithdraw",
- "icon": "fa:credit-card",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- }
- ]
- },
- {
- "id": 2030,
- "parentId": 2362,
- "name": "营销中心",
- "path": "promotion",
- "component": null,
- "componentName": null,
- "icon": "ep:present",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2387,
- "parentId": 2030,
- "name": "内容管理",
- "path": "content",
- "component": "",
- "componentName": "",
- "icon": "ep:collection",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2377,
- "parentId": 2387,
- "name": "文章分类",
- "path": "article/category",
- "component": "mall/promotion/article/category/index",
- "componentName": "ArticleCategory",
- "icon": "fa:certificate",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2382,
- "parentId": 2387,
- "name": "文章列表",
- "path": "article",
- "component": "mall/promotion/article/index",
- "componentName": "Article",
- "icon": "ep:connection",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2025,
- "parentId": 2387,
- "name": "Banner",
- "path": "banner",
- "component": "mall/promotion/banner/index",
- "componentName": null,
- "icon": "fa:bandcamp",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2365,
- "parentId": 2030,
- "name": "优惠劵",
- "path": "coupon",
- "component": "",
- "componentName": "",
- "icon": "fa-solid:disease",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2032,
- "parentId": 2365,
- "name": "优惠劵列表",
- "path": "template",
- "component": "mall/promotion/coupon/template/index",
- "componentName": "PromotionCouponTemplate",
- "icon": "ep:discount",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2038,
- "parentId": 2365,
- "name": "领取记录",
- "path": "list",
- "component": "mall/promotion/coupon/index",
- "componentName": "PromotionCoupon",
- "icon": "ep:collection-tag",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2209,
- "parentId": 2030,
- "name": "秒杀活动",
- "path": "seckill",
- "component": "",
- "componentName": "",
- "icon": "ep:place",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2066,
- "parentId": 2209,
- "name": "秒杀时段",
- "path": "config",
- "component": "mall/promotion/seckill/config/index",
- "componentName": "PromotionSeckillConfig",
- "icon": "ep:baseball",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2059,
- "parentId": 2209,
- "name": "秒杀商品",
- "path": "activity",
- "component": "mall/promotion/seckill/activity/index",
- "componentName": "PromotionSeckillActivity",
- "icon": "ep:basketball",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2303,
- "parentId": 2030,
- "name": "拼团活动",
- "path": "combination",
- "component": "",
- "componentName": "",
- "icon": "fa:group",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2304,
- "parentId": 2303,
- "name": "拼团商品",
- "path": "acitivity",
- "component": "mall/promotion/combination/activity/index",
- "componentName": "PromotionCombinationActivity",
- "icon": "ep:apple",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2369,
- "parentId": 2303,
- "name": "拼团记录",
- "path": "record",
- "component": "mall/promotion/combination/record/index.vue",
- "componentName": "PromotionCombinationRecord",
- "icon": "ep:avatar",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2310,
- "parentId": 2030,
- "name": "砍价活动",
- "path": "bargain",
- "component": "",
- "componentName": "",
- "icon": "ep:box",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2311,
- "parentId": 2310,
- "name": "砍价商品",
- "path": "activity",
- "component": "mall/promotion/bargain/activity/index",
- "componentName": "PromotionBargainActivity",
- "icon": "ep:burger",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2366,
- "parentId": 2310,
- "name": "砍价记录",
- "path": "record",
- "component": "mall/promotion/bargain/record/index",
- "componentName": "PromotionBargainRecord",
- "icon": "ep:list",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2435,
- "parentId": 2030,
- "name": "商城装修",
- "path": "diy-template",
- "component": "mall/promotion/diy/template/index",
- "componentName": "DiyTemplate",
- "icon": "fa6-solid:brush",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2436,
- "parentId": 2435,
- "name": "装修模板",
- "path": "diy-template",
- "component": "mall/promotion/diy/template/index",
- "componentName": "DiyTemplate",
- "icon": "fa6-solid:brush",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2442,
- "parentId": 2435,
- "name": "装修页面",
- "path": "diy-page",
- "component": "mall/promotion/diy/page/index",
- "componentName": "DiyPage",
- "icon": "foundation:page-edit",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2390,
- "parentId": 2030,
- "name": "优惠活动",
- "path": "youhui",
- "component": "",
- "componentName": "",
- "icon": "ep:aim",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2047,
- "parentId": 2390,
- "name": "限时折扣",
- "path": "discount-activity",
- "component": "mall/promotion/discountActivity/index",
- "componentName": "PromotionDiscountActivity",
- "icon": "ep:timer",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2041,
- "parentId": 2390,
- "name": "满减送",
- "path": "reward-activity",
- "component": "mall/promotion/rewardActivity/index",
- "componentName": "PromotionRewardActivity",
- "icon": "ep:goblet-square-full",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- }
- ]
- },
- {
- "id": 2358,
- "parentId": 2362,
- "name": "统计中心",
- "path": "statistics",
- "component": "",
- "componentName": "",
- "icon": "ep:data-line",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2374,
- "parentId": 2358,
- "name": "会员统计",
- "path": "member",
- "component": "mall/statistics/member/index",
- "componentName": "MemberStatistics",
- "icon": "ep:avatar",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2545,
- "parentId": 2358,
- "name": "商品统计",
- "path": "product",
- "component": "mall/statistics/product/index",
- "componentName": "ProductStatistics",
- "icon": "fa:product-hunt",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2359,
- "parentId": 2358,
- "name": "交易统计",
- "path": "trade",
- "component": "mall/statistics/trade/index",
- "componentName": "TradeStatistics",
- "icon": "fa-solid:credit-card",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- }
- ]
- },
- {
- "id": 2084,
- "parentId": 0,
- "name": "公众号管理",
- "path": "/mp",
- "component": null,
- "componentName": null,
- "icon": "ep:compass",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2085,
- "parentId": 2084,
- "name": "账号管理",
- "path": "account",
- "component": "mp/account/index",
- "componentName": "MpAccount",
- "icon": "fa:user",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2092,
- "parentId": 2084,
- "name": "数据统计",
- "path": "statistics",
- "component": "mp/statistics/index",
- "componentName": "MpStatistics",
- "icon": "ep:trend-charts",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2093,
- "parentId": 2084,
- "name": "标签管理",
- "path": "tag",
- "component": "mp/tag/index",
- "componentName": "MpTag",
- "icon": "ep:collection-tag",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2099,
- "parentId": 2084,
- "name": "粉丝管理",
- "path": "user",
- "component": "mp/user/index",
- "componentName": "MpUser",
- "icon": "fa:user-secret",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2103,
- "parentId": 2084,
- "name": "消息管理",
- "path": "message",
- "component": "mp/message/index",
- "componentName": "MpMessage",
- "icon": "ep:message",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2119,
- "parentId": 2084,
- "name": "菜单管理",
- "path": "menu",
- "component": "mp/menu/index",
- "componentName": "MpMenu",
- "icon": "ep:menu",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2120,
- "parentId": 2084,
- "name": "自动回复",
- "path": "auto-reply",
- "component": "mp/autoReply/index",
- "componentName": "MpAutoReply",
- "icon": "fa-solid:republican",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2113,
- "parentId": 2084,
- "name": "素材管理",
- "path": "material",
- "component": "mp/material/index",
- "componentName": "MpMaterial",
- "icon": "ep:basketball",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2108,
- "parentId": 2084,
- "name": "图文草稿箱",
- "path": "draft",
- "component": "mp/draft/index",
- "componentName": "MpDraft",
- "icon": "ep:edit",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2104,
- "parentId": 2084,
- "name": "图文发表记录",
- "path": "free-publish",
- "component": "mp/freePublish/index",
- "componentName": "MpFreePublish",
- "icon": "ep:edit-pen",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2397,
- "parentId": 0,
- "name": "CRM 系统",
- "path": "/crm",
- "component": "",
- "componentName": "",
- "icon": "ep:avatar",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2701,
- "parentId": 2397,
- "name": "待办事项",
- "path": "backlog",
- "component": "crm/backlog/index",
- "componentName": "CrmBacklog",
- "icon": "fa-solid:tasks",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2404,
- "parentId": 2397,
- "name": "线索管理",
- "path": "clue",
- "component": "crm/clue/index",
- "componentName": "CrmClue",
- "icon": "fa:pagelines",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2391,
- "parentId": 2397,
- "name": "客户管理",
- "path": "customer",
- "component": "crm/customer/index",
- "componentName": "CrmCustomer",
- "icon": "fa:address-book-o",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2416,
- "parentId": 2397,
- "name": "联系人管理",
- "path": "contact",
- "component": "crm/contact/index",
- "componentName": "CrmContact",
- "icon": "fa:address-book-o",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2546,
- "parentId": 2397,
- "name": "客户公海",
- "path": "customer/pool",
- "component": "crm/customer/pool/index",
- "componentName": "CrmCustomerPool",
- "icon": "fa-solid:swimming-pool",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2410,
- "parentId": 2397,
- "name": "商机管理",
- "path": "business",
- "component": "crm/business/index",
- "componentName": "CrmBusiness",
- "icon": "fa:bus",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2398,
- "parentId": 2397,
- "name": "合同管理",
- "path": "contract",
- "component": "crm/contract/index",
- "componentName": "CrmContract",
- "icon": "ep:notebook",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2422,
- "parentId": 2397,
- "name": "回款管理",
- "path": "receivable",
- "component": "crm/receivable/index",
- "componentName": "CrmReceivable",
- "icon": "ep:money",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2428,
- "parentId": 2397,
- "name": "回款计划",
- "path": "receivable-plan",
- "component": "crm/receivable/plan/index",
- "componentName": "CrmReceivablePlan",
- "icon": "fa:money",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2526,
- "parentId": 2397,
- "name": "产品管理",
- "path": "product",
- "component": "crm/product/index",
- "componentName": "CrmProduct",
- "icon": "fa:product-hunt",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2560,
- "parentId": 2397,
- "name": "数据统计",
- "path": "statistics",
- "component": "",
- "componentName": "",
- "icon": "ep:data-line",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2712,
- "parentId": 2560,
- "name": "客户分析",
- "path": "customer",
- "component": "views/crm/statistics/customer/index.vue",
- "componentName": "CrmStatisticsCustomer",
- "icon": "ep:avatar",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2561,
- "parentId": 2560,
- "name": "排行榜",
- "path": "ranking",
- "component": "crm/statistics/rank/index",
- "componentName": "CrmStatisticsRank",
- "icon": "fa:area-chart",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2736,
- "parentId": 2560,
- "name": "员工业绩",
- "path": "performance",
- "component": "crm/statistics/performance/index",
- "componentName": "CrmStatisticsPerformance",
- "icon": "ep:dish-dot",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2737,
- "parentId": 2560,
- "name": "客户画像",
- "path": "portrait",
- "component": "crm/statistics/portrait/index",
- "componentName": "CrmStatisticsPortrait",
- "icon": "ep:picture",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2738,
- "parentId": 2560,
- "name": "销售漏斗",
- "path": "funnel",
- "component": "crm/statistics/funnel/index",
- "componentName": "CrmStatisticsFunnel",
- "icon": "ep:grape",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2524,
- "parentId": 2397,
- "name": "系统配置",
- "path": "config",
- "component": "",
- "componentName": "",
- "icon": "ep:connection",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2516,
- "parentId": 2524,
- "name": "客户公海配置",
- "path": "customer-pool-config",
- "component": "crm/customer/poolConfig/index",
- "componentName": "CrmCustomerPoolConfig",
- "icon": "ep:data-analysis",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2518,
- "parentId": 2524,
- "name": "客户限制配置",
- "path": "customer-limit-config",
- "component": "crm/customer/limitConfig/index",
- "componentName": "CrmCustomerLimitConfig",
- "icon": "ep:avatar",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2532,
- "parentId": 2524,
- "name": "产品分类配置",
- "path": "product/category",
- "component": "crm/product/category/index",
- "componentName": "CrmProductCategory",
- "icon": "fa-solid:window-restore",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2703,
- "parentId": 2524,
- "name": "商机状态配置",
- "path": "business-status",
- "component": "crm/business/status/index",
- "componentName": "CrmBusinessStatus",
- "icon": "fa-solid:charging-station",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2708,
- "parentId": 2524,
- "name": "合同配置",
- "path": "contract-config",
- "component": "crm/contract/config/index",
- "componentName": "CrmContractConfig",
- "icon": "ep:connection",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- }
- ]
- },
- {
- "id": 2563,
- "parentId": 0,
- "name": "ERP 系统",
- "path": "/erp",
- "component": "",
- "componentName": "",
- "icon": "fa-solid:store",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2702,
- "parentId": 2563,
- "name": "ERP 首页",
- "path": "home",
- "component": "erp/home/index.vue",
- "componentName": "ErpHome",
- "icon": "ep:home-filled",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2602,
- "parentId": 2563,
- "name": "采购管理",
- "path": "purchase",
- "component": "",
- "componentName": "",
- "icon": "fa:buysellads",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2666,
- "parentId": 2602,
- "name": "采购订单",
- "path": "order",
- "component": "erp/purchase/order/index",
- "componentName": "ErpPurchaseOrder",
- "icon": "fa-solid:border-all",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2673,
- "parentId": 2602,
- "name": "采购入库",
- "path": "in",
- "component": "erp/purchase/in/index",
- "componentName": "ErpPurchaseIn",
- "icon": "fa-solid:gopuram",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2680,
- "parentId": 2602,
- "name": "采购退货",
- "path": "return",
- "component": "erp/purchase/return/index",
- "componentName": "ErpPurchaseReturn",
- "icon": "ep:minus",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2603,
- "parentId": 2602,
- "name": "供应商信息",
- "path": "supplier",
- "component": "erp/purchase/supplier/index",
- "componentName": "ErpSupplier",
- "icon": "fa:superpowers",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2617,
- "parentId": 2563,
- "name": "销售管理",
- "path": "sale",
- "component": "",
- "componentName": "",
- "icon": "fa:sellsy",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2638,
- "parentId": 2617,
- "name": "销售订单",
- "path": "order",
- "component": "erp/sale/order/index",
- "componentName": "ErpSaleOrder",
- "icon": "fa:first-order",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2652,
- "parentId": 2617,
- "name": "销售出库",
- "path": "out",
- "component": "erp/sale/out/index",
- "componentName": "ErpSaleOut",
- "icon": "ep:sold-out",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2659,
- "parentId": 2617,
- "name": "销售退货",
- "path": "return",
- "component": "erp/sale/return/index",
- "componentName": "ErpSaleReturn",
- "icon": "fa-solid:bone",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2618,
- "parentId": 2617,
- "name": "客户信息",
- "path": "customer",
- "component": "erp/sale/customer/index",
- "componentName": "ErpCustomer",
- "icon": "ep:avatar",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2583,
- "parentId": 2563,
- "name": "库存管理",
- "path": "stock",
- "component": "",
- "componentName": "",
- "icon": "fa:window-restore",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2584,
- "parentId": 2583,
- "name": "仓库信息",
- "path": "warehouse",
- "component": "erp/stock/warehouse/index",
- "componentName": "ErpWarehouse",
- "icon": "ep:house",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2590,
- "parentId": 2583,
- "name": "产品库存",
- "path": "stock",
- "component": "erp/stock/stock/index",
- "componentName": "ErpStock",
- "icon": "ep:coffee",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2593,
- "parentId": 2583,
- "name": "出入库明细",
- "path": "record",
- "component": "erp/stock/record/index",
- "componentName": "ErpStockRecord",
- "icon": "fa-solid:blog",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2596,
- "parentId": 2583,
- "name": "其它入库",
- "path": "in",
- "component": "erp/stock/in/index",
- "componentName": "ErpStockIn",
- "icon": "ep:zoom-in",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2610,
- "parentId": 2583,
- "name": "其它出库",
- "path": "out",
- "component": "erp/stock/out/index",
- "componentName": "ErpStockOut",
- "icon": "ep:zoom-out",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2624,
- "parentId": 2583,
- "name": "库存调拨",
- "path": "move",
- "component": "erp/stock/move/index",
- "componentName": "ErpStockMove",
- "icon": "ep:folder-remove",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2631,
- "parentId": 2583,
- "name": "库存盘点",
- "path": "check",
- "component": "erp/stock/check/index",
- "componentName": "ErpStockCheck",
- "icon": "ep:circle-check-filled",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2564,
- "parentId": 2563,
- "name": "产品管理",
- "path": "product",
- "component": "",
- "componentName": "",
- "icon": "fa:product-hunt",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2565,
- "parentId": 2564,
- "name": "产品信息",
- "path": "product",
- "component": "erp/product/product/index",
- "componentName": "ErpProduct",
- "icon": "fa-solid:apple-alt",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2571,
- "parentId": 2564,
- "name": "产品分类",
- "path": "product-category",
- "component": "erp/product/category/index",
- "componentName": "ErpProductCategory",
- "icon": "fa:certificate",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2577,
- "parentId": 2564,
- "name": "产品单位",
- "path": "unit",
- "component": "erp/product/unit/index",
- "componentName": "ErpProductUnit",
- "icon": "ep:opportunity",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- },
- {
- "id": 2645,
- "parentId": 2563,
- "name": "财务管理",
- "path": "finance",
- "component": "",
- "componentName": "",
- "icon": "ep:money",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 2687,
- "parentId": 2645,
- "name": "付款单",
- "path": "payment",
- "component": "erp/finance/payment/index",
- "componentName": "ErpFinancePayment",
- "icon": "ep:caret-right",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2694,
- "parentId": 2645,
- "name": "收款单",
- "path": "receipt",
- "component": "erp/finance/receipt/index",
- "componentName": "ErpFinanceReceipt",
- "icon": "ep:expand",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 2646,
- "parentId": 2645,
- "name": "结算账户",
- "path": "account",
- "component": "erp/finance/account/index",
- "componentName": "ErpAccount",
- "icon": "fa:universal-access",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- }
- ]
- }
- ]
- }
- ]
- const menu = [
- {
- "id": 1,
- "parentId": 0,
- "name": "会议室管理",
- "path": "/meeting",
- "component": null,
- "componentName": null,
- "icon": "ep:tools",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": [
- {
- "id": 109,
- "parentId": 1,
- "name": "会议室列表",
- "path": "list",
- "component": "meeting/list/index",
- "componentName": "MeetingList",
- "icon": "ep:document-copy",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 108,
- "parentId": 1,
- "name": "预定列表",
- "path": "reserveList",
- "component": "meeting/reserveList/index",
- "componentName": "MeetingReserveList",
- "icon": "ep:document-copy",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- {
- "id": 108,
- "parentId": 1,
- "name": "预定情况",
- "path": "reserve",
- "component": "meeting/reserve/index",
- "componentName": "MeetingReserve",
- "icon": "ep:document-copy",
- "visible": true,
- "keepAlive": true,
- "alwaysShow": true,
- "children": null
- },
- ]
- }
- ]
- },
- handleClick(tab, event) {
- console.log(tab, event);
- },
- ishttp(url) {
- return url.indexOf('http://') !== -1 || url.indexOf('https://') !== -1
- }
- },
- };
- </script>
- <style>
- /*去掉切换时el-tab-pane底部的蓝色下划线*/
- /* .el-tabs__active-bar {
- background-color: transparent !important;
- } */
- /*去掉tabs底部的下划线*/
- .el-tabs__nav-wrap::after {
- position: static !important;
- }
- .el-tabs__nav-wrap {
- padding: 0 30px !important;
- }
- </style>
- <style lang="scss">
- .el-icon-s-tools:hover {
- color: #00B899;
- }
- .typeTitle {
- font-size: 20px;
- font-weight: 400;
- color: #1f2f3d;
- margin-left: 10px;
- margin-bottom: 10px;
- }
- .el-card-auto {
- min-height: 100%;
- height: 100%;
- margin-bottom: 20px;
- }
- .el-card-auto>>>.el-card__body {
- height: 100%;
- }
- .el-tabs__item {
- font-size: 18px;
- font-weight: 500;
- }
- .app-item {
- display: flex;
- flex-flow: column;
- justify-content: center;
- align-items: center;
- float: left;
- width: 178px;
- height: 150px;
- color: #999093;
- margin: 10px 10px 10px 10px;
- border-radius: 5px;
- }
- .app-item {
- line-height: 50px;
- font-size: 18px;
- list-style: none;
- cursor: pointer;
- position: relative;
- transition: border-color 0.3s, background-color 0.3s, color 0.3s;
- box-sizing: border-box;
- white-space: nowrap;
- }
- .app-item-tools {
- color: #838892;
- cursor: pointer;
- font-size: 16px;
- line-height: 16px;
- position: absolute;
- right: 10px;
- top: 10px;
- }
- .app-item:hover,
- .app-item:focus {
- outline: none;
- background-color: #FFFFFF;
- box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
- }
- </style>
|