筛查结果
This commit is contained in:
parent
8ea608775f
commit
c4308674e7
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<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="content" v-for="(item,index) in prejectlist" @tap="result(item)">
|
||||||
<view class="big">{{item.projectName}}
|
<view class="big">{{item.projectName}}
|
||||||
</view>
|
</view>
|
||||||
@ -8,6 +8,10 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="app" v-else>
|
||||||
|
<u-empty mode="order" icon-size='220' text="暂无筛查结果"></u-empty>
|
||||||
|
</view>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -18,16 +22,16 @@
|
|||||||
data() {
|
data() {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
prejectlist:{},
|
prejectlist: {},
|
||||||
userinfo:{}
|
userinfo: {}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
|
||||||
this.userinfo=uni.getStorageSync('userinfo');
|
this.userinfo = uni.getStorageSync('userinfo');
|
||||||
var patientId=this.userinfo.id
|
var patientId = this.userinfo.id
|
||||||
projectTypedata(patientId).then(res=>{
|
projectTypedata(patientId).then(res => {
|
||||||
this.prejectlist=res.data
|
this.prejectlist = res.data
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
|
||||||
})
|
})
|
||||||
@ -35,15 +39,15 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
resultstype(){
|
resultstype() {
|
||||||
|
|
||||||
},
|
},
|
||||||
// 查看筛查结果
|
// 查看筛查结果
|
||||||
result(item){
|
result(item) {
|
||||||
console.log(item)
|
console.log(item)
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pagesB/screeningResult/screeningResult?projectId=${item.projectId}`
|
url: `/pagesB/screeningResult/screeningResult?projectId=${item.projectId}`
|
||||||
});
|
});
|
||||||
console.log(item)
|
console.log(item)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="app">
|
<view class="app" v-if="prejectlist.data">
|
||||||
<view class="content" v-for="(item,index) in prejectlist">
|
<view class="content" v-for="(item,index) in prejectlist">
|
||||||
<view class="big">{{item.projectName}}
|
<view class="big">{{item.projectName}}
|
||||||
</view>
|
</view>
|
||||||
@ -10,19 +10,9 @@
|
|||||||
详情
|
详情
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="content">
|
</view>
|
||||||
<view class="big">眼底筛查
|
<view class="app" v-else>
|
||||||
|
<u-empty mode="order" icon-size='220' text="暂无筛查记录"></u-empty>
|
||||||
</view>
|
|
||||||
<view class="servename">
|
|
||||||
2023-12-12 12:12:12
|
|
||||||
</view>
|
|
||||||
<view class="appoint" @tap="goapponint">
|
|
||||||
详情
|
|
||||||
</view>
|
|
||||||
</view> -->
|
|
||||||
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user