审批流程中文件附件选择文件改为上传附件,批量下载

master
wuzuowei 6 months ago
parent bd4ff367cb
commit 750cb015d5

@ -268,9 +268,9 @@ function FileShowWayTable(athDesc, dbs, uploadUrl) {
if (athDesc.IsEnableTemplate == 1 && (athDesc.IsUpload == true && pageData.IsReadonly != "1")) if (athDesc.IsEnableTemplate == 1 && (athDesc.IsUpload == true && pageData.IsReadonly != "1"))
_html += " | <a href='javaScript:void(0)'onclick='ShowTemplateAth(\"" + athDesc.MyPK + "\")' style='color:blue'>附件模板</a>"; _html += " | <a href='javaScript:void(0)'onclick='ShowTemplateAth(\"" + athDesc.MyPK + "\")' style='color:blue'>附件模板</a>";
if (athDesc.IsDownload == 1 && dbs.length > 0) if (athDesc.IsDownload == 1 && dbs.length > 0)
_html += " | <a href=\"javascript:DownZip('" + athDesc.MyPK + "','" + AthParams.PKVal + "')\" ><img src='" + currImgPath + "/FileType/zip.png' style='width:16px;height:16px;margin-left:5px;' alt='打包下载' /></a>"; _html += " | <a class='propsA' href=\"javascript:DownZip('" + athDesc.MyPK + "','" + AthParams.PKVal + "')\" >批量下载</a > ";
//< img class='propsIMG' src = '" + currImgPath + "/FileType/zip.png' style = 'width:16px;height:16px;margin-left:5px;' alt = '打包下载' />
//if (((athDesc.IsUpload != 0 || pageData.IsReadonly != "1") || athDesc.IsExpCol != 1) && _html.indexOf("操作") != -1) { //if (((athDesc.IsUpload != 0 || pageData.IsReadonly != "1") || athDesc.IsExpCol != 1) && _html.indexOf("操作") != -1) {
// _html += "<div style='float:right' id='fileUpload_" + athDesc.MyPK + "' class='fileUploadContent'></div> "; // _html += "<div style='float:right' id='fileUpload_" + athDesc.MyPK + "' class='fileUploadContent'></div> ";
//} else if ((((athDesc.IsUpload != 0 || pageData.IsReadonly != "1") || athDesc.IsExpCol != 1) && _html.indexOf("操作") == -1)) { //} else if ((((athDesc.IsUpload != 0 || pageData.IsReadonly != "1") || athDesc.IsExpCol != 1) && _html.indexOf("操作") == -1)) {

@ -133,7 +133,7 @@ var uploadTools = {
var btsStr = ""; var btsStr = "";
btsStr += "<div class='uploadBts'>"; btsStr += "<div class='uploadBts'>";
btsStr += "<div>"; btsStr += "<div>";
btsStr += "<div class='selectFileBt'>选择文件</div>"; btsStr += "<div class='selectFileBt'>上传附件</div>";
btsStr += "</div>"; btsStr += "</div>";
btsStr += "<div class='uploadFileBt'>"; btsStr += "<div class='uploadFileBt'>";
btsStr += "<i class='iconfont icon-shangchuan'></i>"; btsStr += "<i class='iconfont icon-shangchuan'></i>";

@ -77,6 +77,9 @@
.layui-footer { .layui-footer {
text-align: left !important; text-align: left !important;
} }
.propsA {
color: blue !important;
}
</style> </style>
<style id="theme-data"></style> <style id="theme-data"></style>

Loading…
Cancel
Save