|
@@ -216,7 +216,10 @@ function getTabData(activePage){
|
|
|
mrTimeEnd: fpCheckDateEnd.replace(/\//g,'-'), //首页核查截止时间
|
|
|
}
|
|
|
if (from == 9) {
|
|
|
- param = { ...param, behDeptName: deptNamePram}
|
|
|
+ if (deptName ==="全部"){
|
|
|
+ deptName = ''
|
|
|
+ }
|
|
|
+ param = { ...param, behDeptName: deptName}
|
|
|
}
|
|
|
if (from == 7) {
|
|
|
param = { ...param, checkStatus: 1 }
|
|
@@ -340,7 +343,7 @@ $(".abnormalClear").on("click", function(e){
|
|
|
deptNameTemp=deptListDept[0]&&deptListDept[0].deptName;
|
|
|
deptIdTemp=deptListDept[0]&&deptListDept[0].deptId;
|
|
|
}
|
|
|
- if(from == 4){
|
|
|
+ if (from == 4 || from == 9){
|
|
|
deptIdTemp = deptIdPram = deptIdPram
|
|
|
deptName = deptNameTemp = deptNamePram
|
|
|
}
|
|
@@ -388,7 +391,7 @@ $(".abnormalClear").on("click", function(e){
|
|
|
}).datepicker( "setDate","");
|
|
|
if(from == 2){
|
|
|
$('.selectDept ').html(deptListDept[0].deptName)
|
|
|
- }else if(from == 4){
|
|
|
+ } else if (from == 4 || from == 9){
|
|
|
if(deptNamePram.length > 10){
|
|
|
$('.selectDept').html(deptNamePram.substring(0,8)+'...')
|
|
|
}else{
|
|
@@ -1289,7 +1292,10 @@ $(function($){
|
|
|
let exportURL = formatExportUrl(from)
|
|
|
// console.log(exportURL,'exportURL导出接口');
|
|
|
if (from == 9) {
|
|
|
- param = { ...param, behDeptName: deptNamePram }
|
|
|
+ if (deptName === "全部") {
|
|
|
+ deptName = ''
|
|
|
+ }
|
|
|
+ param = { ...param, behDeptName: deptName }
|
|
|
}
|
|
|
if (from == 7) {
|
|
|
param = { ...param, checkStatus: 1 }
|