bug
This commit is contained in:
@@ -401,19 +401,22 @@ export default {
|
||||
return this.$u.toast("请输入发送内容")
|
||||
}
|
||||
|
||||
if(this.enableExamine) {
|
||||
if(this.enableExamine) { // 是否需要审批,0:否、1:是
|
||||
if(!this.form.examines.length) {
|
||||
return this.$u.toast("请选择审批人")
|
||||
} else {
|
||||
this.form.enableExamine = this.form.enableExamine
|
||||
this.form.examineList = this.form.examineList
|
||||
}
|
||||
this.forms.enableExamine = this.form.enableExamine
|
||||
this.form.enableExamine = 1
|
||||
this.forms.enableExamine = 1
|
||||
} else {
|
||||
this.forms.enableExamine
|
||||
this.form.
|
||||
this.form.enableExamine = 0
|
||||
this.forms.enableExamine = 0
|
||||
this.form.examineList = []
|
||||
this.form.examineList = []
|
||||
}
|
||||
|
||||
if(this.isTimedTask) {
|
||||
if(this.isTimedTask) { // 发送类型,0:立即发送、1:定时发送
|
||||
this.form.sendType = 1
|
||||
this.forms.sendType = 1
|
||||
if(!this.form.choiceTime.length) {
|
||||
@@ -453,10 +456,10 @@ export default {
|
||||
fromDepartmentId: 0,
|
||||
mode: "multi",
|
||||
type: ["user"],
|
||||
selectedUserIds: this.userList?.map(e => e.id)
|
||||
selectedUserIds: this.form.examineList?.map(e => e.id)
|
||||
}).then((res)=>{
|
||||
if(res?.userList) {
|
||||
this.userList = res.userList
|
||||
this.form.examineList = res.userList
|
||||
}
|
||||
}
|
||||
).catch((err) => {
|
||||
|
||||
Reference in New Issue
Block a user