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
144f86d9
Commit
144f86d9
authored
Jan 17, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 续期资料微信上传
parent
56c781f9
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
43 additions
and
13 deletions
+43
-13
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+4
-0
YHResignMaterialListVC.swift
...signMaterialManage(续期资料管理)/C/YHResignMaterialListVC.swift
+12
-0
YHResignMaterialUploadVC.swift
...gnMaterialManage(续期资料管理)/C/YHResignMaterialUploadVC.swift
+15
-1
YHChildPrimaryInfoVC.swift
...ilyMember(家庭成员信息表)/C/Child(子女)/YHChildPrimaryInfoVC.swift
+0
-0
YHBrotherInfoVC.swift
...庭成员信息表)/C/Parents&Brothers(父母和兄弟姐妹)/YHBrotherInfoVC.swift
+0
-0
YHParentInfoVC.swift
...家庭成员信息表)/C/Parents&Brothers(父母和兄弟姐妹)/YHParentInfoVC.swift
+0
-0
YHSpousePrimaryInfoVC.swift
...yMember(家庭成员信息表)/C/Spouse(配偶)/YHSpousePrimaryInfoVC.swift
+0
-0
YHFamilyInitialInfo.swift
...我的信息流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
+6
-8
YHGCChildPrimaryInfoVC.swift
...milyMember(家庭成员)/C/Child(子女)/YHGCChildPrimaryInfoVC.swift
+4
-4
YHGCSpousePrimaryInfoVC.swift
...lyMember(家庭成员)/C/Spouse(配偶)/YHGCSpousePrimaryInfoVC.swift
+0
-0
YhConstant.swift
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
+2
-0
No files found.
galaxy/galaxy/AppDelegate.swift
View file @
144f86d9
...
@@ -230,7 +230,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
...
@@ -230,7 +230,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
if
let
extMsg
=
res
?
.
extMsg
{
if
let
extMsg
=
res
?
.
extMsg
{
if
extMsg
==
"my_certificate"
{
// 我的证件 微信文件上传
if
extMsg
==
"my_certificate"
{
// 我的证件 微信文件上传
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
didMyCertificateWeChatFileUploadCallBackNotification
,
object
:
nil
)
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
didMyCertificateWeChatFileUploadCallBackNotification
,
object
:
nil
)
}
else
if
extMsg
==
"wx_upload_renewal_data"
{
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
didMyResignMaterialWeChatFileUploadCallBackNotification
,
object
:
nil
)
}
}
}
}
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/ResignMaterialManage(续期资料管理)/C/YHResignMaterialListVC.swift
View file @
144f86d9
...
@@ -236,6 +236,11 @@ extension YHResignMaterialListVC {
...
@@ -236,6 +236,11 @@ extension YHResignMaterialListVC {
let
sheetView
=
YHCertificateUploadSheetView
.
sheetView
()
let
sheetView
=
YHCertificateUploadSheetView
.
sheetView
()
sheetView
.
maxSelectImageCount
=
9
sheetView
.
maxSelectImageCount
=
9
sheetView
.
tips
=
"支持的文件格式为jpg/jpeg、png、bmp、doc/docx、xls/xlsx、pdf,最多可上传99张图片或文件"
sheetView
.
tips
=
"支持的文件格式为jpg/jpeg、png、bmp、doc/docx、xls/xlsx、pdf,最多可上传99张图片或文件"
sheetView
.
uploadTypeArr
=
[
YHCertificateUploadItem
(
type
:
.
camera
,
title
:
"拍照上传"
),
YHCertificateUploadItem
(
type
:
.
photo
,
title
:
"相册上传"
),
YHCertificateUploadItem
(
type
:
.
phoneFile
,
title
:
"手机文件上传"
,
subtitle
:
"从手机文件管理中上传"
),
YHCertificateUploadItem
(
type
:
.
wechatUpload
,
title
:
"微信上传"
),
YHCertificateUploadItem
(
type
:
.
cancel
,
title
:
"取消"
)]
sheetView
.
fileTypes
=
[
"public.image"
,
sheetView
.
fileTypes
=
[
"public.image"
,
"com.adobe.pdf"
,
"com.adobe.pdf"
,
"com.microsoft.word.doc"
,
"com.microsoft.word.doc"
,
...
@@ -262,6 +267,13 @@ extension YHResignMaterialListVC {
...
@@ -262,6 +267,13 @@ extension YHResignMaterialListVC {
success
?()
success
?()
}
}
}
}
sheetView
.
wechatUploadBlock
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
let
token
=
YHLoginManager
.
shared
.
h5Token
let
path
=
"/superApp/pages/wxUpload/wxUpload?param=
\(
token
)
&material_id=
\(
material
.
id
)
&template_id=
\(
material
.
template_id
)
&type=wx_upload_renewal_data"
YHShareManager
.
shared
.
openMiniProgram
(
path
:
path
,
title
:
"微信上传"
)
}
sheetView
.
show
()
sheetView
.
show
()
}
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/ResignMaterialManage(续期资料管理)/C/YHResignMaterialUploadVC.swift
View file @
144f86d9
...
@@ -135,6 +135,11 @@ class YHResignMaterialUploadVC: YHBaseViewController {
...
@@ -135,6 +135,11 @@ class YHResignMaterialUploadVC: YHBaseViewController {
let
sheetView
=
YHCertificateUploadSheetView
.
sheetView
()
let
sheetView
=
YHCertificateUploadSheetView
.
sheetView
()
sheetView
.
maxSelectImageCount
=
99
-
items
.
count
sheetView
.
maxSelectImageCount
=
99
-
items
.
count
sheetView
.
tips
=
"支持的文件格式为jpg/jpeg、png、bmp、doc/docx、xls/xlsx、pdf,最多可上传99张图片或文件"
sheetView
.
tips
=
"支持的文件格式为jpg/jpeg、png、bmp、doc/docx、xls/xlsx、pdf,最多可上传99张图片或文件"
sheetView
.
uploadTypeArr
=
[
YHCertificateUploadItem
(
type
:
.
camera
,
title
:
"拍照上传"
),
YHCertificateUploadItem
(
type
:
.
photo
,
title
:
"相册上传"
),
YHCertificateUploadItem
(
type
:
.
phoneFile
,
title
:
"手机文件上传"
,
subtitle
:
"从手机文件管理中上传"
),
YHCertificateUploadItem
(
type
:
.
wechatUpload
,
title
:
"微信上传"
),
YHCertificateUploadItem
(
type
:
.
cancel
,
title
:
"取消"
)]
sheetView
.
fileTypes
=
[
"public.image"
,
sheetView
.
fileTypes
=
[
"public.image"
,
"com.adobe.pdf"
,
"com.adobe.pdf"
,
"com.microsoft.word.doc"
,
"com.microsoft.word.doc"
,
...
@@ -161,6 +166,14 @@ class YHResignMaterialUploadVC: YHBaseViewController {
...
@@ -161,6 +166,14 @@ class YHResignMaterialUploadVC: YHBaseViewController {
self
.
requestMaterialDetail
()
self
.
requestMaterialDetail
()
}
}
}
}
sheetView
.
wechatUploadBlock
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
let
token
=
YHLoginManager
.
shared
.
h5Token
let
path
=
"/superApp/pages/wxUpload/wxUpload?param=
\(
token
)
&material_id=
\(
self
.
materialModel
.
id
)
&template_id=
\(
self
.
materialModel
.
template_id
)
&type=wx_upload_renewal_data"
YHShareManager
.
shared
.
openMiniProgram
(
path
:
path
,
title
:
"微信上传"
)
}
sheetView
.
show
()
sheetView
.
show
()
}
}
...
@@ -559,6 +572,7 @@ extension YHResignMaterialUploadVC {
...
@@ -559,6 +572,7 @@ extension YHResignMaterialUploadVC {
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
handleKeyboardNotification(_:)
)
,
name
:
UIResponder
.
keyboardWillShowNotification
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
handleKeyboardNotification(_:)
)
,
name
:
UIResponder
.
keyboardWillShowNotification
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
handleKeyboardNotification(_:)
)
,
name
:
UIResponder
.
keyboardWillHideNotification
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
handleKeyboardNotification(_:)
)
,
name
:
UIResponder
.
keyboardWillHideNotification
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
requestMaterialDetail
)
,
name
:
YhConstant
.
YhNotification
.
didMyResignMaterialWeChatFileUploadCallBackNotification
,
object
:
nil
)
}
}
func
removeNotify
()
{
func
removeNotify
()
{
...
@@ -590,7 +604,7 @@ extension YHResignMaterialUploadVC {
...
@@ -590,7 +604,7 @@ extension YHResignMaterialUploadVC {
extension
YHResignMaterialUploadVC
{
extension
YHResignMaterialUploadVC
{
func
requestMaterialDetail
()
{
@objc
func
requestMaterialDetail
()
{
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
viewModel
.
getMaterialDeal
(
orderId
:
orderId
,
id
:
batchId
,
materialId
:
materialId
)
{
viewModel
.
getMaterialDeal
(
orderId
:
orderId
,
id
:
batchId
,
materialId
:
materialId
)
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Child(子女)/YHChildPrimaryInfoVC.swift
View file @
144f86d9
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Parents&Brothers(父母和兄弟姐妹)/YHBrotherInfoVC.swift
View file @
144f86d9
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Parents&Brothers(父母和兄弟姐妹)/YHParentInfoVC.swift
View file @
144f86d9
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpousePrimaryInfoVC.swift
View file @
144f86d9
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
View file @
144f86d9
...
@@ -23,10 +23,8 @@ enum YHFormTitleItemType:Int, CaseIterable {
...
@@ -23,10 +23,8 @@ enum YHFormTitleItemType:Int, CaseIterable {
case
C
case
C
case
D
case
D
case
E
case
E
// 国籍
case
F
case
nationality
case
G
// 居住信息
case
liveInfo
case
hkAndMacaoPassport
case
hkAndMacaoPassport
// 中国身份证
// 中国身份证
...
@@ -257,9 +255,9 @@ class YHFormTitleItem : YHFormItemProtocol {
...
@@ -257,9 +255,9 @@ class YHFormTitleItem : YHFormItemProtocol {
return
"子女"
.
local
return
"子女"
.
local
case
.
E
:
case
.
E
:
return
"随行"
.
local
return
"随行"
.
local
case
.
nationality
:
case
.
F
:
return
"国籍"
.
local
return
"国籍"
.
local
case
.
liveInfo
:
case
.
G
:
return
"居住信息"
.
local
return
"居住信息"
.
local
case
.
hkAndMacaoPassport
:
case
.
hkAndMacaoPassport
:
return
"港澳通行证"
.
local
return
"港澳通行证"
.
local
...
@@ -319,9 +317,9 @@ class YHFormTitleItem : YHFormItemProtocol {
...
@@ -319,9 +317,9 @@ class YHFormTitleItem : YHFormItemProtocol {
return
""
.
local
return
""
.
local
case
.
E
:
case
.
E
:
return
""
.
local
return
""
.
local
case
.
nationality
:
case
.
F
:
return
""
.
local
return
""
.
local
case
.
liveInfo
:
case
.
G
:
return
""
.
local
return
""
.
local
case
.
hkAndMacaoPassport
:
case
.
hkAndMacaoPassport
:
return
""
.
local
return
""
.
local
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员)/C/Child(子女)/YHGCChildPrimaryInfoVC.swift
View file @
144f86d9
...
@@ -68,12 +68,12 @@ class YHGCChildPrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
...
@@ -68,12 +68,12 @@ class YHGCChildPrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
if
child
.
isFollow
()
{
// 随行才加后面的信息
if
child
.
isFollow
()
{
// 随行才加后面的信息
// 国籍
// 国籍
let
title1
=
YHFormTitleItem
(
type
:
.
nationality
)
let
title1
=
YHFormTitleItem
(
type
:
.
F
)
let
item10
=
YHFormDetailItem
(
type
:
.
nationOrArea
,
value
:
child
.
nationality
,
tips
:
"请选择国籍"
.
local
)
let
item10
=
YHFormDetailItem
(
type
:
.
nationOrArea
,
value
:
child
.
nationality
,
tips
:
"请选择国籍"
.
local
)
let
arr1
:[
YHFormItemProtocol
]
=
[
title1
,
item10
]
let
arr1
:[
YHFormItemProtocol
]
=
[
title1
,
item10
]
// 居住信息
// 居住信息
let
title2
=
YHFormTitleItem
(
type
:
.
liveInfo
)
let
title2
=
YHFormTitleItem
(
type
:
.
G
)
let
item20
=
YHFormDetailItem
(
type
:
.
isLiveTother
,
value
:
String
(
child
.
isLiveTother
()))
let
item20
=
YHFormDetailItem
(
type
:
.
isLiveTother
,
value
:
String
(
child
.
isLiveTother
()))
var
arr2
:
[
YHFormItemProtocol
]
=
[
title2
,
item20
]
var
arr2
:
[
YHFormItemProtocol
]
=
[
title2
,
item20
]
...
@@ -446,10 +446,10 @@ extension YHGCChildPrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -446,10 +446,10 @@ extension YHGCChildPrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
[
weak
self
]
country
in
[
weak
self
]
country
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
let
title
=
arr
[
0
]
as!
YHFormTitleItem
let
title
=
arr
[
0
]
as!
YHFormTitleItem
if
title
.
type
==
.
nationality
{
// 选国籍
if
title
.
type
==
.
F
{
// 选国籍
self
.
child
?
.
nationality
=
country
self
.
child
?
.
nationality
=
country
}
else
if
title
.
type
==
.
liveInfo
{
// // 居住信息选国家地区
}
else
if
title
.
type
==
.
G
{
// // 居住信息选国家地区
self
.
child
?
.
address
.
country
=
country
self
.
child
?
.
address
.
country
=
country
// 选择国家地区后需清空城市
// 选择国家地区后需清空城市
self
.
child
?
.
address
.
area
=
[]
self
.
child
?
.
address
.
area
=
[]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员)/C/Spouse(配偶)/YHGCSpousePrimaryInfoVC.swift
View file @
144f86d9
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
View file @
144f86d9
...
@@ -398,6 +398,8 @@ extension YhConstant {
...
@@ -398,6 +398,8 @@ extension YhConstant {
// 我的证件 微信文件上传回调
// 我的证件 微信文件上传回调
public
static
let
didMyCertificateWeChatFileUploadCallBackNotification
=
Notification
.
Name
(
rawValue
:
"com.yinhe.myCertificate.wechat.fileUpload"
)
public
static
let
didMyCertificateWeChatFileUploadCallBackNotification
=
Notification
.
Name
(
rawValue
:
"com.yinhe.myCertificate.wechat.fileUpload"
)
public
static
let
didMyResignMaterialWeChatFileUploadCallBackNotification
=
Notification
.
Name
(
rawValue
:
"com.yinhe.resignMaterial.wechat.fileUpload"
)
// 已经展示银河管家
// 已经展示银河管家
public
static
let
didLoadYhManagerNotification
=
Notification
.
Name
(
rawValue
:
"com.yinhe.didLoadYhManager"
)
public
static
let
didLoadYhManagerNotification
=
Notification
.
Name
(
rawValue
:
"com.yinhe.didLoadYhManager"
)
public
static
let
backToHomeNotification
=
Notification
.
Name
(
rawValue
:
"com.yinhe.backToHomeNotification"
)
public
static
let
backToHomeNotification
=
Notification
.
Name
(
rawValue
:
"com.yinhe.backToHomeNotification"
)
...
...
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