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
3bdf7452
Commit
3bdf7452
authored
Nov 25, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into test
parents
460b6bf4
7070e748
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
50 additions
and
14 deletions
+50
-14
btn_Sign_out@2x.png
miniprogram/images/btn_Sign_out@2x.png
+0
-0
monthOperator.js
miniprogram/pages/monthOperator/monthOperator.js
+3
-3
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
+18
-4
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 @
3bdf7452
File moved
miniprogram/pages/monthOperator/monthOperator.js
View file @
3bdf7452
...
@@ -202,7 +202,7 @@ Page({
...
@@ -202,7 +202,7 @@ Page({
};
};
var
dataList
=
Object
.
keys
(
res
.
data
).
map
(
function
(
key
)
{
return
({
var
dataList
=
Object
.
keys
(
res
.
data
).
map
(
function
(
key
)
{
return
({
key
:
key
,
key
:
key
,
a
:
'
1
'
,
a
:
'
payType
'
,
name
:
keyMap_1
[
key
],
name
:
keyMap_1
[
key
],
count
:
res
.
data
[
key
],
count
:
res
.
data
[
key
],
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1lQ291bnQgPSAwO1xuICAgICAgICBpZiAocmVzLmRhdGEgJiYgcmVzLmRhdGEubGVuZ3RoKSB7XG4gICAgICAgICAgbGV0IG9MaXN0ID0gcmVzLmRhdGE7XG4gICAgICAgICAgZm9yIChsZXQgaW5kZXggPSAwOyBpbmRleCA8IG9MaXN0Lmxlbmd0aDsgaW5kZXgrKykge1xuICAgICAgICAgICAgY29uc3QgZWxlbWVudCA9IG9MaXN0W2luZGV4XTtcbiAgICAgICAgICAgIGNvbnN1bWVQcmljZSArPSBlbGVtZW50LnBheWFibGVNb25leTtcbiAgICAgICAgICAgIGNvbnN1bWVDb3VudCArPSBlbGVtZW50LnBheU1lbjtcbiAgICAgICAgICAgIGxldCBkYXlzSW5kZXggPSBOdW1iZXIoZWxlbWVudC5jcmVhdGVEYXRlLnNsaWNlKC0yKSk7XG4gICAgICAgICAgICBkYXlMaXN0W2RheXNJbmRleCAtIDFdID0ge1xuICAgICAgICAgICAgICAuLi5kYXlMaXN0W2RheXNJbmRleCAtIDFdLFxuICAgICAgICAgICAgICBwYXlNZW46IGVsZW1lbnQucGF5TWVuLFxuICAgICAgICAgICAgICBwYXlhYmxlTW9uZXk6IGVsZW1lbnQucGF5YWJsZU1vbmV5LFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5zZXREYXRhISh7XG4gICAgICAgICAgY29uc3VtZUxpc3Q6IGRheUxpc3QsXG4gICAgICAgICAgJ2NvbnN1bWVEYXRhLmNvdW50JzogY29uc3VtZVByaWNlLFxuICAgICAgICAgICdjb25zdW1lQ291bnQuY291bnQnOiBjb25zdW1lQ291bnQsXG4gICAgICAgIH0pO1xuICAgICAgfSlcbiAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgfSk7XG4gIH0sXG4gIGZldGNoUmVjaGFyZ2VEYXRhKGVudGl0eT86IHsgYXJlYUlkPzogbnVtYmVyOyBtb250aD86IHN0cmluZyB9KSB7XG4gICAgbGV0IHJlcUJvZHkgPSB7XG4gICAgICBtb250aDogdGhpcy5kYXRhLm1vbnRoLFxuICAgICAgLi4uZW50aXR5LFxuICAgIH07XG4gICAgc3RhdGlzdGljc0ZldGNoKHtcbiAgICAgIHVybDogJy9kY3h5L3JlcG9ydEluZm8vcXVlcnlSZWNoYXJnZUxpc3REYWlseScsXG4gICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgIGRhdGE6IHJlcUJvZHksXG4gICAgfSlcbiAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgIGxldCBkYXlMaXN0ID0gbmV3IEFycmF5KDMxKVxuICAgICAgICAgIC5maWxsKHtcbiAgICAgICAgICAgIHJlY2hhcmdlTW9uZXk6IDAsXG4gICAgICAgICAgICByZWNoYXJnZU1lbjogMCxcbiAgICAgICAgICAgIHJlZnVuZENvdW50OiAwLFxuICAgICAgICAgICAgcmVmdW5kTW9uZXk6IDAsXG4gICAgICAgICAgfSlcbiAgICAgICAgICAubWFwKCh2LCBpZHgpID0+ICh7IC4uLnYsIGRheXM6IGlkeCArIDEgfSkpO1xuICAgICAgICBsZXQgcmVjaGFyZ2VQcmljZSA9IDA7XG4gICAgICAgIGxldCByZWNoYXJnZUNvdW50ID0gMDtcbiAgICAgICAgaWYgKHJlcy5kYXRhICYmIHJlcy5kYXRhLmxlbmd0aCkge1xuICAgICAgICAgIGxldCBvTGlzdCA9IHJlcy5kYXRhO1xuICAgICAgICAgIGZvciAobGV0IGluZGV4ID0gMDsgaW5kZXggPCBvTGlzdC5sZW5ndGg7IGluZGV4KyspIHtcbiAgICAgICAgICAgIGNvbnN0IGVsZW1lbnQgPSBvTGlzdFtpbmRleF07XG4gICAgICAgICAgICByZWNoYXJnZVByaWNlICs9IGVsZW1lbnQucmVjaGFyZ2VNb25leTtcbiAgICAgICAgICAgIHJlY2hhcmdlQ291bnQgKz0gZWxlbWVudC5yZWNoYXJnZU1lbjtcbiAgICAgICAgICAgIGxldCBkYXlzSW5kZXggPSBOdW1iZXIoZWxlbWVudC5jb21wbGV0ZUF0LnNsaWNlKC0yKSk7XG4gICAgICAgICAgICBkYXlMaXN0W2RheXNJbmRleCAtIDFdID0ge1xuICAgICAgICAgICAgICAuLi5kYXlMaXN0W2RheXNJbmRleCAtIDFdLFxuICAgICAgICAgICAgICByZWNoYXJnZU1vbmV5OiBlbGVtZW50LnJlY2hhcmdlTW9uZXksXG4gICAgICAgICAgICAgIHJlY2hhcmdlTWVuOiBlbGVtZW50LnJlY2hhcmdlTWVuLFxuICAgICAgICAgICAgICByZWZ1bmRDb3VudDogZWxlbWVudC5yZWZ1bmRDb3VudCxcbiAgICAgICAgICAgICAgcmVmdW5kTW9uZXk6IGVsZW1lbnQucmVmdW5kTW9uZXksXG4gICAgICAgICAgICB9O1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBjb25zb2xlLmxvZyhkYXlMaXN0KTtcbiAgICAgICAgdGhpcy5zZXREYXRhISh7XG4gICAgICAgICAgcmVjaGFyZ2VBbmRSZWZ1bmRMaXN0OiBkYXlMaXN0LFxuICAgICAgICAgICdyZWNoYXJnZURhdGEuY291bnQnOiByZWNoYXJnZVByaWNlLFxuICAgICAgICAgICdyZWNoYXJnZUNvdW50LmNvdW50JzogcmVjaGFyZ2VDb3VudCxcbiAgICAgICAgfSk7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICB9KTtcbiAgfSxcbiAgZmV0Y2hTZXJ2aWNlVHlwZUxpc3QoZW50aXR5KSB7XG4gICAgbGV0IHJlcUJvZHkgPSB7XG4gICAgICBtb250aDogdGhpcy5kYXRhLm1vbnRoLFxuICAgICAgLi4uZW50aXR5LFxuICAgIH07XG4gICAgc3RhdGlzdGljc0ZldGNoKHtcbiAgICAgIHVybDogJy9kY3h5L3JlcG9ydEluZm8vcXVlcnlDb25zdW1lT3JkZXJMaXN0JyxcbiAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgZGF0YTogcmVxQm9keSxcbiAgICB9KVxuICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgdGhpcy5zZXREYXRhISh7XG4gICAgICAgICAgc2VydmljZVR5cGVMaXN0OiByZXMuZGF0YSxcbiAgICAgICAgfSk7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICB9KTtcbiAgfSxcbiAgZmV0Y2hQYXlUeXBlTGlzdChlbnRpdHkpIHtcbiAgICBsZXQgcmVxQm9keSA9IHtcbiAgICAgIG1vbnRoOiB0aGlzLmRhdGEubW9udGgsXG4gICAgICAuLi5lbnRpdHksXG4gICAgfTtcbiAgICBzdGF0aXN0aWNzRmV0Y2goe1xuICAgICAgdXJsOiAnL2RjeHkvcmVwb3J0SW5mby9wYXlUeXBlQ29uc3VtZScsXG4gICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgIGRhdGE6IHJlcUJvZHksXG4gICAgfSlcbiAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgIGlmIChyZXMuZGF0YSkge1xuICAgICAgICAgIGNvbnN0IGtleU1hcCA9IHtcbiAgICAgICAgICAgIGFpbWk6ICfoib7nsbPosYYnLFxuICAgICAgICAgICAgYmVhbjogJ+a2iOi0ueixhicsXG4gICAgICAgICAgICBkaXNjb3VudDogJ+S8mOaDoOmHkeminScsXG4gICAgICAgICAgICBvbmxpbmU6ICfnur/kuIrmlK/ku5gnLFxuICAgICAgICAgIH07XG4gICAgICAgICAgbGV0IGRhdGFMaXN0ID0gT2JqZWN0LmtleXMocmVzLmRhdGEpLm1hcChrZXkgPT4gKHtcbiAgICAgICAgICAgIGtleSxcbiAgICAgICAgICAgIGE6ICcx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0gbmV3IEFycmF5KDMxKVxuICAgICAgICAgIC5maWxsKHtcbiAgICAgICAgICAgIHBheU1lbjogMCxcbiAgICAgICAgICAgIHBheWFibGVNb25leTogMCxcbiAgICAgICAgICB9KVxuICAgICAgICAgIC5tYXAoKHYsIGlkeCkgPT4gKHsgLi4udiwgZGF5czogaWR4ICsgMSB9KSk7XG5cbiAgICAgICAgbGV0IGNvbnN1bWVQcmljZSA9IDA7XG4gICAgICAgIGxldCBjb25zdW1lQ291bnQgPSAwO1xuICAgICAgICBpZiAocmVzLmRhdGEgJiYgcmVzLmRhdGEubGVuZ3RoKSB7XG4gICAgICAgICAgbGV0IG9MaXN0ID0gcmVzLmRhdGE7XG4gICAgICAgICAgZm9yIChsZXQgaW5kZXggPSAwOyBpbmRleCA8IG9MaXN0Lmxlbmd0aDsgaW5kZXgrKykge1xuICAgICAgICAgICAgY29uc3QgZWxlbWVudCA9IG9MaXN0W2luZGV4XTtcbiAgICAgICAgICAgIGNvbnN1bWVQcmljZSArPSBlbGVtZW50LnBheWFibGVNb25leTtcbiAgICAgICAgICAgIGNvbnN1bWVDb3VudCArPSBlbGVtZW50LnBheU1lbjtcbiAgICAgICAgICAgIGxldCBkYXlzSW5kZXggPSBOdW1iZXIoZWxlbWVudC5jcmVhdGVEYXRlLnNsaWNlKC0yKSk7XG4gICAgICAgICAgICBkYXlMaXN0W2RheXNJbmRleCAtIDFdID0ge1xuICAgICAgICAgICAgICAuLi5kYXlMaXN0W2RheXNJbmRleCAtIDFdLFxuICAgICAgICAgICAgICBwYXlNZW46IGVsZW1lbnQucGF5TWVuLFxuICAgICAgICAgICAgICBwYXlhYmxlTW9uZXk6IGVsZW1lbnQucGF5YWJsZU1vbmV5LFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5zZXREYXRhISh7XG4gICAgICAgICAgY29uc3VtZUxpc3Q6IGRheUxpc3QsXG4gICAgICAgICAgJ2NvbnN1bWVEYXRhLmNvdW50JzogY29uc3VtZVByaWNlLFxuICAgICAgICAgICdjb25zdW1lQ291bnQuY291bnQnOiBjb25zdW1lQ291bnQsXG4gICAgICAgIH0pO1xuICAgICAgfSlcbiAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgfSk7XG4gIH0sXG4gIGZldGNoUmVjaGFyZ2VEYXRhKGVudGl0eT86IHsgYXJlYUlkPzogbnVtYmVyOyBtb250aD86IHN0cmluZyB9KSB7XG4gICAgbGV0IHJlcUJvZHkgPSB7XG4gICAgICBtb250aDogdGhpcy5kYXRhLm1vbnRoLFxuICAgICAgLi4uZW50aXR5LFxuICAgIH07XG4gICAgc3RhdGlzdGljc0ZldGNoKHtcbiAgICAgIHVybDogJy9kY3h5L3JlcG9ydEluZm8vcXVlcnlSZWNoYXJnZUxpc3REYWlseScsXG4gICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgIGRhdGE6IHJlcUJvZHksXG4gICAgfSlcbiAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgIGxldCBkYXlMaXN0ID0gbmV3IEFycmF5KDMxKVxuICAgICAgICAgIC5maWxsKHtcbiAgICAgICAgICAgIHJlY2hhcmdlTW9uZXk6IDAsXG4gICAgICAgICAgICByZWNoYXJnZU1lbjogMCxcbiAgICAgICAgICAgIHJlZnVuZENvdW50OiAwLFxuICAgICAgICAgICAgcmVmdW5kTW9uZXk6IDAsXG4gICAgICAgICAgfSlcbiAgICAgICAgICAubWFwKCh2LCBpZHgpID0+ICh7IC4uLnYsIGRheXM6IGlkeCArIDEgfSkpO1xuICAgICAgICBsZXQgcmVjaGFyZ2VQcmljZSA9IDA7XG4gICAgICAgIGxldCByZWNoYXJnZUNvdW50ID0gMDtcbiAgICAgICAgaWYgKHJlcy5kYXRhICYmIHJlcy5kYXRhLmxlbmd0aCkge1xuICAgICAgICAgIGxldCBvTGlzdCA9IHJlcy5kYXRhO1xuICAgICAgICAgIGZvciAobGV0IGluZGV4ID0gMDsgaW5kZXggPCBvTGlzdC5sZW5ndGg7IGluZGV4KyspIHtcbiAgICAgICAgICAgIGNvbnN0IGVsZW1lbnQgPSBvTGlzdFtpbmRleF07XG4gICAgICAgICAgICByZWNoYXJnZVByaWNlICs9IGVsZW1lbnQucmVjaGFyZ2VNb25leTtcbiAgICAgICAgICAgIHJlY2hhcmdlQ291bnQgKz0gZWxlbWVudC5yZWNoYXJnZU1lbjtcbiAgICAgICAgICAgIGxldCBkYXlzSW5kZXggPSBOdW1iZXIoZWxlbWVudC5jb21wbGV0ZUF0LnNsaWNlKC0yKSk7XG4gICAgICAgICAgICBkYXlMaXN0W2RheXNJbmRleCAtIDFdID0ge1xuICAgICAgICAgICAgICAuLi5kYXlMaXN0W2RheXNJbmRleCAtIDFdLFxuICAgICAgICAgICAgICByZWNoYXJnZU1vbmV5OiBlbGVtZW50LnJlY2hhcmdlTW9uZXksXG4gICAgICAgICAgICAgIHJlY2hhcmdlTWVuOiBlbGVtZW50LnJlY2hhcmdlTWVuLFxuICAgICAgICAgICAgICByZWZ1bmRDb3VudDogZWxlbWVudC5yZWZ1bmRDb3VudCxcbiAgICAgICAgICAgICAgcmVmdW5kTW9uZXk6IGVsZW1lbnQucmVmdW5kTW9uZXksXG4gICAgICAgICAgICB9O1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBjb25zb2xlLmxvZyhkYXlMaXN0KTtcbiAgICAgICAgdGhpcy5zZXREYXRhISh7XG4gICAgICAgICAgcmVjaGFyZ2VBbmRSZWZ1bmRMaXN0OiBkYXlMaXN0LFxuICAgICAgICAgICdyZWNoYXJnZURhdGEuY291bnQnOiByZWNoYXJnZVByaWNlLFxuICAgICAgICAgICdyZWNoYXJnZUNvdW50LmNvdW50JzogcmVjaGFyZ2VDb3VudCxcbiAgICAgICAgfSk7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKG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AgYmVhbjogJ+a2iOi0ueixhicsXG4gICAgICAgICAgICBkaXNjb3VudDogJ+S8mOaDoOmHkeminScsXG4gICAgICAgICAgICBvbmxpbmU6ICfnur/kuIrmlK/ku5gnLFxuICAgICAgICAgIH07XG4gICAgICAgICAgbGV0IGRhdGFMaXN0ID0gT2JqZWN0LmtleXMocmVzLmRhdGEpLm1hcChrZXkgPT4gKHtcbiAgICAgICAgICAgIGtleSxcbiAgICAgICAgICAgIGE6ICdwYXlUeXBlJyxcbiAgICAgICAgICAgIG5hbWU6IGtleU1hcFtrZXldLFxuICAgICAgICAgICAgY291bnQ6IHJlcy5kYXRhW2tleV0sXG4gICAgICAgICAgfSkpO1xuICAgICAgICAgIHRoaXMuc2V0RGF0YSEoe1xuICAgICAgICAgICAgcGF5VHlwZUxpc3Q6IGRhdGFMaXN0LFxuICAgICAgICAgIH0pO1xuICAgICAgICB9XG4gICAgICB9KVxuICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICB9KTtcbiAgfSxcbn0pO1xuIl19
\ No newline at end of file
\ No newline at end of file
miniprogram/pages/monthOperator/monthOperator.ts
View file @
3bdf7452
...
@@ -210,7 +210,7 @@ Page({
...
@@ -210,7 +210,7 @@ Page({
};
};
let
dataList
=
Object
.
keys
(
res
.
data
).
map
(
key
=>
({
let
dataList
=
Object
.
keys
(
res
.
data
).
map
(
key
=>
({
key
,
key
,
a
:
'
1
'
,
a
:
'
payType
'
,
name
:
keyMap
[
key
],
name
:
keyMap
[
key
],
count
:
res
.
data
[
key
],
count
:
res
.
data
[
key
],
}));
}));
...
...
miniprogram/pages/report/report.js
View file @
3bdf7452
...
@@ -33,7 +33,7 @@ Component({
...
@@ -33,7 +33,7 @@ Component({
},
},
{
{
name
:
'退出登录'
,
name
:
'退出登录'
,
icon
:
'../../../images/btn_Sign
out@2x.png'
,
icon
:
'../../../images/btn_Sign
_
out@2x.png'
,
url
:
'/pages/index/index'
,
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4gICAgYWNjb3VudDogMCxcbiAgfSxcbn0pO1xuIl19
\ No newline at end of file
\ No newline at end of file
miniprogram/pages/report/report.ts
View file @
3bdf7452
...
@@ -49,7 +49,7 @@ Component({
...
@@ -49,7 +49,7 @@ Component({
// },
// },
{
{
name
:
'退出登录'
,
name
:
'退出登录'
,
icon
:
'../../../images/btn_Sign
out@2x.png'
,
icon
:
'../../../images/btn_Sign
_
out@2x.png'
,
url
:
'/pages/index/index'
,
url
:
'/pages/index/index'
,
reLaunch
:
true
,
reLaunch
:
true
,
},
},
...
...
miniprogram/pages/userGrowth/userGrowth.js
View file @
3bdf7452
...
@@ -10,6 +10,7 @@ var __assign = (this && this.__assign) || Object.assign || function(t) {
...
@@ -10,6 +10,7 @@ var __assign = (this && this.__assign) || Object.assign || function(t) {
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
var
fetch_1
=
require
(
"../../api/fetch"
);
var
fetch_1
=
require
(
"../../api/fetch"
);
var
util_1
=
require
(
"../../utils/util"
);
var
util_1
=
require
(
"../../utils/util"
);
var
app
=
getApp
();
Page
({
Page
({
onLoad
:
function
()
{
onLoad
:
function
()
{
this
.
initData
();
this
.
initData
();
...
@@ -23,12 +24,25 @@ Page({
...
@@ -23,12 +24,25 @@ Page({
growthList
:
[],
growthList
:
[],
customerCount
:
0
,
customerCount
:
0
,
activeCount
:
0
,
activeCount
:
0
,
isAdmin
:
0
,
},
},
initData
:
function
()
{
initData
:
function
()
{
var
_this
=
this
;
var
_this
=
this
;
var
time
=
util_1
.
formatTime
(
new
Date
());
var
time
=
util_1
.
formatTime
(
new
Date
());
console
.
log
(
time
);
console
.
log
(
time
);
this
.
setData
({
month
:
time
.
slice
(
0
,
7
)
},
function
()
{
console
.
log
(
app
.
globalData
.
userRoles
);
this
.
setData
({
userInfo
:
app
.
globalData
.
userInfo
,
});
var
isAdmin
=
0
;
var
registerRoute
=
app
.
globalData
.
userRoles
.
find
(
function
(
item
)
{
return
item
.
menuCode
===
'0083'
;
});
if
(
registerRoute
&&
registerRoute
.
listMenuButtonVo
&&
registerRoute
.
listMenuButtonVo
.
length
)
{
if
(
registerRoute
.
listMenuButtonVo
.
find
(
function
(
item
)
{
return
item
.
buttonCode
===
'0001'
;
}))
isAdmin
=
1
;
}
this
.
setData
({
month
:
time
.
slice
(
0
,
7
),
isAdmin
:
isAdmin
},
function
()
{
_this
.
fetchList
();
_this
.
fetchList
();
});
});
},
},
...
@@ -67,7 +81,7 @@ Page({
...
@@ -67,7 +81,7 @@ Page({
var
monthString
=
entity
&&
entity
.
monthString
?
entity
.
monthString
:
this
.
data
.
month
;
var
monthString
=
entity
&&
entity
.
monthString
?
entity
.
monthString
:
this
.
data
.
month
;
var
_a
=
monthString
.
split
(
'-'
),
year
=
_a
[
0
],
month
=
_a
[
1
];
var
_a
=
monthString
.
split
(
'-'
),
year
=
_a
[
0
],
month
=
_a
[
1
];
var
reqBody
=
__assign
({
year
:
year
,
var
reqBody
=
__assign
({
year
:
year
,
month
:
month
,
isAdmin
:
1
},
entity
);
month
:
month
,
isAdmin
:
this
.
data
.
isAdmin
},
entity
);
fetch_1
.
statisticsFetch
({
fetch_1
.
statisticsFetch
({
url
:
'/dcxy/reportInfo/queryReportList'
,
url
:
'/dcxy/reportInfo/queryReportList'
,
data
:
reqBody
,
data
:
reqBody
,
...
@@ -124,4 +138,4 @@ Page({
...
@@ -124,4 +138,4 @@ Page({
});
});
},
},
});
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlckdyb3d0aC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInVzZXJHcm93dGgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHlDQUE2RDtBQUM3RCx5Q0FBOEM7QUFHOUMsSUFBSSxDQUFDO0lBQ0gsTUFBTTtRQUNKLElBQUksQ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250aF0gPSBtb250aFN0cmluZy5zcGxpdCgnLScpO1xuICAgIGxldCByZXFCb2R5ID0ge1xuICAgICAgeWVhcixcbiAgICAgIG1vbnRoLFxuICAgICAgaXNBZG1pbjogMSxcbiAgICAgIC4uLmVudGl0eSxcbiAgICB9O1xuICAgIHN0YXRpc3RpY3NGZXRjaCh7XG4gICAgICB1cmw6ICcvZGN4eS9yZXBvcnRJbmZvL3F1ZXJ5UmVwb3J0TGlzdCcsXG4gICAgICBkYXRhOiByZXFCb2R5LFxuICAgIH0pXG4gICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICBjb25zdCB7IGN1c3RvbWVyQ291bnQsIGRheVZvcywgYWN0aXZlQ291bnQgfSA9IHJlcy5kYXRhO1xuICAgICAgICBsZXQgZGF5TGlzdCA9IG5ldyBBcnJheSgzMSlcbiAgICAgICAgICAuZmlsbCh7XG4gICAgICAgICAgICBjb3VudDogMCxcbiAgICAgICAgICB9KVxuICAgICAgICAgIC5tYXAoKHYsIGlkeCkgPT4gKHsgLi4udiwgZGF5czogaWR4ICsgMSB9KSk7XG5cbiAgICAgICAgaWYgKGRheVZvcyAmJiBkYXlWb3MubGVuZ3RoKSB7XG4gICAgICAgICAgbGV0IG9MaXN0ID0gZGF5Vm9zO1xuICAgICAgICAgIGZvciAobGV0IGluZGV4ID0gMDsgaW5kZXggPCBvTGlzdC5sZW5ndGg7IGluZGV4KyspIHtcbiAgICAgICAgICAgIGNvbnN0IGVsZW1lbnQgPSBvTGlzdFtpbmRleF07XG4gICAgICAgICAgICBsZXQgZGF5c0luZGV4ID0gTnVtYmVyKGVsZW1lbnQuZGF5cy5zbGljZSgtMikpO1xuICAgICAgICAgICAgZGF5TGlzdFtkYXlzSW5kZXggLSAxXSA9IHtcbiAgICAgICAgICAgICAgLi4uZGF5TGlzdFtkYXlzSW5kZXggLSAxXSxcbiAgICAgICAgICAgICAgY291bnQ6IGVsZW1lbnQuY291bn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taW4sXG4gICAgICAuLi5lbnRpdHksXG4gICAgfTtcbiAgICBzdGF0aXN0aWNzRmV0Y2goe1xuICAgICAgdXJsOiAnL2RjeHkvcmVwb3J0SW5mby9xdWVyeVJlcG9ydExpc3QnLFxuICAgICAgZGF0YTogcmVxQm9keSxcbiAgICB9KVxuICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgY29uc3QgeyBjdXN0b21lckNvdW50LCBkYXlWb3MsIGFjdGl2ZUNvdW50IH0gPSByZXMuZGF0YTtcbiAgICAgICAgbGV0IGRheUxpc3QgPSBuZXcgQXJyYXkoMzEpXG4gICAgICAgICAgLmZpbGwoe1xuICAgICAgICAgICAgY291bnQ6IDAsXG4gICAgICAgICAgfSlcbiAgICAgICAgICAubWFwKCh2LCBpZHgpID0+ICh7IC4uLnYsIGRheXM6IGlkeCArIDEgfSkpO1xuXG4gICAgICAgIGlmIChkYXlWb3MgJiYgZGF5Vm9zLmxlbmd0aCkge1xuICAgICAgICAgIGxldCBvTGlzdCA9IGRheVZvcztcbiAgICAgICAgICBmb3IgKGxldCBpbmRleCA9IDA7IGluZGV4IDwgb0xpc3QubGVuZ3RoOyBpbmRleCsrKSB7XG4gICAgICAgICAgICBjb25zdCBlbGVtZW50ID0gb0xpc3RbaW5kZXhdO1xuICAgICAgICAgICAgbGV0IGRheXNJbmRleCA9IE51bWJlcihlbGVtZW50LmRheXMuc2xpY2UoLTIpKTtcbiAgICAgICAgICAgIGRheUxpc3RbZGF5c0luZGV4IC0gMV0gPSB7XG4gICAgICAgICAgICAgIC4uLmRheUxpc3RbZGF5c0luZGV4IC0gMV0sXG4gICAgICAgICAgICAgIGNvdW50OiBlbGVtZW50LmNvdW50LFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgY29uc29sZS5sb2coJ2RheUxpc3Q6JywgZGF5TGlzdCk7XG4gICAgICAgIHRoaXMuc2V0RGF0YSEoe1xuICAgICAgICAgIGdyb3d0aExpc3Q6IGRheUxpc3QsXG4gICAgICAgICAgY3VzdG9tZXJDb3VudDogY3VzdG9tZXJDb3VudCA/IGN1c3RvbWVyQ291bnQgOiAwLFxuICAgICAgICAgIGFjdGl2ZUNvdW50OiBhY3RpdmVDb3VudCA/IGFjdGl2ZUNvdW50IDogMCxcbiAgICAgICAgfSk7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICB9KTtcbiAgfSxcbiAgYXJlYUNoYW5nZUhhbmRsZSh2YWwpIHtcbiAgICBjb25zb2xlLmxvZygnYXJlYUNoYW5nZUhhbmRsZScsIHZhbCk7XG4gICAgY29uc3QgeyBpZCwgbmFtZSB9ID0gdmFsO1xuICAgIHRoaXMuc2V0RGF0YSEoXG4gICAgICB7XG4gICAgICAgIGFyZWFJZDogaWQsXG4gICAgICAgIGFyZWFOYW1lOiBuYW1lLFxuICAgICAgfSxcbiAgICAgICgpID0+IHtcbiAgICAgICAgaWYgKGlkKSB7XG4gICAgICAgICAgdGhpcy5mZXRjaExpc3QoeyBhcmVhSWQ6IGlkIH0pO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIHRoaXMuZmV0Y2hMaXN0KCk7XG4gICAgICAgIH1cbiAgICAgIH0sXG4gICAgKTtcbiAgfSxcbiAgbW9udGhDaGFuZ2VIYW5kbGUodmFsKSB7XG4gICAgY29uc29sZS5sb2coJ21vbnRoQ2hhbmdlSGFuZGxlJywgdmFsKTtcbiAgICBjb25zdCB7IHZhbHVlIH0gPSB2YWwuZGV0YWlsO1xuICAgIHRoaXMuZmV0Y2hMaXN0KHsgbW9udGhTdHJpbmc6IHZhbHVlIH0pO1xuICAgIHRoaXMuc2V0RGF0YSEoe1xuICAgICAgbW9udGg6IHZhbHVlLFxuICAgIH0pO1xuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
\ No newline at end of file
miniprogram/pages/userGrowth/userGrowth.ts
View file @
3bdf7452
import
{
baseFetch
,
statisticsFetch
}
from
'../../api/fetch'
;
import
{
baseFetch
,
statisticsFetch
}
from
'../../api/fetch'
;
import
{
formatTime
}
from
'../../utils/util'
;
import
{
formatTime
}
from
'../../utils/util'
;
import
{
IMyApp
}
from
'../../app'
;
const
app
=
getApp
<
IMyApp
>
();
// miniprogram/pages/userGrowth/userGrowth.js
// miniprogram/pages/userGrowth/userGrowth.js
Page
({
Page
({
...
@@ -18,11 +20,31 @@ Page({
...
@@ -18,11 +20,31 @@ Page({
growthList
:
[],
growthList
:
[],
customerCount
:
0
,
customerCount
:
0
,
activeCount
:
0
,
activeCount
:
0
,
isAdmin
:
0
,
},
},
initData
()
{
initData
()
{
let
time
=
formatTime
(
new
Date
());
let
time
=
formatTime
(
new
Date
());
console
.
log
(
time
);
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
();
this
.
fetchList
();
});
});
},
},
...
@@ -59,7 +81,7 @@ Page({
...
@@ -59,7 +81,7 @@ Page({
let
reqBody
=
{
let
reqBody
=
{
year
,
year
,
month
,
month
,
isAdmin
:
1
,
isAdmin
:
this
.
data
.
isAdmin
,
...
entity
,
...
entity
,
};
};
statisticsFetch
({
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