导出不是发异步,而是一个方法,utl+请求参数

//导出
importDataMsg:function(){

    var url='/Sell/CRM/ManualDialRecording/ExportData?' +

        'PageIndex='+ moduleRoot.config.exportIndex +

        '&PageSize=5' +

        '&DepartId='+ $('#UIDepartId-selectFirst').val() +

        '&JobNumber='+ $('#SeatIdFirst').val() +

        '&OutgoingType='+ $("#outTel").children("option:checked").val() +

        '&OutgoingStr=' + $("#inputTel").val() +

        '&CallingType=' + $("#callType").children("option:checked").val() +

        '&CallingStartTime=' + $("#begin-time").children("input").val() +

        '&CallingEndTime=' + $("#end-time").children("input").val() +

        '&MinCallingLength=' + $("#minLength").val() +

        '&MaxCallingLength='+ $("#maxLength").val();

    window.open(url);
},

 

posted on 2017-03-05 17:38  懒人猫  阅读(1169)  评论(0)    收藏  举报