| | |
| | | <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()"> |
| | |
| | | <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'}"> |
| | |
| | | </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> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | url: `${window.SITE_CONFIG['apiURL']}/sysPictureBase/getProductImg?token=${Cookies.get('token')}&id=`, |
| | | url: `${window.SITE_CONFIG['apiURL']}/sysPictureBase/getSvgImage?token=${Cookies.get('token')}&id=`, |
| | | dataForm: { |
| | | operationalStatus:'', |
| | | standbyState:'', |