Commit 7c579b9e by 杨明

fixed

1 parent 1595fde0
...@@ -139,8 +139,21 @@ export default { ...@@ -139,8 +139,21 @@ export default {
mounted() { mounted() {
this.findMerchantStaffList() this.findMerchantStaffList()
}, },
watch: {
process: {
handler(val) {
console.log(val)
if (val[0] === false) {
this.taskList = [{ batchNo: 1, ...taskData, ...{ isFinish: false } }]
this.customerKey = []
}
},
deep: true,
immediate: true
}
},
computed: { computed: {
...mapState('marketing', ['subscribe']), ...mapState('marketing', ['subscribe', 'process']),
importUrl() { importUrl() {
const url = { const url = {
5: 'https://wx.glsx.com.cn/upload/biz/e78dea4b-c55c-4af7-bb42-0f3d99bf27a8.xlsx', 5: 'https://wx.glsx.com.cn/upload/biz/e78dea4b-c55c-4af7-bb42-0f3d99bf27a8.xlsx',
...@@ -273,6 +286,9 @@ export default { ...@@ -273,6 +286,9 @@ export default {
this.selectEmp.messageContent = this.configForm.messageContent.replace(/门店名称/, this.$globalState.session.merchantName) this.selectEmp.messageContent = this.configForm.messageContent.replace(/门店名称/, this.$globalState.session.merchantName)
}, },
handleCancel() { handleCancel() {
this.taskList = [{ batchNo: 1, ...taskData, ...{ isFinish: false } }]
this.customerKey = []
this.findMerchantStaffList()
this.setProcess({ 0: true }) this.setProcess({ 0: true })
}, },
handleConfirm() { handleConfirm() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!