From 453f63fd6cd6466222304df619e62b3a5667ca68 Mon Sep 17 00:00:00 2001 From: zhuguifei <zhuguifei@zhuguifeideiMac.local> Date: 星期二, 05 八月 2025 13:56:47 +0800 Subject: [PATCH] 修复0730测试问题 --- eims-ui/apps/web-antd/src/views/eims/maint-order/index.vue | 17 +++++++---------- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/eims-ui/apps/web-antd/src/views/eims/maint-order/index.vue b/eims-ui/apps/web-antd/src/views/eims/maint-order/index.vue index f5e3edc..b81e0ca 100644 --- a/eims-ui/apps/web-antd/src/views/eims/maint-order/index.vue +++ b/eims-ui/apps/web-antd/src/views/eims/maint-order/index.vue @@ -19,7 +19,6 @@ import { columns, querySchema } from './data'; import maintOrderDrawer from './maint-order-drawer.vue'; -import SubOrditm from './sub-orditm.vue'; defineExpose({ tableSelect @@ -34,7 +33,9 @@ }, collapsed: true, schema: querySchema(), - wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4' + wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4', + // 鏃ユ湡閫夋嫨鏍煎紡鍖� + fieldMappingTime: [['planTime', ['params[beginPlanTime]', 'params[endPlanTime]'], ['YYYY-MM-DD 00:00:00', 'YYYY-MM-DD 23:59:59']]] }; const gridOptions: VxeGridProps = { @@ -192,8 +193,6 @@ ]); } - - onMounted(async () => { await setupDeptSelect(); }); @@ -243,7 +242,7 @@ <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:maintOrder:export']" @click="handleDownloadExcel"> @@ -258,9 +257,9 @@ > {{ $t('pages.common.delete') }} </a-button> - <a-button type="primary" v-access:code="['eims:maintOrder:add']" @click="handleAdd"> + <!-- <a-button type="primary" v-access:code="['eims:maintOrder:add']" @click="handleAdd"> {{ $t('pages.common.add') }} - </a-button> + </a-button>--> </Space> </template> @@ -299,8 +298,7 @@ <ghost-button v-access:code="['eims:maintOrder:edit']" @click.stop="handleEdit(row)"> {{ $t('pages.common.edit') }} </ghost-button> - <Popconfirm :get-popup-container="getVxePopupContainer" placement="left" title="纭鍒犻櫎锛�" - @confirm="handleDelete(row)"> + <Popconfirm :get-popup-container="getVxePopupContainer" placement="left" title="纭鍒犻櫎锛�" @confirm="handleDelete(row)"> <ghost-button danger v-access:code="['eims:maintOrder:remove']" @click.stop=""> {{ $t('pages.common.delete') }} </ghost-button> @@ -309,7 +307,6 @@ </template> </BasicTable> <!--<BasisSubTable :columns="maintStandCol" :list-api="listMaintStand" :req-value="equId" class="h-1/3" req-key="equId" title="淇濆吇瀹炴柦椤圭洰" />--> - <SubOrditm :order-id="orderId" class="h-1/3" /> </div> <MaintOrderDrawer @reload="tableApi.query()" /> </Page> -- Gitblit v1.9.3