|
@ -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){
|