liuhj 1 тиждень тому
батько
коміт
872f694209
1 змінених файлів з 12 додано та 0 видалено
  1. 12 0
      src/components/MCR/MarketCustomerResourcesHome.vue

+ 12 - 0
src/components/MCR/MarketCustomerResourcesHome.vue

@@ -140,12 +140,24 @@
                     <el-table-column prop="client" label="单位" width="230">
                     </el-table-column>
                     <el-table-column prop="contact" label="联系人" width="90">
+                        <template slot-scope="scope">
+                            <span>{{scope.row.contact==0?'-':scope.row.contact}}</span>
+                        </template>
                     </el-table-column>
                     <el-table-column prop="job" label="职位" width="110">
+                        <template slot-scope="scope">
+                            <span>{{scope.row.job==0?'-':scope.row.job}}</span>
+                        </template>
                     </el-table-column>
                     <el-table-column prop="telephone" label="手机号" width="120">
+                        <template slot-scope="scope">
+                            <span>{{scope.row.telephone==0?'-':scope.row.telephone}}</span>
+                        </template>
                     </el-table-column>
                     <el-table-column prop="phone" label="座机号" width="120">
+                        <template slot-scope="scope">
+                            <span>{{scope.row.phone==0?'-':scope.row.phone}}</span>
+                        </template>
                     </el-table-column>
                     <el-table-column prop="location" label="所在区域" width="130">
                     </el-table-column>