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
31a87a30
Commit
31a87a30
authored
Jan 14, 2020
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into test
parents
971b98f8
499330be
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
EquipmentState.js
...program/pages/components/EquipmentState/EquipmentState.js
+6
-6
EquipmentState.ts
...program/pages/components/EquipmentState/EquipmentState.ts
+4
-4
No files found.
miniprogram/pages/components/EquipmentState/EquipmentState.js
View file @
31a87a30
...
...
@@ -28,19 +28,19 @@ Component({
pagination
:
{
enable
:
{
pageNum
:
1
,
pageSize
:
1
0
,
pageSize
:
1
5
,
},
forbidden
:
{
pageNum
:
1
,
pageSize
:
1
0
,
pageSize
:
1
5
,
},
online
:
{
pageNum
:
1
,
pageSize
:
1
0
,
pageSize
:
1
5
,
},
offline
:
{
pageNum
:
1
,
pageSize
:
1
0
,
pageSize
:
1
5
,
},
},
dataList
:
{
...
...
@@ -189,4 +189,4 @@ Component({
},
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXF1aXBtZW50U3RhdGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJFcXVpcG1lbnRTdGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsNENBQWlEO0FBR2pELFNBQVMsQ0FBQztJQUN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ybDogYC9kZXZpY2UvcmVwb3J0L2RldmljZVN0YXV0c0NvdW50LyR7dGhpcy5kYXRhLmFyZWFJZH1gLFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgIGNvbnN0IGxpc3QgPSByZXMuZGF0YS5tYXAoaXRlbSA9PiB7XG4gICAgICAgICAgICBsZXQgbGFiZWwgPSAnJztcbiAgICAgICAgICAgIHN3aXRjaCAoaXRlbS5zdGF0dXMpIHtcbiAgICAgICAgICAgICAgY2FzZSAnZW5hYmxlJzpcbiAgICAgICAgICAgICAgICBsYWJlbCA9ICflkK/nlKjorr7lpIcnO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICBjYXNlICdmb3JiaWRkZW4nOlxuICAgICAgICAgICAgICAgIGxhYmVsID0gJ+emgeeUqOiuvuWkhyc7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgIGNhc2UgJ29ubGluZSc6XG4gICAgICAgICAgICAgICAgbGFiZWwgPSAn5Zyo57q/6K6+5aSHJztcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgY2FzZSAnb2ZmbGluZSc6XG4gICAgICAgICAgICAgICAgbGFiZWwgPSAn56a757q/6K6+5aSHJztcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgIC4uLml0ZW0sXG4gICAgICAgICAgICAgIGxhYmVsLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICB9KTtcbiAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgdGFiczogbGlzdCxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICBmZXRjaExpc3QoZW50aXR5KSB7XG4gICAgICByZXR1cm4gZGV2aWNlRmV0Y2goe1xuICAgICAgICB1cmw6IGAvZGV2aWNlL3JlcG9ydC9zdGF0dXMvJHt0aGlzLmRhdGEuc3RhdHVzfWAsXG4gICAgICAgIGRhdGE6IHtcbiAgICAgICAgICBhcmVhSWQ6IHRoaXMuZGF0YS5hcmVhSWQsXG4gICAgICAgICAgcGFnZU51bTogdGhpcy5kYXRhLnBhZ2luYXRpb25bdGhpcy5kYXRhLnN0YXR1c10ucGFnZU51bSxcbiAgICAgICAgICBwYWdlU2l6ZTogdGhpcy5kYXRhLnBhZ2luYXRpb25bdGhpcy5kYXRhLnN0YXR1c10ucGFnZVNpemUsXG4gICAgICAgICAgLi4uZW50aXR5LFxuICAgICAgICB9LFxuICAgICAgfSk7XG4gICAgfSxcbiAgICByZWZyZXNoTGlzdCgpIHtcbiAgICAgIHd4LnNob3dMb2FkaW5nKHtcbiAgICAgICAgdGl0bGU6ICfliqDovb3kuK0nLFxuICAgICAgfSk7XG4gICAgICB0aGlzLmZldGNoTGlzdCgpXG4gICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgIGlmIChyZXMuZGF0YSAmJiByZXMuZGF0YS5sZW5ndGgpIHtcbiAgICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICAgIFsnZGF0YUxpc3QuJyArIHRoaXMuZGF0YS5zdGF0dXNdOiByZXMuZGF0YSxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH1cbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICB9KTtcbiAgICB9LFxuICAgIGdldE1vcmVMaXN0SXRlbSgpIHtcbiAgICAgIHd4LnNob3dMb2FkaW5nKHtcbiAgICAgICAgdGl0bGU6ICfliqDovb3kuK0nLFxuICAgICAgfSk7XG4gICAgICBsZXQgbmV4dFBhZ2UgPSB0aGlzLmRhdGEucGFnaW5hdGlvblt0aGlzLmRhdGEuc3RhdHVzXS5wYWdlTnVtICsgMTtcbiAgICAgIHRoaXMuZmV0Y2hMaXN0KHtcbiAgICAgICAgcGFnZU51bTogbmV4dFBhZ2UsXG4gICAgICB9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICBpZiAocmVzLmRhdGEgJiYgcmVzLmRhdGEubGVuZ3RoKSB7XG4gICAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgICBbJ2RhdGFMaXN0LicgKyB0aGlzLmRhdGEuc3RhdHVzXTogW1xuICAgICAgICAgICAgICAgIC4uLnRoaXMuZGF0YS5kYXRhTGlzdFt0aGlzLmRhdGEuc3RhdHVzXSxcbiAgICAgICAgICAgICAgICAuLi5yZXMuZGF0YSxcbiAgICAgICAgICAgICAgXSxcbiAgICAgICAgICAgICAgWydwYWdpbmF0aW9uLicgKyB0aGlzLmRhdGEuc3RhdHVzICsgJy5wYWdlTnVtJ106IG5leHRQYWdlLFxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfVxuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgIH0pO1xuICAgIH0sXG4gICAgY2hhbmdlVGFiKGUpIHtcbiAgICAgIGNvbnN0IHsgc3RhdHVzIH0gPSBlLmN1cnJlbn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bTogMSxcbiAgICAgICAgcGFnZVNpemU6IDE1LFxuICAgICAgfSxcbiAgICAgIG9mZmxpbmU6IHtcbiAgICAgICAgcGFnZU51bTogMSxcbiAgICAgICAgcGFnZVNpemU6IDE1LFxuICAgICAgfSxcbiAgICB9LFxuICAgIGRhdGFMaXN0OiB7XG4gICAgICBlbmFibGU6IFtdLFxuICAgICAgZm9yYmlkZGVuOiBbXSxcbiAgICAgIG9ubGluZTogW10sXG4gICAgICBvZmZsaW5lOiBbXSxcbiAgICB9LFxuICB9LFxuXG4gIC8qKlxuICAgKiDnu4Tku7bnmoTmlrnms5XliJfooahcbiAgICovXG4gIG1ldGhvZHM6IHtcbiAgICBmZXRjaEFsbCgpIHtcbiAgICAgIHRoaXMuZmV0Y2hEYXRhKCk7XG4gICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XG4gICAgfSxcbiAgICBmZXRjaERhdGEoKSB7XG4gICAgICBkZXZpY2VGZXRjaCh7XG4gICAgICAgIHVybDogYC9kZXZpY2UvcmVwb3J0L2RldmljZVN0YXV0c0NvdW50LyR7dGhpcy5kYXRhLmFyZWFJZH1gLFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgIGNvbnN0IGxpc3QgPSByZXMuZGF0YS5tYXAoaXRlbSA9PiB7XG4gICAgICAgICAgICBsZXQgbGFiZWwgPSAnJztcbiAgICAgICAgICAgIHN3aXRjaCAoaXRlbS5zdGF0dXMpIHtcbiAgICAgICAgICAgICAgY2FzZSAnZW5hYmxlJzpcbiAgICAgICAgICAgICAgICBsYWJlbCA9ICflkK/nlKjorr7lpIcnO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICBjYXNlICdmb3JiaWRkZW4nOlxuICAgICAgICAgICAgICAgIGxhYmVsID0gJ+emgeeUqOiuvuWkhyc7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgIGNhc2UgJ29ubGluZSc6XG4gICAgICAgICAgICAgICAgbGFiZWwgPSAn5Zyo57q/6K6+5aSHJztcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgY2FzZSAnb2ZmbGluZSc6XG4gICAgICAgICAgICAgICAgbGFiZWwgPSAn56a757q/6K6+5aSHJztcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgIC4uLml0ZW0sXG4gICAgICAgICAgICAgIGxhYmVsLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICB9KTtcbiAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgdGFiczogbGlzdCxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICBmZXRjaExpc3QoZW50aXR5KSB7XG4gICAgICByZXR1cm4gZGV2aWNlRmV0Y2goe1xuICAgICAgICB1cmw6IGAvZGV2aWNlL3JlcG9ydC9zdGF0dXMvJHt0aGlzLmRhdGEuc3RhdHVzfWAsXG4gICAgICAgIGRhdGE6IHtcbiAgICAgICAgICBhcmVhSWQ6IHRoaXMuZGF0YS5hcmVhSWQsXG4gICAgICAgICAgcGFnZU51bTogdGhpcy5kYXRhLnBhZ2luYXRpb25bdGhpcy5kYXRhLnN0YXR1c10ucGFnZU51bSxcbiAgICAgICAgICBwYWdlU2l6ZTogdGhpcy5kYXRhLnBhZ2luYXRpb25bdGhpcy5kYXRhLnN0YXR1c10ucGFnZVNpemUsXG4gICAgICAgICAgLi4uZW50aXR5LFxuICAgICAgICB9LFxuICAgICAgfSk7XG4gICAgfSxcbiAgICByZWZyZXNoTGlzdCgpIHtcbiAgICAgIHd4LnNob3dMb2FkaW5nKHtcbiAgICAgICAgdGl0bGU6ICfliqDovb3kuK0nLFxuICAgICAgfSk7XG4gICAgICB0aGlzLmZldGNoTGlzdCgpXG4gICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgIGlmIChyZXMuZGF0YSAmJiByZXMuZGF0YS5sZW5ndGgpIHtcbiAgICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICAgIFsnZGF0YUxpc3QuJyArIHRoaXMuZGF0YS5zdGF0dXNdOiByZXMuZGF0YSxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH1cbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICB9KTtcbiAgICB9LFxuICAgIGdldE1vcmVMaXN0SXRlbSgpIHtcbiAgICAgIHd4LnNob3dMb2FkaW5nKHtcbiAgICAgICAgdGl0bGU6ICfliqDovb3kuK0nLFxuICAgICAgfSk7XG4gICAgICBsZXQgbmV4dFBhZ2UgPSB0aGlzLmRhdGEucGFnaW5hdGlvblt0aGlzLmRhdGEuc3RhdHVzXS5wYWdlTnVtICsgMTtcbiAgICAgIHRoaXMuZmV0Y2hMaXN0KHtcbiAgICAgICAgcGFnZU51bTogbmV4dFBhZ2UsXG4gICAgICB9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICBpZiAocmVzLmRhdGEgJiYgcmVzLmRhdGEubGVuZ3RoKSB7XG4gICAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICA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nNob3dUb2FzdCh7XG4gICAgICAgICAgICB0aXRsZTogcmVzLm1zZyB8fCAn5pON5L2c5oiQ5YqfJyxcbiAgICAgICAgICB9KTtcbiAgICAgICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XG4gICAgICAgIH0pXG4gICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgIH0pO1xuICAgIH0sXG4gICAgY2xvc2VFcXVpcG1lbnQoZSkge1xuICAgICAgY29uc3QgeyBjb2RlLCB0eXBlIH0gPSBlLmN1cnJlbnRUYXJnZXQuZGF0YXNldDtcbiAgICAgIGNvbnNvbGUubG9nKGNvZGUpO1xuICAgICAgZGV2aWNlRmV0Y2goe1xuICAgICAgICB1cmw6IGAvZGV2aWNlLyR7Y29kZX0vJHt0eXBlfS9mb3JiaWRkZW5gLFxuICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgIH0pXG4gICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgIHRpdGxlOiByZXMubXNnIHx8ICfmk43kvZzmiJDlip8nLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHRoaXMucmVmcmVzaExpc3QoKTtcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgfSxcbn0pO1xuIl19
\ No newline at end of file
miniprogram/pages/components/EquipmentState/EquipmentState.ts
View file @
31a87a30
...
...
@@ -27,19 +27,19 @@ Component({
pagination
:
{
enable
:
{
pageNum
:
1
,
pageSize
:
1
0
,
pageSize
:
1
5
,
},
forbidden
:
{
pageNum
:
1
,
pageSize
:
1
0
,
pageSize
:
1
5
,
},
online
:
{
pageNum
:
1
,
pageSize
:
1
0
,
pageSize
:
1
5
,
},
offline
:
{
pageNum
:
1
,
pageSize
:
1
0
,
pageSize
:
1
5
,
},
},
dataList
:
{
...
...
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