From 023abaff33081861ae3dda65a5968bdcc44275f6 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 23 Jun 2025 16:43:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=BC=96=E8=BE=91=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E4=BA=A4=E6=8E=A5=E8=AE=B0=E5=BD=95=E6=97=B6=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/handover_form.vue | 36 ++++++++++++++---------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue index faf791d8..e4aab573 100644 --- a/src/views/wpm_bx/handover_form.vue +++ b/src/views/wpm_bx/handover_form.vue @@ -698,25 +698,23 @@ export default { let that = this; this.totalCount = data.count?data.count:data.handoverb.count; Object.assign(this.form, data); - if(data.type==30){ - this.getUserList3(); - }else{ - this.$API.system.user.list.req({ depts: data.recive_dept, page: 0 }).then((res) => { - that.userList2 = res; - }); - setTimeout(() => { - let arr =that.userList2.filter((item) => { - return item.id == data.recive_user - }) - if(arr.length>0){}else{ - let obj = {}; - obj.id = data.recive_user; - obj.name = data.recive_user_name; - that.userList2.push(obj); - } - },500) - - } + this.$API.system.user.list.req({ depts: data.send_dept, page: 0 }).then((res) => { + that.userList = res; + }); + this.$API.system.user.list.req({ depts: data.recive_dept, page: 0 }).then((res) => { + that.userList2 = res; + }); + setTimeout(() => { + let arr =that.userList2.filter((item) => { + return item.id == data.recive_user + }) + if(arr.length>0){}else{ + let obj = {}; + obj.id = data.recive_user; + obj.name = data.recive_user_name; + that.userList2.push(obj); + } + },500) if(data.new_batch!==''&&data.new_batch!==undefined&&data.new_batch!==null){ this.change_batch = true; }