From d6430b17a6df8d70541ec0adcb6dedbfaf5172ce Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 11 Mar 2024 08:46:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20worktask=20=E8=8E=B7=E5=8F=96=E9=80=80?= =?UTF-8?q?=E7=81=AB=E7=82=89=E5=88=97=E8=A1=A8=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm/worktask_form.vue | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/views/wpm/worktask_form.vue b/src/views/wpm/worktask_form.vue index e286223b..ddfb54de 100644 --- a/src/views/wpm/worktask_form.vue +++ b/src/views/wpm/worktask_form.vue @@ -773,12 +773,16 @@ export default { }, //获取设备列表 getEquipment() { - this.$API.em.equipment.list.req({ page: 0, type: 10, name__contains: '单坩埚熔化炉' }).then((res1) => { - this.equipmentOptions1 = res1; - }); - this.$API.em.equipment.list.req({ page: 0, type: 10, name__contains: '升降式退火炉' }).then((res2) => { - this.equipmentOptions2 = res2; - }); + this.$API.em.equipment.cquery.req({ + page: 0, + querys: [ + [{ field: 'name', compare: 'contains', value: '单坩埚熔化炉' }], + [{ field: 'name', compare: 'contains', value: '单坩埚熔化炉' }], + [{ field: 'name', compare: 'contains', value: '升降式退火炉' }] + ] + }).then(res => { + this.equipmentOptions2 = res; + }) }, getMaterial(mgroupId) { if (mgroupId != 0) {