Browse Source

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

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

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

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

Loading…
Cancel
Save