Commit e3a69595 authored by Steven杜宇's avatar Steven杜宇

// 模版处理

parent 441e6bcd
......@@ -533,7 +533,13 @@ extension YHPrincipleUploadListVC: UITableViewDelegate, UITableViewDataSource {
IQKeyboardManager.shared.enable = false
if editType == .preview {
if let template = model.file_url.first {
self.previewFileTool.openXLSXRemoteFile(urlString: template.url, fileName: template.name)
YHHUD.show(.progress(message: "加载中..."))
self.viewModel.getRealUsefulUrl(template.url) {
[weak self] resultUrl in
YHHUD.hide()
guard let self = self else { return }
self.previewFileTool.openXLSXRemoteFile(urlString: resultUrl, fileName:template.name)
}
}
} else if editType == .sendEmail {
......
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