|
@@ -937,21 +937,8 @@ $((function ($) {
|
|
|
complaintDateEnd: behosDateEnd.replaceAll("/", "-"),
|
|
|
complaintDateStart: behosDateStart.replaceAll("/", "-"),
|
|
|
}
|
|
|
- bindSaveColPort(param)
|
|
|
-
|
|
|
- })
|
|
|
-})($));
|
|
|
-function bindSaveColPort(param) {
|
|
|
- $('.export').click(function () {
|
|
|
- const start = new Date(behosDateStart).getTime()
|
|
|
- const end = new Date(behosDateEnd).getTime()
|
|
|
- if (start > end) {
|
|
|
- $.alerModal({ "message": '开始时间不能大于结束时间~', type: "tip", time: '1000', isFather: true, fatherWrapper: $("#mainBox", parent.document) });
|
|
|
- return
|
|
|
- }
|
|
|
expJson(api.getComplaintRecordExport, param).then(res => {
|
|
|
downloadExportedData(res.data, "申述记录.xls")
|
|
|
})
|
|
|
-
|
|
|
})
|
|
|
-}
|
|
|
+})($));
|