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
329453e0
Commit
329453e0
authored
Mar 19, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI走查
parent
5756f284
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
62 additions
and
12 deletions
+62
-12
YHServiceCenterSecondViewController.swift
...Service(服务中心)/C/YHServiceCenterSecondViewController.swift
+39
-0
YHBasicInfoFillCell.swift
...我的信息流程)/BaseInformation(基本资料)/V/YHBasicInfoFillCell.swift
+4
-7
YHDatePickView.swift
...)/MainApplicantInformation(主申请人信息)/V/YHDatePickView.swift
+10
-1
YHInformationFillTipsAlertView.swift
...igentService(服务中心)/V/YHInformationFillTipsAlertView.swift
+4
-1
YHServiceCenterMainViewModel.swift
...ligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
+3
-1
Contents.json
...Center/个人信息表/person_info_close_btn.imageset/Contents.json
+2
-2
Frame 33332868@2x.png
...人信息表/person_info_close_btn.imageset/Frame 33332868@2x.png
+0
-0
Frame 33332868@3x.png
...人信息表/person_info_close_btn.imageset/Frame 33332868@3x.png
+0
-0
Group 2849@2x.png
...er/个人信息表/person_info_close_btn.imageset/Group 2849@2x.png
+0
-0
Group 2849@3x.png
...er/个人信息表/person_info_close_btn.imageset/Group 2849@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHServiceCenterSecondViewController.swift
View file @
329453e0
...
...
@@ -42,16 +42,24 @@ class YHServiceCenterSecondViewController: YHBaseViewController {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
setupUI
()
loadData2
()
loadData
()
}
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
loadData2
()
loadData
()
}
}
extension
YHServiceCenterSecondViewController
{
func
loadData2
()
{
guard
let
orderId
=
orderId
else
{
return
}
self
.
serviceCenterMainReqVM
.
getPersonInfoFillStep
(
params
:
[
"orderId"
:
orderId
])
{
success
,
error
in
}
}
func
loadData
()
{
guard
let
orderId
=
orderId
else
{
return
}
self
.
serviceCenterMainReqVM
.
getContactStatus
(
params
:
[
"orderId"
:
orderId
])
{
success
,
error
in
...
...
@@ -171,6 +179,11 @@ extension YHServiceCenterSecondViewController : UITableViewDelegate,UITableViewD
if
model
.
type
==
1
{
if
self
.
serviceCenterMainReqVM
.
informationFillStepModel
?
.
sweet_notify_status
==
0
{
self
.
showTipsAlert
()
return
}
let
vc
=
YHInformationPerfectListVC
()
vc
.
orderId
=
orderId
navigationController
?
.
pushViewController
(
vc
)
...
...
@@ -202,3 +215,29 @@ extension YHServiceCenterSecondViewController : UITableViewDelegate,UITableViewD
}
}
}
private
extension
YHServiceCenterSecondViewController
{
func
showTipsAlert
()
{
YHInformationFillTipsAlertView
.
showCheckView
{
agree
in
if
agree
==
true
{
printLog
(
"点击了 确认 按钮"
)
self
.
submitSweetNotify
()
}
else
{
printLog
(
"点击了 取消 按钮"
)
}
}
}
func
submitSweetNotify
()
{
let
params
=
[
"option"
:
1
,
"order_id"
:
orderId
]
serviceCenterMainReqVM
.
submitSweetNotifyOp
(
params
:
params
as
[
String
:
Any
])
{
success
,
error
in
if
success
==
true
{
YHInformationFillTipsAlertView
.
hideCheckView
()
}
else
{
YHHUD
.
flash
(
message
:
error
?
.
errorMsg
??
"发生错误,请重试"
)
}
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/BaseInformation(基本资料)/V/YHBasicInfoFillCell.swift
View file @
329453e0
...
...
@@ -11,13 +11,6 @@ import UIKit
class
YHBasicInfoFillCell
:
UITableViewCell
{
static
let
cellReuseIdentifier
=
"YHBasicInfoFillCell"
// var arrData : [YHBasicInfoSessionModel]? {
// didSet {
// updateUI()
// }
// }
var
dataModel
:
YHBasicInfoSessionModel
?
{
didSet
{
updateUI
()
...
...
@@ -46,6 +39,10 @@ extension YHBasicInfoFillCell {
contentView
.
removeSubviews
()
backgroundColor
=
.
clear
contentView
.
backgroundColor
=
.
clear
//主申请人
let
holdView1
=
UIView
()
holdView1
.
backgroundColor
=
.
white
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/V/YHDatePickView.swift
View file @
329453e0
...
...
@@ -75,7 +75,6 @@ class YHDatePickView: UIView {
centerView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
16
return
view
}()
addSubview
(
centerView
)
...
...
@@ -163,6 +162,16 @@ class YHDatePickView: UIView {
make
.
right
.
equalTo
(
-
16
)
}
pickerView
.
selectRow
(
100
,
inComponent
:
0
,
animated
:
true
)
centerView
.
layoutIfNeeded
()
let
corner
=
UIRectCorner
(
rawValue
:
UIRectCorner
.
topLeft
.
rawValue
|
UIRectCorner
.
topRight
.
rawValue
)
let
path
=
UIBezierPath
(
roundedRect
:
bounds
,
byRoundingCorners
:
corner
,
cornerRadii
:
CGSizeMake
(
8
,
8
));
let
layer
=
CAShapeLayer
();
layer
.
frame
=
centerView
.
bounds
;
layer
.
path
=
path
.
cgPath
;
centerView
.
layer
.
mask
=
layer
;
}
@objc
private
func
handleTap
(
_
sender
:
AnyObject
?)
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHInformationFillTipsAlertView.swift
View file @
329453e0
...
...
@@ -83,6 +83,7 @@ class YHInformationFillTipsAlertView: UIView {
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
kCornerRadius8
view
.
clipsToBounds
=
true
return
view
}()
addSubview
(
centerView
)
...
...
@@ -181,9 +182,11 @@ class YHInformationFillTipsAlertView: UIView {
closeBtn
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalTo
(
lable01
.
snp
.
centerY
)
make
.
right
.
equalTo
(
-
25
)
make
.
width
.
height
.
equalTo
(
2
0
)
make
.
width
.
height
.
equalTo
(
2
4
)
}
closeBtn
.
YH_clickEdgeInsets
=
UIEdgeInsets
(
top
:
10
,
left
:
10
,
bottom
:
10
,
right
:
10
)
let
line
=
UIView
()
line
.
backgroundColor
=
UIColor
.
separatorColor
topView
.
addSubview
(
line
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
View file @
329453e0
...
...
@@ -14,6 +14,7 @@ class YHServiceCenterMainViewModel: YHBaseViewModel {
//合同对应的状态
var
arrContactStausItmes
:
[
YHContactMainItemStatusModel
]
=
[]
var
contactDetailData
:
YHContactMainItemStatusModel2
?
//信息完善列表
var
arrInfoFillStep
:
[
YHInformationPerfectModel
]
=
[]
...
...
@@ -128,6 +129,7 @@ extension YHServiceCenterMainViewModel {
return
}
self
.
contactDetailData
=
resultModel
if
resultModel
.
fill_info_step
>
6
{
//resultModel.fill_info_step == 7的时候表示 我的信息填写完成
let
model
=
YHContactMainItemStatusModel
()
...
...
@@ -137,7 +139,7 @@ extension YHServiceCenterMainViewModel {
if
true
||
resultModel
.
supplement_not_submit_num
>
0
{
//for test hjl 方便测试
if
resultModel
.
supplement_not_submit_num
>
0
{
let
model2
=
YHContactMainItemStatusModel
()
model2
.
type
=
2
model2
.
isFinished
=
false
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/个人信息表/person_info_close_btn.imageset/Contents.json
View file @
329453e0
...
...
@@ -5,12 +5,12 @@
"scale"
:
"1x"
},
{
"filename"
:
"
Frame 33332868
@2x.png"
,
"filename"
:
"
Group 2849
@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"
Frame 33332868
@3x.png"
,
"filename"
:
"
Group 2849
@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/个人信息表/person_info_close_btn.imageset/Frame 33332868@2x.png
deleted
100644 → 0
View file @
5756f284
843 Bytes
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/个人信息表/person_info_close_btn.imageset/Frame 33332868@3x.png
deleted
100644 → 0
View file @
5756f284
1.11 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/个人信息表/person_info_close_btn.imageset/Group 2849@2x.png
0 → 100644
View file @
329453e0
1.23 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/个人信息表/person_info_close_btn.imageset/Group 2849@3x.png
0 → 100644
View file @
329453e0
1.72 KB
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