Commit 1e7aeebb authored by David黄金龙's avatar David黄金龙

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

* 'qmas-1130' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS:
  //  原则批
parents d31f0396 d0079657
......@@ -209,11 +209,14 @@ class YHPrincipleProfileListCell: UITableViewCell {
if model.type == .entry {
itemView.btnClick = {
YHHUD.show(.progress(message: "加载中..."))
self.viewModel.getRealUsefulUrl(item.value) {
[weak self] resultUrl in
YHHUD.hide()
guard let self = self else { return }
self.previewFileTool.openXLSXRemoteFile(urlString: resultUrl, fileName:"申请确认通知书")
// 中文编码
if let url = item.value.addingPercentEncoding(withAllowedCharacters: CharacterSet.urlQueryAllowed) {
self.viewModel.getRealUsefulUrl(url) {
[weak self] resultUrl in
YHHUD.hide()
guard let self = self else { return }
self.previewFileTool.openXLSXRemoteFile(urlString: resultUrl, fileName:"申请确认通知书")
}
}
}
......
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