魏熙美 5 лет назад
Родитель
Сommit
da1d84e465
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      src/views/customer/customerDetails.vue

+ 2
- 2
src/views/customer/customerDetails.vue Просмотреть файл

@@ -4,7 +4,7 @@
4 4
       <el-col :span="9">
5 5
         <div class="grid-content">
6 6
           <p class="title">置业顾问信息</p>
7
-          <img class="touxiang" src="http://img1.imgtn.bdimg.com/it/u=1022041283,4133755956&fm=26&gp=0.jpg" alt="">
7
+          <img class="touxiang" :src="customerDetail.consultant === null ? '' :  customerDetail.consultant.picture" alt="">
8 8
           <p class="name">{{  customerDetail.consultant === null ? '' :  customerDetail.consultant.name }}</p>
9 9
           <p class="phone">{{ customerDetail.consultant === null ? '' :  customerDetail.consultant.phone }}</p>
10 10
           <div class="info">
@@ -22,7 +22,7 @@
22 22
         <div class="grid-content">
23 23
           <p class="title">客户信息</p>
24 24
           <div style="display:flex">
25
-            <img class="touxiang" src="http://img1.imgtn.bdimg.com/it/u=1022041283,4133755956&fm=26&gp=0.jpg" alt="">
25
+            <img class="touxiang" :src="customerDetail.picture" alt="">
26 26
             <div style="width:100%">
27 27
               <p class="info-box">用户名称:<span>{{ customerDetail.name }}</span></p>
28 28
               <p class="info-box">国家:<span>{{ customerDetail.country }}</span></p>