修改
This commit is contained in:
parent
11ef3580aa
commit
c47ffdccb7
@ -32,7 +32,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="TemplateMessage" @tap='goTemplate' v-if="personRoleLoginFlag=='stationRole'">
|
<view class="TemplateMessage" @tap='goTemplate' v-if="personRoleLoginFlag=='stationRole'||personRoleLoginFlag=='wholeRole'">
|
||||||
护理机构运营人员模板消息订阅
|
护理机构运营人员模板消息订阅
|
||||||
</view>
|
</view>
|
||||||
<view class="centerfloat">
|
<view class="centerfloat">
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
修改信息
|
修改信息
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="user" v-if="personRoleLoginFlag == 'stationRole'">
|
<view class="user" v-if="personRoleLoginFlag == 'stationRole'||personRoleLoginFlag=='wholeRole'">
|
||||||
<image class="img" src="../../static/users.png" mode=""></image>
|
<image class="img" src="../../static/users.png" mode=""></image>
|
||||||
<view class="phone" style="top:245rpx" v-if="phone">
|
<view class="phone" style="top:245rpx" v-if="phone">
|
||||||
{{phone}}
|
{{phone}}
|
||||||
@ -101,6 +101,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
this.Personallist = null
|
||||||
this.beijingurl = baseurl + '/profile/nursePersonAppletPicture/person_center.png'
|
this.beijingurl = baseurl + '/profile/nursePersonAppletPicture/person_center.png'
|
||||||
this.baseurl = baseurl;
|
this.baseurl = baseurl;
|
||||||
let that = this
|
let that = this
|
||||||
|
|||||||
@ -18,6 +18,22 @@ const store = new Vuex.Store({
|
|||||||
complete(scc) {}
|
complete(scc) {}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
//为全部所有人
|
||||||
|
//预约订单接受消息通知
|
||||||
|
subscribesuccesssome(state) {
|
||||||
|
wx.requestSubscribeMessage({
|
||||||
|
tmplIds: [
|
||||||
|
't6PZuAOalg6RTh_dzORsHthP4PeZQNSWVqlLmxypyas',
|
||||||
|
'fmZMOW9dq4kKBH-BEpcVIltbG0C9-aiQUVG3USVfgR8',
|
||||||
|
'foVV7Gke-8JdzgzHQ7QQrDV5lK1L5xLkuUyZurQC8L4',
|
||||||
|
],
|
||||||
|
success(res) {},
|
||||||
|
fail(err) {},
|
||||||
|
complete(scc) {}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
//护理站
|
//护理站
|
||||||
//预约订单接受消息通知
|
//预约订单接受消息通知
|
||||||
subscribesuccess(state) {
|
subscribesuccess(state) {
|
||||||
@ -61,7 +77,6 @@ const store = new Vuex.Store({
|
|||||||
//护理站
|
//护理站
|
||||||
//预约订单拒绝消息通知
|
//预约订单拒绝消息通知
|
||||||
integralopenPopup(contxt) {
|
integralopenPopup(contxt) {
|
||||||
const nursePersonIds = uni.getStorageSync('nursePersonId');
|
|
||||||
wx.getSetting({
|
wx.getSetting({
|
||||||
withSubscriptions: true,
|
withSubscriptions: true,
|
||||||
success(res) {
|
success(res) {
|
||||||
@ -73,14 +88,18 @@ const store = new Vuex.Store({
|
|||||||
},
|
},
|
||||||
//预约订单接受消息通知
|
//预约订单接受消息通知
|
||||||
openPopup(contxt) {
|
openPopup(contxt) {
|
||||||
const nursePersonIds = uni.getStorageSync('nursePersonId');
|
const personRoleLoginFlag = uni.getStorageSync('personRoleLoginFlag');
|
||||||
wx.getSetting({
|
wx.getSetting({
|
||||||
withSubscriptions: true,
|
withSubscriptions: true,
|
||||||
success(res) {
|
success(res) {
|
||||||
if (res.authSetting['scope.subscribeMessage']) {} else {
|
if (res.authSetting['scope.subscribeMessage']) {} else {
|
||||||
|
if (personRoleLoginFlag == 'wholeRole') {
|
||||||
|
contxt.commit('subscribesuccesssome')
|
||||||
|
} else {
|
||||||
contxt.commit('subscribesuccess')
|
contxt.commit('subscribesuccess')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user