From 84ee03eb7701d8aeb8aa9514989f2c8b4ce53e79 Mon Sep 17 00:00:00 2001 From: CD配唱片 <CD配唱片> Date: 星期五, 09 五月 2025 16:16:12 +0800 Subject: [PATCH] 批量更新日期联调等 --- src/views/basicData/processRouteDataPreparate/index.vue | 23 ++++++++++++++++------- 1 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/views/basicData/processRouteDataPreparate/index.vue b/src/views/basicData/processRouteDataPreparate/index.vue index afce936..3bf41f5 100644 --- a/src/views/basicData/processRouteDataPreparate/index.vue +++ b/src/views/basicData/processRouteDataPreparate/index.vue @@ -82,6 +82,8 @@ :data="processRouteList" :loading="loading" :height="height" + :virtualYConfig="virtualYConfig" + :showOverflow="true" @on-checkbox="handleCheckboxChange" :page="page" @changePageNo="changePageNo" @@ -94,7 +96,7 @@ type="primary" link @click="handleCheckView(row)" - v-hasPermi="['aps:calendar:update']" + v-hasPermi="['Aps:ApsStandardProcessRouteLine:list']" >{{ $t("common.common.view") }}</el-button > </template> @@ -103,6 +105,7 @@ :title="$t('common.common.viewDetails')" v-model="openDialog" width="900px" + style="height:400px;overflow:hidden;" append-to-body > <HxlhTable @@ -110,13 +113,13 @@ :columns="subGridOptions" :data="subList" :loading="loading" - :height="heightSub" + :height="'280px;'" > </HxlhTable> <template #footer> <span class="dialog-footer"> <el-button @click="openDialog = false">{{ - $t("common.common.cancel") + $t("common.common.close") }}</el-button> </span> </template> @@ -134,10 +137,15 @@ import HxlhTable from "@/components/HxlhTable/index.vue"; import { ref } from "vue"; import { getToken } from "@/utils/auth.js"; -import { ElMessage } from "element-plus"; +// import { ElMessage } from "element-plus"; import { useI18n } from "vue-i18n"; //瑕佸湪js涓娇鐢ㄥ浗闄呭寲 const { t, locale } = useI18n(); const { proxy } = getCurrentInstance(); +const virtualYConfig = { + enabled: true, + gt: 0, + threshold: 50, +} // 鍒嗛〉灞炴�� const page = ref({ total: 0, @@ -262,19 +270,19 @@ { title: t("basic.table.effectiveDate"), field: "startDate", - width: 200, + width: 230, align: "center", }, { title: t("basic.table.expiringDate"), field: "endDate", - width: 200, + width: 230, align: "center", }, { title: t("basic.table.integrationDate"), field: "createTime", - width: 200, + width: 230, align: "center", }, { @@ -343,6 +351,7 @@ apsStandardProcessRouteHeaderList(queryParams.value) .then((response) => { processRouteList.value = response.rows; + page.value.total = response.total; loading.value = false; }) .catch(() => { -- Gitblit v1.9.3