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
c29e66f7
Commit
c29e66f7
authored
Mar 21, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 我的证书
parent
f34e62b4
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
30 deletions
+30
-30
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+12
-12
YHCertificateListContainerVC.swift
...MyCertificates(我的证书)/C/YHCertificateListContainerVC.swift
+5
-5
YHCertificateListVC.swift
...ce(服务中心)/MyCertificates(我的证书)/C/YHCertificateListVC.swift
+6
-6
YHCertificateSearchViewController.swift
...tificates(我的证书)/C/YHCertificateSearchViewController.swift
+1
-1
YHCertificateUploadContentListVC.swift
...rtificates(我的证书)/C/YHCertificateUploadContentListVC.swift
+4
-4
YHMineCertificateEntryViewController.swift
...icates(我的证书)/C/YHMineCertificateEntryViewController.swift
+1
-1
YHCertificateNameCell.swift
...(服务中心)/MyCertificates(我的证书)/V/YHCertificateNameCell.swift
+1
-1
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
c29e66f7
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YH
MaterialListViewController
.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YH
CertificateListContainerVC
.swift
View file @
c29e66f7
...
@@ -34,7 +34,7 @@ class YHCertificateCategoryItem {
...
@@ -34,7 +34,7 @@ class YHCertificateCategoryItem {
}
}
}
}
class
YH
MaterialListViewController
:
YHBaseViewController
{
class
YH
CertificateListContainerVC
:
YHBaseViewController
{
static
let
segmentHeight
=
53.0
static
let
segmentHeight
=
53.0
...
@@ -66,7 +66,7 @@ class YHMaterialListViewController: YHBaseViewController {
...
@@ -66,7 +66,7 @@ class YHMaterialListViewController: YHBaseViewController {
YHCertificateCategoryItem
(
type
:
.
rejected
),
YHCertificateCategoryItem
(
type
:
.
rejected
),
YHCertificateCategoryItem
(
type
:
.
review
),
YHCertificateCategoryItem
(
type
:
.
review
),
YHCertificateCategoryItem
(
type
:
.
finish
)]
YHCertificateCategoryItem
(
type
:
.
finish
)]
var
itemVCs
:[
YHCertificate
ResourceUpload
VC
]
=
[]
var
itemVCs
:[
YHCertificate
List
VC
]
=
[]
lazy
var
segmentedView
:
JXSegmentedView
=
{
lazy
var
segmentedView
:
JXSegmentedView
=
{
let
segview
=
JXSegmentedView
(
frame
:
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
,
width
:
KScreenWidth
,
height
:
Self
.
segmentHeight
))
let
segview
=
JXSegmentedView
(
frame
:
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
,
width
:
KScreenWidth
,
height
:
Self
.
segmentHeight
))
...
@@ -132,7 +132,7 @@ class YHMaterialListViewController: YHBaseViewController {
...
@@ -132,7 +132,7 @@ class YHMaterialListViewController: YHBaseViewController {
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
didCertificateCountStatistics(_:)
)
,
name
:
countStatisticsNotify
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
didCertificateCountStatistics(_:)
)
,
name
:
countStatisticsNotify
,
object
:
nil
)
for
item
in
categoryItems
{
for
item
in
categoryItems
{
let
vc
=
YHCertificate
ResourceUpload
VC
()
let
vc
=
YHCertificate
List
VC
()
vc
.
orderId
=
orderId
vc
.
orderId
=
orderId
vc
.
status
=
item
.
type
vc
.
status
=
item
.
type
vc
.
categoryInfo
=
categoryInfo
vc
.
categoryInfo
=
categoryInfo
...
@@ -219,7 +219,7 @@ class YHMaterialListViewController: YHBaseViewController {
...
@@ -219,7 +219,7 @@ class YHMaterialListViewController: YHBaseViewController {
}
}
extension
YH
MaterialListViewController
:
JXSegmentedViewDelegate
{
extension
YH
CertificateListContainerVC
:
JXSegmentedViewDelegate
{
func
segmentedView
(
_
segmentedView
:
JXSegmentedView
,
didSelectedItemAt
index
:
Int
)
{
func
segmentedView
(
_
segmentedView
:
JXSegmentedView
,
didSelectedItemAt
index
:
Int
)
{
if
0
<=
index
&&
index
<
itemVCs
.
count
{
if
0
<=
index
&&
index
<
itemVCs
.
count
{
...
@@ -240,7 +240,7 @@ extension YHMaterialListViewController: JXSegmentedViewDelegate {
...
@@ -240,7 +240,7 @@ extension YHMaterialListViewController: JXSegmentedViewDelegate {
}
}
}
}
extension
YH
MaterialListViewController
:
JXSegmentedListContainerViewDataSource
{
extension
YH
CertificateListContainerVC
:
JXSegmentedListContainerViewDataSource
{
func
numberOfLists
(
in
listContainerView
:
JXSegmentedListContainerView
)
->
Int
{
func
numberOfLists
(
in
listContainerView
:
JXSegmentedListContainerView
)
->
Int
{
if
let
titleDataSource
=
segmentedView
.
dataSource
as?
JXSegmentedBaseDataSource
{
if
let
titleDataSource
=
segmentedView
.
dataSource
as?
JXSegmentedBaseDataSource
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHCertificate
ResourceUpload
VC.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHCertificate
List
VC.swift
View file @
c29e66f7
...
@@ -12,7 +12,7 @@ import UniformTypeIdentifiers
...
@@ -12,7 +12,7 @@ import UniformTypeIdentifiers
import
IQKeyboardManagerSwift
import
IQKeyboardManagerSwift
import
SwifterSwift
import
SwifterSwift
class
YHCertificate
ResourceUpload
VC
:
YHBaseViewController
{
class
YHCertificate
List
VC
:
YHBaseViewController
{
var
orderId
:
Int
?
var
orderId
:
Int
?
var
status
:
YHCertificateUploadStatus
=
.
all
var
status
:
YHCertificateUploadStatus
=
.
all
...
@@ -84,12 +84,12 @@ class YHCertificateResourceUploadVC: YHBaseViewController {
...
@@ -84,12 +84,12 @@ class YHCertificateResourceUploadVC: YHBaseViewController {
view
.
addSubview
(
tableView
)
view
.
addSubview
(
tableView
)
tableView
.
snp
.
makeConstraints
{
make
in
tableView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
left
.
right
.
equalToSuperview
()
make
.
top
.
left
.
right
.
equalToSuperview
()
make
.
height
.
equalTo
(
KScreenHeight
-
k_Height_NavigationtBarAndStatuBar
-
YH
MaterialListViewController
.
segmentHeight
)
make
.
height
.
equalTo
(
KScreenHeight
-
k_Height_NavigationtBarAndStatuBar
-
YH
CertificateListContainerVC
.
segmentHeight
)
}
}
}
}
}
}
extension
YHCertificate
ResourceUpload
VC
:
UITableViewDelegate
,
UITableViewDataSource
{
extension
YHCertificate
List
VC
:
UITableViewDelegate
,
UITableViewDataSource
{
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
return
items
.
count
return
items
.
count
...
@@ -138,7 +138,7 @@ extension YHCertificateResourceUploadVC: UITableViewDelegate, UITableViewDataSou
...
@@ -138,7 +138,7 @@ extension YHCertificateResourceUploadVC: UITableViewDelegate, UITableViewDataSou
return
return
}
}
// 非待上传的进入详情
// 非待上传的进入详情
let
vc
=
YH
UploadConten
tVC
()
let
vc
=
YH
CertificateUploadContentLis
tVC
()
vc
.
orderId
=
orderId
vc
.
orderId
=
orderId
vc
.
categoryInfo
=
categoryInfo
vc
.
categoryInfo
=
categoryInfo
vc
.
supplementInfo
=
item
vc
.
supplementInfo
=
item
...
@@ -166,13 +166,13 @@ extension YHCertificateResourceUploadVC: UITableViewDelegate, UITableViewDataSou
...
@@ -166,13 +166,13 @@ extension YHCertificateResourceUploadVC: UITableViewDelegate, UITableViewDataSou
}
}
// MARK: - JXSegmentedListContainerViewListDelegate
// MARK: - JXSegmentedListContainerViewListDelegate
extension
YHCertificate
ResourceUpload
VC
:
JXSegmentedListContainerViewListDelegate
{
extension
YHCertificate
List
VC
:
JXSegmentedListContainerViewListDelegate
{
func
listView
()
->
UIView
{
func
listView
()
->
UIView
{
return
view
return
view
}
}
}
}
extension
YHCertificate
ResourceUpload
VC
{
extension
YHCertificate
List
VC
{
func
requestList
(
status
:
YHCertificateUploadStatus
,
extra
:[
String
:
Any
]
=
[:])
{
func
requestList
(
status
:
YHCertificateUploadStatus
,
extra
:[
String
:
Any
]
=
[:])
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHCertificateSearchViewController.swift
View file @
c29e66f7
...
@@ -169,7 +169,7 @@ extension YHCertificateSearchViewController: UITableViewDelegate, UITableViewDat
...
@@ -169,7 +169,7 @@ extension YHCertificateSearchViewController: UITableViewDelegate, UITableViewDat
return
return
}
}
// 非待上传的进入详情
// 非待上传的进入详情
let
vc
=
YH
UploadConten
tVC
()
let
vc
=
YH
CertificateUploadContentLis
tVC
()
vc
.
orderId
=
orderId
vc
.
orderId
=
orderId
vc
.
categoryInfo
=
categoryInfo
vc
.
categoryInfo
=
categoryInfo
vc
.
supplementInfo
=
item
vc
.
supplementInfo
=
item
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YH
UploadConten
tVC.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YH
CertificateUploadContentLis
tVC.swift
View file @
c29e66f7
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
import
UIKit
import
UIKit
import
IQKeyboardManagerSwift
import
IQKeyboardManagerSwift
class
YH
UploadConten
tVC
:
YHBaseViewController
{
class
YH
CertificateUploadContentLis
tVC
:
YHBaseViewController
{
var
orderId
:
Int
!
var
orderId
:
Int
!
var
categoryInfo
:
YHCategoryData
!
var
categoryInfo
:
YHCategoryData
!
...
@@ -159,7 +159,7 @@ class YHUploadContentVC: YHBaseViewController {
...
@@ -159,7 +159,7 @@ class YHUploadContentVC: YHBaseViewController {
}
}
}
}
extension
YH
UploadConten
tVC
:
UITableViewDelegate
,
UITableViewDataSource
{
extension
YH
CertificateUploadContentLis
tVC
:
UITableViewDelegate
,
UITableViewDataSource
{
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
return
2
return
2
...
@@ -408,7 +408,7 @@ extension YHUploadContentVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -408,7 +408,7 @@ extension YHUploadContentVC: UITableViewDelegate, UITableViewDataSource {
}
}
}
}
extension
YH
UploadConten
tVC
{
extension
YH
CertificateUploadContentLis
tVC
{
func
addKeyBoardNotify
()
{
func
addKeyBoardNotify
()
{
...
@@ -443,7 +443,7 @@ extension YHUploadContentVC {
...
@@ -443,7 +443,7 @@ extension YHUploadContentVC {
}
}
}
}
extension
YH
UploadConten
tVC
{
extension
YH
CertificateUploadContentLis
tVC
{
func
requestList
()
{
func
requestList
()
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHMineCertificateEntryViewController.swift
View file @
c29e66f7
...
@@ -190,7 +190,7 @@ extension YHMineCertificateEntryViewController : UITableViewDelegate,UITableView
...
@@ -190,7 +190,7 @@ extension YHMineCertificateEntryViewController : UITableViewDelegate,UITableView
guard
let
model
=
certificateReqVM
.
certificateEntryModel
else
{
return
}
guard
let
model
=
certificateReqVM
.
certificateEntryModel
else
{
return
}
let
vc
=
YH
MaterialListViewController
()
let
vc
=
YH
CertificateListContainerVC
()
vc
.
orderId
=
orderId
vc
.
orderId
=
orderId
if
indexPath
.
section
<
model
.
category_data
.
count
{
if
indexPath
.
section
<
model
.
category_data
.
count
{
vc
.
categoryInfo
=
model
.
category_data
[
indexPath
.
section
]
vc
.
categoryInfo
=
model
.
category_data
[
indexPath
.
section
]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateNameCell.swift
View file @
c29e66f7
...
@@ -103,7 +103,7 @@ class YHCertificateNameCell: UITableViewCell {
...
@@ -103,7 +103,7 @@ class YHCertificateNameCell: UITableViewCell {
editBtn
=
UIButton
()
editBtn
=
UIButton
()
editBtn
.
setImage
(
UIImage
(
named
:
"my_cer_btn_edit"
),
for
:
.
normal
)
editBtn
.
setImage
(
UIImage
(
named
:
"my_cer_btn_edit"
),
for
:
.
normal
)
editBtn
.
YH_clickEdgeInsets
=
UIEdgeInsets
(
top
:
20
,
left
:
20
,
bottom
:
20
,
right
:
2
0
)
editBtn
.
YH_clickEdgeInsets
=
UIEdgeInsets
(
top
:
30
,
left
:
30
,
bottom
:
30
,
right
:
3
0
)
editBtn
.
addTarget
(
self
,
action
:
#selector(
didEditBtnClicked
)
,
for
:
.
touchUpInside
)
editBtn
.
addTarget
(
self
,
action
:
#selector(
didEditBtnClicked
)
,
for
:
.
touchUpInside
)
whiteView
.
addSubview
(
editBtn
)
whiteView
.
addSubview
(
editBtn
)
...
...
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