This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-ntc/src/main/webapp/static/pages/scripts/importExcel.js

30 lines
719 B
JavaScript
Raw Normal View History

$(function(){
//打开导入modal
$(".import").click(function(){
$("#import_modal").modal({
backdrop:"static",
keyboard:false,
show:true
});
});
$("input[name='serviceDictId']").click(function(){
});
$("input[name='regionDictIds']").click(function(){
});
});
/**
* 模板下载
* TODO 后期修改为传入regionDictId
* */
function downLoadTemplate(path){
var obj={
"regionDictId":$("input[name='regionDictIds']:checked").val()
,"serviceDictId":$("input[name='serviceDictId']:checked").val()
,"requestId":$("select[name='requestId']").val()
};
var params = $.param(obj);
document.location.href = path+'/ntc/iplist/import/template?' + params;
}