From 444ba76f4cca8a9df3faf61ab33ec631aec7fbba Mon Sep 17 00:00:00 2001
From: chengxiangling <291105840@qq.com>
Date: 星期五, 16 五月 2025 16:59:12 +0800
Subject: [PATCH] 提交right-toolbar组件事件调用计划运行模块
---
src/views/mainPlan/gasPlanning/index.vue | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/src/views/mainPlan/gasPlanning/index.vue b/src/views/mainPlan/gasPlanning/index.vue
index 9e8f157..5e3e3d3 100644
--- a/src/views/mainPlan/gasPlanning/index.vue
+++ b/src/views/mainPlan/gasPlanning/index.vue
@@ -57,16 +57,13 @@
</el-row>
</el-form>
<!-- <div class="box_container"> -->
- <el-row v-if="!clickedTableRefGas">
- <el-col :span="24" style="text-align: right; margin-bottom: 10px">
- <el-button class="title_btn" type="default" @click="editRowEventGas">{{
+ <el-row>
+ <el-col :span="12" style="margin-bottom: 10px">
+ <el-button v-if="!clickedTableRefGas" class="title_btn" plain type="default" @click="editRowEventGas">{{
$t("common.common.edit")
}}</el-button>
- </el-col>
- </el-row>
- <el-row v-if="clickedTableRefGas">
- <el-col :span="24" style="text-align: right; margin-bottom: 10px">
<el-button
+ v-if="clickedTableRefGas"
class="title_btn"
type="primary"
@click="saveRowEvent1"
@@ -75,12 +72,18 @@
{{ $t("common.common.save") }}
</el-button>
<el-button
+ v-if="clickedTableRefGas"
class="title_btn ml20"
type="default"
@click="handleCancleStausGas"
>{{ $t("common.common.cancel") }}</el-button
>
</el-col>
+ <right-toolbar
+ v-model:showSearch="showSearch"
+ @queryTable="handleQuery"
+ @resetTable="resetQuery"
+ ></right-toolbar>
</el-row>
<!-- <div class="tabel_container"> -->
<!-- <HxlhTable
@@ -319,7 +322,7 @@
// import { ElMessage } from "element-plus";
import { listGasPlan, getGasPlanSave } from "@/api/mainPlan/gasPlanning";
import { useI18n } from "vue-i18n"; //瑕佸湪js涓娇鐢ㄥ浗闄呭寲
-const height = ref(document.documentElement.clientHeight - 230 + "px;");
+const height = ref(document.documentElement.clientHeight - 210 + "px;");
const { t, locale } = useI18n();
const { proxy } = getCurrentInstance();
const { aps_factory } = proxy.useDict("aps_factory");
--
Gitblit v1.9.3