Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-boss
Project
Overview
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
姜雷
wx-boss
Commits
9222a2e0
Commit
9222a2e0
authored
Nov 25, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
182543ec
3bdf7452
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
7 deletions
+29
-7
btn_Sign_out@2x.png
miniprogram/images/btn_Sign_out@2x.png
+0
-0
monthOperator.js
miniprogram/pages/monthOperator/monthOperator.js
+0
-0
monthOperator.ts
miniprogram/pages/monthOperator/monthOperator.ts
+1
-1
report.js
miniprogram/pages/report/report.js
+3
-3
report.ts
miniprogram/pages/report/report.ts
+1
-1
userGrowth.js
miniprogram/pages/userGrowth/userGrowth.js
+0
-0
userGrowth.ts
miniprogram/pages/userGrowth/userGrowth.ts
+24
-2
No files found.
miniprogram/images/btn_Sign
out@2x.png
→
miniprogram/images/btn_Sign
_
out@2x.png
View file @
9222a2e0
File moved
miniprogram/pages/monthOperator/monthOperator.js
View file @
9222a2e0
This diff is collapsed.
Click to expand it.
miniprogram/pages/monthOperator/monthOperator.ts
View file @
9222a2e0
...
...
@@ -210,7 +210,7 @@ Page({
};
let
dataList
=
Object
.
keys
(
res
.
data
).
map
(
key
=>
({
key
,
a
:
'
1
'
,
a
:
'
payType
'
,
name
:
keyMap
[
key
],
count
:
res
.
data
[
key
],
}));
...
...
miniprogram/pages/report/report.js
View file @
9222a2e0
...
...
@@ -33,7 +33,7 @@ Component({
},
{
name
:
'退出登录'
,
icon
:
'../../../images/btn_Sign
out@2x.png'
,
icon
:
'../../../images/btn_Sign
_
out@2x.png'
,
url
:
'/pages/index/index'
,
reLaunch
:
true
,
},
...
...
@@ -43,4 +43,4 @@ Component({
account
:
0
,
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3J0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicmVwb3J0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBR0EsSUFBTSxHQUFHLEdBQUcsTUFBTSxFQUFVLENBQUM7QUFDN0IsU0FBUyxDQUFDO0lBQ1IsU0FBUyxFQUFFO1FBQ1QsUUFBUTtZQUNOLE9BQU8sQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLFVBQVUsQ0FBQyxRQUFRLENBQUMsQ0FBQztZQUNyQyxJQUFJLENBQUMsT0FBUSxDQUFDO2dCQUNaLFFBQVEsRUFBRSxHQUFHLENBQUMsVUFBVSxDQUFDLFFBQVE7YUFDbEMsQ0FBQyxDQUFDO1FBQ0wsQ0FBQztLQUNGO0lBSUQsSUFBSSxFQUFFO1FBQ0osUUFBUSxFQUFFLEdBQUcsQ0FBQyxVQUFVLENBQUMsUUFBUTtRQUNqQyxRQUFRLEVBQUU7WUFDUjtnQkFDRSxJQUFJLEVBQUUsUUFBUTtnQkFDZCxJQUFJLEVBQUUsa0NBQWtDO2dCQUN4QyxHQUFHLEVBQUUsb0NBQW9DO2dCQUN6QyxRQUFRLEVBQUUsS0FBSzthQUNoQjtZQUNEO2dCQUNFLElBQUksRUFBRSxRQUFRO2dCQUNkLElBQUksRUFBRSxtQ0FBbUM7Z0JBQ3pDLEdBQUcsRUFBRSw4QkFBOEI7Z0JBQ25DLFFBQVEsRUFBRSxLQUFLO2FBQ2hCO1lBQ0Q7Z0JBQ0UsSUFBSSxFQUFFLE1BQU07Z0JBQ1osSUFBSSxFQUFFLG1DQUFtQztnQ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ICB7fSxcbiAgICAgIHt9LFxuICAgIF0sXG4gICAgYWNjb3VudDogMCxcbiAgfSxcbn0pO1xuIl19
\ No newline at end of file
miniprogram/pages/report/report.ts
View file @
9222a2e0
...
...
@@ -49,7 +49,7 @@ Component({
// },
{
name
:
'退出登录'
,
icon
:
'../../../images/btn_Sign
out@2x.png'
,
icon
:
'../../../images/btn_Sign
_
out@2x.png'
,
url
:
'/pages/index/index'
,
reLaunch
:
true
,
},
...
...
miniprogram/pages/userGrowth/userGrowth.js
View file @
9222a2e0
This diff is collapsed.
Click to expand it.
miniprogram/pages/userGrowth/userGrowth.ts
View file @
9222a2e0
import
{
baseFetch
,
statisticsFetch
}
from
'../../api/fetch'
;
import
{
formatTime
}
from
'../../utils/util'
;
import
{
IMyApp
}
from
'../../app'
;
const
app
=
getApp
<
IMyApp
>
();
// miniprogram/pages/userGrowth/userGrowth.js
Page
({
...
...
@@ -18,11 +20,31 @@ Page({
growthList
:
[],
customerCount
:
0
,
activeCount
:
0
,
isAdmin
:
0
,
},
initData
()
{
let
time
=
formatTime
(
new
Date
());
console
.
log
(
time
);
this
.
setData
!
({
month
:
time
.
slice
(
0
,
7
)
},
()
=>
{
console
.
log
(
app
.
globalData
.
userRoles
);
this
.
setData
!
({
userInfo
:
app
.
globalData
.
userInfo
,
});
let
isAdmin
=
0
;
let
registerRoute
=
app
.
globalData
.
userRoles
.
find
(
item
=>
item
.
menuCode
===
'0083'
,
);
if
(
registerRoute
&&
registerRoute
.
listMenuButtonVo
&&
registerRoute
.
listMenuButtonVo
.
length
)
{
if
(
registerRoute
.
listMenuButtonVo
.
find
(
item
=>
item
.
buttonCode
===
'0001'
)
)
isAdmin
=
1
;
}
this
.
setData
!
({
month
:
time
.
slice
(
0
,
7
),
isAdmin
},
()
=>
{
this
.
fetchList
();
});
},
...
...
@@ -59,7 +81,7 @@ Page({
let
reqBody
=
{
year
,
month
,
isAdmin
:
1
,
isAdmin
:
this
.
data
.
isAdmin
,
...
entity
,
};
statisticsFetch
({
...
...
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