|
@ -34,6 +34,7 @@ new Vue({
|
|
|
},
|
|
|
},
|
|
|
radio:'1',
|
|
|
timeLevel: 2,
|
|
|
searchJson:{},
|
|
|
currentPage:1,
|
|
|
currentSize:10,
|
|
@ -106,6 +107,7 @@ new Vue({
|
|
|
if(vm.radio=="1"){
|
|
|
startDate = getStartDate(vm.chooseYear)
|
|
|
endDate = getEndDate(vm.chooseYear)
|
|
|
vm.timeLevel = 2
|
|
|
}else{
|
|
|
if(!vm.start&&!vm.end){
|
|
|
this.$message({
|
|
@ -123,6 +125,7 @@ new Vue({
|
|
|
}else{
|
|
|
startDate = vm.start
|
|
|
endDate = vm.end
|
|
|
vm.timeLevel = 1
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@ -162,6 +165,7 @@ new Vue({
|
|
|
area:vm.areaCode=="350200"?"":vm.areaCode,
|
|
|
size:vm.currentSize,
|
|
|
page:vm.currentPage,
|
|
|
timeLevel: vm.timeLevel
|
|
|
}
|
|
|
vm.getStatisticDataList()
|
|
|
}
|
|
@ -194,7 +198,7 @@ new Vue({
|
|
|
searchJson = vm.beforeReq('export')
|
|
|
if(searchJson){
|
|
|
var areaCode = vm.areaCode=="350200"?"":vm.areaCode
|
|
|
let str = httpRequest.server + 'statisticsExport/export?startDate='+searchJson.start+'&endDate='+searchJson.end+'"aStr='+searchJson.checked+'&range='+vm.rangeCode+'&area='+areaCode+'&hospital='+vm.communityCode+'&team='+vm.teamCode
|
|
|
let str = httpRequest.server + 'statisticsExport/export?startDate='+searchJson.start+'&endDate='+searchJson.end+'"aStr='+searchJson.checked+'&range='+vm.rangeCode+'&area='+areaCode+'&hospital='+vm.communityCode+'&team='+vm.teamCode+'&timeLevel='+vm.timeLevel
|
|
|
console.log(str)
|
|
|
window.location.href = str
|
|
|
}
|