危险作业需求变更bug
parent
3c4e30bc88
commit
1362a301c0
|
|
@ -926,7 +926,7 @@ class ItemListWidget {
|
||||||
required VoidCallback? onTapFile, // 第一行点击回调
|
required VoidCallback? onTapFile, // 第一行点击回调
|
||||||
double fontSize = 14, // 字体大小
|
double fontSize = 14, // 字体大小
|
||||||
bool isEdit = true,
|
bool isEdit = true,
|
||||||
String buttonText = '气体分析详情',
|
String buttonText = '',
|
||||||
double horizontalnum = horizontal_inset,
|
double horizontalnum = horizontal_inset,
|
||||||
bool isRequired = false,
|
bool isRequired = false,
|
||||||
final String fileUrl = '',
|
final String fileUrl = '',
|
||||||
|
|
@ -991,7 +991,7 @@ class ItemListWidget {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (isEdit)
|
if (isEdit && buttonText.isNotEmpty)
|
||||||
CustomButton(
|
CustomButton(
|
||||||
text: buttonText,
|
text: buttonText,
|
||||||
height: 30,
|
height: 30,
|
||||||
|
|
|
||||||
|
|
@ -508,7 +508,10 @@ class _SxkjApplyPageState extends SpecialWorkApplyBaseState<SxkjApplyPage> {
|
||||||
if (!FormUtils.hasValue(pd, 'workDepartment')) {
|
if (!FormUtils.hasValue(pd, 'workDepartment')) {
|
||||||
personList = allPersonList;
|
personList = allPersonList;
|
||||||
}
|
}
|
||||||
|
if (personList.isEmpty) {
|
||||||
|
ToastUtil.showNormal(context, '暂无该部门人员');
|
||||||
|
return;
|
||||||
|
}
|
||||||
DepartmentAllPersonPicker.show(
|
DepartmentAllPersonPicker.show(
|
||||||
context,
|
context,
|
||||||
allowXgfFlag: false,
|
allowXgfFlag: false,
|
||||||
|
|
|
||||||
|
|
@ -395,7 +395,7 @@ abstract class SpecialWorkApplyBaseState<T extends SpecialWorkApplyBasePage>
|
||||||
|
|
||||||
/// 根据 initData 生成签字组
|
/// 根据 initData 生成签字组
|
||||||
void _initGroupsFromInitData(bool isRefresh) {
|
void _initGroupsFromInitData(bool isRefresh) {
|
||||||
_clearAllPerson();
|
if (!widget.isReEdit) _clearAllPerson();
|
||||||
final List steps =
|
final List steps =
|
||||||
(initData['settingSignSteps'] is List)
|
(initData['settingSignSteps'] is List)
|
||||||
? List.from(initData['settingSignSteps'])
|
? List.from(initData['settingSignSteps'])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue