|  | @ -18,8 +18,8 @@ | 
		
	
		
			
				|  |  |         </div> |  |  |         </div> | 
		
	
		
			
				|  |  |         <div class="table_form"> |  |  |         <div class="table_form"> | 
		
	
		
			
				|  |  |           <invalid v-if="curFormType==='无效联系'" id="followFunc" ref="followRef" :json-text="dataForm.jsonText" :follow-id="dataForm.id" /> |  |  |           <invalid v-if="curFormType==='无效联系'" id="followFunc" ref="followRef" :json-text="dataForm.jsonText" :follow-id="dataForm.id" /> | 
		
	
		
			
				|  |  |           <phone-follow v-else-if="curFormType==='电话随访'" id="followFunc" ref="followRef" :json-text="dataForm.jsonText" :follow-id="dataForm.id" /> |  |  |  | 
		
	
		
			
				|  |  |           <out-follow v-else id="followFunc" ref="followRef" :patient-id="patientId" :json-text="dataForm.jsonText" :follow-id="dataForm.id" :platform="platform" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |           <phone-follow v-if="curFormType==='电话随访'" id="followFunc" ref="followRef" :json-text="dataForm.jsonText" :follow-id="dataForm.id" /> | 
		
	
		
			
				|  |  |  |  |  |           <out-follow v-if="curFormType==='门诊随访'" id="followFunc" ref="followRef" :patient-id="patientId" :json-text="dataForm.jsonText" :follow-id="dataForm.id" :platform="platform" /> | 
		
	
		
			
				|  |  |         </div> |  |  |         </div> | 
		
	
		
			
				|  |  |       </div> |  |  |       </div> | 
		
	
		
			
				|  |  |       <!-- 没有随访数据 --> |  |  |       <!-- 没有随访数据 --> | 
		
	
	
		
			
				|  | @ -48,7 +48,6 @@ import timeLineFollowUp from '@/components/360View/time-line-follow-up' | 
		
	
		
			
				|  |  | // import editFullCaseTemplate from '@/components/hm-crf/edit-full-case-template.vue' |  |  | // import editFullCaseTemplate from '@/components/hm-crf/edit-full-case-template.vue' | 
		
	
		
			
				|  |  | // import intelligentFull from '@/components/hm-crf/intelligent-full.vue' |  |  | // import intelligentFull from '@/components/hm-crf/intelligent-full.vue' | 
		
	
		
			
				|  |  | import addFollowRecord from './add-follow-record.vue' |  |  | import addFollowRecord from './add-follow-record.vue' | 
		
	
		
			
				|  |  | import IntelligentFill from '@/mixins/IntelligentFill' |  |  |  | 
		
	
		
			
				|  |  | import Invalid from '@/components/360View/followUpRecord/formList/invalid.vue' |  |  | import Invalid from '@/components/360View/followUpRecord/formList/invalid.vue' | 
		
	
		
			
				|  |  | import PhoneFollow from '@/components/360View/followUpRecord/formList/phoneFollow.vue' |  |  | import PhoneFollow from '@/components/360View/followUpRecord/formList/phoneFollow.vue' | 
		
	
		
			
				|  |  | import OutFollow from '@/components/360View/followUpRecord/formList/outFollow.vue' |  |  | import OutFollow from '@/components/360View/followUpRecord/formList/outFollow.vue' | 
		
	
	
		
			
				|  | @ -64,7 +63,6 @@ export default { | 
		
	
		
			
				|  |  |     // editFullCaseTemplate, |  |  |     // editFullCaseTemplate, | 
		
	
		
			
				|  |  |     // intelligentFull |  |  |     // intelligentFull | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   mixins: [IntelligentFill], |  |  |  | 
		
	
		
			
				|  |  |   props: { |  |  |   props: { | 
		
	
		
			
				|  |  |     patientIdNumber: { |  |  |     patientIdNumber: { | 
		
	
		
			
				|  |  |       type: String, |  |  |       type: String, | 
		
	
	
		
			
				|  | @ -95,30 +93,8 @@ export default { | 
		
	
		
			
				|  |  |       timeAxisDataVisit: [], // 左侧时间轴数据 |  |  |       timeAxisDataVisit: [], // 左侧时间轴数据 | 
		
	
		
			
				|  |  |       curFormType: '', |  |  |       curFormType: '', | 
		
	
		
			
				|  |  |       followRecordVisible: false, |  |  |       followRecordVisible: false, | 
		
	
		
			
				|  |  |       // crfVisible: false, |  |  |  | 
		
	
		
			
				|  |  |       followUpVisible: false, |  |  |       followUpVisible: false, | 
		
	
		
			
				|  |  |       editFullCaseTemplateVisible: false, |  |  |  | 
		
	
		
			
				|  |  |       intelligentFullVisible: false, |  |  |  | 
		
	
		
			
				|  |  |       jsArr: [], |  |  |  | 
		
	
		
			
				|  |  |       dataForm: {}, |  |  |       dataForm: {}, | 
		
	
		
			
				|  |  |       name: '', |  |  |  | 
		
	
		
			
				|  |  |       formDate: '', |  |  |  | 
		
	
		
			
				|  |  |       callList: [{ |  |  |  | 
		
	
		
			
				|  |  |         date: '2021--4-12 12:53:21', |  |  |  | 
		
	
		
			
				|  |  |         recordFile: '', |  |  |  | 
		
	
		
			
				|  |  |         recordLength: '10:12:12', |  |  |  | 
		
	
		
			
				|  |  |         flag: 1 |  |  |  | 
		
	
		
			
				|  |  |       }, { |  |  |  | 
		
	
		
			
				|  |  |         date: '2021--4-12 13:53:21', |  |  |  | 
		
	
		
			
				|  |  |         recordFile: '', |  |  |  | 
		
	
		
			
				|  |  |         recordLength: '10:12:12', |  |  |  | 
		
	
		
			
				|  |  |         flag: 1 |  |  |  | 
		
	
		
			
				|  |  |       }, { |  |  |  | 
		
	
		
			
				|  |  |         date: '2021--4-12 14:53:21', |  |  |  | 
		
	
		
			
				|  |  |         recordFile: '', |  |  |  | 
		
	
		
			
				|  |  |         recordLength: '10:12:12', |  |  |  | 
		
	
		
			
				|  |  |         flag: 0 |  |  |  | 
		
	
		
			
				|  |  |       }], |  |  |  | 
		
	
		
			
				|  |  |       followFormList: [ |  |  |       followFormList: [ | 
		
	
		
			
				|  |  |         { |  |  |         { | 
		
	
		
			
				|  |  |           id: '1', |  |  |           id: '1', | 
		
	
	
		
			
				|  | @ -156,6 +132,7 @@ export default { | 
		
	
		
			
				|  |  |       } |  |  |       } | 
		
	
		
			
				|  |  |       this.$http.get('/patient/view/getTimeAxisDataVisit', { params }).then(res => { |  |  |       this.$http.get('/patient/view/getTimeAxisDataVisit', { params }).then(res => { | 
		
	
		
			
				|  |  |         this.timeAxisDataVisit = res.data.data |  |  |         this.timeAxisDataVisit = res.data.data | 
		
	
		
			
				|  |  |  |  |  |         this.curFormType = this.timeAxisDataVisit[0].itemList[0].groupName | 
		
	
		
			
				|  |  |         if (add) { |  |  |         if (add) { | 
		
	
		
			
				|  |  |           const index = this.timeAxisDataVisit.findIndex(item => item.date === this.$moment(value.createTime).format('YYYY-MM-DD')) |  |  |           const index = this.timeAxisDataVisit.findIndex(item => item.date === this.$moment(value.createTime).format('YYYY-MM-DD')) | 
		
	
		
			
				|  |  |           this.$refs.timeline.itemCurrentIndex = index || 0 |  |  |           this.$refs.timeline.itemCurrentIndex = index || 0 | 
		
	
	
		
			
				|  | @ -174,7 +151,7 @@ export default { | 
		
	
		
			
				|  |  |           if (Isdate) { |  |  |           if (Isdate) { | 
		
	
		
			
				|  |  |             const itemListIndex = itemListCurrentIndex * 1 === 0 ? 0 : itemListCurrentIndex - 1 |  |  |             const itemListIndex = itemListCurrentIndex * 1 === 0 ? 0 : itemListCurrentIndex - 1 | 
		
	
		
			
				|  |  |             this.$refs.timeline.itemListCurrentIndex = itemListIndex |  |  |             this.$refs.timeline.itemListCurrentIndex = itemListIndex | 
		
	
		
			
				|  |  |             this.dataForm = this.timeAxisDataVisit[itemCurrentIndex].itemList[itemListIndex] |  |  |  | 
		
	
		
			
				|  |  |  |  |  |             this.dataForm = this.timeAxisDataVisit.length && this.timeAxisDataVisit[itemCurrentIndex].itemList[itemListIndex] | 
		
	
		
			
				|  |  |             window.sessionStorage.setItem('itemCurrentIndex', itemCurrentIndex) |  |  |             window.sessionStorage.setItem('itemCurrentIndex', itemCurrentIndex) | 
		
	
		
			
				|  |  |             window.sessionStorage.setItem('itemListIndex', itemListIndex) |  |  |             window.sessionStorage.setItem('itemListIndex', itemListIndex) | 
		
	
		
			
				|  |  |           } else { |  |  |           } else { | 
		
	
	
		
			
				|  | @ -182,7 +159,7 @@ export default { | 
		
	
		
			
				|  |  |             const itemIndex = itemCurrentIndex * 1 === 0 ? 0 : itemCurrentIndex - 1 |  |  |             const itemIndex = itemCurrentIndex * 1 === 0 ? 0 : itemCurrentIndex - 1 | 
		
	
		
			
				|  |  |             this.$refs.timeline.itemCurrentIndex = itemIndex |  |  |             this.$refs.timeline.itemCurrentIndex = itemIndex | 
		
	
		
			
				|  |  |             this.$refs.timeline.itemListCurrentIndex = 0 |  |  |             this.$refs.timeline.itemListCurrentIndex = 0 | 
		
	
		
			
				|  |  |             this.dataForm = this.timeAxisDataVisit[itemIndex].itemList[0] |  |  |  | 
		
	
		
			
				|  |  |  |  |  |             this.dataForm = this.timeAxisDataVisit.length && this.timeAxisDataVisit[itemIndex].itemList[0] | 
		
	
		
			
				|  |  |             window.sessionStorage.setItem('itemCurrentIndex', itemIndex) |  |  |             window.sessionStorage.setItem('itemCurrentIndex', itemIndex) | 
		
	
		
			
				|  |  |             window.sessionStorage.setItem('itemListIndex', 0) |  |  |             window.sessionStorage.setItem('itemListIndex', 0) | 
		
	
		
			
				|  |  |           } |  |  |           } | 
		
	
	
		
			
				|  | 
 |