Commit f99ad2f9 by caoyanzhi

update: 扫码营销菜单调整

parent 5a74bd4f
......@@ -20,9 +20,6 @@ export default {
if (this.$route.query.isHistory) {
bread.push({ name: '历史营销计划', path: '/scan/history-list' });
}
this.$nextTick(_ => {
this.$store.commit('mutations_breadcrumb', [...bread, { name: this.$route.query.name + ` - 扫码营销记录` }]); // eslint-disable-line
});
}
};
</script>
......@@ -673,12 +673,6 @@ export default {
new Profile().$mount('#mount-point');
},
created() {
this.$store.commit('aside_handler', true);
const name = this.isAdd ? '新建营销计划' : this.isEdit ? '编辑营销计划' : '营销计划详情';
this.$store.commit('mutations_breadcrumb', [{ name: '扫码营销', path: '' }, { name: '营销计划', path: '/scan' }, { name }]); // eslint-disable-line
this.listTemplateVariables();
},
beforeDestroy() {
this.$store.commit('mutations_layoutTips', '');
}
};
......@@ -85,7 +85,6 @@ export default {
},
created() {
this.getTableList();
this.$store.commit('mutations_breadcrumb', [{ name: '扫码营销', path: '' }, { name: '营销计划', path: '/scan' }, { name: '历史营销计划' }]); // eslint-disable-line
},
methods: {
search() {
......
......@@ -105,7 +105,6 @@ export default {
},
created() {
this.getTableList();
this.$store.commit('mutations_breadcrumb', [{ name: '扫码营销', path: '' }, { name: '营销计划', path: '/scan' }]); // eslint-disable-line
},
methods: {
formatDateTimeByType,
......
......@@ -71,7 +71,6 @@ export default {
},
created() {
this.getTableList();
this.$store.commit('mutations_breadcrumb', [{ name: '扫码营销', path: '' }, { name: '营销计划', path: '/scan' }, { name: '历史营销计划' }]); // eslint-disable-line
},
methods: {
formatDateTimeByType,
......
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