弹窗
This commit is contained in:
@@ -522,7 +522,6 @@ export default {
|
|||||||
color: #3aa0ff;
|
color: #3aa0ff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
|
|
||||||
}
|
}
|
||||||
.bgactive {
|
.bgactive {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|||||||
@@ -124,7 +124,7 @@
|
|||||||
|
|
||||||
<u-popup v-model="showUpload" mode="bottom" border-radius="24">
|
<u-popup v-model="showUpload" mode="bottom" border-radius="24">
|
||||||
<div class="uploadPopup">
|
<div class="uploadPopup">
|
||||||
<div class="upload_card" v-for="(item,index) in upload" :key="index">
|
<div class="upload_card" v-for="(item,index) in uploadList" :key="index">
|
||||||
<div class="upload_item">{{ item.title }}</div>
|
<div class="upload_item">{{ item.title }}</div>
|
||||||
<div class="upload_list">
|
<div class="upload_list">
|
||||||
<div class="list_item" v-for="(e, i) in item.list" :key="i" @click="uploadBtn(e.msgType)">
|
<div class="list_item" v-for="(e, i) in item.list" :key="i" @click="uploadBtn(e.msgType)">
|
||||||
@@ -251,7 +251,7 @@ export default {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
upload: [],
|
// upload: [],
|
||||||
midiaIds: [],
|
midiaIds: [],
|
||||||
sum: '',
|
sum: '',
|
||||||
// 筛选条件
|
// 筛选条件
|
||||||
@@ -545,14 +545,26 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
type: {
|
||||||
|
handler(v) {
|
||||||
|
if(v) {
|
||||||
|
if(v=='Residents') {
|
||||||
|
this.forms.taskType = 1
|
||||||
|
this.uploadList = this.uploadList
|
||||||
|
} else if(v=='CircleOfFriends') {
|
||||||
|
this.forms.taskType = 0
|
||||||
|
this.uploadList = this.uploadCircle
|
||||||
|
} else if(v=='ResidentsGroup') {
|
||||||
|
this.uploadList = this.uploadList
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
onLoad(o) {
|
onLoad(o) {
|
||||||
this.type = o.type;
|
this.type = o.type;
|
||||||
document.title = this.type=='ResidentsGroup'? "群发居民群": this.type=='Residents'? "群发居民": "群发朋友圈"
|
document.title = this.type=='ResidentsGroup'? "群发居民群": this.type=='Residents'? "群发居民": "群发朋友圈"
|
||||||
if(this.type=='Residents') {
|
|
||||||
this.forms.taskType = 1
|
|
||||||
} else if(this.type=='CircleOfFriends') {
|
|
||||||
this.forms.taskType = 0
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.form.wxGroups = uni.getStorageSync('wxGroupsUser') || []
|
this.form.wxGroups = uni.getStorageSync('wxGroupsUser') || []
|
||||||
@@ -562,15 +574,13 @@ export default {
|
|||||||
this.forms.sendScope = this.form.sendScope
|
this.forms.sendScope = this.form.sendScope
|
||||||
this.forms.groupList = this.form.wxGroups
|
this.forms.groupList = this.form.wxGroups
|
||||||
this.sum = this.form.wxGroups.reduce((pre, cur) => pre + cur.customerCount, 0)
|
this.sum = this.form.wxGroups.reduce((pre, cur) => pre + cur.customerCount, 0)
|
||||||
this.upload = this.uploadList
|
|
||||||
} else if(this.type=='CircleOfFriends') {
|
} else if(this.type=='CircleOfFriends') {
|
||||||
this.forms.taskType = 0
|
this.forms.taskType = 0
|
||||||
this.forms.sendScope = this.form.sendScope
|
this.forms.sendScope = this.form.sendScope
|
||||||
this.forms.executorList = this.form.wxGroups
|
this.forms.executorList = this.form.wxGroups
|
||||||
this.sum = this.form.wxGroups.reduce((pre, cur) => pre + cur.customerCount, 0)
|
this.sum = this.form.wxGroups.reduce((pre, cur) => pre + cur.customerCount, 0)
|
||||||
this.upload = this.uploadCircle
|
|
||||||
} else if(this.type == 'ResidentsGroup') {
|
} else if(this.type == 'ResidentsGroup') {
|
||||||
this.upload = this.uploadList
|
|
||||||
}
|
}
|
||||||
this.forms.taskTitle = this.form.taskTitle
|
this.forms.taskTitle = this.form.taskTitle
|
||||||
const girdArr = uni.getStorageSync('girdSelect')
|
const girdArr = uni.getStorageSync('girdSelect')
|
||||||
|
|||||||
Reference in New Issue
Block a user