瀏覽代碼

/statisticsExport/getStatisticDataList 增加入参timeLevel
/statisticsExport/export 增加入参timeLevel

yezehua 3 年之前
父節點
當前提交
556e8bf53c
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      app/statistics/js/comprehensive-query.js

+ 5 - 1
app/statistics/js/comprehensive-query.js

@ -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+'&quotaStr='+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+'&quotaStr='+searchJson.checked+'&range='+vm.rangeCode+'&area='+areaCode+'&hospital='+vm.communityCode+'&team='+vm.teamCode+'&timeLevel='+vm.timeLevel
	            console.log(str)
	            window.location.href = str
			}