index.js 15 KB

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