Commit 4a988e46 authored by xiangzj's avatar xiangzj

高端总经销权限

parent bbe739e4
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
}, },
conditionTop() { conditionTop() {
return { return {
'top': `${this.sysinfo.safeArea.top + 44 + 4}px` 'top': `${this.sysinfo.safeArea.top + 44}px`
} }
}, },
listTop() { listTop() {
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
'top': `${this.sysinfo.safeArea.top + 120}px` 'top': `${this.sysinfo.safeArea.top + 120}px`
} }
}, },
...mapState(['sysinfo', 'userInfo']) ...mapState(['sysinfo', 'userInfo', 'userBpData'])
}, },
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {
console.log('onNavigationBarButtonTap:', e); console.log('onNavigationBarButtonTap:', e);
...@@ -153,6 +153,16 @@ ...@@ -153,6 +153,16 @@
this.handleFilter('week') this.handleFilter('week')
this.loadData(true) this.loadData(true)
}, },
onReady() {
// const webView = this.$mp.page.$getAppWebview
if(this.userBpData.HIGH_ROLE === "FALSE"){
const webView = this.$scope.$getAppWebview();
webView.setTitleNViewButtonStyle(0, {
"width": 0,
'fontSize': 0
});
}
},
methods: { methods: {
loadData(refresh) { loadData(refresh) {
if (this.isLoading) { if (this.isLoading) {
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
}, },
conditionTop() { conditionTop() {
return { return {
'top': `${this.sysinfo.safeArea.top + 44 + 4}px` 'top': `${this.sysinfo.safeArea.top + 44 }px`
} }
}, },
listTop() { listTop() {
...@@ -155,7 +155,6 @@ ...@@ -155,7 +155,6 @@
}, },
onReady() { onReady() {
// const webView = this.$mp.page.$getAppWebview // const webView = this.$mp.page.$getAppWebview
console.log()
if(this.userBpData.HIGH_ROLE === "FALSE"){ if(this.userBpData.HIGH_ROLE === "FALSE"){
const webView = this.$scope.$getAppWebview(); const webView = this.$scope.$getAppWebview();
webView.setTitleNViewButtonStyle(0, { webView.setTitleNViewButtonStyle(0, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment