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 })