修复报修问题

This commit is contained in:
java110 2021-01-24 17:37:46 +08:00
parent bbb1a0fa75
commit 490dfb1475
3 changed files with 5 additions and 4 deletions

View File

@ -104,8 +104,7 @@
<script> <script>
// pages/enterCommunity/enterCommunity.js // pages/enterCommunity/enterCommunity.js
import * as TanslateImage from '../../utils/translate-image.js' import * as TanslateImage from '../../utils/translate-image.js';
s
const context = require("../../context/Java110Context.js"); const context = require("../../context/Java110Context.js");
const constant = context.constant; const constant = context.constant;
const factory = context.factory; const factory = context.factory;

View File

@ -244,7 +244,8 @@
feeName: '物业费', feeName: '物业费',
receivedAmount: _receivedAmount, receivedAmount: _receivedAmount,
tradeType: _tradeType, tradeType: _tradeType,
appId: this.appId appId: this.appId,
endTime: this.formatEndTime
}; };
context.request({ context.request({
url: constant.url.preOrder, url: constant.url.preOrder,

View File

@ -199,6 +199,7 @@
let _data = { let _data = {
token: wx.getStorageSync('token') token: wx.getStorageSync('token')
} }
let that = this;
context.request({ context.request({
url: constant.url.userLogout, url: constant.url.userLogout,
header: context.getHeaders(), header: context.getHeaders(),
@ -217,7 +218,7 @@
if (wAppId != null && wAppId != undefined && wAppId != '') { if (wAppId != null && wAppId != undefined && wAppId != '') {
uni.setStorageSync(constant.mapping.W_APP_ID, wAppId); uni.setStorageSync(constant.mapping.W_APP_ID, wAppId);
} }
this.vc.navigateTo({ that.vc.navigateTo({
url: '/pages/login/login' url: '/pages/login/login'
}); });
}, },