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
00f869e7
Commit
00f869e7
authored
Feb 27, 2024
by
David黄金龙
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新订单 showcase通过
parent
7d8dacdd
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
58 additions
and
9 deletions
+58
-9
YHInformationPerfectListVC.swift
...telligentService(服务中心)/C/YHInformationPerfectListVC.swift
+6
-0
YHInformationPerfectModel.swift
...ntelligentService(服务中心)/M/YHInformationPerfectModel.swift
+3
-3
YHBasicInfoFillView.swift
...ess(流程)/BaseInformation(基本资料)/V/YHBasicInfoFillView.swift
+20
-0
YHBasicInfoFillViewModel.swift
...)/BaseInformation(基本资料)/VM/YHBasicInfoFillViewModel.swift
+2
-2
YHOtherInfoFillViewController.swift
...erInformation(其他信息)/C/YHOtherInfoFillViewController.swift
+24
-3
YHOtherInfoFillModel.swift
...s(流程)/OtherInformation(其他信息)/M/YHOtherInfoFillModel.swift
+1
-1
YHServiceCenterMainViewModel.swift
...ligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
+2
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHInformationPerfectListVC.swift
View file @
00f869e7
...
...
@@ -80,6 +80,12 @@ class YHInformationPerfectListVC: YHBaseViewController {
setupUI
()
loadData
()
}
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
loadData
()
}
}
extension
YHInformationPerfectListVC
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/M/YHInformationPerfectModel.swift
View file @
00f869e7
...
...
@@ -49,9 +49,9 @@ class YHInformationPerfectModel {
status
=
isFinished
?
"已完成"
:
"待完善"
color
=
isFinished
?
UIColor
.
mainTextColor
:
UIColor
.
labelTextColor2
statusColor
=
isFinished
?
UIColor
.
successColor
:
UIColor
.
labelTextColor2
if
type
!=
1
{
icon
=
isFinished
?
icon
:
(
icon
+
"_grey"
)
}
//
if type != 1 {
// icon = isFinished ? icon : icon
//
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/BaseInformation(基本资料)/V/YHBasicInfoFillView.swift
View file @
00f869e7
...
...
@@ -300,6 +300,26 @@ private extension YHBasicInfoFillView {
additionHoldView
.
isHidden
=
true
mutilChoiceHoldView
.
isHidden
=
false
// title = model.question
// if model.answer == "Y" {
// didClickResponseBtn(btn: answer2Btn)
// myTextView.text = model.info.count > 0 ? model.info : kTipsString
// } else {
// if model.answer == "N" {
// didClickResponseBtn(btn: answer1Btn)
// }
// }
//
// mutilChoiceHoldView.snp.removeConstraints()
// mutilChoiceHoldView.snp.remakeConstraints { make in
// make.top.equalTo(answer1Btn.snp.bottom).offset(12)
// make.left.right.equalToSuperview()
//// make.height.equalTo(78)
// make.bottom.equalToSuperview().offset(-18)
// }
let
lable
=
UILabel
()
let
str
=
"* 选择成员:"
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/BaseInformation(基本资料)/VM/YHBasicInfoFillViewModel.swift
View file @
00f869e7
...
...
@@ -181,9 +181,9 @@ extension YHBasicInfoFillViewModel {
//保存基本资料信息
func
saveBasicInfo
(
params
:[
String
:
Any
],
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
//
let strUrl = YHBaseUrlManager.shared.curURL() + YHAllApiName.Basics.updateBasicInfoApi
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Basics
.
updateBasicInfoApi
let
strUrl
=
"http://192.168.25.21:10087/"
+
"infoflow/basics/update_basics"
//
let strUrl = "http://192.168.25.21:10087/" + "infoflow/basics/update_basics"
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
,
params
:
params
)
{
[
weak
self
]
json
,
code
in
//1. json字符串 转 对象
guard
self
!=
nil
else
{
return
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/C/YHOtherInfoFillViewController.swift
View file @
00f869e7
...
...
@@ -97,11 +97,12 @@ extension YHOtherInfoFillViewController {
let
model
=
otherInfoVM
.
otherInfoFillData
model
?
.
is_update
=
false
let
str
=
model
?
.
toJSONString
()
printLog
(
str
)
//保存
if
let
param
=
model
?
.
toDictionary
()
{
printLog
(
"param ==>"
)
printLog
(
param
)
...
...
@@ -113,12 +114,32 @@ extension YHOtherInfoFillViewController {
YHHUD
.
flash
(
message
:
msg
)
}
}
}
else
{
printLog
(
"error: 参数 转换 出错"
)
}
}
private
func
submitData
()
{
//提交
let
model
=
otherInfoVM
.
otherInfoFillData
model
?
.
is_update
=
true
//保存
if
let
param
=
model
?
.
toDictionary
()
{
printLog
(
"param ==>"
)
printLog
(
param
)
otherInfoVM
.
saveOtherInfo
(
params
:
param
)
{
success
,
error
in
if
success
==
true
{
YHHUD
.
flash
(
message
:
"保存成功"
)
}
else
{
let
msg
=
error
?
.
errorMsg
??
"保存失败"
YHHUD
.
flash
(
message
:
msg
)
}
}
}
else
{
printLog
(
"error: 参数 转换 出错"
)
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/M/YHOtherInfoFillModel.swift
View file @
00f869e7
...
...
@@ -24,7 +24,7 @@ class YHOtherInfoFillModel: SmartCodable {
// MARK: - Residence
class
Residence
:
SmartCodable
{
var
id
:
Int
=
-
1
var
id
:
String
=
""
var
country
:
String
=
""
var
start_time
:
String
=
""
var
end_time
:
String
=
""
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
View file @
00f869e7
...
...
@@ -187,6 +187,8 @@ extension YHServiceCenterMainViewModel {
return
}
arrInfoFillStep
.
removeAll
()
if
model
.
code
==
200
{
informationFillStepModel
=
resultModel
...
...
pete谢兆麟
@pete
mentioned in commit
3ef508f1
·
Feb 28, 2024
mentioned in commit
3ef508f1
mentioned in commit 3ef508f1e20ee18fb0c06bc2c016b92367d0bdc4
Toggle commit list
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