Commit 7d835dbd by 姜雷

修改参数

parent 189926b3
......@@ -9,6 +9,7 @@ var __assign = (this && this.__assign) || Object.assign || function(t) {
};
Object.defineProperty(exports, "__esModule", { value: true });
var fetch_1 = require("../../../api/fetch");
var util_1 = require("../../../utils/util");
Component({
lifetimes: {
attached: function () { },
......@@ -105,7 +106,7 @@ Component({
var list = res.data.list;
_this.setData({
pageNum: 1,
dataList: list,
dataList: list.map(function (item) { return (__assign({}, item, { consumeAmount: util_1.formatPrice(item.consumeAmount) })); }),
});
})
.catch(function (err) {
......@@ -124,7 +125,7 @@ Component({
})
.then(function (res) {
wx.hideLoading();
var list = res.data.list;
var list = res.data.list.map(function (item) { return (__assign({}, item, { consumeAmount: util_1.formatPrice(item.consumeAmount) })); });
if (list && list.length) {
_this.setData({
dataList: _this.data.dataList.concat(list),
......@@ -159,4 +160,4 @@ Component({
},
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXF1aXBtZW50T3BlcmF0aW9uRGV0YWlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIkVxdWlwbWVudE9wZXJhdGlvbkRldGFpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDRDQUFxRDtBQUdyRCxTQUFTLENBQUM7SUFDUixTQUFTLEVBQUU7UUFDVCxRQUFRLGdCQUFJLENBQUM7S0FDZDtJQUlELFVBQVUsRUFBRTtRQUNWLFdBQVcsRUFBRTtZQUNYLElBQUksRUFBRSxLQUFLO1lBQ1gsS0FBSyxFQUFFLEVBQUU7U0FDVjtRQUNELE1BQU0sRUFBRTtZQUNOLElBQUksRUFBRSxNQUFNO1lBQ1osS0FBSyxFQUFFLENBQUM7WUFDUixRQUFRO2dCQUNOLElBQUksQ0FBQyxTQUFTLEVBQUUsQ0FBQztnQkFDakIsSUFBSSxDQUFDLFdBQVcsRUFBRSxDQUFDO1lBQ3JCLENBQUM7U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ICdkZXNjJywgbGFiZWw6ICfpmY3luo8nIH0sXG4gICAgICB7IHZhbHVlOiAnYXNjJywgbGFiZWw6ICfljYfluo8nIH0sXG4gICAgXSxcbiAgICBzb3J0VHlwZUluZGV4OiAnMCcsXG4gICAgc29ydFR5cGU6ICdkZXNjJyxcbiAgICB0aW1lVHlwZTogMCxcbiAgICBjb21zdW1lckRhdGE6IHtcbiAgICAgIHRpdGxlOiAn5raI6LS55oC76aKdJyxcbiAgICAgIG51bWJlclR5cGU6ICdwcmljZScsXG4gICAgICBjb3VudDogMCxcbiAgICB9LFxuICAgIGNvdW50RGF0YToge1xuICAgICAgdGl0bGU6ICfmtojotLnnrJTmlbAnLFxuICAgICAgbnVtYmVyVHlwZTogJ2NvdW50JyxcbiAgICAgIGNvdW50OiAwLFxuICAgIH0sXG4gICAgcGFnZU51bTogMSxcbiAgICBwYWdlU2l6ZTogMTUsXG4gICAgZGF0YUxpc3Q6IFtdLFxuICAgIGRldmljZVR5cGU6IDMsIC8vIO+8iDLvvJrmtJfooaPvvIwz77ya6aWu5rC077yMNO+8muWQuemjju+8jDXvvJrmtJfmtbTvvIlcbiAgfSxcblxuICAvKipcbiAgICog57uE5Lu255qE5pa55rOV5YiX6KGoXG4gICAqL1xuICBtZXRob2RzOiB7XG4gICAgY2hhbmdlVHlwZShlKSB7XG4gICAgICBjb25zb2xlLmxvZyhlKTtcbiAgICAgIGNvbnN0IHsgdGltZXR5cGUgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xuICAgICAgaWYgKHRpbWV0eXBlID09PSB0aGlzLmRhdGEudGltZVR5cGUpIHJldHVybjtcbiAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgIHRpbWVUeXBlOiB0aW1ldHlwZSxcbiAgICAgIH0pO1xuICAgICAgdGhpcy5mZXRjaERhdGEoKTtcbiAgICAgIHRoaXMucmVmcmVzaExpc3QoKTtcbiAgICB9LFxuICAgIGZldGNoRGF0YSgpIHtcbiAgICAgIHN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wZSxcbiAgICAgICAgICBkZXZpY2VUeXBlOiB0aGlzLmRhdGEuZGV2aWNlVHlwZSxcbiAgICAgICAgICBwYWdlTnVtOiB0aGlzLmRhdGEucGFnZU51bSxcbiAgICAgICAgICBwYWdlU2l6ZTogdGhpcy5kYXRhLnBhZ2VTaXplLFxuICAgICAgICAgIC4uLmVudGl0eSxcbiAgICAgICAgfSxcbiAgICAgIH0pO1xuICAgIH0sXG4gICAgcmVmcmVzaExpc3QoKSB7XG4gICAgICB3eC5zaG93TG9hZGluZyh7XG4gICAgICAgIHRpdGxlOiAn5Yqg6L295LitJyxcbiAgICAgICAgbWFzazogdHJ1ZSxcbiAgICAgIH0pO1xuICAgICAgdGhpcy5mZXRjaExpc3Qoe1xuICAgICAgICBwYWdlTnVtOiAxLFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIGNvbnN0IHsgbGlzdCB9ID0gcmVzLmRhdGE7XG4gICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgIHBhZ2VOdW06IDEsXG4gICAgICAgICAgICBkYXRhTGlzdDogbGlzdCxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICB9KTtcbiAgICB9LFxuICAgIGdldE1vcmVMaXN0SXRlbSgpIHtcbiAgICAgIHd4LnNob3dMb2FkaW5nKHtcbiAgICAgICAgdGl0bGU6ICfliqDovb3kuK0nLFxuICAgICAgICBtYXNrOiB0cnVlLFxuICAgICAgfSk7XG4gICAgICB0aGlzLmZldGNoTGlzdCh7XG4gICAgICAgIHBhZ2VOdW06IHRoaXMuZGF0YS5wYWdlTnVtICsgMSxcbiAgICAgIH0pXG4gICAgICAgIC50aGVuKHJl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AgYXJlYUlkOiB0aGlzLmRhdGEuYXJlYUlkLFxuICAgICAgICAgIHRpbWVUeXBlOiB0aGlzLmRhdGEudGltZVR5cGUsXG4gICAgICAgICAgc29ydFR5cGU6IHRoaXMuZGF0YS5zb3J0VHlwZSxcbiAgICAgICAgICBkZXZpY2VUeXBlOiB0aGlzLmRhdGEuZGV2aWNlVHlwZSxcbiAgICAgICAgICBwYWdlTnVtOiB0aGlzLmRhdGEucGFnZU51bSxcbiAgICAgICAgICBwYWdlU2l6ZTogdGhpcy5kYXRhLnBhZ2VTaXplLFxuICAgICAgICAgIC4uLmVudGl0eSxcbiAgICAgICAgfSxcbiAgICAgIH0pO1xuICAgIH0sXG4gICAgcmVmcmVzaExpc3QoKSB7XG4gICAgICB3eC5zaG93TG9hZGluZyh7XG4gICAgICAgIHRpdGxlOiAn5Yqg6L295LitJyxcbiAgICAgICAgbWFzazogdHJ1ZSxcbiAgICAgIH0pO1xuICAgICAgdGhpcy5mZXRjaExpc3Qoe1xuICAgICAgICBwYWdlTnVtOiAxLFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIGNvbnN0IHsgbGlzdCB9ID0gcmVzLmRhdGE7XG4gICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgIHBhZ2VOdW06IDEsXG4gICAgICAgICAgICBkYXRhTGlzdDogbGlzdC5tYXAoaXRlbSA9PiAoe1xuICAgICAgICAgICAgICAuLi5pdGVtLFxuICAgICAgICAgICAgICBjb25zdW1lQW1vdW50OiBmb3JtYXRQcmljZShpdGVtLmNvbnN1bWVBbW91bnQpLFxuICAgICAgICAgICAgfSkpLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gIC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iAgICAgIGNvbnNvbGUubG9nKGl0ZW0pO1xuICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgc29ydFR5cGVJbmRleDogdmFsdWUsXG4gICAgICAgIHNvcnRUeXBlOiBpdGVtLnZhbHVlLFxuICAgICAgfSk7XG4gICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XG4gICAgfSxcbiAgICBjaGFuZ2VEZXZpY2VUeXBlKGUpIHtcbiAgICAgIGNvbnNvbGUubG9nKGUpO1xuICAgICAgY29uc3QgeyBkZXZpY2V0eXBlIH0gPSBlLmN1cnJlbnRUYXJnZXQuZGF0YXNldDtcbiAgICAgIGlmIChkZXZpY2V0eXBlID09PSB0aGlzLmRhdGEuZGV2aWNlVHlwZSkgcmV0dXJuO1xuICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgZGV2aWNlVHlwZTogZGV2aWNldHlwZSxcbiAgICAgIH0pO1xuICAgICAgdGhpcy5yZWZyZXNoTGlzdCgpO1xuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ==
\ No newline at end of file
import { statisticsFetch } from '../../../api/fetch';
import { formatPrice } from '../../../utils/util';
// pages/components/EquipmentOperationDetails/EquipmentOperationDetails.js
Component({
......@@ -113,7 +114,10 @@ Component({
const { list } = res.data;
this.setData({
pageNum: 1,
dataList: list,
dataList: list.map(item => ({
...item,
consumeAmount: formatPrice(item.consumeAmount),
})),
});
})
.catch(err => {
......@@ -131,7 +135,10 @@ Component({
})
.then(res => {
wx.hideLoading();
const { list } = res.data;
const list = res.data.list.map(item => ({
...item,
consumeAmount: formatPrice(item.consumeAmount),
}));
if (list && list.length) {
this.setData!({
dataList: [...this.data.dataList, ...list],
......
......@@ -81,10 +81,11 @@ Component({
if (this.data.deviceLocation) {
entity.deviceLocation = this.data.deviceLocation;
}
console.log('areaId: ', this.data.areaId);
return fetch_1.deviceFetch({
url: '/device/warning/paging',
method: 'POST',
data: __assign({ warnLevel: 1, operator: true, areaId: this.data.areaId, pageNum: this.data.pageNum, pageSize: this.data.pageSize }, entity),
data: __assign({ warnLevel: 1, operator: true, campusId: this.data.areaId, pageNum: this.data.pageNum, pageSize: this.data.pageSize }, entity),
});
},
refreshList: function () {
......@@ -178,4 +179,4 @@ Component({
},
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXF1aXBtZW50V2FybmluZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIkVxdWlwbWVudFdhcm5pbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDRDQUFpRDtBQUdqRCxTQUFTLENBQUM7SUFDUixTQUFTLEVBQUU7UUFDVCxRQUFRO1lBQ04sRUFBRSxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLGdCQUFnQixDQUFDLENBQUMsQ0FBQztnQkFDaEMsSUFBSSxDQUFDLHFCQUFxQixFQUFFLENBQUM7WUFDL0IsQ0FBQztRQUNILENBQUM7S0FDRjtJQUlELFVBQVUsRUFBRTtRQUNWLE1BQU0sRUFBRTtZQUNOLElBQUksRUFBRSxNQUFNO1lBQ1osS0FBSyxFQUFFLENBQUM7WUFDUixRQUFRLFlBQUMsTUFBTTtnQkFDYixJQUFJLENBQUMsV0FBVyxFQUFFLENBQUM7WUFDckIsQ0FBQztTQUNGO0tBQ0Y7SUFLRCxJQUFJLEVBQUU7UUFDSixpQkFBaUIsRUFBRSxFQUFFO1FBQ3JCLGNBQWMsRUFBRSxFQUFFO1FBQ2xCLFNBQVMsRUFBRSxDQUFDO1FBQ1osY0FBYyxFQUFFLEVBQUU7UUFDbEIsUUFBUSxFQUFFLEVBQUU7UUFDWixPQUFPLEVBQUUsQ0FBQztRQUNWLFFBQVEsRUFBRSxFQUFFO0tBQ2I7SUFLRCxPQUFPLEVBQUU7UUFDUCxxQkFBcUI7WUFBckIsaUJBZ0JDO1lBZkMsbUJBQVcsQ0FBQ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cbiAgICBhdHRhY2hlZCgpIHtcbiAgICAgIGlmICghdGhpcy5kYXRhLndhcm5pbmdUeXBlUmFuZ2UpIHtcbiAgICAgICAgdGhpcy5mZXRjaFdhcm5pbmdMZXZlbExpc3QoKTtcbiAgICAgIH1cbiAgICB9LFxuICB9LFxuICAvKipcbiAgICog57uE5Lu255qE5bGe5oCn5YiX6KGoXG4gICAqL1xuICBwcm9wZXJ0aWVzOiB7XG4gICAgYXJlYUlkOiB7XG4gICAgICB0eXBlOiBOdW1iZXIsXG4gICAgICB2YWx1ZTogMCxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XG4gICAgICB9LFxuICAgIH0sXG4gIH0sXG5cbiAgLyoqXG4gICAqIOe7hOS7tueahOWIneWni+aVsOaNrlxuICAgKi9cbiAgZGF0YToge1xuICAgIHdhcm5pbmdMZXZlbFJhbmdlOiBbXSxcbiAgICB3YXJuTGV2ZWxJbmRleDogJycsXG4gICAgd2FybkxldmVsOiAwLFxuICAgIGRldmljZUxvY2F0aW9uOiAnJyxcbiAgICBkYXRhTGlzdDogW10sXG4gICAgcGFnZU51bTogMSxcbiAgICBwYWdlU2l6ZTogMTAsXG4gIH0sXG5cbiAgLyoqXG4gICAqIOe7hOS7tueahOaWueazleWIl+ihqFxuICAgKi9cbiAgbWV0aG9kczoge1xuICAgIGZldGNoV2FybmluZ0xldmVsTGlzdCgpIHtcbiAgICAgIGRldmljZUZldGNoKHtcbiAgICAgICAgdXJsOiAnL2RldmljZS93YXJuaW5nL2RpY3QvaWxsZWdhbE9wZXJhdGlvbnMnLFxuICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgd2FybkxldmVsOiAxLFxuICAgICAgICB9LFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgIC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Mb2NhdGlvbiA9IHRoaXMuZGF0YS5kZXZpY2VMb2NhdGlvbjtcbiAgICAgIH1cbiAgICAgIHJldHVybiBkZXZpY2VGZXRjaCh7XG4gICAgICAgIHVybDogJy9kZXZpY2Uvd2FybmluZy9wYWdpbmcnLFxuICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgICAgZGF0YToge1xuICAgICAgICAgIHdhcm5MZXZlbDogMSxcbiAgICAgICAgICBvcGVyYXRvcjogdHJ1ZSxcbiAgICAgICAgICBhcmVhSWQ6IHRoaXMuZGF0YS5hcmVhSWQsXG4gICAgICAgICAgcGFnZU51bTogdGhpcy5kYXRhLnBhZ2VOdW0sXG4gICAgICAgICAgcGFnZVNpemU6IHRoaXMuZGF0YS5wYWdlU2l6ZSxcbiAgICAgICAgICAuLi5lbnRpdHksXG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgICB9LFxuICAgIHJlZnJlc2hMaXN0KCkge1xuICAgICAgd3guc2hvd0xvYWRpbmcoe1xuICAgICAgICB0aXRsZTogJ+WKoOi9veS4rScsXG4gICAgICAgIG1hc2s6IHRydWUsXG4gICAgICB9KTtcbiAgICAgIHRoaXMuZmV0Y2hMaXN0KHt9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICBjb25zdCB7IGxpc3QgfSA9IHJlcy5kYXRhO1xuICAgICAgICAgIGlmIChsaXN0ICYmIGxpc3QubGVuZ3RoKSB7XG4gICAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgICBkYXRhTGlzdDogbGlzdCxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgICBkYXRhTGlzdDogW10sXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9XG4gICA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nNvbGUubG9nKGNvZGUpO1xuICAgICAgZGV2aWNlRmV0Y2goe1xuICAgICAgICB1cmw6IGAvZGV2aWNlLyR7Y29kZX0vJHt0eXBlfS9lbmFibGVgLFxuICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgIH0pXG4gICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgIHRpdGxlOiByZXMubXNnIHx8ICfmk43kvZzmiJDlip8nLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHRoaXMucmVmcmVzaExpc3QoKTtcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICBjbG9zZUVxdWlwbWVudChlKSB7XG4gICAgICBjb25zdCB7IGNvZGUsIHR5cGUgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xuICAgICAgY29uc29sZS5sb2coY29kZSk7XG4gICAgICBkZXZpY2VGZXRjaCh7XG4gICAgICAgIHVybDogYC9kZXZpY2UvJHtjb2RlfS8ke3R5cGV9L2ZvcmJpZGRlbmAsXG4gICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgdGl0bGU6IHJlcy5tc2cgfHwgJ+aTjeS9nOaIkOWKnycsXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgdGhpcy5yZWZyZXNoTGlzdCgpO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICB9KTtcbiAgICB9LFxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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iAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICBjaGFuZ2VXYXJuaW5nVHlwZShlKSB7XG4gICAgICBjb25zdCBpbmRleCA9IGUuZGV0YWlsLnZhbHVlO1xuICAgICAgaWYgKGluZGV4ID09PSB0aGlzLmRhdGEud2FybkxldmVsSW5kZXgpIHJldHVybjtcbiAgICAgIGNvbnN0IGl0ZW0gPSB0aGlzLmRhdGEud2FybmluZ0xldmVsUmFuZ2VbaW5kZXhdO1xuICAgICAgY29uc29sZS5sb2coaXRlbSk7XG4gICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICB3YXJuTGV2ZWxJbmRleDogaW5kZXgsXG4gICAgICAgIHdhcm5MZXZlbDogaXRlbS5rZXksXG4gICAgICB9KTtcbiAgICAgIHRoaXMucmVmcmVzaExpc3QoKTtcbiAgICB9LFxuICAgIGNoYW5nZUxvY2F0aW9uKGUpIHtcbiAgICAgIGNvbnN0IHsgdmFsdWUgfSA9IGUuZGV0YWlsO1xuICAgICAgY29uc29sZS5sb2codmFsdWUpO1xuICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgZGV2aWNlTG9jYXRpb246IHZhbHVlLFxuICAgICAgfSk7XG4gICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XG4gICAgfSxcbiAgICBmZXRjaExpc3QoZW50aXR5KSB7XG4gICAgICBpZiAodGhpcy5kYXRhLndhcm5MZXZlbCkge1xuICAgICAgICBlbnRpdHkub3BlcmF0aW9uID0gdGhpcy5kYXRhLndhcm5MZXZlbDtcbiAgICAgIH1cbiAgICAgIGlmICh0aGlzLmRhdGEuZGV2aWNlTG9jYXRpb24pIHtcbiAgICAgICAgZW50aXR5LmRldmljZUxvY2F0aW9uID0gdGhpcy5kYXRhLmRldmljZUxvY2F0aW9uO1xuICAgICAgfVxuICAgICAgY29uc29sZS5sb2coJ2FyZWFJZDogJywgdGhpcy5kYXRhLmFyZWFJZCk7XG4gICAgICByZXR1cm4gZGV2aWNlRmV0Y2goe1xuICAgICAgICB1cmw6ICcvZGV2aWNlL3dhcm5pbmcvcGFnaW5nJyxcbiAgICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICAgIGRhdGE6IHtcbiAgICAgICAgICB3YXJuTGV2ZWw6IDEsXG4gICAgICAgICAgb3BlcmF0b3I6IHRydWUsXG4gICAgICAgICAgY2FtcHVzSWQ6IHRoaXMuZGF0YS5hcmVhSWQsXG4gICAgICAgICAgcGFnZU51bTogdGhpcy5kYXRhLnBhZ2VOdW0sXG4gICAgICAgICAgcGFnZVNpemU6IHRoaXMuZGF0YS5wYWdlU2l6ZSxcbiAgICAgICAgICAuLi5lbnRpdHksXG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgICB9LFxuICAgIHJlZnJlc2hMaXN0KCkge1xuICAgICAgd3guc2hvd0xvYWRpbmcoe1xuICAgICAgICB0aXRsZTogJ+WKoOi9veS4rScsXG4gICAgICAgIG1hc2s6IHRydWUsXG4gICAgICB9KTtcbiAgICAgIHRoaXMuZmV0Y2hMaXN0KHt9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICBjb25zdCB7IGxpc3QgfSA9IHJlcy5kYXRhO1xuICAgICAgICAgIGlmIChsaXN0ICYmIGxpc3QubGVuZ3RoKSB7XG4gICAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgICBkYXRhTGlzdDogbGlzdCxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgICBkYXRhTGlzdDogW10sXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pXG4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GNvZGUpO1xuICAgICAgZGV2aWNlRmV0Y2goe1xuICAgICAgICB1cmw6IGAvZGV2aWNlLyR7Y29kZX0vJHt0eXBlfS9lbmFibGVgLFxuICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgIH0pXG4gICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgIHRpdGxlOiByZXMubXNnIHx8ICfmk43kvZzmiJDlip8nLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHRoaXMucmVmcmVzaExpc3QoKTtcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICBjbG9zZUVxdWlwbWVudChlKSB7XG4gICAgICBjb25zdCB7IGNvZGUsIHR5cGUgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xuICAgICAgY29uc29sZS5sb2coY29kZSk7XG4gICAgICBkZXZpY2VGZXRjaCh7XG4gICAgICAgIHVybDogYC9kZXZpY2UvJHtjb2RlfS8ke3R5cGV9L2ZvcmJpZGRlbmAsXG4gICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgdGl0bGU6IHJlcy5tc2cgfHwgJ+aTjeS9nOaIkOWKnycsXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgdGhpcy5yZWZyZXNoTGlzdCgpO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICB9KTtcbiAgICB9LFxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
......@@ -82,13 +82,14 @@ Component({
if (this.data.deviceLocation) {
entity.deviceLocation = this.data.deviceLocation;
}
console.log('areaId: ', this.data.areaId);
return deviceFetch({
url: '/device/warning/paging',
method: 'POST',
data: {
warnLevel: 1,
operator: true,
areaId: this.data.areaId,
campusId: this.data.areaId,
pageNum: this.data.pageNum,
pageSize: this.data.pageSize,
...entity,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment