فهرست منبع

修复第一阶段查询和表单展示

hwy 10 ماه پیش
والد
کامیت
8716745632
2فایلهای تغییر یافته به همراه6 افزوده شده و 4 حذف شده
  1. 2 2
      app/statistics/html/dyjdRzsfjd.html
  2. 4 2
      app/statistics/js/dyjdRzsfjd.js

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

@ -86,7 +86,7 @@
					<el-table-column prop="value" label="组别" align="center"></el-table-column>
					<!-- <el-table-column prop="targetEntryCont" label="目标v2入组例数" align="center"></el-table-column> -->
					<el-table-column prop="targetEntryCont" :render-header='renderHeadeRexpert' align="center"></el-table-column>
					<el-table-column  prop="createTime"  :render-header='renderHeadeRexpert' align="center" width="150px" v-if="type==='dyjdrzsfjd'"></el-table-column>
					<el-table-column  prop="firstV1FinishDate"  :render-header='renderHeadeRexpert' align="center" width="150px" v-if="type==='dyjdrzsfjd'"></el-table-column>
					<el-table-column  prop="v1AllCount" label="完成V1入筛选期累计例数" align="center"></el-table-column>
					 <el-table-column  prop="firstV2EntryDate"  :render-header='renderHeadeRexpert' width="160px" align="center"></el-table-column>
					</el-table-column>
@ -148,7 +148,7 @@
					</el-table-column>
					
					
					<el-table-column  prop="" label="提前结束研究(脱落)原因累计例数" align="center">
					<el-table-column  prop="" label="提前结束研究(脱落)原因累计例数" align="center" v-if="type!='dyjdrzsfjd'">
						  <el-table-column
						  prop="endValue1"
						  :render-header='renderHeadeRexpert'

+ 4 - 2
app/statistics/js/dyjdRzsfjd.js

@ -64,6 +64,9 @@ Vue.component('mzf-dyjd-rzsfjd', {
		}
	},
	created: function(){
		if(this.type=='dyjdrzsfjd'){
			this.startTime=new Date('2021','11','1')
		}
		this.s = this.startTime.format('yyyy-MM-dd')
		this.e = this.endTime.format('yyyy-MM-dd')
		this.list.unshift({type:'0',id:'time',label:this.s +"~"+ this.e})
@ -72,7 +75,7 @@ Vue.component('mzf-dyjd-rzsfjd', {
	watch:{
		'type':{
			handler:function(o){
				  console.log('w1w1ww1w1w1w1w1w1w1w1w1w1w1w1w1w1w1w1w1w1w1w1w1w1',o)
				  console.log('判断是否是第一阶段随访入组表单',o)
					this.getCopdFollowData()
			},
			deep: true,
@ -206,7 +209,6 @@ Vue.component('mzf-dyjd-rzsfjd', {
			}
			var jsonStr = JSON.stringify(data)
			if(vm.type=="dyjdrzsfjd"){
				console.log('11111111111111111111111111111111111111111')
				statisticAPI.exportFirstStageEntryData({
					jsonStr: encodeURIComponent(jsonStr)
				},'慢阻肺第一阶段入组随访进度.xls').then(function(res){