Commit a1b48a44452ddb4407520122605d5d5540dbd59a

Authored by Adam
1 parent b58b17e1ee
Exists in master

auto commit the code by alias command

... ... @@ -2,6 +2,7 @@ import request from '@/utils/request'
2 2 import {
3 3 Notification
4 4 } from 'element-ui'
  5 +
5 6 // export const getPersonInfo = data => {
6 7 // return service({
7 8 // url: '/person_pay/getpersoninfo',
... ... @@ -26,39 +27,3 @@ export function fetchList(query) {
26 27 params: query
27 28 })
28 29 }
29   -
30   -// export function fetchArticle(id) {
31   -// return request({
32   -// url: '/yp/article/detail',
33   -// method: 'get',
34   -// params: {
35   -// id
36   -// }
37   -// })
38   -// }
39   -
40   -// export function fetchPv(pv) {
41   -// return request({
42   -// url: '/yp/article/pv',
43   -// method: 'get',
44   -// params: {
45   -// pv
46   -// }
47   -// })
48   -// }
49   -
50   -// export function createArticle(data) {
51   -// return request({
52   -// url: '/yp/article/create',
53   -// method: 'post',
54   -// data
55   -// })
56   -// }
57   -
58   -// export function updateArticle(data) {
59   -// return request({
60   -// url: '/yp/article/update',
61   -// method: 'post',
62   -// data
63   -// })
64   -// }
... ...
src/router/modules/prod.js
... ... @@ -13,35 +13,15 @@ const prodRouter = {
13 13 icon: 'star',
14 14 roles: ['admin', 'assistant', 'runner', 'shoper'] // you can set roles in root nav
15 15 },
16   - children: [
17   - // {
18   - // path: 'page',
19   - // component: () => import('@/views/permission/page'),
20   - // name: 'ProdList',
21   - // meta: {
22   - // title: 'ProdList',
23   - // roles: ['admin', 'assistant', 'runner', 'shoper']
24   - // }
25   - // },
26   - // {
27   - // path: 'defined',
28   - // component: () => import('@/views/permission/directive'),
29   - // name: 'ProdDefiend',
30   - // meta: {
31   - // title: 'ProdDefiend',
32   - // roles: ['admin', 'assistant', 'shoper']
33   - // }
34   - // },
35   - {
36   - path: 'list',
37   - component: () => import('@/views/prod/list'),
38   - name: 'prodList',
39   - meta: {
40   - title: 'prods.prodlist',
41   - roles: ['admin', 'assistant', 'shoper', 'runner']
42   - }
  16 + children: [{
  17 + path: 'list',
  18 + component: () => import('@/views/prod/list'),
  19 + name: 'prodList',
  20 + meta: {
  21 + title: 'prods.prodlist',
  22 + roles: ['admin', 'assistant', 'shoper', 'runner']
43 23 }
44   - ]
  24 + }]
45 25 }
46 26  
47 27 export default prodRouter
... ...
src/store/modules/prod.js
No preview for this file type