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
03e70528
Commit
03e70528
authored
Jan 31, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
8e0d1f12
' into davidhuang
* commit '
8e0d1f12
': // 证书
parents
20a64040
8e0d1f12
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
11 deletions
+32
-11
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+1
-1
YHBrotherInfoVC.swift
...)/ServiceProcess(流程)/FamilyMember/C/YHBrotherInfoVC.swift
+19
-0
YHCertificateViewController.swift
...cess(流程)/FamilyMember/C/YHCertificateViewController.swift
+10
-7
YHChildBasicInfoVC.swift
...erviceProcess(流程)/FamilyMember/C/YHChildBasicInfoVC.swift
+0
-2
YHFamilyMemberFormVC.swift
...viceProcess(流程)/FamilyMember/C/YHFamilyMemberFormVC.swift
+0
-1
YHDatePickView.swift
...ocess(流程)/MainApplicantInformation/V/YHDatePickView.swift
+2
-0
No files found.
galaxy/galaxy/AppDelegate.swift
View file @
03e70528
...
@@ -127,7 +127,7 @@ extension AppDelegate {
...
@@ -127,7 +127,7 @@ extension AppDelegate {
//4.
//4.
IQKeyboardManager
.
shared
.
enable
=
true
IQKeyboardManager
.
shared
.
enable
=
true
IQKeyboardManager
.
shared
.
enableAutoToolbar
=
fals
e
IQKeyboardManager
.
shared
.
enableAutoToolbar
=
tru
e
IQKeyboardManager
.
shared
.
resignOnTouchOutside
=
true
// 控制点击背景是否收起键盘
IQKeyboardManager
.
shared
.
resignOnTouchOutside
=
true
// 控制点击背景是否收起键盘
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHBrotherInfoVC.swift
View file @
03e70528
...
@@ -247,6 +247,25 @@ extension YHBrotherInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -247,6 +247,25 @@ extension YHBrotherInfoVC : UITableViewDelegate, UITableViewDataSource {
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
!
(
0
..<
items
.
count
)
.
contains
(
indexPath
.
section
)
{
return
}
let
arr
:[
YHFormItemProtocol
]
=
items
[
indexPath
.
section
]
if
!
(
0
..<
arr
.
count
)
.
contains
(
indexPath
.
row
)
{
return
}
let
item
=
arr
[
indexPath
.
row
]
if
item
is
YHFormDetailItem
{
let
detailItem
=
item
as!
YHFormDetailItem
if
detailItem
.
type
==
.
certificateValidDate
||
detailItem
.
type
==
.
certificateSignDate
{
// 届满日期 签发日期
self
.
view
?
.
endEditing
(
true
)
YHDatePickView
.
show
(
type
:
.
yyyymmdd
)
{
date
in
let
dataArr
=
date
.
components
(
separatedBy
:
YHDatePickView
.
separator
)
print
(
date
)
}
}
return
}
}
}
func
createCorner
(
cell
:
UITableViewCell
,
arr
:
Array
<
Any
>
,
indexPath
:
IndexPath
)
{
func
createCorner
(
cell
:
UITableViewCell
,
arr
:
Array
<
Any
>
,
indexPath
:
IndexPath
)
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHCertificateViewController.swift
View file @
03e70528
...
@@ -23,6 +23,7 @@ class YHCertificateViewController: YHBaseViewController {
...
@@ -23,6 +23,7 @@ class YHCertificateViewController: YHBaseViewController {
if
#available(iOS 11.0, *)
{
if
#available(iOS 11.0, *)
{
tableView
.
contentInsetAdjustmentBehavior
=
.
never
tableView
.
contentInsetAdjustmentBehavior
=
.
never
}
}
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
backgroundColor
=
.
clear
tableView
.
separatorStyle
=
.
none
tableView
.
separatorStyle
=
.
none
...
@@ -73,7 +74,9 @@ class YHCertificateViewController: YHBaseViewController {
...
@@ -73,7 +74,9 @@ class YHCertificateViewController: YHBaseViewController {
let
item12
=
YHFormDetailItem
(
type
:
.
certificateSignPlace
)
let
item12
=
YHFormDetailItem
(
type
:
.
certificateSignPlace
)
let
item13
=
YHFormDetailItem
(
type
:
.
certificateSignDate
)
let
item13
=
YHFormDetailItem
(
type
:
.
certificateSignDate
)
let
item14
=
YHFormDetailItem
(
type
:
.
certificateValidDate
)
let
item14
=
YHFormDetailItem
(
type
:
.
certificateValidDate
)
let
arr1
:[
YHFormItemProtocol
]
=
[
title1
,
item10
,
item11
,
item12
,
item13
,
item14
]
let
item15
=
YHFormDetailItem
(
type
:
.
certificateSignPlace
)
let
arr1
:[
YHFormItemProtocol
]
=
[
title1
,
item10
,
item11
,
item12
,
item13
,
item14
,
item15
]
items
.
append
(
contentsOf
:
[
arr0
,
arr1
])
items
.
append
(
contentsOf
:
[
arr0
,
arr1
])
tableView
.
reloadData
()
tableView
.
reloadData
()
...
@@ -187,10 +190,9 @@ extension YHCertificateViewController : UITableViewDelegate, UITableViewDataSour
...
@@ -187,10 +190,9 @@ extension YHCertificateViewController : UITableViewDelegate, UITableViewDataSour
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
indexPath
.
section
>=
items
.
count
{
return
}
if
!
(
0
..<
items
.
count
)
.
contains
(
indexPath
.
section
)
{
return
}
let
arr
:[
YHFormItemProtocol
]
=
items
[
indexPath
.
section
]
let
arr
:[
YHFormItemProtocol
]
=
items
[
indexPath
.
section
]
if
!
(
0
..<
arr
.
count
)
.
contains
(
indexPath
.
row
)
{
return
}
if
indexPath
.
row
>=
arr
.
count
||
indexPath
.
row
<
0
{
return
}
let
item
=
arr
[
indexPath
.
row
]
let
item
=
arr
[
indexPath
.
row
]
if
item
is
YHFormTitleItem
{
if
item
is
YHFormTitleItem
{
...
@@ -201,10 +203,11 @@ extension YHCertificateViewController : UITableViewDelegate, UITableViewDataSour
...
@@ -201,10 +203,11 @@ extension YHCertificateViewController : UITableViewDelegate, UITableViewDataSour
if
detailItem
.
type
==
.
certificateValidDate
||
if
detailItem
.
type
==
.
certificateValidDate
||
detailItem
.
type
==
.
certificateSignDate
{
// 届满日期 签发日期
detailItem
.
type
==
.
certificateSignDate
{
// 届满日期 签发日期
self
.
view
?
.
endEditing
(
true
)
YHDatePickView
.
show
(
type
:
.
yyyymmdd
)
{
date
in
YHDatePickView
.
show
(
type
:
.
yyyymmdd
)
{
date
in
let
a
rr
=
date
.
components
(
separatedBy
:
YHDatePickView
.
separator
)
let
dataA
rr
=
date
.
components
(
separatedBy
:
YHDatePickView
.
separator
)
// [yyyy, mm, dd] eg ["2024", "01", "20"]
print
(
dataArr
)
print
(
date
)
}
}
}
}
return
return
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHChildBasicInfoVC.swift
View file @
03e70528
...
@@ -36,8 +36,6 @@ class YHChildBasicInfoVC: YHBaseViewController {
...
@@ -36,8 +36,6 @@ class YHChildBasicInfoVC: YHBaseViewController {
tableView
.
register
(
YHFormItemAddCell
.
self
,
forCellReuseIdentifier
:
YHFormItemAddCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemAddCell
.
self
,
forCellReuseIdentifier
:
YHFormItemAddCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemSelectSheetCell
.
self
,
forCellReuseIdentifier
:
YHFormItemSelectSheetCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemSelectSheetCell
.
self
,
forCellReuseIdentifier
:
YHFormItemSelectSheetCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemDegreeInfoCell
.
self
,
forCellReuseIdentifier
:
YHFormItemDegreeInfoCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemDegreeInfoCell
.
self
,
forCellReuseIdentifier
:
YHFormItemDegreeInfoCell
.
cellReuseIdentifier
)
return
tableView
return
tableView
}()
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHFamilyMemberFormVC.swift
View file @
03e70528
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
//
//
import
UIKit
import
UIKit
import
IQKeyboardManagerSwift
enum
YHFormTitleItemEditType
:
Int
{
enum
YHFormTitleItemEditType
:
Int
{
case
none
=
1
case
none
=
1
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation/V/YHDatePickView.swift
View file @
03e70528
...
@@ -177,6 +177,7 @@ class YHDatePickView: UIView {
...
@@ -177,6 +177,7 @@ class YHDatePickView: UIView {
removeFromSuperview
()
removeFromSuperview
()
}
}
@objc
func
sure
()
{
@objc
func
sure
()
{
guard
let
type
=
type
else
{
return
}
guard
let
type
=
type
else
{
return
}
var
date
=
""
var
date
=
""
...
@@ -191,6 +192,7 @@ class YHDatePickView: UIView {
...
@@ -191,6 +192,7 @@ class YHDatePickView: UIView {
if
self
.
backDate
!=
nil
{
if
self
.
backDate
!=
nil
{
self
.
backDate
!
(
date
)
self
.
backDate
!
(
date
)
}
}
dismiss
()
}
}
}
}
...
...
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