| | |
| | | </el-row> |
| | | </el-form> |
| | | <!-- <div class="box_container"> --> |
| | | <el-row v-if="!clickedTableRef"> |
| | | <!-- <el-col :span="!clickedTableRef?22:20"> |
| | | <div class="title_text">{{$t('plan.title.pipePlanCapacity')}}</div> |
| | | </el-col> --> |
| | | <el-col |
| | | :span="24" |
| | | style="text-align: right; margin-bottom: 10px" |
| | | > |
| | | <el-button class="title_btn" type="default" @click="editRowEvent">{{ |
| | | <el-row> |
| | | <el-col :span="12" style="margin-bottom: 10px"> |
| | | <el-button v-if="!clickedTableRef" class="title_btn" plain type="default" @click="editRowEvent">{{ |
| | | $t("common.common.edit") |
| | | }}</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row v-if="clickedTableRef"> |
| | | <el-col :span="24" style="text-align: right; margin-bottom: 10px" > |
| | | <el-button |
| | | v-if="clickedTableRef" |
| | | class="title_btn" |
| | | type="primary" |
| | | @click="saveRowEvent" |
| | |
| | | {{ $t("common.common.save") }} |
| | | </el-button> |
| | | <el-button |
| | | v-if="clickedTableRef" |
| | | class="title_btn ml20" |
| | | type="default" |
| | | @click="handleCancleStaus" |
| | | >{{ $t("common.common.cancel") }}</el-button |
| | | > |
| | | </el-col> |
| | | <right-toolbar |
| | | v-model:showSearch="showSearch" |
| | | @queryTable="handleQuery" |
| | | @resetTable="resetQuery" |
| | | ></right-toolbar> |
| | | </el-row> |
| | | <vxe-table |
| | | border |
| | |
| | | <script setup name="GasPlanning"> |
| | | // import { ElMessage } from "element-plus"; |
| | | import { listGasPlan, getGasPlanSave } from "@/api/mainPlan/gasPlanning"; |
| | | const height = ref(document.documentElement.clientHeight - 230 + "px;"); |
| | | const height = ref(document.documentElement.clientHeight - 210 + "px;"); |
| | | import { useI18n } from "vue-i18n"; //要在js中使用国际化 |
| | | const { t, locale } = useI18n(); |
| | | const { proxy } = getCurrentInstance(); |