diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html index a40e0e6a..8a06b1cf 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html @@ -796,7 +796,7 @@ var currentId=$('form').eq(0).attr('id'); var params = $.common.formToJSON(currentId); delete params.dateSearch; - $.ajax({ +/* $.ajax({ type: "POST", data: JSON.stringify(params), contentType: 'application/json', @@ -813,7 +813,21 @@ link.click(); document.body.removeChild(link) } - }) + })*/ + console.log(params) + let paramsList=[] + for(var key in params){ + if (params.hasOwnProperty(key)) { + var value = params[key]; + // 检查值是否为空 + if (value!== null && value!== undefined && value!== '') { + paramsList.push(key + '=' + value); + } + } + } + console.log(paramsList) + console.log(paramsList.join("&")) + window.location.href = prefix +"/export1?"+paramsList.join("&") } function downloadC2(){ var currentId=$('form').eq(1).attr('id'); @@ -838,6 +852,20 @@ document.body.removeChild(link) } }) + console.log(params) + let paramsList=[] + for(var key in params){ + if (params.hasOwnProperty(key)) { + var value = params[key]; + // 检查值是否为空 + if (value!== null && value!== undefined && value!== '') { + paramsList.push(key + '=' + value); + } + } + } + console.log(paramsList) + console.log(paramsList.join("&")) + window.location.href = prefix +"/export2?"+paramsList.join("&") }else if(document.getElementById("qy").value==""){ $.ajax({ type: "POST", @@ -857,6 +885,20 @@ document.body.removeChild(link) } }) + console.log(params) + let paramsList=[] + for(var key in params){ + if (params.hasOwnProperty(key)) { + var value = params[key]; + // 检查值是否为空 + if (value!== null && value!== undefined && value!== '') { + paramsList.push(key + '=' + value); + } + } + } + console.log(paramsList) + console.log(paramsList.join("&")) + window.location.href = prefix +"/export3?"+paramsList.join("&") }else{ $.ajax({ type: "POST", @@ -876,6 +918,20 @@ document.body.removeChild(link) } }) + console.log(params) + let paramsList=[] + for(var key in params){ + if (params.hasOwnProperty(key)) { + var value = params[key]; + // 检查值是否为空 + if (value!== null && value!== undefined && value!== '') { + paramsList.push(key + '=' + value); + } + } + } + console.log(paramsList) + console.log(paramsList.join("&")) + window.location.href = prefix +"/export4?"+paramsList.join("&") } } diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html index 481afca9..960f8144 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html @@ -77,7 +77,7 @@
扫码原因:
+未扫码原因: