Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
644dcba7
Commit
644dcba7
authored
Oct 21, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
续签文书管理删除上传的文书增加二次确认弹窗
parent
e8d1828f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
5 deletions
+44
-5
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-0
YHCommonAlertView+AttributedMessage.swift
...gnature(我的签字)/V/YHCommonAlertView+AttributedMessage.swift
+24
-0
YHResignDocumentDetailViewController.swift
...ment(续签文书管理)/C/YHResignDocumentDetailViewController.swift
+16
-5
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
644dcba7
...
@@ -559,6 +559,7 @@
...
@@ -559,6 +559,7 @@
04A7BD152BA4361700BD35A2
/* YHMyDocumentDetailModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04A7BD142BA4361700BD35A2
/* YHMyDocumentDetailModel.swift */
;
};
04A7BD152BA4361700BD35A2
/* YHMyDocumentDetailModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04A7BD142BA4361700BD35A2
/* YHMyDocumentDetailModel.swift */
;
};
04A7BD172BA43A0F00BD35A2
/* YHMyDocumentsDetailViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04A7BD162BA43A0F00BD35A2
/* YHMyDocumentsDetailViewModel.swift */
;
};
04A7BD172BA43A0F00BD35A2
/* YHMyDocumentsDetailViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04A7BD162BA43A0F00BD35A2
/* YHMyDocumentsDetailViewModel.swift */
;
};
04A7BD192BA441D400BD35A2
/* YHMyDocumentsUrlModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04A7BD182BA441D400BD35A2
/* YHMyDocumentsUrlModel.swift */
;
};
04A7BD192BA441D400BD35A2
/* YHMyDocumentsUrlModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04A7BD182BA441D400BD35A2
/* YHMyDocumentsUrlModel.swift */
;
};
04A91E742CC6220900E5A079
/* YHCommonAlertView+AttributedMessage.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04A91E732CC6220900E5A079
/* YHCommonAlertView+AttributedMessage.swift */
;
};
04AA19FD2BB40D5C00C1CBBD
/* Applegate(JPush).swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AA19FC2BB40D5C00C1CBBD
/* Applegate(JPush).swift */
;
};
04AA19FD2BB40D5C00C1CBBD
/* Applegate(JPush).swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AA19FC2BB40D5C00C1CBBD
/* Applegate(JPush).swift */
;
};
04AAA8DC2BF5E5A200FE9FD5
/* YHEmptyDataView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AAA8DB2BF5E5A200FE9FD5
/* YHEmptyDataView.swift */
;
};
04AAA8DC2BF5E5A200FE9FD5
/* YHEmptyDataView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AAA8DB2BF5E5A200FE9FD5
/* YHEmptyDataView.swift */
;
};
04AD31772C22DE6600DF5655
/* YHEditInterestViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AD31762C22DE6600DF5655
/* YHEditInterestViewController.swift */
;
};
04AD31772C22DE6600DF5655
/* YHEditInterestViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AD31762C22DE6600DF5655
/* YHEditInterestViewController.swift */
;
};
...
@@ -1523,6 +1524,7 @@
...
@@ -1523,6 +1524,7 @@
04A7BD142BA4361700BD35A2
/* YHMyDocumentDetailModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMyDocumentDetailModel.swift
;
sourceTree
=
"<group>"
;
};
04A7BD142BA4361700BD35A2
/* YHMyDocumentDetailModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMyDocumentDetailModel.swift
;
sourceTree
=
"<group>"
;
};
04A7BD162BA43A0F00BD35A2
/* YHMyDocumentsDetailViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMyDocumentsDetailViewModel.swift
;
sourceTree
=
"<group>"
;
};
04A7BD162BA43A0F00BD35A2
/* YHMyDocumentsDetailViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMyDocumentsDetailViewModel.swift
;
sourceTree
=
"<group>"
;
};
04A7BD182BA441D400BD35A2
/* YHMyDocumentsUrlModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMyDocumentsUrlModel.swift
;
sourceTree
=
"<group>"
;
};
04A7BD182BA441D400BD35A2
/* YHMyDocumentsUrlModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMyDocumentsUrlModel.swift
;
sourceTree
=
"<group>"
;
};
04A91E732CC6220900E5A079
/* YHCommonAlertView+AttributedMessage.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
"YHCommonAlertView+AttributedMessage.swift"
;
sourceTree
=
"<group>"
;
};
04AA19FC2BB40D5C00C1CBBD
/* Applegate(JPush).swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
"Applegate(JPush).swift"
;
sourceTree
=
"<group>"
;
};
04AA19FC2BB40D5C00C1CBBD
/* Applegate(JPush).swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
"Applegate(JPush).swift"
;
sourceTree
=
"<group>"
;
};
04AAA8DB2BF5E5A200FE9FD5
/* YHEmptyDataView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHEmptyDataView.swift
;
sourceTree
=
"<group>"
;
};
04AAA8DB2BF5E5A200FE9FD5
/* YHEmptyDataView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHEmptyDataView.swift
;
sourceTree
=
"<group>"
;
};
04AD31762C22DE6600DF5655
/* YHEditInterestViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHEditInterestViewController.swift
;
sourceTree
=
"<group>"
;
};
04AD31762C22DE6600DF5655
/* YHEditInterestViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHEditInterestViewController.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -3041,6 +3043,7 @@
...
@@ -3041,6 +3043,7 @@
0435FA802BA186D600024EAE
/* YHMyFileMethodTableViewCell.swift */
,
0435FA802BA186D600024EAE
/* YHMyFileMethodTableViewCell.swift */
,
044CF8D32BB6BCF700008CE8
/* YHSignatureUploadTableViewCell.swift */
,
044CF8D32BB6BCF700008CE8
/* YHSignatureUploadTableViewCell.swift */
,
0435FA7E2BA178C100024EAE
/* YHCommonAlertView.swift */
,
0435FA7E2BA178C100024EAE
/* YHCommonAlertView.swift */
,
04A91E732CC6220900E5A079
/* YHCommonAlertView+AttributedMessage.swift */
,
047AA3FB2C61EE7F009C4554
/* YHSignAppendStepView.swift */
,
047AA3FB2C61EE7F009C4554
/* YHSignAppendStepView.swift */
,
);
);
path
=
V
;
path
=
V
;
...
@@ -5962,6 +5965,7 @@
...
@@ -5962,6 +5965,7 @@
A5CA3F502C7447FB00EB22F5
/* YHUploadCertificateVC.swift in Sources */
,
A5CA3F502C7447FB00EB22F5
/* YHUploadCertificateVC.swift in Sources */
,
04A7BD192BA441D400BD35A2
/* YHMyDocumentsUrlModel.swift in Sources */
,
04A7BD192BA441D400BD35A2
/* YHMyDocumentsUrlModel.swift in Sources */
,
04DF69BB2CBA1CC5005AA41E
/* YHResignAppointApplicantCell.swift in Sources */
,
04DF69BB2CBA1CC5005AA41E
/* YHResignAppointApplicantCell.swift in Sources */
,
04A91E742CC6220900E5A079
/* YHCommonAlertView+AttributedMessage.swift in Sources */
,
04174D792BCD5B74000BA46D
/* YHMessageSessionCell.swift in Sources */
,
04174D792BCD5B74000BA46D
/* YHMessageSessionCell.swift in Sources */
,
044F39362CB6574D007CA277
/* YHVisaRenewalGuideHeaderCell.swift in Sources */
,
044F39362CB6574D007CA277
/* YHVisaRenewalGuideHeaderCell.swift in Sources */
,
04C85DE92C36BF49008B20D6
/* YHMyFileListFooterView.swift in Sources */
,
04C85DE92C36BF49008B20D6
/* YHMyFileListFooterView.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MySignature(我的签字)/V/YHCommonAlertView+AttributedMessage.swift
0 → 100644
View file @
644dcba7
//
// YHCommonAlertView+AttributedMessage.swift
// galaxy
//
// Created by alexzzw on 2024/10/21.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
import
AttributedString
extension
YHCommonAlertView
{
static
func
show
(
title
:
String
?
=
nil
,
attributedMessage
:
ASAttributedString
?
=
nil
,
_
leftButtonString
:
String
?
=
nil
,
_
rightButtonString
:
String
?
=
nil
,
fullGuestureEnable
:
Bool
=
true
,
cancelCallBack
:
(()
->
Void
)?
=
nil
,
callBack
:
@escaping
(()
->
Void
))
{
let
view
=
YHCommonAlertView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenHeight
))
view
.
agreeBlock
=
callBack
view
.
cancelBlcok
=
cancelCallBack
view
.
setContent
(
title
,
attributedMessage
?
.
value
.
string
,
leftButtonString
,
rightButtonString
)
view
.
messageLabel
.
attributed
.
text
=
attributedMessage
view
.
isFullGuestureEnabel
=
fullGuestureEnable
let
window
=
UIApplication
.
shared
.
yhKeyWindow
()
window
?
.
addSubview
(
view
)
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignDocumentManagement(续签文书管理)/C/YHResignDocumentDetailViewController.swift
View file @
644dcba7
...
@@ -320,12 +320,23 @@ extension YHResignDocumentDetailViewController: UITableViewDelegate, UITableView
...
@@ -320,12 +320,23 @@ extension YHResignDocumentDetailViewController: UITableViewDelegate, UITableView
}
}
sheetView
.
show
()
sheetView
.
show
()
}
else
if
editType
==
.
delete
{
// 删除
}
else
if
editType
==
.
delete
{
// 删除
if
let
index
=
self
.
detailModel
?
.
signedDocument
.
firstIndex
(
where
:
{
model
in
// 增加二次弹窗确认
model
.
url
==
urlStr
let
message0
:
ASAttributedString
=
.
init
(
string
:
"您确定要删除文档"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
16
)),
.
foreground
(
UIColor
(
hexString
:
"#222222"
)
??
.
black
))
})
{
let
message1
:
ASAttributedString
=
.
init
(
string
:
"
\(
title
)
"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
brandMainColor
))
self
.
detailModel
?
.
signedDocument
.
remove
(
at
:
index
)
let
message2
:
ASAttributedString
=
.
init
(
string
:
"吗?"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
16
)),
.
foreground
(
UIColor
(
hexString
:
"#222222"
)
??
.
black
))
self
.
updateUploadFilesSection
()
YHCommonAlertView
.
show
(
title
:
nil
,
attributedMessage
:
message0
+
message1
+
message2
,
"取消"
,
"确认"
,
fullGuestureEnable
:
false
)
{
}
callBack
:
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
if
let
index
=
self
.
detailModel
?
.
signedDocument
.
firstIndex
(
where
:
{
model
in
model
.
url
==
urlStr
})
{
self
.
detailModel
?
.
signedDocument
.
remove
(
at
:
index
)
self
.
updateUploadFilesSection
()
}
}
}
}
else
if
editType
==
.
preview
{
// 预览
}
else
if
editType
==
.
preview
{
// 预览
self
.
previewUploadedFiles
(
urlStr
,
title
:
title
)
self
.
previewUploadedFiles
(
urlStr
,
title
:
title
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment