|
|
@ -48,7 +48,7 @@ class _DecorationManagerDetailStatePage
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 16.w),
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 16.w),
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
_buildInfo(),
|
|
|
|
_buildInfo(),
|
|
|
|
widget.decorationModel.status>3
|
|
|
|
widget.decorationModel.status > 3
|
|
|
|
? SizedBox()
|
|
|
|
? SizedBox()
|
|
|
|
: _buildFinishWorkCheck(),
|
|
|
|
: _buildFinishWorkCheck(),
|
|
|
|
_buildCycleCheck(),
|
|
|
|
_buildCycleCheck(),
|
|
|
@ -61,11 +61,7 @@ class _DecorationManagerDetailStatePage
|
|
|
|
if (UserTool.userProvider.infoModel.canOperation) {
|
|
|
|
if (UserTool.userProvider.infoModel.canOperation) {
|
|
|
|
switch (widget.decorationModel.operationStatus) {
|
|
|
|
switch (widget.decorationModel.operationStatus) {
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
|
return AkuBottomButton(
|
|
|
|
return AkuBottomButton(title: '立即安排', onTap: () {});
|
|
|
|
title: '立即安排',
|
|
|
|
|
|
|
|
onTap:() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
return SizedBox();
|
|
|
|
return SizedBox();
|
|
|
@ -111,7 +107,7 @@ class _DecorationManagerDetailStatePage
|
|
|
|
phone: UserTool.userProvider.profileModel.tel,
|
|
|
|
phone: UserTool.userProvider.profileModel.tel,
|
|
|
|
rightTopWidget: Transform.rotate(
|
|
|
|
rightTopWidget: Transform.rotate(
|
|
|
|
angle: pi / 4,
|
|
|
|
angle: pi / 4,
|
|
|
|
child: widget.decorationModel.operationStatus==3
|
|
|
|
child: widget.decorationModel.operationStatus == 3
|
|
|
|
? Image.asset(R.ASSETS_MANAGE_IC_WANCHENG_PNG)
|
|
|
|
? Image.asset(R.ASSETS_MANAGE_IC_WANCHENG_PNG)
|
|
|
|
: Image.asset(R.ASSETS_MANAGE_IC_ZHUANGXIU_PNG),
|
|
|
|
: Image.asset(R.ASSETS_MANAGE_IC_ZHUANGXIU_PNG),
|
|
|
|
),
|
|
|
|
),
|
|
|
@ -244,7 +240,8 @@ class _DecorationManagerDetailStatePage
|
|
|
|
],
|
|
|
|
],
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
///完工检查
|
|
|
|
|
|
|
|
|
|
|
|
///完工检查
|
|
|
|
_buildFinishWorkCheck() {
|
|
|
|
_buildFinishWorkCheck() {
|
|
|
|
return AkuTitleBox(
|
|
|
|
return AkuTitleBox(
|
|
|
|
title: '完工检查',
|
|
|
|
title: '完工检查',
|
|
|
@ -293,7 +290,8 @@ class _DecorationManagerDetailStatePage
|
|
|
|
],
|
|
|
|
],
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
///周期检查
|
|
|
|
|
|
|
|
|
|
|
|
///周期检查
|
|
|
|
_buildCycleCheck() {
|
|
|
|
_buildCycleCheck() {
|
|
|
|
return AkuTitleBox(
|
|
|
|
return AkuTitleBox(
|
|
|
|
title: '周期检查',
|
|
|
|
title: '周期检查',
|
|
|
@ -362,9 +360,7 @@ class _DecorationManagerDetailStatePage
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
height: 500.w,
|
|
|
|
height: 500.w,
|
|
|
|
child: CupertinoDatePicker(
|
|
|
|
child: CupertinoDatePicker(
|
|
|
|
onDateTimeChanged: (dateTime) {
|
|
|
|
onDateTimeChanged: (dateTime) {},
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
@ -453,7 +449,6 @@ class _DecorationManagerDetailStatePage
|
|
|
|
realValue = 30;
|
|
|
|
realValue = 30;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
@ -485,15 +480,14 @@ class _DecorationManagerDetailStatePage
|
|
|
|
CHECK_TYPE.DOOR_AND_WINDOWS,
|
|
|
|
CHECK_TYPE.DOOR_AND_WINDOWS,
|
|
|
|
CHECK_TYPE.SECURITY,
|
|
|
|
CHECK_TYPE.SECURITY,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
onChange: (details) {
|
|
|
|
onChange: (details) {},
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
canTap: UserTool.userProvider.infoModel.canOperation,
|
|
|
|
canTap: UserTool.userProvider.infoModel.canOperation,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
],
|
|
|
|
],
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
///执行信息
|
|
|
|
|
|
|
|
|
|
|
|
///执行信息
|
|
|
|
_buildCheckDetail() {
|
|
|
|
_buildCheckDetail() {
|
|
|
|
return AkuTitleBox(
|
|
|
|
return AkuTitleBox(
|
|
|
|
title: '执行信息',
|
|
|
|
title: '执行信息',
|
|
|
@ -530,7 +524,7 @@ class _DecorationManagerDetailStatePage
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Spacer(),
|
|
|
|
Spacer(),
|
|
|
|
Text(
|
|
|
|
Text(
|
|
|
|
3>2? '正常' : '异常',
|
|
|
|
3 > 2 ? '正常' : '异常',
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
|
color: e.checkAllResult
|
|
|
|
color: e.checkAllResult
|
|
|
|
? Color(0xFF32B814)
|
|
|
|
? Color(0xFF32B814)
|
|
|
|