修改
This commit is contained in:
parent
15fd47d9d7
commit
ff78f66857
@ -9,7 +9,7 @@
|
|||||||
<view class="btns">
|
<view class="btns">
|
||||||
<view class="btn" @tap="goMymission('NOT_FINISH')">
|
<view class="btn" @tap="goMymission('NOT_FINISH')">
|
||||||
<view class="number">
|
<view class="number">
|
||||||
{{selectOrderByNursePersonCountlist.notFinshCount}}项
|
{{selectOrderByNursePersonCountlist.notFinishCount}}项
|
||||||
</view>
|
</view>
|
||||||
<view class="text">
|
<view class="text">
|
||||||
待处理
|
待处理
|
||||||
@ -73,25 +73,29 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
beijingurl: null, //背景
|
beijingurl: null, //背景
|
||||||
nurserStationPresonId: 35, //护理员id
|
nurserStationPersonId: null, //护理员id
|
||||||
selectOrderByNursePersonCountlist: {}, //项目数量对象
|
selectOrderByNursePersonCountlist: {}, //项目数量对象
|
||||||
personRoleLoginFlag: null, //身份认证
|
personRoleLoginFlag: null, //身份认证
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.beijingurl = baseurl + '/profile/nursePersonAppletPicture/person_center.png'
|
this.beijingurl = baseurl + '/profile/nursePersonAppletPicture/person_center.png'
|
||||||
this.OrderByNursePersonCount();
|
|
||||||
var that = this
|
var that = this
|
||||||
const value = uni.getStorageSync('personRoleLoginFlag');
|
const value = uni.getStorageSync('nursePersonId');
|
||||||
if (value) {
|
if (value) {
|
||||||
that.personRoleLoginFlag = value
|
that.nurserStationPersonId = value
|
||||||
|
that.OrderByNursePersonCount();
|
||||||
|
} else {}
|
||||||
|
const value2 = uni.getStorageSync('personRoleLoginFlag');
|
||||||
|
if (value2) {
|
||||||
|
that.personRoleLoginFlag = value2
|
||||||
} else {}
|
} else {}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(["personopenPopup"]),
|
...mapActions(["personopenPopup"]),
|
||||||
//项目数量
|
//项目数量
|
||||||
OrderByNursePersonCount() {
|
OrderByNursePersonCount() {
|
||||||
selectOrderByNursePersonCount(this.nurserStationPresonId).then(res => {
|
selectOrderByNursePersonCount(this.nurserStationPersonId).then(res => {
|
||||||
this.selectOrderByNursePersonCountlist = res
|
this.selectOrderByNursePersonCountlist = res
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user