| | |
| | | <template> |
| | | <view class="container"> |
| | | <view class="list-item"> |
| | | <navigator url="./skinDetectionDetail?title=皮肤色斑检测分析" hover-class=""> |
| | | <view class="list-item" v-for="item in list"> |
| | | <navigator :url="'./skinDetectionDetail?id='+item.id+'&title='+(item.title?item.title:'')" hover-class="" > |
| | | <view class="list-header"> |
| | | <text class="name">皮肤色斑检测分析</text> |
| | | <text class="gray">2020-12-08 10:12:48</text> |
| | | <text class="name">{{item.title || '-'}}</text> |
| | | <text class="gray">{{item.checkTime}}</text> |
| | | </view> |
| | | <view class="list-content"> |
| | | <view class="flex justify-between"> |
| | | <text>检测师</text> |
| | | <text class="gray">李广</text> |
| | | <text class="gray">{{item.checkUserName}}</text> |
| | | </view> |
| | | <view class="flex justify-between"> |
| | | <text>检测门店</text> |
| | | <text class="gray">梅溪湖店</text> |
| | | <text class="gray">{{item.shopName}}</text> |
| | | </view> |
| | | </view> |
| | | </navigator> |
| | | </view> |
| | | <view class="list-item"> |
| | | <navigator url="./skinDetectionDetail?title=皮肤色斑检测分析" hover-class=""> |
| | | <view class="list-header"> |
| | | <text class="name">皮肤色斑检测分析</text> |
| | | <text class="gray">2020-12-08 10:12:48</text> |
| | | </view> |
| | | <view class="list-content"> |
| | | <view class="flex justify-between"> |
| | | <text>检测师</text> |
| | | <text class="gray">李广</text> |
| | | </view> |
| | | <view class="flex justify-between"> |
| | | <text>检测门店</text> |
| | | <text class="gray">梅溪湖店</text> |
| | | </view> |
| | | </view> |
| | | </navigator> |
| | | </view> |
| | | <no-record :isShow="!list.length" txt="暂无检测报告"></no-record> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default{ |
| | | components:{ |
| | | |
| | | }, |
| | | data(){ |
| | | return { |
| | | |
| | | id: '', |
| | | list: [] |
| | | } |
| | | }, |
| | | onLoad(options) { |
| | | this.id = options.id; |
| | | this.loadList() |
| | | }, |
| | | methods:{ |
| | | |
| | | loadList(){ |
| | | this.$httpUtils.request('/api/skinCheck/findSkinCheckList', { |
| | | pageNum: 1, |
| | | pageSize: 100, |
| | | vipId: this.id |
| | | }, 'POST').then((res) => { |
| | | if(res.status == 200){ |
| | | this.list = res.rows; |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | </script> |