|
@ -19,7 +19,6 @@ |
|
|
<!-- </view>--> |
|
|
<!-- </view>--> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<u-alert-tips type="error" :title="系统提示" close-text="close" :description="请选择人员" :close-able="true" :show="show"></u-alert-tips> |
|
|
|
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
<script setup lang="ts"> |
|
@ -45,7 +44,6 @@ const data = ref({ |
|
|
processCode: '', |
|
|
processCode: '', |
|
|
nickName: '' |
|
|
nickName: '' |
|
|
}) |
|
|
}) |
|
|
let show = false |
|
|
|
|
|
let checked: string | any[] = [] |
|
|
let checked: string | any[] = [] |
|
|
/* 是否显示"没有更多了" */ |
|
|
/* 是否显示"没有更多了" */ |
|
|
const status = ref('loadmore') |
|
|
const status = ref('loadmore') |
|
@ -57,7 +55,7 @@ async function getList() { |
|
|
if (status.value === 'nomore') return |
|
|
if (status.value === 'nomore') return |
|
|
status.value = 'loading' |
|
|
status.value = 'loading' |
|
|
proxy.$modal.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(data.value).then((res) => { |
|
|
await workSchedulingApi.getConfigProcessWorker(data.value).then((res) => { |
|
|
uni.setStorageSync("isLeader", res.data.leader) |
|
|
uni.setStorageSync("isLeader", res.data.leader) |
|
|
if (res.data.leader) { |
|
|
if (res.data.leader) { |
|
@ -96,6 +94,7 @@ function onSubmit() { |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
onLoad((option) => { |
|
|
onLoad((option) => { |
|
|
|
|
|
// "{"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"}" |
|
|
data.value.planDayCode = uni.getStorageSync("processReportListParams").planMasterCode |
|
|
data.value.planDayCode = uni.getStorageSync("processReportListParams").planMasterCode |
|
|
data.value.processCode = uni.getStorageSync("processReportListParams").workingNode |
|
|
data.value.processCode = uni.getStorageSync("processReportListParams").workingNode |
|
|
}) |
|
|
}) |
|
|