Commit 0cebaeb2 by 李伟康

commit 提交

1 parent 51ffb002
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
:id="id" :id="id"
@openStep="openStep" @openStep="openStep"
@backHome="backHome" @backHome="backHome"
@changeTab="changeTab"
finishDoneText="下一步" finishDoneText="下一步"
finishContene="当前操作是为强制退出接待,若完成客户接待请点击下一步。" finishContene="当前操作是为强制退出接待,若完成客户接待请点击下一步。"
@previewCancel="cancel" @previewCancel="cancel"
...@@ -244,10 +243,11 @@ export default { ...@@ -244,10 +243,11 @@ export default {
M9: [], M9: [],
} }
materials.map(e => { materials.map(e => {
const configItems = [ ] const configItems = [
if(!hidePackage) configItems.push({ key: 'packages', configIndex: 0 }) { key: 'films', configIndex: 1 },
configItems.push({ key: 'films', configIndex: 1 }) { key: 'products', configIndex: 2 }
configItems.push({ key: 'products', configIndex: 2 }) ]
if(!hidePackage) configItems.unshift({ key: 'packages', configIndex: 0 })
configItems.map(item => { configItems.map(item => {
boutiqueMediaConfig[e.carModelName].push({ boutiqueMediaConfig[e.carModelName].push({
...defaultConfig[item.configIndex], ...defaultConfig[item.configIndex],
...@@ -300,7 +300,6 @@ export default { ...@@ -300,7 +300,6 @@ export default {
this.previewOff = false this.previewOff = false
this.customerType = -1 this.customerType = -1
this.clearHistory(); this.clearHistory();
this.init();
this.recording = false this.recording = false
}, },
async start (before = true) { async start (before = true) {
...@@ -360,9 +359,6 @@ export default { ...@@ -360,9 +359,6 @@ export default {
this.$store.dispatch('clearReceptionTrack') this.$store.dispatch('clearReceptionTrack')
}, 1500); }, 1500);
}, },
changeTab (index) {
if (index == 0) this.init()
},
/**客户邀约接待 */ /**客户邀约接待 */
reception (customer) { reception (customer) {
let { customerType } = this let { customerType } = this
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!