Best Python code snippet using yandex-tank
router.js
Source:router.js
1import Vue from 'vue'2import Router from 'vue-router'3import store from '@/store/store'4import mainIndex from '@/pages/index'5const pop = () => import('@/components/pop/countMore.vue')6Vue.use(Router)7const router = new Router({8 routes: [9 {10 path: '/login',11 name: 'login',12 component: resolve => require(['@/pages/login.vue'], resolve)13 },14 //é¦é¡µ15 {16 path: '/index',17 name: 'mainIndex',18 meta: {19 requireAuth: true,20 },21 component: resolve => require(['@/pages/index.vue'], resolve),22 },23 //org router24 {25 path: '/orgManage/:ids',26 name: 'orgManage',27 meta: {28 requireAuth: true,29 },30 component: resolve => require(['@/pages/orgManage/org.vue'], resolve),31 children: [32 {33 path: 'group/:id',34 name: 'group',35 component: resolve => require(['@/components/infoDetail/group.vue'], resolve),36 },37 {38 path: 'info/:id/:switchs',39 name: 'info',40 component: resolve => require(['@/components/infoDetail/info.vue'], resolve),41 children:[42 {43 path: 'TeamMember',44 name: 'TeamMember',45 component: resolve => require(['@/components/pop/TeamMember.vue'], resolve),46 },47 //æ°å¢å¥æ©48 {49 path: 'RewardPunishment',50 name: 'RewardPunishment',51 meta: {52 requireAuth: true,53 },54 component: resolve => require(['@/components/pop/RewardPunishment.vue'], resolve),55 },56 //å
ç»ç»ç®¡ç/æ°å¢åä½ä¿¡æ¯57 {path: 'UnitAdd',58 name: 'UnitAdd',59 meta: {60 requireAuth: true,61 },62 component: resolve => require(['@/components/pop/UnitAdd.vue'], resolve),63 },64 //æ°å¢æ¯é¨è¯è®®65 {66 path: 'DemocraticReview',67 name: 'DemocraticReview',68 meta: {69 requireAuth: true,70 },71 component: resolve => require(['@/components/pop/DemocraticReview.vue'], resolve),72 },73 //èç³»æ¹å¼å
ç»è系人74 {75 path: 'Contacts',76 name: 'Contacts',77 meta: {78 requireAuth: true,79 },80 component: resolve => require(['@/components/pop/adminConfig/addadmin.vue'], resolve),81 },82 ]83 },84 {//å
ç»ç»æ´å»ºå¶è½¬ç§»85 path: 'InsideTransfer/:id',86 name: 'InsideTransfer',87 meta: {88 requireAuth: true,89 },90 component: resolve => require(['@/components/pop/InsideTransfer.vue'], resolve),91 },92 {//å
ç»ç»å¢å 93 path: 'AddOrganization',94 name: 'AddOrganization',95 meta: {96 requireAuth: true,97 },98 component: resolve => require(['@/components/pop/AddOrganization.vue'], resolve),99 },100 {//å
æ¯é¨å并101 path: 'PartyMerge/:id',102 name: 'PartyMerge',103 meta: {104 requireAuth: true,105 },106 component: resolve => require(['@/components/pop/PartyMerge.vue'], resolve),107 },108 {//å
æ¯é¨æå109 path: 'PartySplit/:id',110 name: 'PartySplit',111 meta: {112 requireAuth: true,113 },114 component: resolve => require(['@/components/pop/PartySplit.vue'], resolve),115 },116 {//å
æ¯é¨æ¤éå¼¹çªè·¯ç±117 path: 'PartyRevoke',118 name: 'PartyRevoke',119 meta: {120 requireAuth: true,121 },122 component: resolve => require(['@/components/pop/PartyRevoke.vue'], resolve),123 },124 {//设置å
å°ç»å¼¹çªè·¯ç±125 path: 'PartyTeam/:id',126 name: 'PartyTeam',127 meta: {128 requireAuth: true,129 },130 component: resolve => require(['@/components/pop/PartyTeam.vue'], resolve),131 },132 {//å
ç»ç»ç®¡ç/æ¹éä¿®æ¹å¼¹çªè·¯ç±133 path: 'BatchUpdate',134 name: 'BatchUpdate',135 meta: {136 requireAuth: true,137 },138 component: resolve => require(['@/components/pop/BatchUpdate.vue'], resolve),139 },140 {//ç»åæ¥è¯¢å¼¹çªè·¯ç±141 path: 'CombinationQuery',142 name: 'CombinationQuery',143 meta: {144 requireAuth: true,145 },146 component: resolve => require(['@/components/pop/CombinationQuery.vue'], resolve),147 },148 ],149 },150 //baseSituation router151 {152 path: '/baseSituation',153 name: 'baseSituation',154 meta: {155 requireAuth: true,156 },157 component: resolve => require(['@/pages/baseSituation/baseSituation.vue'], resolve),158 },159 {160 path: '/custom/:id',161 name: 'custom',162 meta: {163 requireAuth: true,164 },165 components: {166 default: () => import('@/pages/custom/custom.vue'),167 },168 children:[169 {170 path:'addCustom',171 name:'addCustom',172 component:resolve=>require(['@/components/custom/addCustom.vue'],resolve)173 }174 ]175 },176 // count from router177 {178 path: '/countForm',179 name: 'countForm',180 meta: {181 requireAuth: true,182 },183 components: {184 default: () => import('@/pages/countForm/countForm.vue'),185 },186 //component: resolve => require(['@/pages/countForm/countForm.vue'], resolve),187 children: [188 {189 path: 'covers/form-custom',190 name: 'form-custom',191 component: resolve => require(['@/components/customtable/tables'], resolve),192 children: [193 {194 path: 'countMore/:id',195 name: 'countMore',196 component: pop197 }198 ]199 },200 {201 path: 'covers/form-10',202 name: 'form-10',203 component: resolve => require(['@/components/tables/tables10.vue'], resolve),204 children: [205 {206 path: 'countMore/:id',207 name: 'countMore',208 component: pop209 }210 ]211 },212 {213 path: 'covers/form-11',214 name: 'form-11',215 component: resolve => require(['@/components/tables/tables11.vue'], resolve),216 children: [217 {218 path: 'countMore/:id',219 name: 'countMore',220 component: pop221 }222 ]223 },224 {225 path: 'covers/form-13',226 name: 'form-13',227 component: resolve => require(['@/components/tables/tables13.vue'], resolve),228 children: [229 {230 path: 'countMore/:id',231 name: 'countMore',232 component: pop233 }234 ]235 },236 {237 path: 'covers/form-5',238 name: 'form-5',239 component: resolve => require(['@/components/tables/tables5.vue'], resolve),240 children: [241 {242 path: 'countMore/:id',243 name: 'countMore',244 component: pop245 }246 ]247 },248 {249 path: 'covers/form-6',250 name: 'form-6',251 component: resolve => require(['@/components/tables/tables6.vue'], resolve),252 children: [253 {254 path: 'countMore/:id',255 name: 'countMore',256 component: pop257 }258 ]259 },260 {261 path: 'covers/form-9',262 name: 'form-9',263 component: resolve => require(['@/components/tables/tables9.vue'], resolve),264 children: [265 {266 path: 'countMore/:id',267 name: 'countMore',268 component: pop269 }270 ]271 },272 {273 path: 'covers/form-15',274 name: 'form-15',275 component: resolve => require(['@/components/tables/tables15.vue'], resolve),276 children: [277 {278 path: 'countMore/:id',279 name: 'countMore',280 component: pop281 }282 ]283 },284 {285 path: 'covers/form-16',286 name: 'form-16',287 component: resolve => require(['@/components/tables/tables16.vue'], resolve),288 children: [289 {290 path: 'countMore/:id',291 name: 'countMore',292 component: pop293 }294 ]295 },296 {297 path: 'covers/form-30',298 name: 'form-30',299 component: resolve => require(['@/components/tables/tables30.vue'], resolve),300 children: [301 {302 path: 'countMore/:id',303 name: 'countMore',304 component: pop305 }306 ]307 },308 {309 path: 'covers/form-31',310 name: 'form-31',311 component: resolve => require(['@/components/tables/tables31.vue'], resolve),312 children: [313 {314 path: 'countMore/:id',315 name: 'countMore',316 component: pop317 }318 ]319 },320 {321 path: 'covers/form-32',322 name: 'form-32',323 component: resolve => require(['@/components/tables/tables32.vue'], resolve),324 children: [325 {326 path: 'countMore/:id',327 name: 'countMore',328 component: pop329 }330 ]331 },332 {333 path: 'covers/form-17',334 name: 'form-17',335 component: resolve => require(['@/components/tables/tables17.vue'], resolve),336 children: [337 {338 path: 'countMore/:id',339 name: 'countMore',340 component: pop341 }342 ]343 },344 {345 path: 'covers/form-18',346 name: 'form-18',347 component: resolve => require(['@/components/tables/tables18.vue'], resolve),348 children: [349 {350 path: 'countMore/:id',351 name: 'countMore',352 component: pop353 }354 ]355 },356 {357 path: 'covers/form-19',358 name: 'form-19',359 component: resolve => require(['@/components/tables/tables19.vue'], resolve),360 children: [361 {362 path: 'countMore/:id',363 name: 'countMore',364 component: pop365 }366 ]367 },368 {369 path: 'covers/form-20',370 name: 'form-20',371 component: resolve => require(['@/components/tables/tables20.vue'], resolve),372 children: [373 {374 path: 'countMore/:id',375 name: 'countMore',376 component: pop377 }378 ]379 },380 {381 path: 'covers/form-21',382 name: 'form-21',383 component: resolve => require(['@/components/tables/tables21.vue'], resolve),384 children: [385 {386 path: 'countMore/:id',387 name: 'countMore',388 component: pop389 }390 ]391 },392 {393 path: 'covers/form-25',394 name: 'form-25',395 component: resolve => require(['@/components/tables/tables25.vue'], resolve),396 children: [397 {398 path: 'countMore/:id',399 name: 'countMore',400 component: pop401 }402 ]403 },404 {405 path: 'covers/form-26',406 name: 'form-26',407 component: resolve => require(['@/components/tables/tables26.vue'], resolve),408 children: [409 {410 path: 'countMore/:id',411 name: 'countMore',412 component: pop413 }414 ]415 },416 {417 path: 'covers/form-27',418 name: 'form-27',419 component: resolve => require(['@/components/tables/tables27.vue'], resolve),420 children: [421 {422 path: 'countMore/:id',423 name: 'countMore',424 component: pop425 }426 ]427 },428 {429 path: 'covers/form-33',430 name: 'form-33',431 component: resolve => require(['@/components/tables/tables33.vue'], resolve),432 children: [433 {434 path: 'countMore/:id',435 name: 'countMore',436 component: pop437 }438 ]439 },440 {441 path: 'covers/form-35',442 name: 'form-35',443 component: resolve => require(['@/components/tables/tables35.vue'], resolve),444 children: [445 {446 path: 'countMore/:id',447 name: 'countMore',448 component: pop449 }450 ]451 },452 {453 path: 'covers/form-14',454 name: 'form-14',455 component: resolve => require(['@/components/tables/tables14.vue'], resolve),456 children: [457 {458 path: 'countMore/:id',459 name: 'countMore',460 component: pop461 }462 ]463 },464 {465 path: 'covers/form-12',466 name: 'form-12',467 component: resolve => require(['@/components/tables/tables12.vue'], resolve),468 children: [469 {470 path: 'countMore/:id',471 name: 'countMore',472 component: pop473 }474 ]475 },476 {477 path: 'covers/form-34',478 name: 'form-34',479 component: resolve => require(['@/components/tables/tables34.vue'], resolve),480 children: [481 {482 path: 'countMore/:id',483 name: 'countMore',484 component: pop485 }486 ]487 },488 {489 path: 'covers/form-37',490 name: 'form-37',491 component: resolve => require(['@/components/tables/tables37.vue'], resolve),492 children: [493 {494 path: 'countMore/:id',495 name: 'countMore',496 component: pop497 }498 ]499 },500 {501 path: 'covers/form-2',502 name: 'form-2',503 component: resolve => require(['@/components/tables/tables2.vue'], resolve),504 children: [505 {506 path: 'countMore/:id',507 name: 'countMore',508 component: pop509 }510 ]511 },512 {513 path: 'covers/form-22',514 name: 'form-22',515 component: resolve => require(['@/components/tables/tables22.vue'], resolve),516 children: [517 {518 path: 'countMore/:id',519 name: 'countMore',520 component: pop521 }522 ]523 },524 {525 path: 'covers/form-45',526 name: 'form-45',527 component: resolve => require(['@/components/tables/tables45.vue'], resolve),528 children: [529 {530 path: 'countMore/:id',531 name: 'countMore',532 component: pop533 }534 ]535 },536 {537 path: 'covers/form-47',538 name: 'form-47',539 component: resolve => require(['@/components/tables/tables47.vue'], resolve),540 children: [541 {542 path: 'countMore/:id',543 name: 'countMore',544 component: pop545 }546 ]547 },548 {549 path: 'covers/form-49',550 name: 'form-49',551 component: resolve => require(['@/components/tables/tables49.vue'], resolve),552 children: [553 {554 path: 'countMore/:id',555 name: 'countMore',556 component: pop557 }558 ]559 },560 {561 path: 'covers/form-28',562 name: 'form-28',563 component: resolve => require(['@/components/tables/tables28.vue'], resolve),564 children: [565 {566 path: 'countMore/:id',567 name: 'countMore',568 component: pop569 }570 ]571 },572 {573 path: 'covers/form-36',574 name: 'form-36',575 component: resolve => require(['@/components/tables/tables36.vue'], resolve),576 children: [577 {578 path: 'countMore/:id',579 name: 'countMore',580 component: pop581 }582 ]583 },584 {585 path: 'covers/form-38',586 name: 'form-38',587 component: resolve => require(['@/components/tables/tables38.vue'], resolve),588 children: [589 {590 path: 'countMore/:id',591 name: 'countMore',592 component: pop593 }594 ]595 },596 {597 path: 'covers/form-39',598 name: 'form-39',599 component: resolve => require(['@/components/tables/tables39.vue'], resolve),600 children: [601 {602 path: 'countMore/:id',603 name: 'countMore',604 component: pop605 }606 ]607 },608 {609 path: 'covers/form-40',610 name: 'form-40',611 component: resolve => require(['@/components/tables/tables40.vue'], resolve),612 children: [613 {614 path: 'countMore/:id',615 name: 'countMore',616 component: pop617 }618 ]619 },620 {621 path: 'covers/form-41',622 name: 'form-41',623 component: resolve => require(['@/components/tables/tables41.vue'], resolve),624 children: [625 {626 path: 'countMore/:id',627 name: 'countMore',628 component: pop629 }630 ]631 },632 {633 path: 'covers/form-42',634 name: 'form-42',635 component: resolve => require(['@/components/tables/tables42.vue'], resolve),636 children: [637 {638 path: 'countMore/:id',639 name: 'countMore',640 component: pop641 }642 ]643 },644 {645 path: 'covers/form-43',646 name: 'form-43',647 component: resolve => require(['@/components/tables/tables43.vue'], resolve),648 children: [649 {650 path: 'countMore/:id',651 name: 'countMore',652 component: pop653 }654 ]655 },656 {657 path: 'covers/form-44',658 name: 'form-44',659 component: resolve => require(['@/components/tables/tables44.vue'], resolve),660 children: [661 {662 path: 'countMore/:id',663 name: 'countMore',664 component: pop665 }666 ]667 },668 {669 path: 'covers/form-46',670 name: 'form-46',671 component: resolve => require(['@/components/tables/tables46.vue'], resolve),672 children: [673 {674 path: 'countMore/:id',675 name: 'countMore',676 component: pop677 }678 ]679 },680 {681 path: 'covers/form-48',682 name: 'form-48',683 component: resolve => require(['@/components/tables/tables48.vue'], resolve),684 children: [685 {686 path: 'countMore/:id',687 name: 'countMore',688 component: pop689 }690 ]691 },692 {693 path: 'covers/form-50',694 name: 'form-50',695 component: resolve => require(['@/components/tables/tables50.vue'], resolve),696 children: [697 {698 path: 'countMore/:id',699 name: 'countMore',700 component: pop701 }702 ]703 },704 {705 path: 'covers/form-51',706 name: 'form-51',707 component: resolve => require(['@/components/tables/tables51.vue'], resolve),708 children: [709 {710 path: 'countMore/:id',711 name: 'countMore',712 component: pop713 }714 ]715 },716 //{717 // path: 'covers/form-3',718 // name: 'form-3',719 // component: resolve => require(['@/components/tables/tables3.vue'], resolve),720 // children: [721 // {722 // path: 'countMore/:id',723 // name: 'countMore',724 // component: pop725 // }726 // ]727 //},728 // {729 // path: 'covers/form-26',730 // name: 'form-26',731 // component: resolve => require(['@/components/tables/tables26.vue'], resolve),732 // children: [733 // {734 // path: 'countMore/:id',735 // name: 'countMore',736 // component: pop737 // }738 // ]739 // },740 ]741 },742 {743 path: '/sysManage',744 name: 'sysManage',745 meta: {746 requireAuth: true,747 },748 component: resolve => require(['@/pages/sysytemManage/sysManage.vue'], resolve),749 children:[750 {751 path: 'addManage',752 name: 'addManage',753 component: resolve => require(['@/components/pop/system/addManage.vue'], resolve),754 },755 ]756 },757 //unit manage router758 {759 path: '/unitManage',760 name: 'unitManage',761 meta: {762 requireAuth: true,763 },764 component: resolve => require(['@/pages/unitManage/unitManage.vue'], resolve),765 children: [766 {767 path: 'unit/:id',768 name: 'unit',769 component: resolve => require(['@/components/infoDetail/unit.vue'], resolve),770 },771 {772 path: 'unitAdd',773 name: 'unitAdd',774 component: resolve => require(['@/components/infoDetail/unit.vue'], resolve),775 },776 {777 path: 'UnitTransfer',778 name: 'UnitTransfer',779 component: resolve => require(['@/components/pop/unit/UnitTransfer.vue'], resolve),780 },781 {782 path: 'UnitSort',783 name: 'UnitSort',784 component: resolve => require(['@/components/pop/unit/UnitSort.vue'], resolve),785 },786 {787 path: 'UnitTeacher',788 name: 'UnitTeacher',789 component: resolve => require(['@/components/pop/unit/UnitTeacher.vue'], resolve),790 },791 {//åä½ç»åæ¥è¯¢å¼¹çªè·¯ç±792 path: 'UnitQuery',793 name: 'UnitQuery',794 meta: {795 requireAuth: true,796 },797 component: resolve => require(['@/components/pop/unit/CombinationQuery.vue'], resolve),798 },799 ]800 },801 {802 path: '/interview',803 name: 'interview',804 meta: {805 requireAuth: true,806 },807 component: resolve => require(['@/components/interview/interview.vue'], resolve),808 children: [809 {810 path: 'interviewpop/:id',811 name: 'interviewpop',812 component: resolve => require(['@/components/pop/reviewpop.vue'], resolve),813 },814 {815 path: 'interviewnext',816 name: 'interviewnext',817 component: resolve => require(['@/components/pop/org/partyLetter.vue'], resolve),818 },819 ]820 },821 {822 path: '/checkForm/:id/:type',823 name: 'checkForm',824 meta: {825 requireAuth: true,826 },827 component: resolve => require(['@/pages/countForm/checkForm.vue'], resolve),828 children:[829 // {830 // path: 'info/:uid',831 // name: 'membercheckinfo',832 // children: [833 // {834 // path: ':tab'835 // }836 // ]837 // },838 {839 path: 'TeamMember',840 name: 'checkTeamMember',841 component: resolve => require(['@/components/pop/TeamMember.vue'], resolve),842 },843 //æ°å¢å¥æ©844 {845 path: 'RewardPunishment',846 name: 'checkRewardPunishment',847 meta: {848 requireAuth: true,849 },850 component: resolve => require(['@/components/pop/RewardPunishment.vue'], resolve),851 },852 //å
ç»ç»ç®¡ç/æ°å¢åä½ä¿¡æ¯853 {path: 'UnitAdd',854 name: 'checkUnitAdd',855 meta: {856 requireAuth: true,857 },858 component: resolve => require(['@/components/pop/UnitAdd.vue'], resolve),859 },860 //æ°å¢æ¯é¨è¯è®®861 {862 path: 'DemocraticReview',863 name: 'checkDemocraticReview',864 meta: {865 requireAuth: true,866 },867 component: resolve => require(['@/components/pop/DemocraticReview.vue'], resolve),868 },869 {870 path: 'unit/:id',871 name: 'unit',872 component: resolve => require(['@/components/infoDetail/unit.vue'], resolve),873 },874 {875 path: 'unitAdd',876 name: 'unitAdd',877 component: resolve => require(['@/components/infoDetail/unit.vue'], resolve),878 },879 {880 path: 'UnitTransfer',881 name: 'UnitTransfer',882 component: resolve => require(['@/components/pop/unit/UnitTransfer.vue'], resolve),883 },884 {885 path: 'UnitSort',886 name: 'UnitSort',887 component: resolve => require(['@/components/pop/unit/UnitSort.vue'], resolve),888 },889 {890 path: 'UnitTeacher',891 name: 'UnitTeacher',892 component: resolve => require(['@/components/pop/unit/UnitTeacher.vue'], resolve),893 },894 {//åä½ç»åæ¥è¯¢å¼¹çªè·¯ç±895 path: 'UnitQuery',896 name: 'UnitQuery',897 meta: {898 requireAuth: true,899 },900 component: resolve => require(['@/components/pop/CombinationQuery.vue'], resolve),901 },902 ]903 },904 //infocheck router905 {906 path: '/infoCheck/:ids',907 name: 'infoCheck',908 meta: {909 requireAuth: true,910 },911 component: resolve => require(['@/components/infoCheck.vue'], resolve),912 children: [913 {914 path: 'group/:id',915 name: 'group',916 component: resolve => require(['@/components/infoDetail/group.vue'], resolve),917 },918 {919 path: 'info/:id/:switchs',920 name: 'checkinfo',921 component: resolve => require(['@/components/infoDetail/info.vue'], resolve),922 children:[923 {924 path: 'TeamMember',925 name: 'checkTeamMember',926 component: resolve => require(['@/components/pop/TeamMember.vue'], resolve),927 },928 //æ°å¢å¥æ©929 {930 path: 'RewardPunishment',931 name: 'checkRewardPunishment',932 meta: {933 requireAuth: true,934 },935 component: resolve => require(['@/components/pop/RewardPunishment.vue'], resolve),936 },937 //å
ç»ç»ç®¡ç/æ°å¢åä½ä¿¡æ¯938 {path: 'UnitAdd',939 name: 'checkUnitAdd',940 meta: {941 requireAuth: true,942 },943 component: resolve => require(['@/components/pop/UnitAdd.vue'], resolve),944 },945 //æ°å¢æ¯é¨è¯è®®946 {947 path: 'DemocraticReview',948 name: 'checkDemocraticReview',949 meta: {950 requireAuth: true,951 },952 component: resolve => require(['@/components/pop/DemocraticReview.vue'], resolve),953 },954 ]955 },956 {//å
ç»ç»æ´å»ºå¶è½¬ç§»957 path: 'InsideTransfer',958 name: 'checkInsideTransfer',959 meta: {960 requireAuth: true,961 },962 component: resolve => require(['@/components/pop/InsideTransfer.vue'], resolve),963 },964 {//å
ç»ç»å¢å 965 path: 'AddOrganization',966 name: 'checkAddOrganization',967 meta: {968 requireAuth: true,969 },970 component: resolve => require(['@/components/pop/AddOrganization.vue'], resolve),971 },972 {//å
æ¯é¨å并973 path: 'PartyMerge',974 name: 'checkPartyMerge',975 meta: {976 requireAuth: true,977 },978 component: resolve => require(['@/components/pop/PartyMerge.vue'], resolve),979 },980 {//å
æ¯é¨æå981 path: 'PartySplit',982 name: 'checkPartySplit',983 meta: {984 requireAuth: true,985 },986 component: resolve => require(['@/components/pop/PartySplit.vue'], resolve),987 },988 {//å
æ¯é¨æ¤éå¼¹çªè·¯ç±989 path: 'PartyRevoke',990 name: 'checkPartyRevoke',991 meta: {992 requireAuth: true,993 },994 component: resolve => require(['@/components/pop/PartyRevoke.vue'], resolve),995 },996 {//设置å
å°ç»å¼¹çªè·¯ç±997 path: 'PartyTeam',998 name: 'checkPartyTeam',999 meta: {1000 requireAuth: true,1001 },1002 component: resolve => require(['@/components/pop/PartyTeam.vue'], resolve),1003 },1004 {//å
ç»ç»ç®¡ç/æ¹éä¿®æ¹å¼¹çªè·¯ç±1005 path: 'BatchUpdate',1006 name: 'checkBatchUpdate',1007 meta: {1008 requireAuth: true,1009 },1010 component: resolve => require(['@/components/pop/BatchUpdate.vue'], resolve),1011 },1012 ],1013 },1014 // å
åä¿¡æ¯æ ¡æ ¸1015 {1016 path: '/membercheck/:dept',1017 name: 'membercheck',1018 meta: {1019 requireAuth: true,1020 },1021 component: resolve => require(['@/components/membercheck.vue'], resolve),1022 children:[1023 {1024 path: 'info/:uid',1025 name: 'membercheckinfo',1026 children: [1027 {1028 path: ':tab'1029 }1030 ]1031 }1032 ]1033 },1034 // ç³è¯·äººä¿¡æ¯æ ¡æ ¸1035 {1036 path: '/applicantcheck/:dept',1037 name: 'applicantcheck',1038 meta: {1039 requireAuth: true,1040 },1041 component: resolve => require(['@/components/applicantcheck.vue'], resolve),1042 children:[1043 {1044 path: 'info/:uid',1045 name: 'applicantcheckinfo',1046 children: [1047 {1048 path: ':tab'1049 }1050 ]1051 }1052 ]1053 },1054 //ç»ç»å
³ç³»è½¬æ¥1055 {1056 path: '/organizationManage',1057 name: 'organizationManage',1058 component: resolve => require(['@/pages/organizationManage/organizationManage.vue'], resolve),1059 children:[1060 {1061 path: 'partyOut',1062 name: 'partyOut',1063 component: resolve => require(['@/components/pop/org/partyOut.vue'], resolve),1064 },1065 {1066 path:'partyOutStep2',1067 name:'partyOutStep2',1068 component: resolve => require(['@/components/pop/org/partyOutStep2.vue'], resolve),1069 },1070 {1071 path:'partyTree',1072 name:'partyTree',1073 component: resolve => require(['@/components/pop/org/partyTree.vue'], resolve),1074 },1075 {1076 path:'partyLetter',1077 // name:'partyLetter',1078 component: resolve => require(['@/components/pop/org/partyLetter.vue'], resolve),1079 },1080 ],1081 },1082 {1083 path: '/organizationManage/:dept',1084 name: 'organizationManageList',1085 meta: {1086 requireAuth: true,1087 },1088 component: resolve => require(['@/pages/organizationManage/organizationManage.vue'], resolve),1089 children: [1090 {1091 path: 'organization/:id',1092 name: 'organization',1093 component: resolve => require(['@/components/infoDetail/organization.vue'], resolve),1094 children:[1095 {1096 path:'partyReject',1097 name:'partyReject',1098 component: resolve => require(['@/components/pop/org/partyReject.vue'], resolve),1099 }1100 ]1101 },1102 {1103 path: 'partyOut',1104 name: 'partyOut',1105 component: resolve => require(['@/components/pop/org/partyOut.vue'], resolve),1106 },1107 {1108 path:'partyOutStep2',1109 name:'partyOutStep2',1110 component: resolve => require(['@/components/pop/org/partyOutStep2.vue'], resolve),1111 },1112 {1113 path:'partyTree',1114 name:'partyTree',1115 component: resolve => require(['@/components/pop/org/partyTree.vue'], resolve),1116 },1117 {1118 path:'partyLetter/:id',1119 name:'partyLetter',1120 component: resolve => require(['@/components/pop/org/partyLetter.vue'], resolve),1121 },1122 ]1123 },1124 //åå²å
å管ç router1125 {1126 path: '/historyManage',1127 name: 'historyManage',1128 meta: {1129 requireAuth: true,1130 },1131 component: resolve => require(['@/pages/historyManage/history.vue'], resolve),1132 children:[1133 {1134 path: ':dept',1135 name: 'historylist',1136 children: [{1137 name: 'historyinfo',1138 path: 'info/:uid',1139 name: 'historyinfo',1140 }]1141 },1142 // ,{1143 // path: 'modal',1144 // components: {1145 // modal: resolve => require(['@/pages/historyManage/modal.vue'], resolve)1146 // }1147 // }1148 ]1149 },1150 //dangyuan router1151 {1152 path: '/dangyuan',1153 name: 'dangyuan',1154 meta: {1155 requireAuth: true,1156 },1157 component: resolve => require(['@/pages/dangyuanManage/dangyuan.vue'], resolve),1158 children: [1159 {1160 path: 'modal/add',1161 name:'dangyuanadd',1162 components: {1163 modal: resolve => require(['@/components/pop/partymember/AddPartyMember.vue'], resolve)1164 }1165 },1166 {1167 path: 'modal/dead',1168 components: {1169 modal: resolve => require(['@/components/pop/partymember/PartyMemberDeath.vue'], resolve)1170 }1171 },1172 {1173 path: 'modal/stop',1174 components: {1175 modal: resolve => require(['@/components/pop/partymember/PartyMemberStop.vue'], resolve)1176 }1177 },1178 {1179 path: 'modal/out',1180 name:'dangyuanout',1181 components: {1182 modal: resolve => require(['@/components/pop/partymember/PartyMemberOuter.vue'], resolve)1183 }1184 },1185 {1186 path: 'modal/transfer',1187 components: {1188 modal: resolve => require(['@/components/pop/partymember/PartyMemberZhuanchu.vue'], resolve)1189 }1190 },1191 {1192 path: 'modal/sort',1193 components: {1194 modal: resolve => require(['@/components/pop/partymember/PartyMemberSort.vue'], resolve)1195 }1196 },1197 {1198 path: 'modal/distribution',1199 components: {1200 modal: resolve => require(['@/components/pop/partymember/PartyGroupManage.vue'], resolve)1201 }1202 },1203 {1204 path: 'modal/batch',1205 components: {1206 modal: resolve => require(['@/components/pop/partymember/BatchEdit.vue'], resolve)1207 }1208 },1209 {1210 path: 'modal/combos',1211 components: {1212 modal: resolve => require(['@/components/pop/partymember/CombosQuery.vue'], resolve)1213 }1214 },1215 {1216 path: 'modal/batchedit',1217 components: {1218 modal: resolve => require(['@/components/pop/partymember/BatchEdit.vue'], resolve)1219 }1220 },1221 {1222 path: 'modal/batchadd',1223 components: {1224 modal: resolve => require(['@/components/pop/partymember/BatchAdd.vue'], resolve)1225 }1226 },1227 {//å
åç»åæ¥è¯¢å¼¹çªè·¯ç±1228 path: 'PartyQuery',1229 name: 'PartyQuery',1230 meta: {1231 requireAuth: true,1232 },1233 component: resolve => require(['@/components/pop/CombinationQuery.vue'], resolve),1234 },1235 //æ°å¢å¦å å¼¹çª1236 // {1237 // path: 'modal/memberinfo-add',1238 // components: {1239 // modal: resolve => require(['@/components/pop/partymember/memberinfo-education-add.vue'], resolve)1240 // }1241 // },1242 // {1243 // path: 'modal/post-add',1244 // components: {1245 // modal: resolve => require(['@/components/pop/partymember/memberinfo-post-add.vue'], resolve)1246 // }1247 // },1248 // {1249 // path: 'modal/admin-add',1250 // components: {1251 // modal: resolve => require(['@/components/pop/partymember/memberinfo-adminjob-add.vue'], resolve)1252 // }1253 // },1254 // {1255 // path: 'modal/reward-add',1256 // components: {1257 // modal: resolve => require(['@/components/pop/partymember/memberinfo-reward-add.vue'], resolve)1258 // }1259 // },1260 // {1261 // path: 'modal/representative-add',1262 // components: {1263 // modal: resolve => require(['@/components/pop/partymember/memberinfo-representative-add.vue'], resolve)1264 // }1265 // },1266 ]1267 },1268 {1269 path: '/dangyuan/:dept',1270 name: 'dangyuanlist',1271 component: resolve => require(['@/pages/dangyuanManage/dangyuan.vue'], resolve),1272 children:[1273 {1274 path: 'info/:uid',1275 name: 'dangyuaninfo',1276 children: [1277 {1278 path: ':tab'1279 }1280 ]1281 }1282 ]1283 },1284 // ç³è¯·äººç®¡ç1285 {1286 path: '/applicantManage',1287 name: 'applicant',1288 component: resolve => require(['@/pages/applicantManage/applicantManage.vue'], resolve),1289 children:[1290 {1291 path: 'modal/combos',1292 components: {1293 modal: resolve => require(['@/components/pop/applicant/CombosQuery.vue'], resolve)1294 }1295 },1296 {1297 path: 'modal/add',1298 components: {1299 modal: resolve => require(['@/components/pop/applicant/AddPartyMember.vue'], resolve)1300 }1301 },1302 {1303 path: 'modal/batchedit',1304 components: {1305 modal: resolve => require(['@/components/pop/applicant/BatchEdit.vue'], resolve)1306 }1307 },1308 {1309 path: 'modal/batchadd',1310 components: {1311 modal: resolve => require(['@/components/pop/applicant/BatchAdd.vue'], resolve)1312 }1313 },1314 {1315 path: 'modal/memberinfo-add',1316 components: {1317 modal: resolve => require(['@/components/pop/applicant/memberinfo-education-add.vue'], resolve)1318 }1319 },1320 {1321 path: 'modal/post-add',1322 components: {1323 modal: resolve => require(['@/components/pop/applicant/memberinfo-post-add.vue'], resolve)1324 }1325 },1326 {1327 path: 'modal/admin-add',1328 components: {1329 modal: resolve => require(['@/components/pop/applicant/memberinfo-adminjob-add.vue'], resolve)1330 }1331 },1332 {1333 path: 'modal/reward-add',1334 components: {1335 modal: resolve => require(['@/components/pop/applicant/memberinfo-reward-add.vue'], resolve)1336 }1337 },1338 ]1339 },1340 {1341 path: '/applicantManage/:dept',1342 name: 'applicantlist',1343 component: resolve => require(['@/pages/applicantManage/applicantManage.vue'], resolve),1344 children:[1345 {1346 path: 'info/:uid',1347 name: 'applicantinfo',1348 children: [1349 {1350 path: ':tab'1351 }1352 ]1353 }1354 ]1355 },1356 // éå¤äººåæ¥è¯¢1357 {1358 path: '/repeatmembers',1359 name: 'repeatmembers',1360 component: resolve => require(['@/pages/repeatMembers/repeatMembers.vue'], resolve),1361 },1362 {1363 path: '/repeatmembers/:dept',1364 name: 'repeatmemberlist',1365 component: resolve => require(['@/pages/repeatMembers/repeatMembers.vue'], resolve),1366 children:[{1367 path: 'list/:idcard',1368 name : 'repeatmembersdetail',1369 components: {1370 modal: resolve => require(['@/components/pop/repeatmembers/modallist.vue'], resolve)1371 }1372 }]1373 },1374 //åå±å
åå®¡æ ¸1375 {1376 path:'/recruitExamine',1377 name:'recruitExamine',1378 component:resolve=>require(['@/pages/recruitExamine/recruitMembers.vue'],resolve),1379 children:[1380 {1381 path: 'returnReason',1382 name: 'returnReason',1383 components: {1384 modal: resolve => require(['@/pages/recruitExamine/returnReason.vue'], resolve)1385 }1386 }1387 ]1388 },1389 //åå±å
å1390 {1391 path:'/recruitMembers',1392 name:'recruitMembers',1393 component:resolve=>require(['@/pages/recruitMembers/recruitMembers.vue'],resolve),1394 children:[1395 {1396 path: 'allFile',1397 name : 'allFile',1398 components: {1399 modal: resolve => require(['@/components/recruitMembers/affiliatedFile/allFile.vue'], resolve)1400 }1401 },1402 {1403 path: 'table2/:id',1404 name : 'recruitTable2',1405 components: {1406 modal: resolve => require(['@/components/recruitMembers/onlinetable/2.vue'], resolve)1407 }1408 },1409 {1410 path: 'table3/:id',1411 name : 'recruitTable3',1412 components: {1413 modal: resolve => require(['@/components/recruitMembers/onlinetable/3.vue'], resolve)1414 }1415 },1416 {1417 path: 'table4/:id',1418 name : 'recruitTable4',1419 components: {1420 modal: resolve => require(['@/components/recruitMembers/onlinetable/4.vue'], resolve)1421 }1422 },1423 {1424 path: 'table6/:id',1425 name : 'recruitTable6',1426 components: {1427 modal: resolve => require(['@/components/recruitMembers/onlinetable/6.vue'], resolve)1428 }1429 },1430 {1431 path: 'table6/:id',1432 name : 'recruitTable7',1433 components: {1434 modal: resolve => require(['@/components/recruitMembers/onlinetable/7.vue'], resolve)1435 }1436 },1437 {1438 path: 'table8/:id',1439 name : 'recruitTable8',1440 components: {1441 modal: resolve => require(['@/components/recruitMembers/onlinetable/8.vue'], resolve)1442 }1443 },1444 {1445 path: 'table9/:id',1446 name : 'recruitTable9',1447 components: {1448 modal: resolve => require(['@/components/recruitMembers/onlinetable/9.vue'], resolve)1449 }1450 },1451 {1452 path: 'table11/:id',1453 name : 'recruitTable11',1454 components: {1455 modal: resolve => require(['@/components/recruitMembers/onlinetable/11.vue'], resolve)1456 }1457 },1458 {1459 path: 'table12/:id',1460 name : 'recruitTable12',1461 components: {1462 modal: resolve => require(['@/components/recruitMembers/onlinetable/12.vue'], resolve)1463 }1464 },1465 {1466 path: 'table13/:id',1467 name : 'recruitTable13',1468 components: {1469 modal: resolve => require(['@/components/recruitMembers/onlinetable/13.vue'], resolve)1470 }1471 },1472 {1473 path: 'table14/:id',1474 name : 'recruitTable14',1475 components: {1476 modal: resolve => require(['@/components/recruitMembers/onlinetable/14.vue'], resolve)1477 }1478 },1479 {1480 path: 'table15/:id',1481 name : 'recruitTable15',1482 components: {1483 modal: resolve => require(['@/components/recruitMembers/onlinetable/15.vue'], resolve)1484 }1485 },1486 {1487 path: 'table16/:id',1488 name : 'recruitTable16',1489 components: {1490 modal: resolve => require(['@/components/recruitMembers/onlinetable/16.vue'], resolve)1491 }1492 },1493 {1494 path: 'table19/:id',1495 name : 'recruitTable19',1496 components: {1497 modal: resolve => require(['@/components/recruitMembers/onlinetable/19.vue'], resolve)1498 }1499 },1500 {1501 path: 'table21/:id',1502 name : 'recruitTable21',1503 components: {1504 modal: resolve => require(['@/components/recruitMembers/onlinetable/21.vue'], resolve)1505 }1506 },1507 {1508 path: 'table23/:id',1509 name : 'recruitTable23',1510 components: {1511 modal: resolve => require(['@/components/recruitMembers/onlinetable/23.vue'], resolve)1512 }1513 },1514 {1515 path: 'table25/:id',1516 name : 'recruitTable25',1517 components: {1518 modal: resolve => require(['@/components/recruitMembers/onlinetable/25.vue'], resolve)1519 }1520 },1521 {1522 path: 'table27/:id',1523 name : 'recruitTable27',1524 components: {1525 modal: resolve => require(['@/components/recruitMembers/onlinetable/27.vue'], resolve)1526 }1527 },1528 {1529 path: 'table29/:id',1530 name : 'recruitTable29',1531 components: {1532 modal: resolve => require(['@/components/recruitMembers/onlinetable/29.vue'], resolve)1533 }1534 },1535 {1536 path: 'table30/:id',1537 name : 'recruitTable30',1538 components: {1539 modal: resolve => require(['@/components/recruitMembers/onlinetable/30.vue'], resolve)1540 }1541 },1542 {1543 path: 'table31/:id',1544 name : 'recruitTable31',1545 components: {1546 modal: resolve => require(['@/components/recruitMembers/onlinetable/31.vue'], resolve)1547 }1548 },1549 {1550 path: 'table32/:id',1551 name : 'recruitTable32',1552 components: {1553 modal: resolve => require(['@/components/recruitMembers/onlinetable/32.vue'], resolve)1554 }1555 },1556 {1557 path: 'table33/:id',1558 name : 'recruitTable33',1559 components: {1560 modal: resolve => require(['@/components/recruitMembers/onlinetable/33.vue'], resolve)1561 }1562 },1563 {1564 path: 'table35/:id',1565 name : 'recruitTable35',1566 components: {1567 modal: resolve => require(['@/components/recruitMembers/onlinetable/35.vue'], resolve)1568 }1569 },1570 {1571 path: 'table36/:id',1572 name : 'recruitTable36',1573 components: {1574 modal: resolve => require(['@/components/recruitMembers/onlinetable/36.vue'], resolve)1575 }1576 },1577 {1578 path: 'table37/:id',1579 name : 'recruitTable37',1580 components: {1581 modal: resolve => require(['@/components/recruitMembers/onlinetable/37.vue'], resolve)1582 }1583 },1584 {1585 path: 'table39/:id',1586 name : 'recruitTable39',1587 components: {1588 modal: resolve => require(['@/components/recruitMembers/onlinetable/39.vue'], resolve)1589 }1590 },1591 {1592 path: 'table40/:id',1593 name : 'recruitTable40',1594 components: {1595 modal: resolve => require(['@/components/recruitMembers/onlinetable/40.vue'], resolve)1596 }1597 },1598 {1599 path: 'table43/:id',1600 name : 'recruitTable43',1601 components: {1602 modal: resolve => require(['@/components/recruitMembers/onlinetable/43.vue'], resolve)1603 }1604 },1605 {1606 path: 'table44/:id',1607 name : 'recruitTable44',1608 components: {1609 modal: resolve => require(['@/components/recruitMembers/onlinetable/44.vue'], resolve)1610 }1611 },1612 {1613 path: 'table46/:id',1614 name : 'recruitTable46',1615 components: {1616 modal: resolve => require(['@/components/recruitMembers/onlinetable/46.vue'], resolve)1617 }1618 }1619 ]1620 },1621 // 管çå设置1622 {1623 path: '/adminconfig',1624 name: 'adminconfig',1625 component: resolve => require(['@/pages/adminConfig/adminconfig.vue'], resolve),1626 },1627 {1628 path: '/adminconfig/:dept',1629 name: 'adminconfiglist',1630 component: resolve => require(['@/pages/adminConfig/adminconfig.vue'], resolve),1631 children:[{1632 path: 'add',1633 name: 'adminconfigadd',1634 components:{1635 modal: resolve=>require(['@/components/pop/adminConfig/addadmin.vue'],resolve),1636 }1637 }]1638 },1639 // å
ååå±å¨çº¿å¡«è¡¨ç¸å
³ç»ä»¶ å¼åç¨ ç»ä»¶å¯¹æ¥åå¯å é¤1640 {1641 path: '/recruitMembers/onlinetable/2',1642 component: resolve => require(['@/components/recruitMembers/onlinetable/2.vue'], resolve),1643 },1644 {1645 path: '/recruitMembers/onlinetable/3',1646 component: resolve => require(['@/components/recruitMembers/onlinetable/3.vue'], resolve),1647 },1648 {1649 path: '/recruitMembers/onlinetable/4',1650 component: resolve => require(['@/components/recruitMembers/onlinetable/4.vue'], resolve),1651 },1652 {1653 path: '/recruitMembers/onlinetable/6',1654 component: resolve => require(['@/components/recruitMembers/onlinetable/6.vue'], resolve),1655 },1656 {1657 path: '/recruitMembers/onlinetable/8',1658 component: resolve => require(['@/components/recruitMembers/onlinetable/8.vue'], resolve),1659 },1660 {1661 path: '/recruitMembers/onlinetable/9',1662 component: resolve => require(['@/components/recruitMembers/onlinetable/9.vue'], resolve),1663 },1664 {1665 path: '/recruitMembers/onlinetable/11',1666 component: resolve => require(['@/components/recruitMembers/onlinetable/11.vue'], resolve),1667 },1668 {1669 path: '/recruitMembers/onlinetable/12',1670 component: resolve => require(['@/components/recruitMembers/onlinetable/12.vue'], resolve),1671 },1672 {1673 path: '/recruitMembers/onlinetable/13',1674 component: resolve => require(['@/components/recruitMembers/onlinetable/13.vue'], resolve),1675 },1676 {1677 path: '/recruitMembers/onlinetable/14',1678 component: resolve => require(['@/components/recruitMembers/onlinetable/14.vue'], resolve),1679 },1680 {1681 path: '/recruitMembers/onlinetable/15',1682 component: resolve => require(['@/components/recruitMembers/onlinetable/15.vue'], resolve),1683 },1684 {1685 path: '/recruitMembers/onlinetable/16',1686 component: resolve => require(['@/components/recruitMembers/onlinetable/16.vue'], resolve),1687 },1688 // {1689 // path: '/recruitMembers/onlinetable/åå±å¯¹è±¡äº²å±å½è°è¡¨',1690 // component: resolve => require(['@/components/recruitMembers/onlinetable/åå±å¯¹è±¡äº²å±å½è°è¡¨.vue'], resolve),1691 // },1692 {1693 path: '/recruitMembers/onlinetable/19',1694 component: resolve => require(['@/components/recruitMembers/onlinetable/19.vue'], resolve),1695 },1696 {1697 path: '/recruitMembers/onlinetable/21',1698 component: resolve => require(['@/components/recruitMembers/onlinetable/21.vue'], resolve),1699 },1700 {1701 path: '/recruitMembers/onlinetable/23',1702 component: resolve => require(['@/components/recruitMembers/onlinetable/23.vue'], resolve),1703 },1704 {1705 path: '/recruitMembers/onlinetable/29',1706 component: resolve => require(['@/components/recruitMembers/onlinetable/29.vue'], resolve),1707 },1708 {1709 path: '/recruitMembers/onlinetable/31',1710 component: resolve => require(['@/components/recruitMembers/onlinetable/31.vue'], resolve),1711 },1712 {1713 path: '/recruitMembers/onlinetable/32',1714 component: resolve => require(['@/components/recruitMembers/onlinetable/32.vue'], resolve),1715 },1716 {1717 path: '/recruitMembers/onlinetable/33',1718 component: resolve => require(['@/components/recruitMembers/onlinetable/33.vue'], resolve),1719 },1720 {1721 path: '/recruitMembers/onlinetable/35',1722 component: resolve => require(['@/components/recruitMembers/onlinetable/35.vue'], resolve),1723 },1724 {1725 path: '/recruitMembers/onlinetable/36',1726 component: resolve => require(['@/components/recruitMembers/onlinetable/36.vue'], resolve),1727 },1728 {1729 path: '/recruitMembers/onlinetable/37',1730 component: resolve => require(['@/components/recruitMembers/onlinetable/37.vue'], resolve),1731 },1732 {1733 path: '/recruitMembers/onlinetable/39',1734 component: resolve => require(['@/components/recruitMembers/onlinetable/39.vue'], resolve),1735 },1736 {1737 path: '/recruitMembers/onlinetable/40',1738 component: resolve => require(['@/components/recruitMembers/onlinetable/40.vue'], resolve),1739 },1740 {1741 path: '/recruitMembers/onlinetable/43',1742 component: resolve => require(['@/components/recruitMembers/onlinetable/43.vue'], resolve),1743 },1744 {1745 path: '/recruitMembers/onlinetable/44',1746 component: resolve => require(['@/components/recruitMembers/onlinetable/44.vue'], resolve),1747 },1748 {1749 path: '/recruitMembers/onlinetable/46',1750 component: resolve => require(['@/components/recruitMembers/onlinetable/46.vue'], resolve),1751 },1752 { //é»è®¤é¦é¡µ1753 path: '/',1754 redirect: '/login'1755 },1756 { //é»è®¤é误页1757 path: '*',1758 component: resolve => require(['@/pages/404.vue'], resolve),1759 },1760 ]1761})...
index.js
Source:index.js
1import Vue from 'vue'2import Router from 'vue-router'3let version = 70; //æ¹åèåæéåï¼è¯·æå¨æ¹åæ¤çæ¬å·ï¼é¡µé¢ä¼èªå¨éåºè´¦å·ã4Vue.use(Router)5let router = new Router({6 routes: [{7 path: '/',8 redirect: '/login'9 }, {10 path: '/oldLogin',11 component: resolve => require(['../components/page/login/index.vue'], resolve)12 },13 // ç»å½é¡µé¢14 {15 path: '/login',16 component: resolve => require(['../components/page/login/newLogin.vue'], resolve)17 },18 {19 path: '/addParentInfomation',20 component: resolve => require(['../components/page/addParentInfomation/addParentInfomation.vue'], resolve)21 },22 {23 path: '/addParentInfo',24 component: resolve => require(['../components/page/addParentInfomation/addParentInfo.vue'], resolve)25 },26 {27 path: '/home',28 component: resolve => require(['../components/common/home.vue'], resolve),29 children: [30 //家é¿ç®¡ç31 {32 path: '/parentMange',33 component: resolve => require(['../components/page/parentMange/parentList.vue'], resolve),34 },35 {36 path: '/addParent',37 component: resolve => require(['../components/page/parentMange/addParent.vue'], resolve)38 },39 {40 path: '/editParent',41 component: resolve => require(['../components/page/parentMange/editParent.vue'], resolve)42 },43 {44 path:'/parentMange/Detail',45 component: resolve => require(['../components/page/parentMange/parentDetail.vue'], resolve)46 },47 {48 //家é¿è°æ¥é®å·æ交æ°æ®æ¥è¯¢å表49 path:"/parentFeedbacks",50 component: resolve => require(['../components/page/parentMange/parentFeedbacks.vue'],resolve)51 },52 //å¦ç管ç53 {54 path: '/studentMange',55 component: resolve => require(['../components/page/studentMange/studentList.vue'], resolve)56 },57 //å¢å å¦ç58 {59 path: '/addStudent',60 component: resolve => require(['../components/page/studentMange/addStudent.vue'], resolve)61 },62 //å¦çæ¥ç详æ
模åè·¯ç±ï¼ä¸ä¼åï¼63 {64 path:'/studentDetail',65 component: resolve => require(['../components/page/studentMange/studentDetail.vue'], resolve),66 keepAlive:true,67 children: [68 {69 path: '/addParHabit',70 component: resolve => require(['../components/page/studentMange/addParHabit.vue'], resolve)71 },72 {73 path: '/habit/add',74 component: resolve => require(['../components/page/studentMange/addStuHabit.vue'], resolve)75 },76 {77 path: '/habit',78 component: resolve => require(['../components/page/studentMange/stuHabit.vue'], resolve)79 },80 {81 path: '/habit/show',82 component: resolve => require(['../components/page/studentMange/showHabit.vue'], resolve)83 },84 {85 path: '/schoolAdmin/teacherList',86 component: resolve => require(['../components/page/schoolAdmin/teacherList.vue'], resolve),87 meta: { title: 'æ ¡ç®¡çåæå¸å表' }88 },89 {90 path: '/abilityTestSubscribe',91 component: resolve => require(['../components/page/studentMange/abilityTestSubscribe.vue'], resolve),92 meta: { title: 'å¦ä¹ è½åå¹³æµé¢çº¦è¡¨' }93 },94 {95 path: '/abilityTestSubscribe/make',96 component: resolve => require(['../components/page/studentMange/abilityTestSubscribeAdd.vue'], resolve),97 meta: { title: 'å¦ä¹ è½åå¹³æµé¢çº¦è¡¨' } //æ°å¢ãç¼è¾98 },99 {100 path: '/abilityTestSubscribe/view',101 component: resolve => require(['../components/page/studentMange/abilityTestSubscribeView.vue'], resolve),102 meta: { title: 'å¦ä¹ è½åå¹³æµé¢çº¦è¡¨' } //æ¥ç103 },104 {105 path: '/abilityImprovIntervExp',106 component: resolve => require(['../components/page/studentMange/abilityImprovIntervExp.vue'], resolve),107 meta: { title: 'å¦ä¹ è½åæåå¹²é¢ä½éªç»è®°è¡¨' }108 },109 {110 path: '/abilityImprovIntervExp/make',111 component: resolve => require(['../components/page/studentMange/abilityImprovIntervExpAdd.vue'], resolve),112 meta: { title: 'å¦ä¹ è½åæåå¹²é¢ä½éªç»è®°è¡¨' } //æ°å¢ãç¼è¾113 },114 {115 path: '/abilityImprovIntervExp/view',116 component: resolve => require(['../components/page/studentMange/abilityImprovIntervExpView.vue'], resolve),117 meta: { title: 'å¦ä¹ è½åæåå¹²é¢ä½éªç»è®°è¡¨' } //æ¥ç118 },//auditionRecord119 {120 path: '/editAudition/add',121 component: resolve => require(['../components/page/studentMange/auditionRecord.vue'], resolve),122 meta: { title: 'è¯å¬è®°å½è¡¨' } //æ¥ç123 },//editAudition.vue124 {125 path: '/editAuditionT/add',126 component: resolve => require(['../components/page/studentMange/auditionRecord2.vue'], resolve),127 meta: { title: 'äºæ¬¡è¯å¬è®°å½è¡¨' } //æ¥ç128 },129 {130 path: '/editAuditionB/add',131 component: resolve => require(['../components/page/studentMange/auditionRecord3.vue'], resolve),132 meta: { title: 'äºæ¬¡è¯å¬è®°å½è¡¨' } //æ¥ç133 },134 {135 path: '/editAudition',136 component: resolve => require(['../components/page/studentMange/editAudition.vue'], resolve),137 meta: { title: 'æ¥çè¯å¬è®°å½è¡¨' } //æ¥ç138 },139 {140 path: '/editAuditionT',141 component: resolve => require(['../components/page/studentMange/editAudition2.vue'], resolve),142 meta: { title: 'æ¥çè¯å¬è®°å½è¡¨' } //æ¥ç143 },144 {145 path: '/editAuditionB',146 component: resolve => require(['../components/page/studentMange/editAudition3.vue'], resolve),147 meta: { title: 'æ¥çè¯å¬è®°å½è¡¨' } //æ¥ç148 },149 {150 path: '/startSchool',151 component: resolve => require(['../components/page/studentMange/startSchool.vue'], resolve),152 meta: { title: 'å
¥å¦ç»è®°è¡¨' } //æ¥ç153 },154 {155 path: '/startSchool/add',156 component: resolve => require(['../components/page/studentMange/startSchoolAdd.vue'], resolve),157 meta: { title: 'å
¥å¦ç»è®°è¡¨æ·»å ' } //æ¥ç158 },159 {160 path: '/archiveRecords',161 component: resolve => require(['../components/page/studentMange/archiveRecords.vue'], resolve),162 meta: { title: 'èè¯æ绩记å½è¡¨' }163 },164 {165 path: '/archiveRecords/make',166 component: resolve => require(['../components/page/studentMange/archiveRecordsAdd.vue'], resolve),167 meta: { title: 'èè¯æ绩记å½è¡¨' } //æ°å¢ãç¼è¾168 },169 {170 path: '/archiveRecords/detail',171 component: resolve => require(['../components/page/studentMange/archiveRecordsDetail.vue'], resolve),172 meta: { title: 'èè¯æ绩记å½è¡¨' } //æ°å¢ãç¼è¾173 },174 {175 path: '/schoolAdmin/eduMangeList',176 component: resolve => require(['../components/page/schoolAdmin/eduMangeList.vue'], resolve),177 meta: { title: 'æ ¡ç®¡çåæå¡å表' }178 },179 {180 path: '/schoolAdmin/teaResearchList',181 component: resolve => require(['../components/page/schoolAdmin/teaResearchList.vue'], resolve),182 meta: { title: 'æ ¡ç®¡çåæç å表' }183 },184 /*å¦ä¹ è½åå¹²é¢è®ç»åå¤è¡¨å表*/185 {186 path: '/abilityReady',187 component: resolve => require(['../components/page/studentMange/abilityReady.vue'], resolve)188 },189 /*å¦ä¹ è½åå¹²é¢è®ç»åå¤è¡¨(æ°å¢/ç¼è¾)*/190 {191 path: '/abilityReady/add',192 component: resolve => require(['../components/page/studentMange/addAbilityReady.vue'], resolve)193 },194 /*å¦ä¹ è½åå¹²é¢è®ç»åå¤è¡¨(æ¥ç)*/195 {196 path: '/abilityReady/show',197 component: resolve => require(['../components/page/studentMange/showAbilityReady.vue'], resolve)198 },199 /*å¦ä¹ è½åå¹²é¢è®ç»åé¦è¡¨å表*/200 {201 path: '/abilityResult',202 component: resolve => require(['../components/page/studentMange/abilityResult.vue'], resolve)203 },204 /*å¦ä¹ è½åå¹²é¢è®ç»åé¦è¡¨(æ°å¢/ç¼è¾)*/205 {206 path: '/abilityResult/add',207 component: resolve => require(['../components/page/studentMange/addAbilityResult.vue'], resolve)208 },209 /*å¦å¦ä¹ è½åå¹²é¢è®ç»åé¦è¡¨æ¥ç)*/210 {211 path: '/abilityResult/show',212 component: resolve => require(['../components/page/studentMange/showAbilityResult.vue'], resolve)213 },214 /*å¹²é¢å¯¼å¸è¯¾ååæ表å表*/215 {216 path: '/afterClass',217 component: resolve => require(['../components/page/studentMange/afterClass.vue'], resolve)218 },219 /*å¹²é¢å¯¼å¸è¯¾ååæ表æ°å¢/ç¼è¾)*/220 {221 path: '/afterClass/add',222 component: resolve => require(['../components/page/studentMange/addAfterClass.vue'], resolve)223 },224 /*å¹²é¢å¯¼å¸è¯¾ååæ表å表æ¥ç*/225 {226 path: '/afterClass/show',227 component: resolve => require(['../components/page/studentMange/showAfterClass.vue'], resolve)228 },229 ]230 },231 // ä¼æ å¸å表232 {233 path:"/coupon",234 component:resolve=>require(['../components/page/coupon/list.vue'],resolve),235 meta:{236 title:"ä¼æ å¸å表"237 }238 },239 {240 path:"/couponCode",241 component:resolve=>require(['../components/page/coupon/couponCode.vue'],resolve),242 meta:{243 title:"ä¼æ ç å表"244 }245 },246 // è´¦å·ç®¡ç247 {248 path: '/newAccount',249 component: resolve => require(['../components/page/accountInfo/newAccount.vue'], resolve)250 },251 // è´¦å·ç®¡ç252 {253 path: '/newAccount',254 component: resolve => require(['../components/page/accountInfo/newAccount.vue'], resolve)255 },256 // æ°å¢è´¦å·257 {258 path: '/addAccount',259 component: resolve => require(['../components/page/accountInfo/addAccount.vue'], resolve)260 },261 // æ°å¢è´¦å·262 {263 path: '/editAccount',264 component: resolve => require(['../components/page/accountInfo/editAccount.vue'], resolve)265 },266 // è§è²ç®¡ç267 {268 path: '/userAccount',269 component: resolve => require(['../components/page/accountInfo/userAccount.vue'], resolve)270 },271 ]272 }]273});274router.beforeEach((to, from, next) => {275 next()276})277// router.beforeEach((to, from, next) => {278// console.log(to)279// //å¤æç»å½280// if (window.localStorage.getItem('userInfo') == null || window.localStorage.getItem('authList') == null) {281// if (to.path == '/login') {282// next()283// } else {284// next('/login')285// }286// } else {287// console.log(to.path);288//289// if(window.localStorage.getItem('version')&&window.localStorage.getItem('version')!=version){290// localStorage.clear();291// next('/login')292// }else if (JSON.parse(localStorage.getItem('authList')).some(function(path) {293// return to.path == path;294// })) {295// next()296// }else if (to.path == '/login') {297// var firstUrl = JSON.parse(window.localStorage.getItem('firstUrl'));298// next(firstUrl);299// }else if (to.path == '/errorR') {300// next()301// } else {302// next('/errorR')303// }304// window.localStorage.setItem('version',version);305// }306// })...
menuConfig.js
Source:menuConfig.js
1let obj2if (IS_DEV) {3 obj = {4 101: {5 name: 'five-min-view',6 component: resolve =>7 require([8 'src/views/modules/operationMonitoring/five-minutes-view'9 ], resolve)10 },11 102: {12 name: 'online-data',13 component: resolve =>14 require(['src/views/modules/operationMonitoring/online-data'], resolve)15 },16 103: {17 name: 'virtual-currency',18 component: resolve =>19 require([20 'src/views/modules/operationMonitoring/virtual-currency'21 ], resolve)22 },23 104: {24 name: 'new-server-monitor',25 component: resolve =>26 require([27 'src/views/modules/operationMonitoring/new-server-monitor'28 ], resolve)29 },30 201: {31 name: 'five-force',32 component: resolve =>33 require(['src/views/modules/indexAnalysis/fiveForce/'], resolve)34 },35 202: {36 name: 'index-trend',37 component: resolve =>38 require(['src/views/modules/indexAnalysis/indexTrendPlant'], resolve)39 },40 203: {41 name: 'active-user',42 component: resolve =>43 require(['src/views/modules/indexAnalysis/activeUser'], resolve)44 },45 204: {46 name: 'dish-plate',47 component: resolve =>48 require(['src/views/modules/indexAnalysis/dishPlate'], resolve)49 },50 205: {51 name: 'dish-plate-by-game',52 component: resolve =>53 require(['src/views/modules/indexAnalysis/dishPlateByGame'], resolve)54 },55 206: {56 name: 'new-user-reg-income-rate',57 component: resolve =>58 require(['src/views/modules/indexAnalysis/newUserRegIncomeRate'], resolve)59 },60 207: {61 name: 'login-rate',62 component: resolve =>63 require(['src/views/modules/indexAnalysis/loginRate'], resolve)64 },65 208: {66 name: 'new-user-step-retain',67 component: resolve =>68 require([69 'src/views/modules/userBehaviorAnalysis/newUserStepRetain'70 ], resolve)71 },72 210: {73 name: 'retain-user',74 component: resolve =>75 require(['src/views/modules/indexAnalysis/retainUser'], resolve)76 },77 211: {78 name: 'lose-user',79 component: resolve =>80 require(['src/views/modules/indexAnalysis/loseUser'], resolve)81 },82 212: {83 name: 'back-user',84 component: resolve =>85 require(['src/views/modules/indexAnalysis/backUser'], resolve)86 },87 213: {88 name: 'online-user',89 component: resolve =>90 require(['src/views/modules/indexAnalysis/onlineUser'], resolve)91 },92 214: {93 name: 'added-user',94 component: resolve =>95 require(['src/views/modules/indexAnalysis/addedUser'], resolve)96 },97 215: {98 name: 'new-user-retain',99 component: resolve =>100 require(['src/views/modules/indexAnalysis/newUserRetainRate'], resolve)101 },102 216: {103 name: 'tourist-conversion',104 component: resolve =>105 require([106 'src/views/modules/userBehaviorAnalysis/touristConversion'107 ], resolve)108 },109 217: {110 name: 'R-Account',111 component: resolve =>112 require(['src/views/modules/userBehaviorAnalysis/R-account'], resolve)113 },114 218: {115 name: 'data-overview',116 component: resolve =>117 require(['src/views/modules/overview/data-overview'], resolve)118 },119 219: {120 name: 'game-overview',121 component: resolve =>122 require(['src/views/modules/overview/game-overview'], resolve)123 },124 301: {125 name: 'area-analysis',126 component: resolve =>127 require(['src/views/modules/userBehaviorAnalysis/areaAnalysis'], resolve)128 },129 302: {130 name: 'recharge-mode',131 component: resolve =>132 require(['src/views/modules/userBehaviorAnalysis/rechargeMode'], resolve)133 },134 303: {135 name: 'firstPay',136 component: resolve =>137 require(['src/views/modules/userBehaviorAnalysis/firstPay'], resolve)138 },139 304: {140 name: 'warTypeAnalysis',141 component: resolve =>142 require([143 'src/views/modules/userBehaviorAnalysis/warTypeAnalysis'144 ], resolve)145 },146 305: {147 name: 'copyAnalysis',148 component: resolve =>149 require(['src/views/modules/userBehaviorAnalysis/copyAnalysis'], resolve)150 },151 306: {152 name: 'sysParticipation',153 component: resolve =>154 require([155 'src/views/modules/userBehaviorAnalysis/sysParticipation'156 ], resolve)157 },158 307: {159 name: 'sysSaturation',160 component: resolve =>161 require(['src/views/modules/userBehaviorAnalysis/sysSaturation'], resolve)162 },163 401: {164 name: 'recharge-hot-plant',165 component: resolve =>166 require(['src/views/modules/marketingAnalysis/rechargeHotPlant'], resolve)167 },168 402: {169 name: 'big-customer-trend',170 component: resolve =>171 require(['src/views/modules/marketingAnalysis/bigCustomerTrend'], resolve)172 },173 403: {174 name: 'fashionConsum',175 component: resolve =>176 require(['src/views/modules/marketingAnalysis/fashionConsum'], resolve)177 },178 404: {179 name: 'hotConsum',180 component: resolve =>181 require(['src/views/modules/marketingAnalysis/hotConsum'], resolve)182 },183 405: {184 name: 'timeLimitConsum',185 component: resolve =>186 require(['src/views/modules/marketingAnalysis/timeLimitConsum'], resolve)187 },188 406: {189 name: 'payHotPlant',190 component: resolve =>191 require(['src/views/modules/marketingAnalysis/payHotPlant'], resolve)192 },193 501: {194 name: 'recharge-order',195 component: resolve =>196 require(['src/views/modules/formData/rechargeOrder'], resolve)197 },198 502: {199 name: 'first-pay-detail',200 component: resolve =>201 require(['src/views/modules/formData/firstPayDetail'], resolve)202 },203 503: {204 name: 'reg-detail',205 component: resolve =>206 require(['src/views/modules/formData/regDetail'], resolve)207 },208 601: {209 name: "market",210 component: resolve =>211 require(['src/views/modules/reports/markets'], resolve)212 },213 1001: {214 name: "market",215 component: resolve =>216 require(['src/views/modules/reports/markets'], resolve)217 },218 1002: {219 name: "real-time",220 component: resolve =>221 require(['src/views/modules/reports/real-time'], resolve)222 },223 1003: {224 name: "sub-channel-reports",225 component: resolve =>226 require(['src/views/modules/subChannel/reports'], resolve)227 },228 1101: {229 name: "complement",230 component: resolve =>231 require(['src/views/modules/data/complement'], resolve)232 },233 1102: {234 name: "pkg_manager",235 component: resolve =>236 require(['src/views/modules/data/pkg_manager'], resolve)237 },238 1201: {239 name: "pkg_manager",240 component: resolve => require(['src/views/modules/subChannel/reports'], resolve)241 },242 1204: {243 name: "budget-complement",244 component: resolve => require(['src/views/modules/data/budget'], resolve)245 }246 }247 248} else {249 obj = {250 101: {251 name: 'five-min-view',252 component: resolve =>253 require([254 'src/views/modules/operationMonitoring/five-minutes-view'255 ], resolve)256 },257 102: {258 name: 'online-data',259 component: resolve =>260 require(['src/views/modules/operationMonitoring/online-data'], resolve)261 },262 103: {263 name: 'virtual-currency',264 component: resolve =>265 require([266 'src/views/modules/operationMonitoring/virtual-currency'267 ], resolve)268 },269 104: {270 name: 'new-server-monitor',271 component: resolve =>272 require([273 'src/views/modules/operationMonitoring/new-server-monitor'274 ], resolve)275 },276 201: {277 name: 'five-force',278 component: resolve =>279 require(['src/views/modules/indexAnalysis/fiveForce/'], resolve)280 },281 202: {282 name: 'index-trend',283 component: resolve =>284 require(['src/views/modules/indexAnalysis/indexTrendPlant'], resolve)285 },286 203: {287 name: 'active-user',288 component: resolve =>289 require(['src/views/modules/indexAnalysis/activeUser'], resolve)290 },291 204: {292 name: 'dish-plate',293 component: resolve =>294 require(['src/views/modules/indexAnalysis/dishPlate'], resolve)295 },296 205: {297 name: 'dish-plate-by-game',298 component: resolve =>299 require(['src/views/modules/indexAnalysis/dishPlateByGame'], resolve)300 },301 206: {302 name: 'new-user-reg-income-rate',303 component: resolve =>304 require(['src/views/modules/indexAnalysis/newUserRegIncomeRate'], resolve)305 },306 207: {307 name: 'login-rate',308 component: resolve =>309 require(['src/views/modules/indexAnalysis/loginRate'], resolve)310 },311 208: {312 name: 'new-user-step-retain',313 component: resolve =>314 require([315 'src/views/modules/userBehaviorAnalysis/newUserStepRetain'316 ], resolve)317 },318 210: {319 name: 'retain-user',320 component: resolve =>321 require(['src/views/modules/indexAnalysis/retainUser'], resolve)322 },323 211: {324 name: 'lose-user',325 component: resolve =>326 require(['src/views/modules/indexAnalysis/loseUser'], resolve)327 },328 212: {329 name: 'back-user',330 component: resolve =>331 require(['src/views/modules/indexAnalysis/backUser'], resolve)332 },333 213: {334 name: 'online-user',335 component: resolve =>336 require(['src/views/modules/indexAnalysis/onlineUser'], resolve)337 },338 214: {339 name: 'added-user',340 component: resolve =>341 require(['src/views/modules/indexAnalysis/addedUser'], resolve)342 },343 215: {344 name: 'new-user-retain',345 component: resolve =>346 require(['src/views/modules/indexAnalysis/newUserRetainRate'], resolve)347 },348 216: {349 name: 'tourist-conversion',350 component: resolve =>351 require([352 'src/views/modules/userBehaviorAnalysis/touristConversion'353 ], resolve)354 },355 217: {356 name: 'R-Account',357 component: resolve =>358 require(['src/views/modules/userBehaviorAnalysis/R-account'], resolve)359 },360 218: {361 name: 'data-overview',362 component: resolve =>363 require(['src/views/modules/overview/data-overview'], resolve)364 },365 219: {366 name: 'game-overview',367 component: resolve =>368 require(['src/views/modules/overview/game-overview'], resolve)369 },370 301: {371 name: 'area-analysis',372 component: resolve =>373 require(['src/views/modules/userBehaviorAnalysis/areaAnalysis'], resolve)374 },375 302: {376 name: 'recharge-mode',377 component: resolve =>378 require(['src/views/modules/userBehaviorAnalysis/rechargeMode'], resolve)379 },380 303: {381 name: 'firstPay',382 component: resolve =>383 require(['src/views/modules/userBehaviorAnalysis/firstPay'], resolve)384 },385 304: {386 name: 'warTypeAnalysis',387 component: resolve =>388 require([389 'src/views/modules/userBehaviorAnalysis/warTypeAnalysis'390 ], resolve)391 },392 305: {393 name: 'copyAnalysis',394 component: resolve =>395 require(['src/views/modules/userBehaviorAnalysis/copyAnalysis'], resolve)396 },397 306: {398 name: 'sysParticipation',399 component: resolve =>400 require([401 'src/views/modules/userBehaviorAnalysis/sysParticipation'402 ], resolve)403 },404 307: {405 name: 'sysSaturation',406 component: resolve =>407 require(['src/views/modules/userBehaviorAnalysis/sysSaturation'], resolve)408 },409 401: {410 name: 'recharge-hot-plant',411 component: resolve =>412 require(['src/views/modules/marketingAnalysis/rechargeHotPlant'], resolve)413 },414 402: {415 name: 'big-customer-trend',416 component: resolve =>417 require(['src/views/modules/marketingAnalysis/bigCustomerTrend'], resolve)418 },419 403: {420 name: 'fashionConsum',421 component: resolve =>422 require(['src/views/modules/marketingAnalysis/fashionConsum'], resolve)423 },424 404: {425 name: 'hotConsum',426 component: resolve =>427 require(['src/views/modules/marketingAnalysis/hotConsum'], resolve)428 },429 405: {430 name: 'timeLimitConsum',431 component: resolve =>432 require(['src/views/modules/marketingAnalysis/timeLimitConsum'], resolve)433 },434 406: {435 name: 'payHotPlant',436 component: resolve =>437 require(['src/views/modules/marketingAnalysis/payHotPlant'], resolve)438 },439 501: {440 name: 'recharge-order',441 component: resolve =>442 require(['src/views/modules/formData/rechargeOrder'], resolve)443 },444 502: {445 name: 'first-pay-detail',446 component: resolve =>447 require(['src/views/modules/formData/firstPayDetail'], resolve)448 },449 503: {450 name: 'reg-detail',451 component: resolve =>452 require(['src/views/modules/formData/regDetail'], resolve)453 },454 901: {455 name: "market",456 component: resolve =>457 require(['src/views/modules/reports/markets'], resolve)458 },459 902: {460 name: "real-time",461 component: resolve =>462 require(['src/views/modules/reports/real-time'], resolve)463 }464 }465}...
route-opt.js
Source:route-opt.js
1/**2 * è·¯ç±é
置表3 * */4import cardRoutes from './route-card'5import contentRoutes from './route-content'6import listRoutes from './route-list'7import pickerRoutes from './route-picker'8import scrollRoutes from './route-scroll'9import segmentRoutes from './route-segment'10import tabsRoutes from './route-tabs'11import inputRoutes from './route-input'12import textareaRoutes from './route-textarea'13let routes = [14 {15 path: '/',16 name: 'index',17 meta: {18 root: true19 },20 component: require('@/pages/index.vue')21 },22 {23 path: '/components',24 name: 'components',25 component: require('@/pages/components.vue')26 },27 {28 path: '/grid',29 name: 'grid',30 component (resolve) {31 require(['@/pages/grid.vue'], resolve)32 }33 },34 // ---- menu ----35 {36 path: '/introduce',37 name: 'introduce',38 component (resolve) {39 require(['@/pages/introduce.vue'], resolve)40 }41 },42 {43 path: '/howToStart',44 name: 'howToStart',45 component (resolve) {46 require(['@/pages/how-to-start.vue'], resolve)47 }48 },49 {50 path: '/config',51 name: 'config',52 component (resolve) {53 require(['@/pages/config.vue'], resolve)54 }55 },56 {57 path: '/history',58 name: 'history',59 component (resolve) {60 require(['@/pages/history.vue'], resolve)61 }62 },63 // ---- component ----64 // ---- component/base ----65 {66 path: '/app',67 // name: 'app',68 component (resolve) {69 require(['@/pages/app.vue'], resolve)70 }71 },72 {73 path: '/nav',74 name: 'nav',75 component (resolve) {76 require(['@/pages/nav.vue'], resolve)77 }78 },79 {80 path: '/platform',81 name: 'platform',82 component (resolve) {83 require(['@/pages/platform.vue'], resolve)84 }85 },86 {87 path: '/cross-platform',88 name: 'crossPlatform',89 component (resolve) {90 require(['@/pages/cross-platform.vue'], resolve)91 }92 },93 {94 path: '/toolbar',95 name: 'toolbar',96 component (resolve) {97 require(['@/pages/toolbar.vue'], resolve)98 }99 },100 // ---- component/å¼¹åºå±ç»ä»¶ ----101 {102 path: '/action-sheet',103 name: 'actionSheet',104 component (resolve) {105 require(['@/pages/action-sheet.vue'], resolve)106 }107 },108 {109 path: '/alert',110 name: 'alert',111 component (resolve) {112 require(['@/pages/alert.vue'], resolve)113 }114 },115 {116 path: '/popover',117 name: 'popover',118 component: require('@/pages/popover/popover.vue')119 },120 {121 path: '/backdrop',122 name: 'backdrop',123 component (resolve) {124 require(['@/pages/backdrop.vue'], resolve)125 }126 },127 {128 path: '/loading',129 name: 'loading',130 component (resolve) {131 require(['@/pages/loading.vue'], resolve)132 }133 },134 {135 path: '/indicator',136 name: 'indicator',137 component (resolve) {138 require(['@/pages/indicator.vue'], resolve)139 }140 },141 {142 path: '/modal',143 name: 'modal',144 component (resolve) {145 require(['@/pages/modal/modal.vue'], resolve)146 }147 },148 {149 path: '/toast',150 name: 'toast',151 component (resolve) {152 require(['@/pages/toast.vue'], resolve)153 }154 },155 {156 path: '/toast-state',157 name: 'toastState',158 component (resolve) {159 require(['@/pages/toast-state.vue'], resolve)160 }161 },162 // ---- component/éç¨ç»ä»¶ ----163 {164 path: '/button',165 name: 'button',166 component (resolve) {167 require(['@/pages/button.vue'], resolve)168 }169 },170 {171 path: '/icon',172 name: 'icon',173 component (resolve) {174 require(['@/pages/icon.vue'], resolve)175 }176 },177 {178 path: '/spinner',179 name: 'spinner',180 component (resolve) {181 require(['@/pages/spinner.vue'], resolve)182 }183 },184 {185 path: '/badge',186 name: 'badge',187 component (resolve) {188 require(['@/pages/badge.vue'], resolve)189 }190 },191 {192 path: '/fab',193 name: 'fab',194 component (resolve) {195 require(['@/pages/fab.vue'], resolve)196 }197 },198 {199 path: '/img',200 name: 'img',201 component (resolve) {202 require(['@/pages/img.vue'], resolve)203 }204 },205 {206 path: '/slides',207 name: 'slides',208 component (resolve) {209 require(['@/pages/slides.vue'], resolve)210 }211 },212 {213 path: '/slides-lite',214 name: 'slidesLite',215 component (resolve) {216 require(['@/pages/slides-lite.vue'], resolve)217 }218 },219 {220 path: '/feedback',221 name: 'feedback',222 component (resolve) {223 require(['@/pages/feedback.vue'], resolve)224 }225 },226 {227 path: '/scroll-segment',228 name: 'scrollSegment',229 component (resolve) {230 require(['@/pages/scroll-segment.vue'], resolve)231 }232 },233 {234 path: '/notice-bar',235 name: 'noticeBar',236 component (resolve) {237 require(['@/pages/notice-bar.vue'], resolve)238 }239 },240 {241 path: '/separation',242 name: 'separation',243 component (resolve) {244 require(['@/pages/separation.vue'], resolve)245 }246 },247 {248 path: '/slide-box',249 name: 'slideBox',250 component (resolve) {251 require(['@/pages/slide-box.vue'], resolve)252 }253 },254 {255 path: '/deeplink',256 name: 'deeplink',257 component (resolve) {258 require(['@/pages/deeplink/deeplink.vue'], resolve)259 }260 },261 {262 path: '/oia-page',263 name: 'oiaPage',264 component (resolve) {265 require(['@/pages/deeplink/oia-page.vue'], resolve)266 }267 },268 {269 path: '/preview-image',270 name: 'previewImage',271 component (resolve) {272 require(['@/pages/preview-image.vue'], resolve)273 }274 },275 {276 path: '/choose-city',277 name: 'chooseCity',278 component (resolve) {279 require(['@/pages/choose-city.vue'], resolve)280 }281 },282 {283 path: '/sheet',284 name: 'sheet',285 component (resolve) {286 require(['@/pages/sheet.vue'], resolve)287 }288 },289 {290 path: '/pop-sheet',291 name: 'popSheet',292 component (resolve) {293 require(['@/pages/pop-sheet.vue'], resolve)294 }295 },296 {297 path: '/menu',298 name: 'menu',299 component (resolve) {300 require(['@/pages/menu.vue'], resolve)301 }302 },303 // ---- component/Formç»ä»¶ ----304 {305 path: '/toggle',306 name: 'toggle',307 component (resolve) {308 require(['@/pages/toggle.vue'], resolve)309 }310 },311 {312 path: '/checkbox',313 name: 'checkbox',314 component (resolve) {315 require(['@/pages/checkbox.vue'], resolve)316 }317 },318 {319 path: '/radio',320 name: 'radio',321 component (resolve) {322 require(['@/pages/radio.vue'], resolve)323 }324 },325 {326 path: '/select',327 name: 'select',328 component (resolve) {329 require(['@/pages/select.vue'], resolve)330 }331 },332 {333 path: '/searchbar',334 name: 'searchbar',335 component (resolve) {336 require(['@/pages/searchbar.vue'], resolve)337 }338 },339 {340 path: '/range',341 name: 'range',342 component (resolve) {343 require(['@/pages/range.vue'], resolve)344 }345 },346 // ---- æ°æ®å è½½ ----347 {348 path: '/infinite-scroll',349 name: 'infinite-scroll',350 component (resolve) {351 require(['@/pages/infinite-scroll.vue'], resolve)352 }353 },354 {355 path: '/refresher',356 name: 'refresher',357 component (resolve) {358 require(['@/pages/refresher.vue'], resolve)359 }360 },361 // 模å362 {363 path: '/storage',364 name: 'storage',365 component (resolve) {366 require(['@/pages/storage.vue'], resolve)367 }368 },369 {370 path: '/geo',371 name: 'geo',372 component (resolve) {373 require(['@/pages/geo.vue'], resolve)374 }375 },376 {377 path: '/log',378 name: 'log',379 component (resolve) {380 require(['@/pages/log.vue'], resolve)381 }382 },383 {384 path: '*',385 name: 'notFound',386 component (resolve) {387 require(['@/pages/not-found.vue'], resolve)388 }389 }390 // demo391 // {392 // path: '/snake-box',393 // name: 'snakeBox',394 // component (resolve) {395 // require(['@/pages/snake-box.vue'], resolve)396 // }397 // },398 // {399 // path: '/ghost',400 // name: 'ghostvue',401 // component (resolve) {402 // require(['@/pages/ghost.vue'], resolve)403 // }404 // },405 // {406 // path: '/floattop',407 // name: 'floattop',408 // component (resolve) {409 // require(['@/pages/floattop.vue'], resolve)410 // }411 // }412]413routes = routes.concat(contentRoutes)414routes = routes.concat(segmentRoutes)415routes = routes.concat(tabsRoutes)416routes = routes.concat(listRoutes)417routes = routes.concat(cardRoutes)418routes = routes.concat(scrollRoutes)419routes = routes.concat(pickerRoutes)420routes = routes.concat(inputRoutes)421routes = routes.concat(textareaRoutes)422export default {423 mode: 'hash',424 routes: routes // ï¼ç¼©åï¼ç¸å½äº routes: routes...
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!