Commit f99ad2f9 by caoyanzhi

update: 扫码营销菜单调整

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