BUG 25276
This commit is contained in:
@@ -95,8 +95,8 @@ import {mapActions} from "vuex";
|
||||
export default {
|
||||
name: "addMeeting",
|
||||
components: {AiBack, AiUploader},
|
||||
props:{
|
||||
params:{
|
||||
props: {
|
||||
params: {
|
||||
type: [Number, String]
|
||||
}
|
||||
},
|
||||
@@ -126,9 +126,10 @@ export default {
|
||||
files: [],
|
||||
},
|
||||
userSelect: false,
|
||||
clickedUserSelect: false
|
||||
}
|
||||
},
|
||||
created(){
|
||||
created() {
|
||||
document.title = "新增会议";
|
||||
if (this.params) {
|
||||
this.form.id = this.params;
|
||||
@@ -159,12 +160,15 @@ export default {
|
||||
methods: {
|
||||
...mapActions(['selectEnterpriseContact']),
|
||||
handleSelectUser() {
|
||||
if (this.clickedUserSelect) return this.$u.toast("正在打开人员选择器")
|
||||
this.clickedUserSelect = true
|
||||
this.selectEnterpriseContact({
|
||||
fromDepartmentId:0,
|
||||
type:["user"],
|
||||
selectedUserIds: this.form.attendees?.map(e=>e.id)
|
||||
fromDepartmentId: 0,
|
||||
type: ["user"],
|
||||
selectedUserIds: this.form.attendees?.map(e => e.id)
|
||||
}).then(res => {
|
||||
this.change(res?.userList || [])
|
||||
this.clickedUserSelect = false
|
||||
})
|
||||
},
|
||||
fileList(e) {
|
||||
|
||||
Reference in New Issue
Block a user