修改
This commit is contained in:
parent
15fd47d9d7
commit
ff78f66857
@ -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
|
||||
})
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user