生活缴费

pull/1/head
章文轩 3 years ago
parent 6550a40a4a
commit c10f4c5633

@ -272,8 +272,6 @@ class _Manager {
///id
String get articleReturnList => '/user/articleBorrow/findBorrowByUserId';
///list
String get dailyPaymentList => '/user/dailyPayment/list';
///
String get findEstatelsPament => '/user/dailyPayment/findEstateIsPayment';

@ -13,6 +13,7 @@ import 'package:aku_new_community/pages/goods_manage_page/select_borrow_return_p
import 'package:aku_new_community/pages/house_introduce/house_introduce.dart';
import 'package:aku_new_community/pages/industry_committee/industry_committee_page.dart';
import 'package:aku_new_community/pages/life_pay/life_pay_choose_page.dart';
import 'package:aku_new_community/pages/life_pay/life_pay_page.dart';
import 'package:aku_new_community/pages/one_alarm/widget/alarm_page.dart';
import 'package:aku_new_community/pages/opening_code_page/opening_code_page.dart';
import 'package:aku_new_community/pages/renovation_manage/new_renovation/new_renovation_page.dart';
@ -75,7 +76,7 @@ List<AO> appObjects = [
AO('开门码', R.ASSETS_ICONS_FUNC_KMM_PNG, () => OpeningCodePage()),
AO('访客邀请', R.ASSETS_ICONS_FUNC_FKYQ_PNG, () => VisitorAccessPage()),
AO('报事报修', R.ASSETS_ICONS_FUNC_BSBX_PNG, () => WorkOrderPage()),
AO('生活缴费', R.ASSETS_ICONS_FUNC_SHJF_PNG, () => LifePayChoosePage()),
AO('生活缴费', R.ASSETS_ICONS_FUNC_SHJF_PNG, () => LifePayPage()),
AO('业委会', R.ASSETS_ICONS_FUNC_YWH_PNG, () => IndustryCommitteePage()),
AO('建议咨询', R.ASSETS_ICONS_FUNC_JYZX_PNG,
() => AdvicePage(type: AdviceType.SUGGESTION)),

@ -34,6 +34,7 @@ class SAASAPI {
static _Information information = _Information();
static _WorkOrder workOrder = _WorkOrder();
static _Pay pay = _Pay();
static _LifePay lifePay = _LifePay();
///
static _ProfileApi profile = _ProfileApi();
@ -262,3 +263,14 @@ class _Pay {
///app
String get jcookOrderCheckAlipay => '/app/user/alipay/jcookOrderCheckAlipay';
}
class _LifePay{
///
String get livingExpensesList => '/app/user/livingExpenses/list';
///
String get paymentRecordList => '/app/user/livingExpenses/paymentRecord';
}

@ -2,6 +2,7 @@ import 'dart:convert';
import 'package:aku_new_community/base/base_style.dart';
import 'package:aku_new_community/constants/api.dart';
import 'package:aku_new_community/constants/saas_api.dart';
import 'package:aku_new_community/models/life_pay/life_pay_list_model.dart';
import 'package:aku_new_community/pages/life_pay/life_pay_record_page.dart';
import 'package:aku_new_community/pages/life_pay/life_pre_pay_page.dart';
@ -294,7 +295,7 @@ class _LifePayPageState extends State<LifePayPage> {
_page = 1;
_size = 10;
BaseListModel baseListModel = await NetUtil()
.getList(API.manager.dailyPaymentList, params: {
.getList(SAASAPI.lifePay.livingExpensesList, params: {
"pageNum": _page,
"size": _size,
'estateId': appProvider.selectedHouse!.estateId
@ -331,7 +332,7 @@ class _LifePayPageState extends State<LifePayPage> {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
'缴费账单'.text.color(ktextPrimary).size(28.sp).make(),
'当前账单'.text.color(ktextPrimary).size(28.sp).make(),
...List.generate(_models.length,
(index) => _buildCard(_models[index], index))
.sepWidget(separate: BeeDivider.horizontal()),

@ -60,7 +60,8 @@ class HouseHeadCard extends StatelessWidget {
.bold
.make(),
10.w.heightBox,
appProvider.selectedHouse!.roomName.text.black
(appProvider.selectedHouse!=null?appProvider.selectedHouse!.roomName:'').text.black
.size(32.sp)
.bold
.make()

Loading…
Cancel
Save