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/gasMaterialUsage/index.vue | 32 +++++++++++++++++++++-----------
1 files changed, 21 insertions(+), 11 deletions(-)
diff --git a/src/views/basicData/gasMaterialUsage/index.vue b/src/views/basicData/gasMaterialUsage/index.vue
index 143853d..7e907bc 100644
--- a/src/views/basicData/gasMaterialUsage/index.vue
+++ b/src/views/basicData/gasMaterialUsage/index.vue
@@ -2,10 +2,10 @@
<div class="app-container">
<el-row :gutter="20">
<el-col>
- <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px">
+ <el-form :model="queryParams" ref="queryRef" :inline="true" label-position="left" v-show="showSearch">
<el-row :gutter="20">
<el-col :span="6">
- <el-form-item label="鏂欏彿" prop="itemNumber">
+ <el-form-item label="鏂欏彿" prop="itemNumber" :style="{ width: '100%' }">
<el-input
v-model="queryParams.itemNumber"
placeholder="璇疯緭鍏ユ枡鍙�"
@@ -15,7 +15,7 @@
</el-form-item>
</el-col>
<el-col :span="6">
- <el-form-item label="鍥惧彿" prop="drawingNo">
+ <el-form-item label="鍥惧彿" prop="drawingNo" :style="{ width: '100%' }">
<el-input
v-model="queryParams.drawingNo"
placeholder="璇疯緭鍏ュ浘鍙�"
@@ -25,7 +25,7 @@
</el-form-item>
</el-col>
<el-col :span="6">
- <el-form-item label="鐗堟湰" prop="version">
+ <el-form-item label="鐗堟湰" prop="version" :style="{ width: '100%' }">
<el-input
v-model="queryParams.version"
placeholder="璇疯緭鍏ョ増鏈�"
@@ -35,7 +35,7 @@
</el-form-item>
</el-col>
<el-col :span="6">
- <el-form-item label="宸ュ簭鍚嶇О" prop="processName">
+ <el-form-item label="宸ュ簭鍚嶇О" prop="processName" :style="{ width: '100%' }">
<el-input
v-model="queryParams.processName"
placeholder="璇疯緭鍏ュ伐搴忓悕绉�"
@@ -44,13 +44,16 @@
/>
</el-form-item>
</el-col>
- <el-col :span="24" style="text-align: right;">
- <el-form-item>
+ </el-row>
+ <!-- <el-row :gutter="20">
+
+ <el-col :span="16" style="text-align: right;">
+ <el-form-item class="column-with-margin">
<el-button type="primary" icon="Search" @click="handleQuery">鎼滅储</el-button>
<el-button icon="Refresh" @click="resetQuery">閲嶇疆</el-button>
</el-form-item>
</el-col>
- </el-row>
+ </el-row> -->
</el-form>
</el-col>
</el-row>
@@ -65,7 +68,9 @@
>瀵煎叆
</el-button>
</el-col>
- <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
+ <right-toolbar v-model:showSearch="showSearch"
+ @queryTable="handleQuery"
+ @resetTable="resetQuery"></right-toolbar>
</el-row>
<HxlhTable
style="width: 100%"
@@ -139,7 +144,7 @@
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";
const {proxy} = getCurrentInstance();
@@ -153,7 +158,7 @@
const total = ref(0);
const title = ref("");
-const height = ref(document.documentElement.clientHeight - 270 + "px;")
+const height = ref(document.documentElement.clientHeight - 220 + "px;")
const isVisible = ref(false);
const isError = ref(false);
const planned = ref(true);
@@ -351,3 +356,8 @@
getList();
</script>
+<style scoped>
+.column-with-margin {
+ margin-right: 0px;
+}
+</style>
\ No newline at end of file
--
Gitblit v1.9.3