From 7cc3ac34f175e2dacc76a02fb66ae3ba9f747b55 Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期二, 11 三月 2025 08:14:20 +0800
Subject: [PATCH] 调整

---
 eims-ui/apps/web-antd/src/views/eims/maint-plan/index.vue |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/eims-ui/apps/web-antd/src/views/eims/maint-plan/index.vue b/eims-ui/apps/web-antd/src/views/eims/maint-plan/index.vue
index ff7c4d5..2927a97 100644
--- a/eims-ui/apps/web-antd/src/views/eims/maint-plan/index.vue
+++ b/eims-ui/apps/web-antd/src/views/eims/maint-plan/index.vue
@@ -11,17 +11,20 @@
 
 import { useVbenVxeGrid, vxeCheckboxChecked, type VxeGridProps, vxeSortEvent } from '#/adapter/vxe-table';
 import { delMaintPlan, listMaintPlan, maintPlanExport } from '#/api/eims/maint-plan';
-import { listMaintStand } from '#/api/eims/maint-stand';
 import { generateCode } from '#/api/eims/utils';
 import { getDeptTree, userList } from '#/api/system/user';
 import { MAINT_ORDER_STATUS } from '#/constants/dict';
 import { commonDownloadExcel } from '#/utils/file/download';
 import BasisSubTable from '#/views/eims/components/basis-sub-table.vue';
 import maintOrderDrawer from '#/views/eims/maint-order/maint-order-drawer.vue';
-import { columns as maintSrandCol } from '#/views/eims/maint-stand/data';
 
 import { columns, querySchema } from './data';
 import maintPlanDrawer from './maint-plan-drawer.vue';
+
+
+defineExpose({
+  tableSelect
+});
 
 const formOptions: VbenFormProps = {
   commonConfig: {
@@ -145,6 +148,7 @@
   }
   const planOrder = {
     equId: record.equId,
+    planId: record.id,
     equName: record.equName,
     maintUser: record.maintUser,
     maintUserName: record.maintUserName,
@@ -230,12 +234,17 @@
 onMounted(async () => {
   await setupDeptSelect();
 });
+
+// 閫変腑鏁版嵁
+function tableSelect() {
+  return tableApi.grid.getCheckboxRecords();
+}
 </script>
 
 <template>
   <Page :auto-content-height="true">
     <div class="flex h-full gap-[8px] flex-col">
-      <BasicTable class="h-2/3" table-title="淇濆吇璁″垝鍒楄〃">
+      <BasicTable  table-title="淇濆吇璁″垝鍒楄〃">
         <template #toolbar-tools>
           <Space>
             <a-button v-access:code="['eims:maintPlan:export']" @click="handleDownloadExcel">
@@ -285,7 +294,6 @@
           </Dropdown>
         </template>
       </BasicTable>
-      <BasisSubTable :columns="maintSrandCol" :list-api="listMaintStand" :req-value="equId" class="h-1/3" req-key="equId" title="淇濆吇瀹炴柦椤圭洰" />
     </div>
     <MaintPlanDrawer @reload="tableApi.query()" />
     <MaintOrderDrawer @reload="tableApi.query()" />

--
Gitblit v1.9.3