wente
2024-05-21 fd6cd17c0f7a095be934f9e1d1fd7c3e10cad433
web/src/views/modules/basicInfo/TyProductModel.vue
@@ -1,7 +1,5 @@
<template>
  <el-card shadow="never" class="aui-card--fill">
    <div class="mod-tyProductModel-tyProductModel}">
  <div class="mod-tyProductModel-tyProductModel} fa-card-a">
      <zt-table-wraper query-url="/basicInfo/TyProductModel/tree" delete-url="/basicInfo/TyProductModel/" v-bind:paging='false'
                       v-slot="{ table }">
        <el-form :inline="true" :model="dataForm" @keyup.enter.native="table.query()">
@@ -20,8 +18,8 @@
            <zt-button type="delete"  @click="table.deleteHandle()"/>
          </el-form-item>
        </el-form>
        <el-table v-loading="table.dataLoading" :data="table.dataList" height="100px" v-adaptive="{bottomOffset:70}"
                  border row-key="id"
        <el-table v-loading="table.dataLoading" :data="table.dataList" height="100px" v-adaptive="{bottomOffset:30}"
                  row-key="id"
                  @selection-change="table.selectionChangeHandle"
                  :cell-style="cellStyle"
                  :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
@@ -37,13 +35,12 @@
            </template>
          </el-table-column>
          <el-table-column prop="sort" label="排序"/>
          <zt-table-column-handle :table="table"/>
          <zt-table-column-handle :table="table" width="150" />
        </el-table>
        <!-- 弹窗, 新增 / 修改 -->
        <add-or-update @refreshDataList="table.query"/>
      </zt-table-wraper>
    </div>
  </el-card>
</template>
<script>