Zhu Zhonghua
2025-04-25 b4a8f3bd346374cf28b72b285de9a5d2117d022b
增加table size
已修改1个文件
19 ■■■■ 文件已修改
src/views/mainPlan/gasPlanning/index.vue 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mainPlan/gasPlanning/index.vue
@@ -57,6 +57,7 @@
          :height="height"
          :edit-config="{ trigger: 'manual', mode: 'row', showStatus: true }"
          :data="routePlanList"
          size="small"
          @cell-click="cellClickEvent"
        >
          <vxe-column field="processName" title="标准工序名称" min-width="150">
@@ -155,11 +156,11 @@
                > -->
            <template #default="{ row }">
              <template v-if="hasEditStatus(row)">
                <el-button @click="saveRowEvent(row)" size="small">保存</el-button>
                <el-button @click="cancelRowEvent()" size="small">取消</el-button>
                <el-button @click="saveRowEvent(row)">保存</el-button>
                <el-button @click="cancelRowEvent()">取消</el-button>
              </template>
              <template v-else>
                <el-button @click="editRowEvent(row)" size="small">编辑</el-button>
                <el-button @click="editRowEvent(row)">编辑</el-button>
              </template>
            </template>
            <!-- </template> -->
@@ -182,6 +183,7 @@
          border
          ref="tableRef1"
          show-overflow
          size="small"
          :loading="loading2"
          :height="height"
          :edit-config="{ mode: 'row', trigger: 'click', showStatus: true }"
@@ -284,11 +286,11 @@
                > -->
            <template #default="{ row }">
              <template v-if="hasEditStatus1(row)">
                <el-button @click="saveRowEvent1(row)" size="small">保存</el-button>
                <el-button @click="cancelRowEvent1()" size="small">取消</el-button>
                <el-button @click="saveRowEvent1(row)">保存</el-button>
                <el-button @click="cancelRowEvent1()">取消</el-button>
              </template>
              <template v-else>
                <el-button @click="editRowEvent1(row)" size="small">编辑</el-button>
                <el-button @click="editRowEvent1(row)">编辑</el-button>
              </template>
            </template>
            <!-- </template> -->
@@ -300,11 +302,8 @@
      </div>
    </div>
  </div>
  <!--  -->
</template>
<script setup>
import HxlhTable from "@/components/HxlhTable";
<script setup name="gasPlanning">
import { ElMessage } from "element-plus";
import { listGasPlan, getGasPlanSave } from "@/api/mainPlan/gasPlanning";
const height = ref(document.documentElement.clientHeight - 400 + "px;");