Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
wly-APP
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘川
wly-APP
Commits
4a988e46
Commit
4a988e46
authored
Oct 12, 2022
by
xiangzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
高端总经销权限
parent
bbe739e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
produce-material.nvue
pages/produce-material/produce-material.nvue
+12
-2
produce-order.nvue
pages/produce-order/produce-order.nvue
+1
-2
No files found.
pages/produce-material/produce-material.nvue
View file @
4a988e46
...
@@ -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) {
...
...
pages/produce-order/produce-order.nvue
View file @
4a988e46
...
@@ -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, {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment