|
|
|
@ -2,9 +2,11 @@ import 'dart:io';
|
|
|
|
|
|
|
|
|
|
import 'package:aku_new_community/constants/saas_api.dart';
|
|
|
|
|
import 'package:aku_new_community/extensions/num_ext.dart';
|
|
|
|
|
import 'package:aku_new_community/provider/user_provider.dart';
|
|
|
|
|
import 'package:aku_new_community/saas_model/work_order/work_order_type_model.dart';
|
|
|
|
|
import 'package:aku_new_community/ui/function_and_service/work_order/work_order_func.dart';
|
|
|
|
|
import 'package:aku_new_community/ui/function_and_service/work_order/work_order_remark_page.dart';
|
|
|
|
|
import 'package:aku_new_community/ui/profile/new_house/my_house_page.dart';
|
|
|
|
|
import 'package:aku_new_community/utils/network/net_util.dart';
|
|
|
|
|
import 'package:aku_new_community/widget/beeImageNetwork.dart';
|
|
|
|
|
import 'package:aku_new_community/widget/bee_divider.dart';
|
|
|
|
@ -20,6 +22,7 @@ import 'package:flutter/cupertino.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
|
import 'package:get/get.dart';
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
import 'package:velocity_x/src/extensions/string_ext.dart';
|
|
|
|
|
|
|
|
|
|
class PublishWorkOrderPage extends StatefulWidget {
|
|
|
|
@ -54,13 +57,20 @@ class _PublishWorkOrderPageState extends State<PublishWorkOrderPage> {
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
UserProvider userProvider = Provider.of<UserProvider>(context);
|
|
|
|
|
return BeeScaffold(
|
|
|
|
|
title: '发布工单',
|
|
|
|
|
body: SafeArea(
|
|
|
|
|
child: ListView(
|
|
|
|
|
children: [
|
|
|
|
|
2.hb,
|
|
|
|
|
Container(
|
|
|
|
|
GestureDetector(
|
|
|
|
|
onTap: () {
|
|
|
|
|
Get.to(MyHousePage());
|
|
|
|
|
},
|
|
|
|
|
child: Material(
|
|
|
|
|
color: Colors.transparent,
|
|
|
|
|
child: Container(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
height: 164.w,
|
|
|
|
@ -72,7 +82,8 @@ class _PublishWorkOrderPageState extends State<PublishWorkOrderPage> {
|
|
|
|
|
child: BeeImageNetwork(
|
|
|
|
|
width: 100.w,
|
|
|
|
|
height: 100.w,
|
|
|
|
|
imgs: UserTool.userProvider.userInfoModel?.imgList ?? [],
|
|
|
|
|
imgs: UserTool.userProvider.userInfoModel?.imgList ??
|
|
|
|
|
[],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
16.wb,
|
|
|
|
@ -85,7 +96,7 @@ class _PublishWorkOrderPageState extends State<PublishWorkOrderPage> {
|
|
|
|
|
.color(Colors.black.withOpacity(0.85))
|
|
|
|
|
.make(),
|
|
|
|
|
Spacer(),
|
|
|
|
|
'租户 | 绿城·碧桂园3栋14单元104室'
|
|
|
|
|
'${userProvider.defaultHouseString}'
|
|
|
|
|
.text
|
|
|
|
|
.size(24.sp)
|
|
|
|
|
.color(Colors.black.withOpacity(0.45))
|
|
|
|
@ -93,16 +104,16 @@ class _PublishWorkOrderPageState extends State<PublishWorkOrderPage> {
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Spacer(),
|
|
|
|
|
GestureDetector(
|
|
|
|
|
onTap: () {},
|
|
|
|
|
child: Icon(
|
|
|
|
|
Icon(
|
|
|
|
|
CupertinoIcons.chevron_right,
|
|
|
|
|
color: Colors.black.withOpacity(0.25),
|
|
|
|
|
size: 32.w,
|
|
|
|
|
)),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
20.hb,
|
|
|
|
|
_baseInfo(context),
|
|
|
|
|
],
|
|
|
|
|