Browse Source

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

deli-eam
bjang03 11 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"> <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({
@ -58,13 +58,11 @@ async function getList() {
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) => {
})
.then((res) => {
if (res.data.length > 0) { if (res.data.length > 0) {
list.value = res.data list.value = res.data
} }

Loading…
Cancel
Save