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: { methods: {
//toptabr //toptabr
tapmymission(item) { tapmymission(item) {
this.orderStatus = item var that = this
this.selectMissioninfo(); 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 //list
selectMissioninfo() { selectMissioninfo() {
@ -189,7 +200,13 @@
if (value) { if (value) {
that.nursePersonId = value that.nursePersonId = value
that.selectMissioninfo(); that.selectMissioninfo();
} else {} } else {
that.$refs.uToast.show({
title: '您未登录',
type: 'error',
duration: '1000'
})
}
}, },
onReachBottom() { // onReachBottom() { //
if (this.missionlist.length >= this.total) {} else { if (this.missionlist.length >= this.total) {} else {

View File

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