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
1193e0da
Commit
1193e0da
authored
Jan 14, 2020
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加告警请求参数
parent
c1f36f5e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
EquipmentWarning.js
...ram/pages/components/EquipmentWarning/EquipmentWarning.js
+3
-3
EquipmentWarning.ts
...ram/pages/components/EquipmentWarning/EquipmentWarning.ts
+2
-0
No files found.
miniprogram/pages/components/EquipmentWarning/EquipmentWarning.js
View file @
1193e0da
...
...
@@ -84,7 +84,7 @@ Component({
return
fetch_1
.
deviceFetch
({
url
:
'/device/warning/paging'
,
method
:
'POST'
,
data
:
__assign
({
areaId
:
this
.
data
.
areaId
,
pageNum
:
this
.
data
.
pageNum
,
pageSize
:
this
.
data
.
pageSize
},
entity
),
data
:
__assign
({
warnLevel
:
1
,
operator
:
true
,
areaId
:
this
.
data
.
areaId
,
pageNum
:
this
.
data
.
pageNum
,
pageSize
:
this
.
data
.
pageSize
},
entity
),
});
},
refreshList
:
function
()
{
...
...
@@ -171,4 +171,4 @@ Component({
},
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXF1aXBtZW50V2FybmluZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIkVxdWlwbWVudFdhcm5pbmcudHMiXSwibmFtZXMiOltdLCJtYXBwa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XG4gICAgICB9KTtcbiAgICAgIHRoaXMucmVmcmVzaExpc3QoKTtcbiAgICB9LFxuICAgIGNoYW5nZUxvY2F0aW9uKGUpIHtcbiAgICAgIGNvbnN0IHsgdmFsdWUgfSA9IGUuZGV0YWlsO1xuICAgICAgY29uc29sZS5sb2codmFsdWUpO1xuICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgZGV2aWNlTG9jYXRpb246IHZhbHVlLFxuICAgICAgfSk7XG4gICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XG4gICAgfSxcbiAgICBmZXRjaExpc3QoZW50aXR5KSB7XG4gICAgICBpZiAodGhpcy5kYXRhLndhcm5MZXZlbCkge1xuICAgICAgICBlbnRpdHkub3BlcmF0aW9uID0gdGhpcy5kYXRhLndhcm5MZXZlbDtcbiAgICAgIH1cbiAgICAgIGlmICh0aGlzLmRhdGEuZGV2aWNlTG9jYXRpb24pIHtcbiAgICAgICAgZW50aXR5LmRldmljZUxvY2F0aW9uID0gdGhpcy5kYXRhLmRldmljZUxvY2F0aW9uO1xuICAgICAgfVxuICAgICAgcmV0dXJuIGRldmljZUZldGNoKHtcbiAgICAgICAgdXJsOiAnL2RldmljZS93YXJuaW5nL3BhZ2luZycsXG4gICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgYXJlYUlkOiB0aGlzLmRhdGEuYXJlYUlkLFxuICAgICAgICAgIHBhZ2VOdW06IHRoaXMuZGF0YS5wYWdlTnVtLFxuICAgICAgICAgIHBhZ2VTaXplOiB0aGlzLmRhdGEucGFnZVNpemUsXG4gICAgICAgICAgLi4uZW50aXR5LFxuICAgICAgICB9LFxuICAgICAgfSk7XG4gICAgfSxcbiAgICByZWZyZXNoTGlzdCgpIHtcbiAgICAgIHd4LnNob3dMb2FkaW5nKHtcbiAgICAgICAgdGl0bGU6ICfliqDovb3kuK0nLFxuICAgICAgfSk7XG4gICAgICB0aGlzLmZldGNoTGlzdCgpXG4gICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgIGNvbnN0IHsgbGlzdCB9ID0gcmVzLmRhdGE7XG4gICAgICAgICAgaWYgKGxpc3QgJiYgbGlzdC5sZW5ndGgpIHtcbiAgICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICAgIGRhdGFMaXN0OiBsaXN0LFxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfVxuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgIH0pO1xuICAgIH0sXG4gICAgZ2V0TW9yZUxpc3RJdGVtKCkge1xuICAgICAgd3guc2hvd0xvYWRpbmcoe1xuICAgICAgICB0aXRsZTogJ+WKoOi9veS4rScsXG4gICAgICB9KTtcbiAgICAgIGxldCBuZXh0UGFnZSA9IHRoaXMuZGF0YS5wYWdlTnVtICsgMTtcbiAgICAgIHRoaXMuZmV0Y2hMaXN0KHtcbiAgICAgICAgcGFnZU51bTogbmV4dFBhZ2UsXG4gICAgICB9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICBjb25zdCB7IGxpc3QsIHBhZ2VOdW0gfSA9IHJlcy5kYXRhO1xuICAgICAgICAgIGlmIChsaXN0ICYmIGxpc3QubGVuZ3RoKSB7XG4gICAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgICBkYXRhTGlzdDogWy4uLnRoaXMuZGF0YS5kYXRhTGlzdCwgLi4ubGlzdF0sXG4gICAgICAgICAgICAgIHBhZ2VOdW0sXG4gICAgICAgICAgICB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XRjaFdhcm5pbmdMZXZlbExpc3QoKTtcbiAgICAgIH1cbiAgICB9LFxuICB9LFxuICAvKipcbiAgICog57uE5Lu255qE5bGe5oCn5YiX6KGoXG4gICAqL1xuICBwcm9wZXJ0aWVzOiB7XG4gICAgYXJlYUlkOiB7XG4gICAgICB0eXBlOiBOdW1iZXIsXG4gICAgICB2YWx1ZTogMCxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XG4gICAgICB9LFxuICAgIH0sXG4gIH0sXG5cbiAgLyoqXG4gICAqIOe7hOS7tueahOWIneWni+aVsOaNrlxuICAgKi9cbiAgZGF0YToge1xuICAgIHdhcm5pbmdMZXZlbFJhbmdlOiBbXSxcbiAgICB3YXJuTGV2ZWxJbmRleDogJycsXG4gICAgd2FybkxldmVsOiAwLFxuICAgIGRldmljZUxvY2F0aW9uOiAnJyxcbiAgICBkYXRhTGlzdDogW10sXG4gICAgcGFnZU51bTogMSxcbiAgICBwYWdlU2l6ZTogMTAsXG4gIH0sXG5cbiAgLyoqXG4gICAqIOe7hOS7tueahOaWueazleWIl+ihqFxuICAgKi9cbiAgbWV0aG9kczoge1xuICAgIGZldGNoV2FybmluZ0xldmVsTGlzdCgpIHtcbiAgICAgIGRldmljZUZldGNoKHtcbiAgICAgICAgdXJsOiAnL2RldmljZS93YXJuaW5nL2RpY3QvaWxsZWdhbE9wZXJhdGlvbnMnLFxuICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgd2FybkxldmVsOiAxLFxuICAgICAgICB9LFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICB3YXJuaW5nTGV2ZWxSYW5nZTogcmVzLmRhdGEsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0pXG4gICAgICAgIC5jYXRjaChlcnI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gICAgICAgIHVybDogJy9kZXZpY2Uvd2FybmluZy9wYWdpbmcnLFxuICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgICAgZGF0YToge1xuICAgICAgICAgIHdhcm5MZXZlbDogMSxcbiAgICAgICAgICBvcGVyYXRvcjogdHJ1ZSxcbiAgICAgICAgICBhcmVhSWQ6IHRoaXMuZGF0YS5hcmVhSWQsXG4gICAgICAgICAgcGFnZU51bTogdGhpcy5kYXRhLnBhZ2VOdW0sXG4gICAgICAgICAgcGFnZVNpemU6IHRoaXMuZGF0YS5wYWdlU2l6ZSxcbiAgICAgICAgICAuLi5lbnRpdHksXG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgICB9LFxuICAgIHJlZnJlc2hMaXN0KCkge1xuICAgICAgd3guc2hvd0xvYWRpbmcoe1xuICAgICAgICB0aXRsZTogJ+WKoOi9veS4rScsXG4gICAgICB9KTtcbiAgICAgIHRoaXMuZmV0Y2hMaXN0KClcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgY29uc3QgeyBsaXN0IH0gPSByZXMuZGF0YTtcbiAgICAgICAgICBpZiAobGlzdCAmJiBsaXN0Lmxlbmd0aCkge1xuICAgICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgICAgZGF0YUxpc3Q6IGxpc3QsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pXG4gICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICBnZXRNb3JlTGlzdEl0ZW0oKSB7XG4gICAgICB3eC5zaG93TG9hZGluZyh7XG4gICAgICAgIHRpdGxlOiAn5Yqg6L295LitJ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ZzmiJDlip8nLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHRoaXMucmVmcmVzaExpc3QoKTtcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICBjbG9zZUVxdWlwbWVudChlKSB7XG4gICAgICBjb25zdCB7IGNvZGUsIHR5cGUgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xuICAgICAgY29uc29sZS5sb2coY29kZSk7XG4gICAgICBkZXZpY2VGZXRjaCh7XG4gICAgICAgIHVybDogYC9kZXZpY2UvJHtjb2RlfS8ke3R5cGV9L2ZvcmJpZGRlbmAsXG4gICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgdGl0bGU6IHJlcy5tc2cgfHwgJ+aTjeS9nOaIkOWKnycsXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgdGhpcy5yZWZyZXNoTGlzdCgpO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICB9KTtcbiAgICB9LFxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
miniprogram/pages/components/EquipmentWarning/EquipmentWarning.ts
View file @
1193e0da
...
...
@@ -86,6 +86,8 @@ Component({
url
:
'/device/warning/paging'
,
method
:
'POST'
,
data
:
{
warnLevel
:
1
,
operator
:
true
,
areaId
:
this
.
data
.
areaId
,
pageNum
:
this
.
data
.
pageNum
,
pageSize
:
this
.
data
.
pageSize
,
...
...
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