浏览代码

禅道bug (查询时间为7天)

许家烙好人 1 年之前
父节点
当前提交
f7cadd5763
共有 2 个文件被更改,包括 6 次插入3 次删除
  1. 2 2
      app/statistics/html/dejdsjyysfjdjczqk.html
  2. 4 1
      app/statistics/js/dejdsjyysfjdjczqk.js

+ 2 - 2
app/statistics/html/dejdsjyysfjdjczqk.html

@ -53,7 +53,7 @@
					<el-table-column prop="gradeHospitalName" label="三级医院名称" align="center">
					</el-table-column>
					<el-table-column label="统计起始日期:YYYY/MM/DD" align="center">
					<!-- <el-table-column label="统计起始日期:YYYY/MM/DD" align="center"> -->
						<el-table-column label="各随访累计例(次)数" align="center">
							<el-table-column prop="f_v1_all" label="累计v1数" align="center"> </el-table-column>
							<el-table-column prop="f_v2_all" label="累计v2数" align="center"> </el-table-column>
@ -64,7 +64,7 @@
						</el-table-column>
					</el-table-column>
					<el-table-column label="统计截止日期:YYYY/MM/DD" align="center">
					<!-- <el-table-column label="统计截止日期:YYYY/MM/DD" align="center"> -->
						<el-table-column prop="v2Count" label="各随访新增例(次)数" align="center">
							<el-table-column prop="f_v1" label="新增v1数" align="center"> </el-table-column>
							<el-table-column prop="f_v2" label="新增v2数" align="center"> </el-table-column>

+ 4 - 1
app/statistics/js/dejdsjyysfjdjczqk.js

@ -22,7 +22,8 @@ Vue.component('mzf-dejdsjyy-sfjdjczqk', {
			testPosition1: 0,
			testPosition2: 0,
			list:[],
			startTime:new Date('2023','05','26'),
			// startTime:new Date('2023','05','26'),
			startTime:new Date(new Date().getTime()-6*24*60*60*1000),
			endTime:new Date(),
			regionList:[],
			regionData:[
@ -64,6 +65,8 @@ Vue.component('mzf-dejdsjyy-sfjdjczqk', {
	},
	created: function(){
		this.s = this.startTime.format('yyyy-MM-dd')
		// this.s = (new Date(this.endTime.getTime()-7*24*60*60*1000))  //往前推7天
		// console.log(this.s,"sss")  
		this.e = this.endTime.format('yyyy-MM-dd')
		this.list.unshift({type:'0',id:'time',label:this.s +"~"+ this.e})
		this.getFollowAndOutData()