diff --git a/assets/icons/manager_order_cancel.png b/assets/icons/manager_order_cancel.png new file mode 100644 index 00000000..81901278 Binary files /dev/null and b/assets/icons/manager_order_cancel.png differ diff --git a/assets/icons/manager_phone_call.png b/assets/icons/manager_phone_call.png new file mode 100644 index 00000000..4bc6dedf Binary files /dev/null and b/assets/icons/manager_phone_call.png differ diff --git a/lib/const/resource.dart b/lib/const/resource.dart index aeb32a6d..8f052af2 100644 --- a/lib/const/resource.dart +++ b/lib/const/resource.dart @@ -1,466 +1,412 @@ /// Generate by [resource_generator](https://github.com/CaiJingLong/flutter_resource_generator) library. /// PLEASE DO NOT EDIT MANUALLY. class R { - const R._(); - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/QR_code.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/QR_code.png) static const String ASSETS_EXAMPLE_QR_CODE_PNG = 'assets/example/QR_code.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/bg1.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/bg1.png) static const String ASSETS_EXAMPLE_BG1_PNG = 'assets/example/bg1.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/bg2.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/bg2.png) static const String ASSETS_EXAMPLE_BG2_PNG = 'assets/example/bg2.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/bg3.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/bg3.png) static const String ASSETS_EXAMPLE_BG3_PNG = 'assets/example/bg3.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/bg4.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/bg4.png) static const String ASSETS_EXAMPLE_BG4_PNG = 'assets/example/bg4.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/good.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/good.png) static const String ASSETS_EXAMPLE_GOOD_PNG = 'assets/example/good.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/guanggao1.png) - static const String ASSETS_EXAMPLE_GUANGGAO1_PNG = - 'assets/example/guanggao1.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/example/guanggao1.png) + static const String ASSETS_EXAMPLE_GUANGGAO1_PNG = 'assets/example/guanggao1.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/guanggao2.png) - static const String ASSETS_EXAMPLE_GUANGGAO2_PNG = - 'assets/example/guanggao2.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/example/guanggao2.png) + static const String ASSETS_EXAMPLE_GUANGGAO2_PNG = 'assets/example/guanggao2.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/guanggao3.png) - static const String ASSETS_EXAMPLE_GUANGGAO3_PNG = - 'assets/example/guanggao3.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/example/guanggao3.png) + static const String ASSETS_EXAMPLE_GUANGGAO3_PNG = 'assets/example/guanggao3.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/guanggao4.png) - static const String ASSETS_EXAMPLE_GUANGGAO4_PNG = - 'assets/example/guanggao4.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/example/guanggao4.png) + static const String ASSETS_EXAMPLE_GUANGGAO4_PNG = 'assets/example/guanggao4.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/guanggao5.png) - static const String ASSETS_EXAMPLE_GUANGGAO5_PNG = - 'assets/example/guanggao5.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/example/guanggao5.png) + static const String ASSETS_EXAMPLE_GUANGGAO5_PNG = 'assets/example/guanggao5.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/guanggao6.png) - static const String ASSETS_EXAMPLE_GUANGGAO6_PNG = - 'assets/example/guanggao6.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/example/guanggao6.png) + static const String ASSETS_EXAMPLE_GUANGGAO6_PNG = 'assets/example/guanggao6.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/guanggao7.png) - static const String ASSETS_EXAMPLE_GUANGGAO7_PNG = - 'assets/example/guanggao7.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/example/guanggao7.png) + static const String ASSETS_EXAMPLE_GUANGGAO7_PNG = 'assets/example/guanggao7.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/header.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/header.png) static const String ASSETS_EXAMPLE_HEADER_PNG = 'assets/example/header.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/jiaoshijie.png) - static const String ASSETS_EXAMPLE_JIAOSHIJIE_PNG = - 'assets/example/jiaoshijie.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/example/jiaoshijie.png) + static const String ASSETS_EXAMPLE_JIAOSHIJIE_PNG = 'assets/example/jiaoshijie.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/kuzi.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/kuzi.png) static const String ASSETS_EXAMPLE_KUZI_PNG = 'assets/example/kuzi.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/mine_header.png) - static const String ASSETS_EXAMPLE_MINE_HEADER_PNG = - 'assets/example/mine_header.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/example/mine_header.png) + static const String ASSETS_EXAMPLE_MINE_HEADER_PNG = 'assets/example/mine_header.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/topic1.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/topic1.png) static const String ASSETS_EXAMPLE_TOPIC1_PNG = 'assets/example/topic1.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/topic2.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/topic2.png) static const String ASSETS_EXAMPLE_TOPIC2_PNG = 'assets/example/topic2.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/topic3.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/topic3.png) static const String ASSETS_EXAMPLE_TOPIC3_PNG = 'assets/example/topic3.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/touxiang1.png) - static const String ASSETS_EXAMPLE_TOUXIANG1_PNG = - 'assets/example/touxiang1.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/example/touxiang1.png) + static const String ASSETS_EXAMPLE_TOUXIANG1_PNG = 'assets/example/touxiang1.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/touxiang2.png) - static const String ASSETS_EXAMPLE_TOUXIANG2_PNG = - 'assets/example/touxiang2.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/example/touxiang2.png) + static const String ASSETS_EXAMPLE_TOUXIANG2_PNG = 'assets/example/touxiang2.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/touxiang3.jpeg) - static const String ASSETS_EXAMPLE_TOUXIANG3_JPEG = - 'assets/example/touxiang3.jpeg'; + /// ![preview](file:///Users/apple/akuCommunity/assets/example/touxiang3.jpeg) + static const String ASSETS_EXAMPLE_TOUXIANG3_JPEG = 'assets/example/touxiang3.jpeg'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/tz1.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/tz1.png) static const String ASSETS_EXAMPLE_TZ1_PNG = 'assets/example/tz1.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/tz2.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/tz2.png) static const String ASSETS_EXAMPLE_TZ2_PNG = 'assets/example/tz2.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/tz3.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/tz3.png) static const String ASSETS_EXAMPLE_TZ3_PNG = 'assets/example/tz3.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/xiezi.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/xiezi.png) static const String ASSETS_EXAMPLE_XIEZI_PNG = 'assets/example/xiezi.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/yifu.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/yifu.png) static const String ASSETS_EXAMPLE_YIFU_PNG = 'assets/example/yifu.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/example/yifu1.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/example/yifu1.png) static const String ASSETS_EXAMPLE_YIFU1_PNG = 'assets/example/yifu1.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/add.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/add.png) static const String ASSETS_ICONS_ADD_PNG = 'assets/icons/add.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/app_add.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/app_add.png) static const String ASSETS_ICONS_APP_ADD_PNG = 'assets/icons/app_add.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/app_reduce.png) - static const String ASSETS_ICONS_APP_REDUCE_PNG = - 'assets/icons/app_reduce.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/app_reduce.png) + static const String ASSETS_ICONS_APP_REDUCE_PNG = 'assets/icons/app_reduce.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/comment_notice.png) - static const String ASSETS_ICONS_COMMENT_NOTICE_PNG = - 'assets/icons/comment_notice.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/comment_notice.png) + static const String ASSETS_ICONS_COMMENT_NOTICE_PNG = 'assets/icons/comment_notice.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/complaint.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/complaint.png) static const String ASSETS_ICONS_COMPLAINT_PNG = 'assets/icons/complaint.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/consult.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/consult.png) static const String ASSETS_ICONS_CONSULT_PNG = 'assets/icons/consult.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/groupbuy_tab_selected.png) - static const String ASSETS_ICONS_GROUPBUY_TAB_SELECTED_PNG = - 'assets/icons/groupbuy_tab_selected.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/groupbuy_tab_selected.png) + static const String ASSETS_ICONS_GROUPBUY_TAB_SELECTED_PNG = 'assets/icons/groupbuy_tab_selected.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/groupbuy_tab_unselected.png) - static const String ASSETS_ICONS_GROUPBUY_TAB_UNSELECTED_PNG = - 'assets/icons/groupbuy_tab_unselected.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/groupbuy_tab_unselected.png) + static const String ASSETS_ICONS_GROUPBUY_TAB_UNSELECTED_PNG = 'assets/icons/groupbuy_tab_unselected.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/house.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/house.png) static const String ASSETS_ICONS_HOUSE_PNG = 'assets/icons/house.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/icon_notification.png) - static const String ASSETS_ICONS_ICON_NOTIFICATION_PNG = - 'assets/icons/icon_notification.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/icon_notification.png) + static const String ASSETS_ICONS_ICON_NOTIFICATION_PNG = 'assets/icons/icon_notification.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/img_add.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/img_add.png) static const String ASSETS_ICONS_IMG_ADD_PNG = 'assets/icons/img_add.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/like.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/like.png) static const String ASSETS_ICONS_LIKE_PNG = 'assets/icons/like.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/location.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/location.png) static const String ASSETS_ICONS_LOCATION_PNG = 'assets/icons/location.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/market_tab_selected.png) - static const String ASSETS_ICONS_MARKET_TAB_SELECTED_PNG = - 'assets/icons/market_tab_selected.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/manager_order_cancel.png) + static const String ASSETS_ICONS_MANAGER_ORDER_CANCEL_PNG = 'assets/icons/manager_order_cancel.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/market_tab_unselected.png) - static const String ASSETS_ICONS_MARKET_TAB_UNSELECTED_PNG = - 'assets/icons/market_tab_unselected.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/manager_phone_call.png) + static const String ASSETS_ICONS_MANAGER_PHONE_CALL_PNG = 'assets/icons/manager_phone_call.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/phone.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/market_tab_selected.png) + static const String ASSETS_ICONS_MARKET_TAB_SELECTED_PNG = 'assets/icons/market_tab_selected.png'; + + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/market_tab_unselected.png) + static const String ASSETS_ICONS_MARKET_TAB_UNSELECTED_PNG = 'assets/icons/market_tab_unselected.png'; + + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/phone.png) static const String ASSETS_ICONS_PHONE_PNG = 'assets/icons/phone.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/property.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/property.png) static const String ASSETS_ICONS_PROPERTY_PNG = 'assets/icons/property.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/proposal.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/proposal.png) static const String ASSETS_ICONS_PROPOSAL_PNG = 'assets/icons/proposal.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/report.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/report.png) static const String ASSETS_ICONS_REPORT_PNG = 'assets/icons/report.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/shield_content.png) - static const String ASSETS_ICONS_SHIELD_CONTENT_PNG = - 'assets/icons/shield_content.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/shield_content.png) + static const String ASSETS_ICONS_SHIELD_CONTENT_PNG = 'assets/icons/shield_content.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/shield_user.png) - static const String ASSETS_ICONS_SHIELD_USER_PNG = - 'assets/icons/shield_user.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/shield_user.png) + static const String ASSETS_ICONS_SHIELD_USER_PNG = 'assets/icons/shield_user.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/shop_notice.png) - static const String ASSETS_ICONS_SHOP_NOTICE_PNG = - 'assets/icons/shop_notice.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/shop_notice.png) + static const String ASSETS_ICONS_SHOP_NOTICE_PNG = 'assets/icons/shop_notice.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/system_notice.png) - static const String ASSETS_ICONS_SYSTEM_NOTICE_PNG = - 'assets/icons/system_notice.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/system_notice.png) + static const String ASSETS_ICONS_SYSTEM_NOTICE_PNG = 'assets/icons/system_notice.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tabbar_home.png) - static const String ASSETS_ICONS_TABBAR_HOME_PNG = - 'assets/icons/tabbar_home.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tabbar_home.png) + static const String ASSETS_ICONS_TABBAR_HOME_PNG = 'assets/icons/tabbar_home.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tabbar_home_no.png) - static const String ASSETS_ICONS_TABBAR_HOME_NO_PNG = - 'assets/icons/tabbar_home_no.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tabbar_home_no.png) + static const String ASSETS_ICONS_TABBAR_HOME_NO_PNG = 'assets/icons/tabbar_home_no.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tabbar_house.png) - static const String ASSETS_ICONS_TABBAR_HOUSE_PNG = - 'assets/icons/tabbar_house.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tabbar_house.png) + static const String ASSETS_ICONS_TABBAR_HOUSE_PNG = 'assets/icons/tabbar_house.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tabbar_house_no.png) - static const String ASSETS_ICONS_TABBAR_HOUSE_NO_PNG = - 'assets/icons/tabbar_house_no.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tabbar_house_no.png) + static const String ASSETS_ICONS_TABBAR_HOUSE_NO_PNG = 'assets/icons/tabbar_house_no.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tabbar_market.png) - static const String ASSETS_ICONS_TABBAR_MARKET_PNG = - 'assets/icons/tabbar_market.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tabbar_market.png) + static const String ASSETS_ICONS_TABBAR_MARKET_PNG = 'assets/icons/tabbar_market.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tabbar_market_no.png) - static const String ASSETS_ICONS_TABBAR_MARKET_NO_PNG = - 'assets/icons/tabbar_market_no.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tabbar_market_no.png) + static const String ASSETS_ICONS_TABBAR_MARKET_NO_PNG = 'assets/icons/tabbar_market_no.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tabbar_message.png) - static const String ASSETS_ICONS_TABBAR_MESSAGE_PNG = - 'assets/icons/tabbar_message.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tabbar_message.png) + static const String ASSETS_ICONS_TABBAR_MESSAGE_PNG = 'assets/icons/tabbar_message.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tabbar_message_no.png) - static const String ASSETS_ICONS_TABBAR_MESSAGE_NO_PNG = - 'assets/icons/tabbar_message_no.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tabbar_message_no.png) + static const String ASSETS_ICONS_TABBAR_MESSAGE_NO_PNG = 'assets/icons/tabbar_message_no.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tabbar_user.png) - static const String ASSETS_ICONS_TABBAR_USER_PNG = - 'assets/icons/tabbar_user.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tabbar_user.png) + static const String ASSETS_ICONS_TABBAR_USER_PNG = 'assets/icons/tabbar_user.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tabbar_user_no.png) - static const String ASSETS_ICONS_TABBAR_USER_NO_PNG = - 'assets/icons/tabbar_user_no.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tabbar_user_no.png) + static const String ASSETS_ICONS_TABBAR_USER_NO_PNG = 'assets/icons/tabbar_user_no.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_bmdh.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_bmdh.png) static const String ASSETS_ICONS_TOOL_BMDH_PNG = 'assets/icons/tool_bmdh.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_bmts.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_bmts.png) static const String ASSETS_ICONS_TOOL_BMTS_PNG = 'assets/icons/tool_bmts.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_bsbx.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_bsbx.png) static const String ASSETS_ICONS_TOOL_BSBX_PNG = 'assets/icons/tool_bsbx.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_czxs.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_czxs.png) static const String ASSETS_ICONS_TOOL_CZXS_PNG = 'assets/icons/tool_czxs.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_fkyq.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_fkyq.png) static const String ASSETS_ICONS_TOOL_FKYQ_PNG = 'assets/icons/tool_fkyq.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_fsxb.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_fsxb.png) static const String ASSETS_ICONS_TOOL_FSXB_PNG = 'assets/icons/tool_fsxb.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_hdtp.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_hdtp.png) static const String ASSETS_ICONS_TOOL_HDTP_PNG = 'assets/icons/tool_hdtp.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_jhgl.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_jhgl.png) static const String ASSETS_ICONS_TOOL_JHGL_PNG = 'assets/icons/tool_jhgl.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_jjsh.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_jjsh.png) static const String ASSETS_ICONS_TOOL_JJSH_PNG = 'assets/icons/tool_jjsh.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_jyts.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_jyts.png) static const String ASSETS_ICONS_TOOL_JYTS_PNG = 'assets/icons/tool_jyts.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_kmm.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_kmm.png) static const String ASSETS_ICONS_TOOL_KMM_PNG = 'assets/icons/tool_kmm.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_mywj.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_mywj.png) static const String ASSETS_ICONS_TOOL_MYWJ_PNG = 'assets/icons/tool_mywj.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_qbyy.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_qbyy.png) static const String ASSETS_ICONS_TOOL_QBYY_PNG = 'assets/icons/tool_qbyy.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_shjf.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_shjf.png) static const String ASSETS_ICONS_TOOL_SHJF_PNG = 'assets/icons/tool_shjf.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_smjd.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_smjd.png) static const String ASSETS_ICONS_TOOL_SMJD_PNG = 'assets/icons/tool_smjd.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_tsby.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_tsby.png) static const String ASSETS_ICONS_TOOL_TSBY_PNG = 'assets/icons/tool_tsby.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_wjdc.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_wjdc.png) static const String ASSETS_ICONS_TOOL_WJDC_PNG = 'assets/icons/tool_wjdc.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_wpcm.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_wpcm.png) static const String ASSETS_ICONS_TOOL_WPCM_PNG = 'assets/icons/tool_wpcm.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_xxfs.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_xxfs.png) static const String ASSETS_ICONS_TOOL_XXFS_PNG = 'assets/icons/tool_xxfs.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_yjbj.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_yjbj.png) static const String ASSETS_ICONS_TOOL_YJBJ_PNG = 'assets/icons/tool_yjbj.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_yjkm.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_yjkm.png) static const String ASSETS_ICONS_TOOL_YJKM_PNG = 'assets/icons/tool_yjkm.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_yljs.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_yljs.png) static const String ASSETS_ICONS_TOOL_YLJS_PNG = 'assets/icons/tool_yljs.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_ywh.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_ywh.png) static const String ASSETS_ICONS_TOOL_YWH_PNG = 'assets/icons/tool_ywh.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_zbbj.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_zbbj.png) static const String ASSETS_ICONS_TOOL_ZBBJ_PNG = 'assets/icons/tool_zbbj.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/tool_zxgl.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/tool_zxgl.png) static const String ASSETS_ICONS_TOOL_ZXGL_PNG = 'assets/icons/tool_zxgl.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_dfh.png) - static const String ASSETS_ICONS_USER_ICON_DFH_PNG = - 'assets/icons/user_icon_dfh.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_dfh.png) + static const String ASSETS_ICONS_USER_ICON_DFH_PNG = 'assets/icons/user_icon_dfh.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_dfk.png) - static const String ASSETS_ICONS_USER_ICON_DFK_PNG = - 'assets/icons/user_icon_dfk.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_dfk.png) + static const String ASSETS_ICONS_USER_ICON_DFK_PNG = 'assets/icons/user_icon_dfk.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_dpj.png) - static const String ASSETS_ICONS_USER_ICON_DPJ_PNG = - 'assets/icons/user_icon_dpj.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_dpj.png) + static const String ASSETS_ICONS_USER_ICON_DPJ_PNG = 'assets/icons/user_icon_dpj.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_dsh.png) - static const String ASSETS_ICONS_USER_ICON_DSH_PNG = - 'assets/icons/user_icon_dsh.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_dsh.png) + static const String ASSETS_ICONS_USER_ICON_DSH_PNG = 'assets/icons/user_icon_dsh.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_sh.png) - static const String ASSETS_ICONS_USER_ICON_SH_PNG = - 'assets/icons/user_icon_sh.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_sh.png) + static const String ASSETS_ICONS_USER_ICON_SH_PNG = 'assets/icons/user_icon_sh.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_sz.png) - static const String ASSETS_ICONS_USER_ICON_SZ_PNG = - 'assets/icons/user_icon_sz.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_sz.png) + static const String ASSETS_ICONS_USER_ICON_SZ_PNG = 'assets/icons/user_icon_sz.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_vip.png) - static const String ASSETS_ICONS_USER_ICON_VIP_PNG = - 'assets/icons/user_icon_vip.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_vip.png) + static const String ASSETS_ICONS_USER_ICON_VIP_PNG = 'assets/icons/user_icon_vip.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_wdbx.png) - static const String ASSETS_ICONS_USER_ICON_WDBX_PNG = - 'assets/icons/user_icon_wdbx.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_wdbx.png) + static const String ASSETS_ICONS_USER_ICON_WDBX_PNG = 'assets/icons/user_icon_wdbx.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_wdc.png) - static const String ASSETS_ICONS_USER_ICON_WDC_PNG = - 'assets/icons/user_icon_wdc.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_wdc.png) + static const String ASSETS_ICONS_USER_ICON_WDC_PNG = 'assets/icons/user_icon_wdc.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_wdcw.png) - static const String ASSETS_ICONS_USER_ICON_WDCW_PNG = - 'assets/icons/user_icon_wdcw.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_wdcw.png) + static const String ASSETS_ICONS_USER_ICON_WDCW_PNG = 'assets/icons/user_icon_wdcw.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_wddz.png) - static const String ASSETS_ICONS_USER_ICON_WDDZ_PNG = - 'assets/icons/user_icon_wddz.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_wddz.png) + static const String ASSETS_ICONS_USER_ICON_WDDZ_PNG = 'assets/icons/user_icon_wddz.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_wdfk.png) - static const String ASSETS_ICONS_USER_ICON_WDFK_PNG = - 'assets/icons/user_icon_wdfk.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_wdfk.png) + static const String ASSETS_ICONS_USER_ICON_WDFK_PNG = 'assets/icons/user_icon_wdfk.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_wdfw.png) - static const String ASSETS_ICONS_USER_ICON_WDFW_PNG = - 'assets/icons/user_icon_wdfw.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_wdfw.png) + static const String ASSETS_ICONS_USER_ICON_WDFW_PNG = 'assets/icons/user_icon_wdfw.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_wdgj.png) - static const String ASSETS_ICONS_USER_ICON_WDGJ_PNG = - 'assets/icons/user_icon_wdgj.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_wdgj.png) + static const String ASSETS_ICONS_USER_ICON_WDGJ_PNG = 'assets/icons/user_icon_wdgj.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_wdjf.png) - static const String ASSETS_ICONS_USER_ICON_WDJF_PNG = - 'assets/icons/user_icon_wdjf.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_wdjf.png) + static const String ASSETS_ICONS_USER_ICON_WDJF_PNG = 'assets/icons/user_icon_wdjf.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/icons/user_icon_wdsqhd.png) - static const String ASSETS_ICONS_USER_ICON_WDSQHD_PNG = - 'assets/icons/user_icon_wdsqhd.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/icons/user_icon_wdsqhd.png) + static const String ASSETS_ICONS_USER_ICON_WDSQHD_PNG = 'assets/icons/user_icon_wdsqhd.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/application.png) - static const String ASSETS_IMAGES_APPLICATION_PNG = - 'assets/images/application.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/images/application.png) + static const String ASSETS_IMAGES_APPLICATION_PNG = 'assets/images/application.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/car_header.png) - static const String ASSETS_IMAGES_CAR_HEADER_PNG = - 'assets/images/car_header.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/images/car_header.png) + static const String ASSETS_IMAGES_CAR_HEADER_PNG = 'assets/images/car_header.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/code_logo.png) - static const String ASSETS_IMAGES_CODE_LOGO_PNG = - 'assets/images/code_logo.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/images/code_logo.png) + static const String ASSETS_IMAGES_CODE_LOGO_PNG = 'assets/images/code_logo.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/commitment.png) - static const String ASSETS_IMAGES_COMMITMENT_PNG = - 'assets/images/commitment.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/images/commitment.png) + static const String ASSETS_IMAGES_COMMITMENT_PNG = 'assets/images/commitment.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/drawings.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/images/drawings.png) static const String ASSETS_IMAGES_DRAWINGS_PNG = 'assets/images/drawings.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/house_attestation.png) - static const String ASSETS_IMAGES_HOUSE_ATTESTATION_PNG = - 'assets/images/house_attestation.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/images/house_attestation.png) + static const String ASSETS_IMAGES_HOUSE_ATTESTATION_PNG = 'assets/images/house_attestation.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/house_header.png) - static const String ASSETS_IMAGES_HOUSE_HEADER_PNG = - 'assets/images/house_header.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/images/house_header.png) + static const String ASSETS_IMAGES_HOUSE_HEADER_PNG = 'assets/images/house_header.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/license.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/images/license.png) static const String ASSETS_IMAGES_LICENSE_PNG = 'assets/images/license.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/license_back.png) - static const String ASSETS_IMAGES_LICENSE_BACK_PNG = - 'assets/images/license_back.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/images/license_back.png) + static const String ASSETS_IMAGES_LICENSE_BACK_PNG = 'assets/images/license_back.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/lock.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/images/lock.png) static const String ASSETS_IMAGES_LOCK_PNG = 'assets/images/lock.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/logo.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/images/logo.png) static const String ASSETS_IMAGES_LOGO_PNG = 'assets/images/logo.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/member_bg.png) - static const String ASSETS_IMAGES_MEMBER_BG_PNG = - 'assets/images/member_bg.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/images/member_bg.png) + static const String ASSETS_IMAGES_MEMBER_BG_PNG = 'assets/images/member_bg.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/mine_bg.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/images/mine_bg.png) static const String ASSETS_IMAGES_MINE_BG_PNG = 'assets/images/mine_bg.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/open_door.png) - static const String ASSETS_IMAGES_OPEN_DOOR_PNG = - 'assets/images/open_door.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/images/open_door.png) + static const String ASSETS_IMAGES_OPEN_DOOR_PNG = 'assets/images/open_door.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/phone_logo.png) - static const String ASSETS_IMAGES_PHONE_LOGO_PNG = - 'assets/images/phone_logo.png'; + /// ![preview](file:///Users/apple/akuCommunity/assets/images/phone_logo.png) + static const String ASSETS_IMAGES_PHONE_LOGO_PNG = 'assets/images/phone_logo.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/white.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/images/white.png) static const String ASSETS_IMAGES_WHITE_PNG = 'assets/images/white.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/images/wxpay.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/images/wxpay.png) static const String ASSETS_IMAGES_WXPAY_PNG = 'assets/images/wxpay.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/json/czxs.json) + /// ![preview](file:///Users/apple/akuCommunity/assets/json/czxs.json) static const String ASSETS_JSON_CZXS_JSON = 'assets/json/czxs.json'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/json/fsxb.json) + /// ![preview](file:///Users/apple/akuCommunity/assets/json/fsxb.json) static const String ASSETS_JSON_FSXB_JSON = 'assets/json/fsxb.json'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/json/jjsh.json) + /// ![preview](file:///Users/apple/akuCommunity/assets/json/jjsh.json) static const String ASSETS_JSON_JJSH_JSON = 'assets/json/jjsh.json'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/json/mywj.json) + /// ![preview](file:///Users/apple/akuCommunity/assets/json/mywj.json) static const String ASSETS_JSON_MYWJ_JSON = 'assets/json/mywj.json'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/json/shop.json) + /// ![preview](file:///Users/apple/akuCommunity/assets/json/shop.json) static const String ASSETS_JSON_SHOP_JSON = 'assets/json/shop.json'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/json/shopclass.json) + /// ![preview](file:///Users/apple/akuCommunity/assets/json/shopclass.json) static const String ASSETS_JSON_SHOPCLASS_JSON = 'assets/json/shopclass.json'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/json/smjd.json) + /// ![preview](file:///Users/apple/akuCommunity/assets/json/smjd.json) static const String ASSETS_JSON_SMJD_JSON = 'assets/json/smjd.json'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/json/xxfs.json) + /// ![preview](file:///Users/apple/akuCommunity/assets/json/xxfs.json) static const String ASSETS_JSON_XXFS_JSON = 'assets/json/xxfs.json'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/json/yljs.json) + /// ![preview](file:///Users/apple/akuCommunity/assets/json/yljs.json) static const String ASSETS_JSON_YLJS_JSON = 'assets/json/yljs.json'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/json/zbbj.json) + /// ![preview](file:///Users/apple/akuCommunity/assets/json/zbbj.json) static const String ASSETS_JSON_ZBBJ_JSON = 'assets/json/zbbj.json'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/tab/bkjh.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/tab/bkjh.png) static const String ASSETS_TAB_BKJH_PNG = 'assets/tab/bkjh.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/tab/kbhw.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/tab/kbhw.png) static const String ASSETS_TAB_KBHW_PNG = 'assets/tab/kbhw.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/tab/nanz.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/tab/nanz.png) static const String ASSETS_TAB_NANZ_PNG = 'assets/tab/nanz.png'; - /// ![preview](file:///Users/akufe/Documents/akuCommunity/assets/tab/nvz.png) + /// ![preview](file:///Users/apple/akuCommunity/assets/tab/nvz.png) static const String ASSETS_TAB_NVZ_PNG = 'assets/tab/nvz.png'; } diff --git a/lib/model/manager/fixed_detail_model.dart b/lib/model/manager/fixed_detail_model.dart index c3975c6e..16f25eb4 100644 --- a/lib/model/manager/fixed_detail_model.dart +++ b/lib/model/manager/fixed_detail_model.dart @@ -2,7 +2,7 @@ class FixedDetailModel { AppReportRepairVo appReportRepairVo; List appProcessRecordVo; Null appMaintenanceResultVo; - List appDispatchListVo; + AppDispatchListVo appDispatchListVo; FixedDetailModel( {this.appReportRepairVo, @@ -21,12 +21,9 @@ class FixedDetailModel { }); } appMaintenanceResultVo = json['appMaintenanceResultVo']; - if (json['appDispatchListVo'] != null) { - appDispatchListVo = new List(); - json['appDispatchListVo'].forEach((v) { - appDispatchListVo.add(new AppDispatchListVo.fromJson(v)); - }); - } + appDispatchListVo = json['appDispatchListVo'] != null + ? new AppDispatchListVo.fromJson(json['appDispatchListVo']) + : null; } Map toJson() { @@ -40,8 +37,7 @@ class FixedDetailModel { } data['appMaintenanceResultVo'] = this.appMaintenanceResultVo; if (this.appDispatchListVo != null) { - data['appDispatchListVo'] = - this.appDispatchListVo.map((v) => v.toJson()).toList(); + data['appDispatchListVo'] = this.appDispatchListVo.toJson(); } return data; } @@ -131,7 +127,7 @@ class AppProcessRecordVo { } class AppDispatchListVo { - int code; + String code; String orderDate; int type; String operatorName; diff --git a/lib/pages/things_page/widget/fixed_detail_page.dart b/lib/pages/things_page/widget/fixed_detail_page.dart index 454f9a7d..bd035c3d 100644 --- a/lib/pages/things_page/widget/fixed_detail_page.dart +++ b/lib/pages/things_page/widget/fixed_detail_page.dart @@ -31,7 +31,9 @@ class FixedDetailPage extends StatefulWidget { class _FixedDetailPageState extends State { bool _onLoading = true; EasyRefreshController _easyRefreshController; - FixedDetailModel _model; + FixedDetailModel _model = FixedDetailModel(); + bool get showRepairCard => _model?.appDispatchListVo != null; + bool get showProcessCard => _model.appProcessRecordVo.isNotEmpty; Color _getColor(int state) { switch (state) { case 1: @@ -117,26 +119,195 @@ class _FixedDetailPageState extends State { return Container(); } -Widget _reparCard(){ - return Container( - padding: EdgeInsets.symmetric( - horizontal: 28.w, - vertical: 24.w - ), - decoration: BoxDecoration( - color: kForeGroundColor, - borderRadius: BorderRadius.circular(8.w) - ), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - '维修信息'.text.black.size(32.sp).bold.make(), - 24.w.heightBox, - BeeDivider.horizontal() - ], - ), - ); -} + Widget _reparCard(FixedDetailModel model) { + return Container( + padding: EdgeInsets.symmetric(horizontal: 28.w, vertical: 24.w), + decoration: BoxDecoration( + color: kForeGroundColor, borderRadius: BorderRadius.circular(8.w)), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + '维修信息'.text.black.size(32.sp).bold.make(), + 24.w.heightBox, + BeeDivider.horizontal(), + 24.w.heightBox, + Column( + children: [ + Row( + children: [ + '订单编号'.text.color(ktextSubColor).size(28.sp).make(), + Spacer(), + model.appDispatchListVo.code.text.black.size(28.sp).make(), + ], + ), + Row( + children: [ + '下单时间'.text.color(ktextSubColor).size(28.sp).make(), + Spacer(), + model.appDispatchListVo.orderDate.text.black + .size(28.sp) + .make() + ], + ), + Row( + children: [ + '派单类型'.text.color(ktextSubColor).size(28.sp).make(), + Spacer(), + model.appDispatchListVo.type.text.black.size(28.sp).make(), + ], + ), + Row( + children: [ + '维修人员'.text.color(ktextSubColor).size(28.sp).make(), + Spacer(), + model.appDispatchListVo.operatorName.text.black + .size(28.sp) + .make(), + ], + ), + Row( + children: [ + '分配人'.text.color(ktextSubColor).size(28.sp).make(), + Spacer(), + model.appDispatchListVo.distributorName.text.black + .size(28.sp) + .make(), + ], + ), + ].sepWidget(separate: 8.w.heightBox), + ), + ], + ), + ); + } + + Widget _buildProcessCard(FixedDetailModel model) { + return Container( + padding: EdgeInsets.symmetric(horizontal: 28.w, vertical: 24.w), + decoration: BoxDecoration( + color: kForeGroundColor, + borderRadius: BorderRadius.circular(8.w), + ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + '进程处理'.text.black.size(32.sp).bold.make(), + 24.w.heightBox, + BeeDivider.horizontal(), + 24.w.heightBox, + ...model.appProcessRecordVo + .map((e) => Row( + children: [ + BeeMap() + .processClass[e.operationType] + .text + .color(ktextSubColor) + .size(28.sp) + .make(), + Spacer(), + e.operationDate.text.black.size(28.sp).make(), + ], + )) + .toList() + .sepWidget(separate: 8.w.heightBox) + ], + ), + ); + } + + Widget _buttons(FixedDetailModel model) { + return Container( + width: 228.w * 3, + height: 96.w, + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(8.w), + color: kForeGroundColor, + ), + child: Row( + children: [ + MaterialButton( + padding: EdgeInsets.zero, + materialTapTargetSize: MaterialTapTargetSize.shrinkWrap, + onPressed: () {}, + textColor: ktextPrimary, + disabledColor: kDarkSubColor.withOpacity(0.1), + disabledTextColor: ktextSubColor.withOpacity(0.3), + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Image.asset( + R.ASSETS_ICONS_MANAGER_ORDER_CANCEL_PNG, + width: 40.w, + height: 40.w, + ), + 16.w.widthBox, + '取消订单'.text.size(28.sp).bold.make() + ], + ), + elevation: 0, + focusElevation: 0, + highlightElevation: 0, + hoverElevation: 0, + disabledElevation: 0, + ).expand(), + MaterialButton( + padding: EdgeInsets.zero, + materialTapTargetSize: MaterialTapTargetSize.shrinkWrap, + onPressed: showProcessCard ? () {} : null, + disabledColor: kDarkSubColor.withOpacity(0.1), + disabledTextColor: ktextSubColor.withOpacity(0.3), + textColor: ktextPrimary, + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Image.asset( + R.ASSETS_ICONS_MANAGER_PHONE_CALL_PNG, + width: 40.w, + height: 40.w, + color: showProcessCard?Colors.black:kDarkSubColor.withOpacity(0.5), + ), + 16.w.widthBox, + '致电管家'.text.size(28.sp).bold.make() + ], + ), + elevation: 0, + focusElevation: 0, + highlightElevation: 0, + hoverElevation: 0, + disabledElevation: 0, + ).expand(), + MaterialButton( + height: 96.w, + padding: EdgeInsets.zero, + materialTapTargetSize: MaterialTapTargetSize.shrinkWrap, + onPressed: showRepairCard ? () {} : null, + disabledColor: kDarkSubColor.withOpacity(0.1), + disabledTextColor: ktextSubColor.withOpacity(0.3), + textColor: ktextPrimary, + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Image.asset( + R.ASSETS_ICONS_MANAGER_PHONE_CALL_PNG, + width: 40.w, + height: 40.w, + color: showRepairCard?Colors.black:kDarkSubColor.withOpacity(0.5), + ), + 16.w.widthBox, + '致电师傅'.text.size(28.sp).bold.make() + ], + ), + elevation: 0, + focusElevation: 0, + highlightElevation: 0, + hoverElevation: 0, + disabledElevation: 0, + ).expand() + ], + ), + ); + } + @override Widget build(BuildContext context) { return BeeScaffold( @@ -147,25 +318,32 @@ Widget _reparCard(){ onRefresh: () async { _model = await ManagerFunc.reportRepairFindBYLD(widget.id); _onLoading = false; + setState(() {}); }, header: MaterialHeader(), child: _onLoading ? _buildEmpty() : ListView( padding: EdgeInsets.symmetric(horizontal: 32.w, vertical: 36.w), - children: [ + children: [ _buildHead(_model), + ...showRepairCard ? [_reparCard(_model)] : [], + ...showProcessCard ? [_buildProcessCard(_model)] : [], + _buttons(_model), ].sepWidget(separate: 16.w.heightBox), ), ), bottomNavi: Padding( padding: EdgeInsets.only( - bottom: MediaQuery.of(context).padding.bottom + 39.w), + bottom: MediaQuery.of(context).padding.bottom + 39.w, + left: 32.w, + right: 32.w), child: MaterialButton( + minWidth: 686.w, shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(48.w)), color: kPrimaryColor, - padding: EdgeInsets.symmetric(horizontal: 278.w, vertical: 26.w), + padding: EdgeInsets.symmetric(vertical: 26.w), elevation: 0, materialTapTargetSize: MaterialTapTargetSize.shrinkWrap, onPressed: () {}, diff --git a/lib/utils/bee_map.dart b/lib/utils/bee_map.dart index bb8d3832..b933179d 100644 --- a/lib/utils/bee_map.dart +++ b/lib/utils/bee_map.dart @@ -4,5 +4,26 @@ class BeeMap { 2: '家庭报修', }; - Map fixState = {1: '待分配', 2: '未接单', 3: '处理中',4:'已处理',5:'已完成',6:'已关闭',7:'已作废',8:'未知'}; + Map fixState = { + 1: '待分配', + 2: '未接单', + 3: '处理中', + 4: '已处理', + 5: '已完成', + 6: '已关闭', + 7: '已作废', + 8: '未知' + }; + + Map processClass = { + 1: '报修时间', + 2: '管家分派', + 3: '师傅接单', + 4: '处理完成', + 5: '确认', + 6: '回访', + 7: '回退', + 8: '作废', + 9: '取消' + }; }