This commit is contained in:
曹辉 2023-04-07 14:28:41 +08:00
parent 15fd47d9d7
commit ff78f66857

View File

@ -9,7 +9,7 @@
<view class="btns">
<view class="btn" @tap="goMymission('NOT_FINISH')">
<view class="number">
{{selectOrderByNursePersonCountlist.notFinshCount}}
{{selectOrderByNursePersonCountlist.notFinishCount}}
</view>
<view class="text">
待处理
@ -73,25 +73,29 @@
data() {
return {
beijingurl: null, //
nurserStationPresonId: 35, //id
nurserStationPersonId: null, //id
selectOrderByNursePersonCountlist: {}, //
personRoleLoginFlag: null, //
};
},
onShow() {
this.beijingurl = baseurl + '/profile/nursePersonAppletPicture/person_center.png'
this.OrderByNursePersonCount();
var that = this
const value = uni.getStorageSync('personRoleLoginFlag');
const value = uni.getStorageSync('nursePersonId');
if (value) {
that.personRoleLoginFlag = value
that.nurserStationPersonId = value
that.OrderByNursePersonCount();
} else {}
const value2 = uni.getStorageSync('personRoleLoginFlag');
if (value2) {
that.personRoleLoginFlag = value2
} else {}
},
methods: {
...mapActions(["personopenPopup"]),
//
OrderByNursePersonCount() {
selectOrderByNursePersonCount(this.nurserStationPresonId).then(res => {
selectOrderByNursePersonCount(this.nurserStationPersonId).then(res => {
this.selectOrderByNursePersonCountlist = res
})
},