Commit fca20af9 by 前端

Merge branch 'xuyl_dev_v3.4.0' into 'v3.4.0'

修复bug

See merge request !54
2 parents aa2c2058 25cd829d
import * as dayjs from "dayjs";
export default { export default {
data() { data() {
return { return {
...@@ -169,6 +171,21 @@ export default { ...@@ -169,6 +171,21 @@ export default {
this.isUpdate = false this.isUpdate = false
this.viewLoading = 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() { getBaseInfo() {
let params = { let params = {
customerType: this.basicForm.selectType, customerType: this.basicForm.selectType,
...@@ -187,7 +204,6 @@ export default { ...@@ -187,7 +204,6 @@ export default {
params.crowdList = this.basicForm.crowdList params.crowdList = this.basicForm.crowdList
params.combineType = combineType.crowd params.combineType = combineType.crowd
} }
console.log(params)
return params return params
}, },
// 人群筛选弹窗 // 人群筛选弹窗
......
...@@ -367,11 +367,11 @@ export default { ...@@ -367,11 +367,11 @@ export default {
taskMerchantId, taskMerchantId,
sendType sendType
} }
params.customerType = peopleParams.customerType
if (params.sendType == 2) { if (params.sendType == 2) {
params.sendTime = this.basicForm.sendTime + ' ' + this.basicForm.sendDate params.sendTime = this.basicForm.sendTime + ' ' + this.basicForm.sendDate
} }
console.log(params)
this.addLoading = true this.addLoading = true
this.$apis.friendGroup.batchmomentSave(params).then(res => { this.$apis.friendGroup.batchmomentSave(params).then(res => {
this.addLoading = false this.addLoading = false
......
...@@ -371,7 +371,6 @@ export default { ...@@ -371,7 +371,6 @@ export default {
}) })
params.contentList = contentList params.contentList = contentList
this.addLoading = true this.addLoading = true
console.log(params)
await this.$apis.wechatGroup.atchmessagingCreate(params).then(res => { await this.$apis.wechatGroup.atchmessagingCreate(params).then(res => {
if (res.code == 0) { if (res.code == 0) {
this.$message({ this.$message({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!