文件上传增加样例和摘要业务文件的的总文件大小、单个文件大小、文件类型校验

This commit is contained in:
duandongmei
2018-07-06 17:13:46 +08:00
parent 9d0f8072c1
commit 7c6251e859
15 changed files with 1774 additions and 38 deletions

View File

@@ -1,7 +1,14 @@
$(function(){
/* var tree2 = $("#test-select-2").treeMultiselect({
searchable: true
});*/
var tree2 = $("select[name=lableTest]").treeMultiselect({
searchable: true,
hideSidePanel:true,
startCollapsed:true
});
var tree1 = $("select[name=classifyTest]").treeMultiselect({
searchable: true,
hideSidePanel:true,
startCollapsed:true
});
//全选及取消
$("#checkAll").change(function(){
if($("#checkAll").prop("checked")){
@@ -874,6 +881,10 @@ var downLoadXLS=function(){
var pathName=window.document.location.pathname.substring(0,window.document.location.pathname.lastIndexOf("/"));
window.location =pathName+"/import/template?functionId="+$("#functionId").val()+"&cfgRegionCode="+$("#cfgRegionCode").val();
}
//下载模板
var openSelct=function(obj){
$(obj).parent().parent().find(".tree-multiselect").removeClass("hidden");
}
//导入配置
var importCfg=function(){
if($("#serviceId").val()==""){