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
b453260d
Commit
b453260d
authored
Nov 22, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理 一处逻辑问题导致的crash
parent
6d485f98
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
44 deletions
+10
-44
YHInformationPerfectListVC.swift
...telligentService(服务中心)/C/YHInformationPerfectListVC.swift
+4
-2
YHPersonInfoFillStepModel.swift
...ntelligentService(服务中心)/M/YHPersonInfoFillStepModel.swift
+1
-0
YHPreviewViewModel.swift
...的信息流程)/PersonInfoList(个人信息预览)/VM/YHPreviewViewModel.swift
+5
-42
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHInformationPerfectListVC.swift
View file @
b453260d
...
@@ -461,15 +461,17 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
...
@@ -461,15 +461,17 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
return
return
}
}
if
tapIndex
<=
serviceCenterMainReqVM
.
myTargetIndex
{
if
self
.
serviceCenterMainReqVM
.
myInfoFillStep
==
6
{
handleJumpLogicDebug
(
tapIndex
:
tapIndex
)
handleJumpLogicDebug
(
tapIndex
:
tapIndex
)
}
else
{
}
else
{
//请先完成 xxx 的填写
//请先完成 xxx 的填写
if
serviceCenterMainReqVM
.
myTargetIndex
<
serviceCenterMainReqVM
.
arrInfoFillStep
.
count
{
if
serviceCenterMainReqVM
.
myTargetIndex
>
-
1
,
serviceCenterMainReqVM
.
myTargetIndex
<
serviceCenterMainReqVM
.
arrInfoFillStep
.
count
{
let
model
=
serviceCenterMainReqVM
.
arrInfoFillStep
[
serviceCenterMainReqVM
.
myTargetIndex
]
let
model
=
serviceCenterMainReqVM
.
arrInfoFillStep
[
serviceCenterMainReqVM
.
myTargetIndex
]
let
msg
=
"请先完成"
+
model
.
name
+
"填写"
let
msg
=
"请先完成"
+
model
.
name
+
"填写"
YHHUD
.
flash
(
message
:
msg
)
YHHUD
.
flash
(
message
:
msg
)
}
}
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/M/YHPersonInfoFillStepModel.swift
View file @
b453260d
...
@@ -14,4 +14,5 @@ struct YHPersonInfoFillStepModel: SmartCodable {
...
@@ -14,4 +14,5 @@ struct YHPersonInfoFillStepModel: SmartCodable {
var
applicantName
:
String
=
""
var
applicantName
:
String
=
""
var
sweet_notify_status
:
Int
=
0
var
sweet_notify_status
:
Int
=
0
var
sex
:
Int
=
0
var
sex
:
Int
=
0
var
policy_switch
:
Bool
=
false
// false就是待完善 true : 也提交但不大要求
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/PersonInfoList(个人信息预览)/VM/YHPreviewViewModel.swift
View file @
b453260d
...
@@ -272,48 +272,11 @@ private extension YHPreviewViewModel {
...
@@ -272,48 +272,11 @@ private extension YHPreviewViewModel {
}
}
}
}
let
tmp7
=
YHPreviewQuestionAndAnswerModel
(
question
:
"入职年月:"
,
answer
:
model
.
enter_time
)
let
tmp8
=
YHPreviewQuestionAndAnswerModel
(
question
:
"离职年月:"
,
answer
:
model
.
leave_time
)
let
tmp9
=
YHPreviewQuestionAndAnswerModel
(
question
:
"工作证明文件:"
,
answer
:
model
.
work_certificate
)
let
tmp10
=
YHPreviewQuestionAndAnswerModel
(
question
:
"职位水平类别:"
,
answer
:
model
.
professional_level
)
// var title = "-"
arr1
.
append
(
contentsOf
:
[
tmp7
,
tmp8
,
tmp9
,
tmp10
])
// if let item = model.location {
// if item.country.contains("中国") {
// title = "国内 "
// if item.area.count > 1 {
// title = title + item.area[0] + "/" + item.area[1]
// }
// } else {
// title = "国外 " + item.country + "-" + item.foreign
// }
// }
//
//
// let tmp7 = YHPreviewQuestionAndAnswerModel(question: "入职年月:", answer: model.enter_time)
// let tmp8 = YHPreviewQuestionAndAnswerModel(question: "离职年月:", answer: model.leave_time)
// let tmp9 = YHPreviewQuestionAndAnswerModel(question: "工作证明文件:", answer: model.work_certificate)
// let tmp10 = YHPreviewQuestionAndAnswerModel(question: "职责性质:", answer: model.duty)
// title = model.international_work_experience == 0 ? "否" : "是"
// let tmp11 = YHPreviewQuestionAndAnswerModel(question: "相关工作是否属国际工作经验:", answer:title)
// let tmp12 = YHPreviewQuestionAndAnswerModel(question: "企业人数规模:", answer:String(model.company_member_total))
//
// let tempppp = YHConstantArrayData.getShowNameBy(indexStr: String(model.administrative_level), type: .structure)
// let tmp13 = YHPreviewQuestionAndAnswerModel(question: "行政架构层级:", answer:tempppp)
// let tmp14 = YHPreviewQuestionAndAnswerModel(question: "下属管理人数:", answer:String(model.company_manage_total))
//
// var ttt = ""
// if model.turnover == 0 {
// ttt = "0"
// } else {
// ttt = String(model.turnover).defaultStringIfEmpty()
// }
// let tmp15 = YHPreviewQuestionAndAnswerModel(question: "公司营业额/港元(近一年):", answer:ttt)
//
// let tempppp0 = YHConstantArrayData.getShowNameBy(indexStr: String(model.professional_level), type: .level)
// let tmp16 = YHPreviewQuestionAndAnswerModel(question: "职业水平类别:", answer:tempppp0)
// arr1.append(contentsOf: [tmp1,tmp2,tmp3,tmp4,tmp5,tmp6,tmp7,tmp8,tmp9,tmp10,tmp11,tmp12,tmp13,tmp14,tmp15,tmp16])
}
}
let
dataModel1
=
YHWorkExpDataModel
(
title
:
""
,
data
:
arr1
)
let
dataModel1
=
YHWorkExpDataModel
(
title
:
""
,
data
:
arr1
)
...
...
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