Commit bfeaf292 by 何炳良

Merge branch 'test' into 'master'

Test See merge request !2
parents ff9c595b 5f7e31ae
"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++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
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]];
}
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 app = getApp();
var fetch = function (req) {
return new Promise(function (resolve, reject) {
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 }));
}).then(function (res) {
var _a = res.data, code = _a.code, otherkeys = __rest(_a, ["code"]);
......@@ -31,43 +37,48 @@ var fetch = function (req) {
if (res.header['Set-Cookie'])
return {
header: res.header,
data: otherkeys,
data: otherkeys
};
return otherkeys;
}
else if (code === constants_1.logoutode) {
app.resetUserinfo();
wx.reLaunch({
url: '/pages/index/index',
url: '/pages/index/index'
});
throw {
errMsg: res.data.msg || '网络异常',
errMsg: res.data.msg || '网络异常'
};
}
else {
throw {
errMsg: res.data.msg || '网络异常',
errMsg: res.data.msg || '网络异常'
};
}
});
};
exports.systemFetch = function (req) {
return fetch(__assign({}, req, { url: constants_1.masterUrl.SYSTEM_SERVER_URL + req.url }));
var systemFetch = function (req) {
return fetch(__assign(__assign({}, req), { url: constants_1.masterUrl.SYSTEM_SERVER_URL + req.url }));
};
exports.statisticsFetch = function (req) {
return fetch(__assign({}, req, { url: constants_1.masterUrl.STATISTICS_SERVER_URL + req.url }));
exports.systemFetch = systemFetch;
var statisticsFetch = function (req) {
return fetch(__assign(__assign({}, req), { url: constants_1.masterUrl.STATISTICS_SERVER_URL + req.url }));
};
exports.customerFetch = function (req) {
return fetch(__assign({}, req, { url: constants_1.masterUrl.CUSTOMER_SERVER_URL + req.url }));
exports.statisticsFetch = statisticsFetch;
var customerFetch = function (req) {
return fetch(__assign(__assign({}, req), { url: constants_1.masterUrl.CUSTOMER_SERVER_URL + req.url }));
};
exports.baseFetch = function (req) {
return fetch(__assign({}, req, { url: constants_1.masterUrl.BASE_SERVER_URL + req.url }));
exports.customerFetch = customerFetch;
var baseFetch = function (req) {
return fetch(__assign(__assign({}, req), { url: constants_1.masterUrl.BASE_SERVER_URL + req.url }));
};
exports.operatorFetch = function (req) {
return fetch(__assign({}, req, { url: constants_1.masterUrl.OPERATOR_SERVER_URL + req.url }));
exports.baseFetch = baseFetch;
var operatorFetch = function (req) {
return fetch(__assign(__assign({}, req), { url: constants_1.masterUrl.OPERATOR_SERVER_URL + req.url }));
};
exports.deviceFetch = function (req) {
return fetch(__assign({}, req, { url: constants_1.masterUrl.DEVICE_SERVEL_URL + req.url }));
exports.operatorFetch = operatorFetch;
var deviceFetch = function (req) {
return fetch(__assign(__assign({}, req), { url: constants_1.masterUrl.DEVICE_SERVEL_URL + req.url }));
};
exports.default = fetch;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmV0Y2guanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJmZXRjaC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIj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C5SZXF1ZXN0T3B0aW9uKSA9PlxuICBmZXRjaCh7IC4uLnJlcSwgdXJsOiBtYXN0ZXJVcmwuU1RBVElTVElDU19TRVJWRVJfVVJMICsgcmVxLnVybCB9KTtcbmV4cG9ydCBjb25zdCBjdXN0b21lckZldGNoID0gKHJlcTogd3guUmVxdWVzdE9wdGlvbikgPT5cbiAgZmV0Y2goeyAuLi5yZXEsIHVybDogbWFzdGVyVXJsLkNVU1RPTUVSX1NFUlZFUl9VUkwgKyByZXEudXJsIH0pO1xuZXhwb3J0IGNvbnN0IGJhc2VGZXRjaCA9IChyZXE6IHd4LlJlcXVlc3RPcHRpb24pID0+XG4gIGZldGNoKHsgLi4ucmVxLCB1cmw6IG1hc3RlclVybC5CQVNFX1NFUlZFUl9VUkwgKyByZXEudXJsIH0pO1xuZXhwb3J0IGNvbnN0IG9wZXJhdG9yRmV0Y2ggPSAocmVxOiB3eC5SZXF1ZXN0T3B0aW9uKSA9PlxuICBmZXRjaCh7IC4uLnJlcSwgdXJsOiBtYXN0ZXJVcmwuT1BFUkFUT1JfU0VSVkVSX1VSTCArIHJlcS51cmwgfSk7XG5leHBvcnQgY29uc3QgZGV2aWNlRmV0Y2ggPSAocmVxOiB3eC5SZXF1ZXN0T3B0aW9uKSA9PlxuICBmZXRjaCh7IC4uLnJlcSwgdXJsOiBtYXN0ZXJVcmwuREVWSUNFX1NFUlZFTF9VUkwgKyByZXEudXJsIH0pO1xuZXhwb3J0IGRlZmF1bHQgZmV0Y2g7XG4iXX0=
\ No newline at end of file
exports.deviceFetch = deviceFetch;
exports["default"] = fetch;
import { successCode, logoutode, masterUrl } from '../config/constants';
import { masterUrl, successCode, logoutode } from '../config/constants';
import { IMyApp } from '../app';
const app = getApp<IMyApp>();
......
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.__esModule = true;
var initUserinfo = function () { return ({
cellphone: '',
comment: '',
......@@ -14,7 +14,7 @@ var initUserinfo = function () { return ({
operateId: 0,
operateName: '',
state: '',
updateAt: '',
updateAt: ''
}); };
App({
onLaunch: function () {
......@@ -30,7 +30,7 @@ App({
globalData: {
userInfo: initUserinfo(),
token: '',
userRoles: [],
userRoles: []
},
getToken: function () {
return this.globalData.token;
......@@ -43,6 +43,5 @@ App({
wx.setStorageSync('token', '');
}
catch (error) { }
},
}
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXBwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBYUEsSUFBTSxZQUFZLEdBQUcsY0FBTSxPQUFBLENBQUM7SUFDMUIsU0FBUyxFQUFFLEVBQUU7SUFDYixPQUFPLEVBQUUsRUFBRTtJQUNYLFFBQVEsRUFBRSxFQUFFO0lBQ1osRUFBRSxFQUFFLENBQUM7SUFDTCxhQUFhLEVBQUUsQ0FBQztJQUNoQixhQUFhLEVBQUUsQ0FBQztJQUNoQixhQUFhLEVBQUUsRUFBRTtJQUNqQixZQUFZLEVBQUUsRUFBRTtJQUNoQixVQUFVLEVBQUUsQ0FBQztJQUNiLElBQUksRUFBRSxFQUFFO0lBQ1IsU0FBUyxFQUFFLENBQUM7SUFDWixXQUFXLEVBQUUsRUFBRTtJQUNmLEtBQUssRUFBRSxFQUFFO0lBQ1QsUUFBUSxFQUFFLEVBQUU7Q0FDYixDQUFDLEVBZnlCLENBZXpCLENBQUM7QUFDSCxHQUFHLENBQVM7SUFDVixRQUFRO1FBQ04sT0FBTyxDQUFDLEdBQUcsQ0FBQyxhQUFhLENBQUMsQ0FBQztRQUMzQixJQUFJLENBQUM7WUFDSCxJQUFJLEtBQUssR0FBRyxFQUFFLENBQUMsY0FBYyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1lBQ3ZDLEVBQUUsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUM7Z0JBQ1YsSUFBSSxDQUFDLFVBQVUsQ0FBQyx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cbiAgICB0cnkge1xuICAgICAgd3guc2V0U3RvcmFnZVN5bmMoJ3Rva2VuJywgJycpO1xuICAgIH0gY2F0Y2ggKGVycm9yKSB7fVxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
......@@ -12,7 +12,9 @@
"pages/platformFeeRecord/platformFeeRecord",
"pages/equipment/equipment",
"pages/equipmentReport/equipmentReport",
"pages/feedbackDetail/feedbackDetail"
"pages/feedbackDetail/feedbackDetail",
"pages/recharge/recharge",
"pages/deviceDetail/deviceDetail"
],
"window": {
"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";
Object.defineProperty(exports, "__esModule", { value: true });
exports.__esModule = true;
exports.logoutode = exports.successCode = exports.masterUrl = exports.testUrl = exports.devUrl = void 0;
exports.devUrl = {
SYSTEM_SERVER_URL: 'https://ex-dev-dcxy-system-manage.168cad.top',
STATISTICS_SERVER_URL: 'https://ex-dev-dcxy-statistics-manage.168cad.top',
CUSTOMER_SERVER_URL: 'https://ex-dev-customer-manage.168cad.top',
BASE_SERVER_URL: 'https://ex-dev-dcxy-base-manage.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 = {
SYSTEM_SERVER_URL: 'https://ex-test-dcxy-system-manage.168cad.top',
......@@ -14,7 +15,7 @@ exports.testUrl = {
CUSTOMER_SERVER_URL: 'https://ex-test-customer-manage.168cad.top',
BASE_SERVER_URL: 'https://ex-test-dcxy-base-manage.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 = {
SYSTEM_SERVER_URL: 'https://dcxy-system-manage.dcrym.com',
......@@ -22,8 +23,7 @@ exports.masterUrl = {
CUSTOMER_SERVER_URL: 'https://dcxy-customer-manage.dcrym.com',
BASE_SERVER_URL: 'https://dcxy-base-manage.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.logoutode = -2;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY29uc3RhbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQWEsUUFBQSxNQUFNLEdBQUc7SUFDcEIsaUJBQWlCLEVBQUUsOENBQThDO0lBQ2pFLHFCQUFxQixFQUFFLGtEQUFrRDtJQUN6RSxtQkFBbUIsRUFBRSwyQ0FBMkM7SUFDaEUsZUFBZSxFQUFFLDRDQUE0QztJQUM3RCxtQkFBbUIsRUFBRSxvQ0FBb0M7SUFDekQsaUJBQWlCLEVBQUUsaURBQWlEO0NBQ3JFLENBQUM7QUFDVyxRQUFBLE9BQU8sR0FBRztJQUNyQixpQkFBaUIsRUFBRSwrQ0FBK0M7SUFDbEUscUJBQXFCLEVBQUUsbURBQW1EO0lBQzFFLG1CQUFtQixFQUFFLDRDQUE0QztJQUNqRSxlQUFlLEVBQUUsNkNBQTZDO0lBQzlELG1CQUFtQixFQUFFLHFDQUFxQztJQUMxRCxpQkFBaUIsRUFBRSxrREFBa0Q7Q0FDdEUsQ0FBQztBQUNXLFFBQUEsU0FBUyxHQUFHO0lBQ3ZCLGlCQUFpQixFQUFFLHNDQUFzQztJQUN6RCxxQkFBcUIsRUFBRSwwQ0FBMEM7SUFDakUsbUJBQW1CLEVBQUUsd0NBQXdDO0lBQzdELGVBQWUsRUFBRSxvQ0FBb0M7SUFDckQs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AgICBjbGlja0hhbmRsZShlKSB7XG4gICAgICBsZXQgeyBwYXRoLCBpbmRleCB9ID0gZS5jdXJyZW50VGFyZ2V0LmRhdGFzZXQ7XG4gICAgICBsZXQgbXlFdmVudERldGFpbCA9IHtcbiAgICAgICAgcGF0aCwgaW5kZXgsXG4gICAgICB9IC8vIGRldGFpbOWvueixoe+8jOaPkOS+m+e7meS6i+S7tuebkeWQrOWHveaVsFxuICAgICAgdGhpcy50cmlnZ2VyRXZlbnQoJ2N1c3RvbWV2ZW50JywgbXlFdmVudERldGFpbClcbiAgICB9XG4gIH0sXG59KTtcbiJdfQ==
\ No newline at end of file
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0EsU0FBUyxDQUFDO0lBSVIsVUFBVSxFQUFFO1FBQ1YsT0FBTyxFQUFFLEVBQUUsSUFBSSxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsRUFBRSxFQUFFO1FBQ3BDLFFBQVEsRUFBRSxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLEVBQUUsRUFBRTtLQUNyQztJQUNELFNBQVMsRUFBRTtRQUNULFFBQVEsRUFBRTtZQUVSLElBQUksSUFBSSxDQUFDLElBQUksQ0FBQyxRQUFRLEtBQUssTUFBTSxFQUFFO2dCQUNqQyxJQUFJLENBQUMsT0FBTyxDQUFDO29CQUNYLEtBQUssRUFBRSxDQUFDO2lCQUNULENBQUMsQ0FBQzthQUNKO2lCQUFNLElBQUksSUFBSSxDQUFDLElBQUksQ0FBQyxRQUFRLEtBQUssUUFBUSxFQUFFO2dCQUMxQyxJQUFJLENBQUMsT0FBTyxDQUFDO29CQUNYLEtBQUssRUFBRSxDQUFDO2lCQUNULENBQUMsQ0FBQzthQUNKO1FBQ0gsQ0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hpcy5zZXREYXRhKHtcclxuICAgICAgICAgIGluZGV4OiAxLFxyXG4gICAgICAgIH0pO1xyXG4gICAgICB9XHJcbiAgICB9LFxyXG4gICAgZGV0YWNoZWQ6IGZ1bmN0aW9uICgpIHtcclxuICAgICAgLy8g5Zyo57uE5Lu25a6e5L6L6KKr5LuO6aG16Z2i6IqC54K55qCR56e76Zmk5pe25omn6KGMXHJcbiAgICB9LFxyXG4gIH0sXHJcbiAgLyoqXHJcbiAgICog57uE5Lu255qE5Yid5aeL5pWw5o2uXHJcbiAgICovXHJcbiAgZGF0YToge1xyXG5cclxuICB9LFxyXG5cclxuICAvKipcclxuICAgKiDnu4Tku7bnmoTmlrnms5XliJfooahcclxuICAgKi9cclxuICBtZXRob2RzOiB7XHJcbiAgICBjbGlja0hhbmRsZShlKSB7XHJcbiAgICAgIGxldCB7IHBhdGgsIGluZGV4IH0gPSBlLmN1cnJlbnRUYXJnZXQuZGF0YXNldDtcclxuICAgICAgbGV0IG15RXZlbnREZXRhaWwgPSB7XHJcbiAgICAgICAgcGF0aCwgaW5kZXgsXHJcbiAgICAgIH0gLy8gZGV0YWls5a+56LGh77yM5o+Q5L6b57uZ5LqL5Lu255uR5ZCs5Ye95pWwXHJcbiAgICAgIHRoaXMudHJpZ2dlckV2ZW50KCdjdXN0b21ldmVudCcsIG15RXZlbnREZXRhaWwpXHJcbiAgICB9XHJcbiAgfSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file
{
"name": "miniprogram",
"version": "1.0.0",
"version": "1.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......@@ -9,7 +9,7 @@
"resolved": "https://registry.npmjs.org/@antv/adjust/-/adjust-0.1.1.tgz",
"integrity": "sha512-9FaMOyBlM4AgoRL0b5o0VhEKAYkexBNUrxV8XmpHU/9NBPJONBOB/NZUlQDqxtLItrt91tCfbAuMQmF529UX2Q==",
"requires": {
"@antv/util": "~1.3.1"
"@antv/util": "1.3.1"
},
"dependencies": {
"@antv/util": {
......@@ -17,7 +17,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz",
"integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==",
"requires": {
"@antv/gl-matrix": "^2.7.1"
"@antv/gl-matrix": "2.7.1"
}
}
}
......@@ -27,7 +27,7 @@
"resolved": "https://registry.npmjs.org/@antv/attr/-/attr-0.1.2.tgz",
"integrity": "sha512-QXjP+T2I+pJQcwZx1oCA4tipG43vgeCeKcGGKahlcxb71OBAzjJZm1QbF4frKXcnOqRkxVXtCr70X9TRair3Ew==",
"requires": {
"@antv/util": "~1.3.1"
"@antv/util": "1.3.1"
},
"dependencies": {
"@antv/util": {
......@@ -35,7 +35,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz",
"integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==",
"requires": {
"@antv/gl-matrix": "^2.7.1"
"@antv/gl-matrix": "2.7.1"
}
}
}
......@@ -45,11 +45,11 @@
"resolved": "https://registry.npmjs.org/@antv/f2/-/f2-3.4.2.tgz",
"integrity": "sha512-rji4J9GGQIpzXNv8P4qzUFYnodQTtfAN2ApaY6WfxCQTSYy3EycK2CsjiiWNQ3PpNY1lCVf63E5PutwOZhuPwA==",
"requires": {
"@antv/adjust": "~0.1.1",
"@antv/attr": "~0.1.0",
"@antv/scale": "~0.1.2",
"@antv/util": "~1.2.5",
"hammerjs": "^2.0.8"
"@antv/adjust": "0.1.1",
"@antv/attr": "0.1.2",
"@antv/scale": "0.1.3",
"@antv/util": "1.2.5",
"hammerjs": "2.0.8"
}
},
"@antv/f2-canvas": {
......@@ -57,7 +57,7 @@
"resolved": "https://registry.npmjs.org/@antv/f2-canvas/-/f2-canvas-1.0.5.tgz",
"integrity": "sha512-iE4u1kAcxGaluu1CA6F5R0/dfsCMhubEfOKvR6zRwGC9S9bCil0y6JNCsIkyPZGCQYkAtsg3WDlcu2yneyqUuw==",
"requires": {
"@antv/wx-f2": "^1.1.4"
"@antv/wx-f2": "1.1.4"
}
},
"@antv/gl-matrix": {
......@@ -70,8 +70,8 @@
"resolved": "https://registry.npmjs.org/@antv/scale/-/scale-0.1.3.tgz",
"integrity": "sha512-oknlOg4OUqIh8LygrfQttx+OAnNJm2fQ81si4g8aby1WJJwj/TU1gCr+J3loIpKBtBK4VpP/OzTTqg1Ym67SOQ==",
"requires": {
"@antv/util": "~1.3.1",
"fecha": "~2.3.3"
"@antv/util": "1.3.1",
"fecha": "2.3.3"
},
"dependencies": {
"@antv/util": {
......@@ -79,7 +79,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz",
"integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==",
"requires": {
"@antv/gl-matrix": "^2.7.1"
"@antv/gl-matrix": "2.7.1"
}
}
}
......@@ -89,7 +89,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.2.5.tgz",
"integrity": "sha512-yz1AjXSEjNu9O5kK9pqKq69f/Iliu/IA3XXljUcfrlbUtmUJ0CH1tB5I60vPqfaKaUPhz+/35K+56yqaCsGmqA==",
"requires": {
"@antv/gl-matrix": "^2.7.1"
"@antv/gl-matrix": "2.7.1"
}
},
"@antv/wx-f2": {
......@@ -97,8 +97,8 @@
"resolved": "https://registry.npmjs.org/@antv/wx-f2/-/wx-f2-1.1.4.tgz",
"integrity": "sha512-XaMUwS16ONcpHIEK4yv6wOIxrwSqzhLx4di2kmumQI8xi5vZK1bslJCtjSaxbNS99febpZkZqgwgAmXOOrMYmA==",
"requires": {
"@antv/f2": "^3.3.3",
"wolfy87-eventemitter": "^5.2.4"
"@antv/f2": "3.4.2",
"wolfy87-eventemitter": "5.2.8"
}
},
"blueimp-md5": {
......
......@@ -10,6 +10,6 @@
"license": "ISC",
"dependencies": {
"@antv/f2-canvas": "^1.0.5",
"blueimp-md5": "^2.12.0"
"blueimp-md5": "^2.19.0"
}
}
......@@ -69,4 +69,4 @@ Component({
},
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29uc3VtZUNoYXJ0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiQ29uc3VtZUNoYXJ0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxJQUFJLFlBQVksR0FBRyxJQUFJLENBQUM7QUFDeEIsSUFBSSxLQUFLLEdBQUcsRUFBRSxDQUFDO0FBRWYsbUJBQW1CLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLEVBQUU7SUFDMUMsSUFBTSxJQUFJLEdBQUcsRUFBRSxDQUFDO0lBQ2hCLFlBQVksR0FBRyxJQUFJLEVBQUUsQ0FBQyxLQUFLLENBQUM7UUFDMUIsRUFBRSxFQUFFLE1BQU07UUFDVixLQUFLLE9BQUE7UUFDTCxNQUFNLFFBQUE7S0FDUCxDQUFDLENBQUM7SUFFSCxZQUFZLENBQUMsTUFBTSxDQUFDLElBQUksRUFBRTtRQUN4QixJQUFJLEVBQUU7WUFDSixHQUFHLEVBQUUsQ0FBQztZQUNOLEdBQUcsRUFBRSxFQUFFO1NBQ1I7S0FDRixDQUFDLENBQUM7SUFDSCxZQUFZLENBQUMsT0FBTyxDQUFDO1FBQ25CLGNBQWMsRUFBRSxLQUFLO1FBQ3JCLFVBQVUsRUFBRTtZQUNWLE1BQU0sRUFBRSxDQUFDO1lBQ1QsSUFBSSxFQUFFLFNBQVM7WUFDZixPQUFPLEVBQUUsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDO1NBQ2pCO1FBQ0QsTUFBTSxZQUFDLEVBQUU7WUFDQyxJQUFBLGdCQU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ge1xyXG4gICAgICB0eXBlOiBTdHJpbmcsXHJcbiAgICAgIHZhbHVlOiAnJyxcclxuICAgICAgb2JzZXJ2ZXIobmV3VmFsKSB7XHJcbiAgICAgICAgbW9udGggPSBuZXdWYWw7XHJcbiAgICAgIH0sXHJcbiAgICB9LFxyXG4gIH0sXHJcbiAgZGF0YToge1xyXG4gICAgb3B0czoge1xyXG4gICAgICBvbkluaXQ6IGluaXRDaGFydCxcclxuICAgIH0sXHJcbiAgfSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file
......@@ -69,4 +69,4 @@ Component({
},
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29uc3VtZUNvdW50Q2hhcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJDb25zdW1lQ291bnRDaGFydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0EsSUFBSSxpQkFBaUIsR0FBRyxJQUFJLENBQUM7QUFDN0IsSUFBSSxLQUFLLEdBQUcsRUFBRSxDQUFDO0FBRWYsbUJBQW1CLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLEVBQUU7SUFDMUMsSUFBTSxJQUFJLEdBQUcsRUFBRSxDQUFDO0lBQ2hCLGlCQUFpQixHQUFHLElBQUksRUFBRSxDQUFDLEtBQUssQ0FBQztRQUMvQixFQUFFLEVBQUUsTUFBTTtRQUNWLEtBQUssT0FBQTtRQUNMLE1BQU0sUUFBQTtLQUNQLENBQUMsQ0FBQztJQUVILGlCQUFpQixDQUFDLE1BQU0sQ0FBQyxJQUFJLEVBQUU7UUFDN0IsSUFBSSxFQUFFO1lBQ0osR0FBRyxFQUFFLENBQUM7WUFDTixHQUFHLEVBQUUsRUFBRTtTQUNSO0tBQ0YsQ0FBQyxDQUFDO0lBQ0gsaUJBQWlCLENBQUMsT0FBTyxDQUFDO1FBQ3hCLGNBQWMsRUFBRSxLQUFLO1FBQ3JCL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IDAuNixcclxuICAgIH0pO1xyXG4gIC8vIGNvbnN1bWVDb3VudENoYXJ0LmF4aXMoJ3BheU1lbicsIGZhbHNlKTtcclxuICBjb25zdW1lQ291bnRDaGFydC5yZW5kZXIoKTtcclxuICByZXR1cm4gY29uc3VtZUNvdW50Q2hhcnQ7XHJcbn1cclxuXHJcbkNvbXBvbmVudCh7XHJcbiAgcHJvcGVydGllczoge1xyXG4gICAgZGF0YUxpc3Q6IHtcclxuICAgICAgdHlwZTogQXJyYXksXHJcbiAgICAgIHZhbHVlOiBbXSxcclxuICAgICAgb2JzZXJ2ZXIobmV3VmFsKSB7XHJcbiAgICAgICAgY29uc3VtZUNvdW50Q2hhcnQgJiYgY29uc3VtZUNvdW50Q2hhcnQuY2hhbmdlRGF0YShuZXdWYWwpO1xyXG4gICAgICB9LFxyXG4gICAgfSxcclxuICAgIG1vbnRoOiB7XHJcbiAgICAgIHR5cGU6IFN0cmluZyxcclxuICAgICAgdmFsdWU6ICcnLFxyXG4gICAgICBvYnNlcnZlcihuZXdWYWwpIHtcclxuICAgICAgICBtb250aCA9IG5ld1ZhbDtcclxuICAgICAgfSxcclxuICAgIH0sXHJcbiAgfSxcclxuICBkYXRhOiB7XHJcbiAgICBvcHRzOiB7XHJcbiAgICAgIG9uSW5pdDogaW5pdENoYXJ0LFxyXG4gICAgfSxcclxuICB9LFxyXG59KTtcclxuIl19
\ No newline at end of file
"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++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Component({
properties: {
......@@ -18,7 +21,7 @@ Component({
value: [],
observer: function (newVal) {
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({
list: list,
});
......@@ -30,4 +33,4 @@ Component({
},
methods: {},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXF1aXBtZW50Q2hhcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJFcXVpcG1lbnRDaGFydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFDQSxTQUFTLENBQUM7SUFJUixVQUFVLEVBQUU7UUFDVixNQUFNLEVBQUU7WUFDTixJQUFJLEVBQUUsS0FBSztZQUNYLEtBQUssRUFBRSxDQUFDLFNBQVMsQ0FBQztTQUNuQjtRQUNELFFBQVEsRUFBRTtZQUNSLElBQUksRUFBRSxLQUFLO1lBQ1gsS0FBSyxFQUFFLEVBQUU7WUFDVCxRQUFRLFlBQUMsTUFBTTtnQkFDYixJQUFJLE1BQU0sR0FBRyxJQUFJLENBQUMsSUFBSSxDQUNwQixJQUFJLENBQUMsR0FBRyxPQUFSLElBQUksRUFBUSxNQUFNLENBQUMsR0FBRyxDQUFDLFVBQUEsSUFBSSxJQUFJLE9BQUEsSUFBSSxDQUFDLEtBQUssRUFBVixDQUFVLENBQUMsSUFBSSxHQUFHLENBQ2xELENBQUM7Z0JBQ0YsSUFBSSxJQUFJLEdBQUcsTUFBTSxDQUFDLEdBQUcsQ0FBQyxVQUFBLElBQUksSUFBSSxPQUFBLGNBQ3pCLElBQUksSUFDUCxPQUFPLEVBQUUsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDLElBQUksQ0FBQyxLQUFLLEdBQUcsTUFBTSxDQUFDLEdBQUcsR0FBRyxDQUFDLElBQy9DLEVBSDRCLENBRzVCLENBQUMsQ0FBQztnQkFDSixJQUFJLENBQUMsT0FBTyxDQUFDO29CQUNYLElBQUksTUFBQTtpQkFDT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gfSxcclxuXHJcbiAgLyoqXHJcbiAgICog57uE5Lu255qE5pa55rOV5YiX6KGoXHJcbiAgICovXHJcbiAgbWV0aG9kczoge30sXHJcbn0pO1xyXG4iXX0=
\ No newline at end of file
......@@ -2,6 +2,6 @@
"component": true,
"usingComponents": {
"c-select": "../Select/Select",
"price-and-count": "../components/PriceAndCount/PriceAndCount"
"price-and-count": "../PriceAndCount/PriceAndCount"
}
}
{
"component": true,
"usingComponents": {
"c-select": "../components/Select/Select"
"c-select": "../Select/Select"
}
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.__esModule = true;
var fetch_1 = require("../../../api/fetch");
// pages/components/FeedbackItem/FeedbackItem.ts
Component({
/**
* 组件的属性列表
*/
properties: {
feedbackData: {
type: Object,
......@@ -14,13 +18,19 @@ Component({
customerSex: '',
feedbackContent: '',
id: 0,
state: '',
},
},
state: ''
}
}
},
/**
* 组件的初始数据
*/
data: {
inputValue: '',
inputValue: ''
},
/**
* 组件的方法列表
*/
methods: {
makePhoneCallHandle: function () {
console.log('in makePhoneCallHandle');
......@@ -31,48 +41,47 @@ Component({
},
fail: function () {
console.log('fail');
},
}
});
},
inputHandle: function (e) {
var val = e.detail.value;
this.setData({
inputValue: val,
inputValue: val
});
},
sendFeedback: function () {
var _this = this;
var val = this.data.inputValue;
fetch_1.customerFetch({
(0, fetch_1.customerFetch)({
url: '/feedback/feedback',
method: 'PUT',
data: {
id: this.data.feedbackData.id,
replayContent: val,
state: '3',
},
state: '3'
}
})
.then(function (res) {
wx.showToast({
title: res.msg,
title: res.msg
});
_this.setData({
inputValue: '',
inputValue: ''
});
_this.triggerEvent('refresh', {});
})
.catch(function (err) {
})["catch"](function (err) {
wx.showToast({
title: err.errMsg,
icon: 'none',
icon: 'none'
});
});
},
goDetailPage: function () {
console.log(this.data.feedbackData);
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRmVlZGJhY2tJdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiRmVlZGJhY2tJdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsNENBQW1EO0FBR25ELFNBQVMsQ0FBQztJQUlSLFVBQVUsRUFBRTtRQUNWLFlBQVksRUFBRTtZQUNaLElBQUksRUFBRSxNQUFNO1lBQ1osS0FBSyxFQUFFO2dCQUNMLE1BQU0sRUFBRSxDQUFDO2dCQUNULFFBQVEsRUFBRSxFQUFFO2dCQUNaLFVBQVUsRUFBRSxDQUFDO2dCQUNiLFlBQVksRUFBRSxFQUFFO2dCQUNoQixhQUFhLEVBQUUsRUFBRTtnQkFDakIsV0FBVyxFQUFFLEVBQUU7Z0JBQ2YsZUFBZSxFQUFFLEVBQUU7Z0JBQ25CLEVBQUUsRUFBRSxDQUFDO2dCQUNMLEtBQUssRUFBRSxFQUFFO2FBQ1Y7U0FDRjtLQUNGO0lBS0QsSUFBSSxFQUFFO1FBQ0osVUFBVSxFQUFFLEVBQUU7S0FDZjtJQUtELE9BQU8sRUFBRTtRQUNQLG1CQUFtQjtZQUNqQixPQUFPLENBQUMsR0FBRyxDQUFDLHdCQUF3QixDQUFDLENBQUM7WUFDdEMsRUFBRSxDQUFDLGFBQWEsQ0FBQztnQkFDZixXQUFXLEVBQUUsSUFBSSxDQUFDLElBQUksQ0FBQyxZQUFZLENBQUMsYUFBYTtnQkFDakQsT0FBTyxFQUFFO29CQUNQLE9BQU8sQ0FBQyxHQUFHLENBQUMsU0FBUyxDQUFDLENBQUM7Z0JBQ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ICAgICAgICBzdGF0ZTogJzMnLFxuICAgICAgICB9LFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgdGl0bGU6IHJlcy5tc2csXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgIGlucHV0VmFsdWU6ICcnLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHRoaXMudHJpZ2dlckV2ZW50KCdyZWZyZXNoJywge30pO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goKGVycjogd3guR2VuZXJhbENhbGxiYWNrUmVzdWx0KSA9PiB7XG4gICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgIHRpdGxlOiBlcnIuZXJyTXNnLFxuICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9KTtcbiAgICB9LFxuICAgIGdvRGV0YWlsUGFnZSgpIHtcbiAgICAgIHd4Lm5hdmlnYXRlVG8oe1xuICAgICAgICB1cmw6IGAvcGFnZXMvZmVlZGJhY2tEZXRhaWwvZmVlZGJhY2tEZXRhaWw/Y3VzdG9tZXJOYW1lPSR7dGhpcy5kYXRhLmZlZWRiYWNrRGF0YS5jdXN0b21lck5hbWV9JmN1c3RvbWVyUGhvbmU9JHt0aGlzLmRhdGEuZmVlZGJhY2tEYXRhLmN1c3RvbWVyUGhvbmV9JmlkPSR7dGhpcy5kYXRhLmZlZWRiYWNrRGF0YS5pZH1gLFxuICAgICAgfSk7XG4gICAgfSxcbiAgfSxcbn0pO1xuIl19
\ No newline at end of file
......@@ -82,7 +82,7 @@ Component({
},
goDetailPage() {
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({
},
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTmF2SXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIk5hdkl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFJQSxJQUFNLEdBQUcsR0FBRyxNQUFNLEVBQVUsQ0FBQztBQUM3QixTQUFTLENBQUM7SUFJUixVQUFVLEVBQUU7UUFDVixPQUFPLEVBQUU7WUFDUCxJQUFJLEVBQUUsTUFBTTtZQUNaLEtBQUssRUFBRTtnQkFDTCxJQUFJLEVBQUUsRUFBRTtnQkFDUixJQUFJLEVBQUUsRUFBRTtnQkFDUixHQUFHLEVBQUUsRUFBRTtnQkFDUCxRQUFRLEVBQUUsS0FBSzthQUNoQjtTQUNGO0tBQ0Y7SUFLRCxJQUFJLEVBQUUsRUFBRTtJQUtSLE9BQU8sRUFBRTtRQUNQLFdBQVc7WUFDVCxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxRQUFRLElBQUksSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsSUFBSSxLQUFLLE1BQU0sQ0FBQyxDQUFDLENBQUM7Z0JBQ3BFLEdBQUcsQ0FBQyxhQUFhLEVBQUUsQ0FBQztnQkFDcEIsRUFBRSxDQUFDLFVBQVUsQ0FBQztvQkFDWixHQUFHLEVBQUUsSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsR0FBRztpQkFDM0IsQ0FBQyxDQUFDO1lBQ0wsQ0FBQztZQUFDLElBQUksQ0FBQyxDQUFDO2dCQUNOLEVBQUUsQ0FBQyxVQUFVLENBQUM7b0JBQ1osR0F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tcclxuICAgICAgICB3eC5uYXZpZ2F0ZVRvKHtcclxuICAgICAgICAgIHVybDogdGhpcy5kYXRhLm5hdkRhdGEudXJsLFxyXG4gICAgICAgIH0pO1xyXG4gICAgICB9XHJcbiAgICB9LFxyXG4gIH0sXHJcbn0pO1xyXG4iXX0=
\ No newline at end of file
......@@ -86,10 +86,6 @@ Component({
observer(newVal) {
if (platforFeeChart) {
platforFeeChart.changeData(newVal);
} else {
setTimeout(() => {
platforFeeChart.changeData(newVal);
}, 1000);
}
if (platforFeeChart) {
let index = findMaxIndex(newVal, 'totalMoney');
......@@ -117,13 +113,13 @@ Component({
methods: {
clickHandle(e) {
console.log(e);
const { touches } = e.detail;
const { changedTouches } = e.detail;
let x = 0;
let y = 0;
if (touches && touches.length) {
x = touches[0].x;
y = touches[0].y;
if (changedTouches && changedTouches.length) {
x = changedTouches[0].x;
y = changedTouches[0].y;
}
const objArr = platforFeeChart.getSnapRecords({ x, y });
if (objArr.length) this.triggerEvent('selectedData', objArr[0]._origin);
......
<!-- pages/components/PlatformFeeChart/PlatformFeeChart.wxml -->
<ff-canvas id="PlatformFeeChart" canvas-id="PlatformFeeChart" opts="{{ opts }}" bindcanvastouch="clickHandle" />
\ No newline at end of file
<ff-canvas id="PlatformFeeChart" canvas-id="PlatformFeeChart" opts="{{ opts }}" bindcanvastouchend="clickHandle" />
\ No newline at end of file
......@@ -30,4 +30,4 @@ Component({
},
methods: {},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUHJpY2VBbmRDb3VudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIlByaWNlQW5kQ291bnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw0Q0FBa0Q7QUFHbEQsU0FBUyxDQUFDO0lBSVIsVUFBVSxFQUFFO1FBQ1YsT0FBTyxFQUFFO1lBQ1AsSUFBSSxFQUFFLE1BQU07WUFDWixLQUFLLEVB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ZhbHVlOiB7XG4gICAgICAgIHRpdGxlOiAnJyxcbiAgICAgICAgbnVtYmVyVHlwZTogJycsXG4gICAgICAgIGNvdW50OiAwLFxuICAgICAgfSxcbiAgICAgIG9ic2VydmVyOiBmdW5jdGlvbihuZXdWYWwpIHtcbiAgICAgICAgY29uc3QgeyBjb3VudCwgbnVtYmVyVHlwZSB9ID0gbmV3VmFsO1xuICAgICAgICBsZXQgZm9ybWF0Q291bnQgPSBjb3VudC50b1N0cmluZygpO1xuICAgICAgICBpZiAobnVtYmVyVHlwZSA9PT0gJ3ByaWNlJykge1xuICAgICAgICAgIGZvcm1hdENvdW50ID0gZm9ybWF0UHJpY2UoY291bnQpO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIGZvcm1hdENvdW50ID0gZm9ybWF0UHJpY2UoY291bnQpLnNwbGl0KCcuJylbMF07XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICBmb3JtYXRDb3VudCxcbiAgICAgICAgfSk7XG4gICAgICB9LFxuICAgIH0sXG4gIH0sXG4gIC8qKlxuICAgKiDnu4Tku7bnmoTliJ3lp4vmlbDmja5cbiAgICovXG4gIGRhdGE6IHtcbiAgICBmb3JtYXRDb3VudDogJzAnLFxuICB9LFxuXG4gIC8qKlxuICAgKiDnu4Tku7bnmoTmlrnms5XliJfooahcbiAgICovXG4gIG1ldGhvZHM6IHt9LFxufSk7XG4iXX0=
\ No newline at end of file
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUHJpY2VBbmRDb3VudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIlByaWNlQW5kQ291bnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw0Q0FBa0Q7QUFHbEQsU0FBUyxDQUFDO0lBSVIsVUFBVSxFQUFFO1FBQ1YsT0FBTyxFQUFFO1lBQ1AsSUFBSSxFQUFFLE1B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jdCxcclxuICAgICAgdmFsdWU6IHtcclxuICAgICAgICB0aXRsZTogJycsXHJcbiAgICAgICAgbnVtYmVyVHlwZTogJycsXHJcbiAgICAgICAgY291bnQ6IDAsXHJcbiAgICAgIH0sXHJcbiAgICAgIG9ic2VydmVyOiBmdW5jdGlvbihuZXdWYWwpIHtcclxuICAgICAgICBjb25zdCB7IGNvdW50LCBudW1iZXJUeXBlIH0gPSBuZXdWYWw7XHJcbiAgICAgICAgbGV0IGZvcm1hdENvdW50ID0gY291bnQudG9TdHJpbmcoKTtcclxuICAgICAgICBpZiAobnVtYmVyVHlwZSA9PT0gJ3ByaWNlJykge1xyXG4gICAgICAgICAgZm9ybWF0Q291bnQgPSBmb3JtYXRQcmljZShjb3VudCk7XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgIGZvcm1hdENvdW50ID0gZm9ybWF0UHJpY2UoY291bnQpLnNwbGl0KCcuJylbMF07XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHRoaXMuc2V0RGF0YSh7XHJcbiAgICAgICAgICBmb3JtYXRDb3VudCxcclxuICAgICAgICB9KTtcclxuICAgICAgfSxcclxuICAgIH0sXHJcbiAgfSxcclxuICAvKipcclxuICAgKiDnu4Tku7bnmoTliJ3lp4vmlbDmja5cclxuICAgKi9cclxuICBkYXRhOiB7XHJcbiAgICBmb3JtYXRDb3VudDogJzAnLFxyXG4gIH0sXHJcblxyXG4gIC8qKlxyXG4gICAqIOe7hOS7tueahOaWueazleWIl+ihqFxyXG4gICAqL1xyXG4gIG1ldGhvZHM6IHt9LFxyXG59KTtcclxuIl19
\ No newline at end of file
......@@ -69,4 +69,4 @@ Component({
},
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVjaGFyZ2VDaGFydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIlJlY2hhcmdlQ2hhcnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI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4gICAgLmFyZWEoKVxuICAgIC5wb3NpdGlvbignZGF5cypyZWNoYXJnZU1vbmV5JylcbiAgICAuY29sb3IoJ2woOTApIDA6IzY4OTVmZSAxOiNmZmYnKVxuICAgIC5zaGFwZSgnc21vb3RoJylcbiAgICAuc3R5bGUoe1xuICAgICAgZmlsbE9wYWNpdHk6IDAuNixcbiAgICB9KTtcbiAgLy8gcmVjaGFyZ2VDaGFydC5heGlzKCdyZWNoYXJnZU1vbmV5JywgZmFsc2UpO1xuICByZWNoYXJnZUNoYXJ0LnJlbmRlcigpO1xuICByZXR1cm4gcmVjaGFyZ2VDaGFydDtcbn1cblxuQ29tcG9uZW50KHtcbiAgcHJvcGVydGllczoge1xuICAgIGRhdGFMaXN0OiB7XG4gICAgICB0eXBlOiBBcnJheSxcbiAgICAgIHZhbHVlOiBbXSxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICByZWNoYXJnZUNoYXJ0ICYmIHJlY2hhcmdlQ2hhcnQuY2hhbmdlRGF0YShuZXdWYWwpO1xuICAgICAgfSxcbiAgICB9LFxuICAgIG1vbnRoOiB7XG4gICAgICB0eXBlOiBTdHJpbmcsXG4gICAgICB2YWx1ZTogJycsXG4gICAgICBvYnNlcnZlcihuZXdWYWwpIHtcbiAgICAgICAgbW9udGggPSBuZXdWYWw7XG4gICAgICB9LFxuICAgIH0sXG4gIH0sXG4gIGRhdGE6IHtcbiAgICBvcHRzOiB7XG4gICAgICBvbkluaXQ6IGluaXRDaGFydCxcbiAgICB9LFxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVjaGFyZ2VDaGFydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIlJlY2hhcmdlQ2hhcnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQUksYUFBYSxHQUFHLElBQUksQ0FBQztBQUN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B2YWx1ZTogJ2tleScsXHJcbiAgICB9LFxyXG4gICAgbW9kZToge1xyXG4gICAgICB0eXBlOiBTdHJpbmcsXHJcbiAgICAgIHZhbHVlOiAnc2VsZWN0b3InLFxyXG4gICAgfSxcclxuICAgIGZpZWxkczoge1xyXG4gICAgICB0eXBlOiBTdHJpbmcsXHJcbiAgICAgIHZhbHVlOiAnZGF5JyxcclxuICAgIH0sXHJcbiAgICB2YWx1ZToge1xyXG4gICAgICB0eXBlOiBTdHJpbmcsXHJcbiAgICAgIHZhbHVlOiAnJyxcclxuICAgICAgb2JzZXJ2ZXIobmV3VmFsKSB7XHJcbiAgICAgICAgY29uc29sZS5sb2coJ2luIHNlbGVjdCBvYicsIG5ld1ZhbCk7XHJcbiAgICAgICAgdGhpcy5zZXREYXRhKHsgc2VsZWN0ZWQ6IG5ld1ZhbCB9KTtcclxuICAgICAgfSxcclxuICAgIH0sXHJcbiAgfSxcclxuICBkYXRhOiB7XHJcbiAgICBzZWxlY3RlZDogJycsXHJcbiAgfSxcclxuICBtZXRob2RzOiB7XHJcbiAgICBiaW5kUGlja2VyQ2hhbmdlKGUpIHtcclxuICAgICAgY29uc3QgeyB2YWx1ZSB9ID0gZS5kZXRhaWw7XHJcbiAgICAgIGNvbnNvbGUubG9nKHZhbHVlKTtcclxuICAgICAgdGhpcy5zZXREYXRhISh7XHJcbiAgICAgICAgc2VsZWN0ZWQ6IHZhbHVlLFxyXG4gICAgICB9KTtcclxuICAgICAgdGhpcy50cmlnZ2VyRXZlbnQoJ2NoYW5nZScsIHsgdmFsdWUgfSk7XHJcbiAgICB9LFxyXG4gIH0sXHJcbn0pO1xyXG4iXX0=
\ No newline at end of file
......@@ -25,4 +25,4 @@ Component({
},
methods: {},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VydmljZUNvdW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiU2VydmljZUNvdW50LnRzIl0sIm5hbW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OiBmdW5jdGlvbihuZXdWYWwpIHtcbiAgICAgICAgY29uc3QgeyBwcmljZSB9ID0gbmV3VmFsO1xuICAgICAgICBsZXQgZm9ybWF0Q291bnQgPSBmb3JtYXRQcmljZShwcmljZSk7XG4gICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgZm9ybWF0Q291bnQsXG4gICAgICAgIH0pO1xuICAgICAgfSxcbiAgICB9LFxuICB9LFxuICAvKipcbiAgICog57uE5Lu255qE5Yid5aeL5pWw5o2uXG4gICAqL1xuICBkYXRhOiB7XG4gICAgZm9ybWF0Q291bnQ6ICcwLjAwJyxcbiAgfSxcblxuICAvKipcbiAgICog57uE5Lu255qE5pa55rOV5YiX6KGoXG4gICAqL1xuICBtZXRob2RzOiB7fSxcbn0pO1xuIl19
\ No newline at end of file
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VydmljZUNvdW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiU2VydmljZUNvdW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsNENBQWtEO0FBR2xELFNBQVMsQ0FBQztJQUlSLFVBQVUsRUFBRTtRQUNWLE9BQU8sRUFBRTtZQUNQLElBQUksRUFBRSxNQUFNO1lBQ1osS0FBSyxFQUFFO2dCQUNMLEtBQUssRUFBRSxFQUFFO2dCQUNULFVBQVUsRUFBRSxFQUFFO2dCQUNkLEtBQUssRUFBRSxDQUFDO2dCQUNSLEtBQUssRUFBRSxDQUFDO2FBQ1Q7WUFDRCxRQUFRLEVBQUUsVUFBUyxNQUFNO2dCQUNmLElBQUEsS0FBSyxHQUFLLE1BQU0sTUFBWCxDQUFZO2dCQUN6QixJQUFJLFdBQVcsR0FBRyxrQkFBVyxDQUFDLEtBQUssQ0FBQyxDQUFDO2dCQUNyQyxJQUFJLENBQUMsT0FBTyxDQUFDO29CQUNYLFdBQVcsYUFBQTtpQkFDWixDQUF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ICAgKi9cclxuICBtZXRob2RzOiB7fSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file
"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++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
var util_1 = require("../../../utils/util");
......@@ -16,7 +19,7 @@ Component({
value: [],
observer: function (newVal) {
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({
list: list,
});
......@@ -28,4 +31,4 @@ Component({
},
methods: {},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VydmljZVR5cGVDaGFydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIlNlcnZpY2VUeXBlQ2hhcnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDRDQUFrRDtBQUdsRCxTQUFTLENBQUM7SUFJUixVQUFVLEVBQUU7UUFDVixRQUFRLEVBQUU7WUFDUixJQUFJLEVBQUUsS0FBSztZQUNYLEtBQUssRUFBRSxFQUFFO1lBQ1QsUUFBUSxZQUFDLE1BQU07Z0JBQ2IsSUFBSSxNQUFNLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FDcEIsSUFBSSxDQUFDLEdBQUcsT0FBUixJQUFJLEVBQVEsTUFBTSxDQUFDLEdBQUcsQ0FBQ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FwKGl0ZW0gPT4gaXRlbS5wYXlhYmxlTW9uZXkpKSAvIDAuOSxcbiAgICAgICAgKTtcbiAgICAgICAgbGV0IGxpc3QgPSBuZXdWYWwubWFwKGl0ZW0gPT4gKHtcbiAgICAgICAgICAuLi5pdGVtLFxuICAgICAgICAgIHBheWFibGVNb25leTogZm9ybWF0UHJpY2UoaXRlbS5wYXlhYmxlTW9uZXkpLFxuICAgICAgICAgIHByZWNlbnQ6IE1hdGguY2VpbCgoaXRlbS5wYXlhYmxlTW9uZXkgLyBtYXhudW0pICogMTAwKSxcbiAgICAgICAgfSkpO1xuICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgIGxpc3QsXG4gICAgICAgIH0pO1xuICAgICAgfSxcbiAgICB9LFxuICB9LFxuXG4gIC8qKlxuICAgKiDnu4Tku7bnmoTliJ3lp4vmlbDmja5cbiAgICovXG4gIGRhdGE6IHtcbiAgICBsaXN0OiBbXSxcbiAgfSxcblxuICAvKipcbiAgICog57uE5Lu255qE5pa55rOV5YiX6KGoXG4gICAqL1xuICBtZXRob2RzOiB7fSxcbn0pO1xuIl19
\ No newline at end of file
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VydmljZVR5cGVDaGFydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIlNlcnZpY2VUeXBlQ2hhcnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUFBLDRDQUFrRDtBQUdsRCxTQUFTLENBQUM7SUFJUixVQUFVLEVBQUU7UUFDVixRQUFRLEVBQUU7WUFDUixJQUFJLEVBQUUsS0FBSztZQUNYLEtBQUssRUFBRSxFQUFFO1lBQ1QsUUFBUSxZQUFDLE1BQU07Z0JBQ2IsSUFBSSxNQUFNLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FDcEIsSUFBSSxDQUFDLEdBQUcsT0FBUixJQUFJLEVBQVEsT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0gPSBNYXRoLmNlaWwoXHJcbiAgICAgICAgICBNYXRoLm1heCguLi5uZXdWYWwubWFwKGl0ZW0gPT4gaXRlbS5wYXlhYmxlTW9uZXkpKSAvIDAuOSxcclxuICAgICAgICApO1xyXG4gICAgICAgIGxldCBsaXN0ID0gbmV3VmFsLm1hcChpdGVtID0+ICh7XHJcbiAgICAgICAgICAuLi5pdGVtLFxyXG4gICAgICAgICAgcGF5YWJsZU1vbmV5OiBmb3JtYXRQcmljZShpdGVtLnBheWFibGVNb25leSksXHJcbiAgICAgICAgICBwcmVjZW50OiBNYXRoLmNlaWwoKGl0ZW0ucGF5YWJsZU1vbmV5IC8gbWF4bnVtKSAqIDEwMCksXHJcbiAgICAgICAgfSkpO1xyXG4gICAgICAgIHRoaXMuc2V0RGF0YSh7XHJcbiAgICAgICAgICBsaXN0LFxyXG4gICAgICAgIH0pO1xyXG4gICAgICB9LFxyXG4gICAgfSxcclxuICB9LFxyXG5cclxuICAvKipcclxuICAgKiDnu4Tku7bnmoTliJ3lp4vmlbDmja5cclxuICAgKi9cclxuICBkYXRhOiB7XHJcbiAgICBsaXN0OiBbXSxcclxuICB9LFxyXG5cclxuICAvKipcclxuICAgKiDnu4Tku7bnmoTmlrnms5XliJfooahcclxuICAgKi9cclxuICBtZXRob2RzOiB7fSxcclxufSk7XHJcbiJdfQ==
\ No newline at end of file
......@@ -69,4 +69,4 @@ Component({
},
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVXNlckFjdGl2aXR5Q2hhcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJVc2VyQWN0aXZpdHlDaGFydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0EsSUFBSSxpQkFBaUIsR0FBRyxJQUFJLENBQUM7QUFDN0IsSUFBSSxLQUFLLEdBQUcsRUFBRSxDQUFDO0FBRWYsbUJBQW1CLE1BQU0sRUFBRSxLQUFLLEVBQUU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N0aXZpdHlDaGFydFxuICAgIC5hcmVhKClcbiAgICAucG9zaXRpb24oJ2RheXMqY291bnQnKVxuICAgIC5jb2xvcignbCg5MCkgMDojNjg5NWZlIDE6I2ZmZicpXG4gICAgLnNoYXBlKCdzbW9vdGgnKVxuICAgIC5zdHlsZSh7XG4gICAgICBmaWxsT3BhY2l0eTogMC42LFxuICAgIH0pO1xuICAvLyB1c2VyQWN0aXZpdHlDaGFydC5heGlzKCdjb3VudCcsIGZhbHNlKTtcbiAgdXNlckFjdGl2aXR5Q2hhcnQucmVuZGVyKCk7XG4gIHJldHVybiB1c2VyQWN0aXZpdHlDaGFydDtcbn1cblxuQ29tcG9uZW50KHtcbiAgcHJvcGVydGllczoge1xuICAgIGRhdGFMaXN0OiB7XG4gICAgICB0eXBlOiBBcnJheSxcbiAgICAgIHZhbHVlOiBbXSxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICB1c2VyQWN0aXZpdHlDaGFydCAmJiB1c2VyQWN0aXZpdHlDaGFydC5jaGFuZ2VEYXRhKG5ld1ZhbCk7XG4gICAgICB9LFxuICAgIH0sXG4gICAgbW9udGg6IHtcbiAgICAgIHR5cGU6IFN0cmluZyxcbiAgICAgIHZhbHVlOiAnJyxcbiAgICAgIG9ic2VydmVyKG5ld1ZhbCkge1xuICAgICAgICBtb250aCA9IG5ld1ZhbDtcbiAgICAgIH0sXG4gICAgfSxcbiAgfSxcbiAgZGF0YToge1xuICAgIG9wdHM6IHtcbiAgICAgIG9uSW5pdDogaW5pdENoYXJ0LFxuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ==
\ No newline at end of file
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVXNlckFjdGl2aXR5Q2hhcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJVc2VyQWN0aXZpdHlDaGFydC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0EsSUFB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BcnJheSxcclxuICAgICAgdmFsdWU6IFtdLFxyXG4gICAgICBvYnNlcnZlcihuZXdWYWwpIHtcclxuICAgICAgICB1c2VyR3JvdXRoQ2hhcnQgJiYgdXNlckdyb3V0aENoYXJ0LmNoYW5nZURhdGEobmV3VmFsKTtcclxuICAgICAgfSxcclxuICAgIH0sXHJcbiAgICBtb250aDoge1xyXG4gICAgICB0eXBlOiBTdHJpbmcsXHJcbiAgICAgIHZhbHVlOiAnJyxcclxuICAgICAgb2JzZXJ2ZXIobmV3VmFsKSB7XHJcbiAgICAgICAgbW9udGggPSBuZXdWYWw7XHJcbiAgICAgIH0sXHJcbiAgICB9LFxyXG4gIH0sXHJcbiAgZGF0YToge1xyXG4gICAgb3B0czoge1xyXG4gICAgICBvbkluaXQ6IGluaXRDaGFydCxcclxuICAgIH0sXHJcbiAgfSxcclxufSk7XHJcblxyXG4iXX0=
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.__esModule = true;
var fetch_1 = require("../../../api/fetch");
// pages/components/feedbackDetailItem/feedbackDetailItem.js
Component({
/**
* 组件的属性列表
*/
properties: {
itemData: { type: Object, value: {} },
shortcuts: { type: Array, value: [] }
},
/**
* 组件的初始数据
*/
data: {
inputValue: '',
autoHeight: true,
r1: true,
cb: false,
index: -1,
isHidden: true
},
/**
* 组件的方法列表
*/
methods: {
inputHandle: function (e) {
var val = e.detail.value;
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) {
var _this = this;
var id = e.currentTarget.dataset.id;
var val = this.data.inputValue;
if (val.trim() == "")
val = "您的反馈客服已处理,谢谢!";
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',
method: 'PUT',
data: {
id: id,
isAddShortcut: _this.data.cb ? 1 : 0,
replayContent: val,
state: '3',
},
state: _this.data.r1 ? '3' : '2'
}
})
.then(function (res) {
wx.showToast({
title: res.msg,
icon: 'none',
duration: 2000
});
_this.setData({
inputValue: '',
inputValue: ''
});
_this.triggerEvent('refresh', {});
})
.catch(function (err) {
// 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'
});
});
}
}
}
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVlZGJhY2tEZXRhaWxJdGVtLmpzIiwic291c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nB1dFZhbHVlOiB2YWwsXG4gICAgICB9KTtcbiAgICB9LFxuXG4gICAgc2VuZEZlZWRiYWNrKGUpIHtcbiAgICAgIGNvbnN0IHsgaWQgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xuICAgICAgY29uc3QgdmFsID0gdGhpcy5kYXRhLmlucHV0VmFsdWU7XG4gICAgICBjb25zb2xlLmxvZyh2YWwsIGlkKTtcblxuICAgICAgY3VzdG9tZXJGZXRjaCh7XG4gICAgICAgIHVybDogJy9mZWVkYmFjay9mZWVkYmFjaycsXG4gICAgICAgIG1ldGhvZDogJ1BVVCcsXG4gICAgICAgIGRhdGE6IHtcbiAgICAgICAgICBpZDogaWQsXG4gICAgICAgICAgcmVwbGF5Q29udGVudDogdmFsLFxuICAgICAgICAgIHN0YXRlOiAnMycsXG4gICAgICAgIH0sXG4gICAgICB9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICB0aXRsZTogcmVzLm1zZyxcbiAgICAgICAgICB9KTtcbiAgICAgICAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgICAgICAgIGlucHV0VmFsdWU6ICcnLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHRoaXMudHJpZ2dlckV2ZW50KCdyZWZyZXNoJywge30pO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goKGVycjogd3guR2VuZXJhbENhbGxiYWNrUmVzdWx0KSA9PiB7XG4gICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgIHRpdGxlOiBlcnIuZXJyTXNnLFxuICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9KTtcbiAgICB9LFxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
......@@ -8,54 +8,17 @@ Component({
properties: {
itemData: { type: Object, value: {} },
},
/**
* 组件的初始数据
*/
data: {
inputValue: '',
autoHeight: true,
},
/**
* 组件的方法列表
*/
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 -->
<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-itemTime">{{itemData.createAt}}</view>
<view class="feedbackDetail-itemBox">
<input class="feedbackDetail-itemInput" type="text" value="{{inputValue}}" bindinput="inputHandle" />
</view>
</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 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>
\ No newline at end of file
/* pages/components/feedbackDetailItem/feedbackDetailItem.wxss */
.feedbackDetail-item {
border-bottom: 8rpx solid #efefef;
padding: 40rpx;
/* border-bottom: 8rpx solid #efefef; */
padding: 10rpx 20rpx;
}
.feedbackDetail-itemTitle {
font-size: 32rpx;
color: #333;
margin-bottom: 24rpx;
margin-bottom: 6rpx;
}
.feedbackDetail-itemTime {
font-size: 24rpx;
......@@ -22,6 +22,34 @@
border-radius: 20rpx;
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 {
font-size: 32rpx;
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
......@@ -11,6 +11,9 @@ Page({
type: 0,
timeType: 0,
totalAmount: [],
menuCode:false,
menuCode1:false,
menuCode2:false,
},
/**
......@@ -18,6 +21,20 @@ Page({
*/
onLoad: function(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 eventChannel = this.getOpenerEventChannel();
eventChannel.on('acceptDataFromOpenerPage', res => {
......@@ -44,6 +61,21 @@ Page({
});
// 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() {
deviceFetch({
url: '/device/warning/dict/warningLevel',
......
......@@ -2,15 +2,16 @@
<view class="equipmentReport">
<view class="equipmentReport-title">{{areaName}}</view>
<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>
<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>
<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>
......
......@@ -22,6 +22,9 @@ Page({
this.fetchList(1);
this.fetchList(2);
},
onShow(){
this.initData();
},
toggleList(e) {
const { tabindex } = e.currentTarget.dataset;
if (tabindex !== this.data.tabIndex) {
......
......@@ -10,13 +10,21 @@ Page({
customerPhone: '',
id: '',
dataList: [],
shortCuts:[],
areaId:'',
r1: true,
cb: false,
index: -1,
isHidden:true,
inputValue:""
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function(options) {
const { customerName, customerPhone, id } = options;
console.log("options",options)
const { customerName, customerPhone, id,areaId } = options;
wx.setNavigationBarTitle({
title: `${customerName}-${customerPhone}`,
});
......@@ -24,14 +32,187 @@ Page({
customerName,
customerPhone,
id,
areaId
});
this.fetchList();
},
fetchList() {
wx.showLoading({
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({
url: `/feedback/get/feedback/${this.data.id}`,
})
......@@ -47,7 +228,6 @@ Page({
console.log(err);
});
},
// refreshList() {
// this.fetchList({
// pageNum: 1,
......
<!-- 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}}">
<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>
<view wx:else style="padding:50rpx;text-align:center">暂无数据</view>
</view>
\ No newline at end of file
</scroll-view>
<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 */
.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
import { IMyApp } from '../../app';
import { systemFetch } from '../../api/fetch';
import { systemFetch,deviceFetch } from '../../api/fetch';
type Menu = {
pagePath: string;
......@@ -40,6 +40,19 @@ Page({
selected: list.length ? list[0].code : '',
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() {
if (wx.hideHomeButton) {
......
//index.js
import { systemFetch } from '../../api/fetch';
const md5 = require('blueimp-md5');
const md5 = require('../../utils/md5');
//获取应用实例
import { IMyApp } from '../../app';
const app = getApp<IMyApp>();
......
{
"navigationBarTitleText": "服务费明细",
"enablePullDownRefresh":true,
"backgroundTextStyle":"dark",
"usingComponents": {
"c-select": "../components/Select/Select",
"platform-fee-chart": "../components/PlatformFeeChart/PlatformFeeChart"
......
import { statisticsFetch } from '../../api/fetch';
import { deviceFetch, baseFetch } from '../../api/fetch';
function findMaxIndex(list, key) {
if (!list.length) return -1;
......@@ -10,8 +10,6 @@ function findMaxIndex(list, key) {
}
return maxIndex;
}
// miniprogram/pages/platformFee/platformFee.js
Page({
/**
* 页面的初始数据
......@@ -20,59 +18,180 @@ Page({
areaCount: 0,
year: '',
dataList: [],
chargeArr: [],
recordArr: [],
operators:[],
selected: {
areaId: undefined,
areaName: '',
month: '',
totalMoney: 0,
},
total:0,
timeType: 0,
pageNum:1,
pageSize:10
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function(options) {
let year = new Date().getFullYear();
console.log(year);
this.fetchList({
year,
});
this.setData!({
year,
});
onLoad: function (options) {
this.fetchList();
},
onPullDownRefresh(){
if(this.data.timeType==0){
wx.showLoading({title:'刷新中...'});
this.fetchList();
setTimeout(()=>{
wx.hideLoading();
wx.stopPullDownRefresh();
},1500);
}else{
wx.stopPullDownRefresh();
}
},
fetchList(entity) {
return statisticsFetch({
url: '/dcxy/platformFee/operate/areas/monthly',
data: entity,
onReachBottom(){
if(this.data.timeType!=0){
if(this.data.timeType==1){
if(this.data.chargeArr.length==this.data.total){
wx.showToast({
title:'列表已加载完',
icon:'none'
})
.then(res => {
const { areaCount, platformFees } = res;
let datalist = new Array(12)
.fill({
totalMoney: 0,
return;
}else{
let pageNum = this.data.pageNum;
this.getRechargeList({
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!({
areaCount,
dataList: datalist,
timeType: timetype,
});
//是否需要请求啥
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) {
let index = findMaxIndex(datalist, 'totalMoney');
let item = datalist[index];
} else if (timetype == 2) {
let list = this.data.recordArr;
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!({
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 => {
console.log(err);
......
<!-- miniprogram/pages/platformFee/platformFee.wxml -->
<view class="platformFee">
<view class="platformFee-filter">
<view class="platformFee-area">
<c-select mode="date" fields="year" value="{{year}}" bindchange="yearChangeHandle" />
</view>
<view class="platformFee-time" bind:tap="goRecordPage">缴费记录</view>
</view>
<view class="platformFee-block">
<view class="platformFee-title">
<view class="platformFee-title-color user"></view>
<view class="platformFee-title-text">共计{{areaCount}}个校区</view>
</view>
<view class="platformFee-canvas">
<!-- <canvas class="platformFee-canvas" canvas-id="platformFee-canvas" bindtouchstart="selectedData" /> -->
<platform-fee-chart dataList="{{dataList}}" bind:selectedData="selectedData" />
</view>
</view>
<view class="platformFee-block" wx:if="{{selected.month}}">
<view class="platformFee-title">
<view class="platformFee-title-color user"></view>
<view class="platformFee-title-text">各校区服务费({{selected.month}}月)</view>
<view class="platformFee-title-sum">合计:{{selected.totalMoney}}元</view>
</view>
<view class="platformFee-areaList">
<view class="platformFee-areaItem" wx:for="{{selected.areaPlatformFees}}">
<view class="platformFee-areaItem-index">{{index + 1}}</view>
<view class="platformFee-areaItem-name">{{item.areaName}}</view>
<view class="platformFee-areaItem-price">{{item.totalMoney}}元</view>
</view>
<!-- <view class="platformFee-areaItem">
<view class="platformFee-areaItem-index">2</view>
<view class="platformFee-areaItem-name">多彩温江</view>
<view class="platformFee-areaItem-price">1,000.00</view>
<view class="setFirst">
<view
class="title-type-item"
data-timeType="{{0}}"
bindtap="changeTimeType"
>
<view class="radio_item">
<view class="radio-box {{timeType === 0?'checked':''}}"></view>
账户信息
</view>
</view>
<view
class="title-type-item"
data-timeType="{{1}}"
bindtap="changeTimeType"
>
<view class="radio_item">
<view class="radio-box {{timeType === 1?'checked':''}}"></view>
充值记录
</view>
</view>
<view
class="title-type-item"
data-timeType="{{2}}"
bindtap="changeTimeType"
>
<view class="radio_item">
<view class="radio-box {{timeType === 2?'checked':''}}"></view>
缴费记录
</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 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 wx:if="{{recordArr.length==0}}" class="no_data">当前没有缴费记录数据</view>
</view>
</view>
......@@ -19,9 +19,204 @@
justify-content: space-between;
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 {
width: 250rpx;
}
.title-type-item {
font-size: 28rpx;
margin-left: 12rpx;
}
.platformFee-time {
color: #6a92ff;
font-size: 28rpx;
......
"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 });
var fetch_1 = require("../../api/fetch");
Page({
......@@ -35,7 +42,7 @@ Page({
.then(function (res) {
if (res.data && res.data.length) {
_this.setData({
dataList: _this.data.dataList.concat(res.data),
dataList: __spreadArrays(_this.data.dataList, res.data),
pageNum: _this.data.pageNum + 1,
});
}
......@@ -45,4 +52,4 @@ Page({
});
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGxhdGZvcm1GZWVSZWNvcmQuan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B0aGlzLmZldGNoTGlzdCh7XG4gICAgICBwYWdlTnVtOiB0aGlzLmRhdGEucGFnZU51bSxcbiAgICAgIHBhZ2VTaXplOiB0aGlzLmRhdGEucGFnZVNpemUsXG4gICAgfSkudGhlbihyZXMgPT4ge1xuICAgICAgaWYgKHJlcy5kYXRhICYmIHJlcy5kYXRhLmxlbmd0aCkge1xuICAgICAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgICAgICBkYXRhTGlzdDogcmVzLmRhdGEsXG4gICAgICAgIH0pO1xuICAgICAgfVxuICAgIH0pO1xuICB9LFxuICBmZXRjaExpc3QoZW50aXR5KSB7XG4gICAgcmV0dXJuIG9wZXJhdG9yRmV0Y2goe1xuICAgICAgdXJsOiAnL29wZXJhdGVCYWxhbmNlL3JlY2hhZ2VzJyxcbiAgICAgIGRhdGE6IGVudGl0eSxcbiAgICB9KTtcbiAgfSxcbiAgZ2V0TW9yZUxpc3RJdGVtKCkge1xuICAgIHRoaXMuZmV0Y2hMaXN0KHtcbiAgICAgIHBhZ2VOdW06IHRoaXMuZGF0YS5wYWdlTnVtICsgMSxcbiAgICAgIHBhZ2VTaXplOiB0aGlzLmRhdGEucGFnZVNpemUsXG4gICAgfSlcbiAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgIGlmIChyZXMuZGF0YSAmJiByZXMuZGF0YS5sZW5ndGgpIHtcbiAgICAgICAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgICAgICAgIGRhdGFMaXN0OiBbLi4udGhpcy5kYXRhLmRhdGFMaXN0LCAuLi5yZXMuZGF0YV0sXG4gICAgICAgICAgICBwYWdlTnVtOiB0aGlzLmRhdGEucGFnZU51bSArIDEsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgIH0pXG4gICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgIH0pO1xuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
//# sourceMappingURL=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oKGVyciA9PiB7XHJcbiAgICAgICAgY29uc29sZS5sb2coZXJyKTtcclxuICAgICAgfSk7XHJcbiAgfSxcclxufSk7XHJcbiJdfQ==
\ 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
......@@ -24,7 +24,7 @@
<view class="report-header-accountItemValue">10000</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">
待缴纳服务费
<text class="report-header-platform-fee" selectable="false" space="false" decode="false">
......@@ -34,11 +34,16 @@
<button class="report-header-platform-btn" wx:if="{{platformFee>0}}" bind:tap="showRechargeDialog">
缴费
</button>
</view>
</view> -->
<view class="report-header-bottom"></view>
</view>
<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>
<platform-dialog id="platformDialog" eventType="parents" />
</view>
{
"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";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInVzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIi8vIHN0b3Jlcy91c2VyLmpzXG5cbmV4cG9ydCB0eXBlIFVzZXJpbmZvID0ge1xuICBjZWxscGhvbmU6IHN0cmluZztcbiAgY29tbWVudDogc3RyaW5nO1xuICBjcmVhdGVBdDogc3RyaW5nO1xuICBpZDogbnVtYmVyO1xuICBpc09wZW5PcGVyTG9nOiBudW1iZXI7XG4gIGlzU2V0UGFzc3dvcmQ6IG51bWJlcjtcbiAgbGFzdExvZ2luRGF0ZTogc3RyaW5nO1xuICBsb2dpbkFjY291bnQ6IHN0cmluZztcbiAgbG9naW5Db3VudDogbnVtYmVyO1xuICBuYW1lOiBzdHJpbmc7XG4gIG9wZXJhdGVJZDogbnVtYmVyO1xuICBvcGVyYXRlTmFtZTogc3RyaW5nO1xuICBzdGF0ZTogc3RyaW5nO1xuICB1cGRhdGVBdDogc3RyaW5nO1xufTtcblxuZXhwb3J0IHR5cGUgVXNlclJvbGUgPSB7XG4gIGNoaWxkczogVXNlclJvbGVbXTtcbiAgaWQ6IG51bWJlcjtcbiAgbGlzdE1lbnVCdXR0b25WbzogW107XG4gIG1lbnVDb2RlOiBzdHJpbmc7XG4gIG1lbnVMaW5rOiBzdHJpbmc7XG4gIG1lbnVOYW1lOiBzdHJpbmc7XG4gIG1lbnVQaWNTbWFsbDogc3RyaW5nO1xuICBwYXJlbnRJZDogbnVsbCB8IG51bWJlcjtcbiAgcGFyZW50TmFtZTogbnVsbCB8IHN0cmluZztcbiAgc29ydElkOiBudW1iZXI7XG59O1xuIl19
\ No newline at end of file
// stores/user.js
exports.__esModule = true;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.delay = exports.formatPrice = exports.formatTime = void 0;
function formatTime(date) {
var year = date.getFullYear();
var month = date.getMonth() + 1;
......@@ -43,4 +44,4 @@ exports.delay = (function () {
timer = setTimeout(callback, ms);
};
})();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInV0aWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxvQkFBMkIsSUFBVTtJQUNuQyxJQUFNLElBQUksR0FBRyxJQUFJLENBQUMsV0FBVyxFQUFFLENBQUM7SUFDaEMsSUFBTSxLQUFLLEdBQUcsSUFBSSxDQUFDLFFBQVEsRUFBRSxHQUFHLENBQUMsQ0FBQztJQUNsQyxJQUFNLEdBQUcsR0FBRyxJQUFJLENBQUMsT0FBTyxFQUFFLENBQUM7SUFDM0IsSUFBTSxJQUFJLEdBQUcsSUFBSSxDQUFDLFFBQVEsRUFBRSxDQUFDO0lBQzdCLElBQU0sTUFBTSxHQUFHLElBQUksQ0FBQyxVQUFVLEVBQUUsQ0FBQztJQUNqQyxJQUFNLE1BQ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tcclxufTtcclxuXHJcbmNvbnN0IGpvaW5Db21tYSA9IChudW06IHN0cmluZykgPT4ge1xyXG4gIHZhciByZXN1bHQgPSBbXSxcclxuICAgIGNvdW50ZXIgPSAwO1xyXG4gIGZvciAobGV0IGluZGV4ID0gbnVtLmxlbmd0aCAtIDE7IGluZGV4ID49IDA7IGluZGV4LS0pIHtcclxuICAgIGNvdW50ZXIrKztcclxuICAgIGlmIChpbmRleCA9PSAwICYmIGlzTmFOKE51bWJlcihudW1baW5kZXhdKSkgJiYgcmVzdWx0WzBdID09PSAnLCcpIHtcclxuICAgICAgcmVzdWx0LnNoaWZ0KCk7XHJcbiAgICB9XHJcbiAgICBjb25zdCBlbGVtZW50ID0gbnVtW2luZGV4XTtcclxuICAgIHJlc3VsdC51bnNoaWZ0KGVsZW1lbnQpO1xyXG4gICAgaWYgKCEoY291bnRlciAlIDMpICYmIGluZGV4ICE9IDApIHtcclxuICAgICAgcmVzdWx0LnVuc2hpZnQoJywnKTtcclxuICAgIH1cclxuICB9XHJcbiAgcmV0dXJuIHJlc3VsdC5qb2luKCcnKTtcclxufTtcclxuZXhwb3J0IGNvbnN0IGRlbGF5ID0gKGZ1bmN0aW9uKCkge1xyXG4gIGxldCB0aW1lciA9IDA7XHJcbiAgcmV0dXJuIGZ1bmN0aW9uKGNhbGxiYWNrOiAoKSA9PiB2b2lkLCBtczogbnVtYmVyKSB7XHJcbiAgICBjbGVhclRpbWVvdXQodGltZXIpO1xyXG4gICAgdGltZXIgPSBzZXRUaW1lb3V0KGNhbGxiYWNrLCBtcyk7XHJcbiAgfTtcclxufSkoKTtcclxuIl19
\ No newline at end of file
{
"name": "demo",
"version": "1.0.1",
"name": "wx-manage-shell",
"version": "1.0.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......@@ -9,7 +9,7 @@
"resolved": "https://registry.npmjs.org/@antv/adjust/-/adjust-0.1.1.tgz",
"integrity": "sha512-9FaMOyBlM4AgoRL0b5o0VhEKAYkexBNUrxV8XmpHU/9NBPJONBOB/NZUlQDqxtLItrt91tCfbAuMQmF529UX2Q==",
"requires": {
"@antv/util": "~1.3.1"
"@antv/util": "1.3.1"
},
"dependencies": {
"@antv/util": {
......@@ -17,7 +17,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz",
"integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==",
"requires": {
"@antv/gl-matrix": "^2.7.1"
"@antv/gl-matrix": "2.7.1"
}
}
}
......@@ -27,7 +27,7 @@
"resolved": "https://registry.npmjs.org/@antv/attr/-/attr-0.1.2.tgz",
"integrity": "sha512-QXjP+T2I+pJQcwZx1oCA4tipG43vgeCeKcGGKahlcxb71OBAzjJZm1QbF4frKXcnOqRkxVXtCr70X9TRair3Ew==",
"requires": {
"@antv/util": "~1.3.1"
"@antv/util": "1.3.1"
},
"dependencies": {
"@antv/util": {
......@@ -35,7 +35,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz",
"integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==",
"requires": {
"@antv/gl-matrix": "^2.7.1"
"@antv/gl-matrix": "2.7.1"
}
}
}
......@@ -45,11 +45,11 @@
"resolved": "https://registry.npmjs.org/@antv/f2/-/f2-3.4.2.tgz",
"integrity": "sha512-rji4J9GGQIpzXNv8P4qzUFYnodQTtfAN2ApaY6WfxCQTSYy3EycK2CsjiiWNQ3PpNY1lCVf63E5PutwOZhuPwA==",
"requires": {
"@antv/adjust": "~0.1.1",
"@antv/attr": "~0.1.0",
"@antv/scale": "~0.1.2",
"@antv/util": "~1.2.5",
"hammerjs": "^2.0.8"
"@antv/adjust": "0.1.1",
"@antv/attr": "0.1.2",
"@antv/scale": "0.1.3",
"@antv/util": "1.2.5",
"hammerjs": "2.0.8"
}
},
"@antv/f2-canvas": {
......@@ -57,7 +57,7 @@
"resolved": "https://registry.npmjs.org/@antv/f2-canvas/-/f2-canvas-1.0.5.tgz",
"integrity": "sha512-iE4u1kAcxGaluu1CA6F5R0/dfsCMhubEfOKvR6zRwGC9S9bCil0y6JNCsIkyPZGCQYkAtsg3WDlcu2yneyqUuw==",
"requires": {
"@antv/wx-f2": "^1.1.4"
"@antv/wx-f2": "1.1.4"
}
},
"@antv/gl-matrix": {
......@@ -70,8 +70,8 @@
"resolved": "https://registry.npmjs.org/@antv/scale/-/scale-0.1.3.tgz",
"integrity": "sha512-oknlOg4OUqIh8LygrfQttx+OAnNJm2fQ81si4g8aby1WJJwj/TU1gCr+J3loIpKBtBK4VpP/OzTTqg1Ym67SOQ==",
"requires": {
"@antv/util": "~1.3.1",
"fecha": "~2.3.3"
"@antv/util": "1.3.1",
"fecha": "2.3.3"
},
"dependencies": {
"@antv/util": {
......@@ -79,7 +79,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.3.1.tgz",
"integrity": "sha512-cbUta0hIJrKEaW3eKoGarz3Ita+9qUPF2YzTj8A6wds/nNiy20G26ztIWHU+5ThLc13B1n5Ik52LbaCaeg9enA==",
"requires": {
"@antv/gl-matrix": "^2.7.1"
"@antv/gl-matrix": "2.7.1"
}
}
}
......@@ -89,7 +89,7 @@
"resolved": "https://registry.npmjs.org/@antv/util/-/util-1.2.5.tgz",
"integrity": "sha512-yz1AjXSEjNu9O5kK9pqKq69f/Iliu/IA3XXljUcfrlbUtmUJ0CH1tB5I60vPqfaKaUPhz+/35K+56yqaCsGmqA==",
"requires": {
"@antv/gl-matrix": "^2.7.1"
"@antv/gl-matrix": "2.7.1"
}
},
"@antv/wx-f2": {
......@@ -97,8 +97,8 @@
"resolved": "https://registry.npmjs.org/@antv/wx-f2/-/wx-f2-1.1.4.tgz",
"integrity": "sha512-XaMUwS16ONcpHIEK4yv6wOIxrwSqzhLx4di2kmumQI8xi5vZK1bslJCtjSaxbNS99febpZkZqgwgAmXOOrMYmA==",
"requires": {
"@antv/f2": "^3.3.3",
"wolfy87-eventemitter": "^5.2.4"
"@antv/f2": "3.4.2",
"wolfy87-eventemitter": "5.2.8"
}
},
"fecha": {
......
......@@ -9,6 +9,7 @@
"typescript": "^3.3.3333"
},
"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": {
"ignore": []
"ignore": [],
"include": []
},
"miniprogramRoot": "miniprogram/",
"compileType": "miniprogram",
"libVersion": "2.8.3",
"libVersion": "2.23.2",
"projectname": "wx-manage-shell",
"scripts": {
"beforeCompile": "npm run tsc",
......@@ -17,46 +18,65 @@
"es6": true,
"enhance": false,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": true,
"coverView": true,
"nodeModules": true,
"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": ""
},
"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",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"plugin": {
"current": -1,
"list": []
},
"game": {
"list": []
},
"gamePlugin": {
"current": -1,
"list": []
},
"miniprogram": {
"current": 2,
"list": [
{
"id": 0,
......@@ -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