Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
guider
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张海枝
guider
Commits
66ac5cd0
Commit
66ac5cd0
authored
Aug 17, 2022
by
张海枝
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 目录增加
parent
39ce397d
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
198 additions
and
37 deletions
+198
-37
index.vue
src/pages/miniprogram/applicationJoin/index.vue
+3
-0
index.vue
src/pages/miniprogram/organization/index.vue
+3
-0
index.vue
src/pages/miniprogram/storeManagement/index.vue
+3
-0
index.vue
src/pages/publicStore/index.vue
+3
-0
index.vue
src/pages/set-token/index.vue
+35
-0
index.vue
src/pages/statistics/index.vue
+3
-0
index.vue
src/pages/task/mass/index.vue
+3
-0
index.vue
src/pages/task/reward/index.vue
+3
-0
index.js
src/router/index.js
+15
-0
menuRouter.js
src/router/menuRouter.js
+6
-18
miniprogram.js
src/router/miniprogram.js
+28
-1
operate.js
src/router/operate.js
+34
-14
points.js
src/router/points.js
+0
-1
publicStore.js
src/router/publicStore.js
+18
-1
statistics.js
src/router/statistics.js
+18
-1
task.js
src/router/task.js
+23
-1
No files found.
src/pages/miniprogram/applicationJoin/index.vue
0 → 100644
View file @
66ac5cd0
<
template
>
<div>
应用接入
</div>
</
template
>
\ No newline at end of file
src/pages/miniprogram/organization/index.vue
0 → 100644
View file @
66ac5cd0
<
template
>
<div>
组织机构
</div>
</
template
>
\ No newline at end of file
src/pages/miniprogram/storeManagement/index.vue
0 → 100644
View file @
66ac5cd0
<
template
>
<div>
门店管理
</div>
</
template
>
\ No newline at end of file
src/pages/publicStore/index.vue
0 → 100644
View file @
66ac5cd0
<
template
>
<div>
素材库
</div>
</
template
>
\ No newline at end of file
src/pages/set-token/index.vue
0 → 100644
View file @
66ac5cd0
<
template
>
<div>
<a-input
placeholder=
"请输入token"
v-model=
"token"
/>
<a-button
type=
"primary"
@
click=
"setToken"
>
设置token
</a-button>
</div>
</
template
>
<
script
>
import
{
mapActions
}
from
'vuex'
;
export
default
{
data
()
{
return
{
token
:
null
,
};
},
methods
:
{
...
mapActions
([
'getUserInfo'
,
'getUserFunctionList'
]),
async
setToken
()
{
if
(
this
.
token
)
{
await
this
.
getUserInfo
(
this
.
token
);
await
this
.
getUserFunctionList
();
this
.
$router
.
push
(
'/store/store-admin'
);
}
else
{
this
.
$message
.
error
(
'请输入token'
);
}
},
},
};
</
script
>
src/pages/statistics/index.vue
0 → 100644
View file @
66ac5cd0
<
template
>
<div>
首页
</div>
</
template
>
\ No newline at end of file
src/pages/task/mass/index.vue
0 → 100644
View file @
66ac5cd0
<
template
>
<div>
群发任务
</div>
</
template
>
\ No newline at end of file
src/pages/task/reward/index.vue
0 → 100644
View file @
66ac5cd0
<
template
>
<div>
奖励任务
</div>
</
template
>
\ No newline at end of file
src/router/index.js
View file @
66ac5cd0
...
@@ -7,6 +7,21 @@ export default new Router({
...
@@ -7,6 +7,21 @@ export default new Router({
base
:
baseURL
,
base
:
baseURL
,
mode
:
'history'
,
mode
:
'history'
,
routes
:
[
routes
:
[
{
path
:
'/'
,
redirect
:
'/opetate'
,
meta
:
{
standalone
:
true
,
},
},
{
path
:
'/test'
,
name
:
'test'
,
component
:
()
=>
import
(
'@/pages/test'
),
meta
:
{
standalone
:
true
,
},
},
...
routerConfig
,
...
routerConfig
,
],
],
});
});
src/router/menuRouter.js
View file @
66ac5cd0
import
manage
from
'./guiderManage'
import
manage
from
'./guiderManage'
import
miniprogram
from
'./miniprogram'
import
miniprogram
from
'./miniprogram'
import
operate
from
'./operate'
import
operate
from
'./operate'
import
points
from
'./points'
import
publicStore
from
'./publicStore'
import
publicStore
from
'./publicStore'
import
statistics
from
'./statistics'
import
statistics
from
'./statistics'
import
task
from
'./task'
import
task
from
'./task'
const
routerConfig
=
[
const
routerConfig
=
[
{
...
operate
,
path
:
'/'
,
...
manage
,
redirect
:
'/test'
,
...
miniprogram
,
meta
:
{
...
publicStore
,
standalone
:
true
,
...
statistics
,
},
...
task
},
{
path
:
'/test'
,
name
:
'test'
,
component
:
()
=>
import
(
'@/pages/test'
),
meta
:
{
standalone
:
true
,
},
},
...
operate
];
];
console
.
log
(
routerConfig
)
export
default
routerConfig
export
default
routerConfig
\ No newline at end of file
src/router/miniprogram.js
View file @
66ac5cd0
/**小程序管理 */
/**小程序管理 */
import
layout
from
'@/pages/layout.vue'
const
Routes
=
[{
path
:
'/miniprogram/'
,
name
:
'小程序管理'
,
meta
:
{
title
:
'小程序管理'
,
},
component
:
layout
,
children
:
[{
path
:
'organization'
,
meta
:
{
title
:
"组织机构"
},
component
:()
=>
import
(
'@/pages/miniprogram/organization/index'
),
},
{
path
:
'storeManagement'
,
meta
:
{
title
:
"门店管理"
},
component
:()
=>
import
(
'@/pages/miniprogram/storeManagement/index'
),
},
{
path
:
'applicationJoin'
,
meta
:
{
title
:
"应用接入"
},
component
:()
=>
import
(
'@/pages/miniprogram/applicationJoin/index'
),
}
]
}]
export
default
Routes
\ No newline at end of file
src/router/operate.js
View file @
66ac5cd0
/**客户运营路由 */
/**客户运营路由 */
import
layout
from
'@/pages/layout.vue'
import
layout
from
"@/pages/layout.vue"
;
const
operateRoutes
=
[{
const
operateRoutes
=
[
path
:
'/operate/'
,
{
name
:
'客户运营'
,
path
:
"/operate/"
,
name
:
"客户运营"
,
redirect
:
"/operate/welcome"
,
meta
:
{
meta
:
{
title
:
'客户运营'
,
title
:
"客户运营"
,
},
},
component
:
layout
,
component
:
layout
,
children
:
[{
children
:
[
path
:
'welcome'
,
{
path
:
"welcome"
,
meta
:
{
title
:
"欢迎语"
},
meta
:
{
title
:
"欢迎语"
},
component
:()
=>
import
(
'@/pages/operate/welcome/index'
),
component
:
()
=>
import
(
"@/pages/operate/welcome/index"
),
}]
},
}]
{
path
:
"customerManagement"
,
meta
:
{
title
:
"客户管理"
},
component
:
()
=>
import
(
"@/pages/operate/customerManagement/index"
),
},
{
path
:
"customerGroupManagement"
,
meta
:
{
title
:
"客户群管理"
},
component
:
()
=>
import
(
"@/pages/operate/customerGroupManagement/index"
),
},
{
path
:
"massMessaging"
,
meta
:
{
title
:
"群发消息"
},
component
:
()
=>
import
(
"@/pages/operate/massMessaging/index"
),
},
],
},
];
export
default
operateRoutes
export
default
operateRoutes
;
\ No newline at end of file
src/router/points.js
deleted
100644 → 0
View file @
39ce397d
/**导购积分 */
\ No newline at end of file
src/router/publicStore.js
View file @
66ac5cd0
/**素材库 */
/**素材库 */
import
layout
from
'@/pages/layout.vue'
const
Routes
=
[{
path
:
'/publicStore/'
,
name
:
'素材库'
,
meta
:
{
title
:
'素材库'
,
},
component
:
layout
,
children
:
[{
path
:
'index'
,
meta
:
{
title
:
"素材库"
},
component
:()
=>
import
(
'@/pages/publicStore/index'
),
}
]
}]
export
default
Routes
\ No newline at end of file
src/router/statistics.js
View file @
66ac5cd0
/**数据统计 */
/**数据统计 */
import
layout
from
'@/pages/layout.vue'
const
Routes
=
[{
path
:
'/statistics/'
,
name
:
'首页统计'
,
meta
:
{
title
:
'首页'
,
},
component
:
layout
,
children
:
[{
path
:
'manage'
,
meta
:
{
title
:
"首页"
},
component
:()
=>
import
(
'@/pages/statistics/index'
),
}
]
}]
export
default
Routes
\ No newline at end of file
src/router/task.js
View file @
66ac5cd0
/**导购任务 */
/**导购任务 */
import
layout
from
'@/pages/layout.vue'
const
Routes
=
[{
path
:
'/task/'
,
name
:
'导购任务'
,
meta
:
{
title
:
'导购任务'
,
},
component
:
layout
,
children
:
[{
path
:
'mass'
,
meta
:
{
title
:
"群发任务"
},
component
:()
=>
import
(
'@/pages/task/mass/index'
),
},
{
path
:
'reward'
,
meta
:
{
title
:
"奖励任务"
},
component
:()
=>
import
(
'@/pages/task/reward/index'
),
}
]
}]
export
default
Routes
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment