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
7a8f6e1c
Commit
7a8f6e1c
authored
Mar 31, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的文书 我的签字列表的全部流程
parent
f9c2ba62
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
64 additions
and
16 deletions
+64
-16
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+1
-1
YHMyDocumentsListViewController.swift
...MyDocuments(我的文书)/C/YHMyDocumentsListViewController.swift
+1
-4
YHDocListCell.swift
...gentService(服务中心)/MyDocuments(我的文书)/V/YHDocListCell.swift
+57
-10
YHMySignatureListViewController.swift
...MySignature(我的签字)/C/YHMySignatureListViewController.swift
+0
-0
YHMySignatureListModel.swift
...务中心)/MySignature(我的签字)/Model/YHMySignatureListModel.swift
+4
-0
YHPhoneMessageView.swift
...laxy/Classes/Modules/Login(登录)/V/YHPhoneMessageView.swift
+1
-1
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
7a8f6e1c
...
...
@@ -1191,8 +1191,8 @@
045EEE222B9F171A0022A143
/* C */
=
{
isa
=
PBXGroup
;
children
=
(
045EEE232B9F171A0022A143
/* YHMySignatureDetailViewController.swift */
,
045EEE242B9F171A0022A143
/* YHMySignatureListViewController.swift */
,
045EEE232B9F171A0022A143
/* YHMySignatureDetailViewController.swift */
,
);
path
=
C
;
sourceTree
=
"<group>"
;
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyDocuments(我的文书)/C/YHMyDocumentsListViewController.swift
View file @
7a8f6e1c
...
...
@@ -14,7 +14,7 @@ import IQKeyboardManagerSwift
class
YHMyDocumentsListViewController
:
YHBaseViewController
{
var
tableView
:
UITableView
!
var
dataSource
:
[
YHMyDocumentsListModel
]?
//
var dataSource: [YHMyDocumentsListModel]?
var
viewModel
:
YHMyDocumentsListViewModel
?
var
orderId
:
Int
=
0
var
mobile
:
String
=
""
...
...
@@ -42,9 +42,6 @@ class YHMyDocumentsListViewController: YHBaseViewController {
return
imagV
}()
lazy
var
emailInputView
:
YHEmailInputAlertView
=
{
let
view
=
YHEmailInputAlertView
.
emailInputView
(
defalutText
:
"请输入邮箱"
)
return
view
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyDocuments(我的文书)/V/YHDocListCell.swift
View file @
7a8f6e1c
...
...
@@ -133,6 +133,7 @@ class YHDocListCell: UITableViewCell {
checkButton
.
isHidden
=
true
}
//文书状态
func
updateAllViewsForDocs
()
{
guard
let
dataSource
=
dataSourceForDocs
else
{
return
}
titleLabel
.
text
=
dataSource
.
doc_type_name
...
...
@@ -144,18 +145,20 @@ class YHDocListCell: UITableViewCell {
checkButton
.
isHidden
=
true
statusHoldView
.
isHidden
=
false
/*
* 1: '待确认',
* 2: '待签章',
* 3: '已驳回',
* 4: '待核对',
* 5: '已签章',
* 6: '已定稿',
* 7: '已完成'
docOpt: {
1: '待确认',
2: '待签章',
3: '已驳回',
4: '待核对',
5: '已签章',
6: '已定稿',
7: '已完成'
},
*/
var
statusTxt
=
""
var
color
:
UIColor
=
.
brandMainColor
let
status
=
dataSource
.
document_check_
status
let
status
=
dataSource
.
status
if
status
==
1
{
statusTxt
=
"待确认"
color
=
UIColor
.
brandMainColor
...
...
@@ -166,7 +169,7 @@ class YHDocListCell: UITableViewCell {
statusTxt
=
"已驳回"
color
=
UIColor
.
failColor
}
else
if
status
==
4
{
statusTxt
=
"待
审核
"
statusTxt
=
"待
核对
"
color
=
UIColor
.
warnColor
}
else
if
status
==
5
{
statusTxt
=
"已签章"
...
...
@@ -183,12 +186,56 @@ class YHDocListCell: UITableViewCell {
}
statusLabel
.
text
=
statusTxt
statusLabel
.
textColor
=
color
//0-待上传,1-未发送, 2-发送中,3-已发送,4-已签收,5-审核通过,6-驳回
}
}
//签字状态
func
updateAllViewsForSign
()
{
guard
let
dataSource
=
dataSourceForSign
else
{
return
}
titleLabel
.
text
=
dataSource
.
doc_type_name
if
dataSource
.
isEditFlag
{
checkButton
.
isHidden
=
false
statusHoldView
.
isHidden
=
true
checkButton
.
isSelected
=
dataSource
.
isSelectedFlag
}
else
{
checkButton
.
isHidden
=
true
statusHoldView
.
isHidden
=
false
/*
statusOpt: {
3: '待签章',
4: '已签章',
5: '已完成',
6: '已驳回'
},
*/
var
statusTxt
=
""
var
color
:
UIColor
=
.
brandMainColor
let
status
=
dataSource
.
status
if
status
==
3
{
statusTxt
=
"待签章"
color
=
UIColor
.
failColor
}
else
if
status
==
4
{
statusTxt
=
"已签章"
color
=
UIColor
.
warnColor
}
else
if
status
==
5
{
statusTxt
=
"已完成"
color
=
UIColor
.
successColor
}
else
if
status
==
6
{
statusTxt
=
"已驳回"
color
=
UIColor
.
failColor
}
else
{
statusTxt
=
"--"
color
=
UIColor
.
brandMainColor
}
statusLabel
.
text
=
statusTxt
statusLabel
.
textColor
=
color
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MySignature(我的签字)/C/YHMySignatureListViewController.swift
View file @
7a8f6e1c
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MySignature(我的签字)/Model/YHMySignatureListModel.swift
View file @
7a8f6e1c
...
...
@@ -25,6 +25,10 @@ class YHMySignatureModel: YHBaseModel {
var
is_second_page
:
Bool
=
false
var
contract_id
:
String
=
""
var
doc_type_label
:
String
=
""
var
isEditFlag
:
Bool
=
false
//是否为编辑状态
var
isSelectedFlag
:
Bool
=
true
//是否被选择 默认全部全部选择
}
class
YHMySignatureUserInfoModel
:
YHBaseModel
{
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/V/YHPhoneMessageView.swift
View file @
7a8f6e1c
...
...
@@ -92,7 +92,7 @@ extension YHPhoneMessageView: UITextFieldDelegate {
}
func
textField
(
_
textField
:
UITextField
,
shouldChangeCharactersIn
range
:
NSRange
,
replacementString
string
:
String
)
->
Bool
{
var
newText
=
(
textField
.
text
!
as
NSString
)
.
replacingCharacters
(
in
:
range
,
with
:
string
)
let
newText
=
(
textField
.
text
!
as
NSString
)
.
replacingCharacters
(
in
:
range
,
with
:
string
)
if
newText
.
count
>
11
{
return
false
}
...
...
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