chengxiangling
2025-05-16 444ba76f4cca8a9df3faf61ab33ec631aec7fbba
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");