85 lines
1.7 KiB
Vue
85 lines
1.7 KiB
Vue
<template>
|
|
<view class="app" v-if="prejectlist.length>0">
|
|
<view class="content" v-for="(item,index) in prejectlist" @tap="result(item)">
|
|
<view class="big">{{item.projectName}}
|
|
</view>
|
|
<view class="servename">
|
|
查看筛查结果
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="app" v-else>
|
|
<u-empty mode="order" icon-size='220' text="暂无筛查结果"></u-empty>
|
|
</view>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
import {
|
|
projectTypedata
|
|
} from '@/api/pagesB/SelectItem/SelectItem.js'
|
|
export default {
|
|
data() {
|
|
return {
|
|
prejectlist: [],
|
|
};
|
|
},
|
|
onShow() {
|
|
projectTypedata(uni.getStorageSync('userinfo').id).then(res => {
|
|
this.prejectlist = res.data
|
|
})
|
|
},
|
|
|
|
methods: {
|
|
resultstype() {},
|
|
// 查看筛查结果
|
|
result(item) {
|
|
uni.navigateTo({
|
|
url: `/pagesB/screeningResult/screeningResult?projectId=${item.projectId}`
|
|
});
|
|
}
|
|
// goapponint() {
|
|
// uni.navigateTo({
|
|
// url: '/pagesC/Screeningdetails/Screeningdetails'
|
|
// });
|
|
// },
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.app {
|
|
height: 100vh;
|
|
background-color: #F7F5F5;
|
|
padding: 30rpx 0 0 0;
|
|
overflow: scroll;
|
|
|
|
.content {
|
|
position: relative;
|
|
width: 95%;
|
|
height: 183rpx;
|
|
background: #FFFFFF;
|
|
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
|
|
border-radius: 5rpx;
|
|
margin: 15rpx auto;
|
|
|
|
.servename {
|
|
padding: 0 50rpx 0 50rpx;
|
|
font-size: 28rpx;
|
|
font-family: Source Han Sans CN;
|
|
font-weight: 400;
|
|
color: #868585;
|
|
line-height: 38rpx;
|
|
}
|
|
|
|
.big {
|
|
padding: 35rpx 50rpx 30rpx 50rpx;
|
|
font-size: 32rpx;
|
|
font-family: Source Han Sans CN;
|
|
font-weight: 500;
|
|
color: #000000;
|
|
line-height: 38rpx;
|
|
}
|
|
}
|
|
}
|
|
</style> |