Forráskód Böngészése

Merge remote-tracking branch 'origin/qiankun-240313' into qiankun-240313

tyb 2 hónapja
szülő
commit
607fd1bfc1
1 módosított fájl, 26 hozzáadás és 2 törlés
  1. 26 2
      src/views/order/serviceBook.vue

+ 26 - 2
src/views/order/serviceBook.vue

@@ -69,8 +69,32 @@
                   {{ scope.row.bookDate + " " }}{{ scope.row.bookStartTime }}-{{ scope.row.bookEndTime }}
                 </template>
               </el-table-column>
-              <el-table-column align="center" label="上门打卡时间" prop="ondoorTime" />
-              <el-table-column align="center" label="服务完成时间" prop="finishTime" />
+              <el-table-column align="center" label="上门打卡" prop="ondoorTime" width="200" >
+                <template slot-scope="scope">
+                   <span style="font-weight: bold;">打卡时间:</span>{{ scope.row.ondoorTime }}<br/>
+                   <el-image 
+                    slot="reference"
+                    :preview-src-list="scope.row.ondoorImg.split(',')"
+                    v-for="item in scope.row.ondoorImg.split(',')"
+                    :key="item.index"
+                    :src="item"
+                    style="width: 50px; height: 50px"
+                  ></el-image>
+                </template>
+              </el-table-column>
+              <el-table-column align="center" label="完成打卡" prop="finishTime" width="200" >
+              <template slot-scope="scope">
+                   <span style="font-weight: bold;">完成时间:</span>{{ scope.row.finishTime }}<br/>
+                   <el-image   
+                    slot="reference"
+                    :preview-src-list="scope.row.finishImg.split(',')"
+                    v-for="item in scope.row.finishImg.split(',')"
+                    :key="item.index"
+                    :src="item"
+                    style="width: 50px; height: 50px"
+                  ></el-image>
+                </template>
+              </el-table-column>
             </el-table>
           </template>
         </el-table-column>