筛查结果
This commit is contained in:
parent
8ea608775f
commit
c4308674e7
@ -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();
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user