Commit af4c33b9 by 前端

Merge branch 'xuyl_3.2.0_fix' into 'v3.2.0'

修复营销bug

See merge request !40
2 parents 3700bdca 860731f6
......@@ -279,7 +279,6 @@ const validateTime = (rule, value, callback) => {
}
}
const validateContent = (rule, value, callback) => {
console.log(value)
if (value == `【${Vue.prototype.$globalState.session.merchantName}】`) {
callback(new Error('请选择短信模板'))
} else {
......@@ -396,7 +395,6 @@ export default {
},
crowding: {
handler() {
console.log(this.crowding)
if (this.crowding.length == 0) {
this.contactNum = 0
return
......@@ -407,7 +405,6 @@ export default {
},
labeling: {
handler() {
console.log(this.labeling.length)
if (this.labeling.length == 0) {
this.contactNum = 0
this.filterTagging = []
......@@ -443,7 +440,6 @@ export default {
this.labeling = []
this.crowding = []
this.contactNum = 0
console.log('清空')
})
.catch(() => {
this.selectType = oldVal
......@@ -457,7 +453,6 @@ export default {
})
.then(() => {
this.clearFile()
console.log('清空了')
})
.catch(() => {
this.selectType = oldVal
......@@ -481,7 +476,6 @@ export default {
this.$router.push('/market/index')
},
handleCancel() {
console.log(this.saveStatus)
if (this.saveStatus || (this.$refs.welcome && this.$refs.welcome.previewList.length > 0 && this.editStatus)) {
this.dialogVisible = true
} else {
......@@ -504,7 +498,6 @@ export default {
const file = e.srcElement.files[0]
let AllImgExt = '.xls|.xlsx'
let extName = file.name.substring(file.name.lastIndexOf('.')).toLowerCase()
console.log(extName)
if (AllImgExt.indexOf(extName) === -1) {
this.$message.error('上传格式不正确')
return false
......@@ -551,7 +544,6 @@ export default {
},
selectActivity(item) {
this.ModelItem = item
console.log(this.ModelItem)
},
handleSaveImport() {
const groupIds = this.crowding.map(item => item.crowdId)
......@@ -601,7 +593,7 @@ export default {
this.$message.error('请上传客户信息')
return
}
if (!this.imName) {
if (!this.addForm.imName) {
this.imNameStatus = true
return
}
......@@ -691,7 +683,6 @@ export default {
this.$refs.screenTagForm.init(this.labeling)
},
handleCrowd() {
console.log(this.crowding)
this.$refs.selectCrowdForm.init(this.crowding)
},
crowdChecked(item) {
......@@ -724,7 +715,6 @@ export default {
const taggingList = tagging.map(item => {
let name = item.name.split(',')
let ids = item.tagIds.split(',')
console.log(ids)
let labelList = name.map((tag, index) => {
return { id: ids[index], name: tag }
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!