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
7440d3db
Commit
7440d3db
authored
Nov 08, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加打印数据
parent
ffeb3fef
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
10 deletions
+12
-10
monthOperator.js
miniprogram/pages/monthOperator/monthOperator.js
+5
-4
monthOperator.ts
miniprogram/pages/monthOperator/monthOperator.ts
+3
-2
userGrowth.js
miniprogram/pages/userGrowth/userGrowth.js
+3
-3
userGrowth.ts
miniprogram/pages/userGrowth/userGrowth.ts
+1
-1
No files found.
miniprogram/pages/monthOperator/monthOperator.js
View file @
7440d3db
...
...
@@ -111,7 +111,7 @@ Page({
var
element
=
oList
[
index
];
consumePrice
+=
element
.
payableMoney
;
consumeCount
+=
element
.
payMen
;
var
daysIndex
=
element
.
createDate
.
slice
(
-
2
);
var
daysIndex
=
Number
(
element
.
createDate
.
slice
(
-
2
)
);
dayList
[
daysIndex
]
=
__assign
({},
dayList
[
daysIndex
],
{
payMen
:
element
.
payMen
,
payableMoney
:
element
.
payableMoney
});
}
}
...
...
@@ -150,10 +150,11 @@ Page({
var
element
=
oList
[
index
];
rechargePrice
+=
element
.
rechargeMoney
;
rechargeCount
+=
element
.
rechargeMen
;
var
daysIndex
=
element
.
completeAt
.
slice
(
-
2
);
var
daysIndex
=
Number
(
element
.
completeAt
.
slice
(
-
2
)
);
dayList
[
daysIndex
]
=
__assign
({},
dayList
[
daysIndex
],
{
rechargeMoney
:
element
.
rechargeMoney
,
rechargeMen
:
element
.
rechargeMen
,
refundCount
:
element
.
refundCount
,
refundMoney
:
element
.
refundMoney
});
}
}
console
.
log
(
dayList
);
_this
.
setData
({
rechargeAndRefundList
:
dayList
,
'rechargeData.count'
:
rechargePrice
,
...
...
@@ -215,4 +216,4 @@ Page({
});
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9udGhPcGVyYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm1vbnRoT3BlcmF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHlDQUFrRDtBQUNsRCx5Q0FBOEM7QUFFOUMsSUFBSSxDQUFDO0lBQ0gsTUFBTTtRQUNKLElBQUksQ0FBQyxRQUFRLEVBQUUsQ0FBQztJQUNsQixDQUFDO0lBQ0QsSUFBSSxFQUFFO1FBQ0osS0FBSyxFQUFFLEVBQUU7UUFDVCxNQUFNLEVBQUUsRUFBRTtRQUNWLFFBQVEsRUFBRSxFQUFFO1FBQ1osWUFBWSxFQUFFO1lBQ1osS0FBSyxFQUFFLE1BQU07WUFDYixVQUFVLEVBQUUsT0FBTztZQUNuQixLQUFLLEVBQUUsQ0FBQztTQUNUO1FBQ0QsYUFBYSxFQUFFO1lBQ2IsS0FBSyxFQUFFLE1BQU07WUFDYixVQUFVLEVBQUUsRUFBRTtZQUNkLEtBQUssRUFBRSxDQUFDO1NBQ1Q7UUFDRCxxQkFBcUIsRUFBRSxFQUFFO1FBQ3pCLFdBQVcsRUFBRTtZQUNYLEtBQUssRUFBRSxNQUFNO1lBQ2IsVUFBVSxFQUFFLE9BQU87WUFDbkIsS0FBSyxFQUFFLENBQUM7U0FDVDtRQUNELFlBQVksRUFBRTtZQUNaLEtBQUssRUFBRSxNQUFNO1lBQ2IsVUFBVSxFQUFFLEVBQUU7WUFDZC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biAgICAgICAgaWYgKHJlcy5kYXRhICYmIHJlcy5kYXRhLmxlbmd0aCkge1xuICAgICAgICAgIGxldCBvTGlzdCA9IHJlcy5kYXRhO1xuICAgICAgICAgIGZvciAobGV0IGluZGV4ID0gMDsgaW5kZXggPCBvTGlzdC5sZW5ndGg7IGluZGV4KyspIHtcbiAgICAgICAgICAgIGNvbnN0IGVsZW1lbnQgPSBvTGlzdFtpbmRleF07XG4gICAgICAgICAgICBjb25zdW1lUHJpY2UgKz0gZWxlbWVudC5wYXlhYmxlTW9uZXk7XG4gICAgICAgICAgICBjb25zdW1lQ291bnQgKz0gZWxlbWVudC5wYXlNZW47XG4gICAgICAgICAgICBsZXQgZGF5c0luZGV4ID0gZWxlbWVudC5jcmVhdGVEYXRlLnNsaWNlKC0yKTtcbiAgICAgICAgICAgIGRheUxpc3RbZGF5c0luZGV4XSA9IHtcbiAgICAgICAgICAgICAgLi4uZGF5TGlzdFtkYXlzSW5kZXhdLFxuICAgICAgICAgICAgICBwYXlNZW46IGVsZW1lbnQucGF5TWVuLFxuICAgICAgICAgICAgICBwYXlhYmxlTW9uZXk6IGVsZW1lbnQucGF5YWJsZU1vbmV5LFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5zZXREYXRhISh7XG4gICAgICAgICAgY29uc3VtZUxpc3Q6IGRheUxpc3QsXG4gICAgICAgICAgJ2NvbnN1bWVEYXRhLmNvdW50JzogY29uc3VtZVByaWNlLFxuICAgICAgICAgICdjb25zdW1lQ291bnQuY291bnQnOiBjb25zdW1lQ291bnQsXG4gICAgICAgIH0pO1xuICAgICAgfSlcbiAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgfSk7XG4gIH0sXG4gIGZldGNoUmVjaGFyZ2VEYXRhKGVudGl0eT86IHsgYXJlYUlkPzogbnVtYmVyOyBtb250aD86IHN0cmluZyB9KSB7XG4gICAgbGV0IHJlcUJvZHkgPSB7XG4gICAgICBtb250aDogdGhpcy5kYXRhLm1vbnRoLFxuICAgICAgLi4uZW50aXR5LFxuICAgIH07XG4gICAgc3RhdGlzdGljc0ZldGNoKHtcbiAgICAgIHVybDogJy9kY3h5L3JlcG9ydEluZm8vcXVlcnlSZWNoYXJnZUxpc3REYWlseScsXG4gICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgIGRhdGE6IHJlcUJvZHksXG4gICAgfSlcbiAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgIGxldCBkYXlMaXN0ID0gbmV3IEFycmF5KDMxKVxuICAgICAgICAgIC5maWxsKHtcbiAgICAgICAgICAgIHJlY2hhcmdlTW9uZXk6IDAsXG4gICAgICAgICAgICByZWNoYXJnZU1lbjogMCxcbiAgICAgICAgICAgIHJlZnVuZENvdW50OiAwLFxuICAgICAgICAgICAgcmVmdW5kTW9uZXk6IDAsXG4gICAgICAgICAgfSlcbiAgICAgICAgICAubWFwKCh2LCBpZHgpID0+ICh7IC4uLnYsIGRheXM6IGlkeCArIDEgfSkpO1xuICAgICAgICBsZXQgcmVjaGFyZ2VQcmljZSA9IDA7XG4gICAgICAgIGxldCByZWNoYXJnZUNvdW50ID0gMDtcbiAgICAgICAgaWYgKHJlcy5kYXRhICYmIHJlcy5kYXRhLmxlbmd0aCkge1xuICAgICAgICAgIGxldCBvTGlzdCA9IHJlcy5kYXRhO1xuICAgICAgICAgIGZvciAobGV0IGluZGV4ID0gMDsgaW5kZXggPCBvTGlzdC5sZW5ndGg7IGluZGV4KyspIHtcbiAgICAgICAgICAgIGNvbnN0IGVsZW1lbnQgPSBvTGlzdFtpbmRleF07XG4gICAgICAgICAgICByZWNoYXJnZVByaWNlICs9IGVsZW1lbnQucmVjaGFyZ2VNb25leTtcbiAgICAgICAgICAgIHJlY2hhcmdlQ291bnQgKz0gZWxlbWVudC5yZWNoYXJnZU1lbjtcbiAgICAgICAgICAgIGxldCBkYXlzSW5kZXggPSBlbGVtZW50LmNvbXBsZXRlQXQuc2xpY2UoLTIpO1xuICAgICAgICAgICAgZGF5TGlzdFtkYXlzSW5kZXhdID0ge1xuICAgICAgICAgICAgICAuLi5kYXlMaXN0W2RheXNJbmRleF0sXG4gICAgICAgICAgICAgIHJlY2hhcmdlTW9uZXk6IGVsZW1lbnQucmVjaGFyZ2VNb25leSxcbiAgICAgICAgICAgICAgcmVjaGFyZ2VNZW46IGVsZW1lbnQucmVjaGFyZ2VNZW4sXG4gICAgICAgICAgICAgIHJlZnVuZENvdW50OiBlbGVtZW50LnJlZnVuZENvdW50LFxuICAgICAgICAgICAgICByZWZ1bmRNb25leTogZWxlbWVudC5yZWZ1bmRNb25leSxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHRoaXMuc2V0RGF0YSEoe1xuICAgICAgICAgIHJlY2hhcmdlQW5kUmVmdW5kTGlzdDogZGF5TGlzdCxcbiAgICAgICAgICAncmVjaGFyZ2VEYXRhLmNvdW50JzogcmVjaGFyZ2VQcmljZSxcbiAgICAgICAgICAncmVjaGFyZ2VDb3VudC5jb3VudCc6IHJlY2hhcmdlQ291bnQsXG4gICAgICAgIH0pO1xuICAgICAgfSlcbiAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgfSk7XG4gIH0sXG4gIGZldGNoU2VydmljZVR5cGVMaXN0KGVudGl0eSkge1xuICAgIGxldCByZXFCb2R5ID0ge1xuICAgICAgbW9udGg6IHRoaXMuZGF0YS5tb250aCxcbiAgICAgIC4uLmVudGl0eSxcbiAgICB9O1xuICAgIHN0YXRpc3RpY3NGZXRjaCh7XG4gICAgICB1cmw6ICcvZGN4eS9yZXBvcnRJbmZvL3F1ZXJ5Q29uc3VtZU9yZGVyTGlzdCcsXG4gICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgIGRhdGE6IHJlcUJvZHksXG4gICAgfSlcbiAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgIHRoaXMuc2V0RGF0YSEoe1xuICAgICAgICAgIHNlcnZpY2VUeXBlTGlzdDogcmVzLmRhdGEsXG4gICAgICAgIH0pO1xuICAgICAgfSlcbiAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgfSk7XG4gIH0sXG4gIGZldGNoUGF5VHlwZUxpc3QoZW50aXR5KSB7XG4gICAgbGV0IHJlcUJvZHkgPSB7XG4gICAgICBtb250aDogdGhpcy5kYXRhLm1vbnRoLFxuICAgICAgLi4uZW50aXR5LFxuICAgIH07XG4gICAgc3RhdGlzdGljc0ZldGNoKHtcbiAgICAgIHVybDogJy9kY3h5L3JlcG9ydEluZm8vcGF5VHlwZUNvbnN1bWUnLFxuICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICBkYXRhOiByZXFCb2R5LFxuICAgIH0pXG4gICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICBpZiAocmVzLmRhdGEpIHtcbiAgICAgICAgICBjb25zdCBrZXlNYXAgPSB7XG4gICAgICAgICAgICBhaW1pOiAn6Im+57Gz6LGGJyxcbiAgICAgICAgICAgIGJlYW46ICfmtojotLnosYYnLFxuICAgICAgICAgICAgZGlzY291bnQ6ICfkvJjmg6Dph5Hpop0nLFxuICAgICAgICAgICAgb25saW5lOiAn57q/5LiK5pSv5LuYJyxcbiAgICAgICAgICB9O1xuICAgICAgICAgIGxldCBkYXRhTGlzdCA9IE9iamVjdC5rZXlzKHJlcy5kYXRhKS5tYXAoa2V5ID0+ICh7XG4gICAgICAgICAgICBrZXksXG4gICAgICAgICAgICBhOiAnMScsXG4gICAgICAgICAgICBuYW1lOiBrZXlNYXBba2V5XSxcbiAgICAgICAgICAgIGNvdW50OiByZXMuZGF0YVtrZXldLFx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5tYXAoKHYsIGlkeCkgPT4gKHsgLi4udiwgZGF5czogaWR4ICsgMSB9KSk7XG5cbiAgICAgICAgbGV0IGNvbnN1bWVQcmljZSA9IDA7XG4gICAgICAgIGxldCBjb25zdW1lQ291bnQgPSAwO1xuICAgICAgICBpZiAocmVzLmRhdGEgJiYgcmVzLmRhdGEubGVuZ3RoKSB7XG4gICAgICAgICAgbGV0IG9MaXN0ID0gcmVzLmRhdGE7XG4gICAgICAgICAgZm9yIChsZXQgaW5kZXggPSAwOyBpbmRleCA8IG9MaXN0Lmxlbmd0aDsgaW5kZXgrKykge1xuICAgICAgICAgICAgY29uc3QgZWxlbWVudCA9IG9MaXN0W2luZGV4XTtcbiAgICAgICAgICAgIGNvbnN1bWVQcmljZSArPSBlbGVtZW50LnBheWFibGVNb25leTtcbiAgICAgICAgICAgIGNvbnN1bWVDb3VudCArPSBlbGVtZW50LnBheU1lbjtcbiAgICAgICAgICAgIGxldCBkYXlzSW5kZXggPSBOdW1iZXIoZWxlbWVudC5jcmVhdGVEYXRlLnNsaWNlKC0yKSk7XG4gICAgICAgICAgICBkYXlMaXN0W2RheXNJbmRleF0gPSB7XG4gICAgICAgICAgICAgIC4uLmRheUxpc3RbZGF5c0luZGV4XSxcbiAgICAgICAgICAgICAgcGF5TWVuOiBlbGVtZW50LnBheU1lbixcbiAgICAgICAgICAgICAgcGF5YWJsZU1vbmV5OiBlbGVtZW50LnBheWFibGVNb25leSxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHRoaXMuc2V0RGF0YSEoe1xuICAgICAgICAgIGNvbnN1bWVMaXN0OiBkYXlMaXN0LFxuICAgICAgICAgICdjb25zdW1lRGF0YS5jb3VudCc6IGNvbnN1bWVQcmljZSxcbiAgICAgICAgICAnY29uc3VtZUNvdW50LmNvdW50JzogY29uc3VtZUNvdW50LFxuICAgICAgICB9KTtcbiAgICAgIH0pXG4gICAgICAuY2F0Y2goZXJyID0+IHtcbiA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ICAgICAgcmVjaGFyZ2VQcmljZSArPSBlbGVtZW50LnJlY2hhcmdlTW9uZXk7XG4gICAgICAgICAgICByZWNoYXJnZUNvdW50ICs9IGVsZW1lbnQucmVjaGFyZ2VNZW47XG4gICAgICAgICAgICBsZXQgZGF5c0luZGV4ID0gTnVtYmVyKGVsZW1lbnQuY29tcGxldGVBdC5zbGljZSgtMikpO1xuICAgICAgICAgICAgZGF5TGlzdFtkYXlzSW5kZXhdID0ge1xuICAgICAgICAgICAgICAuLi5kYXlMaXN0W2RheXNJbmRleF0sXG4gICAgICAgICAgICAgIHJlY2hhcmdlTW9uZXk6IGVsZW1lbnQucmVjaGFyZ2VNb25leSxcbiAgICAgICAgICAgICAgcmVjaGFyZ2VNZW46IGVsZW1lbnQucmVjaGFyZ2VNZW4sXG4gICAgICAgICAgICAgIHJlZnVuZENvdW50OiBlbGVtZW50LnJlZnVuZENvdW50LFxuICAgICAgICAgICAgICByZWZ1bmRNb25leTogZWxlbWVudC5yZWZ1bmRNb25leSxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGNvbnNvbGUubG9nKGRheUxpc3QpO1xuICAgICAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgICAgICByZWNoYXJnZUFuZFJlZnVuZExpc3Q6IGRheUxpc3QsXG4gICAgICAgICAgJ3JlY2hhcmdlRGF0YS5jb3VudCc6IHJlY2hhcmdlUHJpY2UsXG4gICAgICAgICAgJ3JlY2hhcmdlQ291bnQuY291bnQnOiByZWNoYXJnZUNvdW50LFxuICAgICAgICB9KTtcbiAgICAgIH0pXG4gICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgIH0pO1xuICB9LFxuICBmZXRjaFNlcnZpY2VUeXBlTGlzdChlbnRpdHkpIHtcbiAgICBsZXQgcmVxQm9keSA9IHtcbiAgICAgIG1vbnRoOiB0aGlzLmRhdGEubW9udGgsXG4gICAgICAuLi5lbnRpdHksXG4gICAgfTtcbiAgICBzdGF0aXN0aWNzRmV0Y2goe1xuICAgICAgdXJsOiAnL2RjeHkvcmVwb3J0SW5mby9xdWVyeUNvbnN1bWVPcmRlckxpc3QnLFxuICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICBkYXRhOiByZXFCb2R5LFxuICAgIH0pXG4gICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgICAgICBzZXJ2aWNlVHlwZUxpc3Q6IHJlcy5kYXRhLFxuICAgICAgICB9KTtcbiAgICAgIH0pXG4gICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgIH0pO1xuICB9LFxuICBmZXRjaFBheVR5cGVMaXN0KGVudGl0eSkge1xuICAgIGxldCByZXFCb2R5ID0ge1xuICAgICAgbW9udGg6IHRoaXMuZGF0YS5tb250aCxcbiAgICAgIC4uLmVudGl0eSxcbiAgICB9O1xuICAgIHN0YXRpc3RpY3NGZXRjaCh7XG4gICAgICB1cmw6ICcvZGN4eS9yZXBvcnRJbmZvL3BheVR5cGVDb25zdW1lJyxcbiAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgZGF0YTogcmVxQm9keSxcbiAgICB9KVxuICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgaWYgKHJlcy5kYXRhKSB7XG4gICAgICAgICAgY29uc3Qga2V5TWFwID0ge1xuICAgICAgICAgICAgYWltaTogJ+iJvuexs+ixhicsXG4gICAgICAgICAgICBiZWFuOiAn5raI6LS56LGGJyxcbiAgICAgICAgICAgIGRpc2NvdW50OiAn5LyY5oOg6YeR6aKdJyxcbiAgICAgICAgICAgIG9ubGluZTogJ+e6v+S4iuaUr+S7mCcsXG4gICAgICAgICAgfTtcbiAgICAgICAgICBsZXQgZGF0YUxpc3QgPSBPYmplY3Qua2V5cyhyZXMuZGF0YSkubWFwKGtleSA9PiAoe1xuICAgICAgICAgICAga2V5LFxuICAgICAgICAgICAgYTogJzEnLFxuICAgICAgICAgICAgbmFtZToga2V5TWFwW2tleV0sXG4gICAgICAgICAgICBjb3VudDogcmVzLmRhdGFba2V5XSxcbiAgICAgICAgICB9KSk7XG4gICAgICAgICAgdGhpcy5zZXREYXRhISh7XG4gICAgICAgICAgICBwYXlUeXBlTGlzdDogZGF0YUxpc3QsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgIH0pXG4gICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgIH0pO1xuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
miniprogram/pages/monthOperator/monthOperator.ts
View file @
7440d3db
...
...
@@ -103,7 +103,7 @@ Page({
const
element
=
oList
[
index
];
consumePrice
+=
element
.
payableMoney
;
consumeCount
+=
element
.
payMen
;
let
daysIndex
=
element
.
createDate
.
slice
(
-
2
);
let
daysIndex
=
Number
(
element
.
createDate
.
slice
(
-
2
)
);
dayList
[
daysIndex
]
=
{
...
dayList
[
daysIndex
],
payMen
:
element
.
payMen
,
...
...
@@ -148,7 +148,7 @@ Page({
const
element
=
oList
[
index
];
rechargePrice
+=
element
.
rechargeMoney
;
rechargeCount
+=
element
.
rechargeMen
;
let
daysIndex
=
element
.
completeAt
.
slice
(
-
2
);
let
daysIndex
=
Number
(
element
.
completeAt
.
slice
(
-
2
)
);
dayList
[
daysIndex
]
=
{
...
dayList
[
daysIndex
],
rechargeMoney
:
element
.
rechargeMoney
,
...
...
@@ -158,6 +158,7 @@ Page({
};
}
}
console
.
log
(
dayList
);
this
.
setData
!
({
rechargeAndRefundList
:
dayList
,
'rechargeData.count'
:
rechargePrice
,
...
...
miniprogram/pages/userGrowth/userGrowth.js
View file @
7440d3db
...
...
@@ -84,7 +84,7 @@ Page({
var
oList
=
dayVos
;
for
(
var
index
=
0
;
index
<
oList
.
length
;
index
++
)
{
var
element
=
oList
[
index
];
var
daysIndex
=
element
.
days
.
slice
(
-
2
);
var
daysIndex
=
Number
(
element
.
days
.
slice
(
-
2
)
);
dayList
[
daysIndex
]
=
__assign
({},
dayList
[
daysIndex
],
{
count
:
element
.
count
});
}
}
...
...
@@ -124,4 +124,4 @@ Page({
});
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlckdyb3d0aC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInVzZXJHcm93dGgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHlDQUE2RDtBQUM3RCx5Q0FBOEM7QUFHOUMsSUFBSSxDQUFDO0lBQ0gsTUFBTTtRQUNKLElBQUksQ0FBQyxRQUFRLEVBQUUsQ0FBQztRQUNoQixJQUFJLENBQUMsYUFBYSxFQUFFLENBQUM7SUFDdkIsQ0FBQztJQUlELElBQUksRUFBRTtRQUNKLEtBQUssRUFBRSxFQUFFO1FBQ1QsTUFBTSxFQUFFLEVBQUU7UUFDVixRQUFRLEVBQUUsRUFBRTtRQUNaLFFBQVEsRUFBRSxFQUFFO1FBQ1osVUFBVSxFQUFFLEVBQUU7UUFDZCxhQUFhLEVBQUUsQ0FBQztRQUNoQixXQUFXLEVBQUUsQ0FBQztLQUNmO0lBQ0QsUUFBUTtRQUFSLGlCQU1DO1FBTEMsSUFBSSxJQUFJLEdBQUcsaUJBQVUsQ0FBQyxJQUFJLElBQUksRUFBRSxDQUFDLENBQUM7UUFDbEMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUNsQixJQUFJLENBQUMsT0FBUSxDQUFDLEVBQUUsS0FBSyxFQUFFLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUU7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gKGRheVZvcyAmJiBkYXlWb3MubGVuZ3RoKSB7XG4gICAgICAgICAgbGV0IG9MaXN0ID0gZGF5Vm9zO1xuICAgICAgICAgIGZvciAobGV0IGluZGV4ID0gMDsgaW5kZXggPCBvTGlzdC5sZW5ndGg7IGluZGV4KyspIHtcbiAgICAgICAgICAgIGNvbnN0IGVsZW1lbnQgPSBvTGlzdFtpbmRleF07XG4gICAgICAgICAgICBsZXQgZGF5c0luZGV4ID0gZWxlbWVudC5kYXlzLnNsaWNlKC0yKTtcbiAgICAgICAgICAgIGRheUxpc3RbZGF5c0luZGV4XSA9IHtcbiAgICAgICAgICAgICAgLi4uZGF5TGlzdFtkYXlzSW5kZXhdLFxuICAgICAgICAgICAgICBjb3VudDogZWxlbWVudC5jb3VudCxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGNvbnNvbGUubG9nKCdkYXlMaXN0OicsIGRheUxpc3QpO1xuICAgICAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgICAgICBncm93dGhMaXN0OiBkYXlMaXN0LFxuICAgICAgICAgIGN1c3RvbWVyQ291bnQ6IGN1c3RvbWVyQ291bnQgPyBjdXN0b21lckNvdW50IDogMCxcbiAgICAgICAgICBhY3RpdmVDb3VudDogYWN0aXZlQ291bnQgPyBhY3RpdmVDb3VudCA6IDAsXG4gICAgICAgIH0pO1xuICAgICAgfSlcbiAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgfSk7XG4gIH0sXG4gIGFyZWFDaGFuZ2VIYW5kbGUodmFsKSB7XG4gICAgY29uc29sZS5sb2coJ2FyZWFDaGFuZ2VIYW5kbGUnLCB2YWwpO1xuICAgIGNvbnN0IHsgaWQsIG5hbWUgfSA9IHZhbDtcbiAgICB0aGlzLnNldERhdGEhKFxuICAgICAge1xuICAgICAgICBhcmVhSWQ6IGlkLFxuICAgICAgICBhcmVhTmFtZTogbmF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AgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICBjb25zdCB7IGN1c3RvbWVyQ291bnQsIGRheVZvcywgYWN0aXZlQ291bnQgfSA9IHJlcy5kYXRhO1xuICAgICAgICBsZXQgZGF5TGlzdCA9IG5ldyBBcnJheSgzMSlcbiAgICAgICAgICAuZmlsbCh7XG4gICAgICAgICAgICBjb3VudDogMCxcbiAgICAgICAgICB9KVxuICAgICAgICAgIC5tYXAoKHYsIGlkeCkgPT4gKHsgLi4udiwgZGF5czogaWR4ICsgMSB9KSk7XG5cbiAgICAgICAgaWYgKGRheVZvcyAmJiBkYXlWb3MubGVuZ3RoKSB7XG4gICAgICAgICAgbGV0IG9MaXN0ID0gZGF5Vm9zO1xuICAgICAgICAgIGZvciAobGV0IGluZGV4ID0gMDsgaW5kZXggPCBvTGlzdC5sZW5ndGg7IGluZGV4KyspIHtcbiAgICAgICAgICAgIGNvbnN0IGVsZW1lbnQgPSBvTGlzdFtpbmRleF07XG4gICAgICAgICAgICBsZXQgZGF5c0luZGV4ID0gTnVtYmVyKGVsZW1lbnQuZGF5cy5zbGljZSgtMikpO1xuICAgICAgICAgICAgZGF5TGlzdFtkYXlzSW5kZXhdID0ge1xuICAgICAgICAgICAgICAuLi5kYXlMaXN0W2RheXNJbmRleF0sXG4gICAgICAgICAgICAgIGNvdW50OiBlbGVtZW50LmNvdW50LFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgY29uc29sZS5sb2coJ2RheUxpc3Q6JywgZGF5TGlzdCk7XG4gICAgICAgIHRoaXMuc2V0RGF0YSEoe1xuICAgICAgICAgIGdyb3d0aExpc3Q6IGRheUxpc3QsXG4gICAgICAgICAgY3VzdG9tZXJDb3VudDogY3VzdG9tZXJDb3VudCA/IGN1c3RvbWVyQ291bnQgOiAwLFxuICAgICAgICAgIGFjdGl2ZUNvdW50OiBhY3RpdmVDb3VudCA/IGFjdGl2ZUNvdW50IDogMCxcbiAgICAgICAgfSk7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICB9KTtcbiAgfSxcbiAgYXJlYUNoYW5nZUhhbmRsZSh2YWwpIHtcbiAgICBjb25zb2xlLmxvZygnYXJlYUNoYW5nZUhhbmRsZScsIHZhbCk7XG4gICAgY29uc3QgeyBpZCwgbmFtZSB9ID0gdmFsO1xuICAgIHRoaXMuc2V0RGF0YSEoXG4gICAgICB7XG4gICAgICAgIGFyZWFJZDogaWQsXG4gICAgICAgIGFyZWFOYW1lOiBuYW1lLFxuICAgICAgfSxcbiAgICAgICgpID0+IHtcbiAgICAgICAgaWYgKGlkKSB7XG4gICAgICAgICAgdGhpcy5mZXRjaExpc3QoeyBhcmVhSWQ6IGlkIH0pO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIHRoaXMuZmV0Y2hMaXN0KCk7XG4gICAgICAgIH1cbiAgICAgIH0sXG4gICAgKTtcbiAgfSxcbiAgbW9udGhDaGFuZ2VIYW5kbGUodmFsKSB7XG4gICAgY29uc29sZS5sb2coJ21vbnRoQ2hhbmdlSGFuZGxlJywgdmFsKTtcbiAgICBjb25zdCB7IHZhbHVlIH0gPSB2YWwuZGV0YWlsO1xuICAgIHRoaXMuZmV0Y2hMaXN0KHsgbW9udGhTdHJpbmc6IHZhbHVlIH0pO1xuICAgIHRoaXMuc2V0RGF0YSEoe1xuICAgICAgbW9udGg6IHZhbHVlLFxuICAgIH0pO1xuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
miniprogram/pages/userGrowth/userGrowth.ts
View file @
7440d3db
...
...
@@ -79,7 +79,7 @@ Page({
let
oList
=
dayVos
;
for
(
let
index
=
0
;
index
<
oList
.
length
;
index
++
)
{
const
element
=
oList
[
index
];
let
daysIndex
=
element
.
days
.
slice
(
-
2
);
let
daysIndex
=
Number
(
element
.
days
.
slice
(
-
2
)
);
dayList
[
daysIndex
]
=
{
...
dayList
[
daysIndex
],
count
:
element
.
count
,
...
...
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