Commit bfeaf292 by 何炳良

Merge branch 'test' into 'master'

Test See merge request !2
parents ff9c595b 5f7e31ae
"use strict"; "use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) { var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) { for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i]; s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p]; t[p] = s[p];
} }
return t; return t;
};
return __assign.apply(this, arguments);
}; };
var __rest = (this && this.__rest) || function (s, e) { var __rest = (this && this.__rest) || function (s, e) {
var t = {}; var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p]; t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0) for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]]; t[p[i]] = s[p[i]];
}
return t; return t;
}; };
Object.defineProperty(exports, "__esModule", { value: true }); exports.__esModule = true;
exports.deviceFetch = exports.operatorFetch = exports.baseFetch = exports.customerFetch = exports.statisticsFetch = exports.systemFetch = void 0;
var constants_1 = require("../config/constants"); var constants_1 = require("../config/constants");
var app = getApp(); var app = getApp();
var fetch = function (req) { var fetch = function (req) {
return new Promise(function (resolve, reject) { return new Promise(function (resolve, reject) {
var token = app.globalData.token; var token = app.globalData.token;
wx.request(__assign({}, req, { header: token wx.request(__assign(__assign({}, req), { header: token
? __assign({ token: token }, req.header) : req.header, success: resolve, fail: reject })); ? __assign({ token: token }, req.header) : req.header, success: resolve, fail: reject }));
}).then(function (res) { }).then(function (res) {
var _a = res.data, code = _a.code, otherkeys = __rest(_a, ["code"]); var _a = res.data, code = _a.code, otherkeys = __rest(_a, ["code"]);
...@@ -31,43 +37,48 @@ var fetch = function (req) { ...@@ -31,43 +37,48 @@ var fetch = function (req) {
if (res.header['Set-Cookie']) if (res.header['Set-Cookie'])
return { return {
header: res.header, header: res.header,
data: otherkeys, data: otherkeys
}; };
return otherkeys; return otherkeys;
} }
else if (code === constants_1.logoutode) { else if (code === constants_1.logoutode) {
app.resetUserinfo(); app.resetUserinfo();
wx.reLaunch({ wx.reLaunch({
url: '/pages/index/index', url: '/pages/index/index'
}); });
throw { throw {
errMsg: res.data.msg || '网络异常', errMsg: res.data.msg || '网络异常'
}; };
} }
else { else {
throw { throw {
errMsg: res.data.msg || '网络异常', errMsg: res.data.msg || '网络异常'
}; };
} }
}); });
}; };
exports.systemFetch = function (req) { var systemFetch = function (req) {
return fetch(__assign({}, req, { url: constants_1.masterUrl.SYSTEM_SERVER_URL + req.url })); return fetch(__assign(__assign({}, req), { url: constants_1.masterUrl.SYSTEM_SERVER_URL + req.url }));
}; };
exports.statisticsFetch = function (req) { exports.systemFetch = systemFetch;
return fetch(__assign({}, req, { url: constants_1.masterUrl.STATISTICS_SERVER_URL + req.url })); var statisticsFetch = function (req) {
return fetch(__assign(__assign({}, req), { url: constants_1.masterUrl.STATISTICS_SERVER_URL + req.url }));
}; };
exports.customerFetch = function (req) { exports.statisticsFetch = statisticsFetch;
return fetch(__assign({}, req, { url: constants_1.masterUrl.CUSTOMER_SERVER_URL + req.url })); var customerFetch = function (req) {
return fetch(__assign(__assign({}, req), { url: constants_1.masterUrl.CUSTOMER_SERVER_URL + req.url }));
}; };
exports.baseFetch = function (req) { exports.customerFetch = customerFetch;
return fetch(__assign({}, req, { url: constants_1.masterUrl.BASE_SERVER_URL + req.url })); var baseFetch = function (req) {
return fetch(__assign(__assign({}, req), { url: constants_1.masterUrl.BASE_SERVER_URL + req.url }));
}; };
exports.operatorFetch = function (req) { exports.baseFetch = baseFetch;
return fetch(__assign({}, req, { url: constants_1.masterUrl.OPERATOR_SERVER_URL + req.url })); var operatorFetch = function (req) {
return fetch(__assign(__assign({}, req), { url: constants_1.masterUrl.OPERATOR_SERVER_URL + req.url }));
}; };
exports.deviceFetch = function (req) { exports.operatorFetch = operatorFetch;
return fetch(__assign({}, req, { url: constants_1.masterUrl.DEVICE_SERVEL_URL + req.url })); var deviceFetch = function (req) {
return fetch(__assign(__assign({}, req), { url: constants_1.masterUrl.DEVICE_SERVEL_URL + req.url }));
}; };
exports.default = fetch; exports.deviceFetch = deviceFetch;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmV0Y2guanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJmZXRjaC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsaURBQXdFO0FBRXhFLElBQU0sR0FBRyxHQUFHLE1BQU0sRUFBVSxDQUFDO0FBRTdCLElBQU0sS0FBSyxHQUFHLFVBQUMsR0FBcUI7SUFDbEMsT0FBQSxJQUFJLE9BQU8sQ0FBQyxVQUFDLE9BQU8sRUFBRSxNQUFNO1FBQzFCLElBQU0sS0FBSyxHQUFHLEdBQUcsQ0FBQyxVQUFVLENBQUMsS0FBSyxDQUFDO1FBQ25DLEVBQUUsQ0FBQyxPQUFPLGNBQ0wsR0FBRyxJQUNOLE1BQU0sRUFBRSxLQUFLO2dCQUNYLENBQUMsWUFDRyxLQUFLLE9BQUEsSUFDRixHQUFHLENBQUMsTUFBTSxFQUVqQixDQUFDLENBQUMsR0FBRyxDQUFDLE1BQU0sRUFFZCxPQUFPLEVBQUUsT0FBTyxFQUNoQixJQUFJLEVBQUUsTUFBTSxJQUNaLENBQUM7SUFDTCxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMs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wuT1BFUkFUT1JfU0VSVkVSX1VSTCArIHJlcS51cmwgfSk7XG5leHBvcnQgY29uc3QgZGV2aWNlRmV0Y2ggPSAocmVxOiB3eC5SZXF1ZXN0T3B0aW9uKSA9PlxuICBmZXRjaCh7IC4uLnJlcSwgdXJsOiBtYXN0ZXJVcmwuREVWSUNFX1NFUlZFTF9VUkwgKyByZXEudXJsIH0pO1xuZXhwb3J0IGRlZmF1bHQgZmV0Y2g7XG4iXX0= exports["default"] = fetch;
\ No newline at end of file
import { successCode, logoutode, masterUrl } from '../config/constants'; import { masterUrl, successCode, logoutode } from '../config/constants';
import { IMyApp } from '../app'; import { IMyApp } from '../app';
const app = getApp<IMyApp>(); const app = getApp<IMyApp>();
......
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); exports.__esModule = true;
var initUserinfo = function () { return ({ var initUserinfo = function () { return ({
cellphone: '', cellphone: '',
comment: '', comment: '',
...@@ -14,7 +14,7 @@ var initUserinfo = function () { return ({ ...@@ -14,7 +14,7 @@ var initUserinfo = function () { return ({
operateId: 0, operateId: 0,
operateName: '', operateName: '',
state: '', state: '',
updateAt: '', updateAt: ''
}); }; }); };
App({ App({
onLaunch: function () { onLaunch: function () {
...@@ -30,7 +30,7 @@ App({ ...@@ -30,7 +30,7 @@ App({
globalData: { globalData: {
userInfo: initUserinfo(), userInfo: initUserinfo(),
token: '', token: '',
userRoles: [], userRoles: []
}, },
getToken: function () { getToken: function () {
return this.globalData.token; return this.globalData.token;
...@@ -43,6 +43,5 @@ App({ ...@@ -43,6 +43,5 @@ App({
wx.setStorageSync('token', ''); wx.setStorageSync('token', '');
} }
catch (error) { } catch (error) { }
}, }
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXBwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBYUEsSUFBTSxZQUFZLEd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G4gIG9wZXJhdGVOYW1lOiAnJyxcbiAgc3RhdGU6ICcnLFxuICB1cGRhdGVBdDogJycsXG59KTtcbkFwcDxJTXlBcHA+KHtcbiAgb25MYXVuY2goKSB7XG4gICAgY29uc29sZS5sb2coJ2luIG9uTGF1bmNoJyk7XG4gICAgdHJ5IHtcbiAgICAgIGxldCB0b2tlbiA9IHd4LmdldFN0b3JhZ2VTeW5jKCd0b2tlbicpO1xuICAgICAgaWYgKHRva2VuKSB7XG4gICAgICAgIHRoaXMuZ2xvYmFsRGF0YS50b2tlbiA9IHRva2VuO1xuICAgICAgfVxuICAgIH0gY2F0Y2ggKGVycm9yKSB7fVxuICB9LFxuICBnbG9iYWxEYXRhOiB7XG4gICAgdXNlckluZm86IGluaXRVc2VyaW5mbygpLFxuICAgIHRva2VuOiAnJyxcbiAgICB1c2VyUm9sZXM6IFtdLFxuICB9LFxuICBnZXRUb2tlbigpIHtcbiAgICByZXR1cm4gdGhpcy5nbG9iYWxEYXRhLnRva2VuO1xuICB9LFxuICByZXNldFVzZXJpbmZvKCkge1xuICAgIHRoaXMuZ2xvYmFsRGF0YS50b2tlbiA9ICcnO1xuICAgIHRoaXMuZ2xvYmFsRGF0YS51c2VySW5mbyA9IGluaXRVc2VyaW5mbygpO1xuICAgIHRoaXMuZ2xvYmFsRGF0YS51c2VyUm9sZXMgPSBbXTtcbiAgICB0cnkge1xuICAgICAgd3guc2V0U3RvcmFnZVN5bmMoJ3Rva2VuJywgJycpO1xuICAgIH0gY2F0Y2ggKGVycm9yKSB7fVxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
"pages/platformFeeRecord/platformFeeRecord", "pages/platformFeeRecord/platformFeeRecord",
"pages/equipment/equipment", "pages/equipment/equipment",
"pages/equipmentReport/equipmentReport", "pages/equipmentReport/equipmentReport",
"pages/feedbackDetail/feedbackDetail" "pages/feedbackDetail/feedbackDetail",
"pages/recharge/recharge",
"pages/deviceDetail/deviceDetail"
], ],
"window": { "window": {
"backgroundTextStyle": "light", "backgroundTextStyle": "light",
......
var subData = function(str){
if(str){
return str.substring(0,16)
}else{
return ''
}
}
module.exports={
subStr:subData
}
\ No newline at end of file
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); exports.__esModule = true;
exports.logoutode = exports.successCode = exports.masterUrl = exports.testUrl = exports.devUrl = void 0;
exports.devUrl = { exports.devUrl = {
SYSTEM_SERVER_URL: 'https://ex-dev-dcxy-system-manage.168cad.top', SYSTEM_SERVER_URL: 'https://ex-dev-dcxy-system-manage.168cad.top',
STATISTICS_SERVER_URL: 'https://ex-dev-dcxy-statistics-manage.168cad.top', STATISTICS_SERVER_URL: 'https://ex-dev-dcxy-statistics-manage.168cad.top',
CUSTOMER_SERVER_URL: 'https://ex-dev-customer-manage.168cad.top', CUSTOMER_SERVER_URL: 'https://ex-dev-customer-manage.168cad.top',
BASE_SERVER_URL: 'https://ex-dev-dcxy-base-manage.168cad.top', BASE_SERVER_URL: 'https://ex-dev-dcxy-base-manage.168cad.top',
OPERATOR_SERVER_URL: 'https://dev-op-man-serv.168cad.top', OPERATOR_SERVER_URL: 'https://dev-op-man-serv.168cad.top',
DEVICE_SERVEL_URL: 'https://in-dev-device-management-api.168cad.top', DEVICE_SERVEL_URL: 'https://in-dev-device-management-api.168cad.top'
}; };
exports.testUrl = { exports.testUrl = {
SYSTEM_SERVER_URL: 'https://ex-test-dcxy-system-manage.168cad.top', SYSTEM_SERVER_URL: 'https://ex-test-dcxy-system-manage.168cad.top',
...@@ -14,7 +15,7 @@ exports.testUrl = { ...@@ -14,7 +15,7 @@ exports.testUrl = {
CUSTOMER_SERVER_URL: 'https://ex-test-customer-manage.168cad.top', CUSTOMER_SERVER_URL: 'https://ex-test-customer-manage.168cad.top',
BASE_SERVER_URL: 'https://ex-test-dcxy-base-manage.168cad.top', BASE_SERVER_URL: 'https://ex-test-dcxy-base-manage.168cad.top',
OPERATOR_SERVER_URL: 'https://test-op-man-serv.168cad.top', OPERATOR_SERVER_URL: 'https://test-op-man-serv.168cad.top',
DEVICE_SERVEL_URL: 'https://in-test-device-management-api.168cad.top', DEVICE_SERVEL_URL: 'https://in-test-device-management-api.168cad.top'
}; };
exports.masterUrl = { exports.masterUrl = {
SYSTEM_SERVER_URL: 'https://dcxy-system-manage.dcrym.com', SYSTEM_SERVER_URL: 'https://dcxy-system-manage.dcrym.com',
...@@ -22,8 +23,7 @@ exports.masterUrl = { ...@@ -22,8 +23,7 @@ exports.masterUrl = {
CUSTOMER_SERVER_URL: 'https://dcxy-customer-manage.dcrym.com', CUSTOMER_SERVER_URL: 'https://dcxy-customer-manage.dcrym.com',
BASE_SERVER_URL: 'https://dcxy-base-manage.dcrym.com', BASE_SERVER_URL: 'https://dcxy-base-manage.dcrym.com',
OPERATOR_SERVER_URL: 'https://op-man-serv.dcrym.com', OPERATOR_SERVER_URL: 'https://op-man-serv.dcrym.com',
DEVICE_SERVEL_URL: 'https://device-management-api.dcrym.com', DEVICE_SERVEL_URL: 'https://device-management-api.dcrym.com'
}; };
exports.successCode = 1000; exports.successCode = 1000;
exports.logoutode = -2; exports.logoutode = -2;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY29uc3RhbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQWEsUUFBQSxNQUFNLEdBQUc7SUFDcEIsaUJBQWlCLEVBQUUsOENBQThDO0lBQ2pFLHFCQUFxQixFQUFFLGtEQUFrRDtJQUN6RSxtQkFBbUIsRUFBRSwyQ0FBMkM7SUFDaEUsZUFBZSxFQUFFLDRDQUE0QztJQUM3RCxtQkFBbUIsRUFBRSxvQ0FBb0M7SUFDekQsaUJBQWlCLEVBQUUsaURBQWlEO0NBQ3JFLENBQUM7QUFDVyxRQUFBLE9BQU8sR0FBRztJQUNyQixp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U6IEFycmF5LCB2YWx1ZTogW10gfSxcclxuICB9LFxyXG4gIGxpZmV0aW1lczoge1xyXG4gICAgYXR0YWNoZWQ6IGZ1bmN0aW9uICgpIHtcclxuICAgICAgLy8g5Zyo57uE5Lu25a6e5L6L6L+b5YWl6aG16Z2i6IqC54K55qCR5pe25omn6KGMXHJcbiAgICAgIGlmICh0aGlzLmRhdGEucGFnZVBhdGggPT09ICdob21lJykge1xyXG4gICAgICAgIHRoaXMuc2V0RGF0YSh7XHJcbiAgICAgICAgICBpbmRleDogMCxcclxuICAgICAgICB9KTtcclxuICAgICAgfSBlbHNlIGlmICh0aGlzLmRhdGEucGFnZVBhdGggPT09ICdyZXBvcnQnKSB7XHJcbiAgICAgICAgdGhpcy5zZXREYXRhKHtcclxuICAgICAgICAgIGluZGV4OiAxLFxyXG4gICAgICAgIH0pO1xyXG4gICAgICB9XHJcbiAgICB9LFxyXG4gICAgZGV0YWNoZWQ6IGZ1bmN0aW9uICgpIHtcclxuICAgICAgLy8g5Zyo57uE5Lu25a6e5L6L6KKr5LuO6aG16Z2i6IqC54K55qCR56e76Zmk5pe25omn6KGMXHJcbiAgICB9LFxyXG4gIH0sXHJcbiAgLyoqXHJcbiAgICog57uE5Lu255qE5Yid5aeL5pWw5o2uXHJcbiAgICovXHJcbiAgZGF0YToge1xyXG5cclxuICB9LFxyXG5cclxuICAvKipcclxuICAgKiDnu4Tku7bnmoTmlrnms5XliJfooahcclxuICAgKi9cclxuICBtZXRob2RzOiB7XHJcbiAgICBjbGlja0hhbmRsZShlKSB7XHJcbiAgICAgIGxldCB7IHBhdGgsIGluZGV4IH0gPSBlLmN1cnJlbnRUYXJnZXQuZGF0YXNldDtcclxuICAgICAgbGV0IG15RXZlbnREZXRhaWwgPSB7XHJcbiAgICAgICAgcGF0aCwgaW5kZXgsXHJcbiAgICAgIH0gLy8gZGV0YWls5a+56LGh77yM5o+Q5L6b57uZ5LqL5Lu255uR5ZCs5Ye95pWwXHJcbiAgICAgIHRoaXMudHJpZ2dlckV2ZW50KCdjdXN0b21ldmVudCcsIG15RXZlbnREZXRhaWwpXHJcbiAgICB9XHJcbiAgfSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file \ No newline at end of file
{ {
"name": "miniprogram", "name": "miniprogram",
"version": "1.0.0", "version": "1.0.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"resolved": "https://registry.npmjs.org/@antv/adjust/-/adjust-0.1.1.tgz", "resolved": "https://registry.npmjs.org/@antv/adjust/-/adjust-0.1.1.tgz",
"integrity": "sha512-9FaMOyBlM4AgoRL0b5o0VhEKAYkexBNUrxV8XmpHU/9NBPJONBOB/NZUlQDqxtLItrt91tCfbAuMQmF529UX2Q==", "integrity": "sha512-9FaMOyBlM4AgoRL0b5o0VhEKAYkexBNUrxV8XmpHU/9NBPJONBOB/NZUlQDqxtLItrt91tCfbAuMQmF529UX2Q==",
"requires": { "requires": {
"@antv/util": "~1.3.1" "@antv/util": "1.3.1"
}, },
"dependencies": { "dependencies": {
"@antv/util": { "@antv/util": {
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz", "resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz",
"integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==", "integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==",
"requires": { "requires": {
"@antv/gl-matrix": "^2.7.1" "@antv/gl-matrix": "2.7.1"
} }
} }
} }
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"resolved": "https://registry.npmjs.org/@antv/attr/-/attr-0.1.2.tgz", "resolved": "https://registry.npmjs.org/@antv/attr/-/attr-0.1.2.tgz",
"integrity": "sha512-QXjP+T2I+pJQcwZx1oCA4tipG43vgeCeKcGGKahlcxb71OBAzjJZm1QbF4frKXcnOqRkxVXtCr70X9TRair3Ew==", "integrity": "sha512-QXjP+T2I+pJQcwZx1oCA4tipG43vgeCeKcGGKahlcxb71OBAzjJZm1QbF4frKXcnOqRkxVXtCr70X9TRair3Ew==",
"requires": { "requires": {
"@antv/util": "~1.3.1" "@antv/util": "1.3.1"
}, },
"dependencies": { "dependencies": {
"@antv/util": { "@antv/util": {
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz", "resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz",
"integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==", "integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==",
"requires": { "requires": {
"@antv/gl-matrix": "^2.7.1" "@antv/gl-matrix": "2.7.1"
} }
} }
} }
...@@ -45,11 +45,11 @@ ...@@ -45,11 +45,11 @@
"resolved": "https://registry.npmjs.org/@antv/f2/-/f2-3.4.2.tgz", "resolved": "https://registry.npmjs.org/@antv/f2/-/f2-3.4.2.tgz",
"integrity": "sha512-rji4J9GGQIpzXNv8P4qzUFYnodQTtfAN2ApaY6WfxCQTSYy3EycK2CsjiiWNQ3PpNY1lCVf63E5PutwOZhuPwA==", "integrity": "sha512-rji4J9GGQIpzXNv8P4qzUFYnodQTtfAN2ApaY6WfxCQTSYy3EycK2CsjiiWNQ3PpNY1lCVf63E5PutwOZhuPwA==",
"requires": { "requires": {
"@antv/adjust": "~0.1.1", "@antv/adjust": "0.1.1",
"@antv/attr": "~0.1.0", "@antv/attr": "0.1.2",
"@antv/scale": "~0.1.2", "@antv/scale": "0.1.3",
"@antv/util": "~1.2.5", "@antv/util": "1.2.5",
"hammerjs": "^2.0.8" "hammerjs": "2.0.8"
} }
}, },
"@antv/f2-canvas": { "@antv/f2-canvas": {
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
"resolved": "https://registry.npmjs.org/@antv/f2-canvas/-/f2-canvas-1.0.5.tgz", "resolved": "https://registry.npmjs.org/@antv/f2-canvas/-/f2-canvas-1.0.5.tgz",
"integrity": "sha512-iE4u1kAcxGaluu1CA6F5R0/dfsCMhubEfOKvR6zRwGC9S9bCil0y6JNCsIkyPZGCQYkAtsg3WDlcu2yneyqUuw==", "integrity": "sha512-iE4u1kAcxGaluu1CA6F5R0/dfsCMhubEfOKvR6zRwGC9S9bCil0y6JNCsIkyPZGCQYkAtsg3WDlcu2yneyqUuw==",
"requires": { "requires": {
"@antv/wx-f2": "^1.1.4" "@antv/wx-f2": "1.1.4"
} }
}, },
"@antv/gl-matrix": { "@antv/gl-matrix": {
...@@ -70,8 +70,8 @@ ...@@ -70,8 +70,8 @@
"resolved": "https://registry.npmjs.org/@antv/scale/-/scale-0.1.3.tgz", "resolved": "https://registry.npmjs.org/@antv/scale/-/scale-0.1.3.tgz",
"integrity": "sha512-oknlOg4OUqIh8LygrfQttx+OAnNJm2fQ81si4g8aby1WJJwj/TU1gCr+J3loIpKBtBK4VpP/OzTTqg1Ym67SOQ==", "integrity": "sha512-oknlOg4OUqIh8LygrfQttx+OAnNJm2fQ81si4g8aby1WJJwj/TU1gCr+J3loIpKBtBK4VpP/OzTTqg1Ym67SOQ==",
"requires": { "requires": {
"@antv/util": "~1.3.1", "@antv/util": "1.3.1",
"fecha": "~2.3.3" "fecha": "2.3.3"
}, },
"dependencies": { "dependencies": {
"@antv/util": { "@antv/util": {
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz", "resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz",
"integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==", "integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==",
"requires": { "requires": {
"@antv/gl-matrix": "^2.7.1" "@antv/gl-matrix": "2.7.1"
} }
} }
} }
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.2.5.tgz", "resolved": "https://registry.npmjs.org/@antv/util/-/util-1.2.5.tgz",
"integrity": "sha512-yz1AjXSEjNu9O5kK9pqKq69f/Iliu/IA3XXljUcfrlbUtmUJ0CH1tB5I60vPqfaKaUPhz+/35K+56yqaCsGmqA==", "integrity": "sha512-yz1AjXSEjNu9O5kK9pqKq69f/Iliu/IA3XXljUcfrlbUtmUJ0CH1tB5I60vPqfaKaUPhz+/35K+56yqaCsGmqA==",
"requires": { "requires": {
"@antv/gl-matrix": "^2.7.1" "@antv/gl-matrix": "2.7.1"
} }
}, },
"@antv/wx-f2": { "@antv/wx-f2": {
...@@ -97,8 +97,8 @@ ...@@ -97,8 +97,8 @@
"resolved": "https://registry.npmjs.org/@antv/wx-f2/-/wx-f2-1.1.4.tgz", "resolved": "https://registry.npmjs.org/@antv/wx-f2/-/wx-f2-1.1.4.tgz",
"integrity": "sha512-XaMUwS16ONcpHIEK4yv6wOIxrwSqzhLx4di2kmumQI8xi5vZK1bslJCtjSaxbNS99febpZkZqgwgAmXOOrMYmA==", "integrity": "sha512-XaMUwS16ONcpHIEK4yv6wOIxrwSqzhLx4di2kmumQI8xi5vZK1bslJCtjSaxbNS99febpZkZqgwgAmXOOrMYmA==",
"requires": { "requires": {
"@antv/f2": "^3.3.3", "@antv/f2": "3.4.2",
"wolfy87-eventemitter": "^5.2.4" "wolfy87-eventemitter": "5.2.8"
} }
}, },
"blueimp-md5": { "blueimp-md5": {
......
...@@ -10,6 +10,6 @@ ...@@ -10,6 +10,6 @@
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@antv/f2-canvas": "^1.0.5", "@antv/f2-canvas": "^1.0.5",
"blueimp-md5": "^2.12.0" "blueimp-md5": "^2.19.0"
} }
} }
...@@ -123,4 +123,4 @@ Page({ ...@@ -123,4 +123,4 @@ Page({
wx.navigateBack({ delta: 1 }); wx.navigateBack({ delta: 1 });
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJlYVNlbGVjdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImFyZWFTZWxlY3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx5Q0FBNEM7QUFDNUMseUNBQXlDO0FBR3pDLElBQUksQ0FBQztJQUlILElBQUksRUFBRTtRQUNKLFFBQVEsRUFBRSxFQUFFO1FBQ1osYUFBYSxFQUFFLEVBQUU7UUFDakIsUUFBUSxFQUFFLEVBQUU7UUFDWixVQUFVLEVBQUUsRUFBRTtRQUNkLFVBQVUsRUFBRSxFQUFFO1FBQ2QsVUFBVSxFQUFFLEVBQUU7S0FDZjtJQUtELE1BQU0sRUFBRSxVQUFTLE9BQU87UUFDdEIsT0FBTyxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsQ0FBQztRQUNiLElBQUEsK0JBQVUsRUFBRSxxQkFBSyxDQUFhO1FBQ3RDLElBQUksQ0FBQyxhQUFhLEVBQUUsQ0FBQztRQUNyQixJQUFJLENBQUMsT0FBUSxDQUFDO1lBQ1osVUFBVSxZQUFBO1lBQ1YsUUFBUSxFQUFFLEtBQUs7U0FDaEIsQ0FBQyxDQUFDO0lBQ0wsQ0FBQztJQUlELE1BQU0sRUFBRSxjQUFZLENBQUM7SUFDckIs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xuICAgICAgdXJsOiAnL2RjeHkvYmFzZUFyZWEvcXVlcnlBbGwnLFxuICAgIH0pXG4gICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICBpZiAocmVzLmRhdGEpIHtcbiAgICAgICAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgICAgICAgIGFyZWFMaXN0OiByZXMuZGF0YSxcbiAgICAgICAgICAgIGZpbHRlckxpc3Q6IHJlcy5kYXRhLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIGlmICh0aGlzLmRhdGEuc2VsZWN0ZWQpIHtcbiAgICAgICAgICAgIGxldCBpbmRleCA9IHJlcy5kYXRhLmZpbmRJbmRleChcbiAgICAgICAgICAgICAgaXRlbSA9PiBpdGVtLmlkID09IHRoaXMuZGF0YS5zZWxlY3RlZCxcbiAgICAgICAgICAgICk7XG4gICAgICAgICAgICBjb25zb2xlLmxvZyh0aGlzLmRhdGEuc2VsZWN0ZWQsIGluZGV4KTtcbiAgICAgICAgICAgIGlmIChpbmRleCA+IC0xKSB7XG4gICAgICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICAgICAgc2VsZWN0ZWRJbmRleDogaW5kZXgsXG4gICAgICAgICAgICAgICAgaW5wdXRWYWx1ZTogcmVzLmRhdGFbaW5kZXhdLmFyZWFOYW1lLFxuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgdGhpcy5zZXREYXRhISh7XG4gICAgICAgICAgICBhcmVhTGlzdDogW10sXG4gICAgICAgICAgICBmaWx0ZXJMaXN0OiBbXSxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgICAgfSlcbiAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgfSk7XG4gIH0sXG4gIGlucHV0SGFuZGxlKGUpIHtcbiAgICBjb25zdCB7IHZhbHVlIH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ogJycsIG5hbWU6ICcnIH07XHJcbiAgICB9XHJcbiAgICBpZiAodGhpcy5kYXRhLm1ldGhvZE5hbWUgJiYgcHJldlBhZ2VbdGhpcy5kYXRhLm1ldGhvZE5hbWVdKSB7XHJcbiAgICAgIHByZXZQYWdlW3RoaXMuZGF0YS5tZXRob2ROYW1lXShlbnRpdHkpO1xyXG4gICAgfVxyXG4gICAgd3gubmF2aWdhdGVCYWNrKHsgZGVsdGE6IDEgfSk7XHJcbiAgfSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file \ No newline at end of file
...@@ -133,4 +133,4 @@ Component({ ...@@ -133,4 +133,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXJlYVNlbGVjdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIkFyZWFTZWxlY3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw0Q0FBNEM7QUFHNUMsU0FBUyxDQUFDO0lBQ1IsVUFBVSxFQUFFO1FBQ1YsV0FBVyxFQUFFO1lBQ1gsSUFBSSxFQUFFLE1BQU07WUFDWixLQUFLLEVBQUUsS0FBSztTQUNiO1FBQ0QsS0FBSyxFQUFFO1lBQ0wsSUFBSSxFQUFFLEtBQUs7WUFDWCxLQUFLLEVBQUUsRUFBRTtZQUNULFFBQVEsWUFBQyxNQUFNO2dCQUNiLElBQUksQ0FBQyxPQUFPLENBQUMsRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLENBQUMsQ0FBQztZQUN2QyxDQUFDO1NBQ0Y7UUFDRCxRQUFRLEVBQUU7WUFDUixJQUFJLEVBQUUsTUFBTTtZQUNaLEtBQUssRUFBRSxLQUFLO1NBQ2I7UUFDRCxLQUFLLEVBQUU7WUFDTCxJQUFJLEVBQUUsTUFBTTtZQUNaLEtBQUssRUFBRSxFQUFFO1lBQ1QsUUFBUSxZQUFDLE1BQU07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AgIH0gZWxzZSB7XHJcbiAgICAgICAgbGV0IGlucHV0VmFsdWUgPSAnJztcclxuICAgICAgICBpZiAodGhpcy5kYXRhLnNlbGVjdGVkSW5kZXggfHwgdGhpcy5kYXRhLnNlbGVjdGVkSW5kZXggPT09IDApIHtcclxuICAgICAgICAgIGlucHV0VmFsdWUgPSB0aGlzLmRhdGEucmFuZ2VbdGhpcy5kYXRhLnNlbGVjdGVkSW5kZXhdLmFyZWFOYW1lO1xyXG4gICAgICAgIH1cclxuICAgICAgICBjb25zb2xlLmxvZyhpbnB1dFZhbHVlKTtcclxuICAgICAgICB0aGlzLnNldERhdGEhKHtcclxuICAgICAgICAgIHNob3dQaWNrZXJWaWV3OiAhdGhpcy5kYXRhLnNob3dQaWNrZXJWaWV3LFxyXG4gICAgICAgICAgaW5wdXRWYWx1ZSxcclxuICAgICAgICB9KTtcclxuICAgICAgfVxyXG4gICAgfSxcclxuICAgIGNsZWFySW5wdXRWYWx1ZSgpIHtcclxuICAgICAgY29uc29sZS5sb2coJ2luIGNsZWFySW5wdXRWYWx1ZScpO1xyXG4gICAgICB0aGlzLnNldERhdGEhKHtcclxuICAgICAgICBpbnB1dFZhbHVlOiAnJyxcclxuICAgICAgICBzZWxlY3RlZDogJycsXHJcbiAgICAgICAgc2VsZWN0ZWRJbmRleDogJycsXHJcbiAgICAgIH0pO1xyXG4gICAgfSxcclxuICAgIGlubmVyQ2xpY2tIYW5kbGUoZSkge1xyXG4gICAgICByZXR1cm4gZmFsc2U7XHJcbiAgICB9LFxyXG4gICAgbWFza0NsaWNrSGFuZGxlKGUpIHtcclxuICAgICAgdGhpcy5zZXREYXRhKHtcclxuICAgICAgICBzaG93UGlja2VyVmlldzogZmFsc2UsXHJcbiAgICAgIH0pO1xyXG4gICAgICByZXR1cm4gZmFsc2U7XHJcbiAgICB9LFxyXG4gICAgaW5wdXRIYW5kbGUoZSkge1xyXG4gICAgICBjb25zdCB7IHZhbHVlIH0gPSBlLmRldGFpbDtcclxuICAg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ICAgIH0sXHJcbiAgICBzZWxlY3RlZEhhbmRsZShlKSB7XHJcbiAgICAgIGNvbnN0IHsgdmFsdWUgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xyXG4gICAgICBjb25zb2xlLmxvZyhlLCB2YWx1ZSk7XHJcbiAgICAgIC8vIGlmICh0aGlzLmRhdGEuc2VsZWN0ZWRJbmRleCA9PT0gdmFsdWUpIHtcclxuICAgICAgLy8gICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAvLyAgICAgc2VsZWN0ZWQ6ICcnLFxyXG4gICAgICAvLyAgICAgc2VsZWN0ZWRJbmRleDogJycsXHJcbiAgICAgIC8vICAgfSk7XHJcbiAgICAgIC8vIH0gZWxzZSB7XHJcbiAgICAgIC8vICAgdGhpcy5zZXREYXRhKHtcclxuICAgICAgLy8gICAgIHNlbGVjdGVkOiB0aGlzLmRhdGEuZmlsdGVyTGlzdFt2YWx1ZV0uaWQsXHJcbiAgICAgIC8vICAgICBzZWxlY3RlZEluZGV4OiB2YWx1ZSxcclxuICAgICAgLy8gICB9KTtcclxuICAgICAgLy8gfVxyXG4gICAgICBsZXQgdmFsdWVJZCA9IHRoaXMuZGF0YS5maWx0ZXJMaXN0W3ZhbHVlXS5pZDtcclxuICAgICAgdGhpcy5zZXREYXRhISh7XHJcbiAgICAgICAgc2hvd1BpY2tlclZpZXc6IGZhbHNlLFxyXG4gICAgICAgIHNlbGVjdGVkOiB0aGlzLmRhdGEuZmlsdGVyTGlzdFt2YWx1ZV0uaWQsXHJcbiAgICAgICAgc2VsZWN0ZWRJbmRleDogdmFsdWUsXHJcbiAgICAgIH0pO1xyXG4gICAgICB0aGlzLnRyaWdnZXJFdmVudCgnY2hhbmdlJywgeyB2YWx1ZTogdmFsdWVJZCB9LCB7fSk7XHJcbiAgICB9LFxyXG4gIH0sXHJcbn0pO1xyXG4iXX0=
\ No newline at end of file \ No newline at end of file
...@@ -69,4 +69,4 @@ Component({ ...@@ -69,4 +69,4 @@ Component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XG4gICAgfSxcbiAgfSk7XG4gIGNvbnN1bWVDaGFydFxuICAgIC5saW5lKClcbiAgICAucG9zaXRpb24oJ2RheXMqcGF5YWJsZU1vbmV5JylcbiAgICAuY29sb3IoJyM2ZWRiOGYnKVxuICAgIC5zaGFwZSgnc21vb3RoJylcbiAgICAuc2l6ZSg0KTtcbiAgY29uc3VtZUNoYXJ0XG4gICAgLmFyZWEoKVxuICAgIC5wb3NpdGlvbignZGF5cypwYXlhYmxlTW9uZXknKVxuICAgIC5jb2xvcignbCg5MCkgMDojNmVkYjhmIDE6I2ZmZicpXG4gICAgLnNoYXBlKCdzbW9vdGgnKVxuICAgIC5zdHlsZSh7XG4gICAgICBmaWxsT3BhY2l0eTogMC42LFxuICAgIH0pO1xuICAvLyBjb25zdW1lQ2hhcnQuYXhpcygncGF5YWJsZU1vbmV5JywgZmFsc2UpO1xuICBjb25zdW1lQ2hhcnQucmVuZGVyKCk7XG4gIHJldHVybiBjb25zdW1lQ2hhcnQ7XG59XG5cbkNvbXBvbmVudCh7XG4gIHByb3BlcnRpZXM6IHtcbiAgICBkYXRhTGlzdDoge1xuICAgICAgdHlwZTogQXJyYXksXG4gICAgICB2YWx1ZTogW10sXG4gICAgICBvYnNlcnZlcihuZXdWYWwpIHtcbiAgICAgICAgY29uc3VtZUNoYXJ0ICYmIGNvbnN1bWVDaGFydC5jaGFuZ2VEYXRhKG5ld1ZhbCk7XG4gICAgICB9LFxuICAgIH0sXG4gICAgbW9udGg6IHtcbiAgICAgIHR5cGU6IFN0cmluZyxcbiAgICAgIHZhbHVlOiAnJyxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICBtb250aCA9IG5ld1ZhbDtcbiAgICAgIH0sXG4gICAgfSxcbiAgfSxcbiAgZGF0YToge1xuICAgIG9wdHM6IHtcbiAgICAgIG9uSW5pdDogaW5pdENoYXJ0LFxuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ== //# sourceMappingURL=data:application/json;base64,eyJ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LFxyXG4gIH0sXHJcbiAgZGF0YToge1xyXG4gICAgb3B0czoge1xyXG4gICAgICBvbkluaXQ6IGluaXRDaGFydCxcclxuICAgIH0sXHJcbiAgfSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file \ No newline at end of file
...@@ -69,4 +69,4 @@ Component({ ...@@ -69,4 +69,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29uc3VtZUNvdW50Q2hhcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJDb25zdW1lQ291bnRDaGFydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0EsSUFBSSxpQkFBaUIsR0FBRyxJQUFJLENBQUM7QUFDN0IsSUFBSSxLQUFLLEdBQUcsRUFBRSxDQUFDO0FBRWYsbUJBQW1CLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLEVBQUU7SUFDMUMsSUFBTSxJQUFJLEdBQUcsRUFBRSxDQUFDO0lBQ2hCLGlCQUFpQixHQUFHLElBQUksRUFBRSxDQUFDLEtBQUssQ0FBQztRQUMvQixFQUFFLEVBQUUsTUFBTTtRQUNWLEtBQUssT0FBQTtRQUNMLE1BQU0sUUFBQTtLQUNQLENBQUMsQ0FBQztJQUVILGlCQUFpQixDQUFDLE1BQU0sQ0FBQyxJQUFJLEVBQUU7UUFDN0IsSUFBSSxFQUFFO1lBQ0osR0FBRyxFQUFFLENBQUM7WUFDTixHQUFHLEVBQUUsRUFBRTtTQUNSO0tBQ0YsQ0FBQyxDQUFDO0lBQ0gsaUJBQWlCLENBQUMsT0FBTyxDQUFDO1FBQ3hCLGNBQWMsRUFBRSxLQUFLO1FBQ3JCLFVBQVUsRUFBRTtZQUNWLE1BQU0sRUFBRSxDQUFDO1lBQ1QsSUFBSSxFQUFFLFNBQVM7WUFDZixPQUFPLEVBQUUsQ0FBQyxDQUFDLEVBQUUsRUFB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xuICByZXR1cm4gY29uc3VtZUNvdW50Q2hhcnQ7XHJcbn1cclxuXHJcbkNvbXBvbmVudCh7XHJcbiAgcHJvcGVydGllczoge1xyXG4gICAgZGF0YUxpc3Q6IHtcclxuICAgICAgdHlwZTogQXJyYXksXHJcbiAgICAgIHZhbHVlOiBbXSxcclxuICAgICAgb2JzZXJ2ZXIobmV3VmFsKSB7XHJcbiAgICAgICAgY29uc3VtZUNvdW50Q2hhcnQgJiYgY29uc3VtZUNvdW50Q2hhcnQuY2hhbmdlRGF0YShuZXdWYWwpO1xyXG4gICAgICB9LFxyXG4gICAgfSxcclxuICAgIG1vbnRoOiB7XHJcbiAgICAgIHR5cGU6IFN0cmluZyxcclxuICAgICAgdmFsdWU6ICcnLFxyXG4gICAgICBvYnNlcnZlcihuZXdWYWwpIHtcclxuICAgICAgICBtb250aCA9IG5ld1ZhbDtcclxuICAgICAgfSxcclxuICAgIH0sXHJcbiAgfSxcclxuICBkYXRhOiB7XHJcbiAgICBvcHRzOiB7XHJcbiAgICAgIG9uSW5pdDogaW5pdENoYXJ0LFxyXG4gICAgfSxcclxuICB9LFxyXG59KTtcclxuIl19
\ No newline at end of file \ No newline at end of file
"use strict"; "use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) { var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) { for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i]; s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p]; t[p] = s[p];
} }
return t; return t;
};
return __assign.apply(this, arguments);
}; };
Component({ Component({
properties: { properties: {
...@@ -18,7 +21,7 @@ Component({ ...@@ -18,7 +21,7 @@ Component({
value: [], value: [],
observer: function (newVal) { observer: function (newVal) {
var maxnum = Math.ceil(Math.max.apply(Math, newVal.map(function (item) { return item.value; })) / 0.9); var maxnum = Math.ceil(Math.max.apply(Math, newVal.map(function (item) { return item.value; })) / 0.9);
var list = newVal.map(function (item) { return (__assign({}, item, { precent: Math.ceil((item.value / maxnum) * 100) })); }); var list = newVal.map(function (item) { return (__assign(__assign({}, item), { precent: Math.ceil((item.value / maxnum) * 100) })); });
this.setData({ this.setData({
list: list, list: list,
}); });
...@@ -30,4 +33,4 @@ Component({ ...@@ -30,4 +33,4 @@ Component({
}, },
methods: {}, methods: {},
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXF1aXBtZW50Q2hhcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJFcXVpcG1lbnRDaGFydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFDQSxTQUFTLENBQUM7SUFJUixVQUFVLEVBQUU7UUFDVixNQUFNLEVBQUU7WUFDTixJQUFJLEVBQUUsS0FBSztZQUNYLEtBQUssRUFBRSxDQUFDLFNBQVMsQ0FBQztTQUNuQjtRQUNELFFBQVEsRUFBRTtZQUNSLElBQUksRUFBRSxLQUFLO1lBQ1gsS0FBSyxFQUFFLEVBQUU7WUFDVCxRQUFRLFlBQUMsTUFBTTtnQkFDYixJQUFJLE1BQU0sR0FBRyxJQUFJLENBQUMsSUFBSSxDQUNwQixJQUFJLENBQUMsR0FBRyxPQUFSLElBQUksRUFBUSxNQUFNLENBQUMsR0FBRyxDQUFDLFVBQUEsSUFBSSxJQUFJLE9BQUEsSUFBSSxDQUFDLEtBQUssRUFBVixDQUFVLENBQUMsSUFBSSxHQUFHLENBQ2xELENBQUM7Z0JBQ0YsSUFBSSxJQUFJLEdBQUcsTUFBTSxDQUFDLEdBQUcsQ0FBQyxVQUFBLElBQUksSUFBSSxPQUFBLGNBQ3pCLElBQUksSUFDUCxPQUFPLEVBQUUsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDLElBQUksQ0FBQyxLQUFLLEdBQUcsTUFBTSxDQUFDLEd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HJcbiAgLyoqXHJcbiAgICog57uE5Lu255qE5Yid5aeL5pWw5o2uXHJcbiAgICovXHJcbiAgZGF0YToge1xyXG4gICAgbGlzdDogW10sXHJcbiAgfSxcclxuXHJcbiAgLyoqXHJcbiAgICog57uE5Lu255qE5pa55rOV5YiX6KGoXHJcbiAgICovXHJcbiAgbWV0aG9kczoge30sXHJcbn0pO1xyXG4iXX0=
\ No newline at end of file \ No newline at end of file
"use strict"; "use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) { var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) { for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i]; s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p]; t[p] = s[p];
} }
return t; return t;
};
return __assign.apply(this, arguments);
};
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
}; };
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
var fetch_1 = require("../../../api/fetch"); var fetch_1 = require("../../../api/fetch");
...@@ -106,7 +116,7 @@ Component({ ...@@ -106,7 +116,7 @@ Component({
var list = res.data.list; var list = res.data.list;
_this.setData({ _this.setData({
pageNum: 1, pageNum: 1,
dataList: list.map(function (item) { return (__assign({}, item, { consumeAmount: util_1.formatPrice(item.consumeAmount) })); }), dataList: list.map(function (item) { return (__assign(__assign({}, item), { consumeAmount: util_1.formatPrice(item.consumeAmount) })); }),
}); });
}) })
.catch(function (err) { .catch(function (err) {
...@@ -125,10 +135,10 @@ Component({ ...@@ -125,10 +135,10 @@ Component({
}) })
.then(function (res) { .then(function (res) {
wx.hideLoading(); wx.hideLoading();
var list = res.data.list.map(function (item) { return (__assign({}, item, { consumeAmount: util_1.formatPrice(item.consumeAmount) })); }); var list = res.data.list.map(function (item) { return (__assign(__assign({}, item), { consumeAmount: util_1.formatPrice(item.consumeAmount) })); });
if (list && list.length) { if (list && list.length) {
_this.setData({ _this.setData({
dataList: _this.data.dataList.concat(list), dataList: __spreadArrays(_this.data.dataList, list),
pageNum: _this.data.pageNum + 1, pageNum: _this.data.pageNum + 1,
}); });
} }
...@@ -160,4 +170,4 @@ Component({ ...@@ -160,4 +170,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXF1aXBtZW50T3BlcmF0aW9uRGV0YWlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIkVxdWlwbWVudE9wZXJhdGlvbkRldGFpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDRDQUFxRDtBQUNyRCw0Q0FBa0Q7QUFHbEQsU0FBUyxDQUFDO0lBQ1IsU0FBUyxFQUFFO1FBQ1QsUUFBUSxnQkFBSSxDQUFDO0tBQ2Q7SUFJRCxVQUFVLEVBQUU7UUFDVixXQUFXLEVBQUU7WUFDWCxJQUFJLEVBQUUsS0FBSztZQUNYLEtBQUssRUFBRSxFQUFFO1NBQ1Y7UUFDRCxNQUFNLEVBQUU7WUFDTixJQUFJLEVBQUUsTUFBTTtZQUNaLEtBQUssRUFBRSxDQUFDO1lBQ1IsUUFBUTtnQkFDTixJQUFJLENBQUMsU0FBUyxFQUFFLENBQUM7Z0JBQ2pCLElBQUksQ0FBQyxXQUFXLEVBQUUsQ0FBQztZQUNyQixDQUFDO1NBQ0Y7S0FDRjtJQUtELElBQUksRUFBRTtRQUNKLGVBQWUsRUFBRTtZQUNmLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsSUFBSSxFQUFFO1l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N0IHsgdGltZXR5cGUgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xuICAgICAgaWYgKHRpbWV0eXBlID09PSB0aGlzLmRhdGEudGltZVR5cGUpIHJldHVybjtcbiAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgIHRpbWVUeXBlOiB0aW1ldHlwZSxcbiAgICAgIH0pO1xuICAgICAgdGhpcy5mZXRjaERhdGEoKTtcbiAgICAgIHRoaXMucmVmcmVzaExpc3QoKTtcbiAgICB9LFxuICAgIGZldGNoRGF0YSgpIHtcbiAgICAgIHN0YXRpc3RpY3NGZXRjaCh7XG4gICAgICAgIHVybDogJy9ib3NzL2RldmljZS9vcGVyYXRpb24vZGF0YS9zdW1tYXJ5JyxcbiAgICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICAgIGRhdGE6IHtcbiAgICAgICAgICBhcmVhSWQ6IHRoaXMuZGF0YS5hcmVhSWQsXG4gICAgICAgICAgdGltZVR5cGU6IHRoaXMuZGF0YS50aW1lVHlwZSxcbiAgICAgICAgfSxcbiAgICAgIH0pXG4gICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICBjb25zdCB7IHRvdGFsQ29uc3VtZUFtb3VudCwgdG90YWxDb25zdW1lQ291bnQgfSA9IHJlcy5kYXRhO1xuICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICAnY29tc3VtZXJEYXRhLmNvdW50JzogdG90YWxDb25zdW1lQW1vdW50LFxuICAgICAgICAgICAgJ2NvdW50RGF0YS5jb3VudCc6IHRvdGFsQ29uc3VtZUNvdW50LFxuICAgICAgICAgIH0pO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICB9KTtcbiAgICB9LFxuICAgIGZldGNoTGlzdChlbnRpdHkpIHtcbiAgICAgIH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bnN1bWVBbW91bnQpLFxuICAgICAgICAgICAgfSkpLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgIH0pO1xuICAgIH0sXG4gICAgZ2V0TW9yZUxpc3RJdGVtKCkge1xuICAgICAgd3guc2hvd0xvYWRpbmcoe1xuICAgICAgICB0aXRsZTogJ+WKoOi9veS4rScsXG4gICAgICAgIG1hc2s6IHRydWUsXG4gICAgICB9KTtcbiAgICAgIHRoaXMuZmV0Y2hMaXN0KHtcbiAgICAgICAgcGFnZU51bTogdGhpcy5kYXRhLnBhZ2VOdW0gKyAxLFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIGNvbnN0IGxpc3QgPSByZXMuZGF0YS5saXN0Lm1hcChpdGVtID0+ICh7XG4gICAgICAgICAgICAuLi5pdGVtLFxuICAgICAgICAgICAgY29uc3VtZUFtb3VudDogZm9ybWF0UHJpY2UoaXRlbS5jb25zdW1lQW1vdW50KSxcbiAgICAgICAgICB9KSk7XG4gICAgICAgICAgaWYgKGxpc3QgJiYgbGlzdC5sZW5ndGgpIHtcbiAgICAgICAgICAgIHRoaXMuc2V0RGF0YSEoe1xuICAgICAgICAgICAgICBkYXRhTGlzdDogWy4uLnRoaXMuZGF0YS5kYXRhTGlzdCwgLi4ubGlzdF0sXG4gICAgICAgICAgICAgIHBhZ2VOdW06IHRoaXMuZGF0YS5wYWdlTnVtICsgMSxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH1cbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICA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eXBlOiAnZGVzYycsXHJcbiAgICB0aW1lVHlwZTogMCxcclxuICAgIGNvbXN1bWVyRGF0YToge1xyXG4gICAgICB0aXRsZTogJ+a2iOi0ueaAu+minScsXHJcbiAgICAgIG51bWJlclR5cGU6ICdwcmljZScsXHJcbiAgICAgIGNvdW50OiAwLFxyXG4gICAgfSxcclxuICAgIGNvdW50RGF0YToge1xyXG4gICAgICB0aXRsZTogJ+a2iOi0ueeslOaVsCcsXHJcbiAgICAgIG51bWJlclR5cGU6ICdjb3VudCcsXHJcbiAgICAgIGNvdW50OiAwLFxyXG4gICAgfSxcclxuICAgIHBhZ2VOdW06IDEsXHJcbiAgICBwYWdlU2l6ZTogMTUsXHJcbiAgICBkYXRhTGlzdDogW10sXHJcbiAgICBkZXZpY2VUeXBlOiAzLCAvLyDvvIgy77ya5rSX6KGj77yMM++8mumlruawtO+8jDTvvJrlkLnpo47vvIw177ya5rSX5rW077yJXHJcbiAgfSxcclxuXHJcbiAgLyoqXHJcbiAgICog57uE5Lu255qE5pa55rOV5YiX6KGoXHJcbiAgICovXHJcbiAgbWV0aG9kczoge1xyXG4gICAgY2hhbmdlVHlwZShlKSB7XHJcbiAgICAgIGNvbnNvbGUubG9nKGUpO1xyXG4gICAgICBjb25zdCB7IHRpbWV0eXBlIH0gPSBlLmN1cnJlbnRUYXJnZXQuZGF0YXNldDtcclxuICAgICAgaWYgKHRpbWV0eXBlID09PSB0aGlzLmRhdGEudGltZVR5cGUpIHJldHVybjtcclxuICAgICAgdGhpcy5zZXREYXRhKHtcclxuICAgICAgICB0aW1lVHlwZTogdGltZXR5cGUsXHJcbiAgICAgIH0pO1xyXG4gICAgICB0aGlzLmZldGNoRGF0YSgpO1xyXG4gICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XHJcbiAgICB9LFxyXG4gICAgZmV0Y2hEYXRhKCkge1xyXG4gICAgICBzdGF0aXN0aWNzRmV0Y2goe1xyXG4gICAgICAgIHVybDogJy9ib3NzL2RldmljZS9vcG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c29ydFR5cGUsXHJcbiAgICAgICAgICBkZXZpY2VUeXBlOiB0aGlzLmRhdGEuZGV2aWNlVHlwZSxcclxuICAgICAgICAgIHBhZ2VOdW06IHRoaXMuZGF0YS5wYWdlTnVtLFxyXG4gICAgICAgICAgcGFnZVNpemU6IHRoaXMuZGF0YS5wYWdlU2l6ZSxcclxuICAgICAgICAgIC4uLmVudGl0eSxcclxuICAgICAgICB9LFxyXG4gICAgICB9KTtcclxuICAgIH0sXHJcbiAgICByZWZyZXNoTGlzdCgpIHtcclxuICAgICAgd3guc2hvd0xvYWRpbmcoe1xyXG4gICAgICAgIHRpdGxlOiAn5Yqg6L295LitJyxcclxuICAgICAgICBtYXNrOiB0cnVlLFxyXG4gICAgICB9KTtcclxuICAgICAgdGhpcy5mZXRjaExpc3Qoe1xyXG4gICAgICAgIHBhZ2VOdW06IDEsXHJcbiAgICAgIH0pXHJcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcclxuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XHJcbiAgICAgICAgICBjb25zdCB7IGxpc3QgfSA9IHJlcy5kYXRhO1xyXG4gICAgICAgICAgdGhpcy5zZXREYXRhKHtcclxuICAgICAgICAgICAgcGFnZU51bTogMSxcclxuICAgICAgICAgICAgZGF0YUxpc3Q6IGxpc3QubWFwKGl0ZW0gPT4gKHtcclxuICAgICAgICAgICAgICAuLi5pdGVtLFxyXG4gICAgICAgICAgICAgIGNvbnN1bWVBbW91bnQ6IGZvcm1hdFByaWNlKGl0ZW0uY29uc3VtZUFtb3VudCksXHJcbiAgICAgICAgICAgIH0pKSxcclxuICAgICAgICAgIH0pO1xyXG4gICAgICAgIH0pXHJcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XHJcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xyXG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcclxuICAgICAgICB9KTtcclxuICAgIH0sXHJcbiAgICBnZXRNb3JlTGlzdEl0ZW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aW9uc1t2YWx1ZV07XHJcbiAgICAgIGNvbnNvbGUubG9nKGl0ZW0pO1xyXG4gICAgICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAgIHNvcnRUeXBlSW5kZXg6IHZhbHVlLFxyXG4gICAgICAgIHNvcnRUeXBlOiBpdGVtLnZhbHVlLFxyXG4gICAgICB9KTtcclxuICAgICAgdGhpcy5yZWZyZXNoTGlzdCgpO1xyXG4gICAgfSxcclxuICAgIGNoYW5nZURldmljZVR5cGUoZSkge1xyXG4gICAgICBjb25zb2xlLmxvZyhlKTtcclxuICAgICAgY29uc3QgeyBkZXZpY2V0eXBlIH0gPSBlLmN1cnJlbnRUYXJnZXQuZGF0YXNldDtcclxuICAgICAgaWYgKGRldmljZXR5cGUgPT09IHRoaXMuZGF0YS5kZXZpY2VUeXBlKSByZXR1cm47XHJcbiAgICAgIHRoaXMuc2V0RGF0YSh7XHJcbiAgICAgICAgZGV2aWNlVHlwZTogZGV2aWNldHlwZSxcclxuICAgICAgfSk7XHJcbiAgICAgIHRoaXMucmVmcmVzaExpc3QoKTtcclxuICAgIH0sXHJcbiAgfSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file \ No newline at end of file
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
"component": true, "component": true,
"usingComponents": { "usingComponents": {
"c-select": "../Select/Select", "c-select": "../Select/Select",
"price-and-count": "../components/PriceAndCount/PriceAndCount" "price-and-count": "../PriceAndCount/PriceAndCount"
} }
} }
"use strict"; "use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) { var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) { for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i]; s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p]; t[p] = s[p];
} }
return t; return t;
};
return __assign.apply(this, arguments);
};
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
}; };
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
var fetch_1 = require("../../../api/fetch"); var fetch_1 = require("../../../api/fetch");
...@@ -80,7 +90,7 @@ Component({ ...@@ -80,7 +90,7 @@ Component({
default: default:
break; break;
} }
return __assign({}, item, { label: label }); return __assign(__assign({}, item), { label: label });
}); });
_this.setData({ _this.setData({
tabs: list, tabs: list,
...@@ -104,6 +114,7 @@ Component({ ...@@ -104,6 +114,7 @@ Component({
}); });
this.fetchList() this.fetchList()
.then(function (res) { .then(function (res) {
var _a, _b;
wx.hideLoading(); wx.hideLoading();
console.log(res); console.log(res);
if (res.data && res.data.length) { if (res.data && res.data.length) {
...@@ -116,7 +127,6 @@ Component({ ...@@ -116,7 +127,6 @@ Component({
_b['dataList.' + _this.data.status] = [], _b['dataList.' + _this.data.status] = [],
_b)); _b));
} }
var _a, _b;
}) })
.catch(function (err) { .catch(function (err) {
wx.hideLoading(); wx.hideLoading();
...@@ -134,15 +144,15 @@ Component({ ...@@ -134,15 +144,15 @@ Component({
pageNum: nextPage, pageNum: nextPage,
}) })
.then(function (res) { .then(function (res) {
var _a;
wx.hideLoading(); wx.hideLoading();
console.log(res); console.log(res);
if (res.data && res.data.length) { if (res.data && res.data.length) {
_this.setData((_a = {}, _this.setData((_a = {},
_a['dataList.' + _this.data.status] = _this.data.dataList[_this.data.status].concat(res.data), _a['dataList.' + _this.data.status] = __spreadArrays(_this.data.dataList[_this.data.status], res.data),
_a['pagination.' + _this.data.status + '.pageNum'] = nextPage, _a['pagination.' + _this.data.status + '.pageNum'] = nextPage,
_a)); _a));
} }
var _a;
}) })
.catch(function (err) { .catch(function (err) {
wx.hideLoading(); wx.hideLoading();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3JlcG9ydC9kZXZpY2VTdGF1dHNDb3VudC8ke3RoaXMuZGF0YS5hcmVhSWR9YCxcbiAgICAgIH0pXG4gICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICBjb25zdCBsaXN0ID0gcmVzLmRhdGEubWFwKGl0ZW0gPT4ge1xuICAgICAgICAgICAgbGV0IGxhYmVsID0gJyc7XG4gICAgICAgICAgICBzd2l0Y2ggKGl0ZW0uc3RhdHVzKSB7XG4gICAgICAgICAgICAgIGNhc2UgJ2VuYWJsZSc6XG4gICAgICAgICAgICAgICAgbGFiZWwgPSAn5ZCv55So6K6+5aSHJztcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgY2FzZSAnZm9yYmlkZGVuJzpcbiAgICAgICAgICAgICAgICBsYWJlbCA9ICfnpoHnlKjorr7lpIcnO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICBjYXNlICdvbmxpbmUnOlxuICAgICAgICAgICAgICAgIGxhYmVsID0gJ+WcqOe6v+iuvuWkhyc7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgIGNhc2UgJ29mZmxpbmUnOlxuICAgICAgICAgICAgICAgIGxhYmVsID0gJ+emu+e6v+iuvuWkhyc7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAuLi5pdGVtLFxuICAgICAgICAgICAgICBsYWJlbCxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgfSk7XG4gICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgIHRhYnM6IGxpc3QsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0pXG4gICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgIH0pO1xuICAgIH0sXG4gICAgZmV0Y2hMaXN0KGVudGl0eSkge1xuICAgICAgcmV0dXJuIGRldmljZUZldGNoKHtcbiAgICAgICAgdXJsOiBgL2RldmljZS9yZXBvcnQvc3RhdHVzLyR7dGhpcy5kYXRhLnN0YXR1c31gLFxuICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgYXJlYUlkOiB0aGlzLmRhdGEuYXJlYUlkLFxuICAgICAgICAgIHBhZ2VOdW06IHRoaXMuZGF0YS5wYWdpbmF0aW9uW3RoaXMuZGF0YS5zdGF0dXNdLnBhZ2VOdW0sXG4gICAgICAgICAgcGFnZVNpemU6IHRoaXMuZGF0YS5wYWdpbmF0aW9uW3RoaXMuZGF0YS5zdGF0dXNdLnBhZ2VTaXplLFxuICAgICAgICAgIC4uLmVudGl0eSxcbiAgICAgICAgfSxcbiAgICAgIH0pO1xuICAgIH0sXG4gICAgcmVmcmVzaExpc3QoKSB7XG4gICAgICB3eC5zaG93TG9hZGluZyh7XG4gICAgICAgIHRpdGxlOiAn5Yqg6L295LitJyxcbiAgICAgICAgbWFzazogdHJ1ZSxcbiAgICAgIH0pO1xuICAgICAgdGhpcy5mZXRjaExpc3QoKVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICBpZiAocmVzLmRhdGEgJiYgcmVzLmRhdGEubGVuZ3RoKSB7XG4gICAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgICBbJ2RhdGFMaXN0LicgKyB0aGlzLmRhdGEuc3RhdHVzXTogcmVzLmRhdGEsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgICAgWydkYXRhTGlzdC4nICsgdGhpcy5kYXRhLnN0YXR1c106IFtdLFxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfVxuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgIH0pO1xuICAgIH0sXG4gICAgZ2V0TW9yZUxpc3RJdGVtKCkge1xuICAgICAgd3guc2hvd0xvYWRpbmcoe1xuICAgICAgICB0aXRsZTogJ+WKoOi9veS4rScsXG4gICAgICAgIG1hc2s6IHRydWUsXG4gICAgICB9KTtcbiAgICAgIGxldCBuZXh0UGFnZSA9IHRoaXMuZGF0YS5wYWdpbmF0aW9uW3RoaXMuZGF0YS5zdGF0dXNdLnBhZ2VOdW0gKyAxO1xuICAgICAgdGhpcy5mZXRjaExpc3Qoe1xuICAgICAgICBwYWdlTnVtOiBuZXh0UGFnZSxcbiAgICAgIH0pXG4gICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgIGlmIChyZXMuZGF0YSAmJiByZXMuZGF0YS5sZW5ndGgpIHtcbiAgICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICAgIFsnZGF0YUxpc3QuJyArIHRoaXMuZGF0YS5zdGF0dXNdOiBbXG4gICAgICAgICAgICAgICAgLi4udGhpcy5kYXRhLmRhdGFMaXN0W3RoaXMuZGF0YS5zdGF0dXNdLFxuICAgICAgICAgICAgICAgIC4uLnJlcy5kYXRhLFxuICAgICAgICAgICAgICBdLFxuICAgICAgICAgICAgICBbJ3BhZ2luYXRpb24uJyArIHRoaXMuZGF0YS5zdGF0dXMgKyAnLnBhZ2VOdW0nXTogbmV4dFBhZ2UsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pXG4gICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICBjaGFuZ2VUYWIoZSkge1xuICAgICAgY29uc3QgeyBzdGF0dXMgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xuICAgICAgY29uc29sZS5sb2coZSwgc3RhdHVzKTtcbiAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgIHN0YXR1cyxcbiAgICAgIH0pO1xuICAgICAgaWYgKCF0aGlzLmRhdGEuZGF0YUxpc3Rbc3RhdHVzXS5sZW5ndGgpIHRoaXMucmVmcmVzaExpc3QoKTtcbiAgICB9LFxuICAgIG9wZW5FcXVpcG1lbnQoZSkge1xuICAgICAgd3guc2hvd01vZGFsKHtcbiAgICAgICAgdGl0bGU6ICfmj5DnpLonLFxuICAgICAgICBjb250ZW50OiAn5piv5ZCm5ZCv55So6K6+5aSHJyxcbiAgICAgICAgc3VjY2VzczogcmVzID0+IHtcbiAgICAgICAgICBpZiAocmVzLmNvbmZpcm0pIHtcbiAgICAgICAgICAgIGNvbnN0IHsgY29kZSwgdHlwZSB9ID0gZS5jdXJyZW50VGFyZ2V0LmRhdGFzZXQ7XG4gICAgICAgICAgICBjb25zb2xlLmxvZyhjb2RlKTtcbiAgICAgICAgICAgIGRldmljZUZldGNoKHtcbiAgICAgICAgICAgICAgdXJsOiBgL2RldmljZS8ke2NvZGV9LyR7dHlwZX0vZW5hYmxlYCxcbiAgICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICAgICAgICB0aXRsZTogcmVzLm1zZyB8fCAn5pON5L2c5oiQ5YqfJyxcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XG4gICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgIH0pO1xuICAgIH0sXG4gICAgY2xvc2VFcXVpcG1lbnQoZSkge1xuICAgICAgd3guc2hvd01vZGFsKHtcbiAgICAgICAgdGl0bGU6ICfmj5DnpLonLFxuICAgICAgICBjb250ZW50OiAn5piv5ZCm56aB55So6K6+5aSHJyxcbiAgICAgICAgc3VjY2VzczogcmVzID0+IHtcbiAgICAgICAgICBpZiAocmVzLmNvbmZpcm0pIHtcbiAgICAgICAgICAgIGNvbnN0IHsgY29kZSwgdHlwZSB9ID0gZS5jdXJyZW50VGFyZ2V0LmRhdGFzZXQ7XG4gICAgICAgICAgICBjb25zb2xlLmxvZyhjb2RlKTtcbiAgICAgICAgICAgIGRldmljZUZldGNoKHtcbiAgICAgICAgICAgICAgdXJsOiBgL2RldmljZS8ke2NvZGV9LyR7dHlwZX0vZm9yYmlkZGVuYCxcbiAgICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICAgICAgICB0aXRsZTogcmVzLm1zZyB8fCAn5pON5L2c5oiQ5YqfJyxcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XG4gICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH1cbi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pIHtcclxuICAgICAgICB0aGlzLmZldGNoQWxsKCk7XHJcbiAgICAgIH0sXHJcbiAgICB9LFxyXG4gIH0sXHJcblxyXG4gIC8qKlxyXG4gICAqIOe7hOS7tueahOWIneWni+aVsOaNrlxyXG4gICAqL1xyXG4gIGRhdGE6IHtcclxuICAgIHN0YXR1czogJ2VuYWJsZScsXHJcbiAgICB0YWJzOiBbXSxcclxuICAgIHBhZ2luYXRpb246IHtcclxuICAgICAgZW5hYmxlOiB7XHJcbiAgICAgICAgcGFnZU51bTogMSxcclxuICAgICAgICBwYWdlU2l6ZTogMTUsXHJcbiAgICAgIH0sXHJcbiAgICAgIGZvcmJpZGRlbjoge1xyXG4gICAgICAgIHBhZ2VOdW06IDEsXHJcbiAgICAgICAgcGFnZVNpemU6IDE1LFxyXG4gICAgICB9LFxyXG4gICAgICBvbmxpbmU6IHtcclxuICAgICAgICBwYWdlTnVtOiAxLFxyXG4gICAgICAgIHBhZ2VTaXplOiAxNSxcclxuICAgICAgfSxcclxuICAgICAgb2ZmbGluZToge1xyXG4gICAgICAgIHBhZ2VOdW06IDEsXHJcbiAgICAgICAgcGFnZVNpemU6IDE1LFxyXG4gICAgICB9LFxyXG4gICAgfSxcclxuICAgIGRhdGFMaXN0OiB7XHJcbiAgICAgIGVuYWJsZTogW10sXHJcbiAgICAgIGZvcmJpZGRlbjogW10sXHJcbiAgICAgIG9ubGluZTogW10sXHJcbiAgICAgIG9mZmxpbmU6IFtdLFxyXG4gICAgfSxcclxuICB9LFxyXG5cclxuICAvKipcclxuICAgKiDnu4Tku7bnmoTmlrnms5XliJfooahcclxuICAgKi9cclxuICBtZXRob2RzOiB7XHJcbiAgICBmZXRjaEFsbCgpIHtcclxuICAgICAgdGhpcy5mZXRjaERhdGEoKTtcclxuICAgICAgdGhpcy5yZWZyZXNoTGlzdCgpO1xyXG4gICAgfSxcclxuICAgIGZldGNoRGF0YSgpIHtcclxuICAgICAgZGV2aWNlRmV0Y2goe1xyXG4gICAgICAgIHVybDogYC9kZXZpY2UvcmVwb3J0L2RldmljZVN0YXV0c0NvdW50LyR7dGhpcy5kYXRhLmFyZWFJZH1gLFxyXG4gICAgICB9KVxyXG4gICAgICAgIC50aGVuKHJlcyA9PiB7XHJcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xyXG4gICAgICAgICAgY29uc3QgbGlzdCA9IHJlcy5kYXRhLm1hcChpdGVtID0+IHtcclxuICAgICAgICAgICAgbGV0IGxhYmVsID0gJyc7XHJcbiAgICAgICAgICAgIHN3aXRjaCAoaXRlbS5zdGF0dXMpIHtcclxuICAgICAgICAgICAgICBjYXNlICdlbmFibGUnOlxyXG4gICAgICAgICAgICAgICAgbGFiZWwgPSAn5ZCv55So6K6+5aSHJztcclxuICAgICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgICAgICAgIGNhc2UgJ2ZvcmJpZGRlbic6XHJcbiAgICAgICAgICAgICAgICBsYWJlbCA9ICfnpoHnlKjorr7lpIcnO1xyXG4gICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgICAgY2FzZSAnb25saW5lJzpcclxuICAgICAgICAgICAgICAgIGxhYmVsID0gJ+WcqOe6v+iuvuWkhyc7XHJcbiAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgICBjYXNlICdvZmZsaW5lJzpcclxuICAgICAgICAgICAgICAgIGxhYmVsID0gJ+emu+e6v+iuvuWkhyc7XHJcbiAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgICBkZWZhdWx0OlxyXG4gICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgcmV0dXJuIHtcclxuICAgICAgICAgICAgICAuLi5pdGVtLFxyXG4gICAgICAgICAgICAgIGxhYmVsLFxyXG4gICAgICAgICAgICB9O1xyXG4gICAgICAgICAgfSk7XHJcbiAgICAgICAgICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAgICAgICB0YWJ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IHRoaXMuZGF0YS5zdGF0dXNdOiByZXMuZGF0YSxcclxuICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAgICAgICAgIFsnZGF0YUxpc3QuJyArIHRoaXMuZGF0YS5zdGF0dXNdOiBbXSxcclxuICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfSlcclxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcclxuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XHJcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xyXG4gICAgICAgIH0pO1xyXG4gICAgfSxcclxuICAgIGdldE1vcmVMaXN0SXRlbSgpIHtcclxuICAgICAgd3guc2hvd0xvYWRpbmcoe1xyXG4gICAgICAgIHRpdGxlOiAn5Yqg6L295LitJyxcclxuICAgICAgICBtYXNrOiB0cnVlLFxyXG4gICAgICB9KTtcclxuICAgICAgbGV0IG5leHRQYWdlID0gdGhpcy5kYXRhLnBhZ2luYXRpb25bdGhpcy5kYXRhLnN0YXR1c10ucGFnZU51bSArIDE7XHJcbiAgICAgIHRoaXMuZmV0Y2hMaXN0KHtcclxuICAgICAgICBwYWdlTnVtOiBuZXh0UGFnZSxcclxuICAgICAgfSlcclxuICAgICAgICAudGhlbihyZXMgPT4ge1xyXG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcclxuICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XHJcbiAgICAgICAgICBpZiAocmVzLmRhdGEgJiYgcmVzLmRhdGEubGVuZ3RoKSB7XHJcbiAgICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XHJcbiAgICAgICAgICAgICAgWydkYXRhTGlzdC4nICsgdGhpcy5kYXRhLnN0YXR1c106IFtcclxuICAgICAgICAgICAgICAgIC4uLnRoaXMuZGF0YS5kYXRhTGlzdFt0aGlzLmRhdGEuc3RhdHVzXSxcclxuICAgICAgICAgICAgICAgIC4uLnJlcy5kYXRhLFxyXG4gICAgICAgICAgICAgIF0sXHJcbiAgICAgICAgICAgICAgWydwYWdpbmF0aW9uLicgKyB0aGlzLmRhdGEuc3RhdHVzICsgJy5wYWdlTnVtJ106IG5leHRQYWdlLFxyXG4gICAgICAgICAgICB9KTtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9KVxyXG4gICAgICAgIC5jYXRjaChlcnIgPT4ge1xyXG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcclxuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XHJcbiAgICAgICAgfSk7XHJcbiAgICB9LFxyXG4gICAgY2hhbmdlVGFiKGUpIHtcclxuICAgICAgY29uc3QgeyBzdGF0dXMgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xyXG4gICAgICBjb25zb2xlLmxvZyhlLCBzdGF0dXMpO1xyXG4gICAgICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAgIHN0YXR1cyxcclxuICAgICAgfSk7XHJcbiAgICAgIGlmICghdGhpcy5kYXRhLmRhdGFMaXN0W3N0YXR1c10ubGVuZ3RoKSB0aGlzLnJlZnJlc2hMaXN0KCk7XHJcbiAgICB9LFxyXG4gICAgb3BlbkVxdWlwbWVudChlKSB7XHJcbiAgICAgIHd4LnNob3dNb2RhbCh7XHJcbiAgICAgICAgdGl0bGU6ICfmj5DnpLonLFxyXG4gICAgICAgIGNvbnRlbnQ6ICfmmK/lkKblkK/nlKjorr7lpIcnLFxyXG4gICAgICAgIHN1Y2Nlc3M6IHJlcyA9PiB7XHJcbiAgICAgICAgICBpZiAocmVzLmNvbmZpcm0pIHtcclxuICAgICAgICAgICAgY29uc3QgeyBjb2RlLCB0eXBlIH0gPSBlLmN1cnJlbnRUYXJnZXQuZGF0YXNldDtcclxuICAgICAgICAgICAgY29uc29sZS5sb2coY29kZSk7XHJcbiAgICAgICAgICAgIGRldmljZUZldGNoKHtcclxuICAgICAgICAgICAgICB1cmw6IGAvZGV2aWNlLyR7Y29kZX0vJHt0eXBlfS9lbmFibGVgLFxyXG4gICAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxyXG4gICAgICAgICAgICB9KVxyXG4gICAgICAgICAgICAgIC50aGVuKHJlcyA9PiB7XHJcbiAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xyXG4gICAgICAgICAgICAgICAgICB0aXRsZTogcmVzLm1zZyB8fCAn5pON5L2c5oiQ5YqfJyxcclxuICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICAgICAgdGhpcy5yZWZyZXNoTGlzdCgpO1xyXG4gICAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgICAgLmNhdGNoKGVyciA9PiB7XHJcbiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xyXG4gICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH0sXHJcbiAgICAgIH0pO1xyXG4gICAgfSxcclxuICAgIGNsb3NlRXF1aXBtZW50KGUpIHtcclxuICAgICAgd3guc2hvd01vZGFsKHtcclxuICAgICAgICB0aXRsZTogJ+aPkOekuicsXHJcbiAgICAgICAgY29udGVudDogJ+aYr+WQpuemgeeUqOiuvuWkhycsXHJcbiAgICAgICAgc3VjY2VzczogcmVzID0+IHtcclxuICAgICAgICAgIGlmIChyZXMuY29uZmlybSkge1xyXG4gICAgICAgICAgICBjb25zdCB7IGNvZGUsIHR5cGUgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xyXG4gICAgICAgICAgICBjb25zb2xlLmxvZyhjb2RlKTtcclxuICAgICAgICAgICAgZGV2aWNlRmV0Y2goe1xyXG4gICAgICAgICAgICAgIHVybDogYC9kZXZpY2UvJHtjb2RlfS8ke3R5cGV9L2ZvcmJpZGRlbmAsXHJcbiAgICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCcsXHJcbiAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgICAgLnRoZW4ocmVzID0+IHtcclxuICAgICAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XHJcbiAgICAgICAgICAgICAgICAgIHRpdGxlOiByZXMubXNnIHx8ICfmk43kvZzmiJDlip8nLFxyXG4gICAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XHJcbiAgICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgICAuY2F0Y2goZXJyID0+IHtcclxuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XHJcbiAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfSxcclxuICAgICAgfSk7XHJcbiAgICB9LFxyXG4gIH0sXHJcbn0pO1xyXG4iXX0=
\ No newline at end of file \ No newline at end of file
"use strict"; "use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) { var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) { for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i]; s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p]; t[p] = s[p];
} }
return t; return t;
};
return __assign.apply(this, arguments);
};
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
}; };
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
var fetch_1 = require("../../../api/fetch"); var fetch_1 = require("../../../api/fetch");
...@@ -48,7 +58,7 @@ Component({ ...@@ -48,7 +58,7 @@ Component({
.then(function (res) { .then(function (res) {
console.log(res); console.log(res);
_this.setData({ _this.setData({
warningLevelRange: [warningLevelRangeOption].concat(res.data), warningLevelRange: __spreadArrays([warningLevelRangeOption], res.data),
}); });
}) })
.catch(function (err) { .catch(function (err) {
...@@ -140,7 +150,7 @@ Component({ ...@@ -140,7 +150,7 @@ Component({
var _a = res.data, list = _a.list, pageNum = _a.pageNum; var _a = res.data, list = _a.list, pageNum = _a.pageNum;
if (list && list.length) { if (list && list.length) {
_this.setData({ _this.setData({
dataList: _this.data.dataList.concat(list), dataList: __spreadArrays(_this.data.dataList, list),
pageNum: pageNum, pageNum: pageNum,
}); });
} }
...@@ -204,4 +214,4 @@ Component({ ...@@ -204,4 +214,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXF1aXBtZW50V2FybmluZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIkVxdWlwbWVudFdhcm5pbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDRDQUFpRDtBQUVqRCxJQUFJLHVCQUF1QixHQUFHLEVBQUUsR0FBRyxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsRUFBRSxFQUFFLENBQUM7QUFFdkQsU0FBUyxDQUFDO0lBQ1IsU0FBUyxFQUFFO1FBQ1QsUUFBUTtZQUNOLEVBQUUsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDLENBQUM7Z0JBQ2hDLElBQUksQ0FBQyxxQkFBcUIsRUFBRSxDQUFDO1lBQy9CLENBQUM7UUFDSCxDQUFDO0tBQ0Y7SUFJRCxVQUFVLEVBQUU7UUFDVixNQUFNLEVBQUU7WUFDTixJQUFJLEVBQUUsTUFBTTtZQUNaLEtBQUssRUFBRSxDQUFDO1lBQ1IsUUFBUSxZQUFDLE1BQU07Z0JBQ2IsSUFBSSxDQUFDLFdBQVcsRUFBRSxDQUFD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e1xuICAgICAgICB1cmw6ICcvZGV2aWNlL3dhcm5pbmcvZGljdC9pbGxlZ2FsT3BlcmF0aW9ucycsXG4gICAgICAgIGRhdGE6IHtcbiAgICAgICAgICB3YXJuTGV2ZWw6IDEsXG4gICAgICAgIH0sXG4gICAgICB9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgIHdhcm5pbmdMZXZlbFJhbmdlOiBbd2FybmluZ0xldmVsUmFuZ2VPcHRpb24sIC4uLnJlcy5kYXRhXSxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICBjaGFuZ2VXYXJuaW5nVHlwZShlKSB7XG4gICAgICBjb25zdCBpbmRleCA9IGUuZGV0YWlsLnZhbHVlO1xuICAgICAgaWYgKGluZGV4ID09PSB0aGlzLmRhdGEud2FybkxldmVsSW5kZXgpIHJldHVybjtcbiAgICAgIGNvbnN0IGl0ZW0gPSB0aGlzLmRhdGEud2FybmluZ0xldmVsUmFuZ2VbaW5kZXhdO1xuICAgICAgY29uc29sZS5sb2coaXRlbSk7XG4gICAgICBpZiAoaXRlbS5rZXkpIHtcbiAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICB3YXJuTGV2ZWxJbmRleDogaW5kZXgsXG4gICAgICAgICAgd2FybkxldmVsOiBpdGVtLmtleSxcbiAgICAgICAgfSk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgIHdhcm5MZXZlbEluZGV4OiAnJyxcbiAgICAgICAgICB3YXJuTGV2ZWw6IDAsXG4gICAgICAgIH0pO1xuICAgICAgfVxuXG4gICAgICB0aGlzLnJlZnJlc2hMaXN0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iAgICAgIHd4LnNob3dMb2FkaW5nKHtcbiAgICAgICAgdGl0bGU6ICfliqDovb3kuK0nLFxuICAgICAgICBtYXNrOiB0cnVlLFxuICAgICAgfSk7XG4gICAgICB0aGlzLmZldGNoTGlzdCh7fSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgY29uc3QgeyBsaXN0IH0gPSByZXMuZGF0YTtcbiAgICAgICAgICBpZiAobGlzdCAmJiBsaXN0Lmxlbmd0aCkge1xuICAgICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgICAgZGF0YUxpc3Q6IGxpc3QsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgICAgZGF0YUxpc3Q6IFtdLFxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfVxuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgIH0pO1xuICAgIH0sXG4gICAgZ2V0TW9yZUxpc3RJdGVtKCkge1xuICAgICAgd3guc2hvd0xvYWRpbmcoe1xuICAgICAgICB0aXRsZTogJ+WKoOi9veS4rScsXG4gICAgICAgIG1hc2s6IHRydWUsXG4gICAgICB9KTtcbiAgICAgIGxldCBuZXh0UGFnZSA9IHRoaXMuZGF0YS5wYWdlTnVtICsgMTtcbiAgICAgIHRoaXMuZmV0Y2hMaXN0KHtcbiAgICAgICAgcGFnZU51bTogbmV4dFBhZ2UsXG4gICAgICB9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICBjb25zdCB7IGxpc3QsIHBhZ2VOdW0gfSA9IHJlcy5kYXRhO1xuICAgICAgICAgIGlmIChsaXN0ICYmIGxpc3QubGVuZ3RoKSB7XG4gICAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgICBkYXRhTGlzdDogWy4uLnRoaXMuZGF0YS5kYXRhTGlzdCwgLi4ubGlzdF0sXG4gICAgICAgICAgICAgIHBhZ2VOdW0sXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pXG4gICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICBvcGVuRXF1aXBtZW50KGUpIHtcbiAgICAgIHd4LnNob3dNb2RhbCh7XG4gICAgICAgIHRpdGxlOiAn5o+Q56S6JyxcbiAgICAgICAgY29udGVudDogJ+aYr+WQpuWQr+eUqOiuvuWkhycsXG4gICAgICAgIHN1Y2Nlc3M6IHJlcyA9PiB7XG4gICAgICAgICAgaWYgKHJlcy5jb25maXJtKSB7XG4gICAgICAgICAgICBjb25zdCB7IGNvZGUsIHR5cGUgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xuICAgICAgICAgICAgY29uc29sZS5sb2coY29kZSk7XG4gICAgICAgICAgICBkZXZpY2VGZXRjaCh7XG4gICAgICAgICAgICAgIHVybDogYC9kZXZpY2UvJHtjb2RlfS8ke3R5cGV9L2VuYWJsZWAsXG4gICAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgICAgICAgdGl0bGU6IHJlcy5tc2cgfHwgJ+aTjeS9nOaIkOWKnycsXG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgdGhpcy5yZWZyZXNoTGlzdCgpO1xuICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgICB9LFxuICAgIGNsb3NlRXF1aXBtZW50KGUpIHtcbiAgICAgIHd4LnNob3dNb2RhbCh7XG4gICAgICAgIHRpdGxlOiAn5o+Q56S6JyxcbiAgICAgICAgY29udGVudDogJ+aYr+WQpuemgeeUqOiuvuWkhycsXG4gICAgICAgIHN1Y2Nlc3M6IHJlcyA9PiB7XG4gICAgICAgICAgaWYgKHJlcy5jb25maXJtKSB7XG4gICAgICAgICAgICBjb25zdCB7IGNvZGUsIHR5cGUgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xuICAgICAgICAgICAgY29uc29sZS5sb2coY29kZSk7XG4gICAgICAgICAgICBkZXZpY2VGZXRjaCh7XG4gICAgICAgICAgICAgIHVybDogYC9kZXZpY2UvJHtjb2RlfS8ke3R5cGV9L2ZvcmJpZGRlbmAsXG4gICAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgICAgICAgdGl0bGU6IHJlcy5tc2cgfHwgJ+aTjeS9nOaIkOWKnycsXG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgdGhpcy5yZWZyZXNoTGlzdCgpO1xuICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICAgICAgICB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gICog57uE5Lu255qE5bGe5oCn5YiX6KGoXHJcbiAgICovXHJcbiAgcHJvcGVydGllczoge1xyXG4gICAgYXJlYUlkOiB7XHJcbiAgICAgIHR5cGU6IE51bWJlcixcclxuICAgICAgdmFsdWU6IDAsXHJcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xyXG4gICAgICAgIHRoaXMucmVmcmVzaExpc3QoKTtcclxuICAgICAgfSxcclxuICAgIH0sXHJcbiAgfSxcclxuXHJcbiAgLyoqXHJcbiAgICog57uE5Lu255qE5Yid5aeL5pWw5o2uXHJcbiAgICovXHJcbiAgZGF0YToge1xyXG4gICAgd2FybmluZ0xldmVsUmFuZ2U6IFtdLFxyXG4gICAgd2FybkxldmVsSW5kZXg6ICcnLFxyXG4gICAgd2FybkxldmVsOiAwLFxyXG4gICAgZGV2aWNlTG9jYXRpb246ICcnLFxyXG4gICAgZGF0YUxpc3Q6IFtdLFxyXG4gICAgcGFnZU51bTogMSxcclxuICAgIHBhZ2VTaXplOiAxMCxcclxuICB9LFxyXG5cclxuICAvKipcclxuICAgKiDnu4Tku7bnmoTmlrnms5XliJfooahcclxuICAgKi9cclxuICBtZXRob2RzOiB7XHJcbiAgICBmZXRjaFdhcm5pbmdMZXZlbExpc3QoKSB7XHJcbiAgICAgIGRldmljZUZldGNoKHtcclxuICAgICAgICB1cmw6ICcvZGV2aWNlL3dhcm5pbmcvZGljdC9pbGxlZ2FsT3BlcmF0aW9ucycsXHJcbiAgICAgICAgZGF0YToge1xyXG4gICAgICAgICAgd2FybkxldmVsOiAxLFxyXG4gICAgICAgIH0sXHJcbiAgICAgIH0pXHJcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcclxuICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XHJcbiAgICAgICAgICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAgICAgICB3YXJuaW5nTGV2ZWxSYW5nZTogW3dhcm5pbmdMZXZlbFJhbmdlT3B0aW9uLCAuLi5yZXMuZGF0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4gICAgZmV0Y2hMaXN0KGVudGl0eSkge1xyXG4gICAgICBpZiAodGhpcy5kYXRhLndhcm5MZXZlbCkge1xyXG4gICAgICAgIGVudGl0eS5vcGVyYXRpb24gPSB0aGlzLmRhdGEud2FybkxldmVsO1xyXG4gICAgICB9XHJcbiAgICAgIGlmICh0aGlzLmRhdGEuZGV2aWNlTG9jYXRpb24pIHtcclxuICAgICAgICBlbnRpdHkuZGV2aWNlTG9jYXRpb24gPSB0aGlzLmRhdGEuZGV2aWNlTG9jYXRpb247XHJcbiAgICAgIH1cclxuICAgICAgY29uc29sZS5sb2coJ2FyZWFJZDogJywgdGhpcy5kYXRhLmFyZWFJZCk7XHJcbiAgICAgIHJldHVybiBkZXZpY2VGZXRjaCh7XHJcbiAgICAgICAgdXJsOiAnL2RldmljZS93YXJuaW5nL3BhZ2luZycsXHJcbiAgICAgICAgbWV0aG9kOiAnUE9TVCcsXHJcbiAgICAgICAgZGF0YToge1xyXG4gICAgICAgICAgd2FybkxldmVsOiAxLFxyXG4gICAgICAgICAgb3BlcmF0b3I6IHRydWUsXHJcbiAgICAgICAgICBjYW1wdXNJZDogdGhpcy5kYXRhLmFyZWFJZCxcclxuICAgICAgICAgIHBhZ2VOdW06IHRoaXMuZGF0YS5wYWdlTnVtLFxyXG4gICAgICAgICAgcGFnZVNpemU6IHRoaXMuZGF0YS5wYWdlU2l6ZSxcclxuICAgICAgICAgIC4uLmVudGl0eSxcclxuICAgICAgICB9LFxyXG4gICAgICB9KTtcclxuICAgIH0sXHJcbiAgICByZWZyZXNoTGlzdCgpIHtcclxuICAgICAgd3guc2hvd0xvYWRpbmcoe1xyXG4gICAgICAgIHRpdGxlOiAn5Yqg6L295LitJyxcclxuICAgICAgICBtYXNrOiB0cnVlLFxyXG4gICAgICB9KTtcclxuICAgICAgdGhpcy5mZXRjaExpc3Qoe30pXHJcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcclxuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XHJcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xyXG4gICAgICAgICAgY29uc3QgeyBsaXN0IH0gPSByZXMuZGF0YTtcclxuICAgICAgICAgIGlmIChsaXN0ICYmIGxpc3QubGVuZ3RoKSB7XHJcbiAgICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XHJcbiAgICAgICAgICAgICAgZGF0YUxpc3Q6IGxpc3QsXHJcbiAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgdGhpcy5zZXREYXRhKHtcclxuICAgICAgICAgICAgICBkYXRhTGlzdDogW10sXHJcbiAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH0pXHJcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XHJcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xyXG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcclxuICAgICAgICB9KTtcclxuICAgIH0sXHJcbiAgICBnZXRNb3JlTGlzdEl0ZW0oKSB7XHJcbiAgICAgIHd4LnNob3dMb2FkaW5nKHtcclxuICAgICAgICB0aXRsZTogJ+WKoOi9veS4rScsXHJcbiAgICAgICAgbWFzazogdHJ1ZSxcclxuICAgICAgfSk7XHJcbiAgICAgIGxldCBuZXh0UGFnZSA9IHRoaXMuZGF0YS5wYWdlTnVtICsgMTtcclxuICAgICAgdGhpcy5mZXRjaExpc3Qoe1xyXG4gICAgICAgIHBhZ2VOdW06IG5leHRQYWdlLFxyXG4gICAgICB9KVxyXG4gICAgICAgIC50aGVuKHJlcyA9PiB7XHJcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xyXG4gICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcclxuICAgICAgICAgIGNvbnN0IHsgbGlzdCwgcGFnZU51bSB9ID0gcmVzLmRhdGE7XHJcbiAgICAgICAgICBpZiAobGlzdCAmJiBsaXN0Lmxlbmd0aCkge1xyXG4gICAgICAgICAgICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAgICAgICAgIGRhdGFMaXN0OiBbLi4udGhpcy5kYXRhLmRhdGFMaXN0LCAuLi5saXN0XSxcclxuICAgICAgICAgICAgICBwYWdlTnVtLFxyXG4gICAgICAgICAgICB9KTtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9KVxyXG4gICAgICAgIC5jYXRjaChlcnIgPT4ge1xyXG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcclxuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XHJcbiAgICAgICAgfSk7XHJcbiAgICB9LFxyXG4gICAgb3BlbkVxdWlwbWVudChlKSB7XHJcbiAgICAgIHd4LnNob3dNb2RhbCh7XHJcbiAgICAgICAgdGl0bGU6ICfmj5DnpLonLFxyXG4gICAgICAgIGNvbnRlbnQ6ICfmmK/lkKblkK/nlKjorr7lpIcnLFxyXG4gICAgICAgIHN1Y2Nlc3M6IHJlcyA9PiB7XHJcbiAgICAgICAgICBpZiAocmVzLmNvbmZpcm0pIHtcclxuICAgICAgICAgICAgY29uc3QgeyBjb2RlLCB0eXBlIH0gPSBlLmN1cnJlbnRUYXJnZXQuZGF0YXNldDtcclxuICAgICAgICAgICAgY29uc29sZS5sb2coY29kZSk7XHJcbiAgICAgICAgICAgIGRldmljZUZldGNoKHtcclxuICAgICAgICAgICAgICB1cmw6IGAvZGV2aWNlLyR7Y29kZX0vJHt0eXBlfS9lbmFibGVgLFxyXG4gICAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxyXG4gICAgICAgICAgICB9KVxyXG4gICAgICAgICAgICAgIC50aGVuKHJlcyA9PiB7XHJcbiAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xyXG4gICAgICAgICAgICAgICAgICB0aXRsZTogcmVzLm1zZyB8fCAn5pON5L2c5oiQ5YqfJyxcclxuICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICAgICAgdGhpcy5yZWZyZXNoTGlzdCgpO1xyXG4gICAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgICAgLmNhdGNoKGVyciA9PiB7XHJcbiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xyXG4gICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH0sXHJcbiAgICAgIH0pO1xyXG4gICAgfSxcclxuICAgIGNsb3NlRXF1aXBtZW50KGUpIHtcclxuICAgICAgd3guc2hvd01vZGFsKHtcclxuICAgICAgICB0aXRsZTogJ+aPkOekuicsXHJcbiAgICAgICAgY29udGVudDogJ+aYr+WQpuemgeeUqOiuvuWkhycsXHJcbiAgICAgICAgc3VjY2VzczogcmVzID0+IHtcclxuICAgICAgICAgIGlmIChyZXMuY29uZmlybSkge1xyXG4gICAgICAgICAgICBjb25zdCB7IGNvZGUsIHR5cGUgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xyXG4gICAgICAgICAgICBjb25zb2xlLmxvZyhjb2RlKTtcclxuICAgICAgICAgICAgZGV2aWNlRmV0Y2goe1xyXG4gICAgICAgICAgICAgIHVybDogYC9kZXZpY2UvJHtjb2RlfS8ke3R5cGV9L2ZvcmJpZGRlbmAsXHJcbiAgICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCcsXHJcbiAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgICAgLnRoZW4ocmVzID0+IHtcclxuICAgICAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XHJcbiAgICAgICAgICAgICAgICAgIHRpdGxlOiByZXMubXNnIHx8ICfmk43kvZzmiJDlip8nLFxyXG4gICAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnJlZnJlc2hMaXN0KCk7XHJcbiAgICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgICAuY2F0Y2goZXJyID0+IHtcclxuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XHJcbiAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfSxcclxuICAgICAgfSk7XHJcbiAgICB9LFxyXG4gIH0sXHJcbn0pO1xyXG4iXX0=
\ No newline at end of file \ No newline at end of file
{ {
"component": true, "component": true,
"usingComponents": { "usingComponents": {
"c-select": "../components/Select/Select" "c-select": "../Select/Select"
} }
} }
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); exports.__esModule = true;
var fetch_1 = require("../../../api/fetch"); var fetch_1 = require("../../../api/fetch");
// pages/components/FeedbackItem/FeedbackItem.ts
Component({ Component({
/**
* 组件的属性列表
*/
properties: { properties: {
feedbackData: { feedbackData: {
type: Object, type: Object,
...@@ -14,13 +18,19 @@ Component({ ...@@ -14,13 +18,19 @@ Component({
customerSex: '', customerSex: '',
feedbackContent: '', feedbackContent: '',
id: 0, id: 0,
state: '', state: ''
}, }
}, }
}, },
/**
* 组件的初始数据
*/
data: { data: {
inputValue: '', inputValue: ''
}, },
/**
* 组件的方法列表
*/
methods: { methods: {
makePhoneCallHandle: function () { makePhoneCallHandle: function () {
console.log('in makePhoneCallHandle'); console.log('in makePhoneCallHandle');
...@@ -31,48 +41,47 @@ Component({ ...@@ -31,48 +41,47 @@ Component({
}, },
fail: function () { fail: function () {
console.log('fail'); console.log('fail');
}, }
}); });
}, },
inputHandle: function (e) { inputHandle: function (e) {
var val = e.detail.value; var val = e.detail.value;
this.setData({ this.setData({
inputValue: val, inputValue: val
}); });
}, },
sendFeedback: function () { sendFeedback: function () {
var _this = this; var _this = this;
var val = this.data.inputValue; var val = this.data.inputValue;
fetch_1.customerFetch({ (0, fetch_1.customerFetch)({
url: '/feedback/feedback', url: '/feedback/feedback',
method: 'PUT', method: 'PUT',
data: { data: {
id: this.data.feedbackData.id, id: this.data.feedbackData.id,
replayContent: val, replayContent: val,
state: '3', state: '3'
}, }
}) })
.then(function (res) { .then(function (res) {
wx.showToast({ wx.showToast({
title: res.msg, title: res.msg
}); });
_this.setData({ _this.setData({
inputValue: '', inputValue: ''
}); });
_this.triggerEvent('refresh', {}); _this.triggerEvent('refresh', {});
}) })["catch"](function (err) {
.catch(function (err) {
wx.showToast({ wx.showToast({
title: err.errMsg, title: err.errMsg,
icon: 'none', icon: 'none'
}); });
}); });
}, },
goDetailPage: function () { goDetailPage: function () {
console.log(this.data.feedbackData);
wx.navigateTo({ wx.navigateTo({
url: "/pages/feedbackDetail/feedbackDetail?customerName=" + this.data.feedbackData.customerName + "&customerPhone=" + this.data.feedbackData.customerPhone + "&id=" + this.data.feedbackData.id, url: "/pages/feedbackDetail/feedbackDetail?customerName=".concat(this.data.feedbackData.customerName, "&customerPhone=").concat(this.data.feedbackData.customerPhone, "&id=").concat(this.data.feedbackData.id, "&areaId=").concat(this.data.feedbackData.areaId)
}); });
}, }
}, }
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRmVlZGJhY2tJdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiRmVlZGJhY2tJdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsNENBQW1EO0FBR25ELFNBQVMsQ0FBQztJQUlSLFVBQVUsRUFBRTtRQUNWLFlBQVksRUFBRTtZQUNaLElBQUksRUFBRSxNQUFNO1lBQ1osS0FBSyxFQUFFO2dCQUNMLE1BQU0sRUFBRSxDQUFDO2dCQUNULFFBQVEsRUFBRSxFQUFFO2dCQUNaLFVBQVUsRUFBRSxDQUFDO2dCQUNiLFlBQVksRUFBRSxFQUFFO2dCQUNoQixhQUFhLEVBQUUsRUFBRTtnQkFDakIsV0FBVyxFQUFFLEVBQUU7Z0JBQ2YsZUFBZSxFQUFFLEVBQUU7Z0JBQ25CLEVBQUUsRUFBRSxDQUFDO2dCQUNMLEtBQUssRUFBRSxFQUFFO2FBQ1Y7U0FDRjtLQUNGO0lBS0QsSUFBSSxFQUFFO1FBQ0osVUFBVSxFQUFFLEVBQUU7S0F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cbiAgICAgICAgYXJlYUlkOiAwLFxuICAgICAgICBhcmVhTmFtZTogJycsXG4gICAgICAgIGN1c3RvbWVySWQ6IDAsXG4gICAgICAgIGN1c3RvbWVyTmFtZTogJycsXG4gICAgICAgIGN1c3RvbWVyUGhvbmU6ICcnLFxuICAgICAgICBjdXN0b21lclNleDogJycsXG4gICAgICAgIGZlZWRiYWNrQ29udGVudDogJycsXG4gICAgICAgIGlkOiAwLFxuICAgICAgICBzdGF0ZTogJycsXG4gICAgICB9LFxuICAgIH0sXG4gIH0sXG5cbiAgLyoqXG4gICAqIOe7hOS7tueahOWIneWni+aVsOaNrlxuICAgKi9cbiAgZGF0YToge1xuICAgIGlucHV0VmFsdWU6ICcnLFxuICB9LFxuXG4gIC8qKlxuICAgKiDnu4Tku7bnmoTmlrnms5XliJfooahcbiAgICovXG4gIG1ldGhvZHM6IHtcbiAgICBtYWtlUGhvbmVDYWxsSGFuZGxlKCkge1xuICAgICAgY29uc29sZS5sb2coJ2luIG1ha2VQaG9uZUNhbGxIYW5kbGUnKTtcbiAgICAgIHd4Lm1ha2VQaG9uZUNhbGwoe1xuICAgICAgICBwaG9uZU51bWJlcjogdGhpcy5kYXRhLmZlZWRiYWNrRGF0YS5jdXN0b21lclBob25lLFxuICAgICAgICBzdWNjZXNzOiAoKSA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coJ3N1Y2Nlc3MnKTtcbiAgICAgICAgfSxcbiAgICAgICAgZmFpbDogKCkgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKCdmYWlsJyk7XG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgICB9LFxuICAgIGlucHV0SGFuZGxlKGUpIHtcbiAgICAgIGNvbnN0IHZhbCA9IGUuZGV0YWlsLnZhbHVlO1xuICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgaW5wdXRWYWx1ZTogdmFsLFxuICAgICAgfSk7XG4gICAgfSxcblxuICAgIHNlbmRGZWVkYmFjaygpIHtcb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2tEYXRhLmN1c3RvbWVyUGhvbmV9JmlkPSR7dGhpcy5kYXRhLmZlZWRiYWNrRGF0YS5pZH1gLFxuICAgICAgfSk7XG4gICAgfSxcbiAgfSxcbn0pO1xuIl19
\ No newline at end of file
...@@ -82,7 +82,7 @@ Component({ ...@@ -82,7 +82,7 @@ Component({
}, },
goDetailPage() { goDetailPage() {
wx.navigateTo({ wx.navigateTo({
url: `/pages/feedbackDetail/feedbackDetail?customerName=${this.data.feedbackData.customerName}&customerPhone=${this.data.feedbackData.customerPhone}&id=${this.data.feedbackData.id}`, url: `/pages/feedbackDetail/feedbackDetail?customerName=${this.data.feedbackData.customerName}&customerPhone=${this.data.feedbackData.customerPhone}&id=${this.data.feedbackData.id}&areaId=${this.data.feedbackData.areaId}`,
}); });
}, },
}, },
......
...@@ -30,4 +30,4 @@ Component({ ...@@ -30,4 +30,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTmF2SXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIk5hdkl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFJQSxJQUFNLEdBQUcsR0FBRyxNQUFNLEVBQVUsQ0FBQztBQUM3QixTQUFTLENBQUM7SUFJUixVQUFVLEVBQUU7UUFDVixPQUFPLEVBQUU7WUFDUCxJQUFJLEVBQUUsTUFBTTtZQUNaLEtBQUssRUFBRTtnQkFDTCxJQUFJLEVBQUUsRUFBRTtnQkFDUixJQUFJLEVBQUUsRUFBRTtnQkFDUixHQUFHLEVBQUUsRUFBRTtnQkFDUCxRQUFRLEVBQUUsS0FBSzthQUNoQjtTQUNGO0tBQ0Y7SUFLRCxJQUFJLEVBQUUsRUFBRTtJQUtSLE9BQU8sRUFBRTtRQUNQLFdBQVc7WUFDVCxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0F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55rOV5YiX6KGoXHJcbiAgICovXHJcbiAgbWV0aG9kczoge1xyXG4gICAgY2xpY2tIYW5kbGUoKSB7XHJcbiAgICAgIGlmICh0aGlzLmRhdGEubmF2RGF0YS5yZUxhdW5jaCAmJiB0aGlzLmRhdGEubmF2RGF0YS5uYW1lID09PSAn6YCA5Ye655m75b2VJykge1xyXG4gICAgICAgIGFwcC5yZXNldFVzZXJpbmZvKCk7XHJcbiAgICAgICAgd3gucmVkaXJlY3RUbyh7XHJcbiAgICAgICAgICB1cmw6IHRoaXMuZGF0YS5uYXZEYXRhLnVybCxcclxuICAgICAgICB9KTtcclxuICAgICAgfSBlbHNlIHtcclxuICAgICAgICB3eC5uYXZpZ2F0ZVRvKHtcclxuICAgICAgICAgIHVybDogdGhpcy5kYXRhLm5hdkRhdGEudXJsLFxyXG4gICAgICAgIH0pO1xyXG4gICAgICB9XHJcbiAgICB9LFxyXG4gIH0sXHJcbn0pO1xyXG4iXX0=
\ No newline at end of file \ No newline at end of file
...@@ -101,4 +101,4 @@ Component({ ...@@ -101,4 +101,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUGF5VHlwZUNoYXJ0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiUGF5VHlwZUNoYXJ0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsNENBQWtEO0FBR2xELElBQUksWUFBWSxHQUFHLElBQUksQ0FBQztBQUN4QixJQUFJLEtBQUssR0FBRyxFQUFFLENBQUM7QUFDZixJQUFNLFFBQVEsR0FBRztJQUNmLElBQUksRUFBRSxTQUFTO0lBQ2YsSUFBSSxFQUFFLFNBQVM7SUFDZixRQUFRLEVBQUUsU0FBUztJQUNuQixNQUFNLEVBQUUsU0FBUztDQUNsQixDQUFDO0FBRUYsbUJBQW1CLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLEVBQU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AgICAgIH1cbiAgICAgICAgICAgICAgICBuYW1lID0gbmFtZS5yZXBsYWNlKC9cXHhhMC9nLCAnXFx4YTBcXHhhMFxceGEwJyk7XG4gICAgICAgICAgICAgICAgY29uc29sZS5sb2cobmFtZSwgbmFtZS5sZW5ndGgpO1xuICAgICAgICAgICAgICAgIHJldHVybiBuYW1lICsgJyAgICcgKyBmb3JtYXRQcmljZShpdGVtLmNvdW50KTtcbiAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gJyc7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBvbkNsaWNrOiBldiA9PiB7XG4gICAgICAgICAgICAgIGNvbnNvbGUubG9nKGV2LCBwYXl0eXBlQ2hhcnQpO1xuICAgICAgICAgICAgICAvLyBsZXQgcG9pbnQgPSBwYXl0eXBlQ2hhcnQuZ2V0WFkoY2xpY2tlZEl0ZW0pO1xuICAgICAgICAgICAgICAvLyBwYXl0eXBlQ2hhcnQuc2hvd1Rvb2x0aXAocG9pbnQpO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICB9KTtcbiAgICAgICAgcGF5dHlwZUNoYXJ0ICYmIHBheXR5cGVDaGFydC5jaGFuZ2VEYXRhKG5ld1ZhbCk7XG4gICAgICB9LFxuICAgIH0sXG4gICAgbW9udGg6IHtcbiAgICAgIHR5cGU6IFN0cmluZyxcbiAgICAgIHZhbHVlOiAnJyxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICBtb250aCA9IG5ld1ZhbDtcbiAgICAgIH0sXG4gICAgfSxcbiAgfSxcbiAgZGF0YToge1xuICAgIG9wdHM6IHtcbiAgICAgIG9uSW5pdDogaW5pdENoYXJ0LFxuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ== //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUGF5VHlwZUNoYXJ0LmpzIiwic291cmNlUm9vdC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cnJheSxcclxuICAgICAgdmFsdWU6IFtdLFxyXG4gICAgICBvYnNlcnZlcihuZXdWYWwpIHtcclxuICAgICAgICBwYXl0eXBlQ2hhcnQgJiZcclxuICAgICAgICAgIHBheXR5cGVDaGFydC5sZWdlbmQoe1xyXG4gICAgICAgICAgICBwb3NpdGlvbjogJ3JpZ2h0JyxcclxuICAgICAgICAgICAgbWFya2VyOiAnc3F1YXJlJyxcclxuICAgICAgICAgICAgLy8gY3VzdG9tOiB0cnVlLFxyXG4gICAgICAgICAgICBpdGVtRm9ybWF0dGVyOiB2YWwgPT4ge1xyXG4gICAgICAgICAgICAgIGxldCBpdGVtID0gbmV3VmFsLmZpbmQoaXRlbSA9PiBpdGVtLm5hbWUgPT09IHZhbCk7XHJcbiAgICAgICAgICAgICAgaWYgKGl0ZW0pIHtcclxuICAgICAgICAgICAgICAgIGxldCBuYW1lID0gaXRlbS5uYW1lO1xyXG4gICAgICAgICAgICAgICAgd2hpbGUgKG5hbWUubGVuZ3RoIDwgNCkge1xyXG4gICAgICAgICAgICAgICAgICBuYW1lICs9ICdcXHhhMCc7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICBuYW1lID0gbmFtZS5yZXBsYWNlKC9cXHhhMC9nLCAnXFx4YTBcXHhhMFxceGEwJyk7XHJcbiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhuYW1lLCBuYW1lLmxlbmd0aCk7XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gbmFtZSArICcgICAnICsgZm9ybWF0UHJpY2UoaXRlbS5jb3VudCk7XHJcbiAgICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgIHJldHVybiAnJztcclxuICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgIG9uQ2xpY2s6IGV2ID0+IHtcclxuICAgICAgICAgICAgICBjb25zb2xlLmxvZyhldiwgcGF5dHlwZUNoYXJ0KTtcclxuICAgICAgICAgICAgICAvLyBsZXQgcG9pbnQgPSBwYXl0eXBlQ2hhcnQuZ2V0WFkoY2xpY2tlZEl0ZW0pO1xyXG4gICAgICAgICAgICAgIC8vIHBheXR5cGVDaGFydC5zaG93VG9vbHRpcChwb2ludCk7XHJcbiAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICB9KTtcclxuICAgICAgICBwYXl0eXBlQ2hhcnQgJiYgcGF5dHlwZUNoYXJ0LmNoYW5nZURhdGEobmV3VmFsKTtcclxuICAgICAgfSxcclxuICAgIH0sXHJcbiAgICBtb250aDoge1xyXG4gICAgICB0eXBlOiBTdHJpbmcsXHJcbiAgICAgIHZhbHVlOiAnJyxcclxuICAgICAgb2JzZXJ2ZXIobmV3VmFsKSB7XHJcbiAgICAgICAgbW9udGggPSBuZXdWYWw7XHJcbiAgICAgIH0sXHJcbiAgICB9LFxyXG4gIH0sXHJcbiAgZGF0YToge1xyXG4gICAgb3B0czoge1xyXG4gICAgICBvbkluaXQ6IGluaXRDaGFydCxcclxuICAgIH0sXHJcbiAgfSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file \ No newline at end of file
...@@ -67,11 +67,6 @@ Component({ ...@@ -67,11 +67,6 @@ Component({
if (platforFeeChart) { if (platforFeeChart) {
platforFeeChart.changeData(newVal); platforFeeChart.changeData(newVal);
} }
else {
setTimeout(function () {
platforFeeChart.changeData(newVal);
}, 1000);
}
if (platforFeeChart) { if (platforFeeChart) {
var index = findMaxIndex(newVal, 'totalMoney'); var index = findMaxIndex(newVal, 'totalMoney');
if (index !== -1) { if (index !== -1) {
...@@ -98,12 +93,12 @@ Component({ ...@@ -98,12 +93,12 @@ Component({
methods: { methods: {
clickHandle: function (e) { clickHandle: function (e) {
console.log(e); console.log(e);
var touches = e.detail.touches; var changedTouches = e.detail.changedTouches;
var x = 0; var x = 0;
var y = 0; var y = 0;
if (touches && touches.length) { if (changedTouches && changedTouches.length) {
x = touches[0].x; x = changedTouches[0].x;
y = touches[0].y; y = changedTouches[0].y;
} }
var objArr = platforFeeChart.getSnapRecords({ x: x, y: y }); var objArr = platforFeeChart.getSnapRecords({ x: x, y: y });
if (objArr.length) if (objArr.length)
...@@ -111,4 +106,4 @@ Component({ ...@@ -111,4 +106,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUGxhdGZvcm1GZWVDaGFydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIlBsYXRmb3JtRmVlQ2hhcnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLElBQUksZUFBZSxHQUFHLElBQUksQ0FBQztBQUMzQixJQUFJLEtBQUssR0FBRyxFQUFFLENBQUM7QUFFZixtQkFBbUIsTUFBTSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsRUFBRTtJQUMxQyxJQUFNLElBQUksR0FBRyxFQUFFLENBQUM7SUFDaEIsZUFBZSxHQUFHLElBQUksRUFBRSxDQUFDLEtBQUssQ0FBQztRQUM3QixFQUFFLEVBQUUsTUFBTTtRQUNWLEtBQUssT0FBQTtRQUNMLE1BQU0sUUFBQTtLQUNQLENBQUMsQ0FBQztJQUVILGVBQWUsQ0FBQyxNQUFNLENBQUMsSUFBSSxFQUFFO1FBQzNCLEtBQUssRUFBRTtZQUNMLEdBQUcsRUFBRSxDQUFDO1lBQ04sR0FBRyxFQUFFLEVBQUU7U0FDUjtLQUNGLENBQUMsQ0FBQztJQUNILGVBQWUsQ0FBQyxPQUFPLENBQUM7UUFDdEIsY0FBYyxFQUFFLEtBQUs7UUFDckIsVUFBVSxFQUFFO1lBQ1YsTUFBTSxFQUFFLENBQUM7WUFDVCxJQUFJLEVBQUUsU0FBUztZQUNmLE9BQU8sRUFBRSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUM7U0FDakI7UUFDRCxNQUFNLFlBQUMsRUFBRTtZQUNDLElBQUEsZ0JBQUssQ0FBUTtZQUNyQixLQ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LngrnnmoTkuIrovrnnlYzlnZDmoIdcclxuICAvLyAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XHJcbiAgLy8gICAgICAgICB0aGlzLnNldERhdGEoe1xyXG4gIC8vICAgICAgICAgICB4OiByZXMubGVmdCxcclxuICAvLyAgICAgICAgICAgeTogcmVzLnRvcCxcclxuICAvLyAgICAgICAgIH0pO1xyXG4gIC8vICAgICAgIH0pXHJcbiAgLy8gICAgICAgLmV4ZWMoKTtcclxuICAvLyAgIH0sXHJcbiAgLy8gfSxcclxuXHJcbiAgcHJvcGVydGllczoge1xyXG4gICAgZGF0YUxpc3Q6IHtcclxuICAgICAgdHlwZTogQXJyYXksXHJcbiAgICAgIHZhbHVlOiBbXSxcclxuICAgICAgb2JzZXJ2ZXIobmV3VmFsKSB7XHJcbiAgICAgICAgaWYgKHBsYXRmb3JGZWVDaGFydCkge1xyXG4gICAgICAgICAgcGxhdGZvckZlZUNoYXJ0LmNoYW5nZURhdGEobmV3VmFsKTtcclxuICAgICAgICB9XHJcbiAgICAgICAgaWYgKHBsYXRmb3JGZWVDaGFydCkge1xyXG4gICAgICAgICAgbGV0IGluZGV4ID0gZmluZE1heEluZGV4KG5ld1ZhbCwgJ3RvdGFsTW9uZXknKTtcclxuICAgICAgICAgIGlmIChpbmRleCAhPT0gLTEpIHtcclxuICAgICAgICAgICAgbGV0IGl0ZW0gPSBuZXdWYWxbaW5kZXhdO1xyXG4gICAgICAgICAgICBjb25zdCBwb2ludCA9IHBsYXRmb3JGZWVDaGFydC5nZXRQb3NpdGlvbihpdGVtKTtcclxuICAgICAgICAgICAgcGxhdGZvckZlZUNoYXJ0LnNob3dUb29sdGlwKHBvaW50KTtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgIH0sXHJcbiAgICB9LFxyXG4gICAgbW9udGg6IHtcclxuICAgICAgdHlwZTogU3RyaW5nLFxyXG4gICAgICB2YWx1ZTogJycsXHJcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xyXG4gICAgICAgIG1vbnRoID0gbmV3VmFsO1xyXG4gICAgICB9LFxyXG4gICAgfSxcclxuICB9LFxyXG4gIGRhdGE6IHtcclxuICAgIG9wdHM6IHtcclxuICAgICAgb25Jbml0OiBpbml0Q2hhcnQsXHJcbiAgICB9LFxyXG4gIH0sXHJcbiAgbWV0aG9kczoge1xyXG4gICAgY2xpY2tIYW5kbGUoZSkge1xyXG4gICAgICBjb25zb2xlLmxvZyhlKTtcclxuICAgICAgY29uc3QgeyBjaGFuZ2VkVG91Y2hlcyB9ID0gZS5kZXRhaWw7XHJcblxyXG4gICAgICBsZXQgeCA9IDA7XHJcbiAgICAgIGxldCB5ID0gMDtcclxuICAgICAgaWYgKGNoYW5nZWRUb3VjaGVzICYmIGNoYW5nZWRUb3VjaGVzLmxlbmd0aCkge1xyXG4gICAgICAgIHggPSBjaGFuZ2VkVG91Y2hlc1swXS54O1xyXG4gICAgICAgIHkgPSBjaGFuZ2VkVG91Y2hlc1swXS55O1xyXG4gICAgICB9XHJcbiAgICAgIGNvbnN0IG9iakFyciA9IHBsYXRmb3JGZWVDaGFydC5nZXRTbmFwUmVjb3Jkcyh7IHgsIHkgfSk7XHJcbiAgICAgIGlmIChvYmpBcnIubGVuZ3RoKSB0aGlzLnRyaWdnZXJFdmVudCgnc2VsZWN0ZWREYXRhJywgb2JqQXJyWzBdLl9vcmlnaW4pO1xyXG4gICAgfSxcclxuICB9LFxyXG59KTtcclxuIl19
\ No newline at end of file \ No newline at end of file
...@@ -86,10 +86,6 @@ Component({ ...@@ -86,10 +86,6 @@ Component({
observer(newVal) { observer(newVal) {
if (platforFeeChart) { if (platforFeeChart) {
platforFeeChart.changeData(newVal); platforFeeChart.changeData(newVal);
} else {
setTimeout(() => {
platforFeeChart.changeData(newVal);
}, 1000);
} }
if (platforFeeChart) { if (platforFeeChart) {
let index = findMaxIndex(newVal, 'totalMoney'); let index = findMaxIndex(newVal, 'totalMoney');
...@@ -117,13 +113,13 @@ Component({ ...@@ -117,13 +113,13 @@ Component({
methods: { methods: {
clickHandle(e) { clickHandle(e) {
console.log(e); console.log(e);
const { touches } = e.detail; const { changedTouches } = e.detail;
let x = 0; let x = 0;
let y = 0; let y = 0;
if (touches && touches.length) { if (changedTouches && changedTouches.length) {
x = touches[0].x; x = changedTouches[0].x;
y = touches[0].y; y = changedTouches[0].y;
} }
const objArr = platforFeeChart.getSnapRecords({ x, y }); const objArr = platforFeeChart.getSnapRecords({ x, y });
if (objArr.length) this.triggerEvent('selectedData', objArr[0]._origin); if (objArr.length) this.triggerEvent('selectedData', objArr[0]._origin);
......
<!-- pages/components/PlatformFeeChart/PlatformFeeChart.wxml --> <!-- pages/components/PlatformFeeChart/PlatformFeeChart.wxml -->
<ff-canvas id="PlatformFeeChart" canvas-id="PlatformFeeChart" opts="{{ opts }}" bindcanvastouch="clickHandle" /> <ff-canvas id="PlatformFeeChart" canvas-id="PlatformFeeChart" opts="{{ opts }}" bindcanvastouchend="clickHandle" />
\ No newline at end of file \ No newline at end of file
...@@ -287,4 +287,4 @@ Component({ ...@@ -287,4 +287,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUGxhdGZvcm1GZWVEaWFsb2cuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJQbGF0Zm9ybUZlZURpYWxvZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDRDQUFtRDtBQUduRCxJQUFNLEdBQUcsR0FBRyxNQUFNLEVBQVUsQ0FBQztBQUM3QixJQUFJLEtBQUssR0FBRyxJQUFJLENBQUM7QUFDakIsSUFBSSxRQUFRLEdBQUcsSUFBSSxDQUFDO0FBQ3BCLElBQUksZUFBZSxHQUFHLEtBQUssQ0FBQztBQUU1QixTQUFTLENBQUM7SUFDUixTQUFTLEVBQUU7UUFDVCxRQUFRO1lBQ04sT0FBTyxDQUFDLEdBQUcsQ0FBQyxHQ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GlzU2tpcDogMCxcbiAgICBpc09ubHlTaG93UHJvbXB0OiAwLFxuICAgIHJlY2hhcmdlQmFsYW5jZTogMCxcbiAgICBwYXlUaW1lTGltaXQ6IDAsXG4gICAgYmlsbFR5cGU6ICcwJyxcbiAgICBwYXlRclVybDogJycsXG4gICAgY291bnREb3duOiA2MDAsXG4gICAgY291bnREb3duU3RyaW5nOiAnMTDliIYwMOenkicsXG4gIH0sXG5cbiAgLyoqXG4gICAqIOe7hOS7tueahOaWueazleWIl+ihqFxuICAgKi9cbiAgbWV0aG9kczoge1xuICAgIGZldGNoUGxhdGZvcm1GZWUoKSB7XG4gICAgICBvcGVyYXRvckZldGNoKHtcbiAgICAgICAgdXJsOiAnL29wZXJhdGVCYWxhbmNlL3JlY2hhZ2UvaW5pdGRhdGEnLFxuICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgICAgZGF0YToge1xuICAgICAgICAgIG9wZXJhdGVJZDogdGhpcy5kYXRhLnVzZXJJbmZvLm9wZXJhdGVJZCxcbiAgICAgICAgICBvcGVyYXRlTmFtZTogdGhpcy5kYXRhLnVzZXJJbmZvLm9wZXJhdGVOYW1lLFxuICAgICAgICAgIHBvc2l0aW9uOiAzLFxuICAgICAgICAgIHR5cGU6IDIsXG4gICAgICAgIH0sXG4gICAgICB9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIGNvbnN0IHtcbiAgICAgICAgICAgIGlzU2tpcCxcbiAgICAgICAgICAgIHJlY2hhcmdlQmFsYW5jZSxcbiAgICAgICAgICAgIHBheVRpbWVMaW1pdCxcbiAgICAgICAgICAgIGlzT25seVNob3dQcm9tcHQsXG4gICAgICAgICAgfSA9IHJlcztcbiAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgaXNTa2lwLFxuICAgICAgICAgICAgcmVjaGFyZ2VCYWxhbmNlLFxuICAgICAgICAgICAgcGF5VGltZUxpbWl0LFxuICAgICAgICAgICAgc2hvd0RpYWxvZzogcmVjaGFyZ2VCYWxhbmNlID4gMCA/IHRydWUgOiBmYWxzZSxcbiAgICAgICAgICAgIGlzT25seVNob3dQcm9tcHQsXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgZmV0Y2hlZFBsYXRmb3JtID0gdHJ1ZTtcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgfSk7XG4gICAgfSxcbiAgICBjYW5jZWxTaG93KCkge1xuICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgc2hvd0RpYWxvZzogZmFsc2UsXG4gICAgICB9KTtcbiAgICB9LFxuICAgIGZldGNoUmVjaGFyZ2VJbmZvKCkge1xuICAgICAgY29uc29sZS5sb2coJ2luIGZldGNoUmVjaGFyZ2VJbmZvJyk7XG4gICAgICB3eC5zaG93TG9hZGluZyh7XG4gICAgICAgIHRpdGxlOiAnJyxcbiAgICAgIH0pO1xuICAgICAgd3gubG9naW4oe1xuICAgICAgICBzdWNjZXNzOiByZXMgPT4ge1xuICAgICAgICAgIGlmIChyZXMuY29kZSkge1xuICAgICAgICAgICAgY29uc3QgZW50aXR5ID0ge1xuICAgICAgICAgICAgICBiaWxsVHlwZTogdGhpcy5kYXRhLmJpbGxUeXBlLFxuICAgICAgICAgICAgICBpc0FncmVlOiAxLFxuICAgICAgICAgICAgICBqc0NvZGU6IHJlcy5jb2RlLFxuICAgICAgICAgICAgICBvcGVyYXRlSWQ6IHRoaXMuZGF0YS51c2VySW5mby5vcGVyYXRlSWQsXG4gICAgICAgICAgICAgIG9wZXJhdGVOYW1lOiB0aGlzLmRhdGEudXNlckluZm8ub3BlcmF0ZU5hbWUsXG4gICAgICAgICAgICAgIHJlY2hhcmdlVHlwZTogJzInLFxuICAgICAgICAgICAgICB0eXBlOiAyLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIG9wZXJhdG9yRmV0Y2goe1xuICAgICAgICAgICAgICB1cmw6ICcvb3BlcmF0ZUJhbGFuY2UvcmVjaGFnZS9vcmRlci9mb3JtaW5pJyxcbiAgICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICAgICAgICAgIGRhdGE6IGVudGl0eSxcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICAgICAgICBjb25zdCB7IHBheUluZm8gfSA9IHJlcztcbiAgICAgICAgICAgICAgICB3eC5yZXF1ZXN0UGF5bWVudCh7XG4gICAgICAgICAgICAgICAgICB0aW1lU3RhbXA6IHBheUluZm8udGltZVN0YW1wLnRvU3RyaW5nKCksXG4gICAgICAgICAgICAgICAgICBub25jZVN0cjogcGF5SW5mby5ub25jZVN0cixcbiAgICAgICAgICAgICAgICAgIHBhY2thZ2U6IHBheUluZm8ucGFja2FnZSxcbiAgICAgICAgICAgICAgICAgIHNpZ25UeXBlOiBwYXlJbmZvLnNpZ25UeXBlLFxuICAgICAgICAgICAgICAgICAgcGF5U2lnbjogcGF5SW5mby5wYXlTaWduLFxuICAgICAgICAgICAgICAgICAgc3VjY2VzczogcmVzID0+IHtcbiAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogJ+aUr+S7mOaIkOWKn++8gScsXG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgICAgICAgICAgIHNob3dEaWFsb2c6IGZhbHNlLFxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICBmYWlsKHJlcykge1xuICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiAn5pSv5LuY5aSx6LSl77yBJyxcbiAgICAgICAgICAgICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICAgICAgICB0aXRsZTogZXJyLm1zZyB8fCAn6K+35rGC5aSx6LSlJyxcbiAgICAgICAgICAgICAgICAgIGljb246ICdub25lJyxcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgICB0aXRsZTogcmVzLmVyck1zZyB8fCAn6K+35rGC5aSx6LSlJyxcbiAgICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBmYWlsKHJlcykge1xuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgIHRpdGxlOiByZXMuZXJyTXNnIHx8ICfor7fmsYLlpLHotKUnLFxuICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9LFxuICAgICAgfSk7XG4gICAgfSxcbiAgICBnb1JlY29yZHNQYWdlKCkge1xuICA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RlKCkge1xuICAgICAgd3guc2hvd0xvYWRpbmcoe1xuICAgICAgICB0aXRsZTogJycsXG4gICAgICB9KTtcbiAgICAgIGlmICh0aW1lcikge1xuICAgICAgICBjbGVhckludGVydmFsKHRpbWVyKTtcbiAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICBwYXlRclVybDogJycsXG4gICAgICAgICAgY291bnREb3duOiA2MDAsXG4gICAgICAgICAgY291bnREb3duU3RyaW5nOiAnMOenkicsXG4gICAgICAgIH0pO1xuICAgICAgfVxuICAgICAgd3gubG9naW4oe1xuICAgICAgICBzdWNjZXNzOiByZXMgPT4ge1xuICAgICAgICAgIGlmIChyZXMuY29kZSkge1xuICAgICAgICAgICAgY29uc3QgZW50aXR5ID0ge1xuICAgICAgICAgICAgICBiaWxsVHlwZTogdGhpcy5kYXRhLmJpbGxUeXBlLFxuICAgICAgICAgICAgICBpc0FncmVlOiAxLFxuICAgICAgICAgICAgICBqc0NvZGU6IHJlcy5jb2RlLFxuICAgICAgICAgICAgICBvcGVyYXRlSWQ6IHRoaXMuZGF0YS51c2VySW5mby5vcGVyYXRlSWQsXG4gICAgICAgICAgICAgIG9wZXJhdGVOYW1lOiB0aGlzLmRhdGEudXNlckluZm8ub3BlcmF0ZU5hbWUsXG4gICAgICAgICAgICAgIHJlY2hhcmdlVHlwZTogJzInLFxuICAgICAgICAgICAgICB0eXBlOiAyLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIG9wZXJhdG9yRmV0Y2goe1xuICAgICAgICAgICAgICB1cmw6ICcvb3BlcmF0ZUJhbGFuY2UvcmVjaGFnZS9vcmRlci9mb3Jjb2RlaW1nJyxcbiAgICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICAgICAgICAgIGRhdGE6IGVudGl0eSxcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgICAgICBjb25zdCB7IHBheVFyVXJsLCBvcmRlck51bSB9ID0gcmVzO1xuICAgICAgICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICAgICAgICBwYXlRclVybCxcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICB0aW1lciA9IHNldEludGVydmFsKCgpID0+IHtcbiAgICAgICAgICAgICAgICAgIGxldCBjb3VudCA9IHRoaXMuZGF0YS5jb3VudERvd247XG4gICAgICAgICAgICAgICAgICBpZiAoY291bnQgPT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgY2xlYXJJbnRlcnZhbCh0aW1lcik7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICAgICAgICAgICAgcGF5UXJVcmw6ICcnLFxuICAgICAgICAgICAgICAgICAgICAgIGNvdW50RG93bjogNjAwLFxuICAgICAgICAgICAgICAgICAgICAgIGNvdW50RG93blN0cmluZzogJzDnp5InLFxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBuZXdDb3VudCA9IGNvdW50IC0gMTtcbiAgICAgICAgICAgICAgICAgICAgbGV0IGNvdW50U3RyaW5nID1cbiAgICAgICAgICAgICAgICAgICAgICBNYXRoLmZsb29yKG5ld0NvdW50IC8gNjApICsgJ+WIhicgKyAobmV3Q291bnQgJSA2MCkgKyAn56eSJztcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgICAgICAgICAgICBjb3VudERvd246IG5ld0NvdW50LFxuICAgICAgICAgICAgICAgICAgICAgIGNvdW50RG93blN0cmluZzogY291bnRTdHJpbmcsXG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0sIDEwMDApO1xuICAgICAgICAgICAgICAgIHBheVRpbWVyID0gc2V0SW50ZXJ2YWwoKCkgPT4ge1xuICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coJ2luIHNldEludGVydmFsJyk7XG4gICAgICAgICAgICAgICAgICBvcGVyYXRvckZldGNoKHtcbiAgICAgICAgICAgICAgICAgICAgdXJsOiAnL29wZXJhdGVCYWxhbmNlL3JlY2hhZ2Uvc3VyZScsXG4gICAgICAgICAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICAgICAgICAgICAgICBkYXRhOiB7IG9yZGVyTnVtOiBvcmRlck51bSB9LFxuICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICBjb25zdCB7IHJlY2hhcmdlU3RhdGUgfSA9IHJlcztcbiAgICAgICAgICAgICAgICAgICAgICBpZiAocmVjaGFyZ2VTdGF0ZSA9PT0gJzEnKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogcmVzLm1zZyB8fCAnJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgaWNvbjogJ3N1Y2Nlc3MnLFxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgICBjbGVhckludGVydmFsKHBheVRpbWVyKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIHNob3dEaWFsb2c6IGZhbHNlLFxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICB9LCAzMDAwKTtcbiAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgICAgICAgdGl0bGU6IGVyci5tc2cgfHwgJ+ivt+axguWksei0pScsXG4gICAgICAgICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgICB0aXRsZTogcmVzLmVyck1zZyB8fCAn6K+35rGC5aSx6LSlJyxcbiAgICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBmYWlsKHJlcykge1xuICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgdGl0bGU6IHJlcy5lcnJNc2cgfHwgJ+ivt+axguWksei0pScsXG4gICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgICB9LFxuICB9LFxufSk7XG4iXX0= //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUGxhdGZvcm1GZWVEaWFsb2cuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJQbGF0Zm9ybUZlZURpYWxvZy50cyJdLCJuYW1lcyI6W10sI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JcbiAgICog57uE5Lu255qE5Yid5aeL5pWw5o2uXHJcbiAgICovXHJcbiAgZGF0YToge1xyXG4gICAgdXNlckluZm86IGFwcC5nbG9iYWxEYXRhLnVzZXJJbmZvLFxyXG4gICAgc2hvd0RpYWxvZzogZmFsc2UsXHJcbiAgICB0eXBlOiAxLCAvLyAxIOaUr+S7mCAyIOaJq+eggVxyXG4gICAgaXNTa2lwOiAwLFxyXG4gICAgaXNPbmx5U2hvd1Byb21wdDogMCxcclxuICAgIHJlY2hhcmdlQmFsYW5jZTogMCxcclxuICAgIHBheVRpbWVMaW1pdDogMCxcclxuICAgIGJpbGxUeXBlOiAnMCcsXHJcbiAgICBwYXlRclVybDogJycsXHJcbiAgICBjb3VudERvd246IDYwMCxcclxuICAgIGNvdW50RG93blN0cmluZzogJzEw5YiGMDDnp5InLFxyXG4gIH0sXHJcblxyXG4gIC8qKlxyXG4gICAqIOe7hOS7tueahOaWueazleWIl+ihqFxyXG4gICAqL1xyXG4gIG1ldGhvZHM6IHtcclxuICAgIGZldGNoUGxhdGZvcm1GZWUoKSB7XHJcbiAgICAgIG9wZXJhdG9yRmV0Y2goe1xyXG4gICAgICAgIHVybDogJy9vcGVyYXRlQmFsYW5jZS9yZWNoYWdlL2luaXRkYXRhJyxcclxuICAgICAgICBtZXRob2Q6ICdQT1NUJyxcclxuICAgICAgICBkYXRhOiB7XHJcbiAgICAgICAgICBvcGVyYXRlSWQ6IHRoaXMuZGF0YS51c2VySW5mby5vcGVyYXRlSWQsXHJcbiAgICAgICAgICBvcGVyYXRlTmFtZTogdGhpcy5kYXRhLnVzZXJJbmZvLm9wZXJhdGVOYW1lLFxyXG4gICAgICAgICAgcG9zaXRpb246IDMsXHJcbiAgICAgICAgICB0eXBlOiAyLFxyXG4gICAgICAgIH0sXHJcbiAgICAgIH0pXHJcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcclxuICAgICAgICAgIGNvbnN0IHtcclxuICAgICAgICAgICAgaXNTa2lwLFxyXG4gICAgICAgICAgICByZWNoYXJnZUJhbGFuY2UsXHJcbiAgICAgICAgICAgIHBheVRpbWVMaW1pdCxcclxuICAgICAgICAgICAgaXNPbmx5U2hvd1Byb21wdCxcclxuICAgICAgICAgIH0gPSByZXM7XHJcbiAgICAgICAgICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAgICAgICBpc1NraXAsXHJcbiAgICAgICAgICAgIHJlY2hhcmdlQmFsYW5jZSxcclxuICAgICAgICAgICAgcGF5VGltZUxpbWl0LFxyXG4gICAgICAgICAgICBzaG93RGlhbG9nOiByZWNoYXJnZUJhbGFuY2UgPiAwID8gdHJ1ZSA6IGZhbHNlLFxyXG4gICAgICAgICAgICBpc09ubHlTaG93UHJvbXB0LFxyXG4gICAgICAgICAgfSk7XHJcbiAgICAgICAgICBmZXRjaGVkUGxhdGZvcm0gPSB0cnVlO1xyXG4gICAgICAgIH0pXHJcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XHJcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xyXG4gICAgICAgIH0pO1xyXG4gICAgfSxcclxuICAgIGNhbmNlbFNob3coKSB7XHJcbiAgICAgIHRoaXMuc2V0RGF0YSh7XHJcbiAgICAgICAgc2hvd0RpYWxvZzogZmFsc2UsXHJcbiAgICAgIH0pO1xyXG4gICAgfSxcclxuICAgIGZldGNoUmVjaGFyZ2VJbmZvKCkge1xyXG4gICAgICBjb25zb2xlLmxvZygnaW4gZmV0Y2hSZWNoYXJnZUluZm8nKTtcclxuICAgICAgd3guc2hvd0xvYWRpbmcoe1xyXG4gICAgICAgIHRpdGxlOiAnJyxcclxuICAgICAgfSk7XHJcbiAgICAgIHd4LmxvZ2luKHtcclxuICAgICAgICBzdWNjZXNzOiByZXMgPT4ge1xyXG4gICAgICAgICAgaWYgKHJlcy5jb2RlKSB7XHJcbiAgICAgICAgICAgIGNvbnN0IGVudGl0eSA9IHtcclxuICAgICAgICAgICAgICBiaWxsVHlwZTogdGhpcy5kYXRhLmJpbGxUeXBlLFxyXG4gICAgICAgICAgICAgIGlzQWdyZWU6IDEsXHJcbiAgICAgICAgICAgICAganNDb2RlOiByZXMuY29kZSxcclxuICAgICAgICAgICAgICBvcGVyYXRlSWQ6IHRoaXMuZGF0YS51c2VySW5mby5vcGVyYXRlSWQsXHJcbiAgICAgICAgICAgICAgb3BlcmF0ZU5hbWU6IHRoaXMuZGF0YS51c2VySW5mby5vcGVyYXRlTmFtZSxcclxuICAgICAgICAgICAgICByZWNoYXJnZVR5cGU6ICcyJyxcclxuICAgICAgICAgICAgICB0eXBlOiAyLFxyXG4gICAgICAgICAgICB9O1xyXG4gICAgICAgICAgICBvcGVyYXRvckZldGNoKHtcclxuICAgICAgICAgICAgICB1cmw6ICcvb3BlcmF0ZUJhbGFuY2UvcmVjaGFnZS9vcmRlci9mb3JtaW5pJyxcclxuICAgICAgICAgICAgICBtZXRob2Q6ICdQT1NUJyxcclxuICAgICAgICAgICAgICBkYXRhOiBlbnRpdHksXHJcbiAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgICAgLnRoZW4ocmVzID0+IHtcclxuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XHJcbiAgICAgICAgICAgICAgICBjb25zdCB7IHBheUluZm8gfSA9IHJlcztcclxuICAgICAgICAgICAgICAgIHd4LnJlcXVlc3RQYXltZW50KHtcclxuICAgICAgICAgICAgICAgICAgdGltZVN0YW1wOiBwYXlJbmZvLnRpbWVTdGFtcC50b1N0cmluZygpLFxyXG4gICAgICAgICAgICAgICAgICBub25jZVN0cjogcGF5SW5mby5ub25jZVN0cixcclxuICAgICAgICAgICAgICAgICAgcGFja2FnZTogcGF5SW5mby5wYWNrYWdlLFxyXG4gICAgICAgICAgICAgICAgICBzaWduVHlwZTogcGF5SW5mby5zaWduVHlwZSxcclxuICAgICAgICAgICAgICAgICAgcGF5U2lnbjogcGF5SW5mby5wYXlTaWduLFxyXG4gICAgICAgICAgICAgICAgICBzdWNjZXNzOiByZXMgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XHJcbiAgICAgICAgICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcclxuICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiAn5pSv5LuY5oiQ5Yqf77yBJyxcclxuICAgICAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAgICAgICAgICAgICAgICAgc2hvd0RpYWxvZzogZmFsc2UsXHJcbiAgICAgICAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICAgICAgIGZhaWwocmVzKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcclxuICAgICAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xyXG4gICAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICfmlK/ku5jlpLHotKXvvIEnLFxyXG4gICAgICAgICAgICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxyXG4gICAgICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICAgICAgICB9LFxyXG4gICAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgICAuY2F0Y2goZXJyID0+IHtcclxuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XHJcbiAgICAgICAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xyXG4gICAgICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcclxuICAgICAgICAgICAgICAgICAgdGl0bGU6IGVyci5tc2cgfHwgJ+ivt+axguWksei0pScsXHJcbiAgICAgICAgICAgICAgICAgIGljb246ICdub25lJyxcclxuICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcclxuICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcclxuICAgICAgICAgICAgICB0aXRsZTogcmVzLmVyck1zZyB8fCAn6K+35rGC5aSx6LSlJyxcclxuICAgICAgICAgICAgICBpY29uOiAnbm9uZScsXHJcbiAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH0sXHJcbiAgICAgICAgZmFpbChyZXMpIHtcclxuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XHJcbiAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xyXG4gICAgICAgICAgICB0aXRsZTogcmVzLmVyck1zZyB8fCAn6K+35rGC5aSx6LSlJyxcclxuICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxyXG4gICAgICAgICAgfSk7XHJcbiAgICAgICAgfSxcclxuICAgICAgfSk7XHJcbiAgICB9LFxyXG4gICAgZ29SZWNvcmRzUGFnZSgpIHtcclxuICAgICAgd3gubmF2aWdhdGVUbyh7XHJcbiAgICAgICAgdXJsOiAnL3BhZ2VzL3BsYXRmb3JtRmVlL3BsYXRmb3JtRmVlJyxcclxuICAgICAgfSk7XHJcbiAgICB9LFxyXG4gICAgdG9nZ2xlVHlwZSgpIHtcclxuICAgICAgbGV0IHR5cGUgPSB0aGlzLmRhdGEudHlwZTtcclxuICAgICAgdGhpcy5zZXREYXRhKHtcclxuICAgICAgICB0eXBlOiB0eXBlID09PSAxID8gMiA6IDEsXHJcbiAgICAgIH0pO1xyXG4gICAgICBpZiAodHlwZSA9PT0gMSkge1xyXG4gICAgICAgIHRoaXMuZmV0Y2hSZWNoYXJnZU9yZGVyUVJjb2RlKCk7XHJcbiAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgdGltZXIgJiYgY2xlYXJJbnRlcnZhbCh0aW1lcik7XHJcbiAgICAgICAgdGhpcy5zZXREYXRhKHtcclxuICAgICAgICAgIGNvdW50RG93bjogNjAwLFxyXG4gICAgICAgICAgY291bnREb3duU3RyaW5nOiAnJyxcclxuICAgICAgICB9KTtcclxuICAgICAgfVxyXG4gICAgfSxcclxuICAgIGNoZWNrQmlsbFR5cGUoZSkge1xyXG4gICAgICBjb25zb2xlLmxvZyhlKTtcclxuICAgICAgY29uc3QgeyB2YWx1ZSB9ID0gZS5jdXJyZW50VGFyZ2V0LmRhdGFzZXQ7XHJcbiAgICAgIGlmICh2YWx1ZSA9PT0gdGhpcy5kYXRhLmJpbGxUeXBlKSByZXR1cm47XHJcbiAgICAgIHRoaXMuc2V0RGF0YSh7XHJcbiAgICAgICAgYmlsbFR5cGU6IHZhbHVlLFxyXG4gICAgICB9KTtcclxuICAgICAgaWYgKHRoaXMuZGF0YS50eXBlID09PSAyKSB7XHJcbiAgICAgICAgdGhpcy5mZXRjaFJlY2hhcmdlT3JkZXJRUmNvZGUoKTtcclxuICAgICAgfSBlbHNlIHtcclxuICAgICAgICBwYXlUaW1lciAmJiBjbGVhckludGVydmFsKHBheVRpbWVyKTtcclxuICAgICAgfVxyXG4gICAgfSxcclxuICAgIGZldGNoUmVjaGFyZ2VPcmRlclFSY29kZSgpIHtcclxuICAgICAgd3guc2hvd0xvYWRpbmcoe1xyXG4gICAgICAgIHRpdGxlOiAnJyxcclxuICAgICAgfSk7XHJcbiAgICAgIGlmICh0aW1lcikge1xyXG4gICAgICAgIGNsZWFySW50ZXJ2YWwodGltZXIpO1xyXG4gICAgICAgIHRoaXMuc2V0RGF0YSh7XHJcbiAgICAgICAgICBwYXlRclVybDogJycsXHJcbiAgICAgICAgICBjb3VudERvd246IDYwMCxcclxuICAgICAgICAgIGNvdW50RG93blN0cmluZzogJzDnp5InLFxyXG4gICAgICAgIH0pO1xyXG4gICAgICB9XHJcbiAgICAgIHd4LmxvZ2luKHtcclxuICAgICAgICBzdWNjZXNzOiByZXMgPT4ge1xyXG4gICAgICAgICAgaWYgKHJlcy5jb2RlKSB7XHJcbiAgICAgICAgICAgIGNvbnN0IGVudGl0eSA9IHtcclxuICAgICAgICAgICAgICBiaWxsVHlwZTogdGhpcy5kYXRhLmJpbGxUeXBlLFxyXG4gICAgICAgICAgICAgIGlzQWdyZWU6IDEsXHJcbiAgICAgICAgICAgICAganNDb2RlOiByZXMuY29kZSxcclxuICAgICAgICAgICAgICBvcGVyYXRlSWQ6IHRoaXMuZGF0YS51c2VySW5mby5vcGVyYXRlSWQsXHJcbiAgICAgICAgICAgICAgb3BlcmF0ZU5hbWU6IHRoaXMuZGF0YS51c2VySW5mby5vcGVyYXRlTmFtZSxcclxuICAgICAgICAgICAgICByZWNoYXJnZVR5cGU6ICcyJyxcclxuICAgICAgICAgICAgICB0eXBlOiAyLFxyXG4gICAgICAgICAgICB9O1xyXG4gICAgICAgICAgICBvcGVyYXRvckZldGNoKHtcclxuICAgICAgICAgICAgICB1cmw6ICcvb3BlcmF0ZUJhbGFuY2UvcmVjaGFnZS9vcmRlci9mb3Jjb2RlaW1nJyxcclxuICAgICAgICAgICAgICBtZXRob2Q6ICdQT1NUJyxcclxuICAgICAgICAgICAgICBkYXRhOiBlbnRpdHksXHJcbiAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgICAgLnRoZW4ocmVzID0+IHtcclxuICAgICAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XHJcbiAgICAgICAgICAgICAgICBjb25zdCB7IHBheVFyVXJsLCBvcmRlck51bSB9ID0gcmVzO1xyXG4gICAgICAgICAgICAgICAgdGhpcy5zZXREYXRhKHtcclxuICAgICAgICAgICAgICAgICAgcGF5UXJVcmwsXHJcbiAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICAgIHRpbWVyID0gc2V0SW50ZXJ2YWwoKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgICBsZXQgY291bnQgPSB0aGlzLmRhdGEuY291bnREb3duO1xyXG4gICAgICAgICAgICAgICAgICBpZiAoY291bnQgPT09IDApIHtcclxuICAgICAgICAgICAgICAgICAgICBjbGVhckludGVydmFsKHRpbWVyKTtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAgICAgICAgICAgICAgICAgcGF5UXJVcmw6ICcnLFxyXG4gICAgICAgICAgICAgICAgICAgICAgY291bnREb3duOiA2MDAsXHJcbiAgICAgICAgICAgICAgICAgICAgICBjb3VudERvd25TdHJpbmc6ICcw56eSJyxcclxuICAgICAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgICAgICBsZXQgbmV3Q291bnQgPSBjb3VudCAtIDE7XHJcbiAgICAgICAgICAgICAgICAgICAgbGV0IGNvdW50U3RyaW5nID1cclxuICAgICAgICAgICAgICAgICAgICAgIE1hdGguZmxvb3IobmV3Q291bnQgLyA2MCkgKyAn5YiGJyArIChuZXdDb3VudCAlIDYwKSArICfnp5InO1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XHJcbiAgICAgICAgICAgICAgICAgICAgICBjb3VudERvd246IG5ld0NvdW50LFxyXG4gICAgICAgICAgICAgICAgICAgICAgY291bnREb3duU3RyaW5nOiBjb3VudFN0cmluZyxcclxuICAgICAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfSwgMTAwMCk7XHJcbiAgICAgICAgICAgICAgICBwYXlUaW1lciA9IHNldEludGVydmFsKCgpID0+IHtcclxuICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coJ2luIHNldEludGVydmFsJyk7XHJcbiAgICAgICAgICAgICAgICAgIG9wZXJhdG9yRmV0Y2goe1xyXG4gICAgICAgICAgICAgICAgICAgIHVybDogJy9vcGVyYXRlQmFsYW5jZS9yZWNoYWdlL3N1cmUnLFxyXG4gICAgICAgICAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxyXG4gICAgICAgICAgICAgICAgICAgIGRhdGE6IHsgb3JkZXJOdW06IG9yZGVyTnVtIH0sXHJcbiAgICAgICAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgICAgICAgICAgLnRoZW4ocmVzID0+IHtcclxuICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHsgcmVjaGFyZ2VTdGF0ZSB9ID0gcmVzO1xyXG4gICAgICAgICAgICAgICAgICAgICAgaWYgKHJlY2hhcmdlU3RhdGUgPT09ICcxJykge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiByZXMubXNnIHx8ICcnLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGljb246ICdzdWNjZXNzJyxcclxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsZWFySW50ZXJ2YWwocGF5VGltZXIpO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIHNob3dEaWFsb2c6IGZhbHNlLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICB9KVxyXG4gICAgICAgICAgICAgICAgICAgIC5jYXRjaChlcnIgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcclxuICAgICAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICAgIH0sIDMwMDApO1xyXG4gICAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgICAgLmNhdGNoKGVyciA9PiB7XHJcbiAgICAgICAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xyXG4gICAgICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcclxuICAgICAgICAgICAgICAgICAgdGl0bGU6IGVyci5tc2cgfHwgJ+ivt+axguWksei0pScsXHJcbiAgICAgICAgICAgICAgICAgIGljb246ICdub25lJyxcclxuICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcclxuICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XHJcbiAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XHJcbiAgICAgICAgICAgICAgdGl0bGU6IHJlcy5lcnJNc2cgfHwgJ+ivt+axguWksei0pScsXHJcbiAgICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxyXG4gICAgICAgICAgICB9KTtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9LFxyXG4gICAgICAgIGZhaWwocmVzKSB7XHJcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xyXG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcclxuICAgICAgICAgIHd4LnNob3dUb2FzdCh7XHJcbiAgICAgICAgICAgIHRpdGxlOiByZXMuZXJyTXNnIHx8ICfor7fmsYLlpLHotKUnLFxyXG4gICAgICAgICAgICBpY29uOiAnbm9uZScsXHJcbiAgICAgICAgICB9KTtcclxuICAgICAgICB9LFxyXG4gICAgICB9KTtcclxuICAgIH0sXHJcbiAgfSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file \ No newline at end of file
...@@ -30,4 +30,4 @@ Component({ ...@@ -30,4 +30,4 @@ Component({
}, },
methods: {}, methods: {},
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUHJpY2VBbmRDb3VudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIlByaWNlQW5kQ291bnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw0Q0FBa0Q7QUFHbEQsU0FBUyxDQUFDO0lBSVIsVUFBVSxFQUFFO1FBQ1YsT0FBTyxFQUFFO1lBQ1AsSUFBSSxFQUFFLE1BQU07WUFDWixLQU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gICAgIHZhbHVlOiB7XG4gICAgICAgIHRpdGxlOiAnJyxcbiAgICAgICAgbnVtYmVyVHlwZTogJycsXG4gICAgICAgIGNvdW50OiAwLFxuICAgICAgfSxcbiAgICAgIG9ic2VydmVyOiBmdW5jdGlvbihuZXdWYWwpIHtcbiAgICAgICAgY29uc3QgeyBjb3VudCwgbnVtYmVyVHlwZSB9ID0gbmV3VmFsO1xuICAgICAgICBsZXQgZm9ybWF0Q291bnQgPSBjb3VudC50b1N0cmluZygpO1xuICAgICAgICBpZiAobnVtYmVyVHlwZSA9PT0gJ3ByaWNlJykge1xuICAgICAgICAgIGZvcm1hdENvdW50ID0gZm9ybWF0UHJpY2UoY291bnQpO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIGZvcm1hdENvdW50ID0gZm9ybWF0UHJpY2UoY291bnQpLnNwbGl0KCcuJylbMF07XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICBmb3JtYXRDb3VudCxcbiAgICAgICAgfSk7XG4gICAgICB9LFxuICAgIH0sXG4gIH0sXG4gIC8qKlxuICAgKiDnu4Tku7bnmoTliJ3lp4vmlbDmja5cbiAgICovXG4gIGRhdGE6IHtcbiAgICBmb3JtYXRDb3VudDogJzAnLFxuICB9LFxuXG4gIC8qKlxuICAgKiDnu4Tku7bnmoTmlrnms5XliJfooahcbiAgICovXG4gIG1ldGhvZHM6IHt9LFxufSk7XG4iXX0= //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUHJpY2VBbmRDb3VudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIlByaWNlQW5kQ291bnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw0Q0FBa0Q7QUFHbEQsU0FBUyxDQUFDO0lBSVIsVUFBVSxFQUFFO1FBQ1YsT0FBTyxFQUFFO1lBQ1AsSUFBSSxFQUFFLE1BQU07WU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clxuICAgICAgdmFsdWU6IHtcclxuICAgICAgICB0aXRsZTogJycsXHJcbiAgICAgICAgbnVtYmVyVHlwZTogJycsXHJcbiAgICAgICAgY291bnQ6IDAsXHJcbiAgICAgIH0sXHJcbiAgICAgIG9ic2VydmVyOiBmdW5jdGlvbihuZXdWYWwpIHtcclxuICAgICAgICBjb25zdCB7IGNvdW50LCBudW1iZXJUeXBlIH0gPSBuZXdWYWw7XHJcbiAgICAgICAgbGV0IGZvcm1hdENvdW50ID0gY291bnQudG9TdHJpbmcoKTtcclxuICAgICAgICBpZiAobnVtYmVyVHlwZSA9PT0gJ3ByaWNlJykge1xyXG4gICAgICAgICAgZm9ybWF0Q291bnQgPSBmb3JtYXRQcmljZShjb3VudCk7XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgIGZvcm1hdENvdW50ID0gZm9ybWF0UHJpY2UoY291bnQpLnNwbGl0KCcuJylbMF07XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHRoaXMuc2V0RGF0YSh7XHJcbiAgICAgICAgICBmb3JtYXRDb3VudCxcclxuICAgICAgICB9KTtcclxuICAgICAgfSxcclxuICAgIH0sXHJcbiAgfSxcclxuICAvKipcclxuICAgKiDnu4Tku7bnmoTliJ3lp4vmlbDmja5cclxuICAgKi9cclxuICBkYXRhOiB7XHJcbiAgICBmb3JtYXRDb3VudDogJzAnLFxyXG4gIH0sXHJcblxyXG4gIC8qKlxyXG4gICAqIOe7hOS7tueahOaWueazleWIl+ihqFxyXG4gICAqL1xyXG4gIG1ldGhvZHM6IHt9LFxyXG59KTtcclxuIl19
\ No newline at end of file \ No newline at end of file
...@@ -69,4 +69,4 @@ Component({ ...@@ -69,4 +69,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVjaGFyZ2VDaGFydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIlJlY2hhcmdlQ2hhcnQud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aXplKDQpO1xuICByZWNoYXJnZUNoYXJ0XG4gICAgLmFyZWEoKVxuICAgIC5wb3NpdGlvbignZGF5cypyZWNoYXJnZU1vbmV5JylcbiAgICAuY29sb3IoJ2woOTApIDA6IzY4OTVmZSAxOiNmZmYnKVxuICAgIC5zaGFwZSgnc21vb3RoJylcbiAgICAuc3R5bGUoe1xuICAgICAgZmlsbE9wYWNpdHk6IDAuNixcbiAgICB9KTtcbiAgLy8gcmVjaGFyZ2VDaGFydC5heGlzKCdyZWNoYXJnZU1vbmV5JywgZmFsc2UpO1xuICByZWNoYXJnZUNoYXJ0LnJlbmRlcigpO1xuICByZXR1cm4gcmVjaGFyZ2VDaGFydDtcbn1cblxuQ29tcG9uZW50KHtcbiAgcHJvcGVydGllczoge1xuICAgIGRhdGFMaXN0OiB7XG4gICAgICB0eXBlOiBBcnJheSxcbiAgICAgIHZhbHVlOiBbXSxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICByZWNoYXJnZUNoYXJ0ICYmIHJlY2hhcmdlQ2hhcnQuY2hhbmdlRGF0YShuZXdWYWwpO1xuICAgICAgfSxcbiAgICB9LFxuICAgIG1vbnRoOiB7XG4gICAgICB0eXBlOiBTdHJpbmcsXG4gICAgICB2YWx1ZTogJycsXG4gICAgICBvYnNlcnZlcihuZXdWYWwpIHtcbiAgICAgICAgbW9udGggPSBuZXdWYWw7XG4gICAgICB9LFxuICAgIH0sXG4gIH0sXG4gIGRhdGE6IHtcbiAgICBvcHRzOiB7XG4gICAgICBvbkluaXQ6IGluaXRDaGFydCxcbiAgICB9LFxuICB9LFxufSk7XG4iXX0= //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVjaGFyZ2VDaGFydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIlJlY2hhcmdlQ2hhcnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQUksYUFBYSxH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O1xyXG4iXX0=
\ No newline at end of file \ No newline at end of file
"use strict"; "use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) { var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) { for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i]; s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p]; t[p] = s[p];
} }
return t; return t;
};
return __assign.apply(this, arguments);
}; };
var refundChart = null; var refundChart = null;
var month = ''; var month = '';
...@@ -60,7 +63,7 @@ Component({ ...@@ -60,7 +63,7 @@ Component({
type: Array, type: Array,
value: [], value: [],
observer: function (newVal) { observer: function (newVal) {
var list = newVal.map(function (item) { return (__assign({}, item, { refundMoney: Math.abs(item.refundMoney) })); }); var list = newVal.map(function (item) { return (__assign(__assign({}, item), { refundMoney: Math.abs(item.refundMoney) })); });
refundChart && refundChart.changeData(list); refundChart && refundChart.changeData(list);
}, },
}, },
...@@ -78,4 +81,4 @@ Component({ ...@@ -78,4 +81,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVmdW5kQ2hhcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJSZWZ1bmRDaGFydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFDQSxJQUFJLFdBQVcsR0FBRyxJQUFJLENBQUM7QUFDdkIsSUFBSSxLQUFLLEdBQUcsRUFBRSxDQUFDO0FBRWYsbUJBQW1CLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLEVBQUU7SUFDMUMsSUFBTSxJQUFJLEdBQUcsRUFBRSxDQUFDO0lBQ2hCLFdBQVcsR0FBRyxJQUFJLEVBQUUsQ0FBQyxLQUFLLENBQUM7UUFDekIsRUFBRSx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ICByZWZ1bmRDaGFydFxuICAgIC5hcmVhKClcbiAgICAucG9zaXRpb24oJ2RheXMqcmVmdW5kTW9uZXknKVxuICAgIC5jb2xvcignbCg5MCkgMDojZjE2NmZkIDE6I2ZmZicpXG4gICAgLnNoYXBlKCdzbW9vdGgnKVxuICAgIC5zdHlsZSh7XG4gICAgICBmaWxsT3BhY2l0eTogMC42LFxuICAgIH0pO1xuICAvLyByZWZ1bmRDaGFydC5heGlzKCdyZWZ1bmRNb25leScsIGZhbHNlKTtcbiAgcmVmdW5kQ2hhcnQucmVuZGVyKCk7XG4gIHJldHVybiByZWZ1bmRDaGFydDtcbn1cblxuQ29tcG9uZW50KHtcbiAgcHJvcGVydGllczoge1xuICAgIGRhdGFMaXN0OiB7XG4gICAgICB0eXBlOiBBcnJheSxcbiAgICAgIHZhbHVlOiBbXSxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICBsZXQgbGlzdCA9IG5ld1ZhbC5tYXAoaXRlbSA9PiAoe1xuICAgICAgICAgIC4uLml0ZW0sXG4gICAgICAgICAgcmVmdW5kTW9uZXk6IE1hdGguYWJzKGl0ZW0ucmVmdW5kTW9uZXkpLFxuICAgICAgICB9KSk7XG4gICAgICAgIHJlZnVuZENoYXJ0ICYmIHJlZnVuZENoYXJ0LmNoYW5nZURhdGEobGlzdCk7XG4gICAgICB9LFxuICAgIH0sXG4gICAgbW9udGg6IHtcbiAgICAgIHR5cGU6IFN0cmluZyxcbiAgICAgIHZhbHVlOiAnJyxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICBtb250aCA9IG5ld1ZhbDtcbiAgICAgIH0sXG4gICAgfSxcbiAgfSxcbiAgZGF0YToge1xuICAgIG9wdHM6IHtcbiAgICAgIG9uSW5pdDogaW5pdENoYXJ0LFxuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ== //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVmdW5kQ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0ID0gbmV3VmFsLm1hcChpdGVtID0+ICh7XHJcbiAgICAgICAgICAuLi5pdGVtLFxyXG4gICAgICAgICAgcmVmdW5kTW9uZXk6IE1hdGguYWJzKGl0ZW0ucmVmdW5kTW9uZXkpLFxyXG4gICAgICAgIH0pKTtcclxuICAgICAgICByZWZ1bmRDaGFydCAmJiByZWZ1bmRDaGFydC5jaGFuZ2VEYXRhKGxpc3QpO1xyXG4gICAgICB9LFxyXG4gICAgfSxcclxuICAgIG1vbnRoOiB7XHJcbiAgICAgIHR5cGU6IFN0cmluZyxcclxuICAgICAgdmFsdWU6ICcnLFxyXG4gICAgICBvYnNlcnZlcihuZXdWYWwpIHtcclxuICAgICAgICBtb250aCA9IG5ld1ZhbDtcclxuICAgICAgfSxcclxuICAgIH0sXHJcbiAgfSxcclxuICBkYXRhOiB7XHJcbiAgICBvcHRzOiB7XHJcbiAgICAgIG9uSW5pdDogaW5pdENoYXJ0LFxyXG4gICAgfSxcclxuICB9LFxyXG59KTtcclxuIl19
\ No newline at end of file \ No newline at end of file
...@@ -45,4 +45,4 @@ Component({ ...@@ -45,4 +45,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VsZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiU2VsZWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxTQUFTLENBQUM7SUFDUixlQUFlLEVBQUUsQ0FBQyxVQUFVLENBQUM7SUFDN0IsVUFBVSxFQUFFO1FBQ1YsV0FBVyxFQUFFO1lBQ1gsSUFBSSxFQUFFLE1BQU07WUFDWixLQUFLLEVBQUUsS0FBSztTQUNiO1FBQ0QsS0FBSyxFQUFFO1lBQ0wsSUFBSSxFQUFFLEtBQUs7WUFDWCxLQUFLLEVBQUUsRUFBRTtTQUNWO1FBQ0QsUUFBUSxFQUFFO1lBQ1IsSUFBSSxFQUFFLE1B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cbiAgfSxcclxuICBkYXRhOiB7XHJcbiAgICBzZWxlY3RlZDogJycsXHJcbiAgfSxcclxuICBtZXRob2RzOiB7XHJcbiAgICBiaW5kUGlja2VyQ2hhbmdlKGUpIHtcclxuICAgICAgY29uc3QgeyB2YWx1ZSB9ID0gZS5kZXRhaWw7XHJcbiAgICAgIGNvbnNvbGUubG9nKHZhbHVlKTtcclxuICAgICAgdGhpcy5zZXREYXRhISh7XHJcbiAgICAgICAgc2VsZWN0ZWQ6IHZhbHVlLFxyXG4gICAgICB9KTtcclxuICAgICAgdGhpcy50cmlnZ2VyRXZlbnQoJ2NoYW5nZScsIHsgdmFsdWUgfSk7XHJcbiAgICB9LFxyXG4gIH0sXHJcbn0pO1xyXG4iXX0=
\ No newline at end of file \ No newline at end of file
...@@ -25,4 +25,4 @@ Component({ ...@@ -25,4 +25,4 @@ Component({
}, },
methods: {}, methods: {},
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VydmljZUNvdW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiU2VydmljZUNvdW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsNENBQWtEO0FBR2xELFNBQVMsQ0FBQztJQUlSLFVBQVUsRUFBRTtRQUNWLE9BQU8sRUFBRTtZQUNQLElBQUksRUFBRSxNQUFNO1lBQ1osS0FBSyxFQUFFO2dCQUNMLEtBQUssRUFBRSxFQUFFO2dCQUNULFVBQVUsRUFBRSxFQUFFO2dCQUNkLEtBQUssRUFBRSxDQUFDO2dCQUNSLEtBQUssRUFBRSxDQUFDO2FBQ1Q7WUFDRCxRQUFRLEVBQUUsVUFBUyxNQUFNO2dCQUNmLElBQUEsb0JBQUssQ0FBWTtnQkFDekIsSUFBSSxXQUFXLEdBQUcsa0JBQVcsQ0FBQyxLQUFLLENBQUMsQ0FBQztnQkFDckMsSUFBSSxDQUFDLE9BQU8sQ0FBQztvQkFDWCxXQUFXLGFBQUE7aUJBQ1osQ0FBQyxDQUFDO1lBQ0wsQ0FBQztTQUNGO0tBQ0Y7SUFJRCxJQUFJLEVBQUU7UUFDSixXQUFXLEVBQUUsTUFBTTtLQUNwQjtJQUtELE9BQU8sRUFBRSxFQUFFO0NBQ1osQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgZm9ybWF0UHJpY2UgfSBmcm9tICcuLi8uLi8uLi91dGlscy91dGlsJztcblxuLy8gcGFnZXMvY29tcG9uZW50cy9TZXJ2aWNlQ291bnQvU2VydmljZUNvdW50LmpzXG5Db21wb25lbnQoe1xuICAvKipcbiAgICog57uE5Lu255qE5bGe5oCn5YiX6KGoXG4gICAqL1xuICBwcm9wZXJ0aWVzOiB7XG4gICAgdGFnRGF0YToge1xuICAgICAgdHlwZTogT2JqZWN0LFxuICAgICAgdmFsdWU6IHtcbiAgICAgICAgdGl0bGU6ICcnLFxuICAgICAgICBudW1iZXJUeXBlOiAnJyxcbiAgICAgICAgY291bnQ6IDAsXG4gICAgICAgIHByaWNlOiAwLFxuICAgICAgfSxcbiAgICAgIG9ic2VydmVyOiBmdW5jdGlvbihuZXdWYWwpIHtcbiAgICAgICAgY29uc3QgeyBwcmljZSB9ID0gbmV3VmFsO1xuICAgICAgICBsZXQgZm9ybWF0Q291bnQgPSBmb3JtYXRQcmljZShwcmljZSk7XG4gICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgZm9ybWF0Q291bnQsXG4gICAgICAgIH0pO1xuICAgICAgfSxcbiAgICB9LFxuICB9LFxuICAvKipcbiAgICog57uE5Lu255qE5Yid5aeL5pWw5o2uXG4gICAqL1xuICBkYXRhOiB7XG4gICAgZm9ybWF0Q291bnQ6ICcwLjAwJyxcbiAgfSxcblxuICAvKipcbiAgICog57uE5Lu255qE5pa55rOV5YiX6KGoXG4gICAqL1xuICBtZXRob2RzOiB7fSxcbn0pO1xuIl19 //# sourceMappingURL=data:application/json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QsXHJcbiAgICAgIHZhbHVlOiB7XHJcbiAgICAgICAgdGl0bGU6ICcnLFxyXG4gICAgICAgIG51bWJlclR5cGU6ICcnLFxyXG4gICAgICAgIGNvdW50OiAwLFxyXG4gICAgICAgIHByaWNlOiAwLFxyXG4gICAgICB9LFxyXG4gICAgICBvYnNlcnZlcjogZnVuY3Rpb24obmV3VmFsKSB7XHJcbiAgICAgICAgY29uc3QgeyBwcmljZSB9ID0gbmV3VmFsO1xyXG4gICAgICAgIGxldCBmb3JtYXRDb3VudCA9IGZvcm1hdFByaWNlKHByaWNlKTtcclxuICAgICAgICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAgICAgZm9ybWF0Q291bnQsXHJcbiAgICAgICAgfSk7XHJcbiAgICAgIH0sXHJcbiAgICB9LFxyXG4gIH0sXHJcbiAgLyoqXHJcbiAgICog57uE5Lu255qE5Yid5aeL5pWw5o2uXHJcbiAgICovXHJcbiAgZGF0YToge1xyXG4gICAgZm9ybWF0Q291bnQ6ICcwLjAwJyxcclxuICB9LFxyXG5cclxuICAvKipcclxuICAgKiDnu4Tku7bnmoTmlrnms5XliJfooahcclxuICAgKi9cclxuICBtZXRob2RzOiB7fSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file \ No newline at end of file
"use strict"; "use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) { var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) { for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i]; s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p]; t[p] = s[p];
} }
return t; return t;
};
return __assign.apply(this, arguments);
}; };
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
var util_1 = require("../../../utils/util"); var util_1 = require("../../../utils/util");
...@@ -16,7 +19,7 @@ Component({ ...@@ -16,7 +19,7 @@ Component({
value: [], value: [],
observer: function (newVal) { observer: function (newVal) {
var maxnum = Math.ceil(Math.max.apply(Math, newVal.map(function (item) { return item.payableMoney; })) / 0.9); var maxnum = Math.ceil(Math.max.apply(Math, newVal.map(function (item) { return item.payableMoney; })) / 0.9);
var list = newVal.map(function (item) { return (__assign({}, item, { payableMoney: util_1.formatPrice(item.payableMoney), precent: Math.ceil((item.payableMoney / maxnum) * 100) })); }); var list = newVal.map(function (item) { return (__assign(__assign({}, item), { payableMoney: util_1.formatPrice(item.payableMoney), precent: Math.ceil((item.payableMoney / maxnum) * 100) })); });
this.setData({ this.setData({
list: list, list: list,
}); });
...@@ -28,4 +31,4 @@ Component({ ...@@ -28,4 +31,4 @@ Component({
}, },
methods: {}, methods: {},
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VydmljZVR5cGVDaGFydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIlNlcnZpY2VUeXBlQ2hhcnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDRDQUFrRDtBQUdsRCxTQUFTLENBQUM7SUFJUixVQUFVLEVBQUU7UUFDVixRQUFRLEVBQUU7WUFDUixJQUFJLEVBQUUsS0FBSztZQUNYLEtBQUssRUFBRSxFQUFFO1lBQ1QsUUFBUSxZQUFDLE1BQU07Z0JBQ2IsSUFBSSxNQUFNLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FDcEIsSUFBSSxDQUFDLEdBQUcsT0FBUixJQUFJLEVBQVEsTUFBTSxDQUFDLEdBQUcsQ0FBQyxVQUFBLElBQUksSUFBSSxPQUFBLElBQUksQ0FBQyxZQUFZLEVBQWpCLENBQWlCLENBQUMsSUFBSSxHQUFHLENBQ3pELENBQUM7Z0JBQ0YsSUFBSSxJQUFJLEdBQUcsTUFBTSxDQUFDLEdBQUcsQ0FBQyxVQUFBLElBQUksSUFBSSx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cbiAgICAgICAgICAuLi5pdGVtLFxyXG4gICAgICAgICAgcGF5YWJsZU1vbmV5OiBmb3JtYXRQcmljZShpdGVtLnBheWFibGVNb25leSksXHJcbiAgICAgICAgICBwcmVjZW50OiBNYXRoLmNlaWwoKGl0ZW0ucGF5YWJsZU1vbmV5IC8gbWF4bnVtKSAqIDEwMCksXHJcbiAgICAgICAgfSkpO1xyXG4gICAgICAgIHRoaXMuc2V0RGF0YSh7XHJcbiAgICAgICAgICBsaXN0LFxyXG4gICAgICAgIH0pO1xyXG4gICAgICB9LFxyXG4gICAgfSxcclxuICB9LFxyXG5cclxuICAvKipcclxuICAgKiDnu4Tku7bnmoTliJ3lp4vmlbDmja5cclxuICAgKi9cclxuICBkYXRhOiB7XHJcbiAgICBsaXN0OiBbXSxcclxuICB9LFxyXG5cclxuICAvKipcclxuICAgKiDnu4Tku7bnmoTmlrnms5XliJfooahcclxuICAgKi9cclxuICBtZXRob2RzOiB7fSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file \ No newline at end of file
...@@ -69,4 +69,4 @@ Component({ ...@@ -69,4 +69,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVXNlckFjdGl2aXR5Q2hhcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJVc2VyQWN0aXZpdHlDaGFydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0EsSUFBSSxpQkFBaUIsR0FBRyxJQUFJLENBQUM7QUFDN0IsSUFBSSxLQUFLLEdBQUcsRUFBRSxDQUFDO0FBRWYsbUJBQW1CLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLEVBQUU7SUFDMUMsSUFBTSxJQUFJLEdBQUcsRUFBRSxDQUFDO0lBQ2hCLGlCQUFpQixHQUFHLElBQUksRUFBRSxDQUFDLEtBQUssQ0FBQztRQUMvQixFQUFFLEVBQUUsTUFB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yKCcjNjg5NWZlJylcclxuICAgIC5zaGFwZSgnc21vb3RoJylcclxuICAgIC5zaXplKDQpO1xyXG4gIHVzZXJBY3Rpdml0eUNoYXJ0XHJcbiAgICAuYXJlYSgpXHJcbiAgICAucG9zaXRpb24oJ2RheXMqY291bnQnKVxyXG4gICAgLmNvbG9yKCdsKDkwKSAwOiM2ODk1ZmUgMTojZmZmJylcclxuICAgIC5zaGFwZSgnc21vb3RoJylcclxuICAgIC5zdHlsZSh7XHJcbiAgICAgIGZpbGxPcGFjaXR5OiAwLjYsXHJcbiAgICB9KTtcclxuICAvLyB1c2VyQWN0aXZpdHlDaGFydC5heGlzKCdjb3VudCcsIGZhbHNlKTtcclxuICB1c2VyQWN0aXZpdHlDaGFydC5yZW5kZXIoKTtcclxuICByZXR1cm4gdXNlckFjdGl2aXR5Q2hhcnQ7XHJcbn1cclxuXHJcbkNvbXBvbmVudCh7XHJcbiAgcHJvcGVydGllczoge1xyXG4gICAgZGF0YUxpc3Q6IHtcclxuICAgICAgdHlwZTogQXJyYXksXHJcbiAgICAgIHZhbHVlOiBbXSxcclxuICAgICAgb2JzZXJ2ZXIobmV3VmFsKSB7XHJcbiAgICAgICAgdXNlckFjdGl2aXR5Q2hhcnQgJiYgdXNlckFjdGl2aXR5Q2hhcnQuY2hhbmdlRGF0YShuZXdWYWwpO1xyXG4gICAgICB9LFxyXG4gICAgfSxcclxuICAgIG1vbnRoOiB7XHJcbiAgICAgIHR5cGU6IFN0cmluZyxcclxuICAgICAgdmFsdWU6ICcnLFxyXG4gICAgICBvYnNlcnZlcihuZXdWYWwpIHtcclxuICAgICAgICBtb250aCA9IG5ld1ZhbDtcclxuICAgICAgfSxcclxuICAgIH0sXHJcbiAgfSxcclxuICBkYXRhOiB7XHJcbiAgICBvcHRzOiB7XHJcbiAgICAgIG9uSW5pdDogaW5pdENoYXJ0LFxyXG4gICAgfSxcclxuICB9LFxyXG59KTtcclxuIl19
\ No newline at end of file \ No newline at end of file
...@@ -69,4 +69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YW5nZURhdGEobmV3VmFsKTtcclxuICAgICAgfSxcclxuICAgIH0sXHJcbiAgICBtb250aDoge1xyXG4gICAgICB0eXBlOiBTdHJpbmcsXHJcbiAgICAgIHZhbHVlOiAnJyxcclxuICAgICAgb2JzZXJ2ZXIobmV3VmFsKSB7XHJcbiAgICAgICAgbW9udGggPSBuZXdWYWw7XHJcbiAgICAgIH0sXHJcbiAgICB9LFxyXG4gIH0sXHJcbiAgZGF0YToge1xyXG4gICAgb3B0czoge1xyXG4gICAgICBvbkluaXQ6IGluaXRDaGFydCxcclxuICAgIH0sXHJcbiAgfSxcclxufSk7XHJcblxyXG4iXX0=
\ No newline at end of file \ No newline at end of file
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); exports.__esModule = true;
var fetch_1 = require("../../../api/fetch"); var fetch_1 = require("../../../api/fetch");
// pages/components/feedbackDetailItem/feedbackDetailItem.js
Component({ Component({
/**
* 组件的属性列表
*/
properties: { properties: {
itemData: { type: Object, value: {} }, itemData: { type: Object, value: {} },
shortcuts: { type: Array, value: [] }
}, },
/**
* 组件的初始数据
*/
data: { data: {
inputValue: '', inputValue: '',
autoHeight: true,
r1: true,
cb: false,
index: -1,
isHidden: true
}, },
/**
* 组件的方法列表
*/
methods: { methods: {
inputHandle: function (e) { inputHandle: function (e) {
var val = e.detail.value; var val = e.detail.value;
this.setData({ this.setData({
inputValue: val, inputValue: val
});
},
setContent: function (e) {
var content = e.currentTarget.dataset.content;
this.setData({
inputValue: content,
isHidden: true
});
},
del: function (e) {
var _this = this;
var id = e.currentTarget.dataset.id;
wx.showModal({
title: '删除提示',
content: '您确定要删除该快捷回复吗?',
success: function (res) {
if (res.confirm) {
(0, fetch_1.customerFetch)({
url: "/feedback/shortcuts/".concat(id),
method: 'DELETE'
})
.then(function (res) {
wx.showToast({
title: res.msg,
icon: 'none',
duration: 2000
});
_this.triggerEvent("getShortCuts");
})["catch"](function (err) {
wx.showToast({
title: err.errMsg,
icon: 'none'
});
});
}
}
});
},
showModal: function () {
this.setData({
isHidden: false
});
},
setV1: function (e) {
this.setData({
cb: e.detail.value
});
},
subData: function (str) {
console.log(str, str.substring(0, 20));
return str.substring(0, 20);
},
cancel: function () {
this.setData({
isHidden: true
});
},
setV: function (e) {
console.log(e);
this.setData({
r1: JSON.parse(e.detail.value)
}); });
}, },
sendFeedback: function (e) { sendFeedback: function (e) {
var _this = this; var _this = this;
var id = e.currentTarget.dataset.id; var id = e.currentTarget.dataset.id;
var val = this.data.inputValue; var val = this.data.inputValue;
if (val.trim() == "")
val = "您的反馈客服已处理,谢谢!";
console.log(val, id); console.log(val, id);
fetch_1.customerFetch({ if (this.data.cb && this.properties.shortcuts.length >= 5) {
wx.showModal({
title: '添加提示',
content: '当前默认回复列表已经5条,若加入此条回复,将造成最早一条默认回复被删除,确定继续吗?',
success: function (res) {
if (res.confirm) {
(0, fetch_1.customerFetch)({
url: '/feedback/feedback', url: '/feedback/feedback',
method: 'PUT', method: 'PUT',
data: { data: {
id: id, id: id,
isAddShortcut: _this.data.cb ? 1 : 0,
replayContent: val, replayContent: val,
state: '3', state: _this.data.r1 ? '3' : '2'
}, }
}) })
.then(function (res) { .then(function (res) {
wx.showToast({ wx.showToast({
title: res.msg, title: res.msg,
icon: 'none',
duration: 2000
}); });
_this.setData({ _this.setData({
inputValue: '', inputValue: ''
}); });
_this.triggerEvent('refresh', {}); // this.triggerEvent('refresh', {});
}) wx.navigateBack();
.catch(function (err) { })["catch"](function (err) {
wx.showToast({ wx.showToast({
title: err.errMsg, title: err.errMsg,
icon: 'none'
});
});
}
}
});
}
else {
(0, fetch_1.customerFetch)({
url: '/feedback/feedback',
method: 'PUT',
data: {
id: id,
replayContent: val,
isAddShortcut: this.data.cb ? 1 : 0,
state: this.data.r1 ? '3' : '2'
}
})
.then(function (res) {
wx.showToast({
title: res.msg,
icon: 'none', icon: 'none',
duration: 2000
}); });
_this.setData({
inputValue: ''
}); });
}, // this.triggerEvent('refresh', {});
}, wx.navigateBack();
})["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ICovXG4gIG1ldGhvZHM6IHtcbiAgICBpbnB1dEhhbmRsZShlKSB7XG4gICAgICBjb25zdCB2YWwgPSBlLmRldGFpbC52YWx1ZTtcbiAgICAgIHRoaXMuc2V0RGF0YSEoe1xuICAgICAgICBpbnB1dFZhbHVlOiB2YWwsXG4gICAgICB9KTtcbiAgICB9LFxuXG4gICAgc2VuZEZlZWRiYWNrKGUpIHtcbiAgICAgIGNvbnN0IHsgaWQgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xuICAgICAgY29uc3QgdmFsID0gdGhpcy5kYXRhLmlucHV0VmFsdWU7XG4gICAgICBjb25zb2xlLmxvZyh2YWwsIGlkKTtcblxuICAgICAgY3VzdG9tZXJGZXRjaCh7XG4gICAgICAgIHVybDogJy9mZWVkYmFjay9mZWVkYmFjaycsXG4gICAgICAgIG1ldGhvZDogJ1BVVCcsXG4gICAgICAgIGRhdGE6IHtcbiAgICAgICAgICBpZDogaWQsXG4gICAgICAgICAgcmVwbGF5Q29udGVudDogdmFsLFxuICAgICAgICAgIHN0YXRlOiAnMycsXG4gICAgICAgIH0sXG4gICAgICB9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICB0aXRsZTogcmVzLm1zZyxcbiAgICAgICAgICB9KTtcbiAgICAgICAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgICAgICAgIGlucHV0VmFsdWU6ICcnLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHRoaXMudHJpZ2dlckV2ZW50KCdyZWZyZXNoJywge30pO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goKGVycjogd3guR2VuZXJhbENhbGxiYWNrUmVzdWx0KSA9PiB7XG4gICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgIHRpdGxlOiBlcnIuZXJyTXNnLFxuICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9KTtcbiAgICB9LFxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
...@@ -8,54 +8,17 @@ Component({ ...@@ -8,54 +8,17 @@ Component({
properties: { properties: {
itemData: { type: Object, value: {} }, itemData: { type: Object, value: {} },
}, },
/** /**
* 组件的初始数据 * 组件的初始数据
*/ */
data: { data: {
inputValue: '', inputValue: '',
autoHeight: true,
}, },
/** /**
* 组件的方法列表 * 组件的方法列表
*/ */
methods: { methods: {
inputHandle(e) {
const val = e.detail.value;
this.setData!({
inputValue: val,
});
},
sendFeedback(e) {
const { id } = e.currentTarget.dataset;
const val = this.data.inputValue;
console.log(val, id);
customerFetch({
url: '/feedback/feedback',
method: 'PUT',
data: {
id: id,
replayContent: val,
state: '3',
},
})
.then(res => {
wx.showToast({
title: res.msg,
});
this.setData!({
inputValue: '',
});
this.triggerEvent('refresh', {});
})
.catch((err: wx.GeneralCallbackResult) => {
wx.showToast({
title: err.errMsg,
icon: 'none',
});
});
},
}, },
}); });
<!-- pages/components/feedbackDetailItem/feedbackDetailItem.wxml --> <!-- pages/components/feedbackDetailItem/feedbackDetailItem.wxml -->
<view class="feedbackDetail-item"> <view class="feedbackDetail-item">
<view class="row_bet1">
<image style="width: 50px; height: 50px;" mode="scaleToFill" src="../../../images/user.png"></image>
<view style="margin-left:20rpx">
<view class="feedbackDetail-itemTitle">{{itemData.feedbackContent}}</view> <view class="feedbackDetail-itemTitle">{{itemData.feedbackContent}}</view>
<view class="feedbackDetail-itemTime">{{itemData.createAt}}</view> <view class="feedbackDetail-itemTime">{{itemData.createAt}}</view>
<view class="feedbackDetail-itemBox"> </view>
<input class="feedbackDetail-itemInput" type="text" value="{{inputValue}}" bindinput="inputHandle" /> </view>
<!-- <view class="feedbackDetail-itemBox">
<input class="feedbackDetail-itemInput" type="text" placeholder="您的反馈客服已处理,谢谢!" value="{{inputValue}}" bindinput="inputHandle" />
<button class="feedbackDetail-itemBtn" bind:tap="sendFeedback" data-id="{{itemData.id}}">发送</button> <button class="feedbackDetail-itemBtn" bind:tap="sendFeedback" data-id="{{itemData.id}}">发送</button>
</view> -->
<!-- <view class="row_bet undeline">
<image style="width: 20px; height: 20px;" bindtap="showModal" mode="scaleToFill" src="../../../images/kuaijiehuifu.png"></image>
<modal title="快捷回复列表" hidden="{{isHidden}}" bindconfirm="cancel" bindcancel="cancel">
<view wx:for="{{shortcuts}}" class="ele" data-content="{{item.replyContent}}" catchtap="setContent">
<text>{{item.replyContent.length>16?tools.subStr(item.replyContent)+"...":item.replyContent}}</text>
<icon class="icon-small" data-id="{{item.id}}" catchtap="del" type="cancel" size="23"></icon>
</view>
</modal>
<view>
<checkbox-group bindchange="setV1">
<checkbox value="{{true}}" checked="{{false}}" color="#6A92FF"/>加入快捷回复
</checkbox-group>
</view>
<radio-group bindchange="setV">
<radio value="{{true}}" checked="{{true}}" color="#6A92FF"/>已处理
<radio value="{{false}}" checked="{{false}}" color="#6A92FF"/>进行中
</radio-group>
</view> -->
<view wx:for="{{itemData.replayList}}" class="right">
<view class="row_bet">
<view class="fuck1">{{item.replayContent}}</view>
<image style="width: 50px; height: 50px;" mode="scaleToFill" src="../../../images/customer.png"></image>
</view>
<view class="feedbackDetail-itemTime" style="margin-right: 70px;">{{itemData.createAt}}</view>
</view> </view>
</view> </view>
\ No newline at end of file
/* pages/components/feedbackDetailItem/feedbackDetailItem.wxss */ /* pages/components/feedbackDetailItem/feedbackDetailItem.wxss */
.feedbackDetail-item { .feedbackDetail-item {
border-bottom: 8rpx solid #efefef; /* border-bottom: 8rpx solid #efefef; */
padding: 40rpx; padding: 10rpx 20rpx;
} }
.feedbackDetail-itemTitle { .feedbackDetail-itemTitle {
font-size: 32rpx; font-size: 32rpx;
color: #333; color: #333;
margin-bottom: 24rpx; margin-bottom: 6rpx;
} }
.feedbackDetail-itemTime { .feedbackDetail-itemTime {
font-size: 24rpx; font-size: 24rpx;
...@@ -22,6 +22,34 @@ ...@@ -22,6 +22,34 @@
border-radius: 20rpx; border-radius: 20rpx;
background-color: #f0f3fd; background-color: #f0f3fd;
} }
.row_bet{
margin-top: 20px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-end;
}
.row_bet1{
margin-top: 20px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
}
.fuck1{
max-width: 526rpx;
border-radius: 20rpx;
padding: 20rpx;
margin-right: 20px;
background-color: #f0f3fd;
}
.right{
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: space-around;
}
.feedbackDetail-itemBtn { .feedbackDetail-itemBtn {
font-size: 32rpx; font-size: 32rpx;
border-radius: 20rpx; border-radius: 20rpx;
......
import { deviceFetch, baseFetch } from '../../api/fetch'
Page({
/**
* 页面的初始数据
*/
data: {
list: [],
pageSize: 20,
pageNum: 1,
total: 0,
opName: '',
operatorId: '',
opList: [],
opvalue: '',
type: ""
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
//请求设备明细列表
this.setData({
operatorId: options.operatorId,
opName: options.opName,
type: options.type
})
if (options.type) {
this.getData({ state: options.type, pageNum: this.data.pageNum, pageSize: this.data.pageSize, operatorId: options.operatorId })
} else {
this.getData({ pageNum: this.data.pageNum, pageSize: this.data.pageSize, operatorId: options.operatorId });
}
},
onReachBottom() {
console.error("我草",this.data.list.length,this.data.total)
if (this.data.list.length >= this.data.total) {
wx.showToast({
title: '列表已加载完',
icon: 'none'
})
return;
} else {
let pageNum = this.data.pageNum;
this.getData({
pageNum: pageNum + 1,
pageSize: this.data.pageSize,
state: this.data.type,
operatorId: this.data.operatorId,
areaId: this.data.opvalue&&this.data.opvalue!='0' ? this.data.opList[this.data.opvalue].id : ''
})
}
},
setArea(v) {
console.log(v)
let list = this.data.list;
list.splice(0)
this.setData({
opvalue: v.detail.value,
list:list
});
this.getData({ state: this.data.type, pageNum: 1, pageSize: this.data.pageSize, operatorId: this.data.operatorId, areaId: v.detail.value&&v.detail.value!='0' ? this.data.opList[v.detail.value].id : '' })
},
handleK(e) {
let id = e.target.dataset.id;
let type = e.target.dataset.type;
let code = e.target.dataset.code;
wx.showModal({
title: '确认操作',
content: '当前操作会将设备‘'+code + (type == 1 ? '’移除' : '’恢复') + '续费,确认继续吗?'
}).then(res => {
if (res.confirm) {
if (type == 1) {
this.remove(id);
} else {
this.recovery(id);
}
}
})
},
recovery(id) {
deviceFetch({
url: `/deviceServiceFees/operators/devices/${id}/autoPayRecovery`,
method: 'put'
}).then(res => {
wx.showToast({
title: '恢复成功',
icon: 'success'
});
let list = this.data.list;
list.map(item => {
if (item.id == id) {
item.isAutoPay = 1
}
})
this.setData({
list: list
})
}).catch(err => {
wx.showToast({
title: err.errMsg,
icon: 'none'
})
})
},
remove(id) {
deviceFetch({
url: `/deviceServiceFees/operators/devices/${id}/autoPayRemoving`,
method: 'PUT'
}).then(res => {
console.error(res)
wx.showToast({
title: '移除成功',
icon: 'success'
});
let list = this.data.list;
list.map(item => {
if (item.id == id) {
item.isAutoPay = 0
}
})
this.setData({
list: list
})
}).catch(err => {
wx.showToast({
title: err.errMsg,
icon: 'none'
})
})
},
setType(v) {
console.error(v)
if (v.currentTarget.dataset.type == this.data.type) {
return;
}
let list = this.data.list;
list.splice(0)
this.setData({
type: v.currentTarget.dataset.type,
list: list,
pageNum: 1,
total: 0
})
if (v.currentTarget.dataset.type) {
this.getData({ state: v.currentTarget.dataset.type, pageNum: 1, pageSize: this.data.pageSize, operatorId: this.data.operatorId, areaId: this.data.opvalue&&this.data.opvalue!='0' ? this.data.opList[this.data.opvalue].id : '' })
} else {
this.getData({ pageNum: 1, pageSize: this.data.pageSize, operatorId: this.data.operatorId, areaId:this.data.opvalue&&this.data.opvalue!='0' ? this.data.opList[this.data.opvalue].id:'' });
}
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
//获取区域列表
baseFetch({
url: '/dcxy/baseArea/queryAll',
method: 'get'
}).then(res => {
let oplist = this.data.opList;
oplist.push({areaName:'选择区域',id:0})
oplist.push(...res.data)
this.setData({
opList: oplist
})
})
},
getData(entity) {
deviceFetch({
url: '/deviceServiceFees/operators/devices',
method: 'GET',
data: entity
}).then(res => {
let list = this.data.list;
let total = res.data.total;
let pageNum = res.data.pageNum;
if (res.data.list&&res.data.list.length>0) {
res.data.list.forEach(item => {
let newT = item.expiresTime?item.expiresTime.slice(0, 10):'-';
item.expiresTime = newT;
list.push(item)
})
}
this.setData({
list: list,
pageNum:pageNum,
total: total
});
})
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
{
"usingComponents": {},
"navigationBarTitleText":"设备明细"
}
\ No newline at end of file
<view class="center">
<view class="margin-top20 colorfuld">{{opName}}</view>
<picker
class="margin-top10"
header-text="选择区域"
mode="selector"
range="{{opList}}"
range-key="areaName"
value="{{opvalue}}"
bindchange="setArea"
>
<text class="colorful">{{opvalue||opvalue===0?opList[opvalue].areaName:'选择区域'}}</text>
</picker>
<view class="item_flex margin-top20">
<view
class="dos"
catchtap="setType"
data-type=""
>
<view>全部</view>
<view>{{type==''?total+'台':'----'}}</view>
</view>
<view
class="dos"
catchtap="setType"
data-type="2"
>
<view>即将到期</view>
<view>{{type==2?total+'台':'----'}}</view>
</view>
<view
class="dos"
catchtap="setType"
data-type="3"
>
<view>今日缴费</view>
<view>{{type==3?total+'台':'----'}}</view>
</view>
<view
class="dos"
catchtap="setType"
data-type="4"
>
<view>已欠费</view>
<view>{{type==4?total+'台':'----'}}</view>
</view>
<view
class="dos"
bindtap="setType"
data-type="5"
>
<view>已失效</view>
<view>{{type==5?total+'台':'----'}}</view>
</view>
</view>
<view class="item_flex margin-top20">
<view class="{{type!==5?'smt1':'smt2'}}">设备号</view>
<view class="{{type!==5?'smt1':'smt2'}}">区域</view>
<view class="{{type!==5?'smt1':'smt2'}}">服务费</view>
<view class="{{type!==5?'smt1':'smt2'}}">续费时间</view>
<view class="smt1" wx:if="{{type!=5}}">操作</view>
</view>
<view class="item_flex content_item" wx:for="{{list}}">
<view class="smt {{item.isAutoPay==1?'':'gray'}}">{{item.code}}</view>
<view class="smt areaName {{item.isAutoPay==1?'':'gray'}}" style="text-align:{{item.areaName?'left':'center'}}">{{item.areaName?item.areaName:'-'}}</view>
<view class="smt {{item.isAutoPay==1?'':'gray'}}">{{item.money}}</view>
<view class="smt {{item.isAutoPay==1?'':'gray'}}">{{item.expiresTime}}</view>
<view
class="opt"
wx:if="{{type!=5}}"
bindtap="handleK"
data-id="{{item.id}}"
data-code="{{item.code}}"
data-type="{{item.isAutoPay}}"
>{{item.isAutoPay==1?'移除':'恢复'}}
</view>
</view>
<view wx:if="{{list.length==0}}" class="no_data">当前没有{{['全部','即将到期','今日缴费','已欠费','已失效'][type-1]}}设备数据</view>
</view>
.item_flex{
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-evenly;
width: 100%;
}
.margin-top20{
margin-top: 20px;
}
.margin-top10{
margin-top: 10px;
}
.content_item{
margin-top: 20px;
}
.area{
text-align: left;
}
.smt{
color: #333;
font-size: 12px;
width: 20%;
text-align: center;
text-overflow: ellipsis;
overflow: hidden;
}
.smt1{
color: #333;
font-size: 16px;
width: 20%;
text-align: center;
}
.smt3{
color: #333;
font-size: 16px;
width: 10%;
text-align: center;
}
.smt2{
color: #333;
font-size: 16px;
width: 25%;
text-align: center;
}
.no_data{
margin-top: 100px;
color: #aaa;
font-size: 16px;
}
.dos{
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
}
.opt{
color: #6895ef;
font-size: 10px;
width: 20%;
text-align: center;
}
.colorful{
color: #6895ef;
font-size: 16px;
}
.colorfuld{
color: #333;
font-size: 18px;
font-weight: 600;
}
.gray{
color: #999;
}
.areaName{
width: 20%;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.center{
display: flex;
width: 100%;
flex-direction: column;
align-items: center;
justify-content: flex-start;
}
\ No newline at end of file
...@@ -74,4 +74,4 @@ Page({ ...@@ -74,4 +74,4 @@ Page({
}); });
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXF1aXBtZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZXF1aXBtZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEseUNBQThDO0FBRzlDLElBQU0sR0FBRyxHQUFHLE1BQU0sRUFBVSxDQUFDO0FBRzdCLElBQUksQ0FBQztJQUlILElBQUksRUFBRTtRQUNKLE1BQU0sRUFBRSxDQUFDLFNBQVMsRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLFNBQVMsQ0FBQztRQUNwRCxnQkFBZ0IsRUFBRSxFQUFFO1FBQ3BCLFlBQVksRUFBRSxFQUFFO1FBQ2hCLFdBQVcsRUFBRSxFQUFFO1FBQ2YsS0FBSyxFQUFFLENBQUM7UUFDUixZQUFZLEVBQUUsQ0FBQztLQUNoQjtJQUtELE1BQU07UUFDSixJQUFJLENBQUMsU0FBUyxFQUFFLENBQUM7UUFDakIsSUFBSSxDQUFDLGlCQUFpQixFQUFFLENBQUM7SUFDM0IsQ0FBQztJQUVELFNBQVM7UUFBVCxpQkErQkM7UUE5QkMsRUFBRSxDQUFDLFdBQVcsQ0FBQztZQUNiLEtBQUssRUFBRSxLQUFLO1NBQ2IsQ0FBQyxDQUFDO1FBQ0gsbUJBQVcsQ0FBQztZQUNWLEdBQUcsRUFBRSx5QkFBeUI7U0FDL0IsQ0FBQzthQUNDLElBQUksQ0FBQyxVQUFBLEdBQUc7WUFDUCxFQUFFLENBQUMsV0FBVyxFQUFFLENBQUM7WUFDakIsT0FBTyxDQUFDLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQztZQUNYLElBQUEsYUFBMEQsRUFBeEQsc0NBQWdCLEVBQ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cbiAgICBjb2xvcnM6IFsnIzY4OTVmZScsICcjZmU2ODY4JywgJyM2ZWUxOGYnLCAnI2ZlYWU2OCddLFxuICAgIGFyZWFEZXZpY2VBbW91bnQ6IFtdLFxuICAgIHN0YXR1c0Ftb3VudDogW10sXG4gICAgdG90YWxBbW91bnQ6IFtdLFxuICAgIHRvdGFsOiAwLFxuICAgIHdhcm5pbmdDb3VudDogMCxcbiAgfSxcblxuICAvKipcbiAgICog55Sf5ZG95ZGo5pyf5Ye95pWwLS3nm5HlkKzpobXpnaLliqDovb1cbiAgICovXG4gIG9uTG9hZCgpIHtcbiAgICB0aGlzLmZldGNoTGlzdCgpO1xuICAgIHRoaXMuZmV0Y2hXYXJuaW5nQ291bnQoKTtcbiAgfSxcblxuICBmZXRjaExpc3QoKSB7XG4gICAgd3guc2hvd0xvYWRpbmcoe1xuICAgICAgdGl0bGU6ICfliqDovb3kuK0nLFxuICAgIH0pO1xuICAgIGRldmljZUZldGNoKHtcbiAgICAgIHVybDogJy9kZXZpY2UvcmVwb3J0L21haW5QYWdlJyxcbiAgICB9KVxuICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgY29uc3QgeyBhcmVhRGV2aWNlQW1vdW50LCBzdGF0dXNBbW91bnQsIHRvdGFsQW1vdW50IH0gPSByZXMuZGF0YTtcbiAgICAgICAgbGV0IHRvdGFsID0gdG90YWxBbW91bnQucmVkdWNlKFxuICAgICAgICAgIChjb3VudDogTnVtYmVyLCBpdGVtKSA9PiBjb3VudCArIGl0ZW0udmFsdWUsXG4gICAgICAgICAgMCxcbiAgICAgICAgKTtcbiAgICAgICAgdGhpcy5zZXREYXRhISh7XG4gICAgICAgICAgYXJlYURldmljZUFtb3VudCxcbiAgICAgICAgICBzdGF0dXNBbW91bnQsXG4gICAgICAgICAgdG90YWxBbW91bnQsXG4gICAgICAgICAgdG90YWwsX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gICAgICB3eC5oaWRlTG9hZGluZygpO1xyXG4gICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XHJcbiAgICAgICAgY29uc3QgeyBhcmVhRGV2aWNlQW1vdW50LCBzdGF0dXNBbW91bnQsIHRvdGFsQW1vdW50IH0gPSByZXMuZGF0YTtcclxuICAgICAgICBsZXQgdG90YWwgPSB0b3RhbEFtb3VudC5yZWR1Y2UoXHJcbiAgICAgICAgICAoY291bnQ6IE51bWJlciwgaXRlbSkgPT4gY291bnQgKyBpdGVtLnZhbHVlLFxyXG4gICAgICAgICAgMCxcclxuICAgICAgICApO1xyXG4gICAgICAgIHRoaXMuc2V0RGF0YSEoe1xyXG4gICAgICAgICAgYXJlYURldmljZUFtb3VudCxcclxuICAgICAgICAgIHN0YXR1c0Ftb3VudCxcclxuICAgICAgICAgIHRvdGFsQW1vdW50LFxyXG4gICAgICAgICAgdG90YWwsXHJcbiAgICAgICAgfSk7XHJcbiAgICAgIH0pXHJcbiAgICAgIC5jYXRjaChlcnIgPT4ge1xyXG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XHJcbiAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcclxuICAgICAgICB3eC5zaG93VG9hc3Qoe1xyXG4gICAgICAgICAgdGl0bGU6IGVyci5tc2cgfHwgZXJyLmVyck1zZyB8fCAn572R57uc6ZSZ6K+vJyxcclxuICAgICAgICAgIGljb246ICdub25lJyxcclxuICAgICAgICAgIGR1cmF0aW9uOiA0MDAwLFxyXG4gICAgICAgIH0pO1xyXG4gICAgICB9KTtcclxuICB9LFxyXG4gIGZldGNoV2FybmluZ0NvdW50KCkge1xyXG4gICAgbGV0IGRhdGEgPVxyXG4gICAgICBhcHAuZ2xvYmFsRGF0YS51c2VySW5mby5vcGVyYXRlSWQgPT09IDNcclxuICAgICAgICA/IHVuZGVmaW5lZFxyXG4gICAgICAgIDoge1xyXG4gICAgICAgICAgICBvcGVyYXRvcklkOiBhcHAuZ2xvYmFsRGF0YS51c2VySW5mby5vcGVyYXRlSWQsXHJcbiAgICAgICAgICB9O1xyXG4gICAgZGV2aWNlRmV0Y2goe1xyXG4gICAgICB1cmw6ICcvZGV2aWNlL3dhcm5pbmcvY291bnQnLFxyXG4gICAgICBkYXRhOiBkYXRhLFxyXG4gICAgfSlcclxuICAgICAgLnRoZW4ocmVzID0+IHtcclxuICAgICAgICB0aGlzLnNldERhdGEhKHtcclxuICAgICAgICAgIHdhcm5pbmdDb3VudDogcmVzLmRhdGEsXHJcbiAgICAgICAgfSk7XHJcbiAgICAgIH0pXHJcbiAgICAgIC5jYXRjaChlcnIgPT4ge30pO1xyXG4gIH0sXHJcbiAgZ29SZXBvcnRQYWdlKGUpIHtcclxuICAgIGNvbnN0IHsgaW5kZXggfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xyXG4gICAgY29uc3QgaXRlbSA9IHRoaXMuZGF0YS5hcmVhRGV2aWNlQW1vdW50W2luZGV4XTtcclxuICAgIHd4Lm5hdmlnYXRlVG8oe1xyXG4gICAgICB1cmw6IGAvcGFnZXMvZXF1aXBtZW50UmVwb3J0L2VxdWlwbWVudFJlcG9ydD9hcmVhSWQ9JHtpdGVtLmFyZWFJZH0mYXJlYU5hbWU9JHtpdGVtLmFyZWFOYW1lfWAsXHJcbiAgICAgIHN1Y2Nlc3M6IGZ1bmN0aW9uKHJlcykge1xyXG4gICAgICAgIC8vIOmAmui/h2V2ZW50Q2hhbm5lbOWQkeiiq+aJk+W8gOmhtemdouS8oOmAgeaVsOaNrlxyXG4gICAgICAgIHJlcy5ldmVudENoYW5uZWwuZW1pdCgnYWNjZXB0RGF0YUZyb21PcGVuZXJQYWdlJywgeyBkYXRhOiBpdGVtIH0pO1xyXG4gICAgICB9LFxyXG4gICAgfSk7XHJcbiAgfSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file \ No newline at end of file
"use strict"; "use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) { var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) { for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i]; s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p]; t[p] = s[p];
} }
return t; return t;
};
return __assign.apply(this, arguments);
}; };
Object.defineProperty(exports, "__esModule", { value: true }); exports.__esModule = true;
var fetch_1 = require("../../api/fetch"); var fetch_1 = require("../../api/fetch");
// miniprogram/pages/equipmentReport/equipmentReport.js
Page({ Page({
/**
* 页面的初始数据
*/
data: { data: {
areaId: null, areaId: null,
areaName: '', areaName: '',
type: 0, type: 0,
timeType: 0, timeType: 0,
totalAmount: [], totalAmount: [],
menuCode: false,
menuCode1: false,
menuCode2: false
}, },
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) { onLoad: function (options) {
var _this = this; var _this = this;
console.log(options); console.log(options);
var app = getApp();
console.log(app.globalData.userRoles);
var roles1 = app.globalData.userRoles;
var roles = [];
this.handleArr(roles1, roles);
var menuCode = roles.filter(function (item) { return item.menuCode == "91060001"; }).length > 0;
var menuCode1 = roles.filter(function (item) { return item.menuCode == "91060002"; }).length > 0;
var menuCode2 = roles.filter(function (item) { return item.menuCode == "91060003"; }).length > 0;
this.setData({
menuCode: menuCode,
menuCode1: menuCode1,
menuCode2: menuCode2,
type: menuCode ? 0 : (menuCode1 ? 1 : 2)
});
var areaId = options.areaId, areaName = options.areaName; var areaId = options.areaId, areaName = options.areaName;
var eventChannel = this.getOpenerEventChannel(); var eventChannel = this.getOpenerEventChannel();
eventChannel.on('acceptDataFromOpenerPage', function (res) { eventChannel.on('acceptDataFromOpenerPage', function (res) {
console.log(res); console.log(res);
_this.setData({ _this.setData({
totalAmount: res.data.totalAmount.map(function (item) { return (__assign({}, item, { type: item.key === '洗衣' totalAmount: res.data.totalAmount.map(function (item) { return (__assign(__assign({}, item), { type: item.key === '洗衣'
? 2 ? 2
: item.key === '饮水' : item.key === '饮水'
? 3 ? 3
...@@ -33,22 +60,38 @@ Page({ ...@@ -33,22 +60,38 @@ Page({
? 4 ? 4
: item.key === '洗浴' : item.key === '洗浴'
? 5 ? 5
: item.key })); }), : item.key })); })
}); });
}); });
this.setData({ this.setData({
areaId: areaId, areaId: areaId,
areaName: areaName, areaName: areaName
}); });
// this.fetchWarningLevel();
},
handleArr: function (param, arr) {
if (param.length) {
for (var i = 0; i < param.length; i++) {
arr.push(param[i]);
if (param[i].childs && param[i].childs.length > 0) {
this.handleArr(param[i].childs, arr);
}
}
}
else {
arr.push(param);
if (param.childs && param.childs.length > 0) {
this.handleArr(param.childs, arr);
}
}
}, },
fetchWarningLevel: function () { fetchWarningLevel: function () {
fetch_1.deviceFetch({ (0, fetch_1.deviceFetch)({
url: '/device/warning/dict/warningLevel', url: '/device/warning/dict/warningLevel'
}) })
.then(function (res) { .then(function (res) {
console.log(res); console.log(res);
}) })["catch"](function (err) {
.catch(function (err) {
console.log(err); console.log(err);
}); });
}, },
...@@ -58,7 +101,7 @@ Page({ ...@@ -58,7 +101,7 @@ Page({
if (type === this.data.type) if (type === this.data.type)
return; return;
this.setData({ this.setData({
type: type, type: type
}); });
return false; return false;
}, },
...@@ -68,25 +111,23 @@ Page({ ...@@ -68,25 +111,23 @@ Page({
if (timeType === this.data.timeType) if (timeType === this.data.timeType)
return; return;
this.setData({ this.setData({
timeType: timeType, timeType: timeType
}); });
return false; return false;
}, },
fetchData: function () { fetchData: function () {
fetch_1.statisticsFetch({ (0, fetch_1.statisticsFetch)({
url: '/boss/device/operation/data/summary', url: '/boss/device/operation/data/summary',
method: 'POST', method: 'POST',
data: { data: {
areaId: this.data.areaId, areaId: this.data.areaId,
timeType: this.data.timeType, timeType: this.data.timeType
}, }
}) })
.then(function (res) { .then(function (res) {
console.log(res); console.log(res);
}) })["catch"](function (err) {
.catch(function (err) {
console.log(err); console.log(err);
}); });
}, }
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJ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iAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgZGF0YToge1xuICAgICAgICBhcmVhSWQ6IHRoaXMuZGF0YS5hcmVhSWQsXG4gICAgICAgIHRpbWVUeXBlOiB0aGlzLmRhdGEudGltZVR5cGUsXG4gICAgICB9LFxuICAgIH0pXG4gICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgfSlcbiAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgfSk7XG4gIH0sXG59KTtcbiJdfQ==
\ No newline at end of file
...@@ -11,6 +11,9 @@ Page({ ...@@ -11,6 +11,9 @@ Page({
type: 0, type: 0,
timeType: 0, timeType: 0,
totalAmount: [], totalAmount: [],
menuCode:false,
menuCode1:false,
menuCode2:false,
}, },
/** /**
...@@ -18,6 +21,20 @@ Page({ ...@@ -18,6 +21,20 @@ Page({
*/ */
onLoad: function(options) { onLoad: function(options) {
console.log(options); console.log(options);
let app = getApp();
console.log(app.globalData.userRoles);
let roles1 = app.globalData.userRoles;
let roles = [];
this.handleArr(roles1,roles);
let menuCode = roles.filter(item=>item.menuCode=="91060001").length>0;
let menuCode1 = roles.filter(item=>item.menuCode=="91060002").length>0;
let menuCode2 = roles.filter(item=>item.menuCode=="91060003").length>0;
this.setData({
menuCode,
menuCode1,
menuCode2,
type:menuCode?0:(menuCode1?1:2)
});
const { areaId, areaName } = options; const { areaId, areaName } = options;
const eventChannel = this.getOpenerEventChannel(); const eventChannel = this.getOpenerEventChannel();
eventChannel.on('acceptDataFromOpenerPage', res => { eventChannel.on('acceptDataFromOpenerPage', res => {
...@@ -44,6 +61,21 @@ Page({ ...@@ -44,6 +61,21 @@ Page({
}); });
// this.fetchWarningLevel(); // this.fetchWarningLevel();
}, },
handleArr(param,arr){
if(param.length){
for(let i = 0;i<param.length;i++){
arr.push(param[i]);
if(param[i].childs&&param[i].childs.length>0){
this.handleArr(param[i].childs,arr);
}
}
}else{
arr.push(param);
if(param.childs&&param.childs.length>0){
this.handleArr(param.childs,arr);
}
}
},
fetchWarningLevel() { fetchWarningLevel() {
deviceFetch({ deviceFetch({
url: '/device/warning/dict/warningLevel', url: '/device/warning/dict/warningLevel',
......
...@@ -2,15 +2,16 @@ ...@@ -2,15 +2,16 @@
<view class="equipmentReport"> <view class="equipmentReport">
<view class="equipmentReport-title">{{areaName}}</view> <view class="equipmentReport-title">{{areaName}}</view>
<view class="home-title-type"> <view class="home-title-type">
<view class="title-type-item" data-type="{{0}}" bindtap="changeType"> <view class="title-type-item" data-type="{{0}}" bindtap="changeType"
wx:if="{{menuCode}}">
<view class="radio-box {{type === 0?'checked':''}}"></view> <view class="radio-box {{type === 0?'checked':''}}"></view>
运营明细 运营明细
</view> </view>
<view class="title-type-item" data-type="{{1}}" bindtap="changeType"> <view class="title-type-item" data-type="{{1}}" bindtap="changeType" wx:if="{{menuCode1}}">
<view class="radio-box {{type === 1?'checked':''}}"></view> <view class="radio-box {{type === 1?'checked':''}}"></view>
设备状态 设备状态
</view> </view>
<view class="title-type-item" data-type="{{2}}" bindtap="changeType"> <view class="title-type-item" data-type="{{2}}" bindtap="changeType" wx:if="{{menuCode2}}">
<view class="radio-box {{type === 2?'checked':''}}"></view> <view class="radio-box {{type === 2?'checked':''}}"></view>
设备告警 设备告警
</view> </view>
......
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || Array.prototype.slice.call(from));
};
exports.__esModule = true;
var fetch_1 = require("../../api/fetch"); var fetch_1 = require("../../api/fetch");
// miniprogram/pages/feedback/feedback.js
Page({ Page({
onLoad: function () { onLoad: function () {
this.initData(); this.initData();
this.fetchAreaList(); this.fetchAreaList();
}, },
/**
* 页面的初始数据
*/
data: { data: {
tabIndex: 1, tabIndex: 1,
areaId: '', areaId: '',
...@@ -13,12 +26,15 @@ Page({ ...@@ -13,12 +26,15 @@ Page({
list2: [], list2: [],
areaList: [], areaList: [],
list: [], list: [],
pageNum: [null, 0, 0], pageNum: [null, 0, 0]
}, },
initData: function () { initData: function () {
this.fetchList(1); this.fetchList(1);
this.fetchList(2); this.fetchList(2);
}, },
onShow: function () {
this.initData();
},
toggleList: function (e) { toggleList: function (e) {
var _this = this; var _this = this;
var tabindex = e.currentTarget.dataset.tabindex; var tabindex = e.currentTarget.dataset.tabindex;
...@@ -33,35 +49,34 @@ Page({ ...@@ -33,35 +49,34 @@ Page({
if (!state) if (!state)
state = this.data.tabIndex; state = this.data.tabIndex;
wx.showLoading({ title: '' }); wx.showLoading({ title: '' });
fetch_1.statisticsFetch({ (0, fetch_1.statisticsFetch)({
url: '/dcxy/reportInfo/queryFeedbackListV2', url: '/dcxy/reportInfo/queryFeedbackListV2',
data: this.data.areaId data: this.data.areaId
? { ? {
state: state, state: state,
areaId: this.data.areaId, areaId: this.data.areaId
} }
: { state: state }, : { state: state }
}) })
.then(function (res) { .then(function (res) {
var _a;
wx.hideLoading(); wx.hideLoading();
var list = res.data; var list = res.data;
var viewList = list.slice(0, 10); var viewList = list.slice(0, 10);
if (state === _this.data.tabIndex) { if (state === _this.data.tabIndex) {
_this.setData({ _this.setData({
list: viewList, list: viewList
}); });
} }
_this.setData((_a = {}, _this.setData((_a = {},
_a['list' + state] = list, _a['list' + state] = list,
_a["pageNum[" + state + "]"] = 0, _a["pageNum[".concat(state, "]")] = 0,
_a)); _a));
var _a; })["catch"](function (err) {
})
.catch(function (err) {
console.log(err); console.log(err);
wx.showToast({ wx.showToast({
title: err.errMsg, title: err.errMsg,
icon: 'none', icon: 'none'
}); });
}); });
}, },
...@@ -70,7 +85,7 @@ Page({ ...@@ -70,7 +85,7 @@ Page({
console.log(e); console.log(e);
var value = e.detail.value; var value = e.detail.value;
this.setData({ this.setData({
areaId: value, areaId: value
}, function () { }, function () {
_this.initData(); _this.initData();
}); });
...@@ -80,26 +95,26 @@ Page({ ...@@ -80,26 +95,26 @@ Page({
}, },
fetchAreaList: function () { fetchAreaList: function () {
var _this = this; var _this = this;
fetch_1.baseFetch({ (0, fetch_1.baseFetch)({
url: '/dcxy/baseArea/queryAll', url: '/dcxy/baseArea/queryAll'
}) })
.then(function (res) { .then(function (res) {
if (res.data) { if (res.data) {
_this.setData({ _this.setData({
areaList: res.data, areaList: res.data
}); });
} }
else { else {
_this.setData({ _this.setData({
areaList: [], areaList: []
}); });
} }
}) })["catch"](function (err) {
.catch(function (err) {
console.log(err); console.log(err);
}); });
}, },
getMoreListItem: function () { getMoreListItem: function () {
var _a;
var state = this.data.tabIndex; var state = this.data.tabIndex;
var index = this.data.pageNum[state] + 1; var index = this.data.pageNum[state] + 1;
var max = Math.ceil(this.data['list' + state].length / 10); var max = Math.ceil(this.data['list' + state].length / 10);
...@@ -107,16 +122,14 @@ Page({ ...@@ -107,16 +122,14 @@ Page({
if (index >= max) { if (index >= max) {
wx.showToast({ wx.showToast({
title: '没有更多数据', title: '没有更多数据',
icon: 'none', icon: 'none'
}); });
} }
else { else {
this.setData((_a = {}, this.setData((_a = {},
_a["pageNum[" + state + "]"] = index, _a["pageNum[".concat(state, "]")] = index,
_a.list = this.data.list.concat(this.data['list' + state].slice(index * 10, (index + 1) * 10)), _a.list = __spreadArray(__spreadArray([], this.data.list, true), this.data['list' + state].slice(index * 10, (index + 1) * 10), true),
_a)); _a));
} }
var _a; }
},
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVlZGJhY2suanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJmZWVkYmFjay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHlDQUE2RDtBQUc3RCxJQUFJLENBQUM7SUFDSCxNQUFNO1FBQ0osSU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uICAgICAgZGF0YTogdGhpcy5kYXRhLmFyZWFJZFxuICAgICAgICA/IHtcbiAgICAgICAgICAgIHN0YXRlLFxuICAgICAgICAgICAgYXJlYUlkOiB0aGlzLmRhdGEuYXJlYUlkLFxuICAgICAgICAgIH1cbiAgICAgICAgOiB7IHN0YXRlIH0sXG4gICAgfSlcbiAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgIGNvbnN0IGxpc3QgPSByZXMuZGF0YTtcbiAgICAgICAgbGV0IHZpZXdMaXN0ID0gbGlzdC5zbGljZSgwLCAxMCk7XG4gICAgICAgIGlmIChzdGF0ZSA9PT0gdGhpcy5kYXRhLnRhYkluZGV4KSB7XG4gICAgICAgICAgdGhpcy5zZXREYXRhISh7XG4gICAgICAgICAgICBsaXN0OiB2aWV3TGlzdCxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgICAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgICAgICBbJ2xpc3QnICsgc3RhdGVdOiBsaXN0LFxuICAgICAgICAgIFtgcGFnZU51bVske3N0YXRlfV1gXTogMCxcbiAgICAgICAgfSk7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgdGl0bGU6IGVyci5lcnJNc2csXG4gICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICB9KTtcbiAgICAgIH0pO1xuICB9LFxuICBiaW5kUGlja2VyQ2hhbmdlKGUpIHtcbiAgICBjb25zb2xlLmxvZyhlKTtcbiAgICBjb25zdCB7IHZhbHVlIH0gPSBlLmRldGFpbDtcbiAgICB0aGlzLnNldERhdGEhKFxuICAgICAge1xuICAgICAgICBhcmVhSWQ6IHZhbHVlLFxuICAgICAgfSxcbiAgICAgICgpID0+IHtcbiAgICAgICAgdGhpcy5pbml0RGF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0YSh7XG4gICAgICAgIFtgcGFnZU51bVske3N0YXRlfV1gXTogaW5kZXgsXG4gICAgICAgIGxpc3Q6IFtcbiAgICAgICAgICAuLi50aGlzLmRhdGEubGlzdCxcbiAgICAgICAgICAuLi50aGlzLmRhdGFbJ2xpc3QnICsgc3RhdGVdLnNsaWNlKGluZGV4ICogMTAsIChpbmRleCArIDEpICogMTApLFxuICAgICAgICBdLFxuICAgICAgfSk7XG4gICAgfVxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
...@@ -22,6 +22,9 @@ Page({ ...@@ -22,6 +22,9 @@ Page({
this.fetchList(1); this.fetchList(1);
this.fetchList(2); this.fetchList(2);
}, },
onShow(){
this.initData();
},
toggleList(e) { toggleList(e) {
const { tabindex } = e.currentTarget.dataset; const { tabindex } = e.currentTarget.dataset;
if (tabindex !== this.data.tabIndex) { if (tabindex !== this.data.tabIndex) {
......
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); exports.__esModule = true;
var fetch_1 = require("../../api/fetch"); var fetch_1 = require("../../api/fetch");
// miniprogram/pages/feedbackDetail/feedbackDetail.js
Page({ Page({
/**
* 页面的初始数据
*/
data: { data: {
customerName: '', customerName: '',
customerPhone: '', customerPhone: '',
id: '', id: '',
dataList: [], dataList: [],
shortCuts: [],
areaId: '',
r1: true,
cb: false,
index: -1,
isHidden: true,
inputValue: ""
}, },
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) { onLoad: function (options) {
var customerName = options.customerName, customerPhone = options.customerPhone, id = options.id; console.log("options", options);
var customerName = options.customerName, customerPhone = options.customerPhone, id = options.id, areaId = options.areaId;
wx.setNavigationBarTitle({ wx.setNavigationBarTitle({
title: customerName + "-" + customerPhone, title: "".concat(customerName, "-").concat(customerPhone)
}); });
this.setData({ this.setData({
customerName: customerName, customerName: customerName,
customerPhone: customerPhone, customerPhone: customerPhone,
id: id, id: id,
areaId: areaId
}); });
wx.showLoading({
title: '加载中'
});
this.getShortcuts();
this.fetchList(); this.fetchList();
setTimeout(function () {
wx.pageScrollTo({
scrollTop: 2000
});
}, 1500);
}, },
fetchList: function () { onPageScroll: function (e) {
console.log("eeeee", e);
},
inputHandle: function (e) {
var val = e.detail.value;
this.setData({
inputValue: val
});
},
setContent: function (e) {
var content = e.currentTarget.dataset.content;
this.setData({
inputValue: content,
isHidden: true
});
},
del: function (e) {
var _this = this; var _this = this;
wx.showLoading({ var id = e.currentTarget.dataset.id;
title: '加载中', wx.showModal({
title: '删除提示',
content: '您确定要删除该快捷回复吗?',
success: function (res) {
if (res.confirm) {
(0, fetch_1.customerFetch)({
url: "/feedback/shortcuts/".concat(id),
method: 'DELETE'
})
.then(function (res) {
wx.showToast({
title: res.msg,
icon: 'none',
duration: 2000
});
_this.getShortcuts();
})["catch"](function (err) {
wx.showToast({
title: err.errMsg,
icon: 'none'
});
});
}
}
});
},
showModal: function () {
this.setData({
isHidden: false
});
},
setV1: function (e) {
this.setData({
cb: e.detail.value
});
},
subData: function (str) {
console.log(str, str.substring(0, 20));
return str.substring(0, 20);
},
cancel: function () {
this.setData({
isHidden: true
});
},
setV: function (e) {
console.log(e);
this.setData({
r1: JSON.parse(e.detail.value)
});
},
sendFeedback: function (e) {
var _this = this;
if (this.data.dataList.length == 0) {
wx.showToast({
title: '当前无法发送消息',
icon: 'none',
duration: 2000
}); });
return fetch_1.customerFetch({ return;
url: "/feedback/get/feedback/" + this.data.id, }
var id = this.data.dataList[this.data.dataList.length - 1].id;
var val = this.data.inputValue;
if (val.trim() == "")
val = "您的反馈客服已处理,谢谢!";
console.log(val, id);
if (this.data.cb && this.data.shortCuts.length >= 5) {
wx.showModal({
title: '添加提示',
content: '当前默认回复列表已经5条,若加入此条回复,将造成最早一条默认回复被删除,确定继续吗?',
success: function (res) {
if (res.confirm) {
(0, fetch_1.customerFetch)({
url: '/feedback/feedback',
method: 'PUT',
data: {
id: id,
isAddShortcut: _this.data.cb ? 1 : 0,
replayContent: val,
state: _this.data.r1 ? '3' : '2'
}
})
.then(function (res) {
wx.showToast({
title: res.msg,
icon: 'none',
duration: 2000
});
_this.setData({
inputValue: ''
});
// this.triggerEvent('refresh', {});
wx.navigateBack();
})["catch"](function (err) {
wx.showToast({
title: err.errMsg,
icon: 'none'
});
});
}
}
});
}
else {
(0, fetch_1.customerFetch)({
url: '/feedback/feedback',
method: 'PUT',
data: {
id: id,
replayContent: val,
isAddShortcut: this.data.cb ? 1 : 0,
state: this.data.r1 ? '3' : '2'
}
})
.then(function (res) {
wx.showToast({
title: res.msg,
icon: 'none',
duration: 2000
});
_this.setData({
inputValue: ''
});
// this.triggerEvent('refresh', {});
wx.navigateBack();
})["catch"](function (err) {
wx.showToast({
title: err.errMsg,
icon: 'none'
});
});
}
},
getShortcuts: function () {
var _this = this;
//获取快捷回复列表
(0, fetch_1.customerFetch)({
url: "/feedback/shortcuts",
data: { areaId: this.data.areaId }
})
.then(function (res) {
var list = res.data;
_this.setData({
shortCuts: list
});
})["catch"](function (err) {
console.log(err);
});
},
fetchList: function () {
var _this = this;
return (0, fetch_1.customerFetch)({
url: "/feedback/get/feedback/".concat(this.data.id)
}) })
.then(function (res) { .then(function (res) {
wx.hideLoading(); wx.hideLoading();
var list = res.data.list; var list = res.data.list;
_this.setData({ _this.setData({
dataList: list, dataList: list
}); });
}) })["catch"](function (err) {
.catch(function (err) {
wx.hideLoading(); wx.hideLoading();
console.log(err); console.log(err);
}); });
}, }
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVlZGJhY2tEZXRhaWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJmZWVkYmFja0RldGFpbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHlDQUFnRDtBQUdoRCxJQUFJLENBQUM7SUFJSCxJQUFJLEVBQUU7UUFDSixZQUFZLEVBQUUsRUFBRTtRQUNoQixhQUFhLEVBQUUsRUFBRTtRQUNqQixFQUFFLEVBQUUsRUFBRTtRQ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b25zdCB7IGxpc3QgfSA9IHJlcy5kYXRhO1xuICAgICAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgICAgICBkYXRhTGlzdDogbGlzdCxcbiAgICAgICAgfSk7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICB9KTtcbiAgfSxcblxuICAvLyByZWZyZXNoTGlzdCgpIHtcbiAgLy8gICB0aGlzLmZldGNoTGlzdCh7XG4gIC8vICAgICBwYWdlTnVtOiAxLFxuICAvLyAgIH0pXG4gIC8vICAgICAudGhlbihyZXMgPT4ge1xuICAvLyAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAvLyAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAvLyAgICAgICBpZiAocmVzLmRhdGEucGFnZSkge1xuICAvLyAgICAgICAgIGNvbnN0IHsgbGlzdCB9ID0gcmVzLmRhdGEucGFnZTtcbiAgLy8gICAgICAgICB0aGlzLnNldERhdGEhKHtcbiAgLy8gICAgICAgICAgIGRhdGFMaXN0OiBsaXN0LFxuICAvLyAgICAgICAgIH0pO1xuICAvLyAgICAgICB9XG4gIC8vICAgICB9KVxuICAvLyAgICAgLmNhdGNoKGVyciA9PiB7XG4gIC8vICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gIC8vICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gIC8vICAgICB9KTtcbiAgLy8gfSxcblxuICAvLyBvblJlYWNoQm90dG9tKCkge1xuICAvLyAgIHd4LnNob3dMb2FkaW5nKHtcbiAgLy8gICAgIHRpdGxlOiAn5Yqg6L295LitJyxcbiAgLy8gICB9KTtcbiAgLy8gICBsZXQgbmV4dFBhZ2UgPSB0aGlzLmRhdGEucGFnZU51bSArIDE7XG4gIC8vICAgdGhpcy5mZXRjaExpc3Qoe1xuICAvLyAgICAgcGFnZU51bTogbmV4dFBhZ2UsXG4gIC8vICAgfSlcbiAgLy8gICAgIC50aGVuKHJlcyA9PiB7XG4gIC8vICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gIC8vICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gIC8vICAgICAgIGlmIChyZXMuZGF0YS5wYWdlICYmIHJlcy5kYXRhLnBhZ2UubGVuZ3RoKSB7XG4gIC8vICAgICAgICAgY29uc3Qge1xuICAvLyAgICAgICAgICAgcGFnZTogeyBsaXN0LCBwYWdlTnVtIH0sXG4gIC8vICAgICAgICAgfSA9IHJlcy5kYXRhO1xuICAvLyAgICAgICAgIHRoaXMuc2V0RGF0YSEoe1xuICAvLyAgICAgICAgICAgZGF0YUxpc3Q6IFsuLi50aGlzLmRhdGEuZGF0YUxpc3QsIC4uLmxpc3RdLFxuICAvLyAgICAgICAgICAgcGFnZU51bSxcbiAgLy8gICAgICAgICB9KTtcbiAgLy8gICAgICAgfVxuICAvLyAgICAgfSlcbiAgLy8gICAgIC5jYXRjaChlcnIgPT4ge1xuICAvLyAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAvLyAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAvLyAgICAgfSk7XG4gIC8vIH0sXG59KTtcbiJdfQ==
\ No newline at end of file
...@@ -10,13 +10,21 @@ Page({ ...@@ -10,13 +10,21 @@ Page({
customerPhone: '', customerPhone: '',
id: '', id: '',
dataList: [], dataList: [],
shortCuts:[],
areaId:'',
r1: true,
cb: false,
index: -1,
isHidden:true,
inputValue:""
}, },
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad: function(options) { onLoad: function(options) {
const { customerName, customerPhone, id } = options; console.log("options",options)
const { customerName, customerPhone, id,areaId } = options;
wx.setNavigationBarTitle({ wx.setNavigationBarTitle({
title: `${customerName}-${customerPhone}`, title: `${customerName}-${customerPhone}`,
}); });
...@@ -24,14 +32,187 @@ Page({ ...@@ -24,14 +32,187 @@ Page({
customerName, customerName,
customerPhone, customerPhone,
id, id,
areaId
}); });
this.fetchList();
},
fetchList() {
wx.showLoading({ wx.showLoading({
title: '加载中', title: '加载中',
}); });
this.getShortcuts();
this.fetchList();
setTimeout(()=>{
wx.pageScrollTo({
scrollTop: 2000
})
},1500)
},
onPageScroll(e){
console.log("eeeee",e)
},
inputHandle(e) {
const val = e.detail.value;
this.setData!({
inputValue: val,
});
},
setContent(e){
let {content} = e.currentTarget.dataset;
this.setData({
inputValue:content,
isHidden:true
})
},
del(e){
let {id} = e.currentTarget.dataset;
wx.showModal({
title:'删除提示',
content:'您确定要删除该快捷回复吗?',
success:res=>{
if(res.confirm){
customerFetch({
url: `/feedback/shortcuts/${id}`,
method: 'DELETE',
})
.then(res => {
wx.showToast({
title: res.msg,
icon:'none',
duration:2000
});
this.getShortcuts();
})
.catch((err: wx.GeneralCallbackResult) => {
wx.showToast({
title: err.errMsg,
icon: 'none',
});
});
}
}
})
},
showModal(){
this.setData({
isHidden:false
})
},
setV1(e) {
this.setData({
cb: e.detail.value
});
},
subData(str){
console.log(str,str.substring(0,20))
return str.substring(0,20);
},
cancel(){
this.setData({
isHidden:true
})
},
setV(e) {
console.log(e)
this.setData({
r1: JSON.parse(e.detail.value)
})
},
sendFeedback(e) {
if(this.data.dataList.length==0){
wx.showToast({
title:'当前无法发送消息',
icon:'none',
duration:2000
})
return
}
const id = this.data.dataList[this.data.dataList.length-1].id;
let val = this.data.inputValue;
if (val.trim() == "") val = "您的反馈客服已处理,谢谢!"
console.log(val, id);
if (this.data.cb && this.data.shortCuts.length >= 5) {
wx.showModal({
title: '添加提示',
content: '当前默认回复列表已经5条,若加入此条回复,将造成最早一条默认回复被删除,确定继续吗?',
success: res => {
if(res.confirm){
customerFetch({
url: '/feedback/feedback',
method: 'PUT',
data: {
id: id,
isAddShortcut: this.data.cb ? 1 : 0,
replayContent: val,
state: this.data.r1 ? '3' : '2',
},
})
.then(res => {
wx.showToast({
title: res.msg,
icon:'none',
duration:2000
});
this.setData!({
inputValue: '',
});
// this.triggerEvent('refresh', {});
wx.navigateBack();
})
.catch((err: wx.GeneralCallbackResult) => {
wx.showToast({
title: err.errMsg,
icon: 'none',
});
});
}
}
});
}else {
customerFetch({
url: '/feedback/feedback',
method: 'PUT',
data: {
id: id,
replayContent: val,
isAddShortcut: this.data.cb ? 1 : 0,
state: this.data.r1 ? '3' : '2',
},
})
.then(res => {
wx.showToast({
title: res.msg,
icon:'none',
duration:2000
});
this.setData!({
inputValue: '',
});
// this.triggerEvent('refresh', {});
wx.navigateBack();
})
.catch((err: wx.GeneralCallbackResult) => {
wx.showToast({
title: err.errMsg,
icon: 'none',
});
});
}
},
getShortcuts(){
//获取快捷回复列表
customerFetch({
url: `/feedback/shortcuts`,
data:{areaId:this.data.areaId}
})
.then(res => {
const list = res.data;
this.setData!({
shortCuts: list,
});
})
.catch(err => {
console.log(err);
});
},
fetchList() {
return customerFetch({ return customerFetch({
url: `/feedback/get/feedback/${this.data.id}`, url: `/feedback/get/feedback/${this.data.id}`,
}) })
...@@ -47,7 +228,6 @@ Page({ ...@@ -47,7 +228,6 @@ Page({
console.log(err); console.log(err);
}); });
}, },
// refreshList() { // refreshList() {
// this.fetchList({ // this.fetchList({
// pageNum: 1, // pageNum: 1,
......
<!-- miniprogram/pages/feedbackDetail/feedbackDetail.wxml --> <!-- miniprogram/pages/feedbackDetail/feedbackDetail.wxml -->
<view class="feedbackDetail"> <wxs src="../../capture.wxs" module="tools"></wxs>
<scroll-view class="feedbackDetail" enhanced="{{true}}" show-scrollbar="{{false}}">
<block wx:if="{{dataList&&dataList.length}}"> <block wx:if="{{dataList&&dataList.length}}">
<feedback-detail-item wx:for="{{dataList}}" wx:key="id" item-data="{{item}}" bindrefresh="fetchList" /> <feedback-detail-item wx:for="{{dataList}}" shortcuts="{{shortCuts}}" wx:key="id" item-data="{{item}}" bindgetShortCuts="getShortcuts" bindrefresh="fetchList" />
</block> </block>
<view wx:else style="padding:50rpx;text-align:center">暂无数据</view> <view wx:else style="padding:50rpx;text-align:center">暂无数据</view>
</view> </scroll-view>
\ No newline at end of file <view class="bottom">
<view class="row_bet">
<image style="width: 20px; height: 20px;" bindtap="showModal" mode="scaleToFill" src="../../images/kuaijiehuifu.png"></image>
<modal title="快捷回复列表" hidden="{{isHidden}}" bindconfirm="cancel" bindcancel="cancel">
<view wx:for="{{shortCuts}}" class="ele" data-content="{{item.replyContent}}" catchtap="setContent">
<text>{{item.replyContent.length>16?tools.subStr(item.replyContent)+"...":item.replyContent}}</text>
<icon class="icon-small" data-id="{{item.id}}" catchtap="del" type="cancel" size="23"></icon>
</view>
</modal>
<view>
<checkbox-group bindchange="setV1">
<checkbox value="{{true}}" checked="{{false}}" color="#6A92FF"/>加入快捷回复
</checkbox-group>
</view>
<radio-group bindchange="setV">
<radio value="{{true}}" checked="{{true}}" color="#6A92FF"/>已处理
<radio value="{{false}}" checked="{{false}}" color="#6A92FF"/>进行中
</radio-group>
</view>
<view class="feedbackDetail-itemBox">
<input class="feedbackDetail-itemInput" type="text" placeholder="您的反馈客服已处理,谢谢!" value="{{inputValue}}" bindinput="inputHandle" />
<button class="feedbackDetail-itemBtn" bind:tap="sendFeedback" data-id="{{itemData.id}}">发送</button>
</view>
</view>
\ No newline at end of file
/* miniprogram/pages/feedbackDetail/feedbackDetail.wxss */ /* miniprogram/pages/feedbackDetail/feedbackDetail.wxss */
.feedbackDetail-itemBox {
display: flex;
margin-left: 50rpx;
}
.feedbackDetail{
/* height: calc(100vh - 110px); */
padding-bottom: 110px;
/* overflow: scroll; */
}
::-webkit-scrollbar{
width: 0px;
height: 0px;
color: transparent;
}
.feedbackDetail-itemInput {
width: 456rpx;
height: 76rpx;
border-radius: 20rpx;
background-color: #f0f3fd;
}
.feedbackDetail-itemBtn {
font-size: 32rpx;
border-radius: 20rpx;
margin-left: 10rpx;
background-color: #6a92ff;
color: #fff;
}
.bottom{
position: fixed;
bottom: 0px;
width: 100vw;
background-color: #fff;
border-top: solid 1px #eee;
height: 110px;
padding-bottom: 10px;
}
.row_bet{
width: 100vw;
display: flex;
box-sizing: border-box;
padding: 10px 20px;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.ele{
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
background-color: #f0f3fd;
margin-top: 20px;
border-radius: 5px;
height: 40px;
padding: 0px 20px;
}
\ No newline at end of file
...@@ -180,4 +180,4 @@ Component({ ...@@ -180,4 +180,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9tZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImhvbWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx5Q0FBa0Q7QUFDbEQseUNBQThDO0FBRzlDLFNBQVMsQ0FBQztJQUNSLFNBQVMsRUFBRTtRQUNULFFBQVE7WUFDTixPQUFPLENBQUMsR0FBRyxDQUFDLFVBQVUsRUFBRSxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxDQUFDO1lBQzNDLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLElBQUksSUFBSSxDQUFDLGlCQUFpQixFQUFFLENBQUM7UUFDakQsQ0FBQztLQUNGO0lBSUQsSUFBSSxFQUFFO1FBQ0osUUFBUSxFQUFFLENBQUM7UUFDWCxPQUFPLEVBQUUsS0FBSztRQUNkLFdBQVcsRUFBRSxFQUFFO1FBQ2YsWUFBWSxFQUFFO1lBQ1osS0FBSyxFQUFFLE1BQU07WUFDYixVQUFVLEVBQUUsT0FBTztZQUNuQixLQUFLLEVBQUUsQ0FBQztTQUNUO1FBQ0QsYUFBYSxFQUFFO1lBQ2IsS0FBSyxFQUFFLE9BQU87WUFDZCxVQUFVLEVBQUUsRUFBRTtZQUNkLEtBQUssRUFBRSxDQUFDO1NBQ1Q7UUFDRCxrQkFBa0IsRUFBRTtZQUNsQixLQUFLLEVBQUUsTUFBTTtZQU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Y3NGZXRjaCh7XG4gICAgICAgIHVybDogJy9kY3h5L3JlcG9ydEluZm8vcXVlcnlSZWNoYXJnZU9yZGVyTGlzdFYyJyxcbiAgICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICAgIGRhdGE6IGVudGl0eSxcbiAgICAgIH0pLnRoZW4ocmVzID0+IHtcbiAgICAgICAgY29uc3QgZGF0YSA9IHJlcy5yZWNoYXJnZU9yZGVyQ291bnRWbztcbiAgICAgICAgaWYgKGRhdGEpIHtcbiAgICAgICAgICBjb25zdCB7XG4gICAgICAgICAgICByZWNoYXJnZU1lbixcbiAgICAgICAgICAgIHJlY2hhcmdlTW9uZXksXG4gICAgICAgICAgICByZWZ1bmRDb3VudCxcbiAgICAgICAgICAgIHJlZnVuZE1vbmV5LFxuICAgICAgICAgICAgb2ZmbGluZVJlY2hhcmdlTWVuLFxuICAgICAgICAgICAgb2ZmbGluZVJlY2hhcmdlTW9uZXksXG4gICAgICAgICAgICBvbmxpbmVSZWNoYXJnZU1lbixcbiAgICAgICAgICAgIG9ubGluZVJlY2hhcmdlTW9uZXksXG4gICAgICAgICAgfSA9IGRhdGE7XG4gICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgICdyZWNoYXJnZURhdGEuY291bnQnOiByZWNoYXJnZU1vbmV5LFxuICAgICAgICAgICAgJ3JlY2hhcmdlQ291bnQuY291bnQnOiByZWNoYXJnZU1lbixcbiAgICAgICAgICAgICdyZWZ1bmREYXRhLmNvdW50JzogcmVmdW5kTW9uZXksXG4gICAgICAgICAgICAncmVmdW5kQ291bnQuY291bnQnOiByZWZ1bmRDb3VudCxcbiAgICAgICAgICAgICdvbmxpbmVSZWNoYXJnZURhdGEucHJpY2UnOiBvbmxpbmVSZWNoYXJnZU1vbmV5LFxuICAgICAgICAgICAgJ29ubGluZVJlY2hhcmdlRGF0YS5jb3VudCc6IG9ubGluZVJlY2hhcmdlTWVuLFxuICAgICAgICAgICAgJ29mZmxpbmVSZWNoYXJnZURhdGEucHJpY2UnOiBvZmZsaW5lUmVjaGFyZ2VNb25leSxcbiAgICAgICAgICAgICdvZmZsaW5lUmVjaGFyZ2VEYXRhLmNvdW50Jzogb2ZmbGluZVJlY2hhcmdlTWVuLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICAncmVjaGFyZ2VEYXRhLmNvdW50JzogMCxcbiAgICAgICAgICAgICdyZWNoYXJnZUNvdW50LmNvdW50JzogMCxcbiAgICAgICAgICAgICdyZWZ1bmREYXRhLmNvdW50JzogMCxcbiAgICAgICAgICAgICdyZWZ1bmRDb3VudC5jb3VudCc6IDAsXG4gICAgICAgICAgICAnb25saW5lUmVjaGFyZ2VEYXRhLnByaWNlJzogMCxcbiAgICAgICAgICAgICdvbmxpbmVSZWNoYXJnZURhdGEuY291bnQnOiAwLFxuICAgICAgICAgICAgJ29mZmxpbmVSZWNoYXJnZURhdGEucHJpY2UnOiAwLFxuICAgICAgICAgICAgJ29mZmxpbmVSZWNoYXJnZURhdGEuY291bnQnOiAwLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9XG4gICAgICB9KTtcbiAgICAgIGxldCBjb25zdW1lRGF0YUZldGNoID0gc3RhdGlzdGljc0ZldGNoKHtcbiAgICAgICAgdXJsOiAnL2RjeHkvcmVwb3J0SW5mby9xdWVyeUNvbnN1bWVPcmRlckxpc3QnLFxuICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgICAgZGF0YTogZW50aXR5LFxuICAgICAgfSkudGhlbihyZXMgPT4ge1xuICAgICAgICBjb25zdCB7IGNvbnN1bWVDb3VudFZvLCBkYXRhIH0gPSByZXM7XG4gICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgc2VydmljZUxpc3Q6IGRhdGEubWFwKGl0ZW0gPT4gKHtcbiAgICAgICAgICAgIHNlcnZpY2VJZDogaXRlbS5zZXJ2aWNlSWQsXG4gICAgICAgICAgICB0aXRsZTogaXRlbS5zZXJ2aWNlTmFtZSxcbiAgICAgICAgICAgIG51bWJlclR5cGU6ICcxJyxcbiAgICAgICAgICAgIGNvdW50OiBpdGVtLnBheU1lbixcbiAgICAgICAgICAgIHByaWNlOiBpdGVtLnBheWFibGVNb25leSxcbiAgICAgICAgICB9KSksXG4gICAgICAgICAgJ2NvbXN1bWVyRGF0YS5jb3VudCc6XG4gICAgICAgICAgICBjb25zdW1lQ291bnRWbyAmJiBjb25zdW1lQ291bnRWby5wYXlhYmxlTW9uZXlcbiAgICAgICAgICAgICAgPyBjb25zdW1lQ291bnRWby5wYXlhYmxlTW9uZXlcbiAgICAgICAgICAgICAgOiAwLFxuICAgICAgICAgICdjb21zdW1lckNvdW50LmNvdW50JzpcbiAgICAgICAgICAgIGNvbnN1bWVDb3VudFZvICYmIGNvbnN1bWVDb3VudFZvLnBheU1lbiA/IGNvbnN1bWVDb3VudFZvLnBheU1lbiA6IDAsXG4gICAgICAgIH0pO1xuICAgICAgfSk7XG4gICAgICBQcm9taXNlLmFsbChbY29uc3VtZURhdGFGZXRjaCwgcmVjaGFyZ2VEYXRhRmV0Y2hdKVxuICAgICAgICAudGhlbigoKSA9PiB7XG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKChlcnI6IHd4LkdlbmVyYWxDYWxsYmFja1Jlc3VsdCkgPT4ge1xuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgIHRpdGxlOiBlcnIuZXJyTXNnLFxuICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgIH0pO1xuICAgIH0sXG4gICAgcmVxdWVzdFN1Yk1zZyg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nZU1lbixcclxuICAgICAgICAgICAgb25saW5lUmVjaGFyZ2VNb25leSxcclxuICAgICAgICAgIH0gPSBkYXRhO1xyXG4gICAgICAgICAgdGhpcy5zZXREYXRhKHtcclxuICAgICAgICAgICAgJ3JlY2hhcmdlRGF0YS5jb3VudCc6IHJlY2hhcmdlTW9uZXksXHJcbiAgICAgICAgICAgICdyZWNoYXJnZUNvdW50LmNvdW50JzogcmVjaGFyZ2VNZW4sXHJcbiAgICAgICAgICAgICdyZWZ1bmREYXRhLmNvdW50JzogcmVmdW5kTW9uZXksXHJcbiAgICAgICAgICAgICdyZWZ1bmRDb3VudC5jb3VudCc6IHJlZnVuZENvdW50LFxyXG4gICAgICAgICAgICAnb25saW5lUmVjaGFyZ2VEYXRhLnByaWNlJzogb25saW5lUmVjaGFyZ2VNb25leSxcclxuICAgICAgICAgICAgJ29ubGluZVJlY2hhcmdlRGF0YS5jb3VudCc6IG9ubGluZVJlY2hhcmdlTWVuLFxyXG4gICAgICAgICAgICAnb2ZmbGluZVJlY2hhcmdlRGF0YS5wcmljZSc6IG9mZmxpbmVSZWNoYXJnZU1vbmV5LFxyXG4gICAgICAgICAgICAnb2ZmbGluZVJlY2hhcmdlRGF0YS5jb3VudCc6IG9mZmxpbmVSZWNoYXJnZU1lbixcclxuICAgICAgICAgIH0pO1xyXG4gICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAgICAgICAncmVjaGFyZ2VEYXRhLmNvdW50JzogMCxcclxuICAgICAgICAgICAgJ3JlY2hhcmdlQ291bnQuY291bnQnOiAwLFxyXG4gICAgICAgICAgICAncmVmdW5kRGF0YS5jb3VudCc6IDAsXHJcbiAgICAgICAgICAgICdyZWZ1bmRDb3VudC5jb3VudCc6IDAsXHJcbiAgICAgICAgICAgICdvbmxpbmVSZWNoYXJnZURhdGEucHJpY2UnOiAwLFxyXG4gICAgICAgICAgICAnb25saW5lUmVjaGFyZ2VEYXRhLmNvdW50JzogMCxcclxuICAgICAgICAgICAgJ29mZmxpbmVSZWNoYXJnZURhdGEucHJpY2UnOiAwLFxyXG4gICAgICAgICAgICAnb2ZmbGluZVJlY2hhcmdlRGF0YS5jb3VudCc6IDAsXHJcbiAgICAgICAgICB9KTtcclxuICAgICAgICB9XHJcbiAgICAgIH0pO1xyXG4gICAgICBsZXQgY29uc3VtZURhdGFGZXRjaCA9IHN0YXRpc3RpY3NGZXRjaCh7XHJcbiAgICAgICAgdXJsOiAnL2RjeHkvcmVwb3J0SW5mby9xdWVyeUNvbnN1bWVPcmRlckxpc3QnLFxyXG4gICAgICAgIG1ldGhvZDogJ1BPU1QnLFxyXG4gICAgICAgIGRhdGE6IGVudGl0eSxcclxuICAgICAgfSkudGhlbihyZXMgPT4ge1xyXG4gICAgICAgIGNvbnN0IHsgY29uc3VtZUNvdW50Vm8sIGRhdGEgfSA9IHJlcztcclxuICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xyXG4gICAgICAgIHRoaXMuc2V0RGF0YSh7XHJcbiAgICAgICAgICBzZXJ2aWNlTGlzdDogZGF0YS5tYXAoaXRlbSA9PiAoe1xyXG4gICAgICAgICAgICBzZXJ2aWNlSWQ6IGl0ZW0uc2VydmljZUlkLFxyXG4gICAgICAgICAgICB0aXRsZTogaXRlbS5zZXJ2aWNlTmFtZSxcclxuICAgICAgICAgICAgbnVtYmVyVHlwZTogJzEnLFxyXG4gICAgICAgICAgICBjb3VudDogaXRlbS5wYXlNZW4sXHJcbiAgICAgICAgICAgIHByaWNlOiBpdGVtLnBheWFibGVNb25leSxcclxuICAgICAgICAgIH0pKSxcclxuICAgICAgICAgICdjb21zdW1lckRhdGEuY291bnQnOlxyXG4gICAgICAgICAgICBjb25zdW1lQ291bnRWbyAmJiBjb25zdW1lQ291bnRWby5wYXlhYmxlTW9uZXlcclxuICAgICAgICAgICAgICA/IGNvbnN1bWVDb3VudFZvLnBheWFibGVNb25leVxyXG4gICAgICAgICAgICAgIDogMCxcclxuICAgICAgICAgICdjb21zdW1lckNvdW50LmNvdW50JzpcclxuICAgICAgICAgICAgY29uc3VtZUNvdW50Vm8gJiYgY29uc3VtZUNvdW50Vm8ucGF5TWVuID8gY29uc3VtZUNvdW50Vm8ucGF5TWVuIDogMCxcclxuICAgICAgICB9KTtcclxuICAgICAgfSk7XHJcbiAgICAgIFByb21pc2UuYWxsKFtjb25zdW1lRGF0YUZldGNoLCByZWNoYXJnZURhdGFGZXRjaF0pXHJcbiAgICAgICAgLnRoZW4oKCkgPT4ge1xyXG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcclxuICAgICAgICB9KVxyXG4gICAgICAgIC5jYXRjaCgoZXJyOiB3eC5HZW5lcmFsQ2FsbGJhY2tSZXN1bHQpID0+IHtcclxuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XHJcbiAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xyXG4gICAgICAgICAgICB0aXRsZTogZXJyLmVyck1zZyxcclxuICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxyXG4gICAgICAgICAgfSk7XHJcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xyXG4gICAgICAgIH0pO1xyXG4gICAgfSxcclxuICAgIHJlcXVlc3RTdWJNc2coKSB7XHJcbiAgICAgIGNvbnNvbGUubG9nKCdpbiByZXF1ZXN0U3ViTXNnJyk7XHJcbiAgICAgIHd4LnJlcXVlc3RTdWJzY3JpYmVNZXNzYWdlKHtcclxuICAgICAgICB0bXBsSWRzOiBbJ1dVMnlNSEtNX3lOUExHSFJzc3RnZ3NEWW5aaEtvSElnNGhlTTJmWmtENUknXSxcclxuICAgICAgICBzdWNjZXNzKHJlcykge1xyXG4gICAgICAgICAgY29uc29sZS5sb2coJ2luIHN1Y2Nlc3MnLCByZXMpO1xyXG4gICAgICAgIH0sXHJcbiAgICAgICAgZmFpbChyZXMpIHtcclxuICAgICAgICAgIGNvbnNvbGUubG9nKCdpbiBmYWlsJywgcmVzKTtcclxuICAgICAgICB9LFxyXG4gICAgICAgIGNvbXBsZXRlKHJlcykge1xyXG4gICAgICAgICAgY29uc29sZS5sb2coJ2luIGNvbXBsZXRlJywgcmVzKTtcclxuICAgICAgICB9LFxyXG4gICAgICB9KTtcclxuICAgIH0sXHJcbiAgfSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file \ No newline at end of file
...@@ -31,6 +31,19 @@ Page({ ...@@ -31,6 +31,19 @@ Page({
selected: list.length ? list[0].code : '', selected: list.length ? list[0].code : '',
list: list, list: list,
}); });
fetch_1.deviceFetch({ url: '/deviceServiceFees/operators/fee/prompting', method: 'GET' }).then(function (res) {
if (res.data) {
wx.showModal({
title: '提示',
content: res.data,
success: function (res1) {
if (res1.confirm) {
wx.navigateTo({ url: '/pages/platformFee/platformFee' });
}
}
});
}
});
}, },
onShow: function () { onShow: function () {
if (wx.hideHomeButton) { if (wx.hideHomeButton) {
...@@ -74,4 +87,4 @@ Page({ ...@@ -74,4 +87,4 @@ Page({
}); });
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9tZUFuZFJlcG9ydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImhvbWVBbmRSZXBvcnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSx5Q0FBOEM7QUFTOUMsSUFBTSxHQUFHLEdBQUcsTUFBTSxFQUFVLENBQUM7QUFDN0IsSUFBTSxPQUFPLEdBQVc7SUFDdEI7UUFDRSxRQUFRLEVBQUUsa0JBQWtCO1FBQzVCLFFBQVEsRUFBRSw4QkFBOEI7UUFDeEMsZ0JBQWdCLEVBQUUsOEJBQThCO1FBQ2hELElBQUksRUFBRSxNQUFNO1FBQ1osSUFBSSxFQUFFLE1BQU07S0FDYjtJQUNEO1FBQ0UsUUFBUSxFQUFFLHNCQUFzQjtRQUNoQyxRQUFRLEVBQUUsZ0NBQWdDO1FBQzFDLGdCQU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KHtcbiAgICAgIHVybDogJy9ib3NzL2xvZ2luL2luaXQvZGF0YScsXG4gICAgICBtZXRob2Q6ICdHRVQnLFxuICAgIH0pLnRoZW4ocmVzID0+IHtcbiAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgICAgdG1wbElkczogcmVzLnRlbXBsYXRlcyxcbiAgICAgIH0pO1xuICAgIH0pO1xuICB9LFxuICBjbGlja0hhbmRsZShlKSB7XG4gICAgY29uc29sZS5sb2coJ2luIGNsaWNrJywgZSk7XG4gICAgbGV0IHsgcGF0aCwgaW5kZXggfSA9IGUuZGV0YWlsO1xuICAgIC8vIGNvbnNvbGUubG9nKHBhdGgsIGluZGV4KTtcbiAgICAvLyB3eC5zd2l0Y2hUYWIoeyB1cmw6IHBhdGggfSk7XG4gICAgdGhpcy5zZXREYXRhISh7XG4gICAgICBzZWxlY3RlZDogaW5kZXgsXG4gICAgfSk7XG4gICAgd3gucmVxdWVzdFN1YnNjcmliZU1lc3NhZ2Uoe1xuICAgICAgdG1wbElkczogdGhpcy5kYXRhLnRtcGxJZHMubWFwKGl0ZW0gPT4gaXRlbS50ZW1wbGF0ZUlkKSxcbiAgICAgIHN1Y2Nlc3MocmVzKSB7XG4gICAgICAgIGNvbnNvbGUubG9nKCdpbiBzdWNjZXNzJywgcmVzKTtcbiAgICAgIH0sXG4gICAgICBmYWlsKHJlcykge1xuICAgICAgICBjb25zb2xlLmxvZygnaW4gZmFpbCcsIHJlcyk7XG4gICAgICB9LFxuICAgICAgY29tcGxldGUocmVzKSB7XG4gICAgICAgIGNvbnNvbGUubG9nKCdpbiBjb21wbGV0ZScsIHJlcyk7XG4gICAgICB9LFxuICAgIH0pO1xuICB9LFxufSk7XG4iXX0= //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9tZUFuZFJlcG9ydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImhv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GVkOiBpbmRleCxcclxuICAgIH0pO1xyXG4gICAgd3gucmVxdWVzdFN1YnNjcmliZU1lc3NhZ2Uoe1xyXG4gICAgICB0bXBsSWRzOiB0aGlzLmRhdGEudG1wbElkcy5tYXAoaXRlbSA9PiBpdGVtLnRlbXBsYXRlSWQpLFxyXG4gICAgICBzdWNjZXNzKHJlcykge1xyXG4gICAgICAgIGNvbnNvbGUubG9nKCdpbiBzdWNjZXNzJywgcmVzKTtcclxuICAgICAgfSxcclxuICAgICAgZmFpbChyZXMpIHtcclxuICAgICAgICBjb25zb2xlLmxvZygnaW4gZmFpbCcsIHJlcyk7XHJcbiAgICAgIH0sXHJcbiAgICAgIGNvbXBsZXRlKHJlcykge1xyXG4gICAgICAgIGNvbnNvbGUubG9nKCdpbiBjb21wbGV0ZScsIHJlcyk7XHJcbiAgICAgIH0sXHJcbiAgICB9KTtcclxuICB9LFxyXG59KTtcclxuIl19
\ No newline at end of file \ No newline at end of file
import { IMyApp } from '../../app'; import { IMyApp } from '../../app';
import { systemFetch } from '../../api/fetch'; import { systemFetch,deviceFetch } from '../../api/fetch';
type Menu = { type Menu = {
pagePath: string; pagePath: string;
...@@ -40,6 +40,19 @@ Page({ ...@@ -40,6 +40,19 @@ Page({
selected: list.length ? list[0].code : '', selected: list.length ? list[0].code : '',
list, list,
}); });
deviceFetch({ url: '/deviceServiceFees/operators/fee/prompting', method: 'GET' }).then(res => {
if(res.data){
wx.showModal({
title:'提示',
content:res.data,
success:(res1)=>{
if(res1.confirm){
wx.navigateTo({url:'/pages/platformFee/platformFee'})
}
}
})
}
})
}, },
onShow() { onShow() {
if (wx.hideHomeButton) { if (wx.hideHomeButton) {
......
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
var fetch_1 = require("../../api/fetch"); var fetch_1 = require("../../api/fetch");
var md5 = require('blueimp-md5'); var md5 = require('../../utils/md5');
var app = getApp(); var app = getApp();
Page({ Page({
onLoad: function (option) { onLoad: function (option) {
...@@ -256,10 +256,10 @@ Page({ ...@@ -256,10 +256,10 @@ Page({
this.updateInputValue('pwd', value); this.updateInputValue('pwd', value);
}, },
updateInputValue: function (key, value) { updateInputValue: function (key, value) {
var _a;
this.setData((_a = {}, this.setData((_a = {},
_a[key] = value, _a[key] = value,
_a)); _a));
var _a;
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLHlDQUE4QztBQUM5QyxJQUFNLEdBQUcsR0FBRyxPQUFPLENBQUMsYUFBYSxDQUFDLENBQUM7QUFHbkMsSUFBTSxHQUFHLEdBQUcsTUFBTSxFQUFVLENBQUM7QUFFN0IsSUFBSSxDQUFDO0lBQ0gsTUFBTSxZQUFDLE1BQU07UUFDWCxPQUFPLENBQUMsR0FBRyxDQUFDLE1BQU0sQ0FBQyxDQUFDO1FBQ3BCLEVBQUUsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQztZQUN6QixJQUFJLENBQUMsV0FBVyxFQUFFLENBQUM7UUFDckIsQ0FBQztRQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQyxNQUFNLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQztRQUUzQixDQUFDO1FBQUMsSUFBSSxDQUFDLENBQUM7WUFDTixJQUFJLENBQUMsU0FBUyxFQUFFLENBQUM7UUFDbkIsQ0FBQztJQUNILENBQUM7SUFDRCxJQUFJLEVBQUU7UUFDSixPQUFPLEVBQUUsRUFBRTtRQUNYLEdBQUcsRUFBRSxFQUFFO1FBQ1AsWUFBWSxFQUFFLEtBQUs7S0FDcEI7SUFDRCxjQUFjO1FBQ1osSUFBSSxDQUFDLE9BQVEsQ0FBQztZQUNaLFlBQV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ZCB9ID0gdGhpcy5kYXRhO1xuICAgIGlmICghYWNjb3VudCkge1xuICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgdGl0bGU6ICfor7fovpPlhaXotKbmiLcnLFxuICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICB9KTtcbiAgICAgIHJldHVybjtcbiAgICB9XG4gICAgaWYgKCFwd2QpIHtcbiAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgIHRpdGxlOiAn6K+36L6T5YWl5a+G56CBJyxcbiAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgfSk7XG4gICAgICByZXR1cm47XG4gICAgfVxuICAgIHJldHVybiB0cnVlO1xuICB9LFxuICB0b2tlbkxvYWdpbigpIHtcbiAgICB3eC5sb2dpbih7XG4gICAgICBzdWNjZXNzOiByZXMgPT4ge1xuICAgICAgICBpZiAocmVzLmNvZGUpIHtcbiAgICAgICAgICBjb25zdCBjb2RlID0gcmVzLmNvZGU7XG5cbiAgICAgICAgICB3eC5zaG93TG9hZGluZyh7IHRpdGxlOiAn55m76ZmG5LitJyB9KTtcbiAgICAgICAgICBzeXN0ZW1GZXRjaCh7XG4gICAgICAgICAgICB1cmw6ICcvbG9naW4vdmVyaWZ5Q29kZScsXG4gICAgICAgICAgfSlcbiAgICAgICAgICAgIC50aGVuKChyZXM6IHd4LlJlcXVlc3RTdWNjZXNzQ2FsbGJhY2tSZXN1bHQpID0+IHtcbiAgICAgICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICBjb2RlOiByZXMuZGF0YS52ZXJpZnlDb2RlLFxuICAgICAgICAgICAgICAgIGNvb2tpZTogcmVzLmhlYWRlclsnU2V0LUNvb2tpZSddLFxuICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgfSlcbiAgICAgICAgICAgIC50aGVuKCh7IGNvb2tpZSB9OiB7IGNvZGU6IHN0cmluZzsgY29va2llOiBzdHJpbmcgfSkgPT5cbiAgICAgICAgICAgICAgc3lzdGVtRmV0Y2goe1xuICAgICAgICAgICAgICAgIHVybDogJy9ib3NzL2xvZ2luJyxcbiAgICAgICAgICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgICAgICAgICAgICBoZWFkZXI6IHtcbiAgICAgICAgICAgICAgICAgIGNvb2tpZTogY29va2llLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgZGF0YToge1xuICAgICAgICAgICAgICAgICAgY29kZSxcbiAgICAgICAgICAgICAgICAgIHRva2VuOiBhcHAuZ2xvYmFsRGF0YS50b2tlbixcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgICAgIGNvbnN0IHtcbiAgICAgICAgICAgICAgICB0b2tlbixcbiAgICAgICAgICAgICAgICBkYXRhOiB7IHVzZXJJbmZvLCB1c2VyUm9sZXMgfSxcbiAgICAgICAgICAgICAgfSA9IHJlcztcbiAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudG9rZW4gPSB0b2tlbjtcbiAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudXNlckluZm8gPSB1c2VySW5mbztcbiAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudXNlclJvbGVzID0gdXNlclJvbGVzLmxlbmd0aFxuICAgICAgICAgICAgICAgID8gdXNlclJvbGVzWzBdLmNoaWxkc1xuICAgICAgICAgICAgICAgIDogW107XG4gICAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgICAgIHd4LnJlZGlyZWN0VG8oe1xuICAgICAgICAgICAgICAgIHVybDogJy9wYWdlcy9ob21lQW5kUmVwb3J0L2hvbWVBbmRSZXBvcnQnLFxuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgICAgICB0aXRsZTogZXJyLmVyck1zZyxcbiAgICAgICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgIH0sXG4gICAgfSk7XG4gIH0sXG4gIGxvZ2luSGFuZGxlKCkge1xuICAgIGNvbnNvbGUubG9nKGFwcC5nbG9iYWxEYXRhKTtcbiAgICBpZiAodGhpcy52YWxpZGF0ZUxvZ2luRGF0YSgpKSB7XG4gICAgICBjb25zdCB7IGFjY291bnQsIHB3ZCB9ID0gdGhpcy5kYXRhO1xuICAgICAgY29uc29sZS5sb2coYWNjb3VudCwgcHdkKTtcbiAgICAgIHN5c3RlbUZldGNoKHtcbiAgICAgICAgdXJsOiAnL2Jvc3MvbG9naW4vaW5pdC9kYXRhJyxcbiAgICAgICAgbWV0aG9kOiAnR0VUJyxcbiAgICAgIH0pXG4gICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICByZXR1cm4gcmVzLnRlbXBsYXRlcztcbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9KVxuICAgICAgICAudGhlbihpZHMgPT4ge1xuICAgICAgICAgIGxldCB0bXBsSWRzID1cbiAgICAgICAgICAgIGlkcyAmJiBpZHMubGVuZ3RoID8gaWRzLm1hcChpdGVtID0+IGl0ZW0udGVtcGxhdGVJZCkgOiBbXTtcbiAgICAgICAgICB3eC5yZXF1ZXN0U3Vic2NyaWJlTWVzc2FnZSh7XG4gICAgICAgICAgICB0bXBsSWRzOiB0bXBsSWRzLFxuICAgICAgICAgICAgc3VjY2VzcyhyZXMpIHtcbiAgICAgICAgICAgICAgY29uc29sZS5sb2coJ2luIHN1Y2Nlc3MnLCByZXMpO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIGZhaWwocmVzKSB7XG4gICAgICAgICAgICAgIGNvbnNvbGUubG9nKCdpbiBmYWlsJywgcmVzKTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBjb21wbGV0ZShyZXMpIHtcbiAgICAgICAgICAgICAgY29uc29sZS5sb2coJ2luIGNvbXBsZXRlJywgcmVzKTtcbiAgICAgICAgICAgICAgd3gubG9naW4oe1xuICAgICAgICAgICAgICAgIHN1Y2Nlc3M6IHJlcyA9PiB7XG4gICAgICAgICAgICAgICAgICBpZiAocmVzLmNvZGUpIHtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgY29kZSA9IHJlcy5jb2RlO1xuICAgICAgICAgICAgICAgICAgICB3eC5zaG93TG9hZGluZyh7IHRpdGxlOiAnJyB9KTtcbiAgICAgICAgICAgICAgICAgICAgc3lzdGVtRmV0Y2goe1xuICAgICAgICAgICAgICAgICAgICAgIHVybDogJy9sb2dpbi92ZXJpZnlDb2RlJyxcbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgICAudGhlbigocmVzOiB3eC5SZXF1ZXN0U3VjY2Vzc0NhbGxiYWNrUmVzdWx0KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgdmVyaWZ5Q29kZTogcmVzLmRhdGEudmVyaWZ5Q29kZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgY29va2llOiByZXMuaGVhZGVyWydTZXQtQ29va2llJ10sXG4gICAgICAgICAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgICAgLnRoZW4oXG4gICAgICAgICAgICAgICAgICAgICAgICAoe1xuICAgICAgICAgICAgICAgICAgICAgICAgICB2ZXJpZnlDb2RlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICBjb29raWUsXG4gICAgICAgICAgICAgICAgICAgICAgICB9OiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIHZlcmlmeUNvZGU6IHN0cmluZztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgY29va2llOiBzdHJpbmc7XG4gICAgICAgICAgICAgICAgICAgICAgICB9KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBtaXhwd2QgPSBtZDUocHdkKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHN5c3RlbUZldGNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1cmw6ICcvYm9zcy9sb2dpbicsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaGVhZGVyOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb29raWU6IGNvb2tpZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRhdGE6IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvZGUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhY2NvdW50LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHdkOiBtaXhwd2QsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXJpZnlDb2RlOiB2ZXJpZnlDb2RlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIHRva2VuLFxuICAgICAgICAgICAgICAgICAgICAgICAgICBkYXRhOiB7IHVzZXJJbmZvLCB1c2VyUm9sZXMgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gPSByZXM7XG4gICAgICAgICAgICAgICAgICAgICAgICBhcHAuZ2xvYmFsRGF0YS50b2tlbiA9IHRva2VuO1xuICAgICAgICAgICAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudXNlckluZm8gPSB1c2VySW5mbztcbiAgICAgICAgICAgICAgICAgICAgICAgIGFwcC5nbG9iYWxEYXRhLnVzZXJSb2xlcyA9IHVzZXJSb2xlcy5sZW5ndGhcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPyB1c2VyUm9sZXNbMF0uY2hpbGRzXG4gICAgICAgICAgICAgICAgICAgICAgICAgIDogW107XG4gICAgICAgICAgICAgICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICB3eC5zZXRTdG9yYWdlU3luYygndG9rZW4nLCB0b2tlbik7XG4gICAgICAgICAgICAgICAgICAgICAgICB9IGNhdGNoIChlcnJvcikge31cbiAgICAgICAgICAgICAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICB3eC5yZWRpcmVjdFRvKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiAnL3BhZ2VzL2hvbWVBbmRSZXBvcnQvaG9tZUFuZFJlcG9ydCcsXG4gICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogZXJyLmVyck1zZyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiAn55m75b2V6I635Y+WY29kZeWksei0pScsXG4gICAgICAgICAgICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0pXG4gICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgIH0pO1xuICAgIH1cbiAgICAvLyBmZXRjaCgpXG4gICAgLy8gd3gucmVkaXJlY3RUbyh7XG4gICAgLy8gICB1cmw6ICcvcGFnZXMvaG9tZS9ob21lJ1xuICAgIC8vIH0pXG4gIH0sXG4gIGNvZGVMb2dpbigpIHtcbiAgICB3eC5sb2dpbih7XG4gICAgICBzdWNjZXNzOiByZXMgPT4ge1xuICAgICAgICBpZiAocmVzLmNvZGUpIHtcbiAgICAgICAgICBjb25zdCBjb2RlID0gcmVzLmNvZGU7XG4gICAgICAgICAgc3lzdGVtRmV0Y2goe1xuICAgICAgICAgICAgdXJsOiAnL2Jvc3MvbG9naW4nLFxuICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgICAgIGNvZGUsXG4gICAgICAgICAgICB9LFxuICAgICAgICAgIH0pXG4gICAgICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgICAgICBjb25zdCB7XG4gICAgICAgICAgICAgICAgdG9rZW4sXG4gICAgICAgICAgICAgICAgZGF0YTogeyB1c2VySW5mbywgdXNlclJvbGVzIH0sXG4gICAgICAgICAgICAgIH0gPSByZXM7XG4gICAgICAgICAgICAgIGFwcC5nbG9iYWxEYXRhLnRva2VuID0gdG9rZW47XG4gICAgICAgICAgICAgIGFwcC5nbG9iYWxEYXRhLnVzZXJJbmZvID0gdXNlckluZm87XG4gICAgICAgICAgICAgIGFwcC5nbG9iYWxEYXRhLnVzZXJSb2xlcyA9IHVzZXJSb2xlcy5sZW5ndGhcbiAgICAgICAgICAgICAgICA/IHVzZXJSb2xlc1swXS5jaGlsZHNcbiAgICAgICAgICAgICAgICA6IFtdO1xuICAgICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgIHd4LnNldFN0b3JhZ2VTeW5jKCd0b2tlbicsIHRva2VuKTtcbiAgICAgICAgICAgICAgfSBjYXRjaCAoZXJyb3IpIHt9XG4gICAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgICAgIHd4LnJlZGlyZWN0VG8oe1xuICAgICAgICAgICAgICAgIHVybDogJy9wYWdlcy9ob21lQW5kUmVwb3J0L2hvbWVBbmRSZXBvcnQnLFxuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgICAgICB0aXRsZTogZXJyLmVyck1zZyxcbiAgICAgICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgIHRpdGxlOiAn55m75b2V6I635Y+WY29kZeWksei0pScsXG4gICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgIH0sXG4gICAgfSk7XG4gIH0sXG4gIG5hbWVJbnB1dEhhbmRsZShlKSB7XG4gICAgY29uc3QgdmFsdWUgPSBlLmRldGFpbC52YWx1ZTtcbiAgICB0aGlzLnVwZGF0ZUlucHV0VmFsdWUoJ2FjY291bnQnLCB2YWx1ZSk7XG4gIH0sXG4gIHBhc3N3YXJkSW5vdXRIYW5kbGUoZSkge1xuICAgIGNvbnN0IHZhbHVlID0gZS5kZXRhaWwudmFsdWU7XG4gICAgdGhpcy51cGRhdGVJbnB1dFZhbHVlKCdwd2QnLCB2YWx1ZSk7XG4gIH0sXG4gIHVwZGF0ZUlucHV0VmFsdWUoa2V5OiBzdHJpbmcsIHZhbHVlOiBzdHJpbmcpIHtcbiAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgIFtrZXldOiB2YWx1ZSxcbiAgICB9KTtcbiAgfSxcbn0pO1xuIl19 //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLHlDQUE4QztBQUM5QyxJQUFNLEdBQUcsR0FBRyxPQUFPLENBQUMsaUJBQWlCLENBQUMsQ0FBQztBQUd2QyxJQUFNLEdBQUcsR0FBRyxNQUFNLEVBQVUsQ0FBQztBQUU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mcoeyB0aXRsZTogJ+eZu+mZhuS4rScgfSk7XHJcbiAgICAgICAgICBzeXN0ZW1GZXRjaCh7XHJcbiAgICAgICAgICAgIHVybDogJy9sb2dpbi92ZXJpZnlDb2RlJyxcclxuICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgIC50aGVuKChyZXM6IHd4LlJlcXVlc3RTdWNjZXNzQ2FsbGJhY2tSZXN1bHQpID0+IHtcclxuICAgICAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xyXG4gICAgICAgICAgICAgIHJldHVybiB7XHJcbiAgICAgICAgICAgICAgICBjb2RlOiByZXMuZGF0YS52ZXJpZnlDb2RlLFxyXG4gICAgICAgICAgICAgICAgY29va2llOiByZXMuaGVhZGVyWydTZXQtQ29va2llJ10sXHJcbiAgICAgICAgICAgICAgfTtcclxuICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgLnRoZW4oKHsgY29va2llIH06IHsgY29kZTogc3RyaW5nOyBjb29raWU6IHN0cmluZyB9KSA9PlxyXG4gICAgICAgICAgICAgIHN5c3RlbUZldGNoKHtcclxuICAgICAgICAgICAgICAgIHVybDogJy9ib3NzL2xvZ2luJyxcclxuICAgICAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxyXG4gICAgICAgICAgICAgICAgaGVhZGVyOiB7XHJcbiAgICAgICAgICAgICAgICAgIGNvb2tpZTogY29va2llLFxyXG4gICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgIGRhdGE6IHtcclxuICAgICAgICAgICAgICAgICAgY29kZSxcclxuICAgICAgICAgICAgICAgICAgdG9rZW46IGFwcC5nbG9iYWxEYXRhLnRva2VuLFxyXG4gICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICB9KSxcclxuICAgICAgICAgICAgKVxyXG4gICAgICAgICAgICAudGhlbihyZXMgPT4ge1xyXG4gICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XHJcbiAgICAgICAgICAgICAgY29uc3Qge1xyXG4gICAgICAgICAgICAgICAgdG9rZW4sXHJcbiAgICAgICAgICAgICAgICBkYXRhOiB7IHVzZXJJbmZvLCB1c2VyUm9sZXMgfSxcclxuICAgICAgICAgICAgICB9ID0gcmVzO1xyXG4gICAgICAgICAgICAgIGFwcC5nbG9iYWxEYXRhLnRva2VuID0gdG9rZW47XHJcbiAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudXNlckluZm8gPSB1c2VySW5mbztcclxuICAgICAgICAgICAgICBhcHAuZ2xvYmFsRGF0YS51c2VyUm9sZXMgPSB1c2VyUm9sZXMubGVuZ3RoXHJcbiAgICAgICAgICAgICAgICA/IHVzZXJSb2xlc1swXS5jaGlsZHNcclxuICAgICAgICAgICAgICAgIDogW107XHJcbiAgICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcclxuICAgICAgICAgICAgICB3eC5yZWRpcmVjdFRvKHtcclxuICAgICAgICAgICAgICAgIHVybDogJy9wYWdlcy9ob21lQW5kUmVwb3J0L2hvbWVBbmRSZXBvcnQnLFxyXG4gICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICB9KVxyXG4gICAgICAgICAgICAuY2F0Y2goZXJyID0+IHtcclxuICAgICAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xyXG4gICAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XHJcbiAgICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcclxuICAgICAgICAgICAgICAgIHRpdGxlOiBlcnIuZXJyTXNnLFxyXG4gICAgICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxyXG4gICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICB9KTtcclxuICAgICAgICB9XHJcbiAgICAgIH0sXHJcbiAgICB9KTtcclxuICB9LFxyXG4gIGxvZ2luSGFuZGxlKCkge1xyXG4gICAgY29uc29sZS5sb2coYXBwLmdsb2JhbERhdGEpO1xyXG4gICAgaWYgKHRoaXMudmFsaWRhdGVMb2dpbkRhdGEoKSkge1xyXG4gICAgICBjb25zdCB7IGFjY291bnQsIHB3ZCB9ID0gdGhpcy5kYXRhO1xyXG4gICAgICBjb25zb2xlLmxvZyhhY2NvdW50LCBwd2QpO1xyXG4gICAgICBzeXN0ZW1GZXRjaCh7XHJcbiAgICAgICAgdXJsOiAnL2Jvc3MvbG9naW4vaW5pdC9kYXRhJyxcclxuICAgICAgICBtZXRob2Q6ICdHRVQnLFxyXG4gICAgICB9KVxyXG4gICAgICAgIC50aGVuKHJlcyA9PiB7XHJcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xyXG4gICAgICAgICAgcmV0dXJuIHJlcy50ZW1wbGF0ZXM7XHJcbiAgICAgICAgfSlcclxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcclxuICAgICAgICAgIHJldHVybjtcclxuICAgICAgICB9KVxyXG4gICAgICAgIC50aGVuKGlkcyA9PiB7XHJcbiAgICAgICAgICBsZXQgdG1wbElkcyA9XHJcbiAgICAgICAgICAgIGlkcyAmJiBpZHMubGVuZ3RoID8gaWRzLm1hcChpdGVtID0+IGl0ZW0udGVtcGxhdGVJZCkgOiBbXTtcclxuICAgICAgICAgIHd4LnJlcXVlc3RTdWJzY3JpYmVNZXNzYWdlKHtcclxuICAgICAgICAgICAgdG1wbElkczogdG1wbElkcyxcclxuICAgICAgICAgICAgc3VjY2VzcyhyZXMpIHtcclxuICAgICAgICAgICAgICBjb25zb2xlLmxvZygnaW4gc3VjY2VzcycsIHJlcyk7XHJcbiAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgIGZhaWwocmVzKSB7XHJcbiAgICAgICAgICAgICAgY29uc29sZS5sb2coJ2luIGZhaWwnLCByZXMpO1xyXG4gICAgICAgICAgICB9LFxyXG4gICAgICAgICAgICBjb21wbGV0ZShyZXMpIHtcclxuICAgICAgICAgICAgICBjb25zb2xlLmxvZygnaW4gY29tcGxldGUnLCByZXMpO1xyXG4gICAgICAgICAgICAgIHd4LmxvZ2luKHtcclxuICAgICAgICAgICAgICAgIHN1Y2Nlc3M6IHJlcyA9PiB7XHJcbiAgICAgICAgICAgICAgICAgIGlmIChyZXMuY29kZSkge1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGNvZGUgPSByZXMuY29kZTtcclxuICAgICAgICAgICAgICAgICAgICB3eC5zaG93TG9hZGluZyh7IHRpdGxlOiAnJyB9KTtcclxuICAgICAgICAgICAgICAgICAgICBzeXN0ZW1GZXRjaCh7XHJcbiAgICAgICAgICAgICAgICAgICAgICB1cmw6ICcvbG9naW4vdmVyaWZ5Q29kZScsXHJcbiAgICAgICAgICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgICAgICAgICAgIC50aGVuKChyZXM6IHd4LlJlcXVlc3RTdWNjZXNzQ2FsbGJhY2tSZXN1bHQpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICB2ZXJpZnlDb2RlOiByZXMuZGF0YS52ZXJpZnlDb2RlLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGNvb2tpZTogcmVzLmhlYWRlclsnU2V0LUNvb2tpZSddLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICB9O1xyXG4gICAgICAgICAgICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgICAgICAgICAgIC50aGVuKFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAoe1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIHZlcmlmeUNvZGUsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgY29va2llLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICB9OiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgdmVyaWZ5Q29kZTogc3RyaW5nO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGNvb2tpZTogc3RyaW5nO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9KSA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IG1peHB3ZCA9IG1kNShwd2QpO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBzeXN0ZW1GZXRjaCh7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1cmw6ICcvYm9zcy9sb2dpbicsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBtZXRob2Q6ICdQT1NUJyxcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhlYWRlcjoge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb29raWU6IGNvb2tpZSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBkYXRhOiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvZGUsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFjY291bnQsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHB3ZDogbWl4cHdkLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXJpZnlDb2RlOiB2ZXJpZnlDb2RlLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgICAgICAgIClcclxuICAgICAgICAgICAgICAgICAgICAgIC50aGVuKHJlcyA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICB0b2tlbixcclxuICAgICAgICAgICAgICAgICAgICAgICAgICBkYXRhOiB7IHVzZXJJbmZvLCB1c2VyUm9sZXMgfSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgfSA9IHJlcztcclxuICAgICAgICAgICAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudG9rZW4gPSB0b2tlbjtcclxuICAgICAgICAgICAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudXNlckluZm8gPSB1c2VySW5mbztcclxuICAgICAgICAgICAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudXNlclJvbGVzID0gdXNlclJvbGVzLmxlbmd0aFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgID8gdXNlclJvbGVzWzBdLmNoaWxkc1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIDogW107XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHRyeSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgd3guc2V0U3RvcmFnZVN5bmMoJ3Rva2VuJywgdG9rZW4pO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9IGNhdGNoIChlcnJvcikge31cclxuICAgICAgICAgICAgICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgd3gucmVkaXJlY3RUbyh7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiAnL3BhZ2VzL2hvbWVBbmRSZXBvcnQvaG9tZUFuZFJlcG9ydCcsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgICAgICAgICAgIC5jYXRjaChlcnIgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiBlcnIuZXJyTXNnLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGljb246ICdub25lJyxcclxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xyXG4gICAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICfnmbvlvZXojrflj5Zjb2Rl5aSx6LSlJyxcclxuICAgICAgICAgICAgICAgICAgICAgIGljb246ICdub25lJyxcclxuICAgICAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgfSxcclxuICAgICAgICAgIH0pO1xyXG4gICAgICAgIH0pXHJcbiAgICAgICAgLmNhdGNoKGVyciA9PiB7XHJcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xyXG4gICAgICAgIH0pO1xyXG4gICAgfVxyXG4gICAgLy8gZmV0Y2goKVxyXG4gICAgLy8gd3gucmVkaXJlY3RUbyh7XHJcbiAgICAvLyAgIHVybDogJy9wYWdlcy9ob21lL2hvbWUnXHJcbiAgICAvLyB9KVxyXG4gIH0sXHJcbiAgY29kZUxvZ2luKCkge1xyXG4gICAgd3gubG9naW4oe1xyXG4gICAgICBzdWNjZXNzOiByZXMgPT4ge1xyXG4gICAgICAgIGlmIChyZXMuY29kZSkge1xyXG4gICAgICAgICAgY29uc3QgY29kZSA9IHJlcy5jb2RlO1xyXG4gICAgICAgICAgc3lzdGVtRmV0Y2goe1xyXG4gICAgICAgICAgICB1cmw6ICcvYm9zcy9sb2dpbicsXHJcbiAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxyXG4gICAgICAgICAgICBkYXRhOiB7XHJcbiAgICAgICAgICAgICAgY29kZSxcclxuICAgICAgICAgICAgfSxcclxuICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgIC50aGVuKHJlcyA9PiB7XHJcbiAgICAgICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcclxuICAgICAgICAgICAgICBjb25zdCB7XHJcbiAgICAgICAgICAgICAgICB0b2tlbixcclxuICAgICAgICAgICAgICAgIGRhdGE6IHsgdXNlckluZm8sIHVzZXJSb2xlcyB9LFxyXG4gICAgICAgICAgICAgIH0gPSByZXM7XHJcbiAgICAgICAgICAgICAgYXBwLmdsb2JhbERhdGEudG9rZW4gPSB0b2tlbjtcclxuICAgICAgICAgICAgICBhcHAuZ2xvYmFsRGF0YS51c2VySW5mbyA9IHVzZXJJbmZvO1xyXG4gICAgICAgICAgICAgIGFwcC5nbG9iYWxEYXRhLnVzZXJSb2xlcyA9IHVzZXJSb2xlcy5sZW5ndGhcclxuICAgICAgICAgICAgICAgID8gdXNlclJvbGVzWzBdLmNoaWxkc1xyXG4gICAgICAgICAgICAgICAgOiBbXTtcclxuICAgICAgICAgICAgICB0cnkge1xyXG4gICAgICAgICAgICAgICAgd3guc2V0U3RvcmFnZVN5bmMoJ3Rva2VuJywgdG9rZW4pO1xyXG4gICAgICAgICAgICAgIH0gY2F0Y2ggKGVycm9yKSB7fVxyXG4gICAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XHJcbiAgICAgICAgICAgICAgd3gucmVkaXJlY3RUbyh7XHJcbiAgICAgICAgICAgICAgICB1cmw6ICcvcGFnZXMvaG9tZUFuZFJlcG9ydC9ob21lQW5kUmVwb3J0JyxcclxuICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgLmNhdGNoKGVyciA9PiB7XHJcbiAgICAgICAgICAgICAgY29uc29sZS5sb2coZXJyKTtcclxuICAgICAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xyXG4gICAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XHJcbiAgICAgICAgICAgICAgICB0aXRsZTogZXJyLmVyck1zZyxcclxuICAgICAgICAgICAgICAgIGljb246ICdub25lJyxcclxuICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgIHd4LnNob3dUb2FzdCh7XHJcbiAgICAgICAgICAgIHRpdGxlOiAn55m75b2V6I635Y+WY29kZeWksei0pScsXHJcbiAgICAgICAgICAgIGljb246ICdub25lJyxcclxuICAgICAgICAgIH0pO1xyXG4gICAgICAgIH1cclxuICAgICAgfSxcclxuICAgIH0pO1xyXG4gIH0sXHJcbiAgbmFtZUlucHV0SGFuZGxlKGUpIHtcclxuICAgIGNvbnN0IHZhbHVlID0gZS5kZXRhaWwudmFsdWU7XHJcbiAgICB0aGlzLnVwZGF0ZUlucHV0VmFsdWUoJ2FjY291bnQnLCB2YWx1ZSk7XHJcbiAgfSxcclxuICBwYXNzd2FyZElub3V0SGFuZGxlKGUpIHtcclxuICAgIGNvbnN0IHZhbHVlID0gZS5kZXRhaWwudmFsdWU7XHJcbiAgICB0aGlzLnVwZGF0ZUlucHV0VmFsdWUoJ3B3ZCcsIHZhbHVlKTtcclxuICB9LFxyXG4gIHVwZGF0ZUlucHV0VmFsdWUoa2V5OiBzdHJpbmcsIHZhbHVlOiBzdHJpbmcpIHtcclxuICAgIHRoaXMuc2V0RGF0YSEoe1xyXG4gICAgICBba2V5XTogdmFsdWUsXHJcbiAgICB9KTtcclxuICB9LFxyXG59KTtcclxuIl19
\ No newline at end of file \ No newline at end of file
//index.js //index.js
import { systemFetch } from '../../api/fetch'; import { systemFetch } from '../../api/fetch';
const md5 = require('blueimp-md5'); const md5 = require('../../utils/md5');
//获取应用实例 //获取应用实例
import { IMyApp } from '../../app'; import { IMyApp } from '../../app';
const app = getApp<IMyApp>(); const app = getApp<IMyApp>();
......
"use strict"; "use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) { var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) { for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i]; s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p]; t[p] = s[p];
} }
return t; return t;
};
return __assign.apply(this, arguments);
}; };
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
var fetch_1 = require("../../api/fetch"); var fetch_1 = require("../../api/fetch");
...@@ -80,7 +83,7 @@ Page({ ...@@ -80,7 +83,7 @@ Page({
if (entity && entity.areaId) { if (entity && entity.areaId) {
} }
else else
entity = __assign({}, entity, { areaId: [this.data.areaId] }); entity = __assign(__assign({}, entity), { areaId: [this.data.areaId] });
} }
console.log(this.data.areaId, entity); console.log(this.data.areaId, entity);
this.fetchRechargeData(entity); this.fetchRechargeData(entity);
...@@ -102,7 +105,7 @@ Page({ ...@@ -102,7 +105,7 @@ Page({
payMen: 0, payMen: 0,
payableMoney: 0, payableMoney: 0,
}) })
.map(function (v, idx) { return (__assign({}, v, { days: idx + 1 })); }); .map(function (v, idx) { return (__assign(__assign({}, v), { days: idx + 1 })); });
var consumePrice = 0; var consumePrice = 0;
var consumeCount = 0; var consumeCount = 0;
if (res.data && res.data.length) { if (res.data && res.data.length) {
...@@ -112,7 +115,7 @@ Page({ ...@@ -112,7 +115,7 @@ Page({
consumePrice += element.payableMoney; consumePrice += element.payableMoney;
consumeCount += element.payMen; consumeCount += element.payMen;
var daysIndex = Number(element.createDate.slice(-2)); var daysIndex = Number(element.createDate.slice(-2));
dayList[daysIndex - 1] = __assign({}, dayList[daysIndex - 1], { payMen: element.payMen, payableMoney: element.payableMoney }); dayList[daysIndex - 1] = __assign(__assign({}, dayList[daysIndex - 1]), { payMen: element.payMen, payableMoney: element.payableMoney });
} }
} }
_this.setData({ _this.setData({
...@@ -141,7 +144,7 @@ Page({ ...@@ -141,7 +144,7 @@ Page({
refundCount: 0, refundCount: 0,
refundMoney: 0, refundMoney: 0,
}) })
.map(function (v, idx) { return (__assign({}, v, { days: idx + 1 })); }); .map(function (v, idx) { return (__assign(__assign({}, v), { days: idx + 1 })); });
var rechargePrice = 0; var rechargePrice = 0;
var rechargeCount = 0; var rechargeCount = 0;
if (res.data && res.data.length) { if (res.data && res.data.length) {
...@@ -151,7 +154,7 @@ Page({ ...@@ -151,7 +154,7 @@ Page({
rechargePrice += element.rechargeMoney; rechargePrice += element.rechargeMoney;
rechargeCount += element.rechargeMen; rechargeCount += element.rechargeMen;
var daysIndex = Number(element.completeAt.slice(-2)); var daysIndex = Number(element.completeAt.slice(-2));
dayList[daysIndex - 1] = __assign({}, dayList[daysIndex - 1], { rechargeMoney: element.rechargeMoney, rechargeMen: element.rechargeMen, refundCount: element.refundCount, refundMoney: element.refundMoney }); dayList[daysIndex - 1] = __assign(__assign({}, dayList[daysIndex - 1]), { rechargeMoney: element.rechargeMoney, rechargeMen: element.rechargeMen, refundCount: element.refundCount, refundMoney: element.refundMoney });
} }
} }
console.log(dayList); console.log(dayList);
...@@ -216,4 +219,4 @@ Page({ ...@@ -216,4 +219,4 @@ Page({
}); });
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9udGhPcGVyYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm1vbnRoT3BlcmF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHlDQUFrRDtBQUNsRCx5Q0FBOEM7QUFFOUMsSUFBSSxDQUFDO0lBQ0gsTUFBTTtRQUNKLElBQUksQ0FBQyxRQUFRLEVBQUUsQ0FBQztJQUNsQixDQUFDO0lBQ0QsSUFBSSxFQUFFO1FBQ0osS0FBSyxFQUFFLEVBQUU7UUFDVCxNQUFNLEVBQUUsRUFBRTtRQUNWLFFBQVEsRUFBRSxFQUFFO1FBQ1osWUFBWSxFQUFFO1lBQ1osS0FBSyxFQUFFLE1BQU07WUFDYixVQUFVLEVBQUU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dGEubW9udGgsXG4gICAgICAuLi5lbnRpdHksXG4gICAgfTtcbiAgICBzdGF0aXN0aWNzRmV0Y2goe1xuICAgICAgdXJsOiAnL2RjeHkvcmVwb3J0SW5mby9kYWlseUNvbnN1bWVDb3VudCcsXG4gICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgIGRhdGE6IHJlcUJvZHksXG4gICAgfSlcbiAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgIGxldCBkYXlMaXN0ID0gbmV3IEFycmF5KDMxKVxuICAgICAgICAgIC5maWxsKHtcbiAgICAgICAgICAgIHBheU1lbjogMCxcbiAgICAgICAgICAgIHBheWFibGVNb25leTogMCxcbiAgICAgICAgICB9KVxuICAgICAgICAgIC5tYXAoKHYsIGlkeCkgPT4gKHsgLi4udiwgZGF5czogaWR4ICsgMSB9KSk7XG5cbiAgICAgICAgbGV0IGNvbnN1bWVQcmljZSA9IDA7XG4gICAgICAgIGxldCBjb25zdW1lQ291bnQgPSAwO1xuICAgICAgICBpZiAocmVzLmRhdGEgJiYgcmVzLmRhdGEubGVuZ3RoKSB7XG4gICAgICAgICAgbGV0IG9MaXN0ID0gcmVzLmRhdGE7XG4gICAgICAgICAgZm9yIChsZXQgaW5kZXggPSAwOyBpbmRleCA8IG9MaXN0Lmxlbmd0aDsgaW5kZXgrKykge1xuICAgICAgICAgICAgY29uc3QgZWxlbWVudCA9IG9MaXN0W2luZGV4XTtcbiAgICAgICAgICAgIGNvbnN1bWVQcmljZSArPSBlbGVtZW50LnBheWFibGVNb25leTtcbiAgICAgICAgICAgIGNvbnN1bWVDb3VudCArPSBlbGVtZW50LnBheU1lbjtcbiAgICAgICAgICAgIGxldCBkYXlzSW5kZXggPSBOdW1iZXIoZWxlbWVudC5jcmVhdGVEYXRlLnNsaWNlKC0yKSk7XG4gICAgICAgICAgICBkYXlMaXN0W2RheXNJbmRleCAtIDFdID0ge1xuICAgICAgICAgICAgICAuLi5kYXlMaXN0W2RheXNJbmRleCAtIDFdLFxuICAgICAgICAgICAgICBwYXlNZW46IGVsZW1lbnQucGF5TWVuLFxuICAgICAgICAgICAgICBwYXlhYmxlTW9uZXk6IGVsZW1lbnQucGF5YWJsZU1vbmV5LFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5zZXREYXRhISh7XG4gICAgICAgICAgY29uc3VtZUxpc3Q6IGRheUxpc3QsXG4gICAgICAgICAgJ2NvbnN1bWVEYXRhLmNvdW50JzogY29uc3VtZVByaWNlLFxuICAgICAgICAgICdjb25zdW1lQ291bnQuY291bnQnOiBjb25zdW1lQ291bnQsXG4gICAgICAgIH0pO1xuICAgICAgfSlcbiAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgfSk7XG4gIH0sXG4gIGZldGNoUmVjaGFyZ2VEYXRhKGVudGl0eT86IHsgYXJlYUlkPzogbnVtYmVyOyBtb250aD86IHN0cmluZyB9KSB7XG4gICAgbGV0IHJlcUJvZHkgPSB7XG4gICAgICBtb250aDogdGhpcy5kYXRhLm1vbnRoLFxuICAgICAgLi4uZW50aXR5LFxuICAgIH07XG4gICAgc3RhdGlzdGljc0ZldGNoKHtcbiAgICAgIHVybDogJy9kY3h5L3JlcG9ydEluZm8vcXVlcnlSZWNoYXJnZUxpc3REYWlseScsXG4gICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgIGRhdGE6IHJlcUJvZHksXG4gICAgfSlcbiAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgIGxldCBkYXlMaXN0ID0gbmV3IEFycmF5KDMxKVxuICAgICAgICAgIC5maWxsKHtcbiAgICAgICAgICAgIHJlY2hhcmdlTW9uZXk6IDAsXG4gICAgICAgICAgICByZWNoYXJnZU1lbjogMCxcbiAgICAgICAgICAgIHJlZnVuZENvdW50OiAwLFxuICAgICAgICAgICAgcmVmdW5kTW9uZXk6IDAsXG4gICAgICAgICAgfSlcbiAgICAgICAgICAubWFwKCh2LCBpZHgpID0+ICh7IC4uLnYsIGRheXM6IGlkeCArIDEgfSkpO1xuICAgICAgICBsZXQgcmVjaGFyZ2VQcmljZSA9IDA7XG4gICAgICAgIGxldCByZWNoYXJnZUNvdW50ID0gMDtcbiAgICAgICAgaWYgKHJlcy5kYXRhICYmIHJlcy5kYXRhLmxlbmd0aCkge1xuICAgICAgICAgIGxldCBvTGlzdCA9IHJlcy5kYXRhO1xuICAgICAgICAgIGZvciAobGV0IGluZGV4ID0gMDsgaW5kZXggPCBvTGlzdC5sZW5ndGg7IGluZGV4KyspIHtcbiAgICAgICAgICAgIGNvbnN0IGVsZW1lbnQgPSBvTGlzdFtpbmRleF07XG4gICAgICAgICAgICByZWNoYXJnZVByaWNlICs9IGVsZW1lbnQucmVjaGFyZ2VNb25leTtcbiAgICAgICAgICAgIHJlY2hhcmdlQ291bnQgKz0gZWxlbWVudC5yZWNoYXJnZU1lbjtcbiAgICAgICAgICAgIGxldCBkYXlzSW5kZXggPSBOdW1iZXIoZWxlbWVudC5jb21wbGV0ZUF0LnNsaWNlKC0yKSk7XG4gICAgICAgICAgICBkYXlMaXN0W2RheXNJbmRleCAtIDFdID0ge1xuICAgICAgICAgICAgICAuLi5kYXlMaXN0W2RheXNJbmRleCAtIDFdLFxuICAgICAgICAgICAgICByZWNoYXJnZU1vbmV5OiBlbGVtZW50LnJlY2hhcmdlTW9uZXksXG4gICAgICAgICAgICAgIHJlY2hhcmdlTWVuOiBlbGVtZW50LnJlY2hhcmdlTWVuLFxuICAgICAgICAgICAgICByZWZ1bmRDb3VudDogZWxlbWVudC5yZWZ1bmRDb3VudCxcbiAgICAgICAgICAgICAgcmVmdW5kTW9uZXk6IGVsZW1lbnQucmVmdW5kTW9uZXksXG4gICAgICAgICAgICB9O1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBjb25zb2xlLmxvZyhkYXlMaXN0KTtcbiAgICAgICAgdGhpcy5zZXREYXRhISh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BlQ29uc3VtZScsXG4gICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgIGRhdGE6IHJlcUJvZHksXG4gICAgfSlcbiAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgIGlmIChyZXMuZGF0YSkge1xuICAgICAgICAgIGNvbnN0IGtleU1hcCA9IHtcbiAgICAgICAgICAgIGFpbWk6ICfoib7nsbMnLFxuICAgICAgICAgICAgYmVhbjogJ+a2iOi0ueixhicsXG4gICAgICAgICAgICBkaXNjb3VudDogJ+S8mOaDoOmHkeminScsXG4gICAgICAgICAgICBvbmxpbmU6ICfnur/kuIrmlK/ku5gnLFxuICAgICAgICAgIH07XG4gICAgICAgICAgbGV0IGRhdGFMaXN0ID0gT2JqZWN0LmtleXMocmVzLmRhdGEpLm1hcChrZXkgPT4gKHtcbiAgICAgICAgICAgIGtleSxcbiAgICAgICAgICAgIGE6ICdwYXlUeXBlJyxcbiAgICAgICAgICAgIG5hbWU6IGtleU1hcFtrZXldLFxuICAgICAgICAgICAgY291bnQ6IHJlcy5kYXRhW2tleV0sXG4gICAgICAgICAgfSkpO1xuICAgICAgICAgIHRoaXMuc2V0RGF0YSEoe1xuICAgICAgICAgICAgcGF5VHlwZUxpc3Q6IGRhdGFMaXN0LFxuICAgICAgICAgIH0pO1xuICAgICAgICB9XG4gICAgICB9KVxuICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICB9KTtcbiAgfSxcbn0pO1xuIl19 //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9udGhPcGVyYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm1vbnRoT3BlcmF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUFBLHlDQUFrRDtBQUNsRCx5Q0FBO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7XHJcbiAgICAgICAgICAgIGNvbnN0IGVsZW1lbnQgPSBvTGlzdFtpbmRleF07XHJcbiAgICAgICAgICAgIGNvbnN1bWVQcmljZSArPSBlbGVtZW50LnBheWFibGVNb25leTtcclxuICAgICAgICAgICAgY29uc3VtZUNvdW50ICs9IGVsZW1lbnQucGF5TWVuO1xyXG4gICAgICAgICAgICBsZXQgZGF5c0luZGV4ID0gTnVtYmVyKGVsZW1lbnQuY3JlYXRlRGF0ZS5zbGljZSgtMikpO1xyXG4gICAgICAgICAgICBkYXlMaXN0W2RheXNJbmRleCAtIDFdID0ge1xyXG4gICAgICAgICAgICAgIC4uLmRheUxpc3RbZGF5c0luZGV4IC0gMV0sXHJcbiAgICAgICAgICAgICAgcGF5TWVuOiBlbGVtZW50LnBheU1lbixcclxuICAgICAgICAgICAgICBwYXlhYmxlTW9uZXk6IGVsZW1lbnQucGF5YWJsZU1vbmV5LFxyXG4gICAgICAgICAgICB9O1xyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICB0aGlzLnNldERhdGEhKHtcclxuICAgICAgICAgIGNvbnN1bWVMaXN0OiBkYXlMaXN0LFxyXG4gICAgICAgICAgJ2NvbnN1bWVEYXRhLmNvdW50JzogY29uc3VtZVByaWNlLFxyXG4gICAgICAgICAgJ2NvbnN1bWVDb3VudC5jb3VudCc6IGNvbnN1bWVDb3VudCxcclxuICAgICAgICB9KTtcclxuICAgICAgfSlcclxuICAgICAgLmNhdGNoKGVyciA9PiB7XHJcbiAgICAgICAgY29uc29sZS5sb2coZXJyKTtcclxuICAgICAgfSk7XHJcbiAgfSxcclxuICBmZXRjaFJlY2hhcmdlRGF0YShlbnRpdHk/OiB7IGFyZWFJZD86IG51bWJlcjsgbW9udGg/OiBzdHJpbmcgfSkge1xyXG4gICAgbGV0IHJlcUJvZHkgPSB7XHJcbiAgICAgIG1vbnRoOiB0aGlzLmRhdGEubW9udGgsXHJcbiAgICAgIC4uLmVudGl0eSxcclxuICAgIH07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QuY29tcGxldGVBdC5zbGljZSgtMikpO1xyXG4gICAgICAgICAgICBkYXlMaXN0W2RheXNJbmRleCAtIDFdID0ge1xyXG4gICAgICAgICAgICAgIC4uLmRheUxpc3RbZGF5c0luZGV4IC0gMV0sXHJcbiAgICAgICAgICAgICAgcmVjaGFyZ2VNb25leTogZWxlbWVudC5yZWNoYXJnZU1vbmV5LFxyXG4gICAgICAgICAgICAgIHJlY2hhcmdlTWVuOiBlbGVtZW50LnJlY2hhcmdlTWVuLFxyXG4gICAgICAgICAgICAgIHJlZnVuZENvdW50OiBlbGVtZW50LnJlZnVuZENvdW50LFxyXG4gICAgICAgICAgICAgIHJlZnVuZE1vbmV5OiBlbGVtZW50LnJlZnVuZE1vbmV5LFxyXG4gICAgICAgICAgICB9O1xyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICBjb25zb2xlLmxvZyhkYXlMaXN0KTtcclxuICAgICAgICB0aGlzLnNldERhdGEhKHtcclxuICAgICAgICAgIHJlY2hhcmdlQW5kUmVmdW5kTGlzdDogZGF5TGlzdCxcclxuICAgICAgICAgICdyZWNoYXJnZURhdGEuY291bnQnOiByZWNoYXJnZVByaWNlLFxyXG4gICAgICAgICAgJ3JlY2hhcmdlQ291bnQuY291bnQnOiByZWNoYXJnZUNvdW50LFxyXG4gICAgICAgIH0pO1xyXG4gICAgICB9KVxyXG4gICAgICAuY2F0Y2goZXJyID0+IHtcclxuICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xyXG4gICAgICB9KTtcclxuICB9LFxyXG4gIGZldGNoU2VydmljZVR5cGVMaXN0KGVudGl0eSkge1xyXG4gICAgbGV0IHJlcUJvZHkgPSB7XHJcbiAgICAgIG1vbnRoOiB0aGlzLmRhdGEubW9udGgsXHJcbiAgICAgIC4uLmVudGl0eSxcclxuICAgIH07XHJcbiAgICBzdGF0aXN0aWNzRmV0Y2goe1xyXG4gICAgICB1cmw6ICcvZGN4eS9yZXBvcnRJbmZvL3F1ZXJ5Q29uc3VtZU9yZGVyTGlzdCcsXHJcbiAgICAgIG1ldGhvZDogJ1BPU1QnLFxyXG4gICAgICBkYXRhOiByZXFCb2R5LFxyXG4gICAgfSlcclxuICAgICAgLnRoZW4ocmVzID0+IHtcclxuICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xyXG4gICAgICAgIHRoaXMuc2V0RGF0YSEoe1xyXG4gICAgICAgICAgc2VydmljZVR5cGVMaXN0OiByZXMuZGF0YSxcclxuICAgICAgICB9KTtcclxuICAgICAgfSlcclxuICAgICAgLmNhdGNoKGVyciA9PiB7XHJcbiAgICAgICAgY29uc29sZS5sb2coZXJyKTtcclxuICAgICAgfSk7XHJcbiAgfSxcclxuICBmZXRjaFBheVR5cGVMaXN0KGVudGl0eSkge1xyXG4gICAgbGV0IHJlcUJvZHkgPSB7XHJcbiAgICAgIG1vbnRoOiB0aGlzLmRhdGEubW9udGgsXHJcbiAgICAgIC4uLmVudGl0eSxcclxuICAgIH07XHJcbiAgICBzdGF0aXN0aWNzRmV0Y2goe1xyXG4gICAgICB1cmw6ICcvZGN4eS9yZXBvcnRJbmZvL3BheVR5cGVDb25zdW1lJyxcclxuICAgICAgbWV0aG9kOiAnUE9TVCcsXHJcbiAgICAgIGRhdGE6IHJlcUJvZHksXHJcbiAgICB9KVxyXG4gICAgICAudGhlbihyZXMgPT4ge1xyXG4gICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XHJcbiAgICAgICAgaWYgKHJlcy5kYXRhKSB7XHJcbiAgICAgICAgICBjb25zdCBrZXlNYXAgPSB7XHJcbiAgICAgICAgICAgIGFpbWk6ICfoib7nsbMnLFxyXG4gICAgICAgICAgICBiZWFuOiAn5raI6LS56LGGJyxcclxuICAgICAgICAgICAgZGlzY291bnQ6ICfkvJjmg6Dph5Hpop0nLFxyXG4gICAgICAgICAgICBvbmxpbmU6ICfnur/kuIrmlK/ku5gnLFxyXG4gICAgICAgICAgfTtcclxuICAgICAgICAgIGxldCBkYXRhTGlzdCA9IE9iamVjdC5rZXlzKHJlcy5kYXRhKS5tYXAoa2V5ID0+ICh7XHJcbiAgICAgICAgICAgIGtleSxcclxuICAgICAgICAgICAgYTogJ3BheVR5cGUnLFxyXG4gICAgICAgICAgICBuYW1lOiBrZXlNYXBba2V5XSxcclxuICAgICAgICAgICAgY291bnQ6IHJlcy5kYXRhW2tleV0sXHJcbiAgICAgICAgICB9KSk7XHJcbiAgICAgICAgICB0aGlzLnNldERhdGEhKHtcclxuICAgICAgICAgICAgcGF5VHlwZUxpc3Q6IGRhdGFMaXN0LFxyXG4gICAgICAgICAgfSk7XHJcbiAgICAgICAgfVxyXG4gICAgICB9KVxyXG4gICAgICAuY2F0Y2goZXJyID0+IHtcclxuICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xyXG4gICAgICB9KTtcclxuICB9LFxyXG59KTtcclxuIl19
\ No newline at end of file \ No newline at end of file
"use strict"; "use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
var fetch_1 = require("../../api/fetch"); var fetch_1 = require("../../api/fetch");
function findMaxIndex(list, key) { function findMaxIndex(list, key) {
...@@ -26,52 +18,189 @@ Page({ ...@@ -26,52 +18,189 @@ Page({
areaCount: 0, areaCount: 0,
year: '', year: '',
dataList: [], dataList: [],
chargeArr: [],
recordArr: [],
operators: [],
selected: { selected: {
areaId: undefined, areaId: undefined,
areaName: '', areaName: '',
month: '', month: '',
totalMoney: 0, totalMoney: 0,
}, },
total: 0,
timeType: 0,
pageNum: 1,
pageSize: 10
}, },
onLoad: function (options) { onLoad: function (options) {
var year = new Date().getFullYear(); this.fetchList();
console.log(year); },
this.fetchList({ onPullDownRefresh: function () {
year: year, if (this.data.timeType == 0) {
wx.showLoading({ title: '刷新中...' });
this.fetchList();
setTimeout(function () {
wx.hideLoading();
wx.stopPullDownRefresh();
}, 1500);
}
else {
wx.stopPullDownRefresh();
}
},
onReachBottom: function () {
if (this.data.timeType != 0) {
if (this.data.timeType == 1) {
if (this.data.chargeArr.length == this.data.total) {
wx.showToast({
title: '列表已加载完',
icon: 'none'
});
return;
}
else {
var pageNum = this.data.pageNum;
this.getRechargeList({
pageNum: pageNum + 1,
pageSize: this.data.pageSize
});
}
}
else {
console.log(this.data.recordArr.length, this.data.total);
if (this.data.recordArr.length == this.data.total) {
wx.showToast({
title: '列表已加载完',
icon: 'none'
});
return;
}
else {
var pageNum = this.data.pageNum;
this.getRecordList({
pageNum: pageNum + 1,
pageSize: this.data.pageSize
});
}
}
}
},
toCharge: function (v) {
var _this = this;
var item = v.target.dataset.item;
wx.navigateTo({
url: '/pages/recharge/recharge?operatorName=' + item.operatorName + "&operatorId=" + item.operatorId + "&money=" + item.todayMoney,
events: {
acceptDataFromOpenedPage: function (data) {
_this.fetchList();
},
}
});
},
toDetail: function (v) {
var type = v.target.dataset.type;
var num = v.target.dataset.num;
var id = v.target.dataset.opid;
var opName = v.target.dataset.opname;
if (num == 0) {
return;
}
wx.navigateTo({
url: '/pages/deviceDetail/deviceDetail?type=' + type + "&operatorId=" + id + "&opName=" + opName
}); });
},
changeTimeType: function (e) {
var timetype = e.currentTarget.dataset.timetype;
if (timetype === this.data.timeType)
return;
this.setData({ this.setData({
year: year, timeType: timetype,
});
if (timetype == 1) {
var list = this.data.chargeArr;
list.splice(0);
this.getRechargeList({
chargeArr: list,
pageNum: 1,
pageSize: this.data.pageSize
}); });
}
else if (timetype == 2) {
var list = this.data.recordArr;
list.splice(0);
this.getRecordList({
recordArr: list,
pageNum: 1,
pageSize: this.data.pageSize
});
}
}, },
fetchList: function (entity) { getRecordList: function (entity) {
var _this = this; var _this = this;
return fetch_1.statisticsFetch({ fetch_1.baseFetch({
url: '/dcxy/platformFee/operate/areas/monthly', url: '/v3/operate/balance/page/charging',
data: entity, method: 'POST',
}) data: entity
.then(function (res) { }).then(function (res) {
var areaCount = res.areaCount, platformFees = res.platformFees; res = res.data;
var datalist = new Array(12) var total = 0;
.fill({ var arr = _this.data.recordArr;
totalMoney: 0, if (res.list && res.list.length > 0) {
}) res.list.forEach(function (item) {
.map(function (v, idx) { return (__assign({}, v, { month: idx + 1 })); }); item.amountt = (item.amount + item.giveAmount).toFixed(2);
for (var index = 0; index < platformFees.length; index++) { arr.push(item);
var element = platformFees[index]; });
var dataIndex = element.month - 1;
datalist[dataIndex] = __assign({}, datalist[dataIndex], element);
} }
total = res.total;
_this.setData({ _this.setData({
areaCount: areaCount, recordArr: arr,
dataList: datalist, total: total,
pageNum: res.pageNum
});
}); });
if (datalist && datalist.length) { },
var index = findMaxIndex(datalist, 'totalMoney'); getRechargeList: function (entity) {
var item = datalist[index]; var _this = this;
fetch_1.baseFetch({
url: '/v3/operate/balance/page/recharge',
method: 'POST',
data: entity
}).then(function (res) {
res = res.data;
var arr = _this.data.chargeArr;
if (res.list && res.list.length > 0) {
res.list.forEach(function (item) {
item.amountt = (item.amount + item.giveAmount).toFixed(2);
arr.push(item);
});
}
var total = res.total;
_this.setData({ _this.setData({
selected: item, chargeArr: arr,
total: total,
pageNum: res.pageNum
});
});
},
fetchList: function () {
var _this = this;
return fetch_1.deviceFetch({
url: '/deviceServiceFees/operators/balances',
method: 'GET'
})
.then(function (res) {
res = res.data;
var opers = _this.data.operators;
opers.splice(0);
if (res) {
res.forEach(function (item) {
item.amountt = (item.balance + item.giveBalance).toFixed(2);
opers.push(item);
}); });
} }
_this.setData({
operators: opers
});
}) })
.catch(function (err) { .catch(function (err) {
console.log(err); console.log(err);
...@@ -97,4 +226,4 @@ Page({ ...@@ -97,4 +226,4 @@ Page({
}); });
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGxhdGZvcm1GZWUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJwbGF0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KHt0aXRsZTon5Yi35paw5LitLi4uJ30pO1xyXG4gICAgICB0aGlzLmZldGNoTGlzdCgpO1xyXG4gICAgICBzZXRUaW1lb3V0KCgpPT57XHJcbiAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcclxuICAgICAgICB3eC5zdG9wUHVsbERvd25SZWZyZXNoKCk7XHJcbiAgICAgIH0sMTUwMCk7XHJcbiAgICB9ZWxzZXtcclxuICAgICAgd3guc3RvcFB1bGxEb3duUmVmcmVzaCgpO1xyXG4gICAgfVxyXG4gIH0sXHJcbiAgb25SZWFjaEJvdHRvbSgpe1xyXG4gICAgaWYodGhpcy5kYXRhLnRpbWVUeXBlIT0wKXtcclxuICAgICAgICBpZih0aGlzLmRhdGEudGltZVR5cGU9PTEpe1xyXG4gICAgICAgICAgaWYodGhpcy5kYXRhLmNoYXJnZUFyci5sZW5ndGg9PXRoaXMuZGF0YS50b3RhbCl7XHJcbiAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XHJcbiAgICAgICAgICAgICAgdGl0bGU6J+WIl+ihqOW3suWKoOi9veWujCcsXHJcbiAgICAgICAgICAgICAgaWNvbjonbm9uZSdcclxuICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgcmV0dXJuO1xyXG4gICAgICAgICAgfWVsc2V7XHJcbiAgICAgICAgICAgIGxldCBwYWdlTnVtID0gdGhpcy5kYXRhLnBhZ2VOdW07XHJcbiAgICAgICAgICAgIHRoaXMuZ2V0UmVjaGFyZ2VMaXN0KHtcclxuICAgICAgICAgICAgICBwYWdlTnVtOiBwYWdlTnVtKzEsXHJcbiAgICAgICAgICAgICAgcGFnZVNpemU6IHRoaXMuZGF0YS5wYWdlU2l6ZVxyXG4gICAgICAgICAgICB9KVxyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH1lbHNle1xyXG4gICAgICAgICAgY29uc29sZS5sb2codGhpcy5kYXRhLnJlY29yZEFyci5sZW5ndGgsdGhpcy5kYXRhLnRvdGFsKVxyXG4gICAgICA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zLnNwbGljZSgwKVxyXG4gICAgICAgIGlmKHJlcyl7XHJcbiAgICAgICAgICByZXMuZm9yRWFjaChpdGVtPT57XHJcbiAgICAgICAgICAgIGl0ZW0uYW1vdW50dCA9IChpdGVtLmJhbGFuY2UgKyBpdGVtLmdpdmVCYWxhbmNlKS50b0ZpeGVkKDIpXHJcbiAgICAgICAgICAgIG9wZXJzLnB1c2goaXRlbSk7XHJcbiAgICAgICAgICB9KVxyXG4gICAgICAgIH1cclxuICAgICAgICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAgICAgb3BlcmF0b3JzOm9wZXJzXHJcbiAgICAgICAgfSlcclxuICAgICAgfSlcclxuICAgICAgLmNhdGNoKGVyciA9PiB7XHJcbiAgICAgICAgY29uc29sZS5sb2coZXJyKTtcclxuICAgICAgfSk7XHJcbiAgfSxcclxuICB5ZWFyQ2hhbmdlSGFuZGxlKGUpIHtcclxuICAgIGNvbnNvbGUubG9nKGUpO1xyXG4gICAgY29uc3QgeyB2YWx1ZSB9ID0gZS5kZXRhaWw7XHJcbiAgICB0aGlzLmZldGNoTGlzdCh7XHJcbiAgICAgIHllYXI6IHZhbHVlLFxyXG4gICAgfSk7XHJcbiAgfSxcclxuICBnb1JlY29yZFBhZ2UoKSB7XHJcbiAgICB3eC5uYXZpZ2F0ZVRvKHtcclxuICAgICAgdXJsOiAnL3BhZ2VzL3BsYXRmb3JtRmVlUmVjb3JkL3BsYXRmb3JtRmVlUmVjb3JkJyxcclxuICAgIH0pO1xyXG4gIH0sXHJcbiAgc2VsZWN0ZWREYXRhKGUpIHtcclxuICAgIGNvbnNvbGUubG9nKGUpXHJcbiAgICBjb25zdCBkYXRhID0gZS5kZXRhaWw7XHJcbiAgICB0aGlzLnNldERhdGEhKHtcclxuICAgICAgc2VsZWN0ZWQ6IGRhdGEsXHJcbiAgICB9KTtcclxuICB9LFxyXG59KTtcclxuIl19
\ No newline at end of file \ No newline at end of file
{ {
"navigationBarTitleText": "服务费明细", "navigationBarTitleText": "服务费明细",
"enablePullDownRefresh":true,
"backgroundTextStyle":"dark",
"usingComponents": { "usingComponents": {
"c-select": "../components/Select/Select", "c-select": "../components/Select/Select",
"platform-fee-chart": "../components/PlatformFeeChart/PlatformFeeChart" "platform-fee-chart": "../components/PlatformFeeChart/PlatformFeeChart"
......
import { statisticsFetch } from '../../api/fetch'; import { deviceFetch, baseFetch } from '../../api/fetch';
function findMaxIndex(list, key) { function findMaxIndex(list, key) {
if (!list.length) return -1; if (!list.length) return -1;
...@@ -10,8 +10,6 @@ function findMaxIndex(list, key) { ...@@ -10,8 +10,6 @@ function findMaxIndex(list, key) {
} }
return maxIndex; return maxIndex;
} }
// miniprogram/pages/platformFee/platformFee.js
Page({ Page({
/** /**
* 页面的初始数据 * 页面的初始数据
...@@ -20,59 +18,180 @@ Page({ ...@@ -20,59 +18,180 @@ Page({
areaCount: 0, areaCount: 0,
year: '', year: '',
dataList: [], dataList: [],
chargeArr: [],
recordArr: [],
operators:[],
selected: { selected: {
areaId: undefined, areaId: undefined,
areaName: '', areaName: '',
month: '', month: '',
totalMoney: 0, totalMoney: 0,
}, },
total:0,
timeType: 0,
pageNum:1,
pageSize:10
}, },
onLoad: function (options) {
/** this.fetchList();
* 生命周期函数--监听页面加载 },
*/ onPullDownRefresh(){
onLoad: function(options) { if(this.data.timeType==0){
let year = new Date().getFullYear(); wx.showLoading({title:'刷新中...'});
console.log(year); this.fetchList();
this.fetchList({ setTimeout(()=>{
year, wx.hideLoading();
}); wx.stopPullDownRefresh();
this.setData!({ },1500);
year, }else{
}); wx.stopPullDownRefresh();
}
}, },
fetchList(entity) { onReachBottom(){
return statisticsFetch({ if(this.data.timeType!=0){
url: '/dcxy/platformFee/operate/areas/monthly', if(this.data.timeType==1){
data: entity, if(this.data.chargeArr.length==this.data.total){
wx.showToast({
title:'列表已加载完',
icon:'none'
}) })
.then(res => { return;
const { areaCount, platformFees } = res; }else{
let datalist = new Array(12) let pageNum = this.data.pageNum;
.fill({ this.getRechargeList({
totalMoney: 0, pageNum: pageNum+1,
pageSize: this.data.pageSize
}) })
.map((v, idx) => ({ ...v, month: idx + 1 }));
for (let index = 0; index < platformFees.length; index++) {
const element = platformFees[index];
let dataIndex = element.month - 1;
datalist[dataIndex] = {
...datalist[dataIndex],
...element,
};
} }
}else{
console.log(this.data.recordArr.length,this.data.total)
if(this.data.recordArr.length==this.data.total){
wx.showToast({
title:'列表已加载完',
icon:'none'
})
return;
}else{
let pageNum = this.data.pageNum;
this.getRecordList({
pageNum: pageNum+1,
pageSize: this.data.pageSize
})
}
}
}
},
toCharge(v){
let item = v.target.dataset.item;
wx.navigateTo({
url:'/pages/recharge/recharge?operatorName='+item.operatorName+"&operatorId="+item.operatorId+"&money="+item.todayMoney,
events:{
acceptDataFromOpenedPage: (data)=> {
this.fetchList();
},
}
})
},
toDetail(v){
let type = v.target.dataset.type;
let num = v.target.dataset.num;
let id = v.target.dataset.opid;
let opName = v.target.dataset.opname;
if(num==0){
return;
}
wx.navigateTo({
url:'/pages/deviceDetail/deviceDetail?type='+type+"&operatorId="+id+"&opName="+opName
})
},
changeTimeType(e) {
const { timetype } = e.currentTarget.dataset;
if (timetype === this.data.timeType) return;
this.setData!({ this.setData!({
areaCount, timeType: timetype,
dataList: datalist, });
//是否需要请求啥
if (timetype == 1) {
let list = this.data.chargeArr;
list.splice(0);
this.getRechargeList({
chargeArr:list,
pageNum: 1,
pageSize: this.data.pageSize
}); });
if (datalist && datalist.length) { } else if (timetype == 2) {
let index = findMaxIndex(datalist, 'totalMoney'); let list = this.data.recordArr;
let item = datalist[index]; list.splice(0);
this.getRecordList({
recordArr:list,
pageNum: 1,
pageSize: this.data.pageSize
})
}
},
getRecordList(entity) {
baseFetch({
url: '/v3/operate/balance/page/charging',
method:'POST',
data: entity
}).then(res => {
res = res.data;
let total = 0;
var arr = this.data.recordArr;
if(res.list&&res.list.length>0){
res.list.forEach(item=>{
item.amountt = (item.amount+item.giveAmount).toFixed(2)
arr.push(item)
});
}
total = res.total;
this.setData!({ this.setData!({
selected: item, recordArr:arr,
total:total,
pageNum:res.pageNum
})
})
},
getRechargeList(entity) {
baseFetch({
url: '/v3/operate/balance/page/recharge',
method:'POST',
data: entity
}).then(res => {
res = res.data;
var arr = this.data.chargeArr;
if(res.list&&res.list.length>0){
res.list.forEach(item=>{
item.amountt = (item.amount+item.giveAmount).toFixed(2)
arr.push(item)
}); });
} }
let total = res.total;
this.setData!({
chargeArr:arr,
total:total,
pageNum:res.pageNum
})
});
},
fetchList() {
return deviceFetch({
url: '/deviceServiceFees/operators/balances',
method:'GET'
})
.then(res => {
res = res.data;
let opers = this.data.operators;
opers.splice(0)
if(res){
res.forEach(item=>{
item.amountt = (item.balance + item.giveBalance).toFixed(2)
opers.push(item);
})
}
this.setData({
operators:opers
})
}) })
.catch(err => { .catch(err => {
console.log(err); console.log(err);
......
<!-- miniprogram/pages/platformFee/platformFee.wxml --> <!-- miniprogram/pages/platformFee/platformFee.wxml -->
<view class="platformFee"> <view class="platformFee">
<view class="platformFee-filter"> <view class="setFirst">
<view class="platformFee-area"> <view
<c-select mode="date" fields="year" value="{{year}}" bindchange="yearChangeHandle" /> class="title-type-item"
</view> data-timeType="{{0}}"
<view class="platformFee-time" bind:tap="goRecordPage">缴费记录</view> bindtap="changeTimeType"
</view> >
<view class="platformFee-block"> <view class="radio_item">
<view class="platformFee-title"> <view class="radio-box {{timeType === 0?'checked':''}}"></view>
<view class="platformFee-title-color user"></view> 账户信息
<view class="platformFee-title-text">共计{{areaCount}}个校区</view> </view>
</view> </view>
<view class="platformFee-canvas"> <view
<!-- <canvas class="platformFee-canvas" canvas-id="platformFee-canvas" bindtouchstart="selectedData" /> --> class="title-type-item"
<platform-fee-chart dataList="{{dataList}}" bind:selectedData="selectedData" /> data-timeType="{{1}}"
</view> bindtap="changeTimeType"
</view> >
<view class="platformFee-block" wx:if="{{selected.month}}"> <view class="radio_item">
<view class="platformFee-title"> <view class="radio-box {{timeType === 1?'checked':''}}"></view>
<view class="platformFee-title-color user"></view> 充值记录
<view class="platformFee-title-text">各校区服务费({{selected.month}}月)</view> </view>
<view class="platformFee-title-sum">合计:{{selected.totalMoney}}元</view> </view>
</view>
<view class="platformFee-areaList"> <view
<view class="platformFee-areaItem" wx:for="{{selected.areaPlatformFees}}"> class="title-type-item"
<view class="platformFee-areaItem-index">{{index + 1}}</view> data-timeType="{{2}}"
<view class="platformFee-areaItem-name">{{item.areaName}}</view> bindtap="changeTimeType"
<view class="platformFee-areaItem-price">{{item.totalMoney}}元</view> >
</view> <view class="radio_item">
<!-- <view class="platformFee-areaItem"> <view class="radio-box {{timeType === 2?'checked':''}}"></view>
<view class="platformFee-areaItem-index">2</view> 缴费记录
<view class="platformFee-areaItem-name">多彩温江</view> </view>
<view class="platformFee-areaItem-price">1,000.00</view> </view>
</view>
<view wx:if="{{timeType === 0}}" class="fir_con">
<view class="operatorItem {{index==0?'m-top20':'m-top10'}}" wx:for="{{operators}}">
<view class="first_line m-top20">
<view class="op_name">{{item.operatorName}}</view>
<view
class="margin_left10"
bindtap="toDetail"
data-type=""
data-opId="{{item.operatorId}}"
data-opName="{{item.operatorName}}"
data-num="{{item.deviceCount }}"
>{{item.deviceCount}}台 >
</view>
</view>
<view class="margin_left40 m-top20 ie">
<view class="wid100">账户余额:</view>
<text class="colorm" style="{{item.amountt<item.todayMoney?'color: red':'color:rgb(0, 153, 255)'}}"> {{ item.amountt}} </text>
</view>
<view class="margin_left40 m-top10 ie">
<view class="wid100">今日缴费设备:</view>
<text class="colorm" bindtap="toDetail" data-opId="{{item.operatorId}}" data-opName="{{item.operatorName}}" data-type="3" data-num="{{item.todayCount }}" style="{{item.todayCount >0?'color: red':'color:rgb(0, 153, 255)'}}"> {{item.todayCount }} </text>
<view wx:if="{{item.todayCount >0}}">,金额
<text style="color: red">{{
item.todayMoney
}}</text>
</view>
</view>
<view class="margin_left40 m-top10 ie">
<view class="wid100">已到期-欠费设备:</view>
<text class="colorm" bindtap="toDetail" data-opId="{{item.operatorId}}" data-opName="{{item.operatorName}}" data-type="4" data-num="{{item.expiredCount }}" style="{{item.expiredCount >0?'color: red':'color:rgb(0, 153, 255)'}}"> {{item.expiredCount }} </text>
<view wx:if="{{item.expiredCount >0}}">,金额
<text style="color: red">{{
item.expiredMoney
}}</text>
</view>
</view>
<view class="margin_left40 m-top10 ie">
<view class="wid100">已到期-失效设备:</view>
<text class="colorm" bindtap="toDetail" data-opId="{{item.operatorId}}" data-opName="{{item.operatorName}}" data-type="5" data-num="{{item.invalidCount }}" style="{{item.invalidCount >0?'color: red':'color:rgb(0, 153, 255)'}}"> {{ item.invalidCount }} </text>
</view>
<view class="margin_left40 m-top10 ie">
<view class="wid100">30天内到期设备:</view>
<text class="colorm" bindtap="toDetail" data-opId="{{item.operatorId}}" data-opName="{{item.operatorName}}" data-type="2" data-num="{{item.willExpiresCount }}" style="{{item.willExpiresCount >0?'color: red':'color:rgb(0, 153, 255)'}}"> {{item.willExpiresCount}} </text>
<view wx:if="{{item.willExpiresCount >0}}">,金额
<text style="color: red">{{
item.willExpiresMoney
}}元</text>
</view>
</view>
<view class="padding_bot30 margin_left40 ie m-top10">
<view class="wid100">已移除续费设备:</view>
<text class="colorm"> {{item.noAutoPayCount }} </text>
</view>
<view
class="go ab"
bindtap="toCharge"
data-item="{{item}}"
>去充值 >
</view>
</view>
</view>
<view wx:if="{{timeType === 1}}" class="list_con">
<!-- <view class="title_c">
<view class="title_i">运营商</view>
<view class="title_i">金额</view>
<view class="title_i">时间</view>
</view>
<view class="val_c" wx:for="{{chargeArr}}">
<view class="val_i">{{item.operateName}}</view>
<view class="val_i colorr">{{item.amount}}</view>
<view class="val_i">{{item.payDate}}</view>
</view> --> </view> -->
<view class="val_c1" wx:for="{{chargeArr}}">
<view class="row_bet">
<view class="opn">{{item.operateName}}</view>
<view class="amo">{{item.amountt}}</view>
</view>
<view class="ord">{{item.orderNo}}</view>
<view class="row_bet">
<view class="arn">{{item.handler}}</view>
<view class="dat">{{item.payDate}}</view>
</view>
</view>
<view wx:if="{{chargeArr.length==0}}" class="no_data">当前没有充值记录数据</view>
</view>
<view wx:if="{{timeType === 2}}" class="list_con">
<view class="val_c1" wx:for="{{recordArr}}">
<view class="row_bet">
<view class="opn">{{item.operateName}}</view>
<view class="amo">{{item.amountt}}</view>
</view>
<view class="ord">{{item.orderNo}}</view>
<view class="row_bet">
<view class="arn">{{item.areaName?item.areaName:''}}</view>
<view class="dat">{{item.payDate}}</view>
</view>
</view> </view>
<view wx:if="{{recordArr.length==0}}" class="no_data">当前没有缴费记录数据</view>
</view> </view>
</view> </view>
...@@ -19,9 +19,204 @@ ...@@ -19,9 +19,204 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.first_line{
display: flex;
width: 100%;
flex-direction: row;
align-items: center;
justify-content: center;
}
.padding_bot30{
padding-bottom: 30px;
}
.go{
color: #6895ef;
}
.margin_left10{
color: #6895ef;
font-size: 12px;
margin-left: 10px;
}
.op_name{
color: #666;
font-weight: 600;
font-size: 16px;
text-overflow: ellipsis;
}
.radio_item{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 100px;
}
.title_c{
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
width: 100%;
}
.title_i{
color: #666;
font-size: 16px;
font-weight: 600;
}
.opn{
color:#6a92ff;
font-size: 16px;
}
.arn{
font-size: 14px;
color: #8badf1;
}
.amo{
color: #fe6868;
font-size: 20px;
}
.dat{
color: #666;
font-size: 14px;
}
.val_c1{
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
width: 90%;
height: 100px;
padding: 5px 10px;
margin: 0 auto;
position: relative;
margin-top: 20px;
border: #6895ef solid 1px;
border-radius: 10px;
}
.fir_con{
min-height: 100vh;
background-color: #eee;
padding-top: 10px;
padding-bottom: 20px;
}
.val_c{
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
width: 100%;
margin-top: 20px;
}
.ord{
position: absolute;
transform: rotate(-30deg);
top: 40px;
left: 100px;
font-size: 12px;
color: #aaa;
}
.list_con{
padding-top: 20px;
position: sticky;
top: 50px;
}
.margin_left40{
margin-left: 20px;
}
.val_i{
color: #666;
font-size: 12px;
width: 33%;
text-align: center;
}
.colorr{
color: #fe6868;
}
.operatorItem{
display: flex;
flex-direction: column;
align-items: flex-start;
position: relative;
justify-content: flex-start;
background-color: #fff;
border: solid #eee 1px;
width: 92%;
border-radius: 5px;
box-shadow: 2px 2px 2px 2px #eee;
margin:0 auto;
}
.ab{
position: absolute;
right: 6px;
bottom: 40px;
}
.m-top10{
margin-top: 10px;
}
.ie{
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
}
.wid100{
width: 140px;
text-align: right;
}
.row_bet{
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding-left: 20px;
padding-right: 20px;
width: 100%;
}
.colorm{
color: #6895ef;
font-size: 16px;
}
.m-top20{
margin-top: 20px;
}
.setFirst{
display:flex;
flex-direction:row;
align-items:center;
padding-top: 20px;
justify-content:space-around;
position: sticky;
top: 0px;
width: 100%;
height: 30px;
z-index: 999;
background-color: #fff;
}
.no_data{
margin-top: 100px;
margin-left: 130px;
color: #aaa;
font-size: 16px;
}
.radio-box {
box-sizing: border-box;
width: 32rpx;
height: 32rpx;
border-radius: 50%;
border: 1px solid #6895fe;
margin-right: 8rpx;
}
.radio-box.checked {
background-color: #6895fe;
}
.platformFee-area { .platformFee-area {
width: 250rpx; width: 250rpx;
} }
.title-type-item {
font-size: 28rpx;
margin-left: 12rpx;
}
.platformFee-time { .platformFee-time {
color: #6a92ff; color: #6a92ff;
font-size: 28rpx; font-size: 28rpx;
......
"use strict"; "use strict";
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
var fetch_1 = require("../../api/fetch"); var fetch_1 = require("../../api/fetch");
Page({ Page({
...@@ -35,7 +42,7 @@ Page({ ...@@ -35,7 +42,7 @@ Page({
.then(function (res) { .then(function (res) {
if (res.data && res.data.length) { if (res.data && res.data.length) {
_this.setData({ _this.setData({
dataList: _this.data.dataList.concat(res.data), dataList: __spreadArrays(_this.data.dataList, res.data),
pageNum: _this.data.pageNum + 1, pageNum: _this.data.pageNum + 1,
}); });
} }
...@@ -45,4 +52,4 @@ Page({ ...@@ -45,4 +52,4 @@ Page({
}); });
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGxhdGZvcm1GZWVSZWNvcmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJwbGF0Zm9ybUZlZVJlY29yZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHlDQUFnRDtBQUdoRCxJQUFJLENBQUM7SUFJSCxJQUFJLEVBQUU7UUFDSixPQUFPLEVBQUUsQ0FBQztRQUNWLFFBQVEsRUFBRSxFQUFFO1FBQ1osUUFBUSxFQUFFLEVBQUU7S0FDYjtJQUtELE1BQU0sRUFBRSxVQUFTLE9BQU87UUFBaEIsaUJBV1A7UUFWQyxJQUFJLENBQUMsU0FBUyxDQUFDO1lBQ2IsT0FBTyxFQUFFLElBQUksQ0FBQyxJQUFJLENBQUMsT0FBTztZQUMxQixRQUFRLEVBQUUsSUFBSSxDQUFDLElBQUksQ0FBQyxRQUFRO1NBQzdCLENBQUMsQ0FBQyxJQUFJLENBQUMsVUFBQSxHQUFHO1lBQ1QsRUFBRSxDQUFDLENBQUMsR0FBRyxDQUFDLElBQUksSUFBSSxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUM7Z0JBQ2hDLEtBQUksQ0FBQyxPQUFRLENBQUM7b0JBQ1osUUFBUSxFQUFFLEdBQUcsQ0FBQyxJQUFJO2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oaXMuZGF0YS5wYWdlU2l6ZSxcclxuICAgIH0pXHJcbiAgICAgIC50aGVuKHJlcyA9PiB7XHJcbiAgICAgICAgaWYgKHJlcy5kYXRhICYmIHJlcy5kYXRhLmxlbmd0aCkge1xyXG4gICAgICAgICAgdGhpcy5zZXREYXRhISh7XHJcbiAgICAgICAgICAgIGRhdGFMaXN0OiBbLi4udGhpcy5kYXRhLmRhdGFMaXN0LCAuLi5yZXMuZGF0YV0sXHJcbiAgICAgICAgICAgIHBhZ2VOdW06IHRoaXMuZGF0YS5wYWdlTnVtICsgMSxcclxuICAgICAgICAgIH0pO1xyXG4gICAgICAgIH1cclxuICAgICAgfSlcclxuICAgICAgLmNhdGNoKGVyciA9PiB7XHJcbiAgICAgICAgY29uc29sZS5sb2coZXJyKTtcclxuICAgICAgfSk7XHJcbiAgfSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file \ No newline at end of file
import {baseFetch} from '../../api/fetch'
Page({
/**
* 页面的初始数据
*/
data: {
money:'',
operateId:'',
operatorName:''
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
this.setData({
operateId:options.operatorId,
money:options.money,
operatorName:options.operatorName
})
},
forInput(e){
this.setData({
money:e.detail.value
})
},
confirmPay(){
if(!this.data.money||this.data.money=='0'){
wx.showToast({
title: '请输入充值金额',
icon:'none'
})
return;
}
if(Number(this.data.money)<=0){
wx.showToast({
title: '充值金额无效',
icon:'none'
})
return;
}
wx.showLoading({
title: '订单生成中...',
})
wx.login({
success:res=>{
baseFetch({
url:'/v3/operate/balance/boss/recharge/order',
method:'POST',
data:{
appId:'wx458799fcb933d34f',
code:res.code,
operateId:this.data.operateId,
amount:this.data.money
}
}).then(res=>{
res = res.data.payInfo;
wx.hideLoading()
wx.requestPayment({
nonceStr: res.nonceStr,
package: res.package,
paySign: res.paySign,
timeStamp:res.timeStamp.toString(),
signType:res.signType,
success:()=>{
const eventChannel = this.getOpenerEventChannel()
eventChannel.emit('acceptDataFromOpenedPage', {data: 'test'});
wx.showToast({
title: '支付成功,三秒后自动返回',
icon:'none'
})
setTimeout(()=>{
wx.navigateBack();
},3000)
}
})
}).catch(()=>{
wx.hideLoading()
})
},
fail:()=>{
wx.hideLoading()
wx.showToast({
title: '当前无法充值',
})
}
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
{
"usingComponents": {},
"navigationBarTitleText":"充值"
}
\ No newline at end of file
<view class="recharge_con">
<view>当前充值运营商:{{operatorName}}</view>
<input value="{{money}}" type="digit" focus="{{true}}" bindinput="forInput" class="ipt_class"/>
<button class="recharge_btn" bindtap="confirmPay">确认</button>
</view>
\ No newline at end of file
/* pages/recharge/recharge.wxss */
.ipt_class{
width: 280px;
height:40px;
border: solid 1px #ccc;
border-radius: 10px;
margin-top: 30px;
}
.recharge_con{
width:375px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding-top: 80px;
}
.recharge_btn{
width: 200px;
margin-top: 30px;
}
\ No newline at end of file
...@@ -93,4 +93,4 @@ Component({ ...@@ -93,4 +93,4 @@ Component({
}, },
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3J0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicmVwb3J0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EseUNBQWdEO0FBRWhELElBQU0sT0FBTyxHQUFHO0lBQ2Q7UUFDRSxJQUFJLEVBQUUsUUFBUTtRQUNkLElBQUksRU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IGZldGNoUGxhdGZvcm1GZWUoKSB7XHJcbiAgICAgIG9wZXJhdG9yRmV0Y2goe1xyXG4gICAgICAgIHVybDogJy9vcGVyYXRlQmFsYW5jZS91bnBhaWRNb25leScsXHJcbiAgICAgIH0pXHJcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcclxuICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XHJcbiAgICAgICAgICB0aGlzLnNldERhdGEoe1xyXG4gICAgICAgICAgICBwbGF0Zm9ybUZlZTogcmVzLmRhdGEgPyByZXMuZGF0YS50b0ZpeGVkKDIpIDogJzAuMDAnLFxyXG4gICAgICAgICAgfSk7XHJcbiAgICAgICAgfSlcclxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcclxuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XHJcbiAgICAgICAgfSk7XHJcbiAgICB9LFxyXG4gICAgc2hvd1JlY2hhcmdlRGlhbG9nKCkge1xyXG4gICAgICBsZXQgZGlhbG9nID0gdGhpcy5zZWxlY3RDb21wb25lbnQoJyNwbGF0Zm9ybURpYWxvZycpO1xyXG4gICAgICBkaWFsb2cuZmV0Y2hQbGF0Zm9ybUZlZSgpO1xyXG4gICAgfSxcclxuICB9LFxyXG59KTtcclxuIl19
\ No newline at end of file \ No newline at end of file
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<view class="report-header-accountItemValue">10000</view> <view class="report-header-accountItemValue">10000</view>
</view> </view>
</view> --> </view> -->
<view class="report-header-platform" wx:if="{{showBalance}}"> <!-- <view class="report-header-platform" wx:if="{{showBalance}}">
<view class="report-header-platform-info"> <view class="report-header-platform-info">
待缴纳服务费 待缴纳服务费
<text class="report-header-platform-fee" selectable="false" space="false" decode="false"> <text class="report-header-platform-fee" selectable="false" space="false" decode="false">
...@@ -34,11 +34,16 @@ ...@@ -34,11 +34,16 @@
<button class="report-header-platform-btn" wx:if="{{platformFee>0}}" bind:tap="showRechargeDialog"> <button class="report-header-platform-btn" wx:if="{{platformFee>0}}" bind:tap="showRechargeDialog">
缴费 缴费
</button> </button>
</view> </view> -->
<view class="report-header-bottom"></view> <view class="report-header-bottom"></view>
</view> </view>
<view class="report-nav"> <view class="report-nav">
<nav-item wx:for="{{itemList}}" wx:key="index" nav-data="{{item}}"></nav-item> <nav-item
wx:for="{{itemList}}"
wx:key="index"
nav-data="{{item}}"
></nav-item>
</view> </view>
<platform-dialog id="platformDialog" eventType="parents" /> <platform-dialog id="platformDialog" eventType="parents" />
</view> </view>
"use strict"; "use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) { var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) { for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i]; s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p]; t[p] = s[p];
} }
return t; return t;
};
return __assign.apply(this, arguments);
}; };
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
var fetch_1 = require("../../api/fetch"); var fetch_1 = require("../../api/fetch");
...@@ -74,7 +77,7 @@ Page({ ...@@ -74,7 +77,7 @@ Page({
if (entity && entity.areaId) { if (entity && entity.areaId) {
} }
else else
entity = __assign({}, entity, { areaId: this.data.areaId }); entity = __assign(__assign({}, entity), { areaId: this.data.areaId });
} }
this.fetchUserData(entity); this.fetchUserData(entity);
}, },
...@@ -95,17 +98,17 @@ Page({ ...@@ -95,17 +98,17 @@ Page({
.fill({ .fill({
count: 0, count: 0,
}) })
.map(function (v, idx) { return (__assign({}, v, { days: idx + 1 })); }); .map(function (v, idx) { return (__assign(__assign({}, v), { days: idx + 1 })); });
if (dayVos && dayVos.length) { if (dayVos && dayVos.length) {
var oList = dayVos; var oList = dayVos;
for (var index = 0; index < oList.length; index++) { for (var index = 0; index < oList.length; index++) {
var element = oList[index]; var element = oList[index];
var daysIndex = Number(element.days.slice(-2)); var daysIndex = Number(element.days.slice(-2));
if (dayList[daysIndex - 1].count) { if (dayList[daysIndex - 1].count) {
dayList[daysIndex - 1] = __assign({}, dayList[daysIndex - 1], { count: dayList[daysIndex - 1].count + element.count }); dayList[daysIndex - 1] = __assign(__assign({}, dayList[daysIndex - 1]), { count: dayList[daysIndex - 1].count + element.count });
} }
else { else {
dayList[daysIndex - 1] = __assign({}, dayList[daysIndex - 1], { count: element.count }); dayList[daysIndex - 1] = __assign(__assign({}, dayList[daysIndex - 1]), { count: element.count });
} }
} }
} }
...@@ -113,17 +116,17 @@ Page({ ...@@ -113,17 +116,17 @@ Page({
.fill({ .fill({
count: 0, count: 0,
}) })
.map(function (v, idx) { return (__assign({}, v, { days: idx + 1 })); }); .map(function (v, idx) { return (__assign(__assign({}, v), { days: idx + 1 })); });
if (dayAcs && dayAcs.length) { if (dayAcs && dayAcs.length) {
var oList = dayAcs; var oList = dayAcs;
for (var index = 0; index < oList.length; index++) { for (var index = 0; index < oList.length; index++) {
var element = oList[index]; var element = oList[index];
var daysIndex = Number(element.days.slice(-2)); var daysIndex = Number(element.days.slice(-2));
if (activateList[daysIndex - 1].count) { if (activateList[daysIndex - 1].count) {
activateList[daysIndex - 1] = __assign({}, activateList[daysIndex - 1], { count: activateList[daysIndex - 1].count + element.count }); activateList[daysIndex - 1] = __assign(__assign({}, activateList[daysIndex - 1]), { count: activateList[daysIndex - 1].count + element.count });
} }
else { else {
activateList[daysIndex - 1] = __assign({}, activateList[daysIndex - 1], { count: element.count }); activateList[daysIndex - 1] = __assign(__assign({}, activateList[daysIndex - 1]), { count: element.count });
} }
} }
} }
...@@ -166,4 +169,4 @@ Page({ ...@@ -166,4 +169,4 @@ Page({
}); });
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlckdyb3d0aC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInVzZXJHcm93dGgudHMiXSwibm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QsIGRheUFjcyB9ID0gcmVzLmRhdGE7XG4gICAgICAgIGxldCBkYXlMaXN0ID0gbmV3IEFycmF5KDMxKVxuICAgICAgICAgIC5maWxsKHtcbiAgICAgICAgICAgIGNvdW50OiAwLFxuICAgICAgICAgIH0pXG4gICAgICAgICAgLm1hcCgodiwgaWR4KSA9PiAoeyAuLi52LCBkYXlzOiBpZHggKyAxIH0pKTtcblxuICAgICAgICBpZiAoZGF5Vm9zICYmIGRheVZvcy5sZW5ndGgpIHtcbiAgICAgICAgICBsZXQgb0xpc3QgPSBkYXlWb3M7XG4gICAgICAgICAgZm9yIChsZXQgaW5kZXggPSAwOyBpbmRleCA8IG9MaXN0Lmxlbmd0aDsgaW5kZXgrKykge1xuICAgICAgICAgICAgY29uc3QgZWxlbWVudCA9IG9MaXN0W2luZGV4XTtcbiAgICAgICAgICAgIGxldCBkYXlzSW5kZXggPSBOdW1iZXIoZWxlbWVudC5kYXlzLnNsaWNlKC0yKSk7XG4gICAgICAgICAgICBpZiAoZGF5TGlzdFtkYXlzSW5kZXggLSAxXS5jb3VudCkge1xuICAgICAgICAgICAgICBkYXlMaXN0W2RheXNJbmRleCAtIDFdID0ge1xuICAgICAgICAgICAgICAgIC4uLmRheUxpc3RbZGF5c0luZGV4IC0gMV0sXG4gICAgICAgICAgICAgICAgY291bnQ6IGRheUxpc3RbZGF5c0luZGV4IC0gMV0uY291bnQgKyBlbGVtZW50LmNvdW50LFxuICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgZGF5TGlzdFtkYXlzSW5kZXggLSAxXSA9IHtcbiAgICAgICAgICAgICAgICAuLi5kYXlMaXN0W2RheXNJbmRleCAtIDFdLFxuICAgICAgICAgICAgICAgIGNvdW50OiBlbGVtZW50LmNvdW50LFxuICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBsZXQgYWN0aXZhdGVMaXN0ID0gbmV3IEFycmF5KDMxKVxuICAgICAgICAgIC5maWxsKHtcbiAgICAgICAgICAgIGNvdW50OiAwLFxuICAgICAgICAgIH0pXG4gICAgICAgICAgLm1hcCgodiwgaWR4KSA9PiAoeyAuLi52LCBkYXlzOiBpZHggKyAxIH0pKTtcbiAgICAgICAgaWYgKGRheUFjcyAmJiBkYXlBY3MubGVuZ3RoKSB7XG4gICAgICAgICAgbGV0IG9MaXN0ID0gZGF5QWNzO1xuICAgICAgICAgIGZvciAobGV0IGluZGV4ID0gMDsgaW5kZXggPCBvTGlzdC5sZW5ndGg7IGluZGV4KyspIHtcbiAgICAgICAgICAgIGNvbnN0IGVsZW1lbnQgPSBvTGlzdFtpbmRleF07XG4gICAgICAgICAgICBsZXQgZGF5c0luZGV4ID0gTnVtYmVyKGVsZW1lbnQuZGF5cy5zbGljZSgtMikpO1xuICAgICAgICAgICAgaWYgKGFjdGl2YXRlTGlzdFtkYXlzSW5kZXggLSAxXS5jb3VudCkge1xuICAgICAgICAgICAgICBhY3RpdmF0ZUxpc3RbZGF5c0luZGV4IC0gMV0gPSB7XG4gICAgICAgICAgICAgICAgLi4uYWN0aXZhdGVMaXN0W2RheXNJbmRleCAtIDFdLFxuICAgICAgICAgICAgICAgIGNvdW50OiBhY3RpdmF0ZUxpc3RbZGF5c0luZGV4IC0gMV0uY291bnQgKyBlbGVtZW50LmNvdW50LFxuICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgYWN0aXZhdGVMaXN0W2RheXNJbmRleCAtIDFdID0ge1xuICAgICAgICAgICAgICAgIC4uLmFjdGl2YXRlTGlzdFtkYXlzSW5kZXggLSAxXSxcbiAgICAgICAgICAgICAgICBjb3VudDogZWxlbWVudC5jb3VudCxcbiAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBsZXQgcmVnaXN0ZXJDb3VudCA9IGRheV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NJbmRleCAtIDFdLFxyXG4gICAgICAgICAgICAgICAgY291bnQ6IGRheUxpc3RbZGF5c0luZGV4IC0gMV0uY291bnQgKyBlbGVtZW50LmNvdW50LFxyXG4gICAgICAgICAgICAgIH07XHJcbiAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgZGF5TGlzdFtkYXlzSW5kZXggLSAxXSA9IHtcclxuICAgICAgICAgICAgICAgIC4uLmRheUxpc3RbZGF5c0luZGV4IC0gMV0sXHJcbiAgICAgICAgICAgICAgICBjb3VudDogZWxlbWVudC5jb3VudCxcclxuICAgICAgICAgICAgICB9O1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICAgIGxldCBhY3RpdmF0ZUxpc3QgPSBuZXcgQXJyYXkoMzEpXHJcbiAgICAgICAgICAuZmlsbCh7XHJcbiAgICAgICAgICAgIGNvdW50OiAwLFxyXG4gICAgICAgICAgfSlcclxuICAgICAgICAgIC5tYXAoKHYsIGlkeCkgPT4gKHsgLi4udiwgZGF5czogaWR4ICsgMSB9KSk7XHJcbiAgICAgICAgaWYgKGRheUFjcyAmJiBkYXlBY3MubGVuZ3RoKSB7XHJcbiAgICAgICAgICBsZXQgb0xpc3QgPSBkYXlBY3M7XHJcbiAgICAgICAgICBmb3IgKGxldCBpbmRleCA9IDA7IGluZGV4IDwgb0xpc3QubGVuZ3RoOyBpbmRleCsrKSB7XHJcbiAgICAgICAgICAgIGNvbnN0IGVsZW1lbnQgPSBvTGlzdFtpbmRleF07XHJcbiAgICAgICAgICAgIGxldCBkYXlzSW5kZXggPSBOdW1iZXIoZWxlbWVudC5kYXlzLnNsaWNlKC0yKSk7XHJcbiAgICAgICAgICAgIGlmIChhY3RpdmF0ZUxpc3RbZGF5c0luZGV4IC0gMV0uY291bnQpIHtcclxuICAgICAgICAgICAgICBhY3RpdmF0ZUxpc3RbZGF5c0luZGV4IC0gMV0gPSB7XHJcbiAgICAgICAgICAgICAgICAuLi5hY3RpdmF0ZUxpc3RbZGF5c0luZGV4IC0gMV0sXHJcbiAgICAgICAgICAgICAgICBjb3VudDogYWN0aXZhdGVMaXN0W2RheXNJbmRleCAtIDFdLmNvdW50ICsgZWxlbWVudC5jb3VudCxcclxuICAgICAgICAgICAgICB9O1xyXG4gICAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICAgIGFjdGl2YXRlTGlzdFtkYXlzSW5kZXggLSAxXSA9IHtcclxuICAgICAgICAgICAgICAgIC4uLmFjdGl2YXRlTGlzdFtkYXlzSW5kZXggLSAxXSxcclxuICAgICAgICAgICAgICAgIGNvdW50OiBlbGVtZW50LmNvdW50LFxyXG4gICAgICAgICAgICAgIH07XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgIH1cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGxldCByZWdpc3RlckNvdW50ID0gZGF5Vm9zLnJlZHVjZShcclxuICAgICAgICAgICh0b3RhbCwgY3VycmVudCkgPT4gKHRvdGFsICs9IGN1cnJlbnQuY291bnQpLFxyXG4gICAgICAgICAgMCxcclxuICAgICAgICApO1xyXG4gICAgICAgIGNvbnNvbGUubG9nKCdkYXlMaXN0OicsIGRheUxpc3QpO1xyXG4gICAgICAgIHRoaXMuc2V0RGF0YSEoe1xyXG4gICAgICAgICAgZ3Jvd3RoTGlzdDogZGF5TGlzdCxcclxuICAgICAgICAgIGFjdGl2YXRlTGlzdDogYWN0aXZhdGVMaXN0LFxyXG4gICAgICAgICAgcmVnaXN0ZXJDb3VudDogcmVnaXN0ZXJDb3VudCxcclxuICAgICAgICAgIGN1c3RvbWVyQ291bnQ6IGN1c3RvbWVyQ291bnQgPyBjdXN0b21lckNvdW50IDogMCxcclxuICAgICAgICAgIGFjdGl2ZUNvdW50OiBhY3RpdmVDb3VudCA/IGFjdGl2ZUNvdW50IDogMCxcclxuICAgICAgICB9KTtcclxuICAgICAgfSlcclxuICAgICAgLmNhdGNoKGVyciA9PiB7XHJcbiAgICAgICAgY29uc29sZS5sb2coZXJyKTtcclxuICAgICAgfSk7XHJcbiAgfSxcclxuICBhcmVhQ2hhbmdlSGFuZGxlKHZhbCkge1xyXG4gICAgY29uc29sZS5sb2coJ2FyZWFDaGFuZ2VIYW5kbGUnLCB2YWwpO1xyXG4gICAgY29uc3QgeyBpZCwgbmFtZSB9ID0gdmFsO1xyXG4gICAgdGhpcy5zZXREYXRhIShcclxuICAgICAge1xyXG4gICAgICAgIGFyZWFJZDogaWQsXHJcbiAgICAgICAgYXJlYU5hbWU6IG5hbWUsXHJcbiAgICAgIH0sXHJcbiAgICAgICgpID0+IHtcclxuICAgICAgICBpZiAoaWQpIHtcclxuICAgICAgICAgIHRoaXMuZmV0Y2hMaXN0KHsgYXJlYUlkOiBpZCB9KTtcclxuICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgdGhpcy5mZXRjaExpc3QoKTtcclxuICAgICAgICB9XHJcbiAgICAgIH0sXHJcbiAgICApO1xyXG4gIH0sXHJcbiAgbW9udGhDaGFuZ2VIYW5kbGUodmFsKSB7XHJcbiAgICBjb25zb2xlLmxvZygnbW9udGhDaGFuZ2VIYW5kbGUnLCB2YWwpO1xyXG4gICAgY29uc3QgeyB2YWx1ZSB9ID0gdmFsLmRldGFpbDtcclxuICAgIHRoaXMuZmV0Y2hMaXN0KHsgbW9udGhTdHJpbmc6IHZhbHVlIH0pO1xyXG4gICAgdGhpcy5zZXREYXRhISh7XHJcbiAgICAgIG1vbnRoOiB2YWx1ZSxcclxuICAgIH0pO1xyXG4gIH0sXHJcbn0pO1xyXG4iXX0=
\ No newline at end of file \ No newline at end of file
{
"description": "项目配置文件",
"packOptions": {
"ignore": []
},
"setting": {
"urlCheck": true,
"es6": true,
"enhance": false,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": false,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"useIsolateContext": true,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"disableUseStrict": false,
"showES6CompileOption": false,
"useCompilerPlugins": false,
"ignoreUploadUnusedFiles": true
},
"compileType": "miniprogram",
"libVersion": "2.16.0",
"appid": "wx6c0f07775b60792b",
"projectname": "wx-manage-shell",
"debugOptions": {
"hidedInDevtools": []
},
"scripts": {},
"staticServerOptions": {
"baseURL": "",
"servePath": ""
},
"isGameTourist": false,
"condition": {
"search": {
"list": []
},
"conversation": {
"list": []
},
"game": {
"list": []
},
"plugin": {
"list": []
},
"gamePlugin": {
"list": []
},
"miniprogram": {
"list": []
}
}
}
\ No newline at end of file
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); // stores/user.js
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInVzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIi8vIHN0b3Jlcy91c2VyLmpzXG5cbmV4cG9ydCB0eXBlIFVzZXJpbmZvID0ge1xuICBjZWxscGhvbmU6IHN0cmluZztcbiAgY29tbWVudDogc3RyaW5nO1xuICBjcmVhdGVBdDogc3RyaW5nO1xuICBpZDogbnVtYmVyO1xuICBpc09wZW5PcGVyTG9nOiBudW1iZXI7XG4gIGlzU2V0UGFzc3dvcmQ6IG51bWJlcjtcbiAgbGFzdExvZ2luRGF0ZTogc3RyaW5nO1xuICBsb2dpbkFjY291bnQ6IHN0cmluZztcbiAgbG9naW5Db3VudDogbnVtYmVyO1xuICBuYW1lOiBzdHJpbmc7XG4gIG9wZXJhdGVJZDogbnVtYmVyO1xuICBvcGVyYXRlTmFtZTogc3RyaW5nO1xuICBzdGF0ZTogc3RyaW5nO1xuICB1cGRhdGVBdDogc3RyaW5nO1xufTtcblxuZXhwb3J0IHR5cGUgVXNlclJvbGUgPSB7XG4gIGNoaWxkczogVXNlclJvbGVbXTtcbiAgaWQ6IG51bWJlcjtcbiAgbGlzdE1lbnVCdXR0b25WbzogW107XG4gIG1lbnVDb2RlOiBzdHJpbmc7XG4gIG1lbnVMaW5rOiBzdHJpbmc7XG4gIG1lbnVOYW1lOiBzdHJpbmc7XG4gIG1lbnVQaWNTbWFsbDogc3RyaW5nO1xuICBwYXJlbnRJZDogbnVsbCB8IG51bWJlcjtcbiAgcGFyZW50TmFtZTogbnVsbCB8IHN0cmluZztcbiAgc29ydElkOiBudW1iZXI7XG59O1xuIl19 exports.__esModule = true;
\ No newline at end of file
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.delay = exports.formatPrice = exports.formatTime = void 0;
function formatTime(date) { function formatTime(date) {
var year = date.getFullYear(); var year = date.getFullYear();
var month = date.getMonth() + 1; var month = date.getMonth() + 1;
...@@ -43,4 +44,4 @@ exports.delay = (function () { ...@@ -43,4 +44,4 @@ exports.delay = (function () {
timer = setTimeout(callback, ms); timer = setTimeout(callback, ms);
}; };
})(); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInV0aWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxvQkFBMkIsSUFBVTtJQUNuQyxJQUFNLElBQUksR0FBRyxJQUFJLENBQUMsV0FBVyxFQUFFLENBQUM7SUFDaEMsSUFBTSxLQUFLLEdBQUcsSUFBSSxDQUFDLFFBQVEsRUFBRSxHQUFHLEN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VkKDIpO1xuICBsZXQgc3RyQXJyID0gc3RyLnNwbGl0KCcuJyk7XG4gIHJldHVybiBqb2luQ29tbWEoc3RyQXJyWzBdKSArICcuJyArIHN0ckFyclsxXTtcbn07XG5cbmNvbnN0IGpvaW5Db21tYSA9IChudW06IHN0cmluZykgPT4ge1xuICB2YXIgcmVzdWx0ID0gW10sXG4gICAgY291bnRlciA9IDA7XG4gIGZvciAobGV0IGluZGV4ID0gbnVtLmxlbmd0aCAtIDE7IGluZGV4ID49IDA7IGluZGV4LS0pIHtcbiAgICBjb3VudGVyKys7XG4gICAgaWYgKGluZGV4ID09IDAgJiYgaXNOYU4oTnVtYmVyKG51bVtpbmRleF0pKSAmJiByZXN1bHRbMF0gPT09ICcsJykge1xuICAgICAgcmVzdWx0LnNoaWZ0KCk7XG4gICAgfVxuICAgIGNvbnN0IGVsZW1lbnQgPSBudW1baW5kZXhdO1xuICAgIHJlc3VsdC51bnNoaWZ0KGVsZW1lbnQpO1xuICAgIGlmICghKGNvdW50ZXIgJSAzKSAmJiBpbmRleCAhPSAwKSB7XG4gICAgICByZXN1bHQudW5zaGlmdCgnLCcpO1xuICAgIH1cbiAgfVxuICByZXR1cm4gcmVzdWx0LmpvaW4oJycpO1xufTtcbmV4cG9ydCBjb25zdCBkZWxheSA9IChmdW5jdGlvbigpIHtcbiAgbGV0IHRpbWVyID0gMDtcbiAgcmV0dXJuIGZ1bmN0aW9uKGNhbGxiYWNrOiAoKSA9PiB2b2lkLCBtczogbnVtYmVyKSB7XG4gICAgY2xlYXJUaW1lb3V0KHRpbWVyKTtcbiAgICB0aW1lciA9IHNldFRpbWVvdXQoY2FsbGJhY2ssIG1zKTtcbiAgfTtcbn0pKCk7XG4iXX0= //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInV0aWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs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cclxuIl19
\ No newline at end of file \ No newline at end of file
{ {
"name": "demo", "name": "wx-manage-shell",
"version": "1.0.1", "version": "1.0.2",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"resolved": "https://registry.npmjs.org/@antv/adjust/-/adjust-0.1.1.tgz", "resolved": "https://registry.npmjs.org/@antv/adjust/-/adjust-0.1.1.tgz",
"integrity": "sha512-9FaMOyBlM4AgoRL0b5o0VhEKAYkexBNUrxV8XmpHU/9NBPJONBOB/NZUlQDqxtLItrt91tCfbAuMQmF529UX2Q==", "integrity": "sha512-9FaMOyBlM4AgoRL0b5o0VhEKAYkexBNUrxV8XmpHU/9NBPJONBOB/NZUlQDqxtLItrt91tCfbAuMQmF529UX2Q==",
"requires": { "requires": {
"@antv/util": "~1.3.1" "@antv/util": "1.3.1"
}, },
"dependencies": { "dependencies": {
"@antv/util": { "@antv/util": {
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz", "resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz",
"integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==", "integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==",
"requires": { "requires": {
"@antv/gl-matrix": "^2.7.1" "@antv/gl-matrix": "2.7.1"
} }
} }
} }
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"resolved": "https://registry.npmjs.org/@antv/attr/-/attr-0.1.2.tgz", "resolved": "https://registry.npmjs.org/@antv/attr/-/attr-0.1.2.tgz",
"integrity": "sha512-QXjP+T2I+pJQcwZx1oCA4tipG43vgeCeKcGGKahlcxb71OBAzjJZm1QbF4frKXcnOqRkxVXtCr70X9TRair3Ew==", "integrity": "sha512-QXjP+T2I+pJQcwZx1oCA4tipG43vgeCeKcGGKahlcxb71OBAzjJZm1QbF4frKXcnOqRkxVXtCr70X9TRair3Ew==",
"requires": { "requires": {
"@antv/util": "~1.3.1" "@antv/util": "1.3.1"
}, },
"dependencies": { "dependencies": {
"@antv/util": { "@antv/util": {
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz", "resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz",
"integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==", "integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==",
"requires": { "requires": {
"@antv/gl-matrix": "^2.7.1" "@antv/gl-matrix": "2.7.1"
} }
} }
} }
...@@ -45,11 +45,11 @@ ...@@ -45,11 +45,11 @@
"resolved": "https://registry.npmjs.org/@antv/f2/-/f2-3.4.2.tgz", "resolved": "https://registry.npmjs.org/@antv/f2/-/f2-3.4.2.tgz",
"integrity": "sha512-rji4J9GGQIpzXNv8P4qzUFYnodQTtfAN2ApaY6WfxCQTSYy3EycK2CsjiiWNQ3PpNY1lCVf63E5PutwOZhuPwA==", "integrity": "sha512-rji4J9GGQIpzXNv8P4qzUFYnodQTtfAN2ApaY6WfxCQTSYy3EycK2CsjiiWNQ3PpNY1lCVf63E5PutwOZhuPwA==",
"requires": { "requires": {
"@antv/adjust": "~0.1.1", "@antv/adjust": "0.1.1",
"@antv/attr": "~0.1.0", "@antv/attr": "0.1.2",
"@antv/scale": "~0.1.2", "@antv/scale": "0.1.3",
"@antv/util": "~1.2.5", "@antv/util": "1.2.5",
"hammerjs": "^2.0.8" "hammerjs": "2.0.8"
} }
}, },
"@antv/f2-canvas": { "@antv/f2-canvas": {
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
"resolved": "https://registry.npmjs.org/@antv/f2-canvas/-/f2-canvas-1.0.5.tgz", "resolved": "https://registry.npmjs.org/@antv/f2-canvas/-/f2-canvas-1.0.5.tgz",
"integrity": "sha512-iE4u1kAcxGaluu1CA6F5R0/dfsCMhubEfOKvR6zRwGC9S9bCil0y6JNCsIkyPZGCQYkAtsg3WDlcu2yneyqUuw==", "integrity": "sha512-iE4u1kAcxGaluu1CA6F5R0/dfsCMhubEfOKvR6zRwGC9S9bCil0y6JNCsIkyPZGCQYkAtsg3WDlcu2yneyqUuw==",
"requires": { "requires": {
"@antv/wx-f2": "^1.1.4" "@antv/wx-f2": "1.1.4"
} }
}, },
"@antv/gl-matrix": { "@antv/gl-matrix": {
...@@ -70,8 +70,8 @@ ...@@ -70,8 +70,8 @@
"resolved": "https://registry.npmjs.org/@antv/scale/-/scale-0.1.3.tgz", "resolved": "https://registry.npmjs.org/@antv/scale/-/scale-0.1.3.tgz",
"integrity": "sha512-oknlOg4OUqIh8LygrfQttx+OAnNJm2fQ81si4g8aby1WJJwj/TU1gCr+J3loIpKBtBK4VpP/OzTTqg1Ym67SOQ==", "integrity": "sha512-oknlOg4OUqIh8LygrfQttx+OAnNJm2fQ81si4g8aby1WJJwj/TU1gCr+J3loIpKBtBK4VpP/OzTTqg1Ym67SOQ==",
"requires": { "requires": {
"@antv/util": "~1.3.1", "@antv/util": "1.3.1",
"fecha": "~2.3.3" "fecha": "2.3.3"
}, },
"dependencies": { "dependencies": {
"@antv/util": { "@antv/util": {
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz", "resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz",
"integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==", "integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==",
"requires": { "requires": {
"@antv/gl-matrix": "^2.7.1" "@antv/gl-matrix": "2.7.1"
} }
} }
} }
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.2.5.tgz", "resolved": "https://registry.npmjs.org/@antv/util/-/util-1.2.5.tgz",
"integrity": "sha512-yz1AjXSEjNu9O5kK9pqKq69f/Iliu/IA3XXljUcfrlbUtmUJ0CH1tB5I60vPqfaKaUPhz+/35K+56yqaCsGmqA==", "integrity": "sha512-yz1AjXSEjNu9O5kK9pqKq69f/Iliu/IA3XXljUcfrlbUtmUJ0CH1tB5I60vPqfaKaUPhz+/35K+56yqaCsGmqA==",
"requires": { "requires": {
"@antv/gl-matrix": "^2.7.1" "@antv/gl-matrix": "2.7.1"
} }
}, },
"@antv/wx-f2": { "@antv/wx-f2": {
...@@ -97,8 +97,8 @@ ...@@ -97,8 +97,8 @@
"resolved": "https://registry.npmjs.org/@antv/wx-f2/-/wx-f2-1.1.4.tgz", "resolved": "https://registry.npmjs.org/@antv/wx-f2/-/wx-f2-1.1.4.tgz",
"integrity": "sha512-XaMUwS16ONcpHIEK4yv6wOIxrwSqzhLx4di2kmumQI8xi5vZK1bslJCtjSaxbNS99febpZkZqgwgAmXOOrMYmA==", "integrity": "sha512-XaMUwS16ONcpHIEK4yv6wOIxrwSqzhLx4di2kmumQI8xi5vZK1bslJCtjSaxbNS99febpZkZqgwgAmXOOrMYmA==",
"requires": { "requires": {
"@antv/f2": "^3.3.3", "@antv/f2": "3.4.2",
"wolfy87-eventemitter": "^5.2.4" "wolfy87-eventemitter": "5.2.8"
} }
}, },
"fecha": { "fecha": {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"typescript": "^3.3.3333" "typescript": "^3.3.3333"
}, },
"dependencies": { "dependencies": {
"@antv/f2-canvas": "^1.0.5" "@antv/f2-canvas": "^1.0.5",
"blueimp-md5": "^2.19.0"
} }
} }
{ {
"description": "项目配置文件", "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"packOptions": { "packOptions": {
"ignore": [] "ignore": [],
"include": []
}, },
"miniprogramRoot": "miniprogram/", "miniprogramRoot": "miniprogram/",
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.8.3", "libVersion": "2.23.2",
"projectname": "wx-manage-shell", "projectname": "wx-manage-shell",
"scripts": { "scripts": {
"beforeCompile": "npm run tsc", "beforeCompile": "npm run tsc",
...@@ -17,46 +18,65 @@ ...@@ -17,46 +18,65 @@
"es6": true, "es6": true,
"enhance": false, "enhance": false,
"postcss": true, "postcss": true,
"preloadBackgroundData": false,
"minified": true, "minified": true,
"newFeature": true, "newFeature": true,
"coverView": true, "coverView": true,
"nodeModules": true, "nodeModules": true,
"autoAudits": false, "autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true, "checkInvalidKey": true,
"checkSiteMap": true, "checkSiteMap": true,
"uploadWithSourceMap": true, "uploadWithSourceMap": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"babelSetting": { "babelSetting": {
"ignore": [], "ignore": [],
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
}, },
"bundle": false "useIsolateContext": false,
"userConfirmedBundleSwitch": false,
"packNpmManually": true,
"packNpmRelationList": [
{
"packageJsonPath": "package.json",
"miniprogramNpmDistDir": "./miniprogram"
}
],
"minifyWXSS": true,
"disableUseStrict": false,
"showES6CompileOption": false,
"useCompilerPlugins": false,
"ignoreUploadUnusedFiles": true,
"minifyWXML": true,
"useStaticServer": true
}, },
"appid": "wx458799fcb933d34f", "appid": "wx458799fcb933d34f",
"simulatorType": "wechat", "simulatorType": "wechat",
"simulatorPluginLibVersion": {}, "simulatorPluginLibVersion": {},
"condition": { "condition": {
"search": { "search": {
"current": -1,
"list": [] "list": []
}, },
"conversation": { "conversation": {
"current": -1,
"list": [] "list": []
}, },
"plugin": { "plugin": {
"current": -1,
"list": [] "list": []
}, },
"game": { "game": {
"list": [] "list": []
}, },
"gamePlugin": { "gamePlugin": {
"current": -1,
"list": [] "list": []
}, },
"miniprogram": { "miniprogram": {
"current": 2,
"list": [ "list": [
{ {
"id": 0, "id": 0,
...@@ -129,5 +149,10 @@ ...@@ -129,5 +149,10 @@
} }
] ]
} }
},
"srcMiniprogramRoot": "miniprogram/",
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
} }
} }
\ No newline at end of file
{
"setting": {},
"condition": {
"miniprogram": {
"list": [
{
"name": "home",
"pathName": "pages/homeAndReport/homeAndReport",
"query": "",
"scene": null
},
{
"name": "report",
"pathName": "pages/report/report",
"query": "",
"scene": null
},
{
"name": "feedback",
"pathName": "pages/feedback/feedback",
"query": "",
"scene": null
},
{
"name": "monthOperator",
"pathName": "pages/monthOperator/monthOperator",
"query": "",
"scene": null
},
{
"name": "userGrowth",
"pathName": "pages/userGrowth/userGrowth",
"query": "",
"scene": null
},
{
"name": "platformFee",
"pathName": "pages/platformFee/platformFee",
"query": "",
"scene": null
},
{
"name": "platformFeeRecord",
"pathName": "pages/platformFeeRecord/platformFeeRecord",
"query": "",
"scene": null
},
{
"name": "equipment",
"pathName": "pages/equipment/equipment",
"query": "",
"scene": null
},
{
"name": "equipmentReport",
"pathName": "pages/equipmentReport/equipmentReport",
"query": "areaId=15&areaName=多彩温江校区",
"scene": null
},
{
"name": "feedbackDetail",
"pathName": "pages/feedbackDetail/feedbackDetail",
"query": "customerName=姜雷&customerPhone=18108096099&id=800069",
"scene": null
},
{
"name": "recharge",
"pathName": "pages/recharge/recharge",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "设备明细",
"pathName": "pages/deviceDetail/deviceDetail",
"query": "",
"launchMode": "default",
"scene": null
}
]
}
},
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
}
\ No newline at end of file
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@antv/adjust@~0.1.1":
version "0.1.1"
resolved "https://registry.npmmirror.com/@antv/adjust/-/adjust-0.1.1.tgz#e263ab0e1a1941a648842fc086cf65a7e3b75e98"
integrity sha512-9FaMOyBlM4AgoRL0b5o0VhEKAYkexBNUrxV8XmpHU/9NBPJONBOB/NZUlQDqxtLItrt91tCfbAuMQmF529UX2Q==
dependencies:
"@antv/util" "~1.3.1"
"@antv/f2-canvas@^1.0.5":
version "1.0.5"
resolved "https://registry.npmmirror.com/@antv/f2-canvas/-/f2-canvas-1.0.5.tgz#a3bc773690525e1a7b1620af1beb2de38970e568"
integrity sha512-iE4u1kAcxGaluu1CA6F5R0/dfsCMhubEfOKvR6zRwGC9S9bCil0y6JNCsIkyPZGCQYkAtsg3WDlcu2yneyqUuw==
dependencies:
"@antv/wx-f2" "^1.1.4"
"@antv/f2@^3.3.3":
version "3.8.10"
resolved "https://registry.npmmirror.com/@antv/f2/-/f2-3.8.10.tgz#7c842a50c8e301702a9a9e4619c56c3f742a5cfc"
integrity sha512-0nUWdV51g6z2ultDhc5SkvPpzjRCxL5SkW6hxCSpVZAaYDSO+S8sdZaqo1+4UtFBo+PAQbpz4n4dpAmt2xjEyw==
dependencies:
"@antv/adjust" "~0.1.1"
"@antv/scale" "~0.3.3"
"@antv/util" "~2.0.6"
"@babel/runtime" "^7.7.7"
"@types/hammerjs" "^2.0.36"
hammerjs "^2.0.8"
type-fest "^0.15.1"
"@antv/gl-matrix@^2.7.1":
version "2.7.1"
resolved "https://registry.npmmirror.com/@antv/gl-matrix/-/gl-matrix-2.7.1.tgz#acb8e37f7ab3df01345aba4372d7942be42eba14"
integrity sha512-oOWcVNlpELIKi9x+Mm1Vwbz8pXfkbJKykoCIOJ/dNK79hSIANbpXJ5d3Rra9/wZqK6MC961B7sybFhPlLraT3Q==
"@antv/scale@~0.3.3":
version "0.3.16"
resolved "https://registry.npmmirror.com/@antv/scale/-/scale-0.3.16.tgz#6227186935473a29bb6ec6c81a2997addf1adb91"
integrity sha512-8rBo9VPob1z6M/Fcszx1waNwD7kwglc5G1HmF/rjYJRb4ASKVAAx4o4Nzxsp7AZK/a2lHPOQWRekx/9/BxID+A==
dependencies:
"@antv/util" "~2.0.3"
fecha "~4.2.0"
tslib "^2.0.0"
"@antv/util@~1.3.1":
version "1.3.1"
resolved "https://registry.npmmirror.com/@antv/util/-/util-1.3.1.tgz#30a34b201ff9126ec0d58c72c8166a9c3e644ccd"
integrity sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==
dependencies:
"@antv/gl-matrix" "^2.7.1"
"@antv/util@~2.0.3", "@antv/util@~2.0.6":
version "2.0.17"
resolved "https://registry.npmmirror.com/@antv/util/-/util-2.0.17.tgz#e8ef42aca7892815b229269f3dd10c6b3c7597a9"
integrity sha512-o6I9hi5CIUvLGDhth0RxNSFDRwXeywmt6ExR4+RmVAzIi48ps6HUy+svxOCayvrPBN37uE6TAc2KDofRo0nK9Q==
dependencies:
csstype "^3.0.8"
tslib "^2.0.3"
"@antv/wx-f2@^1.1.4":
version "1.1.4"
resolved "https://registry.npmmirror.com/@antv/wx-f2/-/wx-f2-1.1.4.tgz#707df3e6862214720392f10e285fdcb183787ab6"
integrity sha512-XaMUwS16ONcpHIEK4yv6wOIxrwSqzhLx4di2kmumQI8xi5vZK1bslJCtjSaxbNS99febpZkZqgwgAmXOOrMYmA==
dependencies:
"@antv/f2" "^3.3.3"
wolfy87-eventemitter "^5.2.4"
"@babel/runtime@^7.7.7":
version "7.17.8"
resolved "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.17.8.tgz#3e56e4aff81befa55ac3ac6a0967349fd1c5bca2"
integrity sha512-dQpEpK0O9o6lj6oPu0gRDbbnk+4LeHlNcBpspf6Olzt3GIX4P1lWF1gS+pHLDFlaJvbR6q7jCfQ08zA4QJBnmA==
dependencies:
regenerator-runtime "^0.13.4"
"@types/hammerjs@^2.0.36":
version "2.0.41"
resolved "https://registry.npmmirror.com/@types/hammerjs/-/hammerjs-2.0.41.tgz#f6ecf57d1b12d2befcce00e928a6a097c22980aa"
integrity sha512-ewXv/ceBaJprikMcxCmWU1FKyMAQ2X7a9Gtmzw8fcg2kIePI1crERDM818W+XYrxqdBBOdlf2rm137bU+BltCA==
csstype@^3.0.8:
version "3.0.11"
resolved "https://registry.npmmirror.com/csstype/-/csstype-3.0.11.tgz#d66700c5eacfac1940deb4e3ee5642792d85cd33"
integrity sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw==
fecha@~4.2.0:
version "4.2.1"
resolved "https://registry.npmmirror.com/fecha/-/fecha-4.2.1.tgz#0a83ad8f86ef62a091e22bb5a039cd03d23eecce"
integrity sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q==
hammerjs@^2.0.8:
version "2.0.8"
resolved "https://registry.npmmirror.com/hammerjs/-/hammerjs-2.0.8.tgz#04ef77862cff2bb79d30f7692095930222bf60f1"
integrity sha512-tSQXBXS/MWQOn/RKckawJ61vvsDpCom87JgxiYdGwHdOa0ht0vzUWDlfioofFCRU0L+6NGDt6XzbgoJvZkMeRQ==
regenerator-runtime@^0.13.4:
version "0.13.9"
resolved "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52"
integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==
tslib@^2.0.0, tslib@^2.0.3:
version "2.3.1"
resolved "https://registry.npmmirror.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
type-fest@^0.15.1:
version "0.15.1"
resolved "https://registry.npmmirror.com/type-fest/-/type-fest-0.15.1.tgz#d2c4e73d3e4a53cf1a906396dd460a1c5178ca00"
integrity sha512-n+UXrN8i5ioo7kqT/nF8xsEzLaqFra7k32SEsSPwvXVGyAcRgV/FUQN/sgfptJTR1oRmmq7z4IXMFSM7im7C9A==
typescript@^3.3.3333:
version "3.9.10"
resolved "https://registry.npmmirror.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8"
integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==
wolfy87-eventemitter@^5.2.4:
version "5.2.9"
resolved "https://registry.npmmirror.com/wolfy87-eventemitter/-/wolfy87-eventemitter-5.2.9.tgz#e879f770b30fbb6512a8afbb330c388591099c2a"
integrity sha512-P+6vtWyuDw+MB01X7UeF8TaHBvbCovf4HPEMF/SV7BdDc1SMTiBy13SRD71lQh4ExFTG1d/WNzDGDCyOKSMblw==
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