Commit e48940a5 authored by David黄金龙's avatar David黄金龙

Merge branch 'develop' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into develop

* 'develop' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS:
  续签文书管理控制使得已经上传10个文件点击上传按钮弹出toast
  续签补件bug修复
  更改版本号
parents dcffe905 6d717ded
...@@ -6329,7 +6329,7 @@ ...@@ -6329,7 +6329,7 @@
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 2; CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = ""; DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7;
ENABLE_USER_SCRIPT_SANDBOXING = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO;
...@@ -6474,7 +6474,7 @@ ...@@ -6474,7 +6474,7 @@
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 2; CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = ""; DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7;
ENABLE_USER_SCRIPT_SANDBOXING = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO;
...@@ -6682,7 +6682,7 @@ ...@@ -6682,7 +6682,7 @@
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 2; CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = ""; DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7;
ENABLE_USER_SCRIPT_SANDBOXING = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO;
...@@ -6732,7 +6732,7 @@ ...@@ -6732,7 +6732,7 @@
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 2; CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = ""; DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7;
ENABLE_USER_SCRIPT_SANDBOXING = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO;
......
...@@ -356,7 +356,7 @@ extension YHResignDocumentDetailViewController: UITableViewDelegate, UITableView ...@@ -356,7 +356,7 @@ extension YHResignDocumentDetailViewController: UITableViewDelegate, UITableView
} }
let count = detailModel.signedDocument.count let count = detailModel.signedDocument.count
if count >= 10 { if count >= 10 {
YHHUD.flash(message: "最多上传10个图片或文件") YHHUD.flash(message: "最多上传10个文件,请删除后再次上传")
return return
} }
let allowedCount = 10 - count let allowedCount = 10 - count
...@@ -600,7 +600,7 @@ extension YHResignDocumentDetailViewController { ...@@ -600,7 +600,7 @@ extension YHResignDocumentDetailViewController {
let isSureButtonEnable = model.signedDocument.count > 0 let isSureButtonEnable = model.signedDocument.count > 0
if model.signedDocument.count == uploadMaxCount { if model.signedDocument.count == uploadMaxCount {
name = "继续上传" name = "继续上传"
isUploadEnable = false isUploadEnable = true
} else if model.signedDocument.count > 0 { } else if model.signedDocument.count > 0 {
name = "继续上传" name = "继续上传"
isUploadEnable = true isUploadEnable = true
...@@ -639,7 +639,7 @@ extension YHResignDocumentDetailViewController { ...@@ -639,7 +639,7 @@ extension YHResignDocumentDetailViewController {
let isSureButtonEnable = totalCount > 0 let isSureButtonEnable = totalCount > 0
if totalCount >= uploadMaxCount { if totalCount >= uploadMaxCount {
name = "继续上传" name = "继续上传"
isUploadEnable = false isUploadEnable = true
} else if totalCount > 0 { } else if totalCount > 0 {
name = "继续上传" name = "继续上传"
isUploadEnable = true isUploadEnable = true
......
...@@ -301,7 +301,12 @@ class YHResignUploadDocItemView: UIView { ...@@ -301,7 +301,12 @@ class YHResignUploadDocItemView: UIView {
@objc func centerClick() { @objc func centerClick() {
if let block = clickBlock { if let block = clickBlock {
block(self.dataSource ?? YHResignUploadDocModel()) if let model = self.dataSource {
block(model)
}
if let model = self.docDataSource {
block(model)
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment