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