Commit 25cd829d by 前端

修复bug

1 parent 4b3b1662
import * as dayjs from "dayjs";
export default {
data() {
return {
......@@ -169,6 +171,21 @@ export default {
this.isUpdate = false
this.viewLoading = false
},
// 发送时间change事件
changeValue(v) {
const date = new Date(v).getTime()
if (date < Date.now()) {
this.timeOptions = {
selectableRange: `${dayjs()
.add(1, 'm')
.format('HH:mm')}:00 - 23:59:59`
}
} else {
this.timeOptions = {
selectableRange: '00:00:00 - 23:59:59'
}
}
},
getBaseInfo() {
let params = {
customerType: this.basicForm.selectType,
......@@ -187,7 +204,6 @@ export default {
params.crowdList = this.basicForm.crowdList
params.combineType = combineType.crowd
}
console.log(params)
return params
},
// 人群筛选弹窗
......
......@@ -367,11 +367,11 @@ export default {
taskMerchantId,
sendType
}
params.customerType = peopleParams.customerType
if (params.sendType == 2) {
params.sendTime = this.basicForm.sendTime + ' ' + this.basicForm.sendDate
}
console.log(params)
this.addLoading = true
this.$apis.friendGroup.batchmomentSave(params).then(res => {
this.addLoading = false
......
......@@ -371,7 +371,6 @@ export default {
})
params.contentList = contentList
this.addLoading = true
console.log(params)
await this.$apis.wechatGroup.atchmessagingCreate(params).then(res => {
if (res.code == 0) {
this.$message({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!