From 84a8c834d61f9734fc7da647ad9e6b38d240e83b Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期四, 17 四月 2025 10:23:37 +0800
Subject: [PATCH] 关闭工作流
---
eims-ui/apps/web-antd/src/views/eims/insp-plan/index.vue | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/eims-ui/apps/web-antd/src/views/eims/insp-plan/index.vue b/eims-ui/apps/web-antd/src/views/eims/insp-plan/index.vue
index 3b1b351..191f18e 100644
--- a/eims-ui/apps/web-antd/src/views/eims/insp-plan/index.vue
+++ b/eims-ui/apps/web-antd/src/views/eims/insp-plan/index.vue
@@ -3,7 +3,7 @@
import { onMounted, ref } from 'vue';
-import { Page, useVbenDrawer, type VbenFormProps } from '@vben/common-ui';
+import { Page, useVbenDrawer, useVbenModal, type VbenFormProps } from '@vben/common-ui';
import { $t } from '@vben/locales';
import { addFullName, getPopupContainer, getVxePopupContainer } from '@vben/utils';
@@ -19,6 +19,7 @@
import { columns, querySchema } from './data';
import inspPlanDrawer from './insp-plan-drawer.vue';
+import inspPlanImportModal from './insp-plan-import-modal.vue';
defineExpose({
tableSelect
@@ -94,6 +95,17 @@
const [InspRecordDrawer, inspRecordDrawerApi] = useVbenDrawer({
connectedComponent: inspRecordDrawer
});
+
+/**
+ * 瀵煎叆
+ */
+const [InspPlanImportModal, inspPlanImportModalApi] = useVbenModal({
+ connectedComponent: inspPlanImportModal
+});
+
+function handleImport() {
+ inspPlanImportModalApi.open();
+}
function handleAdd() {
inspPlanDrawerApi.setData({});
@@ -251,6 +263,9 @@
<a-button v-access:code="['eims:inspectPlan:export']" @click="handleDownloadExcel">
{{ $t('pages.common.export') }}
</a-button>
+ <a-button v-access:code="['eims:inspectPlan:import']" @click="handleImport">
+ {{ $t('pages.common.import') }}
+ </a-button>
<a-button
:disabled="!vxeCheckboxChecked(tableApi)"
danger
@@ -298,5 +313,6 @@
</div>
<InspPlanDrawer @reload="tableApi.query()" />
<InspRecordDrawer @reload="tableApi.query()" />
+ <InspPlanImportModal @reload="tableApi.query()" />
</Page>
</template>
--
Gitblit v1.9.3