Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
132e8a6f20
@ -35,30 +35,23 @@
|
||||
<view class="Threecategories">
|
||||
<view class="item" @tap="goBehaviorpoints">
|
||||
<view class="number">
|
||||
0
|
||||
{{appPersonallist.score>=0?appPersonallist.score:0}}
|
||||
</view>
|
||||
<view class="text">
|
||||
行为积分
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" @tap='gointegral'>
|
||||
<view class="number" v-if="!appPersonallist.integral">
|
||||
0
|
||||
</view>
|
||||
<view class="number" v-else>
|
||||
{{appPersonallist.integral}}
|
||||
<view class="number">
|
||||
{{appPersonallist.integral>=0?appPersonallist.integral:0}}
|
||||
</view>
|
||||
<view class="text">
|
||||
健康豆
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" @tap='gocoupon'>
|
||||
<view class="number"
|
||||
v-if="appPersonallist.patientCouponCount==0 ||!appPersonallist.patientCouponCount">
|
||||
0
|
||||
</view>
|
||||
<view class="number" v-else>
|
||||
{{appPersonallist.patientCouponCount}}
|
||||
<view class="number">
|
||||
{{appPersonallist.patientCouponCount>=0?appPersonallist.patientCouponCount:0}}
|
||||
</view>
|
||||
<view class="text">
|
||||
优惠券
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<view class="app" v-if="prejectlist.data">
|
||||
<view class="content" v-for="(item,index) in prejectlist" @tap="result(item)">
|
||||
<view class="big">{{item.projectName}}
|
||||
</view>
|
||||
@ -8,6 +8,10 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="app" v-else>
|
||||
<u-empty mode="order" icon-size='220' text="暂无筛查结果"></u-empty>
|
||||
</view>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@ -18,16 +22,16 @@
|
||||
data() {
|
||||
|
||||
return {
|
||||
prejectlist:{},
|
||||
userinfo:{}
|
||||
prejectlist: {},
|
||||
userinfo: {}
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
|
||||
this.userinfo=uni.getStorageSync('userinfo');
|
||||
var patientId=this.userinfo.id
|
||||
projectTypedata(patientId).then(res=>{
|
||||
this.prejectlist=res.data
|
||||
|
||||
this.userinfo = uni.getStorageSync('userinfo');
|
||||
var patientId = this.userinfo.id
|
||||
projectTypedata(patientId).then(res => {
|
||||
this.prejectlist = res.data
|
||||
console.log(res)
|
||||
|
||||
})
|
||||
@ -35,15 +39,15 @@
|
||||
},
|
||||
|
||||
methods: {
|
||||
resultstype(){
|
||||
resultstype() {
|
||||
|
||||
},
|
||||
// 查看筛查结果
|
||||
result(item){
|
||||
result(item) {
|
||||
console.log(item)
|
||||
uni.navigateTo({
|
||||
url: `/pagesB/screeningResult/screeningResult?projectId=${item.projectId}`
|
||||
});
|
||||
uni.navigateTo({
|
||||
url: `/pagesB/screeningResult/screeningResult?projectId=${item.projectId}`
|
||||
});
|
||||
console.log(item)
|
||||
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<view class="app" v-if="prejectlist.data">
|
||||
<view class="content" v-for="(item,index) in prejectlist">
|
||||
<view class="big">{{item.projectName}}
|
||||
</view>
|
||||
@ -10,19 +10,9 @@
|
||||
详情
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="content">
|
||||
<view class="big">眼底筛查
|
||||
|
||||
</view>
|
||||
<view class="servename">
|
||||
2023-12-12 12:12:12
|
||||
</view>
|
||||
<view class="appoint" @tap="goapponint">
|
||||
详情
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
|
||||
</view>
|
||||
<view class="app" v-else>
|
||||
<u-empty mode="order" icon-size='220' text="暂无筛查记录"></u-empty>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -42,8 +32,8 @@
|
||||
var patientId=this.userinfo.id
|
||||
projectTypedata(patientId).then(res=>{
|
||||
this.prejectlist=res.data
|
||||
|
||||
|
||||
|
||||
|
||||
})
|
||||
// this.resultstype();
|
||||
},
|
||||
|
||||
@ -18,8 +18,9 @@
|
||||
<view class="doctorSend" v-else>
|
||||
<image class="head" src="@/static/docHead.png"></image>
|
||||
<view class="">
|
||||
<text>{{item.senderName}}</text>
|
||||
<view class="sendBox" v-if="item.content">{{item.content}}</view>
|
||||
<!-- <text>{{item.senderName}}</text> -->
|
||||
<view class="sendBox" v-if="item.messageType==1">{{item.content}}</view>
|
||||
<image v-if="item.messageType==2" :src="baseurl+item.content" class="snedItemimage" />
|
||||
</view>
|
||||
</view>
|
||||
<video v-if="item.video" :src="item.video"></video>
|
||||
@ -356,7 +357,6 @@
|
||||
// console.log(JSON.stringify(res.tempFilePaths));
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
},
|
||||
//发送图片
|
||||
@ -764,4 +764,4 @@
|
||||
bottom: 38rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user