From af1c9e588f1de0240390648f9bb56aa486870aff Mon Sep 17 00:00:00 2001
From: chengxiangling <291105840@qq.com>
Date: 星期五, 16 五月 2025 17:40:18 +0800
Subject: [PATCH] 提交高度修改;
---
src/views/basicData/professionalFixedCycleManagement/index.vue | 42 ++++++++++--------------------------------
1 files changed, 10 insertions(+), 32 deletions(-)
diff --git a/src/views/basicData/professionalFixedCycleManagement/index.vue b/src/views/basicData/professionalFixedCycleManagement/index.vue
index 482a439..6c1f23a 100644
--- a/src/views/basicData/professionalFixedCycleManagement/index.vue
+++ b/src/views/basicData/professionalFixedCycleManagement/index.vue
@@ -1,6 +1,6 @@
<template>
<div class="app-container">
- <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px">
+ <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-position="left" label-width="50px">
<el-row :gutter="20">
<el-col :span="6">
<el-form-item label="鏂欏彿" prop="itemNumber">
@@ -12,43 +12,21 @@
/>
</el-form-item>
</el-col>
- <el-col :span="18" style="text-align: right;">
+ <!-- <el-col :span="18" style="text-align: right;">
<el-form-item>
<el-button type="primary" icon="Search" @click="handleQuery">鎼滅储</el-button>
<el-button icon="Refresh" @click="resetQuery">閲嶇疆</el-button>
</el-form-item>
- </el-col>
+ </el-col> -->
</el-row>
</el-form>
<el-row :gutter="10" class="mb8">
- <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
+ <right-toolbar v-model:showSearch="showSearch"
+ @queryTable="handleQuery"
+ @resetTable="resetQuery"
+ ></right-toolbar>
</el-row>
-
- <!-- <el-table v-loading="loading" :data="professionalFixedCycleManagementList" @selection-change="handleSelectionChange">
- <el-table-column type="selection" width="55" align="center" />
- <el-table-column label="id" align="center" prop="id" />
- <el-table-column label="鏂欏彿" align="center" prop="itemNumber" />
- <el-table-column label="涓撲笟鎻忚堪" align="center" prop="professionalDescription" />
- <el-table-column label="涓撲笟" align="center" prop="professional" />
- <el-table-column label="涓撲笟鍥哄畾鍛ㄦ湡" align="center" prop="professionalFixedCycle" />
- <el-table-column label="闆嗘垚鏃ユ湡" align="center" prop="integrationDate" />
- <el-table-column label="閫傜敤宸ュ巶" align="center" prop="applicableFactories" />
- <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width">
- <template #default="scope">
- <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['basicData:professionalFixedCycleManagement:edit']">淇敼</el-button>
- <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['basicData:professionalFixedCycleManagement:remove']">鍒犻櫎</el-button>
- </template>
- </el-table-column>
- </el-table>
-
- <pagination
- v-show="total>0"
- :total="total"
- v-model:page="queryParams.pageNum"
- v-model:limit="queryParams.pageSize"
- @pagination="getList"
- /> -->
<HxlhTable
style="width: 100%"
@@ -94,9 +72,8 @@
const ids = ref([]);
const single = ref(true);
const multiple = ref(true);
-const total = ref(0);
const title = ref("");
-const height = ref(document.documentElement.clientHeight - 230 + "px;")
+const height = ref(document.documentElement.clientHeight - 220 + "px;")
const queryPlants = ref({status: 1});
const plantList = ref([]);
@@ -204,6 +181,7 @@
/** 鎼滅储鎸夐挳鎿嶄綔 */
function handleQuery() {
+ page.value.current = 1;
queryParams.value.pageNum = 1;
getList();
}
@@ -279,8 +257,8 @@
}
function changePageNo(currentPage) {
- queryParams.value.pageNum = currentPage;
page.value.current = currentPage;
+ queryParams.value.pageNum = currentPage;
getList();
}
--
Gitblit v1.9.3