*发送时间
请选择
@@ -187,13 +187,17 @@ export default {
confirm() {
if(this.flag) return
- this.form.contents = [
+ const firstContent = [
{
content: this.content,
msgType: '0'
},
- ...this.files
]
+ this.form.contents.push(...firstContent)
+
+ const fileLists = this.files.map(item=> {
+ if(this.getExtension(item.name)==)
+ })
if(!this.form.contents.length) {
return this.$u.toast("请输入发送内容")
diff --git a/src/project/saas/AppCooperationPropaganda/scopedSelect.vue b/src/project/saas/AppCooperationPropaganda/scopedSelect.vue
index c8a0e725..1a3472aa 100644
--- a/src/project/saas/AppCooperationPropaganda/scopedSelect.vue
+++ b/src/project/saas/AppCooperationPropaganda/scopedSelect.vue
@@ -60,6 +60,7 @@ export default {
endTime: '',
sex: "0",
userList: [],
+ userListIds: [],
}
},
methods: {
@@ -82,9 +83,9 @@ export default {
selectedUserIds: this.userList?.map(e => e.id)
}).then((res)=>{
console.log(res);
- // if(res?.departmentList) {
- // this.departmentId = res.departmentList[0].id
- // }
+ if(res?.userList) {
+ this.userListIds = res.userList.map(e => e.id)
+ }
}
).catch((err) => {
console.log(err);