|
@@ -4,7 +4,7 @@
|
|
|
<text>服务日期:{{periodDate.label}}</text>
|
|
<text>服务日期:{{periodDate.label}}</text>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view class="flex-col group">
|
|
|
|
|
|
|
+ <view class="flex-col group" v-if="serviceObjectList.length>1">
|
|
|
<view class="serob"><text>服务对象</text></view>
|
|
<view class="serob"><text>服务对象</text></view>
|
|
|
<u-grid :border="false" col="4">
|
|
<u-grid :border="false" col="4">
|
|
|
<u-grid-item v-for="(item,index) in serviceObjectList" :key="index">
|
|
<u-grid-item v-for="(item,index) in serviceObjectList" :key="index">
|
|
@@ -25,7 +25,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<view class="flex-col group " v-for="(item, index) in orderParam.childService">
|
|
<view class="flex-col group " v-for="(item, index) in orderParam.childService">
|
|
|
- <view class="flex-row " >
|
|
|
|
|
|
|
+ <view class="flex-row " v-if="serviceObjectList.length>1">
|
|
|
<image class="selectSerobImg" mode="aspectFill" :src="item.facePhotoUrl || '/static/me/ud4.png'"></image>
|
|
<image class="selectSerobImg" mode="aspectFill" :src="item.facePhotoUrl || '/static/me/ud4.png'"></image>
|
|
|
<text class="selectSerobName">{{item.nickName || '未填写'}}</text>
|
|
<text class="selectSerobName">{{item.nickName || '未填写'}}</text>
|
|
|
</view>
|
|
</view>
|
|
@@ -225,11 +225,12 @@
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
items[i].facePhotoUrl = res.data.data[0].url.replace(/^http:/, "https:")
|
|
items[i].facePhotoUrl = res.data.data[0].url.replace(/^http:/, "https:")
|
|
|
this.$set(this.serviceObjectList, i, items[i])
|
|
this.$set(this.serviceObjectList, i, items[i])
|
|
|
- if (i === 0){
|
|
|
|
|
- this.selectServiceObject(items[i])
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
+ if (i === 0){
|
|
|
|
|
+ this.selectServiceObject(items[i])
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|