main
parent
26c64aa5ea
commit
4d9ae2009d
|
@ -77,7 +77,8 @@ class _CompanySafetyCommitmentApplyState extends State<CompanySafetyCommitmentAp
|
|||
isEditable: true,
|
||||
controller: _controller1,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -86,7 +87,7 @@ class _CompanySafetyCommitmentApplyState extends State<CompanySafetyCommitmentAp
|
|||
isEditable: true,
|
||||
controller: _controller2,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -95,7 +96,7 @@ class _CompanySafetyCommitmentApplyState extends State<CompanySafetyCommitmentAp
|
|||
isEditable: true,
|
||||
controller: _controller3,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -104,7 +105,7 @@ class _CompanySafetyCommitmentApplyState extends State<CompanySafetyCommitmentAp
|
|||
isEditable: true,
|
||||
controller: _controller4,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -130,7 +131,7 @@ class _CompanySafetyCommitmentApplyState extends State<CompanySafetyCommitmentAp
|
|||
isEditable: true,
|
||||
controller: _controller5,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -139,7 +140,7 @@ class _CompanySafetyCommitmentApplyState extends State<CompanySafetyCommitmentAp
|
|||
isEditable: true,
|
||||
controller: _controller6,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -148,7 +149,7 @@ class _CompanySafetyCommitmentApplyState extends State<CompanySafetyCommitmentAp
|
|||
isEditable: true,
|
||||
controller: _controller7,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -157,7 +158,7 @@ class _CompanySafetyCommitmentApplyState extends State<CompanySafetyCommitmentAp
|
|||
isEditable: true,
|
||||
controller: _controller8,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -166,7 +167,7 @@ class _CompanySafetyCommitmentApplyState extends State<CompanySafetyCommitmentAp
|
|||
isEditable: true,
|
||||
controller: _controller9,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -175,7 +176,7 @@ class _CompanySafetyCommitmentApplyState extends State<CompanySafetyCommitmentAp
|
|||
isEditable: true,
|
||||
controller: _controller10,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller1,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -112,7 +112,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller2,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -123,7 +123,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller3,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -132,7 +132,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller4,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -141,7 +141,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller5,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -151,7 +151,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller6,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -161,7 +161,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller7,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -171,7 +171,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller8,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -180,7 +180,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller9,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -190,7 +190,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller10,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -200,7 +200,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller11,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -210,7 +210,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller12,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -220,7 +220,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller13,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
// const Divider(),
|
||||
|
@ -273,7 +273,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller14,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -366,7 +366,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller16,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -375,7 +375,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller17,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -384,7 +384,7 @@ class _TeamSafetyCommitmentApplyState extends State<TeamSafetyCommitmentApply> {
|
|||
isEditable: true,
|
||||
controller: _controller18,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller1,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -122,7 +122,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller2,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -131,7 +131,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller3,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -140,7 +140,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller4,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -150,7 +150,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller5,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -160,7 +160,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller6,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -170,7 +170,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller7,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -179,7 +179,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller8,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -189,7 +189,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller9,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -199,7 +199,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller10,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -209,7 +209,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller11,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
@ -219,7 +219,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller12,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -228,7 +228,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller13,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -261,7 +261,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller14,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -336,7 +336,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller15,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -345,7 +345,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller16,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -354,7 +354,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller17,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
const Divider(),
|
||||
|
@ -363,7 +363,7 @@ class _WorkShopSafetyCommitmentApplyState extends State<WorkShopSafetyCommitment
|
|||
isEditable: true,
|
||||
controller: _controller18,
|
||||
text: '',
|
||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
|
||||
isNumericInput: true,
|
||||
keyboardType:TextInputType.number,
|
||||
),
|
||||
|
||||
|
|
|
@ -822,6 +822,7 @@ class _SelectionPopupState extends State<SelectionPopup> {
|
|||
}
|
||||
|
||||
Future<void> _getData() async {
|
||||
LoadingDialogHelper.show();
|
||||
// 构造参数
|
||||
Map<String, dynamic> params;
|
||||
if (widget.type == 'assignments') {
|
||||
|
@ -841,6 +842,7 @@ class _SelectionPopupState extends State<SelectionPopup> {
|
|||
try {
|
||||
if (widget.type == 'assignments') {
|
||||
final result = await ApiService.getEightWorkStartList(params);
|
||||
LoadingDialogHelper.hide();
|
||||
setState(() {
|
||||
list = (result['varList'] as List).cast<Map<String, dynamic>>();
|
||||
for (var item in list) {
|
||||
|
|
Loading…
Reference in New Issue