ソースを参照

Update index.vue

stjdydayou 4 年 前
コミット
ccdf34028b
1 ファイル変更5 行追加4 行削除
  1. 5 4
      src/views/place/baseInfo/index.vue

+ 5 - 4
src/views/place/baseInfo/index.vue

@@ -24,16 +24,17 @@
       highlight-current-row
       @selection-change="selectionChange"
     >
-      <el-table-column type="selection" width="55" />
+      <el-table-column type="selection" width="55" fixed="left" />
       <el-table-column label="ID" prop="id" width="150" />
-      <el-table-column label="名称" prop="name" />
+      <el-table-column label="名称" prop="name" min-width="200" />
       <el-table-column label="缩略图" width="80">
         <template slot-scope="scope">
           {{ scope.row.litpics.length }}张
         </template>
       </el-table-column>
-      <el-table-column label="地址" prop="address" />
-      <el-table-column label="联系人" prop="contacts" width="150" />
+      <el-table-column label="地址" prop="address" min-width="350"/>
+      <el-table-column label="分类" prop="category.name" width="100" />
+      <el-table-column label="联系人" prop="contacts" width="100" />
       <el-table-column label="联系电话" prop="contactNumber" width="150" />
       <el-table-column label="位置信息" width="200">
         <template slot-scope="scope">