This commit is contained in:
2023-11-13 16:40:02 +08:00
parent 14ff1bd760
commit ee1374776c

View File

@ -20,36 +20,23 @@
} from '@/api/pagesB/SelectItem/SelectItem.js'
export default {
data() {
return {
prejectlist: {},
userinfo: {}
};
},
onShow() {
this.userinfo = uni.getStorageSync('userinfo');
var patientId = this.userinfo.id
projectTypedata(patientId).then(res => {
projectTypedata(uni.getStorageSync('userinfo').id).then(res => {
this.prejectlist = res.data
console.log(this.prejectlist)
})
// this.resultstype();
},
methods: {
resultstype() {
},
resultstype() {},
//
result(item) {
console.log(item)
uni.navigateTo({
url: `/pagesB/screeningResult/screeningResult?projectId=${item.projectId}`
});
console.log(item)
}
// goapponint() {
// uni.navigateTo({
@ -95,4 +82,4 @@
}
}
}
</style>
</style>