index.js 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510
  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/Resource/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/Finance/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. Vue.use(Router)
  89. export default new Router({
  90. routes: [
  91. {
  92. path: '/',
  93. name: 'Login',
  94. component: Login
  95. },
  96. {
  97. path: '/home',
  98. name: 'home',
  99. component: home,
  100. children: [
  101. {
  102. path: '/home/index',
  103. name: 'index',
  104. component: index
  105. },
  106. {
  107. path: '/home/Generalindex',
  108. name: 'Generalindex',
  109. component: Generalindex
  110. },
  111. {
  112. path: '/home/Aideindex',
  113. name: 'Aideindex',
  114. component: Aideindex
  115. },
  116. {
  117. path: '/home/Marketindex',
  118. name: 'Marketindex',
  119. component: Marketindex
  120. },
  121. {
  122. path: '/home/financeindex',
  123. name: 'financeindex',
  124. component: financeindex
  125. },
  126. {
  127. path: '/home/Globalindex',
  128. name: 'financeindex',
  129. component: Globalindex
  130. },
  131. {
  132. path: '/home/AuthorityJob',
  133. name: 'AuthorityJob',
  134. component: AuthorityJob
  135. },
  136. {
  137. path: '/home/AuthorityUser',
  138. name: 'AuthorityUser',
  139. component: AuthorityUser
  140. },
  141. {
  142. path: '/home/Carguide',
  143. name: 'Carguide',
  144. component: Carguide
  145. },
  146. {
  147. path: '/home/Controltree',
  148. name: 'Controltree',
  149. component: Controltree
  150. },
  151. {
  152. path: '/home/Company',
  153. name: 'Company',
  154. component: Company
  155. },
  156. {
  157. path: '/home/PageConfig',
  158. name: 'PageConfig',
  159. component: PageConfig
  160. },
  161. {
  162. path: '/home/Department',
  163. name: 'Department',
  164. component: Department
  165. },
  166. {
  167. path: '/home/Groupedit',
  168. name: 'Groupedit',
  169. component: Groupedit
  170. }, {
  171. path: '/home/OPgroup',
  172. name: 'OPgroup',
  173. component: OPgroup
  174. }, {
  175. path: '/home/Tourguide',
  176. name: 'Tourguide',
  177. component: Tourguide
  178. }, {
  179. path: '/home/User',
  180. name: 'User',
  181. component: User
  182. }, {
  183. path: '/home/JobPost',
  184. name: 'JobPost',
  185. component: JobPost
  186. }, {
  187. path: '/home/CarData',
  188. name: 'CarData',
  189. component: CarData
  190. }, {
  191. path: '/home/CarDataAdd',
  192. name: 'CarDataAdd',
  193. component: CarDataAdd
  194. }, {
  195. path: '/home/CarDataEdit',
  196. name: 'CarDataEdit',
  197. component: CarDataEdit
  198. },
  199. {
  200. path: '/home/LocalGuide',
  201. name: 'LocalGuide',
  202. component: LocalGuide
  203. }, {
  204. path: '/home/LocalGuideOperation',
  205. name: 'LocalGuideOperation',
  206. component: LocalGuideOperation
  207. },
  208. {
  209. path: '/home/Customerdata',
  210. name: 'Customerdata',
  211. component: Customerdata
  212. },
  213. {
  214. path: '/home/ThreeCode',
  215. name: 'ThreeCode',
  216. component: ThreeCode
  217. },
  218. {
  219. path: '/home/ThreeCodeOperation',
  220. name: 'ThreeCodeOperation',
  221. component: ThreeCodeOperation
  222. },
  223. {
  224. path: '/home/HotelData',
  225. name: 'HotelData',
  226. component: HotelData
  227. },
  228. {
  229. path: '/home/visaform',
  230. name: 'visaform',
  231. component: visaform
  232. },
  233. {
  234. path: '/home/PageFun',
  235. name: 'PageFun',
  236. component: PageFun
  237. },
  238. {
  239. path: '/home/HotelDataOperation',
  240. name: 'HotelDataOperation',
  241. component: HotelDataOperation
  242. },
  243. {
  244. path: '/home/visaEdit',
  245. name: 'visaEdit',
  246. component: visaEdit
  247. },
  248. {
  249. path: '/home/CountryFeeCost',
  250. name: 'CountryFeeCost',
  251. component: CountryFeeCost
  252. },
  253. {
  254. path: '/home/CountryFeeCostOperation',
  255. name: 'CountryFeeCostOperation',
  256. component: CountryFeeCostOperation
  257. },
  258. {
  259. path: '/home/SetDataType',
  260. name: 'SetDataType',
  261. component: SetDataType
  262. },
  263. {
  264. path: '/home/SetData',
  265. name: 'SetData',
  266. component: SetData
  267. },
  268. {
  269. path: '/home/CustomerCompany',
  270. name: 'CustomerCompany',
  271. component: CustomerCompany
  272. },
  273. {
  274. path: '/home/DeleClient',
  275. name: 'DeleClient',
  276. component: DeleClient
  277. },
  278. {
  279. path: '/home/Cost',
  280. name: 'Cost',
  281. component: Cost
  282. },
  283. {
  284. path: '/home/MCR',
  285. name: 'MCR',
  286. component: MCR
  287. },
  288. {
  289. path: '/home/MCROper',
  290. name: 'MCROper',
  291. component: MCROper
  292. },
  293. {
  294. path: '/home/OCRIdentify',
  295. name: 'Cost',
  296. component: OCRIdentify
  297. },
  298. {
  299. path: '/home/GroupsTaskAssignment',
  300. name: 'GroupsTaskAssignment',
  301. component: GroupsTaskAssignment
  302. },
  303. {
  304. path: '/home/DailyFeePayment',
  305. name: 'DailyFeePayment',
  306. component: DailyFeePayment
  307. },
  308. {
  309. path: '/home/DailyFeeedit',
  310. name: 'DailyFeeedit',
  311. component: DailyFeeedit
  312. },
  313. {
  314. path: '/home/GPTindex',
  315. name: 'GPTindex',
  316. component: GPTindex
  317. },
  318. {
  319. path: '/home/ExpenseReview',
  320. name: 'ExpenseReview',
  321. component: ExpenseReview
  322. },
  323. {
  324. path: '/home/FeesPage',
  325. name: 'FeesPage',
  326. component: FeesPage
  327. },
  328. {
  329. path: '/home/AirTicketAgent',
  330. name: 'AirTicketAgent',
  331. component: AirTicketAgent
  332. },
  333. {
  334. path: '/home/AirTicketRes',
  335. name: 'AirTicketRes',
  336. component: AirTicketRes
  337. },
  338. {
  339. path: '/home/OpAirTicketRes',
  340. name: 'OpAirTicketRes',
  341. component: OpAirTicketRes
  342. },
  343. {
  344. path: '/home/DecreasePayments',
  345. name: 'DecreasePayments',
  346. component: DecreasePayments
  347. },
  348. {
  349. path: '/home/OpDecreasePayments',
  350. name: 'OpDecreasePayments',
  351. component: OpDecreasePayments
  352. },
  353. {
  354. path: '/home/Richtext',
  355. name: 'Richtext',
  356. component: Richtext
  357. },
  358. {
  359. path: '/home/Currency',
  360. name: 'Currency',
  361. component: Currency
  362. },
  363. {
  364. path: '/home/PaymentFiled',
  365. name: 'PaymentFiled',
  366. component: PaymentFiled
  367. },
  368. {
  369. path: '/home/Collection',
  370. name: 'Collection',
  371. component: Collection
  372. },
  373. {
  374. path: '/home/InvitationOfficialActivities',
  375. name: 'InvitationOfficialActivities',
  376. component: InvitationOfficialActivities
  377. },
  378. {
  379. path: '/home/OpInvitationOfficialActivities',
  380. name: 'OpInvitationOfficialActivities',
  381. component: OpInvitationOfficialActivities
  382. },
  383. {
  384. path: '/home/InvitationOfficialActivityData',
  385. name: 'InvitationOfficialActivityData',
  386. component: InvitationOfficialActivityData
  387. },
  388. {
  389. path: '/home/OpInvitationOfficialActivityData',
  390. name: 'OpInvitationOfficialActivityData',
  391. component: OpInvitationOfficialActivityData
  392. },
  393. {
  394. path: '/home/OfficialActivities',
  395. name: 'OfficialActivities',
  396. component: OfficialActivities
  397. },
  398. {
  399. path: '/home/OpOfficialActivities',
  400. name: 'OpOfficialActivities',
  401. component: OpOfficialActivities
  402. },
  403. {
  404. path: '/home/AskData',
  405. name: 'AskData',
  406. component: AskData
  407. },
  408. {
  409. path: '/home/OpAskData',
  410. name: 'OpAskData',
  411. component: OpAskData
  412. },
  413. {
  414. path: '/home/DelegationEnData',
  415. name: 'DelegationEnData',
  416. component: DelegationEnData
  417. },
  418. {
  419. path: '/home/OpDelegationEnData',
  420. name: 'OpDelegationEnData',
  421. component: OpDelegationEnData
  422. },
  423. {
  424. path: '/home/invitationLetter',
  425. name: 'invitationLetter',
  426. component: invitationLetter
  427. },
  428. {
  429. path: '/home/TicketBlackCode',
  430. name: 'TicketBlackCode',
  431. component: TicketBlackCode
  432. },
  433. {
  434. path: '/home/OpTicketBlackCode',
  435. name: 'OpTicketBlackCode',
  436. component: OpTicketBlackCode
  437. },
  438. {
  439. path: '/home/HotelReservations',
  440. name: 'HotelReservations',
  441. component: HotelReservations
  442. },
  443. {
  444. path: '/home/EntryDetails',
  445. name: 'EntryDetails',
  446. component: EntryDetails
  447. },
  448. {
  449. path: '/home/Payroll',
  450. name: 'Payroll',
  451. component: Payroll
  452. },
  453. {
  454. path: '/home/VisaPriec',
  455. name: 'VisaPriec',
  456. component: VisaPriec
  457. },
  458. {
  459. path: '/home/OpVisaPriec',
  460. name: 'OpVisaPriec',
  461. component: OpVisaPriec
  462. },
  463. {
  464. path: '/home/GroundDetailedfees',
  465. name: 'GroundDetailedfees',
  466. component: GroundDetailedfees
  467. },
  468. {
  469. path: '/home/SetWorking',
  470. name: 'SetWorking',
  471. component: SetWorking
  472. },
  473. {
  474. path: '/home/ThreeStandards',
  475. name: 'ThreeStandards',
  476. component: ThreeStandards
  477. },
  478. {
  479. path: '/home/OpLtinerary',
  480. name: 'OpLtinerary',
  481. component: OpLtinerary
  482. },
  483. {
  484. path: '/home/CarTouristGuideGroundId',
  485. name: 'CarTouristGuideGroundId',
  486. component: CarTouristGuideGroundId
  487. },
  488. {
  489. path: '/home/OpCarTouristGuideGroundId',
  490. name: 'OpCarTouristGuideGroundId',
  491. component: OpCarTouristGuideGroundId
  492. },
  493. {
  494. path: '/home/CarTouristGuideGrounContent',
  495. name: 'CarTouristGuideGrounContent',
  496. component: CarTouristGuideGrounContent
  497. }
  498. ]
  499. },
  500. {
  501. path: '/Enroll',
  502. name: 'Enroll',
  503. component: Enroll
  504. }
  505. ]
  506. })