|  |  | 
 |  |  | <template> | 
 |  |  |   <div class="fa-card-a" shadow="never"> | 
 |  |  |     <div class="mod-sys__dict"> | 
 |  |  |       <el-row :gutter="20"> | 
 |  |  |       <el-row :gutter="5"> | 
 |  |  |         <el-col :span="11"> | 
 |  |  |           <div class=""> | 
 |  |  |           <div class="fa-card-a"> | 
 |  |  |           <zt-table-wraper ref="typeTable" v-slot="{ table }" :paging='false' | 
 |  |  |                            delete-url="/sys/dict/type" | 
 |  |  |                            query-url="/sys/dict/type/tree"> | 
 |  |  |                 <el-form :inline="true" :model="dataForm" @keyup.enter.native="table.query()"> | 
 |  |  |                   <el-form-item> | 
 |  |  |                     <zt-button perm="sys:dict" type="add" @click="table.editHandle()"/> | 
 |  |  |                     <zt-button type='self' icon2="el-icon-upload2"  @click="DictImport">导入</zt-button> | 
 |  |  |                   </el-form-item> | 
 |  |  |                 </el-form> | 
 |  |  |             <zt-button type='self' icon2="el-icon-upload2"  @click="DictImport">导入</zt-button> | 
 |  |  |  | 
 |  |  |               <el-table ref="table" v-adaptive="{bottomOffset:30}" v-loading="table.dataLoading" | 
 |  |  |                           :data="table.dataList" border | 
 |  |  |                           :data="table.dataList" | 
 |  |  |                           height="100px" highlight-current-row | 
 |  |  |                           row-key="id" @current-change="handleCurrentChange" | 
 |  |  |                           @selection-change="table.selectionChangeHandle" | 
 |  |  | 
 |  |  |         </el-col> | 
 |  |  |       </el-row> | 
 |  |  |     </div> | 
 |  |  |  | 
 |  |  |   </div> | 
 |  |  | </template> | 
 |  |  | <script> | 
 |  |  | import AddOrUpdate from './dict-type-add-or-update' |