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
c8f41227
Commit
c8f41227
authored
Apr 16, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务中心进度列表
parent
7b0653a0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
60 additions
and
1 deletion
+60
-1
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-0
YHServiceCenterProgressModel.swift
...lligentService(服务中心)/M/YHServiceCenterProgressModel.swift
+17
-0
YHServiceCenterMainViewModel.swift
...ligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
+37
-1
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+2
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
c8f41227
...
@@ -397,6 +397,7 @@
...
@@ -397,6 +397,7 @@
A5D001212BAA9D99001F003C
/* YHChoiceButtonHoldView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5D001202BAA9D99001F003C
/* YHChoiceButtonHoldView.swift */
;
};
A5D001212BAA9D99001F003C
/* YHChoiceButtonHoldView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5D001202BAA9D99001F003C
/* YHChoiceButtonHoldView.swift */
;
};
A5D0012A2BABC84A001F003C
/* YHFileListHeaerView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5D001272BABC84A001F003C
/* YHFileListHeaerView.swift */
;
};
A5D0012A2BABC84A001F003C
/* YHFileListHeaerView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5D001272BABC84A001F003C
/* YHFileListHeaerView.swift */
;
};
A5D0012C2BABC84A001F003C
/* YHFileListBottomView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5D001292BABC84A001F003C
/* YHFileListBottomView.swift */
;
};
A5D0012C2BABC84A001F003C
/* YHFileListBottomView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5D001292BABC84A001F003C
/* YHFileListBottomView.swift */
;
};
A5D335F92BCE51E700236F21
/* YHServiceCenterProgressModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5D335F82BCE51E700236F21
/* YHServiceCenterProgressModel.swift */
;
};
A5D5ADEF2BB90FBC0039FA6B
/* YHCheckEamilAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5D5ADEE2BB90FBB0039FA6B
/* YHCheckEamilAlertView.swift */
;
};
A5D5ADEF2BB90FBC0039FA6B
/* YHCheckEamilAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5D5ADEE2BB90FBB0039FA6B
/* YHCheckEamilAlertView.swift */
;
};
A5D6AB1B2B46A1CC001C10A5
/* YHHomeModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5D6AB1A2B46A1CC001C10A5
/* YHHomeModel.swift */
;
};
A5D6AB1B2B46A1CC001C10A5
/* YHHomeModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5D6AB1A2B46A1CC001C10A5
/* YHHomeModel.swift */
;
};
A5D6AB1D2B46AAFB001C10A5
/* YHHomePageViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5D6AB1C2B46AAFB001C10A5
/* YHHomePageViewModel.swift */
;
};
A5D6AB1D2B46AAFB001C10A5
/* YHHomePageViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5D6AB1C2B46AAFB001C10A5
/* YHHomePageViewModel.swift */
;
};
...
@@ -848,6 +849,7 @@
...
@@ -848,6 +849,7 @@
A5D001202BAA9D99001F003C
/* YHChoiceButtonHoldView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHChoiceButtonHoldView.swift
;
sourceTree
=
"<group>"
;
};
A5D001202BAA9D99001F003C
/* YHChoiceButtonHoldView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHChoiceButtonHoldView.swift
;
sourceTree
=
"<group>"
;
};
A5D001272BABC84A001F003C
/* YHFileListHeaerView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFileListHeaerView.swift
;
sourceTree
=
"<group>"
;
};
A5D001272BABC84A001F003C
/* YHFileListHeaerView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFileListHeaerView.swift
;
sourceTree
=
"<group>"
;
};
A5D001292BABC84A001F003C
/* YHFileListBottomView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFileListBottomView.swift
;
sourceTree
=
"<group>"
;
};
A5D001292BABC84A001F003C
/* YHFileListBottomView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFileListBottomView.swift
;
sourceTree
=
"<group>"
;
};
A5D335F82BCE51E700236F21
/* YHServiceCenterProgressModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHServiceCenterProgressModel.swift
;
sourceTree
=
"<group>"
;
};
A5D5ADEE2BB90FBB0039FA6B
/* YHCheckEamilAlertView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCheckEamilAlertView.swift
;
sourceTree
=
"<group>"
;
};
A5D5ADEE2BB90FBB0039FA6B
/* YHCheckEamilAlertView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCheckEamilAlertView.swift
;
sourceTree
=
"<group>"
;
};
A5D6AB1A2B46A1CC001C10A5
/* YHHomeModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHomeModel.swift
;
sourceTree
=
"<group>"
;
};
A5D6AB1A2B46A1CC001C10A5
/* YHHomeModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHomeModel.swift
;
sourceTree
=
"<group>"
;
};
A5D6AB1C2B46AAFB001C10A5
/* YHHomePageViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHomePageViewModel.swift
;
sourceTree
=
"<group>"
;
};
A5D6AB1C2B46AAFB001C10A5
/* YHHomePageViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHomePageViewModel.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -2091,6 +2093,7 @@
...
@@ -2091,6 +2093,7 @@
A5FD63C02B62616D00D1D9DA
/* YHInformationPerfectModel.swift */
,
A5FD63C02B62616D00D1D9DA
/* YHInformationPerfectModel.swift */
,
A5FD63C22B63438A00D1D9DA
/* YHContactMainItemStatusModel.swift */
,
A5FD63C22B63438A00D1D9DA
/* YHContactMainItemStatusModel.swift */
,
A58556B92B6BCF1A003746B2
/* YHPersonInfoFillStepModel.swift */
,
A58556B92B6BCF1A003746B2
/* YHPersonInfoFillStepModel.swift */
,
A5D335F82BCE51E700236F21
/* YHServiceCenterProgressModel.swift */
,
);
);
path
=
M
;
path
=
M
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -2850,6 +2853,7 @@
...
@@ -2850,6 +2853,7 @@
0414BDAD2BC7F02C00225367
/* YHMyNotifySettingVC.swift in Sources */
,
0414BDAD2BC7F02C00225367
/* YHMyNotifySettingVC.swift in Sources */
,
A5ACE9272B4564F7002C94D2
/* YHLoginViewController.swift in Sources */
,
A5ACE9272B4564F7002C94D2
/* YHLoginViewController.swift in Sources */
,
0425E6402BA9357D00A5E763
/* YHScemeItemModel.swift in Sources */
,
0425E6402BA9357D00A5E763
/* YHScemeItemModel.swift in Sources */
,
A5D335F92BCE51E700236F21
/* YHServiceCenterProgressModel.swift in Sources */
,
045EEECC2B9F171A0022A143
/* YHScoreResultModel.swift in Sources */
,
045EEECC2B9F171A0022A143
/* YHScoreResultModel.swift in Sources */
,
045EEEDC2B9F171A0022A143
/* YHQualificationDetailVC.swift in Sources */
,
045EEEDC2B9F171A0022A143
/* YHQualificationDetailVC.swift in Sources */
,
045EEEF52B9F171A0022A143
/* YHSpouseInfoContainerVC.swift in Sources */
,
045EEEF52B9F171A0022A143
/* YHSpouseInfoContainerVC.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/M/YHServiceCenterProgressModel.swift
0 → 100644
View file @
c8f41227
//
// YHServiceCenterProgressModel.swift
// galaxy
//
// Created by davidhuangA on 2024/4/16.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHServiceCenterProgressModel
:
YHBaseModel
{
var
name
:
String
=
""
var
percentage
:
Int
=
0
var
status
:
Int
=
0
// 0未知 1待开始 2进行中 3 已完成
var
num
:
Int
=
0
var
type
:
Int
=
0
// 1 证件 2 信息完善 3 我的评分 4 我的方案 5 我的签字 6我的文书
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
View file @
c8f41227
...
@@ -24,12 +24,48 @@ class YHServiceCenterMainViewModel: YHBaseViewModel {
...
@@ -24,12 +24,48 @@ class YHServiceCenterMainViewModel: YHBaseViewModel {
//我的评分
//我的评分
var
myScoreResultData
:
YHScoreResultModel
?
//网络请求的结果数据
var
myScoreResultData
:
YHScoreResultModel
?
//网络请求的结果数据
var
localScoreData
:
YHScoreDataModel
?
//本地缓存的数据
var
localScoreData
:
YHScoreDataModel
?
//本地缓存的数据
var
allInfoScoreModel
:
YHContactInfoScoreModel
?
//提交信息获取 得分
var
allInfoScoreModel
:
YHContactInfoScoreModel
?
//提交信息获取 得分
//服务中心进度模型
var
arrDataForSeviceCenterProgress
:
[
YHServiceCenterProgressModel
]
=
[]
}
}
//请求接口
//请求接口
extension
YHServiceCenterMainViewModel
{
extension
YHServiceCenterMainViewModel
{
//服务中心进度列表
func
getServiceCenterProgressList
(
params
:[
String
:
Any
],
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
/*
orderId integer 订单id 可选
status integer 可选 0全部 1待开始 2进行中 3 已完成
let arr = ["orderId":id,"status"]
*/
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Order
.
serviceCenterProgressApi
let
_
=
YHNetRequest
.
getRequest
(
url
:
strUrl
,
params
:
params
)
{
[
weak
self
]
json
,
code
in
//1. json字符串 转 对象
guard
let
self
=
self
else
{
return
}
printLog
(
"model 是 ==>
\(
json
)
"
)
if
json
.
code
==
200
{
let
dic
=
json
.
data
guard
let
result
=
[
YHServiceCenterProgressModel
]
.
deserialize
(
from
:
dic
as?
[
Any
])
else
{
callBackBlock
(
false
,
nil
)
return
}
self
.
arrDataForSeviceCenterProgress
=
result
as!
[
YHServiceCenterProgressModel
]
callBackBlock
(
true
,
nil
)
}
else
{
let
err
=
YHErrorModel
(
errorCode
:
Int32
(
json
.
code
),
errorMsg
:
json
.
msg
.
isEmpty
?
""
:
json
.
msg
)
callBackBlock
(
false
,
err
)
}
}
failBlock
:
{
err
in
callBackBlock
(
false
,
err
)
}
}
//获取我的评分结果
//获取我的评分结果
func
getMyScoreDetail
(
params
:[
String
:
Any
],
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
func
getMyScoreDetail
(
params
:[
String
:
Any
],
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
c8f41227
...
@@ -61,6 +61,8 @@ class YHAllApiName {
...
@@ -61,6 +61,8 @@ class YHAllApiName {
//保存其他资料信息
//保存其他资料信息
static
let
updateOtherInfoApi
=
"infoflow/order/updateOrderOtherInformation"
static
let
updateOtherInfoApi
=
"infoflow/order/updateOrderOtherInformation"
//服务中心进度列表
static
let
serviceCenterProgressApi
=
"infoflow/order/service-list"
}
}
struct
Family
{
struct
Family
{
...
...
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