index.js 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. import Vue from 'vue'
  2. import Router from 'vue-router'
  3. import SaleTask from '@/pages/saletask'
  4. import SaleTaskDetail from '@/pages/saletaskdetail'
  5. import BuyTaskDetail from '@/pages/buytaskdetail'
  6. import SaleTaskmxjd from '@/pages/saletaskmxjd'
  7. import Home from '@/pages/homenew'
  8. import Setting from '@/pages/setting'
  9. import Daily from '@/pages/daily'
  10. import Pushlist from '@/pages/pushlist'
  11. import About from '@/pages/about'
  12. import CsesSptTodo from '@/pages/cses_spt/todo'
  13. import CsesSptDetail from '@/pages/cses_spt/cses_spt_detail'
  14. import CsesSptFeedback from '@/pages/cses_spt/cses_spt_feedback'
  15. import WkpFinish from '@/pages/wkpfinish'
  16. import Orderwkp from '@/pages/orderwkp'
  17. import Quote from '@/pages/quote'
  18. import QuoteEdit from '@/pages/quoteedit'
  19. import QuotePad from '@/pages/quote_pad'
  20. import QuotePadEdit from '@/pages/quote_edit_pad'
  21. import QuoteRslt from '@/pages/quote_rslt'
  22. import Quotehis from '@/pages/quote_his'
  23. import CustReport from '@/pages/report/custreport'
  24. import ReportDetail from '@/pages/report/reportdetail'
  25. import SaletaskReport from '@/pages/report/saletaskreport'
  26. import Producerp from '@/pages/report/producerp'
  27. import Producemx from '@/pages/report/producemx'
  28. import Saletaskycrp from '@/pages/report/saletaskycrp'
  29. import Saleintime from '@/pages/report/saleintime'
  30. import Ito from '@/pages/report/ito'
  31. import Itomx from '@/pages/report/itomx'
  32. import Profit from '@/pages/report/profit'
  33. import Task from '@/pages/task'
  34. import TaskEdit from '@/pages/taskedit'
  35. import TaskView from '@/pages/taskview'
  36. import TodoList from '@/pages/l1todolist'
  37. import OaView from '@/pages/oaview'
  38. import Amerce from '@/pages/amerce'
  39. import Testcss from '@/pages/testcss'
  40. import Funclist from '@/pages/funclist'
  41. import DmHome from '@/pages/dmweb/dmhome'
  42. import HomeRp from '@/pages/homerp'
  43. import OrderZl from '@/pages/orderzl'
  44. import OrderZLMX from '@/pages/orderzlmx'
  45. import OrderWkpMx from '@/pages/orderwkpmx'
  46. Vue.use(Router)
  47. export default new Router({
  48. routes: [
  49. {
  50. path: '/',
  51. name: 'Home',
  52. component: Home
  53. },
  54. {
  55. path: '/taskedit',
  56. name: 'TaskEdit',
  57. component: TaskEdit,
  58. meta: {
  59. title: '工作任务'
  60. }
  61. },
  62. {
  63. path: '/orderwkpmx',
  64. name: 'OrderWkpMx',
  65. component: OrderWkpMx,
  66. meta: {
  67. title: '工组详情'
  68. }
  69. },
  70. {
  71. path: '/orderzlmx',
  72. name: 'OrderZLMX',
  73. component: OrderZLMX,
  74. meta: {
  75. title: '指令单详情'
  76. }
  77. },
  78. {
  79. path: '/orderzl',
  80. name: 'OrderZl',
  81. component: OrderZl,
  82. meta: {
  83. title: '指令单'
  84. }
  85. },
  86. {
  87. path: '/homerp',
  88. name: 'HomeRp',
  89. component: HomeRp,
  90. meta: {
  91. title: '首页报表'
  92. }
  93. },
  94. {
  95. path: '/dmhome',
  96. name: 'DmHome',
  97. component: DmHome,
  98. meta: {
  99. title: '需求管理'
  100. }
  101. },
  102. {
  103. path: '/funclist',
  104. name: 'Funclist',
  105. component: Funclist,
  106. meta: {
  107. title: '功能'
  108. }
  109. },
  110. {
  111. path: '/testcss',
  112. name: 'Testcss',
  113. component: Testcss,
  114. meta: {
  115. title: '测试CSS'
  116. }
  117. },
  118. {
  119. path: '/buytaskdetail',
  120. name: 'BuyTaskDetail',
  121. component: BuyTaskDetail,
  122. meta: {
  123. title: '采购订单详情'
  124. }
  125. },
  126. {
  127. path: '/amerce',
  128. name: 'Amerce',
  129. component: Amerce,
  130. meta: {
  131. title: '供应商罚款单'
  132. }
  133. },
  134. {
  135. path: '/oaview',
  136. name: 'OaView',
  137. component: OaView,
  138. meta: {
  139. title: '公文审批'
  140. }
  141. },
  142. {
  143. path: '/todolist',
  144. name: 'TodoList',
  145. component: TodoList,
  146. meta: {
  147. title: '待办'
  148. }
  149. },
  150. {
  151. path: '/taskview',
  152. name: 'TaskView',
  153. component: TaskView,
  154. meta: {
  155. title: '工作任务'
  156. }
  157. },
  158. {
  159. path: '/task',
  160. name: 'Task',
  161. component: Task,
  162. meta: {
  163. title: '工作任务'
  164. }
  165. },
  166. {
  167. path: '/detail',
  168. name: 'SaleTaskDetail',
  169. component: SaleTaskDetail,
  170. meta: {
  171. title: '订单详情'
  172. }
  173. },
  174. {
  175. path: '/salemxjd',
  176. name: 'SaleTaskmxjd',
  177. component: SaleTaskmxjd,
  178. meta: {
  179. title: '订单详情'
  180. }
  181. },
  182. {
  183. path: '/saletask',
  184. name: 'SaleTask',
  185. component: SaleTask,
  186. meta: {
  187. title: '订单列表'
  188. }
  189. },
  190. {
  191. path: '/setting',
  192. name: 'Setting',
  193. component: Setting,
  194. meta: {
  195. title: '我'
  196. }
  197. },
  198. {
  199. path: '/daily',
  200. name: 'Daily',
  201. component: Daily,
  202. meta: {
  203. title: '经营日报表'
  204. }
  205. },
  206. {
  207. path: '/pushlist',
  208. name: 'Pushlist',
  209. component: Pushlist,
  210. meta: {
  211. title: '推送资讯'
  212. }
  213. },
  214. {
  215. path: '/about',
  216. name: 'About',
  217. component: About,
  218. meta: {
  219. title: '关于'
  220. }
  221. },
  222. {
  223. path: '/csesspttodo',
  224. name: 'CsesSptTodo',
  225. component: CsesSptTodo,
  226. meta: {
  227. title: '待接收'
  228. }
  229. },
  230. {
  231. path: '/csessptdetail',
  232. name: 'CsesSptDetail',
  233. component: CsesSptDetail,
  234. meta: {
  235. title: '采购订单详情'
  236. }
  237. },
  238. {
  239. path: '/csessptfeedback',
  240. name: 'CsesSptFeedback',
  241. component: CsesSptFeedback,
  242. meta: {
  243. title: '待回复'
  244. }
  245. },
  246. {
  247. path: '/wkpfinish',
  248. name: 'WkpFinish',
  249. component: WkpFinish,
  250. meta: {
  251. title: '工组完工'
  252. }
  253. },
  254. {
  255. path: '/orderwkp',
  256. name: 'Orderwkp',
  257. component: Orderwkp,
  258. meta: {
  259. title: '工组进度'
  260. }
  261. },
  262. {
  263. path: '/quote',
  264. name: 'Quote',
  265. component: Quote,
  266. meta: {
  267. title: '产品报价'
  268. }
  269. },
  270. {
  271. path: '/quoteedit',
  272. name: 'QuoteEdit',
  273. component: QuoteEdit,
  274. meta: {
  275. title: '产品报价'
  276. }
  277. },
  278. {
  279. path: '/quote_pad',
  280. name: 'QuotePad',
  281. component: QuotePad,
  282. meta: {
  283. title: '产品报价'
  284. }
  285. },
  286. {
  287. path: '/quote_edit_pad',
  288. name: 'QuotePadEdit',
  289. component: QuotePadEdit,
  290. meta: {
  291. title: '产品报价'
  292. }
  293. },
  294. {
  295. path: '/quote_rslt',
  296. name: 'QuoteRslt',
  297. component: QuoteRslt,
  298. meta: {
  299. title: '产品报价'
  300. }
  301. },
  302. {
  303. path: '/quotehis',
  304. name: 'Quotehis',
  305. component: Quotehis,
  306. meta: {
  307. title: '产品报价历史'
  308. }
  309. },
  310. {
  311. path: '/custreport',
  312. name: 'CustReport',
  313. component: CustReport,
  314. meta: {
  315. title: '客户销售排名统计表'
  316. }
  317. },
  318. {
  319. path: '/reportdetail',
  320. name: 'ReportDetail',
  321. component: ReportDetail,
  322. meta: {
  323. title: '报表明细'
  324. }
  325. },
  326. {
  327. path: '/saletaskreport',
  328. name: 'SaletaskReport',
  329. component: SaletaskReport,
  330. meta: {
  331. title: '新增销售订单统计表'
  332. }
  333. },
  334. {
  335. path: '/producerp',
  336. name: 'Producerp',
  337. component: Producerp,
  338. meta: {
  339. title: '产值统计表'
  340. }
  341. },
  342. {
  343. path: '/producemx',
  344. name: 'Producemx',
  345. component: Producemx,
  346. meta: {
  347. title: '生产类明细表'
  348. }
  349. },
  350. {
  351. path: '/saletaskycrp',
  352. name: 'Saletaskycrp',
  353. component: Saletaskycrp,
  354. meta: {
  355. title: '在进行出口订单异常统计表'
  356. }
  357. },
  358. {
  359. path: '/saleintime',
  360. name: 'Saleintime',
  361. component: Saleintime,
  362. meta: {
  363. title: '销售准交统计表'
  364. }
  365. },
  366. {
  367. path: '/ito',
  368. name: 'Ito',
  369. component: Ito,
  370. meta: {
  371. title: '周转统计表'
  372. }
  373. },
  374. {
  375. path: '/itomx',
  376. name: 'Itomx',
  377. component: Itomx,
  378. meta: {
  379. title: '周转统计表明细'
  380. }
  381. },
  382. {
  383. path: '/profit',
  384. name: 'Profit',
  385. component: Profit,
  386. meta: {
  387. title: '销售订单利润统计表'
  388. }
  389. }
  390. ]
  391. })