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
9224a35a
Commit
9224a35a
authored
Nov 19, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 方案
parent
c2f3b41a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
12 deletions
+14
-12
YHInformationPerfectListVC.swift
...telligentService(服务中心)/C/YHInformationPerfectListVC.swift
+2
-1
YHMyNewSchemeViewController.swift
...优才)/MyNewScheme(我的方案)/C/YHMyNewSchemeViewController.swift
+3
-3
YHSchemeModel.swift
...ce(服务中心)/QMAS(优才)/MyNewScheme(我的方案)/M/YHSchemeModel.swift
+5
-4
YHHKRequiredItemListCell.swift
...AS(优才)/MyNewScheme(我的方案)/V/YHHKRequiredItemListCell.swift
+1
-1
YHImproveRequireItemView.swift
...AS(优才)/MyNewScheme(我的方案)/V/YHImproveRequireItemView.swift
+1
-1
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+2
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHInformationPerfectListVC.swift
View file @
9224a35a
...
@@ -222,7 +222,8 @@ extension YHInformationPerfectListVC {
...
@@ -222,7 +222,8 @@ extension YHInformationPerfectListVC {
// vc.model = serviceCenterMainReqVM.allInfoScoreModel
// vc.model = serviceCenterMainReqVM.allInfoScoreModel
// navigationController?.pushViewController(vc)
// navigationController?.pushViewController(vc)
YHHUD
.
flash
(
message
:
"这里跳转 杜宇 新的我的方案"
)
let
vc
=
YHMyNewSchemeViewController
()
navigationController
?
.
pushViewController
(
vc
)
}
}
@objc
func
goInfoListVC
(
)
{
@objc
func
goInfoListVC
(
)
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyNewScheme(我的方案)/C/YHMyNewSchemeViewController.swift
View file @
9224a35a
...
@@ -204,10 +204,10 @@ class YHMyNewSchemeViewController: YHBaseViewController {
...
@@ -204,10 +204,10 @@ class YHMyNewSchemeViewController: YHBaseViewController {
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
titleLabel
.
text
=
"尊敬的
\(
viewModel
.
schemeModel
.
username
)\(
viewModel
.
schemeModel
.
sex
)
"
titleLabel
.
text
=
"尊敬的
\(
viewModel
.
schemeModel
.
username
)\(
viewModel
.
schemeModel
.
sex
)
"
passArr
=
self
.
viewModel
.
schemeModel
.
comprehensive_evaluation
.
filter
{
passArr
=
self
.
viewModel
.
schemeModel
.
comprehensive_evaluation
.
filter
{
$0
.
is
_p
ass
==
true
$0
.
is
P
ass
==
true
}
}
unpassArr
=
self
.
viewModel
.
schemeModel
.
comprehensive_evaluation
.
filter
{
unpassArr
=
self
.
viewModel
.
schemeModel
.
comprehensive_evaluation
.
filter
{
$0
.
is
_p
ass
==
false
$0
.
is
P
ass
==
false
}
}
isPass
=
passArr
.
count
>=
6
isPass
=
passArr
.
count
>=
6
...
@@ -249,7 +249,7 @@ class YHMyNewSchemeViewController: YHBaseViewController {
...
@@ -249,7 +249,7 @@ class YHMyNewSchemeViewController: YHBaseViewController {
func
submitTargets
()
{
func
submitTargets
()
{
let
targets
:
[
String
]
=
unpassArr
.
map
{
let
targets
:
[
String
]
=
unpassArr
.
map
{
return
$0
.
standard
_k
ey
return
$0
.
standard
K
ey
}
}
YHHUD
.
show
(
.
progress
(
message
:
"提交中..."
))
YHHUD
.
show
(
.
progress
(
message
:
"提交中..."
))
viewModel
.
postSelectImproveTargets
(
orderId
:
orderId
,
targets
:
targets
)
{
viewModel
.
postSelectImproveTargets
(
orderId
:
orderId
,
targets
:
targets
)
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyNewScheme(我的方案)/M/YHSchemeModel.swift
View file @
9224a35a
...
@@ -15,9 +15,9 @@ class YHSchemeModel: NSObject {
...
@@ -15,9 +15,9 @@ class YHSchemeModel: NSObject {
class
YHComprehensiveEevaluationModel
:
SmartCodable
{
class
YHComprehensiveEevaluationModel
:
SmartCodable
{
var
standard
_n
ame
:
String
=
""
var
standard
N
ame
:
String
=
""
var
standard
_k
ey
:
String
=
""
var
standard
K
ey
:
String
=
""
var
is
_p
ass
:
Bool
=
false
var
is
P
ass
:
Bool
=
false
var
is_select
:
Bool
=
false
var
is_select
:
Bool
=
false
required
init
()
{
required
init
()
{
...
@@ -29,7 +29,8 @@ class YHMySchemeDetailModel: SmartCodable {
...
@@ -29,7 +29,8 @@ class YHMySchemeDetailModel: SmartCodable {
var
comprehensive_evaluation
:
[
YHComprehensiveEevaluationModel
]
=
[]
var
comprehensive_evaluation
:
[
YHComprehensiveEevaluationModel
]
=
[]
var
comprehensive_evaluation_selected
:
[
String
]
=
[]
var
comprehensive_evaluation_selected
:
[
String
]
=
[]
var
industry_positioning
:
Int
=
0
var
industry_positioning
:
String
=
""
var
industry_positioning_other
:
String
=
""
var
plan_skip_status
:
Bool
=
false
var
plan_skip_status
:
Bool
=
false
var
supplement_skip_status
:
Bool
=
false
var
supplement_skip_status
:
Bool
=
false
var
username
:
String
=
""
var
username
:
String
=
""
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyNewScheme(我的方案)/V/YHHKRequiredItemListCell.swift
View file @
9224a35a
...
@@ -24,7 +24,7 @@ class YHHKRequiredItemListCell: UITableViewCell {
...
@@ -24,7 +24,7 @@ class YHHKRequiredItemListCell: UITableViewCell {
var
lastItemView
:
YHHKRequiredItemView
?
=
nil
var
lastItemView
:
YHHKRequiredItemView
?
=
nil
for
(
index
,
model
)
in
passArr
.
enumerated
()
{
for
(
index
,
model
)
in
passArr
.
enumerated
()
{
let
itemView
=
YHHKRequiredItemView
(
frame
:
.
zero
)
let
itemView
=
YHHKRequiredItemView
(
frame
:
.
zero
)
itemView
.
text
=
model
.
standard
_n
ame
itemView
.
text
=
model
.
standard
N
ame
itemView
.
backgroundColor
=
index
%
2
==
0
?
.
white
:
.
init
(
hex
:
0xFBF7F3
)
itemView
.
backgroundColor
=
index
%
2
==
0
?
.
white
:
.
init
(
hex
:
0xFBF7F3
)
listView
.
addSubview
(
itemView
)
listView
.
addSubview
(
itemView
)
itemView
.
snp
.
makeConstraints
{
make
in
itemView
.
snp
.
makeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyNewScheme(我的方案)/V/YHImproveRequireItemView.swift
View file @
9224a35a
...
@@ -25,7 +25,7 @@ class YHImproveRequireItemView: UIView {
...
@@ -25,7 +25,7 @@ class YHImproveRequireItemView: UIView {
var
item
:
YHComprehensiveEevaluationModel
=
YHComprehensiveEevaluationModel
()
{
var
item
:
YHComprehensiveEevaluationModel
=
YHComprehensiveEevaluationModel
()
{
didSet
{
didSet
{
let
a
:
ASAttributedString
=
.
init
(
string
:
"港府要求:"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
a
:
ASAttributedString
=
.
init
(
string
:
"港府要求:"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
b
:
ASAttributedString
=
.
init
(
string
:
item
.
standard
_n
ame
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
b
:
ASAttributedString
=
.
init
(
string
:
item
.
standard
N
ame
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
titleLabel
.
attributed
.
text
=
a
+
b
titleLabel
.
attributed
.
text
=
a
+
b
isSelect
=
item
.
is_select
isSelect
=
item
.
is_select
}
}
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
9224a35a
...
@@ -377,9 +377,9 @@ class YHAllApiName {
...
@@ -377,9 +377,9 @@ class YHAllApiName {
struct
Assessment
{
struct
Assessment
{
//方案计划
//方案计划
static
let
applyPlanApi
=
"infoflow/assessment/apply_plan"
static
let
applyPlanApi
=
"infoflow/assessment/apply_plan"
static
let
applyPlanNewApi
=
"infoflow/assessment/apply_plan"
static
let
applyPlanNewApi
=
"infoflow/assessment/apply_plan
_detail
"
static
let
submitTargetsApi
=
"infoflow/assessment/save_apply_plan_target"
static
let
submitTargetsApi
=
"infoflow/assessment/save_apply_plan_target"
static
let
modifyInfoApi
=
"infoflow/assessment/
save_apply_plan_target
"
static
let
modifyInfoApi
=
"infoflow/assessment/
update-info
"
static
let
improveDetailApi
=
"infoflow/assessment/improve_plan_detail"
static
let
improveDetailApi
=
"infoflow/assessment/improve_plan_detail"
}
}
...
...
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