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
8f6932b1
Commit
8f6932b1
authored
Mar 21, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件清单 Model
parent
ca1cfda8
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
87 additions
and
21 deletions
+87
-21
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+12
-0
YHFileListViewController.swift
...ice(服务中心)/FileList(文件清单)/C/YHFileListViewController.swift
+0
-2
YHFileListModel.swift
...igentService(服务中心)/FileList(文件清单)/M/YHFileListModel.swift
+30
-0
YHFileListContentView.swift
...ervice(服务中心)/FileList(文件清单)/V/YHFileListContentView.swift
+16
-7
YHCertificateViewModel.swift
...务中心)/MyCertificates(我的证书)/VM/YHCertificateViewModel.swift
+4
-4
YHLoginViewModel.swift
...alaxy/Classes/Modules/Login(登录)/VM/YHLoginViewModel.swift
+1
-6
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+2
-2
Contents.json
...viceCenter/清单列表/file_list_head_bkg.imageset/Contents.json
+22
-0
Rectangle 2538@2x.png
...er/清单列表/file_list_head_bkg.imageset/Rectangle 2538@2x.png
+0
-0
Rectangle 2538@3x.png
...er/清单列表/file_list_head_bkg.imageset/Rectangle 2538@3x.png
+0
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
8f6932b1
...
@@ -260,6 +260,7 @@
...
@@ -260,6 +260,7 @@
A58951C52B398D1000225C19
/* Launch Screen.storyboard in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A58951C42B398D1000225C19
/* Launch Screen.storyboard */
;
};
A58951C52B398D1000225C19
/* Launch Screen.storyboard in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A58951C42B398D1000225C19
/* Launch Screen.storyboard */
;
};
A58A8C8F2BA6978100632765
/* YHMineCertificateEntryViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A58A8C8E2BA6978100632765
/* YHMineCertificateEntryViewController.swift */
;
};
A58A8C8F2BA6978100632765
/* YHMineCertificateEntryViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A58A8C8E2BA6978100632765
/* YHMineCertificateEntryViewController.swift */
;
};
A58A8C942BA6C7C600632765
/* YHCertificateEntryModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A58A8C932BA6C7C600632765
/* YHCertificateEntryModel.swift */
;
};
A58A8C942BA6C7C600632765
/* YHCertificateEntryModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A58A8C932BA6C7C600632765
/* YHCertificateEntryModel.swift */
;
};
A58AC09D2BABD59600A30FA9
/* YHFileListModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A58AC09C2BABD59600A30FA9
/* YHFileListModel.swift */
;
};
A592BFEF2B9AB720004C04A9
/* YHWholeScreenTipsView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A592BFEE2B9AB720004C04A9
/* YHWholeScreenTipsView.swift */
;
};
A592BFEF2B9AB720004C04A9
/* YHWholeScreenTipsView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A592BFEE2B9AB720004C04A9
/* YHWholeScreenTipsView.swift */
;
};
A592FE912BA6CC010062FACA
/* YHCertificateEntryHeadView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A592FE902BA6CC010062FACA
/* YHCertificateEntryHeadView.swift */
;
};
A592FE912BA6CC010062FACA
/* YHCertificateEntryHeadView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A592FE902BA6CC010062FACA
/* YHCertificateEntryHeadView.swift */
;
};
A592FE932BA6CFFC0062FACA
/* YHCertificateEntryBottomView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A592FE922BA6CFFC0062FACA
/* YHCertificateEntryBottomView.swift */
;
};
A592FE932BA6CFFC0062FACA
/* YHCertificateEntryBottomView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A592FE922BA6CFFC0062FACA
/* YHCertificateEntryBottomView.swift */
;
};
...
@@ -643,6 +644,7 @@
...
@@ -643,6 +644,7 @@
A58951C42B398D1000225C19
/* Launch Screen.storyboard */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.storyboard
;
path
=
"Launch Screen.storyboard"
;
sourceTree
=
"<group>"
;
};
A58951C42B398D1000225C19
/* Launch Screen.storyboard */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.storyboard
;
path
=
"Launch Screen.storyboard"
;
sourceTree
=
"<group>"
;
};
A58A8C8E2BA6978100632765
/* YHMineCertificateEntryViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMineCertificateEntryViewController.swift
;
sourceTree
=
"<group>"
;
};
A58A8C8E2BA6978100632765
/* YHMineCertificateEntryViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMineCertificateEntryViewController.swift
;
sourceTree
=
"<group>"
;
};
A58A8C932BA6C7C600632765
/* YHCertificateEntryModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateEntryModel.swift
;
sourceTree
=
"<group>"
;
};
A58A8C932BA6C7C600632765
/* YHCertificateEntryModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateEntryModel.swift
;
sourceTree
=
"<group>"
;
};
A58AC09C2BABD59600A30FA9
/* YHFileListModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFileListModel.swift
;
sourceTree
=
"<group>"
;
};
A592BFEE2B9AB720004C04A9
/* YHWholeScreenTipsView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHWholeScreenTipsView.swift
;
sourceTree
=
"<group>"
;
};
A592BFEE2B9AB720004C04A9
/* YHWholeScreenTipsView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHWholeScreenTipsView.swift
;
sourceTree
=
"<group>"
;
};
A592FE902BA6CC010062FACA
/* YHCertificateEntryHeadView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateEntryHeadView.swift
;
sourceTree
=
"<group>"
;
};
A592FE902BA6CC010062FACA
/* YHCertificateEntryHeadView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateEntryHeadView.swift
;
sourceTree
=
"<group>"
;
};
A592FE922BA6CFFC0062FACA
/* YHCertificateEntryBottomView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateEntryBottomView.swift
;
sourceTree
=
"<group>"
;
};
A592FE922BA6CFFC0062FACA
/* YHCertificateEntryBottomView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateEntryBottomView.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -1571,6 +1573,7 @@
...
@@ -1571,6 +1573,7 @@
A525D22C2BA837C5001A84F5
/* FileList(文件清单) */
=
{
A525D22C2BA837C5001A84F5
/* FileList(文件清单) */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
A58AC09B2BABD57300A30FA9
/* M */
,
A5D001262BABC84A001F003C
/* V */
,
A5D001262BABC84A001F003C
/* V */
,
A525D22D2BA837DF001A84F5
/* C */
,
A525D22D2BA837DF001A84F5
/* C */
,
);
);
...
@@ -1644,6 +1647,14 @@
...
@@ -1644,6 +1647,14 @@
path
=
VM
;
path
=
VM
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
A58AC09B2BABD57300A30FA9
/* M */
=
{
isa
=
PBXGroup
;
children
=
(
A58AC09C2BABD59600A30FA9
/* YHFileListModel.swift */
,
);
path
=
M
;
sourceTree
=
"<group>"
;
};
A5ACE8D72B4564F7002C94D2
/* Classes */
=
{
A5ACE8D72B4564F7002C94D2
/* Classes */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
@@ -2221,6 +2232,7 @@
...
@@ -2221,6 +2232,7 @@
049A48AA2B49536000D0C641
/* YHAboutUsAdvantageCell.swift in Sources */
,
049A48AA2B49536000D0C641
/* YHAboutUsAdvantageCell.swift in Sources */
,
A5C5B3002B55623800A7C5D1
/* YHMainContentBaseViewController.swift in Sources */
,
A5C5B3002B55623800A7C5D1
/* YHMainContentBaseViewController.swift in Sources */
,
045EEF112B9F171A0022A143
/* YHMainInformationModel.swift in Sources */
,
045EEF112B9F171A0022A143
/* YHMainInformationModel.swift in Sources */
,
A58AC09D2BABD59600A30FA9
/* YHFileListModel.swift in Sources */
,
045EEEFF2B9F171A0022A143
/* YHSaveAndSubmitView.swift in Sources */
,
045EEEFF2B9F171A0022A143
/* YHSaveAndSubmitView.swift in Sources */
,
045EEF0E2B9F171A0022A143
/* YHBasicInfoFillView.swift in Sources */
,
045EEF0E2B9F171A0022A143
/* YHBasicInfoFillView.swift in Sources */
,
045EEEA12B9F171A0022A143
/* YHWorkExperienceDetailModel.swift in Sources */
,
045EEEA12B9F171A0022A143
/* YHWorkExperienceDetailModel.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/FileList(文件清单)/C/YHFileListViewController.swift
View file @
8f6932b1
...
@@ -91,8 +91,6 @@ extension YHFileListViewController {
...
@@ -91,8 +91,6 @@ extension YHFileListViewController {
}
}
}
}
myScrollView
.
backgroundColor
=
UIColor
(
hex
:
0x0D37C7
,
alpha
:
1.0
)
myScrollView
.
backgroundColor
=
UIColor
(
hex
:
0x0D37C7
,
alpha
:
1.0
)
view
.
addSubview
(
myScrollView
)
view
.
addSubview
(
myScrollView
)
myScrollView
.
snp
.
makeConstraints
{
make
in
myScrollView
.
snp
.
makeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/FileList(文件清单)/M/YHFileListModel.swift
0 → 100644
View file @
8f6932b1
//
// YHFileListModel.swift
// galaxy
//
// Created by davidhuangA on 2024/3/21.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
import
SmartCodable
class
YHFileListModel
:
SmartCodable
{
var
ApplicantName
:
String
=
""
var
category_id
:
Int
=
-
1
var
checks_tatus
:
Int
=
-
1
var
supplement_list
:
[
YHFileListSubModel
]
=
[]
required
init
()
{
}
}
class
YHFileListSubModel
:
SmartCodable
{
var
name
:
String
=
""
var
type_name
:
String
=
""
var
checks_tatus
:
Int
=
-
1
required
init
()
{
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/FileList(文件清单)/V/YHFileListContentView.swift
View file @
8f6932b1
...
@@ -9,13 +9,22 @@
...
@@ -9,13 +9,22 @@
import
UIKit
import
UIKit
class
YHFileListContentView
:
UIView
{
class
YHFileListContentView
:
UIView
{
override
init
(
frame
:
CGRect
)
{
/*
super
.
init
(
frame
:
frame
)
// Only override draw() if you perform custom drawing.
initView
()
// An empty implementation adversely affects performance during animation.
}
override func draw(_ rect: CGRect) {
// Drawing code
required
init
?(
coder
:
NSCoder
)
{
fatalError
(
"init(coder:) has not been implemented"
)
}
}
*/
}
private
extension
YHFileListContentView
{
func
initView
()
{
// let he
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/VM/YHCertificateViewModel.swift
View file @
8f6932b1
...
@@ -37,6 +37,8 @@ class YHCertificateViewModel: YHBaseViewModel {
...
@@ -37,6 +37,8 @@ class YHCertificateViewModel: YHBaseViewModel {
var
certificateEntryModel
:
YHCertificateEntryModel
?
var
certificateEntryModel
:
YHCertificateEntryModel
?
var
arrQuestionAndAnswer
:
[
YHQuestionAndAnswerModel
?]
=
[]
var
arrQuestionAndAnswer
:
[
YHQuestionAndAnswerModel
?]
=
[]
var
arrFileListData
:
[
YHFileListModel
?]
=
[]
//我的证件 清单列表数据
//我的证件 清单列表数据
...
@@ -51,21 +53,19 @@ class YHCertificateViewModel: YHBaseViewModel {
...
@@ -51,21 +53,19 @@ class YHCertificateViewModel: YHBaseViewModel {
if
json
.
code
==
200
{
if
json
.
code
==
200
{
let
dic
=
json
.
data
let
dic
=
json
.
data
guard
let
resultModel
=
YHCertificateEntryModel
.
deserialize
(
dict
:
dic
as?
[
AnyHashable
:
Any
])
else
{
guard
let
resultModel
=
[
YHFileListModel
]
.
deserialize
(
array
:
dic
as?
[
Any
])
else
{
let
err
=
YHErrorModel
(
errorCode
:
YHErrorCode
.
dictParseError
.
rawValue
,
errorMsg
:
YHErrorCode
.
dictParseError
.
description
())
let
err
=
YHErrorModel
(
errorCode
:
YHErrorCode
.
dictParseError
.
rawValue
,
errorMsg
:
YHErrorCode
.
dictParseError
.
description
())
callBackBlock
(
false
,
err
)
callBackBlock
(
false
,
err
)
return
return
}
}
self
.
certificateEntryModel
=
resultModel
self
.
arrFileListData
=
resultModel
callBackBlock
(
true
,
nil
)
callBackBlock
(
true
,
nil
)
}
else
{
}
else
{
let
err
=
YHErrorModel
(
errorCode
:
Int32
(
json
.
code
),
errorMsg
:
json
.
msg
.
isEmpty
?
""
:
json
.
msg
)
let
err
=
YHErrorModel
(
errorCode
:
Int32
(
json
.
code
),
errorMsg
:
json
.
msg
.
isEmpty
?
""
:
json
.
msg
)
callBackBlock
(
false
,
err
)
callBackBlock
(
false
,
err
)
}
}
}
failBlock
:
{
err
in
}
failBlock
:
{
err
in
callBackBlock
(
false
,
err
)
callBackBlock
(
false
,
err
)
}
}
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/VM/YHLoginViewModel.swift
View file @
8f6932b1
...
@@ -23,12 +23,7 @@ extension YHLoginViewModel {
...
@@ -23,12 +23,7 @@ extension YHLoginViewModel {
let
params
:
[
String
:
Any
]
=
[
"type"
:
"Phone"
,
let
params
:
[
String
:
Any
]
=
[
"type"
:
"Phone"
,
"value"
:
phone
,
"value"
:
phone
,
"extend"
:
"register"
]
"extend"
:
"register"
]
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
User
.
verifyCode
// let strUrl = "http://test-cuser.galaxy-immi.com/" + YHAllApiName.User.verifyCode
let
strUrl
=
"http://test-cuser.galaxy-immi.com/"
+
YHAllApiName
.
User
.
verifyCode
// let strUrl = YHBaseUrlManager.shared.curURL() + YHAllApiName.User.verifyCode
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
,
params
:
params
)
{[
weak
self
]
json
,
code
in
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
,
params
:
params
)
{[
weak
self
]
json
,
code
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
8f6932b1
...
@@ -145,8 +145,8 @@ class YHAllApiName {
...
@@ -145,8 +145,8 @@ class YHAllApiName {
//获取验证
//获取验证
struct
User
{
struct
User
{
#if DEBUG
#if DEBUG
static
let
verifyCode
=
"user/verify-code"
//
static let verifyCode = "user/verify-code"
#else
//
#else
static
let
verifyCode
=
"cuser/user/verify-code"
static
let
verifyCode
=
"cuser/user/verify-code"
#endif
#endif
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/清单列表/file_list_head_bkg.imageset/Contents.json
0 → 100644
View file @
8f6932b1
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Rectangle 2538@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Rectangle 2538@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/清单列表/file_list_head_bkg.imageset/Rectangle 2538@2x.png
0 → 100644
View file @
8f6932b1
102 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/清单列表/file_list_head_bkg.imageset/Rectangle 2538@3x.png
0 → 100644
View file @
8f6932b1
173 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