|
@@ -269,6 +269,15 @@ function creatTask(flag){
|
|
|
|
|
|
function getTabData(activePage){
|
|
function getTabData(activePage){
|
|
const filterData = getFilterData();
|
|
const filterData = getFilterData();
|
|
|
|
+ const {smallDay,bigDay,startDate,endDate} = filterData;
|
|
|
|
+ if(smallDay>bigDay){
|
|
|
|
+ toast("住院天数区间有误~");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if(new Date(startDate).getTime()>new Date(endDate).getTime()){
|
|
|
|
+ toast("出院日期开始时间不能大于结束时间~");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
const param = {
|
|
const param = {
|
|
jobType:global_activeTabCode, //科室/质控科/院级
|
|
jobType:global_activeTabCode, //科室/质控科/院级
|
|
creatStatus:global_status,
|
|
creatStatus:global_status,
|