feat:工单池查询
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2025-08-06 16:41:53 +08:00
parent f7e341bf08
commit cf17b814a8
2 changed files with 9 additions and 5 deletions

View File

@@ -17,7 +17,10 @@ import workOrdersDetail from './work-orders-detail.vue';
import ordersModal from './orders-modal.vue';
import {columns, querySchema} from './data';
import {onMounted, ref} from "vue";
import {workOrdersTypeList} from "#/api/property/businessManagement/workOrdersType";
import {
workOrdersTypeList,
workOrdersTypeListAll
} from "#/api/property/businessManagement/workOrdersType";
const ordersTypeList = ref<any[]>([]);
const ordersType = ref<string>('0');
@@ -130,11 +133,10 @@ function handleMultiDelete() {
async function queryOrderType() {
let params = {
pageSize: 1000,
pageNum: 1
filterSubNodes:true
}
const res = await workOrdersTypeList(params)
ordersTypeList.value = res.rows.map((item) => ({
const res = await workOrdersTypeListAll(params)
ordersTypeList.value = res.map((item) => ({
label: item.orderTypeName,
value: item.id,
}));