index.js 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. import Vue from 'vue'
  2. import Router from 'vue-router'
  3. import HelloWorld from '@/components/HelloWorld'
  4. import Login from '@/components/Login'
  5. import home from '@/components/home'
  6. import Enroll from '@/components/Enroll'
  7. import index from '@/components/child/index'
  8. import Aideindex from '@/components/child/Aideindex'
  9. import Marketindex from '@/components/child/Marketindex'
  10. import financeindex from '@/components/child/financeindex'
  11. import Globalindex from '@/components/child/Globalindex'
  12. import Generalindex from '@/components/child/Generalindex'
  13. import AuthorityJob from '@/components/child/AuthorityJob'
  14. import Controltree from '@/components/child/Controltree'
  15. import Company from '@/components/system/Company'
  16. import AuthorityUser from '@/components/child/AuthorityUser'
  17. import PageConfig from '@/components/child/PageConfig'
  18. import Carguide from '@/components/OP/Carguide'
  19. import Groupedit from '@/components/OP/Groupedit'
  20. import OPgroup from '@/components/OP/OPgroup'
  21. import Tourguide from '@/components/OP/Tourguide'
  22. import Department from '@/components/system/Department'
  23. import User from '@/components/system/User'
  24. import JobPost from '@/components/system/JobPost'
  25. import CarData from '@/components/Resource/CarData'
  26. import CarDataAdd from '@/components/Resource/CarDataAdd'
  27. import CarDataEdit from '@/components/Resource/CarDataEdit'
  28. import Customerdata from '@/components/materials/Customerdata'
  29. import LocalGuide from '@/components/Resource/LocalGuide'
  30. import LocalGuideOperation from '@/components/Resource/LocalGuideOperation'
  31. import ThreeCode from '@/components/Resource/ThreeCode'
  32. import ThreeCodeOperation from '@/components/Resource/ThreeCodeOperation'
  33. import HotelData from '@/components/Resource/HotelData'
  34. import visaform from '@/components/OP/visaform'
  35. import PageFun from '@/components/child/PageFunction'
  36. import HotelDataOperation from '@/components/Resource/HotelDataOperation'
  37. import visaEdit from '@/components/OP/visaEdit'
  38. import CountryFeeCost from '@/components/Resource/CountryFeeCost'
  39. import CountryFeeCostOperation from '@/components/Resource/CountryFeeCostOperation'
  40. import SetDataType from '@/components/system/SetDataType';
  41. import SetData from '@/components/system/SetData';
  42. import CustomerCompany from '@/components/Crm/CustomerCompany';
  43. import DeleClient from '@/components/Crm/DeleClient';
  44. import Cost from '@/components/Finance/Cost';
  45. import MCR from '@/components/MCR/MarketCustomerResourcesHome';
  46. import MCROper from '@/components/MCR/MarketCustomerResourcesOperation';
  47. import OCRIdentify from '@/components/OP/OCRIdentify';
  48. import GroupsTaskAssignment from '@/components/OP/GroupsTaskAssignment';
  49. import DailyFeePayment from '@/components/Finance/DailyFeePayment';
  50. import DailyFeeedit from '@/components/Finance/DailyFeeedit';
  51. import GPTindex from '@/components/GPT/GPTindex';
  52. import ExpenseReview from '@/components/Finance/ExpenseReview';
  53. import FeesPage from '@/components/Finance/FeesPage';
  54. import AirTicketAgent from '@/components/Resource/AirTicketAgent';
  55. import AirTicketRes from '@/components/OP/AirTicketRes';
  56. import OpAirTicketRes from '@/components/OP/OpAirTicketRes';
  57. import DecreasePayments from '@/components/OP/DecreasePayments';
  58. import OpDecreasePayments from '@/components/OP/OpDecreasePayments';
  59. import Richtext from '@/components/GPT/Richtext';
  60. import Currency from '@/components/Finance/Currency';
  61. import PaymentFiled from '@/components/Finance/PaymentFiled';
  62. import Collection from '@/components/Finance/Collection';
  63. import InvitationOfficialActivities from '@/components/OP/InvitationOfficialActivities'
  64. import OpInvitationOfficialActivities from '@/components/OP/OpInvitationOfficialActivities';
  65. import InvitationOfficialActivityData from '@/components/Resource/InvitationOfficialActivityData';
  66. import OpInvitationOfficialActivityData from '@/components/Resource/OpInvitationOfficialActivityData';
  67. import OfficialActivities from '@/components/Resource/OfficialActivities'
  68. import OpOfficialActivities from '@/components/Resource/OpOfficialActivities'
  69. import AskData from '@/components/Resource/AskData'
  70. import OpAskData from '@/components/Resource/OpAskData'
  71. import HotelReservations from '@/components/OP/HotelReservations'
  72. import DelegationEnData from '@/components/OP/DelegationEnData'
  73. import OpDelegationEnData from '@/components/OP/OpDelegationEnData'
  74. import invitationLetter from '@/components/Resource/invitationLetter'
  75. import EntryDetails from '@/components/OP/EntryDetails'
  76. import TicketBlackCode from '@/components/Resource/TicketBlackCode'
  77. import OpTicketBlackCode from '@/components/Resource/OpTicketBlackCode'
  78. import Payroll from '@/components/system/Payroll';
  79. import VisaPriec from '@/components/OP/VisaPriec';
  80. import OpVisaPriec from '@/components/OP/OpVisaPriec';
  81. import GroundDetailedfees from '@/components/Resource/GroundDetailedfees';
  82. import SetWorking from '@/components/system/SetWorking';
  83. import ThreeStandards from '@/components/OP/ThreeStandards'
  84. import OpLtinerary from '@/components/OP/OpLtinerary'
  85. import CarTouristGuideGroundId from '@/components/OP/CarTouristGuideGroundId'
  86. import OpCarTouristGuideGroundId from '@/components/OP/OpCarTouristGuideGroundId'
  87. import CarTouristGuideGrounContent from '@/components/OP/CarTouristGuideGrounContent'
  88. import PayReceived from '@/components/Finance/PayReceived';
  89. import LncomingBills from '@/components/Finance/LncomingBills';
  90. import GroupStatus from '@/components/Finance/GroupStatus';
  91. import Sendack from '@/components/Finance/Sendack';
  92. import Groupreports from '@/components/statistics/Groupreports';
  93. import Customers from '@/components/OP/Customers';
  94. import OpCustomers from '@/components/OP/OpCustomers';
  95. import Reportstbale from '@/components/statistics/Reportstbale';
  96. import PickupList from '@/components/OP/PickupList';
  97. import TaskList from '@/components/system/TaskList';
  98. import AssignTasks from '@/components/system/AssignTasks';
  99. import MyTasksinif from '@/components/system/MyTasksinif';
  100. import test from '@/components/child/test';
  101. import Statistically from '@/components/statistics/Statistically';
  102. Vue.use(Router)
  103. export default new Router({
  104. routes: [
  105. {
  106. path: '/',
  107. name: 'Login',
  108. component: Login
  109. },
  110. {
  111. path: '/home',
  112. name: 'home',
  113. component: home,
  114. children: [
  115. {
  116. path: '/home/index',
  117. name: 'index',
  118. component: index
  119. },
  120. {
  121. path: '/home/Generalindex',
  122. name: 'Generalindex',
  123. component: Generalindex
  124. },
  125. {
  126. path: '/home/Aideindex',
  127. name: 'Aideindex',
  128. component: Aideindex
  129. },
  130. {
  131. path: '/home/Marketindex',
  132. name: 'Marketindex',
  133. component: Marketindex
  134. },
  135. {
  136. path: '/home/financeindex',
  137. name: 'financeindex',
  138. component: financeindex
  139. },
  140. {
  141. path: '/home/Globalindex',
  142. name: 'financeindex',
  143. component: Globalindex
  144. },
  145. {
  146. path: '/home/AuthorityJob',
  147. name: 'AuthorityJob',
  148. component: AuthorityJob
  149. },
  150. {
  151. path: '/home/AuthorityUser',
  152. name: 'AuthorityUser',
  153. component: AuthorityUser
  154. },
  155. {
  156. path: '/home/Carguide',
  157. name: 'Carguide',
  158. component: Carguide
  159. },
  160. {
  161. path: '/home/Controltree',
  162. name: 'Controltree',
  163. component: Controltree
  164. },
  165. {
  166. path: '/home/Company',
  167. name: 'Company',
  168. component: Company
  169. },
  170. {
  171. path: '/home/PageConfig',
  172. name: 'PageConfig',
  173. component: PageConfig
  174. },
  175. {
  176. path: '/home/Department',
  177. name: 'Department',
  178. component: Department
  179. },
  180. {
  181. path: '/home/Groupedit',
  182. name: 'Groupedit',
  183. component: Groupedit,
  184. meta: {
  185. keepAlive: false, //此组件需要被缓存
  186. isBack:false, //用于判断上一个页面是哪个
  187. }
  188. }, {
  189. path: '/home/OPgroup',
  190. name: 'OPgroup',
  191. component: OPgroup,
  192. meta: {
  193. keepAlive: true, //此组件需要被缓存
  194. isBack:false, //用于判断上一个页面是哪个
  195. }
  196. }, {
  197. path: '/home/Tourguide',
  198. name: 'Tourguide',
  199. component: Tourguide
  200. }, {
  201. path: '/home/User',
  202. name: 'User',
  203. component: User
  204. }, {
  205. path: '/home/JobPost',
  206. name: 'JobPost',
  207. component: JobPost
  208. }, {
  209. path: '/home/CarData',
  210. name: 'CarData',
  211. component: CarData
  212. }, {
  213. path: '/home/CarDataAdd',
  214. name: 'CarDataAdd',
  215. component: CarDataAdd
  216. }, {
  217. path: '/home/CarDataEdit',
  218. name: 'CarDataEdit',
  219. component: CarDataEdit
  220. },
  221. {
  222. path: '/home/LocalGuide',
  223. name: 'LocalGuide',
  224. component: LocalGuide
  225. }, {
  226. path: '/home/LocalGuideOperation',
  227. name: 'LocalGuideOperation',
  228. component: LocalGuideOperation
  229. },
  230. {
  231. path: '/home/Customerdata',
  232. name: 'Customerdata',
  233. component: Customerdata
  234. },
  235. {
  236. path: '/home/ThreeCode',
  237. name: 'ThreeCode',
  238. component: ThreeCode
  239. },
  240. {
  241. path: '/home/ThreeCodeOperation',
  242. name: 'ThreeCodeOperation',
  243. component: ThreeCodeOperation
  244. },
  245. {
  246. path: '/home/HotelData',
  247. name: 'HotelData',
  248. component: HotelData
  249. },
  250. {
  251. path: '/home/visaform',
  252. name: 'visaform',
  253. component: visaform
  254. },
  255. {
  256. path: '/home/PageFun',
  257. name: 'PageFun',
  258. component: PageFun
  259. },
  260. {
  261. path: '/home/HotelDataOperation',
  262. name: 'HotelDataOperation',
  263. component: HotelDataOperation
  264. },
  265. {
  266. path: '/home/visaEdit',
  267. name: 'visaEdit',
  268. component: visaEdit
  269. },
  270. {
  271. path: '/home/CountryFeeCost',
  272. name: 'CountryFeeCost',
  273. component: CountryFeeCost
  274. },
  275. {
  276. path: '/home/CountryFeeCostOperation',
  277. name: 'CountryFeeCostOperation',
  278. component: CountryFeeCostOperation
  279. },
  280. {
  281. path: '/home/SetDataType',
  282. name: 'SetDataType',
  283. component: SetDataType
  284. },
  285. {
  286. path: '/home/SetData',
  287. name: 'SetData',
  288. component: SetData
  289. },
  290. {
  291. path: '/home/CustomerCompany',
  292. name: 'CustomerCompany',
  293. component: CustomerCompany
  294. },
  295. {
  296. path: '/home/DeleClient',
  297. name: 'DeleClient',
  298. component: DeleClient
  299. },
  300. {
  301. path: '/home/Cost',
  302. name: 'Cost',
  303. component: Cost
  304. },
  305. {
  306. path: '/home/MCR',
  307. name: 'MCR',
  308. component: MCR
  309. },
  310. {
  311. path: '/home/MCROper',
  312. name: 'MCROper',
  313. component: MCROper
  314. },
  315. {
  316. path: '/home/OCRIdentify',
  317. name: 'Cost',
  318. component: OCRIdentify
  319. },
  320. {
  321. path: '/home/GroupsTaskAssignment',
  322. name: 'GroupsTaskAssignment',
  323. component: GroupsTaskAssignment
  324. },
  325. {
  326. path: '/home/DailyFeePayment',
  327. name: 'DailyFeePayment',
  328. component: DailyFeePayment,
  329. meta: {
  330. keepAlive: true, //此组件需要被缓存
  331. isBack:false, //用于判断上一个页面是哪个
  332. }
  333. },
  334. {
  335. path: '/home/DailyFeeedit',
  336. name: 'DailyFeeedit',
  337. component: DailyFeeedit
  338. },
  339. {
  340. path: '/home/GPTindex',
  341. name: 'GPTindex',
  342. component: GPTindex
  343. },
  344. {
  345. path: '/home/ExpenseReview',
  346. name: 'ExpenseReview',
  347. component: ExpenseReview,
  348. meta: {
  349. keepAlive: true, //此组件需要被缓存
  350. isBack:false, //用于判断上一个页面是哪个
  351. }
  352. },
  353. {
  354. path: '/home/FeesPage',
  355. name: 'FeesPage',
  356. component: FeesPage
  357. },
  358. {
  359. path: '/home/AirTicketAgent',
  360. name: 'AirTicketAgent',
  361. component: AirTicketAgent
  362. },
  363. {
  364. path: '/home/AirTicketRes',
  365. name: 'AirTicketRes',
  366. component: AirTicketRes
  367. },
  368. {
  369. path: '/home/OpAirTicketRes',
  370. name: 'OpAirTicketRes',
  371. component: OpAirTicketRes
  372. },
  373. {
  374. path: '/home/DecreasePayments',
  375. name: 'DecreasePayments',
  376. component: DecreasePayments
  377. },
  378. {
  379. path: '/home/OpDecreasePayments',
  380. name: 'OpDecreasePayments',
  381. component: OpDecreasePayments
  382. },
  383. {
  384. path: '/home/Richtext',
  385. name: 'Richtext',
  386. component: Richtext
  387. },
  388. {
  389. path: '/home/Currency',
  390. name: 'Currency',
  391. component: Currency
  392. },
  393. {
  394. path: '/home/PaymentFiled',
  395. name: 'PaymentFiled',
  396. component: PaymentFiled
  397. },
  398. {
  399. path: '/home/Collection',
  400. name: 'Collection',
  401. component: Collection
  402. },
  403. {
  404. path: '/home/InvitationOfficialActivities',
  405. name: 'InvitationOfficialActivities',
  406. component: InvitationOfficialActivities
  407. },
  408. {
  409. path: '/home/OpInvitationOfficialActivities',
  410. name: 'OpInvitationOfficialActivities',
  411. component: OpInvitationOfficialActivities
  412. },
  413. {
  414. path: '/home/InvitationOfficialActivityData',
  415. name: 'InvitationOfficialActivityData',
  416. component: InvitationOfficialActivityData
  417. },
  418. {
  419. path: '/home/OpInvitationOfficialActivityData',
  420. name: 'OpInvitationOfficialActivityData',
  421. component: OpInvitationOfficialActivityData
  422. },
  423. {
  424. path: '/home/OfficialActivities',
  425. name: 'OfficialActivities',
  426. component: OfficialActivities
  427. },
  428. {
  429. path: '/home/OpOfficialActivities',
  430. name: 'OpOfficialActivities',
  431. component: OpOfficialActivities
  432. },
  433. {
  434. path: '/home/AskData',
  435. name: 'AskData',
  436. component: AskData
  437. },
  438. {
  439. path: '/home/OpAskData',
  440. name: 'OpAskData',
  441. component: OpAskData
  442. },
  443. {
  444. path: '/home/DelegationEnData',
  445. name: 'DelegationEnData',
  446. component: DelegationEnData
  447. },
  448. {
  449. path: '/home/OpDelegationEnData',
  450. name: 'OpDelegationEnData',
  451. component: OpDelegationEnData
  452. },
  453. {
  454. path: '/home/invitationLetter',
  455. name: 'invitationLetter',
  456. component: invitationLetter
  457. },
  458. {
  459. path: '/home/TicketBlackCode',
  460. name: 'TicketBlackCode',
  461. component: TicketBlackCode,
  462. meta: {
  463. keepAlive: true, //此组件需要被缓存
  464. isBack:false, //用于判断上一个页面是哪个
  465. }
  466. },
  467. {
  468. path: '/home/OpTicketBlackCode',
  469. name: 'OpTicketBlackCode',
  470. component: OpTicketBlackCode
  471. },
  472. {
  473. path: '/home/HotelReservations',
  474. name: 'HotelReservations',
  475. component: HotelReservations
  476. },
  477. {
  478. path: '/home/EntryDetails',
  479. name: 'EntryDetails',
  480. component: EntryDetails
  481. },
  482. {
  483. path: '/home/Payroll',
  484. name: 'Payroll',
  485. component: Payroll
  486. },
  487. {
  488. path: '/home/VisaPriec',
  489. name: 'VisaPriec',
  490. component: VisaPriec
  491. },
  492. {
  493. path: '/home/OpVisaPriec',
  494. name: 'OpVisaPriec',
  495. component: OpVisaPriec
  496. },
  497. {
  498. path: '/home/GroundDetailedfees',
  499. name: 'GroundDetailedfees',
  500. component: GroundDetailedfees
  501. },
  502. {
  503. path: '/home/SetWorking',
  504. name: 'SetWorking',
  505. component: SetWorking
  506. },
  507. {
  508. path: '/home/ThreeStandards',
  509. name: 'ThreeStandards',
  510. component: ThreeStandards
  511. },
  512. {
  513. path: '/home/OpLtinerary',
  514. name: 'OpLtinerary',
  515. component: OpLtinerary
  516. },
  517. {
  518. path: '/home/CarTouristGuideGroundId',
  519. name: 'CarTouristGuideGroundId',
  520. component: CarTouristGuideGroundId
  521. },
  522. {
  523. path: '/home/OpCarTouristGuideGroundId',
  524. name: 'OpCarTouristGuideGroundId',
  525. component: OpCarTouristGuideGroundId
  526. },
  527. {
  528. path: '/home/CarTouristGuideGrounContent',
  529. name: 'CarTouristGuideGrounContent',
  530. component: CarTouristGuideGrounContent
  531. },
  532. {
  533. path: '/home/PayReceived',
  534. name: 'PayReceived',
  535. component: PayReceived
  536. },
  537. {
  538. path: '/home/LncomingBills',
  539. name: 'LncomingBills',
  540. component: LncomingBills
  541. },
  542. {
  543. path: '/home/GroupStatus',
  544. name: 'GroupStatus',
  545. component: GroupStatus
  546. },
  547. {
  548. path: '/home/Sendack',
  549. name: 'Sendack',
  550. component: Sendack
  551. },
  552. {
  553. path: '/home/Groupreports',
  554. name: 'Groupreports',
  555. component: Groupreports
  556. },
  557. {
  558. path: '/home/Customers',
  559. name: 'Customers',
  560. component: Customers
  561. },
  562. {
  563. path: '/home/OpCustomers',
  564. name: 'OpCustomers',
  565. component: OpCustomers
  566. },
  567. {
  568. path: '/home/Reportstbale',
  569. name: 'Reportstbale',
  570. component: Reportstbale
  571. },
  572. {
  573. path: '/home/PickupList',
  574. name: 'PickupList',
  575. component: PickupList
  576. },
  577. {
  578. path: '/home/TaskList',
  579. name: 'TaskList',
  580. component: TaskList,
  581. meta: {
  582. keepAlive: true, //此组件需要被缓存
  583. isBack:false, //用于判断上一个页面是哪个
  584. }
  585. },
  586. {
  587. path: '/home/AssignTasks',
  588. name: 'AssignTasks',
  589. component: AssignTasks
  590. },
  591. {
  592. path: '/home/MyTasksinif',
  593. name: 'MyTasksinif',
  594. component: MyTasksinif
  595. },
  596. {
  597. path: '/home/test',
  598. name: 'test',
  599. component: test
  600. },
  601. {
  602. path: '/home/Statistically',
  603. name: 'Statistically',
  604. component: Statistically
  605. },
  606. ]
  607. },
  608. {
  609. path: '/Enroll',
  610. name: 'Enroll',
  611. component: Enroll
  612. }
  613. ]
  614. })