This commit is contained in:
曹辉 2023-04-13 10:41:41 +08:00
parent c61f3d065d
commit bfec2ffaff
2 changed files with 21 additions and 3 deletions

View File

@ -104,8 +104,19 @@
methods: {
//toptabr
tapmymission(item) {
this.orderStatus = item
this.selectMissioninfo();
var that = this
const value = uni.getStorageSync('nursePersonId');
if (value) {
that.orderStatus = item
that.selectMissioninfo();
} else {
that.$refs.uToast.show({
title: '您未登录',
type: 'error',
duration: '1000',
url:"/pages/login/login"
})
}
},
//list
selectMissioninfo() {
@ -189,7 +200,13 @@
if (value) {
that.nursePersonId = value
that.selectMissioninfo();
} else {}
} else {
that.$refs.uToast.show({
title: '您未登录',
type: 'error',
duration: '1000'
})
}
},
onReachBottom() { //
if (this.missionlist.length >= this.total) {} else {

View File

@ -85,6 +85,7 @@
};
},
onShow() {
this.personRoleLoginFlag = "notRoleName"
this.selectOrderByNursePersonCountlist = {}
this.beijingurl = baseurl + '/profile/nursePersonAppletPicture/person_center.png'
var that = this