Commit ddde34ff by 前端

Merge branch 'xuyl_dev_v2.11.0' into 'v2.11.0'

修复标签、人群切换bug

See merge request !31
2 parents 8a37912a e3f08903
...@@ -150,6 +150,7 @@ export default { ...@@ -150,6 +150,7 @@ export default {
async handleqrCode() { async handleqrCode() {
this.addLoading = true this.addLoading = true
this.qrCodeVisible = true this.qrCodeVisible = true
this.verifyQRCodeFailsToOpen = false
await this.$apis.collocation await this.$apis.collocation
.getLoginQcCode({}) .getLoginQcCode({})
.then(res => { .then(res => {
...@@ -163,7 +164,7 @@ export default { ...@@ -163,7 +164,7 @@ export default {
}) })
}, },
clearAllInterval() { clearAllInterval() {
this.qrCodeIntervalList.forEach(item => { this.qrCodeIntervalList.length && this.qrCodeIntervalList.forEach(item => {
clearInterval(item); clearInterval(item);
}) })
this.qrCodeIntervalList = []; this.qrCodeIntervalList = [];
......
...@@ -256,6 +256,7 @@ export default { ...@@ -256,6 +256,7 @@ export default {
this.basicForm.userList = [] this.basicForm.userList = []
this.selectData = [] this.selectData = []
this.basicForm.crowdList = [] this.basicForm.crowdList = []
this.$refs.selectLabel.labelTreeRetSelect = []
} }
} }
}, },
...@@ -336,6 +337,11 @@ export default { ...@@ -336,6 +337,11 @@ export default {
} }
}, },
selectChange(val) { selectChange(val) {
this.tagging = []
this.taggingList = []
this.basicForm.crowdList = []
this.$refs.selectLabel.labelTreeRetSelect = []
this.isUpdate = true
this.resetMerchantId = val this.resetMerchantId = val
this.msgMerchantName = val && this.dataItems.find(item => item.msgMerchantId == val).msgMerchantName this.msgMerchantName = val && this.dataItems.find(item => item.msgMerchantId == val).msgMerchantName
}, },
......
...@@ -67,9 +67,9 @@ import util from '@/utils/util' ...@@ -67,9 +67,9 @@ import util from '@/utils/util'
export default { export default {
name: 'activityModel', name: 'activityModel',
props: { props: {
resetMerchantId:{ resetMerchantId: {
type:String, type: String,
default:'' default: ''
} }
}, },
data() { data() {
...@@ -237,7 +237,6 @@ export default { ...@@ -237,7 +237,6 @@ export default {
} }
}) })
.filter(item => item) .filter(item => item)
console.log(labelTreeRets)
this.$emit('tagSelected', labelTreeRets) this.$emit('tagSelected', labelTreeRets)
}, },
//全选 //全选
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!