Merge remote-tracking branch 'origin/master'
commit
aed92c4bed
|
|
@ -577,7 +577,7 @@ class _DoorareaCarAddPageState extends State<DoorareaCarAddPage> {
|
|||
|
||||
for(int i=0;i<newList.length;i++){
|
||||
newList[i]["dataId"] = newList[i]["userId"];
|
||||
newList[i]["dataName"] = newList[i]["userName"];
|
||||
newList[i]["dataName"] = '${newList[i]["userName"]}(${newList[i]["corpName"]})(${newList[i]["deptName"]})' ;
|
||||
}
|
||||
|
||||
showModalBottomSheet(
|
||||
|
|
|
|||
|
|
@ -559,7 +559,7 @@ class _FirstlevelCarAddPageState extends State<FirstlevelCarAddPage> {
|
|||
|
||||
for(int i=0;i<newList.length;i++){
|
||||
newList[i]["dataId"] = newList[i]["userId"];
|
||||
newList[i]["dataName"] = newList[i]["userName"];
|
||||
newList[i]["dataName"] ='${newList[i]["userName"]}(${newList[i]["corpName"]})(${newList[i]["deptName"]})' ;
|
||||
}
|
||||
|
||||
showModalBottomSheet(
|
||||
|
|
|
|||
|
|
@ -638,7 +638,7 @@ class _DoorareaPersonApplyPageState extends State<DoorareaPersonApplyPage> {
|
|||
|
||||
for(int i=0;i<newList.length;i++){
|
||||
newList[i]["dataId"] = newList[i]["userId"];
|
||||
newList[i]["dataName"] = newList[i]["userName"];
|
||||
newList[i]["dataName"] = '${newList[i]["userName"]}(${newList[i]["corpName"]})(${newList[i]["deptName"]})' ;
|
||||
}
|
||||
|
||||
showModalBottomSheet(
|
||||
|
|
|
|||
|
|
@ -566,7 +566,7 @@ class _FirstlevelPersonAddPageState extends State<FirstlevelPersonAddPage> {
|
|||
|
||||
for(int i=0;i<newList.length;i++){
|
||||
newList[i]["dataId"] = newList[i]["userId"];
|
||||
newList[i]["dataName"] = newList[i]["userName"];
|
||||
newList[i]["dataName"] = '${newList[i]["userName"]}(${newList[i]["corpName"]})(${newList[i]["deptName"]})' ;
|
||||
}
|
||||
|
||||
showModalBottomSheet(
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@ class _KeyTaskesCheckConfirmPageState extends State<KeyTaskesCheckConfirmPage> {
|
|||
maxSizeInBytes: 20 * 1024 * 1024,
|
||||
allowedExtensions: ['pdf'],
|
||||
allowMultipleFiles: false,
|
||||
// showPhotoSelect: false,
|
||||
showPhotoSelect: false,
|
||||
);
|
||||
|
||||
if (picked.isNotEmpty && picked.first.path != null) {
|
||||
|
|
@ -445,8 +445,10 @@ class _KeyTaskesCheckConfirmPageState extends State<KeyTaskesCheckConfirmPage> {
|
|||
|
||||
// checkData['status'] = 1;
|
||||
checkData['signatureTime'] = signTimes.first;
|
||||
checkData['isDefend'] = chooseCheckType ? 0 : 1;
|
||||
checkData['isDefend'] = chooseCheckType ? 1 : 0;
|
||||
checkData['inspectionId'] = widget.inspectionId;
|
||||
checkData['id'] = SessionService.instance.accountId;
|
||||
|
||||
try {
|
||||
final result = await KeyTasksApi.setKeyTasksCheckConfirm(checkData);
|
||||
if (result['success']) {
|
||||
|
|
@ -504,7 +506,7 @@ class _KeyTaskesCheckConfirmPageState extends State<KeyTaskesCheckConfirmPage> {
|
|||
await FileApi.uploadFiles([choosefile.path ?? ''], fileType, checkData['inspectionId'] ?? '').then((result) {
|
||||
if (result['success']) {
|
||||
// 检查人签字
|
||||
checkData['fileUrl'] = result['data']['filePath'] ?? '';
|
||||
checkData['fileUrl'] = result['data']['fileList'][0]['filePath'] ?? '';
|
||||
isSuccess = true;
|
||||
} else {
|
||||
LoadingDialogHelper.hide();
|
||||
|
|
|
|||
Loading…
Reference in New Issue