Commit 4f834520 by caoyanzhi

update: 路径调整

parent d2093aec
......@@ -317,6 +317,11 @@ export const constantRouterMap = [{
component: _import('apps/customerApp', 'addGroupTemplate')
},
{
path: '/editGroupTemplate',
name: '编辑模板',
component: _import('apps/customerApp', 'addGroupTemplate')
},
{
path: '/storeRangeSet',
name: '门店范围设置',
component: _import('apps/customerApp', 'storeRangeSet')
......@@ -360,9 +365,19 @@ export const constantRouterMap = [{
},
{
path: '/customReportSet',
name: '自定义报表设置',
name: '新增自定义报表设置',
component: _import('apps/cloudDaily', 'customReportSet')
}
},
{
path: '/customReportCopy',
name: '复制自定义报表设置',
component: _import('apps/cloudDaily', 'customReportSet')
},
{
path: '/customReportEdit',
name: '编辑自定义报表设置',
component: _import('apps/cloudDaily', 'customReportSet')
},
]
},
{
......@@ -427,7 +442,12 @@ export const constantRouterMap = [{
path: '/newCard',
name: '新建卡券',
component: _import('apps/card', 'newCard')
}
},
{
path: '/editCard',
name: '编辑卡券',
component: _import('apps/card', 'newCard')
},
]
},
{
......
......@@ -134,7 +134,7 @@ export default {
*/
toEdit(index, row) {
const that = this;
that.$router.push(`/newCard?coupCardId=${row.coupCardId}`);
that.$router.push(`/editCard?coupCardId=${row.coupCardId}`);
},
/**
* 输入
......
......@@ -119,7 +119,7 @@ export default {
*/
handleCopy(index, item) {
let that = this;
that.changeRouter(`/customReportSet?templateId=${item.dailyReportTemplateId}&type=copy`);
that.changeRouter(`/customReportCopy?templateId=${item.dailyReportTemplateId}&type=copy`);
},
/**
......@@ -127,7 +127,7 @@ export default {
*/
handleEdit(index, item) {
let that = this;
that.changeRouter(`/customReportSet?&templateId=${item.dailyReportTemplateId}&type=edit`);
that.changeRouter(`/customReportEdit?&templateId=${item.dailyReportTemplateId}&type=edit`);
},
/**
......
......@@ -234,7 +234,7 @@ export default {
*/
toEdit(index, row) {
const that = this;
that.$router.push(`/addGroupTemplate?templateId=${row.templateId}`);
that.$router.push(`/editGroupTemplate?templateId=${row.templateId}`);
},
/**
* 门店范围设置
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment