|
|
@@ -896,47 +896,47 @@
|
|
|
#pragma mark 点击上传成功的清空记录
|
|
|
- (void)didClickClearRecordInDoneFun
|
|
|
{
|
|
|
- NSString *titleStr = NSLocalizedString(@"delete_upload_task_title_msg",nil);
|
|
|
- NSString *tipStr = NSLocalizedString(@"delete_with_cloud_file_msg",nil);
|
|
|
-
|
|
|
- KWeakSelf
|
|
|
- ComontAlretDeleteTypeViewController *curAlretVC= [[ComontAlretDeleteTypeViewController alloc]
|
|
|
- initWithTitle:titleStr
|
|
|
- msg:nil
|
|
|
- imageStr:nil
|
|
|
- cancelTitle:NSLocalizedString(@"other_cancel",nil)
|
|
|
- okTitle:NSLocalizedString(@"other_confirm",nil)
|
|
|
- otherTitle:tipStr
|
|
|
- isOkBtnHighlight:YES
|
|
|
- didClickOk:^(BOOL isDeleteAll) {
|
|
|
- [weakSelf didClickClearAllRecordInUploadDoneFun:isDeleteAll];
|
|
|
- } didClickCancel:^{
|
|
|
-
|
|
|
- }];
|
|
|
-
|
|
|
- curAlretVC.modalPresentationStyle = UIModalPresentationCustom;
|
|
|
-
|
|
|
- [self presentViewController:curAlretVC animated:YES completion:^{
|
|
|
- curAlretVC.view.superview.backgroundColor = [UIColor clearColor];
|
|
|
- }];
|
|
|
-
|
|
|
-// /*弹窗提示二次确认*/
|
|
|
+// NSString *titleStr = NSLocalizedString(@"delete_upload_task_title_msg",nil);
|
|
|
+// NSString *tipStr = NSLocalizedString(@"delete_with_cloud_file_msg",nil);
|
|
|
+//
|
|
|
// KWeakSelf
|
|
|
-// ComontAlretViewController *nextVC = [[ComontAlretViewController alloc] initWithTiTle:NSLocalizedString(@"File_upload_Record_clear_Tip_title",nil)
|
|
|
-// msg:NSLocalizedString(@"File_upload_Record_clear_done_Tip_msg",nil)
|
|
|
-// imageStr:nil
|
|
|
-// cancelTitle:NSLocalizedString(@"other_cancel",nil)
|
|
|
-// okTitle:NSLocalizedString(@"other_comment_ok",nil) isOkBtnHighlight:YES
|
|
|
-// didClickOk:^{
|
|
|
-// [weakSelf ClearAllRecordInDoneFun];
|
|
|
+// ComontAlretDeleteTypeViewController *curAlretVC= [[ComontAlretDeleteTypeViewController alloc]
|
|
|
+// initWithTitle:titleStr
|
|
|
+// msg:nil
|
|
|
+// imageStr:nil
|
|
|
+// cancelTitle:NSLocalizedString(@"other_cancel",nil)
|
|
|
+// okTitle:NSLocalizedString(@"other_confirm",nil)
|
|
|
+// otherTitle:tipStr
|
|
|
+// isOkBtnHighlight:YES
|
|
|
+// didClickOk:^(BOOL isDeleteAll) {
|
|
|
+// [weakSelf didClickClearAllRecordInUploadDoneFun:isDeleteAll];
|
|
|
// } didClickCancel:^{
|
|
|
//
|
|
|
// }];
|
|
|
-// nextVC.modalPresentationStyle = UIModalPresentationCustom;
|
|
|
-//
|
|
|
-// [self presentViewController:nextVC animated:YES completion:^{
|
|
|
-// nextVC.view.superview.backgroundColor = [UIColor clearColor];
|
|
|
-// }];
|
|
|
+//
|
|
|
+// curAlretVC.modalPresentationStyle = UIModalPresentationCustom;
|
|
|
+//
|
|
|
+// [self presentViewController:curAlretVC animated:YES completion:^{
|
|
|
+// curAlretVC.view.superview.backgroundColor = [UIColor clearColor];
|
|
|
+// }];
|
|
|
+
|
|
|
+ /*弹窗提示二次确认*/
|
|
|
+ KWeakSelf
|
|
|
+ ComontAlretViewController *nextVC = [[ComontAlretViewController alloc] initWithTiTle:NSLocalizedString(@"File_upload_Record_clear_Tip_title",nil)
|
|
|
+ msg:NSLocalizedString(@"File_upload_Record_clear_done_Tip_msg",nil)
|
|
|
+ imageStr:nil
|
|
|
+ cancelTitle:NSLocalizedString(@"other_cancel",nil)
|
|
|
+ okTitle:NSLocalizedString(@"other_comment_ok",nil) isOkBtnHighlight:YES
|
|
|
+ didClickOk:^{
|
|
|
+ [weakSelf ClearAllRecordInDoneFun];
|
|
|
+ } didClickCancel:^{
|
|
|
+
|
|
|
+ }];
|
|
|
+ nextVC.modalPresentationStyle = UIModalPresentationCustom;
|
|
|
+
|
|
|
+ [self presentViewController:nextVC animated:YES completion:^{
|
|
|
+ nextVC.view.superview.backgroundColor = [UIColor clearColor];
|
|
|
+ }];
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -965,47 +965,48 @@
|
|
|
#pragma mark 点击上传失败的清空记录
|
|
|
- (void)didClickClearRecordInFailFun
|
|
|
{
|
|
|
- NSString *titleStr = NSLocalizedString(@"delete_upload_task_title_msg",nil);
|
|
|
- NSString *tipStr = NSLocalizedString(@"delete_with_cloud_file_msg",nil);
|
|
|
-
|
|
|
- KWeakSelf
|
|
|
- ComontAlretDeleteTypeViewController *curAlretVC= [[ComontAlretDeleteTypeViewController alloc]
|
|
|
- initWithTitle:titleStr
|
|
|
- msg:nil
|
|
|
- imageStr:nil
|
|
|
- cancelTitle:NSLocalizedString(@"other_cancel",nil)
|
|
|
- okTitle:NSLocalizedString(@"other_confirm",nil)
|
|
|
- otherTitle:tipStr
|
|
|
- isOkBtnHighlight:YES
|
|
|
- didClickOk:^(BOOL isDeleteAll) {
|
|
|
- [weakSelf didClickClearAllRecordInUploadFailFun:isDeleteAll];
|
|
|
- } didClickCancel:^{
|
|
|
-
|
|
|
- }];
|
|
|
-
|
|
|
- curAlretVC.modalPresentationStyle = UIModalPresentationCustom;
|
|
|
-
|
|
|
- [self presentViewController:curAlretVC animated:YES completion:^{
|
|
|
- curAlretVC.view.superview.backgroundColor = [UIColor clearColor];
|
|
|
- }];
|
|
|
-
|
|
|
-// /*弹窗提示二次确认*/
|
|
|
+// NSString *titleStr = NSLocalizedString(@"delete_upload_task_title_msg",nil);
|
|
|
+// NSString *tipStr = NSLocalizedString(@"delete_with_cloud_file_msg",nil);
|
|
|
+//
|
|
|
// KWeakSelf
|
|
|
-// ComontAlretViewController *nextVC = [[ComontAlretViewController alloc] initWithTiTle:NSLocalizedString(@"File_upload_Record_clear_Tip_title",nil)
|
|
|
-// msg:NSLocalizedString(@"File_upload_Record_clear_fail_Tip_msg",nil)
|
|
|
-// imageStr:nil
|
|
|
-// cancelTitle:NSLocalizedString(@"other_cancel",nil)
|
|
|
-// okTitle:NSLocalizedString(@"other_comment_ok",nil) isOkBtnHighlight:YES
|
|
|
-// didClickOk:^{
|
|
|
-// [weakSelf ClearAllRecordInFailFun];
|
|
|
+// ComontAlretDeleteTypeViewController *curAlretVC= [[ComontAlretDeleteTypeViewController alloc]
|
|
|
+// initWithTitle:titleStr
|
|
|
+// msg:nil
|
|
|
+// imageStr:nil
|
|
|
+// cancelTitle:NSLocalizedString(@"other_cancel",nil)
|
|
|
+// okTitle:NSLocalizedString(@"other_confirm",nil)
|
|
|
+// otherTitle:tipStr
|
|
|
+// isOkBtnHighlight:YES
|
|
|
+// didClickOk:^(BOOL isDeleteAll) {
|
|
|
+// [weakSelf didClickClearAllRecordInUploadFailFun:isDeleteAll];
|
|
|
// } didClickCancel:^{
|
|
|
//
|
|
|
// }];
|
|
|
-// nextVC.modalPresentationStyle = UIModalPresentationCustom;
|
|
|
-//
|
|
|
-// [self presentViewController:nextVC animated:YES completion:^{
|
|
|
-// nextVC.view.superview.backgroundColor = [UIColor clearColor];
|
|
|
-// }];
|
|
|
+//
|
|
|
+// curAlretVC.modalPresentationStyle = UIModalPresentationCustom;
|
|
|
+//
|
|
|
+// [self presentViewController:curAlretVC animated:YES completion:^{
|
|
|
+// curAlretVC.view.superview.backgroundColor = [UIColor clearColor];
|
|
|
+// }];
|
|
|
+
|
|
|
+
|
|
|
+ /*弹窗提示二次确认*/
|
|
|
+ KWeakSelf
|
|
|
+ ComontAlretViewController *nextVC = [[ComontAlretViewController alloc] initWithTiTle:NSLocalizedString(@"File_upload_Record_clear_Tip_title",nil)
|
|
|
+ msg:NSLocalizedString(@"File_upload_Record_clear_fail_Tip_msg",nil)
|
|
|
+ imageStr:nil
|
|
|
+ cancelTitle:NSLocalizedString(@"other_cancel",nil)
|
|
|
+ okTitle:NSLocalizedString(@"other_comment_ok",nil) isOkBtnHighlight:YES
|
|
|
+ didClickOk:^{
|
|
|
+ [weakSelf ClearAllRecordInFailFun];
|
|
|
+ } didClickCancel:^{
|
|
|
+
|
|
|
+ }];
|
|
|
+ nextVC.modalPresentationStyle = UIModalPresentationCustom;
|
|
|
+
|
|
|
+ [self presentViewController:nextVC animated:YES completion:^{
|
|
|
+ nextVC.view.superview.backgroundColor = [UIColor clearColor];
|
|
|
+ }];
|
|
|
|
|
|
}
|
|
|
|