Commit ed820e04 by 姜雷

修改设备类型对应

parent b28d20b9
......@@ -48,7 +48,7 @@ Component({
pageNum: 1,
pageSize: 15,
dataList: [],
deviceType: 2,
deviceType: 3,
},
methods: {
changeType: function (e) {
......@@ -147,4 +147,4 @@ Component({
},
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXF1aXBtZW50T3BlcmF0aW9uRGV0YWlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIkVxdWlwbWVudE9wZXJhdGlvbkRldGFpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDRDQUFxRDtBQUdyRCxTQUFTLENBQUM7SUFDUixTQUFTLEVBQUU7UUFDVCxRQUFRLGdCQUFJLENBQUM7S0FDZDtJQUlELFVBQVUsRUFBRTtRQUNWLFdBQVcsRUFBRTtZQUNYLElBQUksRUFBRSxLQUFLO1lBQ1gsS0FBSyxFQUFFLEVBQUU7U0FDVjtRQUNELE1BQU0sRUFBRTtZQUNOLElBQUksRUFBRSxNQUFNO1lBQ1osS0FBSyxFQUFFLENBQUM7WUFDUixRQUFRO2dCQUNOLElBQUksQ0FBQyxTQUFTLEVBQUUsQ0FBQztnQkFDakIsSUFBSSxDQUFDLFdBQVcsRUFBRSxDQUFDO1lBQ3JCLENBQUM7U0FDRjtLQUNGO0lBS0QsSUFBSSxFQUFFO1FBQ0osZUFBZSxFQUFFO1lBQ2YsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBRSxJQUFJLEVBQUU7WUFDOUIsRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxJQUFJLEVBQUU7U0FDOUI7UUFDRCxhQUFhLEVBQUUsR0FBRztRQUNsQixRQUFRLEVBQUUsTUFBTTtRQUNoQixRQUFRLEVBQUUsQ0FBQztRQUNYLFlBQVksRUFBRTtZQUNaLEtBQUssRUFBR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gY29uc29sZS5sb2coZSk7XG4gICAgICBjb25zdCB7IHRpbWV0eXBlIH0gPSBlLmN1cnJlbnRUYXJnZXQuZGF0YXNldDtcbiAgICAgIGlmICh0aW1ldHlwZSA9PT0gdGhpcy5kYXRhLnRpbWVUeXBlKSByZXR1cm47XG4gICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICB0aW1lVHlwZTogdGltZXR5cGUsXG4gICAgICB9KTtcbiAgICAgIHRoaXMuZmV0Y2hEYXRhKCk7XG4gICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XG4gICAgfSxcbiAgICBmZXRjaERhdGEoKSB7XG4gICAgICBzdGF0aXN0aWNzRmV0Y2goe1xuICAgICAgICB1cmw6ICcvYm9zcy9kZXZpY2Uvb3BlcmF0aW9uL2RhdGEvc3VtbWFyeScsXG4gICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgYXJlYUlkOiB0aGlzLmRhdGEuYXJlYUlkLFxuICAgICAgICAgIHRpbWVUeXBlOiB0aGlzLmRhdGEudGltZVR5cGUsXG4gICAgICAgIH0sXG4gICAgICB9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgY29uc3QgeyB0b3RhbENvbnN1bWVBbW91bnQsIHRvdGFsQ29uc3VtZUNvdW50IH0gPSByZXMuZGF0YTtcbiAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgJ2NvbXN1bWVyRGF0YS5jb3VudCc6IHRvdGFsQ29uc3VtZUFtb3VudCxcbiAgICAgICAgICAgICdjb3VudERhdGEuY291bnQnOiB0b3RhbENvbnN1bWVDb3VudCxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICB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gICAgICBjb25zdCB7IHRpbWV0eXBlIH0gPSBlLmN1cnJlbnRUYXJnZXQuZGF0YXNldDtcbiAgICAgIGlmICh0aW1ldHlwZSA9PT0gdGhpcy5kYXRhLnRpbWVUeXBlKSByZXR1cm47XG4gICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICB0aW1lVHlwZTogdGltZXR5cGUsXG4gICAgICB9KTtcbiAgICAgIHRoaXMuZmV0Y2hEYXRhKCk7XG4gICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XG4gICAgfSxcbiAgICBmZXRjaERhdGEoKSB7XG4gICAgICBzdGF0aXN0aWNzRmV0Y2goe1xuICAgICAgICB1cmw6ICcvYm9zcy9kZXZpY2Uvb3BlcmF0aW9uL2RhdGEvc3VtbWFyeScsXG4gICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgYXJlYUlkOiB0aGlzLmRhdGEuYXJlYUlkLFxuICAgICAgICAgIHRpbWVUeXBlOiB0aGlzLmRhdGEudGltZVR5cGUsXG4gICAgICAgIH0sXG4gICAgICB9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgY29uc3QgeyB0b3RhbENvbnN1bWVBbW91bnQsIHRvdGFsQ29uc3VtZUNvdW50IH0gPSByZXMuZGF0YTtcbiAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgJ2NvbXN1bWVyRGF0YS5jb3VudCc6IHRvdGFsQ29uc3VtZUFtb3VudCxcbiAgICAgICAgICAgICdjb3VudERhdGEuY291bnQnOiB0b3RhbENvbnN1bWVDb3VudCxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICBmZXRjaExpc3QoZW50aXR5KS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GRldmljZXR5cGUsXG4gICAgICB9KTtcbiAgICAgIHRoaXMucmVmcmVzaExpc3QoKTtcbiAgICB9LFxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
......@@ -47,7 +47,7 @@ Component({
pageNum: 1,
pageSize: 15,
dataList: [],
deviceType: 2, // (2:洗衣,3:饮水,4:吹风,5:洗浴)
deviceType: 3, // (2:洗衣,3:饮水,4:吹风,5:洗浴)
},
/**
......
......@@ -25,13 +25,13 @@ Page({
eventChannel.on('acceptDataFromOpenerPage', function (res) {
console.log(res);
_this.setData({
totalAmount: res.data.totalAmount.map(function (item) { return (__assign({}, item, { type: item.key === '饮水'
totalAmount: res.data.totalAmount.map(function (item) { return (__assign({}, item, { type: item.key === '洗衣'
? 2
: item.key === '吹风'
: item.key === '饮水'
? 3
: item.key === '洗浴'
: item.key === '吹风'
? 4
: item.key === '洗'
: item.key === '洗'
? 5
: item.key })); }),
});
......@@ -89,4 +89,4 @@ Page({
});
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXF1aXBtZW50UmVwb3J0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZXF1aXBtZW50UmVwb3J0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSx5Q0FBK0Q7QUFHL0QsSUFBSSxDQUFDO0lBSUgsSUFBSSxFQUFFO1FBQ0osTUFBTSxFQUFFLElBQUk7UUFDWixRQUFRLEVBQUUsRUFBRTtRQUNaLElBQUksRUFBRSxDQUFDO1FBQ1AsUUFBUSxFQUFFLENBQUM7UUFDWCxXQUFXLEVBQUUsRUFBRTtLQUNoQjtJQUtELE1BQU0sRUFBRSxVQUFTLE9BQU87UUFBaEIsaUJBMkJQO1FBMUJDLE9BQU8sQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLENBQUM7UUFDYixJQUFBLHVCQUFNLEVBQUUsMkJBQVEsQ0FBYT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gICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgIHRvdGFsQW1vdW50OiByZXMuZGF0YS50b3RhbEFtb3VudC5tYXAoaXRlbSA9PiAoe1xuICAgICAgICAgIC4uLml0ZW0sXG4gICAgICAgICAgdHlwZTpcbiAgICAgICAgICAgIGl0ZW0ua2V5ID09PSAn6aWu5rC0J1xuICAgICAgICAgICAgICA/IDJcbiAgICAgICAgICAgICAgOiBpdGVtLmtleSA9PT0gJ+WQuemjjidcbiAgICAgICAgICAgICAgPyAzXG4gICAgICAgICAgICAgIDogaXRlbS5rZXkgPT09ICfmtJfmtbQnXG4gICAgICAgICAgICAgID8gNFxuICAgICAgICAgICAgICA6IGl0ZW0ua2V5ID09PSAn5rSX6KGjJ1xuICAgICAgICAgICAgICA/IDVcbiAgICAgICAgICAgICAgOiBpdGVtLmtleSxcbiAgICAgICAgfSkpLFxuICAgICAgfSk7XG4gICAgfSk7XG4gICAgdGhpcy5zZXREYXRhISh7XG4gICAgICBhcmVhSWQsXG4gICAgICBhcmVhTmFtZSxcbiAgICB9KTtcbiAgICAvLyB0aGlzLmZldGNoV2FybmluZ0xldmVsKCk7XG4gIH0sXG4gIGZldGNoV2FybmluZ0xldmVsKCkge1xuICAgIGRldmljZUZldGNoKHtcbiAgICAgIHVybDogJy9kZXZpY2Uvd2FybmluZy9kaWN0L3dhcm5pbmdMZXZlbCcsXG4gICAgfSlcbiAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICB9KTtcbiAgfSxcbiAgY2hhbmdlVHlwZShlKSB7XG4gICAgY29uc3QgeyB0eXBlIH0gPSBlLmN1cnJlbnRUYXJnZXQuZGF0YXNldDtcbiAgICBjb25zb2xlLmxvZyh0eXBlKTtcbiAgICBpZiAodHlwZSA9PT0gdGhpcy5kYXRhLnR5cGUpIHJldHVybjtcbiAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgIHR5cGU6IHR5cGUsXG4gICAgfSk7XG4gICAgcmV0dXJuIGZhbHNlO1xuICB9LFxuICBjaGFuZ2VUaW1lVHlwZShlKSB7XG4gICAgY29uc3QgeyB0aW1lVHlwZSB9ID0gZS5jdXJyZW50VGFyZ2V0LmRhdGFzZXQ7XG4gICAgY29uc29sZS5sb2codGltZVR5cGUpO1xuICAgIGlmICh0aW1lVHlwZSA9PT0gdGhpcy5kYXRhLnRpbWVUeXBlKSByZXR1cm47XG4gICAgdGhpcy5zZXREYXRhISh7XG4gICAgICB0aW1lVHlwZSxcbiAgICB9KTtcbiAgICByZXR1cm4gZmFsc2U7XG4gIH0sXG4gIGZldGNoRGF0YSgpIHtcbiAgICBzdGF0aXN0aWNzRmV0Y2goe1xuICAgICAgdXJsOiAnL2Jvc3MvZGV2aWNlL29wZXJhdGlvbi9kYXRhL3N1bW1hcnknLFxuICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICBkYXRhOiB7XG4gICAgICAgIGFyZWFJZDogdGhpcy5kYXRhLmFyZWFJZCxcbiAgICAgICAgdGltZVR5cGU6IHRoaXMuZGF0YS50aW1lVHlwZSxcbiAgICAgIH0sXG4gICAgfSlcbiAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICB9KTtcbiAgfSxcbn0pO1xuIl19
\ No newline at end of file
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXF1aXBtZW50UmVwb3J0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZXF1aXBtZW50UmVwb3J0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3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FxuICB9LFxuXG4gIC8qKlxuICAgKiDnlJ/lkb3lkajmnJ/lh73mlbAtLeebkeWQrOmhtemdouWKoOi9vVxuICAgKi9cbiAgb25Mb2FkOiBmdW5jdGlvbihvcHRpb25zKSB7XG4gICAgY29uc29sZS5sb2cob3B0aW9ucyk7XG4gICAgY29uc3QgeyBhcmVhSWQsIGFyZWFOYW1lIH0gPSBvcHRpb25zO1xuICAgIGNvbnN0IGV2ZW50Q2hhbm5lbCA9IHRoaXMuZ2V0T3BlbmVyRXZlbnRDaGFubmVsKCk7XG4gICAgZXZlbnRDaGFubmVsLm9uKCdhY2NlcHREYXRhRnJvbU9wZW5lclBhZ2UnLCByZXMgPT4ge1xuICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgIHRvdGFsQW1vdW50OiByZXMuZGF0YS50b3RhbEFtb3VudC5tYXAoaXRlbSA9PiAoe1xuICAgICAgICAgIC4uLml0ZW0sXG4gICAgICAgICAgdHlwZTpcbiAgICAgICAgICAgIGl0ZW0ua2V5ID09PSAn5rSX6KGjJ1xuICAgICAgICAgICAgICA/IDJcbiAgICAgICAgICAgICAgOiBpdGVtLmtleSA9PT0gJ+mlruawtCdcbiAgICAgICAgICAgICAgPyAzXG4gICAgICAgICAgICAgIDogaXRlbS5rZXkgPT09ICflkLnpo44nXG4gICAgICAgICAgICAgID8gNFxuICAgICAgICAgICAgICA6IGl0ZW0ua2V5ID09PSAn5rSX5rW0J1xuICAgICAgICAgICAgICA/IDVcbiAgICAgICAgICAgICAgOiBpdGVtLmtleSxcbiAgICAgICAgfSkpLFxuICAgICAgfSk7XG4gICAgfSk7XG4gICAgdGhpcy5zZXREYXRhISh7XG4gICAgICBhcmVhSWQsXG4gICAgICBhcmVhTmFtZSxcbiAgICB9KTtcbiAgICAvLyB0aGlzLmZldGNoV2FybmluZ0xldmVsKCk7XG4gIH0sXG4gIGZldGNoV2FybmluZ0xldmVsKCkge1xuICAgI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wZSxcbiAgICAgIH0sXG4gICAgfSlcbiAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICB9KTtcbiAgfSxcbn0pO1xuIl19
\ No newline at end of file
......@@ -26,13 +26,13 @@ Page({
totalAmount: res.data.totalAmount.map(item => ({
...item,
type:
item.key === '饮水'
item.key === '洗衣'
? 2
: item.key === '吹风'
: item.key === '饮水'
? 3
: item.key === '洗浴'
: item.key === '吹风'
? 4
: item.key === '洗'
: item.key === '洗'
? 5
: item.key,
})),
......
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