Commit 8d7ba468 by 姜雷

添加服务费

parent 0ee75c63
...@@ -63,5 +63,8 @@ exports.customerFetch = function (req) { ...@@ -63,5 +63,8 @@ exports.customerFetch = function (req) {
exports.baseFetch = function (req) { exports.baseFetch = function (req) {
return fetch(__assign({}, req, { url: constants_1.devUrl.BASE_SERVER_URL + req.url })); return fetch(__assign({}, req, { url: constants_1.devUrl.BASE_SERVER_URL + req.url }));
}; };
exports.operatorFetch = function (req) {
return fetch(__assign({}, req, { url: constants_1.devUrl.OPERATOR_SERVER_URL + req.url }));
};
exports.default = fetch; exports.default = fetch;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmV0Y2guanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJmZXRjaC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsaURBQXFFO0FBRXJFLElBQU0sR0FBRyxHQUFHLE1BQU0sRUFBVSxDQUFDO0FBRTdCLElBQU0sS0FBSyxHQUFHLFVBQUMsR0FBcUI7SUFDbEMsT0FBQSxJQUFJLE9BQU8sQ0FBQyxVQUFDLE9BQU8sRUFBRSxNQUFNO1FBQzFCLElBQU0sS0FBSyxHQUFHLEdBQUcsQ0FBQyxVQUFVLENBQUMsS0FBSyxDQUFDO1FBQ25DLEVBQUUsQ0FBQyxPQUFPLGNBQ0wsR0FBRyxJQUNOLE1BQU0sRUFBRSxLQUFLO2dCQUNYLENBQUMsWUFDRyxLQUFLLE9BQUEsSUFDRixHQUFHLENBQUMsTUFBTSxFQUVqQixDQUFDLENBQUMsR0FBRyxDQUFDLE1BQU0sRUFFZCxPQUFPLEVBQUUsT0FBTyxFQUNoQixJQUFJLEVBQUUsTUFBTSxJQUNaLENBQUM7SUFDTCxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsVUFBQyxHQUFvQztRQUMzQyxJQUFNLGFBQWlDLEVBQS9CLGNBQU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mcm9tICcuLi9jb25maWcvY29uc3RhbnRzJztcbmltcG9ydCB7IElNeUFwcCB9IGZyb20gJy4uL2FwcCc7XG5jb25zdCBhcHAgPSBnZXRBcHA8SU15QXBwPigpO1xuXG5jb25zdCBmZXRjaCA9IChyZXE6IHd4LlJlcXVlc3RPcHRpb24pID0+XG4gIG5ldyBQcm9taXNlKChyZXNvbHZlLCByZWplY3QpID0+IHtcbiAgICBjb25zdCB0b2tlbiA9IGFwcC5nbG9iYWxEYXRhLnRva2VuO1xuICAgIHd4LnJlcXVlc3Qoe1xuICAgICAgLi4ucmVxLFxuICAgICAgaGVhZGVyOiB0b2tlblxuICAgICAgICA/IHtcbiAgICAgICAgICAgIHRva2VuLFxuICAgICAgICAgICAgLi4ucmVxLmhlYWRlcixcbiAgICAgICAgICB9XG4gICAgICAgIDogcmVxLmhlYWRlcixcblxuICAgICAgc3VjY2VzczogcmVzb2x2ZSxcbiAgICAgIGZhaWw6IHJlamVjdCxcbiAgICB9KTtcbiAgfSkudGhlbigocmVzOiB3eC5SZXF1ZXN0U3VjY2Vzc0NhbGxiYWNrUmVzdWx0KSA9PiB7XG4gICAgY29uc3QgeyBjb2RlLCAuLi5vdGhlcmtleXMgfSA9IHJlcy5kYXRhO1xuICAgIGlmIChjb2RlID09PSBzdWNjZXNzQ29kZSkge1xuICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgIGlmIChyZXMuaGVhZGVyWydTZXQtQ29va2llJ10pXG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgaGVhZGVyOiByZXMuaGVhZGVyLFxuICAgICAgICAgIGRhdGE6IG90aGVya2V5cyxcbiAgICAgICAgfTtcbiAgICAgIHJldHVybiBvdGhlcmtleXM7XG4gICAgfSBlbHNlIGlmIChjb2RlID09PSBsb2dvdXRvZGUpIHtcbiAgICAgIGFwcC5yZXNldFVzZXJpbmZvKCk7XG4gICAgICB3eC5yZUxhdW5jaCh7XG4gICAgICAgIHVybDogJy9wYWdlcy9pbmR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RlZmF1bHQgZmV0Y2g7XG4iXX0=
\ No newline at end of file \ No newline at end of file
...@@ -50,4 +50,7 @@ export const customerFetch = (req: wx.RequestOption) => ...@@ -50,4 +50,7 @@ export const customerFetch = (req: wx.RequestOption) =>
fetch({ ...req, url: devUrl.CUSTOMER_SERVER_URL + req.url }); fetch({ ...req, url: devUrl.CUSTOMER_SERVER_URL + req.url });
export const baseFetch = (req: wx.RequestOption) => export const baseFetch = (req: wx.RequestOption) =>
fetch({ ...req, url: devUrl.BASE_SERVER_URL + req.url }); fetch({ ...req, url: devUrl.BASE_SERVER_URL + req.url });
export const operatorFetch = (req: wx.RequestOption) =>
fetch({ ...req, url: devUrl.OPERATOR_SERVER_URL + req.url });
export default fetch; export default fetch;
...@@ -7,7 +7,9 @@ ...@@ -7,7 +7,9 @@
"pages/monthOperator/monthOperator", "pages/monthOperator/monthOperator",
"pages/homeAndReport/homeAndReport", "pages/homeAndReport/homeAndReport",
"pages/userGrowth/userGrowth", "pages/userGrowth/userGrowth",
"pages/areaSelect/areaSelect" "pages/areaSelect/areaSelect",
"pages/platformFee/platformFee",
"pages/platformFeeRecord/platformFeeRecord"
], ],
"window": { "window": {
"backgroundTextStyle": "light", "backgroundTextStyle": "light",
......
...@@ -5,19 +5,22 @@ exports.devUrl = { ...@@ -5,19 +5,22 @@ exports.devUrl = {
STATISTICS_SERVER_URL: 'https://ex-dev-dcxy-statistics-manage.168cad.top', STATISTICS_SERVER_URL: 'https://ex-dev-dcxy-statistics-manage.168cad.top',
CUSTOMER_SERVER_URL: 'https://ex-dev-customer-manage.168cad.top', CUSTOMER_SERVER_URL: 'https://ex-dev-customer-manage.168cad.top',
BASE_SERVER_URL: 'https://ex-dev-dcxy-base-manage.168cad.top', BASE_SERVER_URL: 'https://ex-dev-dcxy-base-manage.168cad.top',
OPERATOR_SERVER_URL: 'https://dev-op-man-serv.168cad.top',
}; };
exports.testUrl = { exports.testUrl = {
SYSTEM_SERVER_URL: 'https://ex-test-dcxy-system-manage.168cad.top', SYSTEM_SERVER_URL: 'https://ex-test-dcxy-system-manage.168cad.top',
STATISTICS_SERVER_URL: 'https://ex-test-dcxy-statistics-manage.168cad.top', STATISTICS_SERVER_URL: 'https://ex-test-dcxy-statistics-manage.168cad.top',
CUSTOMER_SERVER_URL: 'https://ex-test-customer-manage.168cad.top', CUSTOMER_SERVER_URL: 'https://ex-test-customer-manage.168cad.top',
BASE_SERVER_URL: 'https://ex-test-dcxy-base-manage.168cad.top', BASE_SERVER_URL: 'https://ex-test-dcxy-base-manage.168cad.top',
OPERATOR_SERVER_URL: 'https://test-op-man-serv.168cad.top',
}; };
exports.masterUrl = { exports.masterUrl = {
SYSTEM_SERVER_URL: 'https://dcxy-system-manage.dcrym.com', SYSTEM_SERVER_URL: 'https://dcxy-system-manage.dcrym.com',
STATISTICS_SERVER_URL: 'https://dcxy-statistics-manage.dcrym.com', STATISTICS_SERVER_URL: 'https://dcxy-statistics-manage.dcrym.com',
CUSTOMER_SERVER_URL: 'https://dcxy-customer-manage.dcrym.com', CUSTOMER_SERVER_URL: 'https://dcxy-customer-manage.dcrym.com',
BASE_SERVER_URL: 'https://dcxy-base-manage.dcrym.com', BASE_SERVER_URL: 'https://dcxy-base-manage.dcrym.com',
OPERATOR_SERVER_URL: 'https://op-man-serv.dcrym.com',
}; };
exports.successCode = 1000; exports.successCode = 1000;
exports.logoutode = -2; exports.logoutode = -2;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY29uc3RhbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQWEsUUFBQSxNQUFNLEdBQUc7SUFDcEIsaUJBQWlCLEVBQUUsOENBQThDO0lBQ2pFLHFCQUFxQixFQUFFLGtEQUFrRDtJQUN6RSxtQkFBbUIsRUFBRSwyQ0FBMkM7SUFDaEUsZUFBZSxFQUFFLDRDQUE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25zdCBsb2dvdXRvZGUgPSAtMjtcbiJdfQ==
\ No newline at end of file \ No newline at end of file
...@@ -3,18 +3,21 @@ export const devUrl = { ...@@ -3,18 +3,21 @@ export const devUrl = {
STATISTICS_SERVER_URL: 'https://ex-dev-dcxy-statistics-manage.168cad.top', STATISTICS_SERVER_URL: 'https://ex-dev-dcxy-statistics-manage.168cad.top',
CUSTOMER_SERVER_URL: 'https://ex-dev-customer-manage.168cad.top', CUSTOMER_SERVER_URL: 'https://ex-dev-customer-manage.168cad.top',
BASE_SERVER_URL: 'https://ex-dev-dcxy-base-manage.168cad.top', BASE_SERVER_URL: 'https://ex-dev-dcxy-base-manage.168cad.top',
OPERATOR_SERVER_URL: 'https://dev-op-man-serv.168cad.top',
}; };
export const testUrl = { export const testUrl = {
SYSTEM_SERVER_URL: 'https://ex-test-dcxy-system-manage.168cad.top', SYSTEM_SERVER_URL: 'https://ex-test-dcxy-system-manage.168cad.top',
STATISTICS_SERVER_URL: 'https://ex-test-dcxy-statistics-manage.168cad.top', STATISTICS_SERVER_URL: 'https://ex-test-dcxy-statistics-manage.168cad.top',
CUSTOMER_SERVER_URL: 'https://ex-test-customer-manage.168cad.top', CUSTOMER_SERVER_URL: 'https://ex-test-customer-manage.168cad.top',
BASE_SERVER_URL: 'https://ex-test-dcxy-base-manage.168cad.top', BASE_SERVER_URL: 'https://ex-test-dcxy-base-manage.168cad.top',
OPERATOR_SERVER_URL: 'https://test-op-man-serv.168cad.top',
}; };
export const masterUrl = { export const masterUrl = {
SYSTEM_SERVER_URL: 'https://dcxy-system-manage.dcrym.com', SYSTEM_SERVER_URL: 'https://dcxy-system-manage.dcrym.com',
STATISTICS_SERVER_URL: 'https://dcxy-statistics-manage.dcrym.com', STATISTICS_SERVER_URL: 'https://dcxy-statistics-manage.dcrym.com',
CUSTOMER_SERVER_URL: 'https://dcxy-customer-manage.dcrym.com', CUSTOMER_SERVER_URL: 'https://dcxy-customer-manage.dcrym.com',
BASE_SERVER_URL: 'https://dcxy-base-manage.dcrym.com', BASE_SERVER_URL: 'https://dcxy-base-manage.dcrym.com',
OPERATOR_SERVER_URL: 'https://op-man-serv.dcrym.com',
}; };
export const successCode = 1000; export const successCode = 1000;
......
<!-- custom-tab-bar/index.wxml --> <!-- custom-tab-bar/index.wxml -->
<cover-view class="custom-tab-bar"> <view class="custom-tab-bar">
<cover-view wx:for="{{listData}}" wx:key="index" class="custom-tab-bar-item {{checked === index?'checked':''}}" data-index="{{index}}" data-path="{{item.pagePath}}" bindtap="clickHandle"> <view wx:for="{{listData}}" wx:key="index" class="custom-tab-bar-item {{checked === index?'checked':''}}" data-index="{{index}}" data-path="{{item.pagePath}}" bindtap="clickHandle">
<cover-image class="custom-tab-bar-icon" src="{{checked === index ? item.selectedIconPath : item.iconPath}}"></cover-image> <image class="custom-tab-bar-icon" src="{{checked === index ? item.selectedIconPath : item.iconPath}}"></image>
<cover-view>{{item.text}}</cover-view> <view>{{item.text}}</view>
</cover-view> </view>
</cover-view> </view>
\ No newline at end of file \ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var fetch_1 = require("../../../api/fetch");
Component({
properties: {},
data: {
showDialog: false,
},
methods: {
fetchPlatformFee: function () {
fetch_1.operatorFetch({
url: ''
});
},
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUGxhdGZvcm1GZWVEaWFsb2cuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJQbGF0Zm9ybUZlZURpYWxvZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDRDQUFtRDtBQUduRCxTQUFTLENBQUM7SUFJUixVQUFVLEVBQUUsRUFBRTtJQUtkLElBQUksRUFBRTtRQUNKLFVBQVUsRUFBRSxLQUFLO0tBQ2xCO0lBS0QsT0FBTyxFQUFFO1FBQ1AsZ0JBQWdCO1lBQ2QscUJBQWEsQ0FBQztnQkFDWixHQUFHLEVBQUMsRUFBRTthQUNQLENBQUMsQ0FBQTtRQUNKLENBQUM7S0FDRjtDQUNGLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IG9wZXJhdG9yRmV0Y2ggfSBmcm9tIFwiLi4vLi4vLi4vYXBpL2ZldGNoXCI7XG5cbi8vIHBhZ2VzL2NvbXBvbmVudHMvUGxhdGZvcm1GZWVEaWFsb2cvUGxhdGZvcm1GZWVEaWFsb2cuanNcbkNvbXBvbmVudCh7XG4gIC8qKlxuICAgKiDnu4Tku7bnmoTlsZ7mgKfliJfooahcbiAgICovXG4gIHByb3BlcnRpZXM6IHt9LFxuXG4gIC8qKlxuICAgKiDnu4Tku7bnmoTliJ3lp4vmlbDmja5cbiAgICovXG4gIGRhdGE6IHtcbiAgICBzaG93RGlhbG9nOiBmYWxzZSxcbiAgfSxcblxuICAvKipcbiAgICog57uE5Lu255qE5pa55rOV5YiX6KGoXG4gICAqL1xuICBtZXRob2RzOiB7XG4gICAgZmV0Y2hQbGF0Zm9ybUZlZSgpe1xuICAgICAgb3BlcmF0b3JGZXRjaCh7XG4gICAgICAgIHVybDonJ1xuICAgICAgfSlcbiAgICB9LFxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
import { operatorFetch } from "../../../api/fetch";
// pages/components/PlatformFeeDialog/PlatformFeeDialog.js
Component({
/**
* 组件的属性列表
*/
properties: {},
/**
* 组件的初始数据
*/
data: {
showDialog: false,
},
/**
* 组件的方法列表
*/
methods: {
fetchPlatformFee(){
operatorFetch({
url:''
})
},
},
});
<!-- pages/components/PlatformFeeDialog/PlatformFeeDialog.wxml -->
<view class="PlatformFeeDialog">
<view class="mask"></view>
<view class="PlatformFeeDialog-body">
<view class="PlatformFeeDialog-content">
<view class="PlatformFeeDialog-header">
<view>尊敬的用户:</view>
<view class="PlatformFeeDialog-headerName">您好!您的平台服务费已生成,为不影响设备正常使用,请在5个工作日内及时缴费,谢谢</view>
</view>
<view class="PlatformFeeDialog-priceInfo">
<view class="PlatformFeeDialog-priceItem">
<view class="PlatformFeeDialog-priceItemLabel">服务费</view>
<view class="PlatformFeeDialog-priceItemPrice">265.23元</view>
</view>
<view class="PlatformFeeDialog-priceItem">
<view class="PlatformFeeDialog-priceItemLabel">开票选择</view>
</view>
<view class="PlatformFeeDialog-radiofroup">
<view class="PlatformFeeDialog-radio">
<view class="PlatformFeeDialog-radioinput"></view>
<view>无需发票</view>
</view>
<view class="PlatformFeeDialog-radio">
<view class="PlatformFeeDialog-radioinput"></view>
<view>普通发票</view>
</view>
<view class="PlatformFeeDialog-radio">
<view class="PlatformFeeDialog-radioinput"></view>
<view>专用发票</view>
</view>
</view>
<view class="PlatformFeeDialog-btnbox">
<button class="PlatformFeeDialog-btn">取消</button>
<button class="PlatformFeeDialog-btn">确认支付</button>
</view>
<view class="PlatformFeeDialog-links">
<view>查看服务费明细</view>
<view>扫码支付 ></view>
</view>
</view>
</view>
<view class="PlatformFeeDialog-content scanPay show">
<view class="PlatformFeeDialog-header">
<view class="PlatformFeeDialog-back">&tl;</view>
<view class="PlatformFeeDialog-countdown">
剩余
<text class="" selectable="false" space="false" decode="false">9分59秒</text>
</view>
</view>
<view class="PlatformFeeDialog-priceInfo">
<view class="PlatformFeeDialog-priceItem">
<view class="PlatformFeeDialog-priceItemLabel">服务费</view>
<view class="PlatformFeeDialog-priceItemPrice">265.23元</view>
</view>
<view class="PlatformFeeDialog-priceItem">
<view class="PlatformFeeDialog-priceItemLabel">开票选择</view>
</view>
<view class="PlatformFeeDialog-radiofroup">
<view class="PlatformFeeDialog-radio">
<view class="PlatformFeeDialog-radioinput"></view>
<view>无需发票</view>
</view>
<view class="PlatformFeeDialog-radio">
<view class="PlatformFeeDialog-radioinput"></view>
<view>普通发票</view>
</view>
<view class="PlatformFeeDialog-radio">
<view class="PlatformFeeDialog-radioinput"></view>
<view>专用发票</view>
</view>
</view>
<view class="PlatformFeeDialog-payQRcode">
<image class="PlatformFeeDialog-payQRcodeImg" src="" mode="aspectFill" lazy-load="false" binderror="" bindload="" />
</view>
</view>
</view>
</view>
</view>
\ No newline at end of file
/* pages/components/PlatformFeeDialog/PlatformFeeDialog.wxss */
.PlatformFeeDialog-body {
display: flex;
}
.PlatformFeeDialog-content {
overflow: hidden;
width: 0;
height: 0;
transition: all 0.48s;
}
.PlatformFeeDialog-content.show {
width: 100%;
height: auto;
}
.PlatformFeeDialog .mask {
position: fixed;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(000, 000, 000, 0.3);
z-index: 5;
}
.PlatformFeeDialog-body {
position: fixed;
top: 200rpx;
left: 56rpx;
width: 638rpx;
background-color: #fff;
border-radius: 40rpx;
z-index: 6;
color: #333;
}
.PlatformFeeDialog-header {
margin: 0 30rpx;
padding: 44rpx 30rpx 32rpx;
font-size: 28rpx;
border-bottom: 1rpx solid #e5e5e5;
}
.PlatformFeeDialog-headerName {
margin-top: 22rpx;
text-indent: 48rpx;
}
.PlatformFeeDialog-priceInfo {
padding: 40rpx 60rpx 60rpx;
}
.PlatformFeeDialog-priceItem {
display: flex;
font-size: 28rpx;
}
.PlatformFeeDialog-priceItem:first-child {
margin-bottom: 24rpx;
}
.PlatformFeeDialog-priceItemLabel {
flex: 1;
}
.PlatformFeeDialog-priceItemPrice {
color: #e24a4a;
}
.PlatformFeeDialog-radiofroup {
margin-top: 20rpx;
display: flex;
justify-content: space-between;
font-size: 28rpx;
}
.PlatformFeeDialog-radio {
display: flex;
align-items: center;
}
.PlatformFeeDialog-radioinput {
width: 28rpx;
height: 28rpx;
border-radius: 50%;
border: 1rpx solid #eee;
margin-right: 10rpx;
}
.PlatformFeeDialog-radioinput.check {
border-color: #6895fe;
background-color: #6895fe;
}
.PlatformFeeDialog-btnbox {
margin-top: 60rpx;
display: flex;
justify-content: space-around;
}
.PlatformFeeDialog-btn {
margin: 0;
height: 98rpx;
line-height: 98rpx;
border-radius: 20rpx;
font-size: 32rpx;
}
.PlatformFeeDialog-links {
margin-top: 40rpx;
display: flex;
justify-content: space-between;
font-size: 24rpx;
color: #6a92ff;
}
.PlatformFeeDialog-content.scanPay .PlatformFeeDialog-header {
display: flex;
justify-content: space-between;
}
.PlatformFeeDialog-payQRcode,
.PlatformFeeDialog-payQRcodeImg {
width: 300rpx;
height: 300rpx;
}
.PlatformFeeDialog-payQRcode {
margin: 40rpx auto;
}
{ {
"usingComponents": { "usingComponents": {
"platform-dialog":"../components/PlatformFeeDialog/PlatformFeeDialog",
"price-and-count": "../components/PriceAndCount/PriceAndCount", "price-and-count": "../components/PriceAndCount/PriceAndCount",
"service-count": "../components/ServiceCount/ServiceCount" "service-count": "../components/ServiceCount/ServiceCount"
} }
......
...@@ -34,4 +34,6 @@ ...@@ -34,4 +34,6 @@
<price-and-count tag-data="{{refundData}}" /> <price-and-count tag-data="{{refundData}}" />
<price-and-count tag-data="{{refundCount}}" /> <price-and-count tag-data="{{refundCount}}" />
</view> </view>
<view class="home-box">您有平台服务费需要结算,请到缴纳页面及时处理</view>
<platform-dialog />
</view> </view>
\ No newline at end of file
...@@ -40,106 +40,130 @@ Page({ ...@@ -40,106 +40,130 @@ Page({
return true; return true;
}, },
tokenLoagin() { tokenLoagin() {
wx.showLoading({ title: '登陆中' }); wx.login({
systemFetch({ success: res => {
url: '/login/verifyCode', if (res.code) {
}) const code = res.code;
.then((res: wx.RequestSuccessCallbackResult) => {
console.log(res); wx.showLoading({ title: '登陆中' });
return { systemFetch({
code: res.data.verifyCode, url: '/login/verifyCode',
cookie: res.header['Set-Cookie'], })
}; .then((res: wx.RequestSuccessCallbackResult) => {
}) console.log(res);
.then(({ cookie }: { code: string; cookie: string }) => return {
systemFetch({ code: res.data.verifyCode,
url: '/boss/login', cookie: res.header['Set-Cookie'],
method: 'POST', };
header: { })
cookie: cookie, .then(({ cookie }: { code: string; cookie: string }) =>
}, systemFetch({
data: { url: '/boss/login',
token: app.globalData.token, method: 'POST',
}, header: {
}), cookie: cookie,
) },
.then(res => { data: {
console.log(res); code,
const { token: app.globalData.token,
data: { userInfo, userRoles }, },
} = res; }),
app.globalData.userInfo = userInfo; )
app.globalData.userRoles = userRoles; .then(res => {
wx.hideLoading(); console.log(res);
wx.redirectTo({ const {
url: '/pages/homeAndReport/homeAndReport', token,
}); data: { userInfo, userRoles },
}) } = res;
.catch(err => { app.globalData.token = token;
console.log(err); app.globalData.userInfo = userInfo;
wx.hideLoading(); app.globalData.userRoles = userRoles;
wx.showToast({ wx.hideLoading();
title: err.errMsg, wx.redirectTo({
icon: 'none', url: '/pages/homeAndReport/homeAndReport',
}); });
}); })
.catch(err => {
console.log(err);
wx.hideLoading();
wx.showToast({
title: err.errMsg,
icon: 'none',
});
});
}
},
});
}, },
loginHandle() { loginHandle() {
console.log(app.globalData); console.log(app.globalData);
if (this.validateLoginData()) { if (this.validateLoginData()) {
const { account, pwd } = this.data; const { account, pwd } = this.data;
console.log(account, pwd); console.log(account, pwd);
wx.showLoading({ title: '' }); wx.login({
systemFetch({ success: res => {
url: '/login/verifyCode', if (res.code) {
}) const code = res.code;
.then((res: wx.RequestSuccessCallbackResult) => { wx.showLoading({ title: '' });
console.log(res); systemFetch({
return { url: '/login/verifyCode',
code: res.data.verifyCode, })
cookie: res.header['Set-Cookie'], .then((res: wx.RequestSuccessCallbackResult) => {
}; console.log(res);
}) return {
.then(({ code, cookie }: { code: string; cookie: string }) => { code: res.data.verifyCode,
let mixpwd = md5(pwd); cookie: res.header['Set-Cookie'],
return systemFetch({ };
url: '/boss/login', })
method: 'POST', .then(({ vCode, cookie }: { vCode: string; cookie: string }) => {
header: { let mixpwd = md5(pwd);
cookie: cookie, return systemFetch({
}, url: '/boss/login',
data: { method: 'POST',
account, header: {
pwd: mixpwd, cookie: cookie,
varifyCode: code, },
}, data: {
}); code,
}) account,
.then(res => { pwd: mixpwd,
console.log(res); varifyCode: vCode,
const { },
token, });
data: { userInfo, userRoles }, })
} = res; .then(res => {
app.globalData.token = token; console.log(res);
app.globalData.userInfo = userInfo; const {
app.globalData.userRoles = userRoles; token,
try { data: { userInfo, userRoles },
wx.setStorageSync('token', token); } = res;
} catch (error) {} app.globalData.token = token;
wx.hideLoading(); app.globalData.userInfo = userInfo;
wx.redirectTo({ app.globalData.userRoles = userRoles;
url: '/pages/homeAndReport/homeAndReport', try {
}); wx.setStorageSync('token', token);
}) } catch (error) {}
.catch(err => { wx.hideLoading();
console.log(err); wx.redirectTo({
wx.hideLoading(); url: '/pages/homeAndReport/homeAndReport',
wx.showToast({ });
title: err.errMsg, })
icon: 'none', .catch(err => {
}); console.log(err);
}); wx.hideLoading();
wx.showToast({
title: err.errMsg,
icon: 'none',
});
});
} else {
wx.showToast({
title: '登录获取code失败',
icon: 'none',
});
}
},
});
} }
// fetch() // fetch()
// wx.redirectTo({ // wx.redirectTo({
......
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var fetch_1 = require("../../api/fetch");
Page({
data: {
year: '',
dataList: [],
},
onLoad: function (options) {
var year = new Date().getFullYear();
console.log(year);
this.fetchList({
year: year,
});
this.setData({
year: year,
});
},
fetchList: function (entity) {
var _this = this;
return fetch_1.statisticsFetch({
url: '/dcxy/platformFee/operate/areas/monthly',
data: entity,
})
.then(function (res) {
_this.setData({
dataList: res.data,
});
})
.catch(function (err) {
console.log(err);
});
},
yearChangeHandle: function (e) {
console.log(e);
var value = e.detail.value;
this.fetchList({
year: value,
});
},
goRecordPage: function () { },
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGxhdGZvcm1GZWUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJwbGF0Zm9ybUZlZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHlDQUFrRDtBQUdsRCxJQUFJLENBQUM7SUFJSCxJQUFJLEVBQUU7UUFDSixJQUFJLEVBQUUsRUFBRTtRQUNSLFFBQVEsRUFBRSxFQUFFO0tBQ2I7SUFLRCxNQUFNLEVBQUUsVUFBUyxPQUFPO1FBQ3RCLElB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HZhbHVlLFxuICAgIH0pO1xuICB9LFxuICBnb1JlY29yZFBhZ2UoKSB7fSxcbn0pO1xuIl19
\ No newline at end of file
{
"navigationBarTitleText": "服务费明细",
"usingComponents": {
"c-select": "../components/Select/Select"
}
}
import { statisticsFetch } from '../../api/fetch';
// miniprogram/pages/platformFee/platformFee.js
Page({
/**
* 页面的初始数据
*/
data: {
year: '',
dataList: [],
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function(options) {
let year = new Date().getFullYear();
console.log(year);
this.fetchList({
year,
});
this.setData!({
year,
});
},
fetchList(entity) {
return statisticsFetch({
url: '/dcxy/platformFee/operate/areas/monthly',
data: entity,
})
.then(res => {
this.setData!({
dataList: res.data,
});
})
.catch(err => {
console.log(err);
});
},
yearChangeHandle(e) {
console.log(e);
const { value } = e.detail;
this.fetchList({
year: value,
});
},
goRecordPage() {},
});
<!-- 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">缴费记录</view>
</view>
<view class="platformFee-block">
<view class="platformFee-title">
<view class="platformFee-title-color user"></view>
<view class="platformFee-title-text">共计2个校区</view>
</view>
<view class="platformFee-canvas">
<user-grouth-chart dataList="{{growthList}}" month="{{month}}" />
</view>
</view>
<view class="platformFee-block">
<view class="platformFee-title">
<view class="platformFee-title-color user"></view>
<view class="platformFee-title-text">各校区服务费(9月)</view>
<view class="platformFee-title-sum">合计:1,800.00</view>
</view>
<view class="platformFee-areaList">
<view class="platformFee-areaItem">
<view class="platformFee-areaItem-index">1</view>
<view class="platformFee-areaItem-name">多彩温江</view>
<view class="platformFee-areaItem-price">1,000.00</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>
</view>
</view>
</view>
\ No newline at end of file
/* miniprogram/pages/platformFee/platformFee.wxss */
.platformFee-block {
box-sizing: border-box;
width: 100%;
padding: 0 40rpx;
}
.platformFee-title {
width: 100%;
display: flex;
align-items: center;
padding: 50rpx 0 20rpx;
}
.platformFee-filter {
display: flex;
box-sizing: border-box;
width: 100%;
padding: 50rpx 40rpx 0;
justify-content: space-between;
align-items: center;
}
.platformFee-area {
width: 250rpx;
}
.platformFee-time {
color: #6a92ff;
font-size: 28rpx;
}
.platformFee-title-color {
width: 12rpx;
height: 12rpx;
margin-right: 12rpx;
border-radius: 50%;
}
.platformFee-title-text {
flex: 1;
}
.platformFee-title-sum {
font-size: 28rpx;
color: #fe6868;
}
.platformFee-title-color.user {
background-color: #6895ef;
}
.platformFee-canvas {
width: 660rpx;
height: 350rpx;
}
.platformFee-areaList {
padding-left: 22rpx;
}
.platformFee-areaItem {
display: flex;
align-items: center;
padding: 28rpx 0;
border-bottom: 1rpx solid #eee;
font-size: 28rpx;
color: #333;
}
.platformFee-areaItem:last-child {
border-width: 0;
}
.platformFee-areaItem-index {
background-color: #dedede;
width: 28rpx;
height: 28rpx;
line-height: 28rpx;
border-radius: 50%;
margin-right: 24rpx;
font-size: 22rpx;
text-align: center;
}
.platformFee-areaItem-name {
flex: 1;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var fetch_1 = require("../../api/fetch");
Page({
data: {
pageNum: 1,
pageSize: 10,
dataList: [],
},
onLoad: function (options) {
var _this = this;
this.fetchList({
pageNum: this.data.pageNum,
pageSize: this.data.pageSize,
}).then(function (res) {
if (res.data && res.data.length) {
_this.setData({
dataList: res.data,
});
}
});
},
fetchList: function (entity) {
return fetch_1.operatorFetch({
url: '/operateBalance/rechages',
data: entity,
});
},
getMoreListItem: function () {
var _this = this;
this.fetchList({
pageNum: this.data.pageNum + 1,
pageSize: this.data.pageSize,
})
.then(function (res) {
if (res.data && res.data.length) {
_this.setData({
dataList: _this.data.dataList.concat(res.data),
pageNum: _this.data.pageNum + 1,
});
}
})
.catch(function (err) {
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biAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgIH0pO1xuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
{
"navigationBarTitleText": "缴费记录",
"usingComponents": {}
}
\ No newline at end of file
import { operatorFetch } from '../../api/fetch';
// miniprogram/pages/platformFeeRecord/platformFeeRecord.js
Page({
/**
* 页面的初始数据
*/
data: {
pageNum: 1,
pageSize: 10,
dataList: [],
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function(options) {
this.fetchList({
pageNum: this.data.pageNum,
pageSize: this.data.pageSize,
}).then(res => {
if (res.data && res.data.length) {
this.setData!({
dataList: res.data,
});
}
});
},
fetchList(entity) {
return operatorFetch({
url: '/operateBalance/rechages',
data: entity,
});
},
getMoreListItem() {
this.fetchList({
pageNum: this.data.pageNum + 1,
pageSize: this.data.pageSize,
})
.then(res => {
if (res.data && res.data.length) {
this.setData!({
dataList: [...this.data.dataList, ...res.data],
pageNum: this.data.pageNum + 1,
});
}
})
.catch(err => {
console.log(err);
});
},
});
<!-- miniprogram/pages/platformFeeRecord/platformFeeRecord.wxml -->
<view class="platformFeeRecord">
<scroll-view class="platformFeeRecord-list" scroll-y bindscrolltolower="getMoreListItem">
<view class="platformFeeRecord-item" wx:for="{{dataList}}" wx:key="{{item.id}}">
<view class="platformFeeRecord-itemTitle">
<view class="platformFeeRecord-itemTitle-text">
{{item.rechargeType==='2'?'微信缴费':item.rechargeType==='3'?'支付宝缴费':item.rechargeType==='4'?'服务费退回':''}}-{{item.billType==='0'?'不要发票':item.billType==='1'?'普通发票':item.billType==='3'?'专用发票':''}}
</view>
<view class="platformFeeRecord-itemTitle-price">{{item.rechargeMoney}}</view>
</view>
<view class="platformFeeRecord-col">
<view class="platformFeeRecord-label">支付时间</view>
<view class="platformFeeRecord-value">{{item.updateAt}}</view>
</view>
<view class="platformFeeRecord-col">
<view class="platformFeeRecord-label">交易单号</view>
<view class="platformFeeRecord-value">{{item.orderNum}}</view>
</view>
</view>
</scroll-view>
<!-- <view class="platformFeeRecord-item">
<view class="platformFeeRecord-itemTitle">
<view class="platformFeeRecord-itemTitle-text">微信缴费-专用发票</view>
<view class="platformFeeRecord-itemTitle-price">1,000.00</view>
</view>
<view class="platformFeeRecord-col">
<view class="platformFeeRecord-label">支付时间</view>
<view class="platformFeeRecord-value">2019-12-30 14:23:23</view>
</view>
<view class="platformFeeRecord-col">
<view class="platformFeeRecord-label">交易单号</view>
<view class="platformFeeRecord-value">kjbfsaisd</view>
</view>
</view> -->
</view>
\ No newline at end of file
/* miniprogram/pages/platformFeeRecord/platformFeeRecord.wxss */
page,
.platformFeeRecord {
width: 100%;
height: 100%;
}
.platformFeeRecord-list {
box-sizing: border-box;
width: 100%;
height: 100%;
padding: 0 40rpx;
}
.platformFeeRecord-item {
border-bottom: 1rpx solid #e5e5e5;
padding: 44rpx 0;
}
.platformFeeRecord-itemTitle {
display: flex;
font-size: 28rpx;
color: #333;
margin-bottom: 20rpx;
}
.platformFeeRecord-itemTitle-text {
flex: 1;
}
.platformFeeRecord-col {
display: flex;
font-size: 28rpx;
color: #666;
margin-bottom: 16rpx;
justify-content: space-between;
}
.platformFeeRecord-col:last-child {
margin-bottom: 0;
}
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
var fetch_1 = require("../../api/fetch");
var app = getApp(); var app = getApp();
Component({ Component({
lifetimes: { lifetimes: {
...@@ -8,6 +9,7 @@ Component({ ...@@ -8,6 +9,7 @@ Component({
this.setData({ this.setData({
userInfo: app.globalData.userInfo, userInfo: app.globalData.userInfo,
}); });
this.fetchPlatformFee();
}, },
}, },
data: { data: {
...@@ -33,6 +35,20 @@ Component({ ...@@ -33,6 +35,20 @@ Component({
}, },
], ],
account: 0, account: 0,
platformFee: '0.00',
},
methods: {
fetchPlatformFee: function () {
fetch_1.operatorFetch({
url: '/operateBalance/unpaidMoney',
})
.then(function (res) {
console.log(res);
})
.catch(function (err) {
console.log(err);
});
},
}, },
});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iCcsXG4gICAgICAgIGljb246ICcuLi8uLi8uLi9pbWFnZXMvYnRuX2Zzbmt1aUAyeC5wbmcnLFxuICAgICAgICB1cmw6ICcvcGFnZXMvZmVlZGJhY2svZmVlZGJhY2snLFxuICAgICAgICByZUxhdW5jaDogZmFsc2UsXG4gICAgICB9LFxuICAgICAgLy8ge1xuICAgICAgLy8gICBuYW1lOiAn5pyN5Yqh6LS557y057qzJyxcbiAgICAgIC8vICAgaWNvbjogJy4uLy4uLy4uL2ltYWdlcy9idG5famlhb25hQDJ4LnBuZycsXG4gICAgICAvLyAgIHVybDogJycsXG4gICAgICAvLyAgIHJlTGF1bmNoOiBmYWxzZSxcbiAgICAgIC8vIH0sXG4gICAgICAvLyB7XG4gICAgICAvLyAgIG5hbWU6ICfotKbmiLfmj5DnjrAnLFxuICAgICAgLy8gICBpY29uOiAnLi4vLi4vLi4vaW1hZ2VzL2J0bl90aXhpYW5AMngucG5nJyxcbiAgICAgIC8vICAgdXJsOiAnJyxcbiAgICAgIC8vICAgcmVMYXVuY2g6IGZhbHNlLFxuICAgICAgLy8gfSxcbiAgICAgIHtcbiAgICAgICAgbmFtZTogJ+mAgOWHuueZu+W9lScsXG4gICAgICAgIGljb246ICcuLi8uLi8uLi9pbWFnZXMvYnRuX1NpZ25fb3V0QDJ4LnBuZycsXG4gICAgICAgIHVybDogJy9wYWdlcy9pbmRleC9pbmRleCcsXG4gICAgICAgIHJlTGF1bmNoOiB0cnVlLFxuICAgICAgfSxcbiAgICAgIC8vIHt9LFxuICAgICAgLy8ge30sXG4gICAgXSxcbiAgICBhY2NvdW50OiAwLFxuICB9LFxufSk7XG4iXX0= //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3J0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicmVwb3J0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EseUNBQWdEO0FBR2hELElBQU0sR0FBR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LFxuICAgICAgICB1cmw6ICcvcGFnZXMvaW5kZXgvaW5kZXgnLFxuICAgICAgICByZUxhdW5jaDogdHJ1ZSxcbiAgICAgIH0sXG4gICAgICAvLyB7fSxcbiAgICAgIC8vIHt9LFxuICAgIF0sXG4gICAgYWNjb3VudDogMCxcbiAgICBwbGF0Zm9ybUZlZTogJzAuMDAnLFxuICB9LFxuICBtZXRob2RzOiB7XG4gICAgZmV0Y2hQbGF0Zm9ybUZlZSgpIHtcbiAgICAgIG9wZXJhdG9yRmV0Y2goe1xuICAgICAgICB1cmw6ICcvb3BlcmF0ZUJhbGFuY2UvdW5wYWlkTW9uZXknLFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICB9KTtcbiAgICB9LFxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file \ No newline at end of file
import { IMyApp } from '../../app'; import { IMyApp } from '../../app';
import { operatorFetch } from '../../api/fetch';
// miniprogram/pages/report/report.js // miniprogram/pages/report/report.js
const app = getApp<IMyApp>(); const app = getApp<IMyApp>();
...@@ -9,6 +10,7 @@ Component({ ...@@ -9,6 +10,7 @@ Component({
this.setData!({ this.setData!({
userInfo: app.globalData.userInfo, userInfo: app.globalData.userInfo,
}); });
this.fetchPlatformFee();
}, },
}, },
/** /**
...@@ -57,5 +59,19 @@ Component({ ...@@ -57,5 +59,19 @@ Component({
// {}, // {},
], ],
account: 0, account: 0,
platformFee: '0.00',
},
methods: {
fetchPlatformFee() {
operatorFetch({
url: '/operateBalance/unpaidMoney',
})
.then(res => {
console.log(res);
})
.catch(err => {
console.log(err);
});
},
}, },
}); });
...@@ -24,6 +24,13 @@ ...@@ -24,6 +24,13 @@
<view class="report-header-accountItemValue">10000</view> <view class="report-header-accountItemValue">10000</view>
</view> </view>
</view> --> </view> -->
<view class="report-header-platform">
<view class="report-header-platform-info">
待缴纳服务费
<text class="report-header-platform-fee" selectable="false" space="false" decode="false">{{platformFee}}</text>
</view>
<button class="report-header-platform-btn" wx:if="{{platformFee>0}}">缴费</button>
</view>
<view class="report-header-bottom"></view> <view class="report-header-bottom"></view>
</view> </view>
<view class="report-nav"> <view class="report-nav">
......
...@@ -6,7 +6,37 @@ ...@@ -6,7 +6,37 @@
background-color: #f0f5ff; background-color: #f0f5ff;
padding: 20rpx 0 40rpx; padding: 20rpx 0 40rpx;
} }
.report-header-platform {
margin: 0 auto;
display: flex;
width: 674rpx;
height: 144rpx;
background-color: #6e8aff;
border-radius: 20px 20px 0 0;
color: #fff;
align-items: center;
}
.report-header-platform-info {
padding-left: 50rpx;
font-size: 28rpx;
flex: 1;
}
.report-header-platform-fee {
font-size: 36rpx;
margin-left: 20rpx;
}
.report-header-platform-btn {
margin-right: 50rpx;
font-size: 28rpx;
padding: 0 50rpx;
background-color: #fff;
color: #7086ff;
border-radius: 20rpx;
}
.report-header-platform-btn:active {
background-color: #eee;
color: #666;
}
.report-header-bottom { .report-header-bottom {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
......
...@@ -89,6 +89,20 @@ ...@@ -89,6 +89,20 @@
"id": -1, "id": -1,
"name": "userGrowth", "name": "userGrowth",
"pathName": "pages/userGrowth/userGrowth", "pathName": "pages/userGrowth/userGrowth",
"query": "",
"scene": null
},
{
"id": -1,
"name": "platformFee",
"pathName": "pages/platformFee/platformFee",
"query": "",
"scene": null
},
{
"id": -1,
"name": "platformFeeRecord",
"pathName": "pages/platformFeeRecord/platformFeeRecord",
"scene": null "scene": null
} }
] ]
......
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