lurunzhen 2 months ago
parent
commit
58ba1a90b6
1 changed files with 11 additions and 3 deletions
  1. 11 3
      src/views/order/orderBookBoard.vue

+ 11 - 3
src/views/order/orderBookBoard.vue

@@ -102,12 +102,20 @@
             <el-table-column prop="address" label="服务地址"></el-table-column>
             <el-table-column prop="goodsName" label="服务项"></el-table-column>
             <el-table-column prop="bookTime" label="上门时段" width="180px"></el-table-column>
-            <el-table-column prop="fraName" label="服务商" width="180px"></el-table-column>
-            <el-table-column prop="servantName" label="服务人员" width="100px"></el-table-column>
+            <el-table-column prop="fraName" label="服务商" width="130px"></el-table-column>
+            <el-table-column prop="workerName" label="服务人员" width="280px">
+              <template slot-scope="scope">
+                <div style="text-align: left;">
+                  <span v-for="(item,index) in scope.row.servantList" :key="index" style="font-weight: 600;">
+                    服务者{{index+1}}:{{item.servantName }}{{ item.servantPhone }}<br/>
+                  </span>
+                </div>
+              </template>
+            </el-table-column>
             <el-table-column prop="status" label="工单状态" width="100px"></el-table-column>
             <el-table-column align="center" label="操作" class-name="small-padding fixed-width" width="100px" fixed="right">
               <template slot-scope="scope">
-                <el-button v-if="status!='取消 未付款'&&status!='退款'" type="text" size="mini" icon="el-icon-edit" @click="handleBook(scope.row)">去处理</el-button>
+                <el-button v-if="scope.row.status!='取消 未付款'&&scope.row.status!='退款'" type="text" size="mini" icon="el-icon-edit" @click="handleBook(scope.row)">去处理</el-button>
               </template>
             </el-table-column>
           </el-table>