|
@@ -284,6 +284,11 @@
|
|
|
this.clearFilter();
|
|
|
};
|
|
|
const {hospitalId,behospitalCode, deptId, name,date1,date2} = this.filter;
|
|
|
+ let beCode=behospitalCode;
|
|
|
+ var patrn = /[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、]/g;
|
|
|
+ beCode=behospitalCode.replace(patrn,function(x){
|
|
|
+ return "\\"+x;
|
|
|
+ });
|
|
|
const {tranformDate} = utils;
|
|
|
const param = {
|
|
|
current: this.inCurrentPage||this.currentPage,
|
|
@@ -291,7 +296,7 @@
|
|
|
hospitalId,
|
|
|
deptId,
|
|
|
name,
|
|
|
- behospitalCode,
|
|
|
+ behospitalCode:beCode,
|
|
|
leaveHosDateEnd:tranformDate(date2,' 23:59:59'),
|
|
|
leaveHosDateStart: tranformDate(date1," 00:00:00")
|
|
|
};
|