From 35f241a6731c09957fd1a999b83eea5da860745f Mon Sep 17 00:00:00 2001 From: bjang03 Date: Tue, 7 May 2024 13:29:05 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=B7=A5=E5=BA=8F=E6=8A=A5=E5=B7=A5-?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E5=B7=A5=E5=8D=95=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workScheduling/processReportPeopleCheck.vue | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/pages/mes/workScheduling/processReportPeopleCheck.vue b/src/pages/mes/workScheduling/processReportPeopleCheck.vue index 1874535..a7ed47c 100644 --- a/src/pages/mes/workScheduling/processReportPeopleCheck.vue +++ b/src/pages/mes/workScheduling/processReportPeopleCheck.vue @@ -2,7 +2,7 @@ - + @@ -42,8 +42,7 @@ tags.data = ref([ const data = ref({ planDayCode: '', processCode: '', - teamCode: '', - searchValue: '' + nickName: '' }) let show = false let checked = [] @@ -58,12 +57,7 @@ async function getList() { status.value = 'loading' proxy.$modal.loading('加载中') // "{"status":"1","remark":null,"planMasterCode":"PO20240429-0015","schedulingCode":"9bb4ab0cfcc14e3284833506b5041571","productCode":"015.886-117","productName":null,"workroomCode":"work1","lineCode":"work1-line1","prouteCode":"015.886-117","planCount":25,"finishCount":0,"qualifiedCount":null,"unqualifiedCount":null,"flagDo":"0","planSubCode":null,"workingNode":"QD_HJ_01","workingTaskSort":1,"formType":"BATCH","workSort":0,"currentWorkstation":null,"planStartTime":null,"planEndTime":1714388234000,"realStartTime":null,"realFinishedTime":null,"qualityFormNo":null,"reason":null,"planNoDay":null,"batchCode":"M015.886-117-001","id":61,"createTime":1714370517000,"creator":"1"}" - await workSchedulingApi.getConfigProcessWorker({ - planDayCode: "PO20240429-0008", - processCode: "DLJ_CY_01", - teamCode: "T01", - nickName: data.value.searchValue - }).then((res) => { + await workSchedulingApi.getConfigProcessWorker(data.value).then((res) => { uni.setStorageSync("isLeader", res.data.leader) if (res.data.leader) { list.value = res.data.list @@ -100,7 +94,8 @@ function onSubmit() { }) } onLoad((option) => { - data.value = uni.getStorageSync("processReportListParams") + data.value.planDayCode = uni.getStorageSync("processReportListParams").planMasterCode + data.value.processCode = uni.getStorageSync("processReportListParams").workingNode })