Commit 23986026 authored by pete谢兆麟's avatar pete谢兆麟

服务中心 和 我的签字bug修复

parent b31df31d
......@@ -169,7 +169,7 @@ extension YHSelectViewController {
}
if #available(iOS 15.0, *) {
tableView.sectionHeaderTopPadding = 0;
tableView.sectionHeaderTopPadding = 0
}
}
}
......
......@@ -149,7 +149,7 @@ extension YHOrderDetailViewController: UITableViewDelegate, UITableViewDataSourc
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 295
return 305
}
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
......@@ -279,7 +279,7 @@ class YHOrderDetailTableViewCell: UITableViewCell {
make.top.equalTo(54.5)
make.left.equalTo(16)
make.right.equalTo(-16)
make.height.equalTo(1)
make.height.equalTo(0.5)
}
orderTitleLabel = {
let label = UILabel()
......
......@@ -27,6 +27,7 @@ class YHMySignatureDetailModel: SmartCodable {
var docType: Int = 0
var signedDocument: [YHMySignedDocumentModel] = []
var templateUrl: String = ""
var commonFile: String = ""
required init() {
}
}
......
......@@ -347,21 +347,10 @@ extension YHGCMySignatureDetailViewController: UITableViewDelegate, UITableViewD
if self.viewModel.mainModel?.docStatus == 1002 {
YHCommonAlertView.show("", "文书编写中,请稍候查看", "", "我知道了") {
}
} else if self.viewModel.mainModel?.docStatus == 1007 {
if self.viewModel.mainModel?.signFile.count != 0 {
let url = URL(string: self.viewModel.mainModel?.signFile) ?? URL(fileURLWithPath: "")
let safariViewController = SFSafariViewController(url: url)
safariViewController.dismissButtonStyle = .close
safariViewController.delegate = self
safariViewController.modalPresentationStyle = .fullScreen
present(safariViewController, animated: true, completion: nil)
} else {
}
} else {
if self.viewModel.mainModel?.signFile.count != 0 {
let url = URL(string: self.viewModel.mainModel?.signFileOrigin) ?? URL(fileURLWithPath: "")
if self.viewModel.mainModel?.commonFile.count != 0 {
let url = URL(string: self.viewModel.mainModel?.commonFile) ?? URL(fileURLWithPath: "")
let safariViewController = SFSafariViewController(url: url)
safariViewController.dismissButtonStyle = .close
safariViewController.delegate = self
......
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