From 62654cb7d3e23074278c7c061bef8f6cbee90d73 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 10 十一月 2023 09:48:21 +0800
Subject: [PATCH] 修改历史数据导入时限制单次导入通过配置做限制,开启多线程分批并行执行insert,注解开启事务回滚失效,对象方式开启事务实现手动提交事务,异常回滚事务

---
 Source/UBCS-WEB/src/components/template/FlowPath.vue |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/template/FlowPath.vue b/Source/UBCS-WEB/src/components/template/FlowPath.vue
index 4831a6e..f5cfaee 100644
--- a/Source/UBCS-WEB/src/components/template/FlowPath.vue
+++ b/Source/UBCS-WEB/src/components/template/FlowPath.vue
@@ -1,9 +1,12 @@
 <template>
-  <avue-crud v-if="Formlist.length>0" ref="crud" v-model="form" :data="data" :option="option" :page.sync="page"
-             :search.sync="search" :table-loading="loading" @on-load="getDataList" @row-save="handleSave"
-             @row-del="handleDelete" @row-update="handleEdit" @refresh-change="handleRefresh"
-             @size-change="handleSizePage" @current-change="handleCurrentPage">
-  </avue-crud>
+  <div style="height: calc(100vh - 553px)">
+    <avue-crud v-if="Formlist.length>0" ref="crud" v-model="form" :data="data" :option="option" :page.sync="page"
+               :search.sync="search" :table-loading="loading" @on-load="getDataList" @row-save="handleSave"
+               @row-del="handleDelete" @row-update="handleEdit" @refresh-change="handleRefresh"
+               @size-change="handleSizePage" @current-change="handleCurrentPage">
+    </avue-crud>
+  </div>
+
 </template>
 
 <script>
@@ -44,7 +47,7 @@
       startData: [],
       form: {},
       option: {
-        height: 340,
+        height: 'auto',
         border: true,
         align: 'center',
         menu: !this.checkStatus || this.crudLCStatus == 'Editing',

--
Gitblit v1.9.3