From ce80b464ad05c70195b0581e639b29e8994ce28b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=AE=8F=E6=96=8C?= <2164406372@qq.com> Date: Tue, 25 Nov 2025 15:01:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/eam/eamFeedBack.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/modules/eam/eamFeedBack.vue b/src/views/modules/eam/eamFeedBack.vue index 8651b2e..69164ee 100644 --- a/src/views/modules/eam/eamFeedBack.vue +++ b/src/views/modules/eam/eamFeedBack.vue @@ -1877,7 +1877,13 @@ this.operatorData.bu = this.saveModalData.bu this.$set(this.operatorData,'date',this.saveModalData.defectDate) if (this.roleList.length > 0) { - let filterList = this.roleList.filter(item => item.roleName === '机修人员') + let roleName + if (this.saveModalData.repairType == '设备维修组'){ + roleName = '机修' + } else { + roleName = '换线组' + } + let filterList = this.roleList.filter(item => item.roleName === roleName) if (filterList.length > 0) { this.operatorData.roleId = filterList[0].roleId } else { @@ -1886,9 +1892,9 @@ } else { this.operatorData.roleId = '' } - //先清空班次信息 + // 先清空班次信息 this.$set(this.operatorData,'classesCode','') - //根据bu查询班次信息 + // 根据bu查询班次信息 await this.getClassesList() // 查询人员 await getOperatorListByOrder(this.operatorData).then(({data}) => {