Browse Source

1、工序报工-人员报工项列表

master
bjang03 5 months ago
parent
commit
80ff646c21
  1. 34
      src/pages/mes/workScheduling/processReportPeopleCheck.vue

34
src/pages/mes/workScheduling/processReportPeopleCheck.vue

@ -24,18 +24,18 @@
<script setup lang="ts"> <script setup lang="ts">
/* 初始化 */ /* 初始化 */
import { onShow } from '@dcloudio/uni-app' import { onShow } from "@dcloudio/uni-app"
import { getCurrentInstance, ref } from 'vue' import { getCurrentInstance, ref } from "vue"
/* 引入API */ /* 引入API */
import tags from '@components/tags/index.vue' import tags from "@components/tags/index.vue"
import * as workSchedulingApi from '@/api/mes/workScheduling' import * as workSchedulingApi from "@/api/mes/workScheduling"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
tags.data = ref([ tags.data = ref([
{ {
text: '1', text: "1",
value: '2' value: "2"
} }
]) ])
const data = ref({ const data = ref({
@ -57,18 +57,16 @@ 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('加载中')
if (list.value.length == 0){ if (list.value.length == 0) {
await workSchedulingApi await workSchedulingApi.getConfigProcessWorker({
.getConfigProcessWorker({ planDayCode: "PO20240426-0022",
planDayCode: 'PO20240426-0022', processCode: "FF-CY-002",
processCode: 'FF-CY-002', teamCode: "T01"
teamCode: 'T01' }).then((res) => {
}) if (res.data.length > 0) {
.then((res) => { list.value = res.data
if (res.data.length > 0) { }
list.value = res.data })
}
})
} }
proxy.$modal.closeLoading() proxy.$modal.closeLoading()
} }

Loading…
Cancel
Save