通知公告
This commit is contained in:
@@ -100,23 +100,16 @@ export default {
|
||||
},
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
params: {
|
||||
handler: function () {
|
||||
if (this.params?.id) {
|
||||
this.form.id = this.params?.id;
|
||||
this.flag = this.params?.flag;
|
||||
}
|
||||
},
|
||||
immediate: true
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
onLoad(opt) {
|
||||
document.title = "新增公告";
|
||||
if (this.params?.id) {
|
||||
if(opt.id) {
|
||||
this.form.id = opt.id;
|
||||
this.flag = opt.flag;
|
||||
this.getDetail();
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
...mapActions(['selectEnterpriseContact']),
|
||||
handleSelectUser() {
|
||||
@@ -125,7 +118,6 @@ export default {
|
||||
type: ["user"],
|
||||
selectedUserIds: this.form.persons?.map(e => e.id)
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
this.form.persons = res?.userList || []
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user