|  | @ -60,85 +60,90 @@ Vue.component('lasc-cervical-final-diagnosis-entity', {
 | 
	
		
			
				|  |  |   },
 | 
	
		
			
				|  |  |   template: template,
 | 
	
		
			
				|  |  |   mounted() {
 | 
	
		
			
				|  |  |         var form = JSON.parse(JSON.stringify(this.data.value[0]))
 | 
	
		
			
				|  |  |         console.log(form, 'formformform111111111111111')
 | 
	
		
			
				|  |  |         if (!this.readonly) {
 | 
	
		
			
				|  |  |           this.form = {
 | 
	
		
			
				|  |  |             screenId: '', //两癌筛查id
 | 
	
		
			
				|  |  |             finalDiagnosisResult: '', //最后诊断
 | 
	
		
			
				|  |  |             finalDiagnosisAbnormal: [], //最后诊断 - 异常内容
 | 
	
		
			
				|  |  |             finalDiagnosisMalignantTumors: '', //最后诊断 - 异常内容 - 其他恶性肿瘤说明
 | 
	
		
			
				|  |  |             finalDiagnosisOtherAbnormal: '', //最后诊断 - 异常内容 - 其他异常描述
 | 
	
		
			
				|  |  |             finalDiagnosisOrg: '', //检查机构
 | 
	
		
			
				|  |  |             finalDiagnosisUser: '', //检查人员
 | 
	
		
			
				|  |  |             finalDiagnosisTime: '', //检查时间
 | 
	
		
			
				|  |  |     
 | 
	
		
			
				|  |  |             cervicalLesionsFollowStatus: '', //宫颈病变随访情况
 | 
	
		
			
				|  |  |             cervicalLesionsTreatment: '', //宫颈病变接受治疗
 | 
	
		
			
				|  |  |             cervicalLesionsUnbehandeltReason: '', //宫颈病变接受治疗 - 未接收治疗原因
 | 
	
		
			
				|  |  |             cervicalLesionsTreatmentMethod: '', //治疗方法
 | 
	
		
			
				|  |  |             cervicalLesionsTreatmentOther: '', //治疗方法 - 其他
 | 
	
		
			
				|  |  |             followUpOrg: '', //治疗机构
 | 
	
		
			
				|  |  |             followUpTime: '', //治疗日期
 | 
	
		
			
				|  |  |     
 | 
	
		
			
				|  |  |             acceptPathologicalExamination: '', //接受组织病理学检查
 | 
	
		
			
				|  |  |             refusePathologicalExaminationReason: '', //未接受检查的原因
 | 
	
		
			
				|  |  |             refusePathologicalExaminationReasonOther: '', // 未接受检查的其他原因
 | 
	
		
			
				|  |  |             pathologicalExaminationResult: [], //组织病理学检查结果
 | 
	
		
			
				|  |  |             pathologicalExaminationAbnormalOther: '', //组织病理学其他描述
 | 
	
		
			
				|  |  |             pathologicalExaminationOrg: '', // 检查机构
 | 
	
		
			
				|  |  |             pathologicalExaminationUser: '', //检查人员
 | 
	
		
			
				|  |  |             pathologicalExaminationTime: '' //检查时间
 | 
	
		
			
				|  |  |         if(this.data&&this.data.value&&this.data.value.length!=0){
 | 
	
		
			
				|  |  |           var form = JSON.parse(JSON.stringify(this.data.value[0]))
 | 
	
		
			
				|  |  |           console.log(form, 'formformform111111111111111')
 | 
	
		
			
				|  |  |           if (!this.readonly) {
 | 
	
		
			
				|  |  |             this.form = {
 | 
	
		
			
				|  |  |               screenId: '', //两癌筛查id
 | 
	
		
			
				|  |  |               finalDiagnosisResult: '', //最后诊断
 | 
	
		
			
				|  |  |               finalDiagnosisAbnormal: [], //最后诊断 - 异常内容
 | 
	
		
			
				|  |  |               finalDiagnosisMalignantTumors: '', //最后诊断 - 异常内容 - 其他恶性肿瘤说明
 | 
	
		
			
				|  |  |               finalDiagnosisOtherAbnormal: '', //最后诊断 - 异常内容 - 其他异常描述
 | 
	
		
			
				|  |  |               finalDiagnosisOrg: '', //检查机构
 | 
	
		
			
				|  |  |               finalDiagnosisUser: '', //检查人员
 | 
	
		
			
				|  |  |               finalDiagnosisTime: '', //检查时间
 | 
	
		
			
				|  |  |       
 | 
	
		
			
				|  |  |               cervicalLesionsFollowStatus: '', //宫颈病变随访情况
 | 
	
		
			
				|  |  |               cervicalLesionsTreatment: '', //宫颈病变接受治疗
 | 
	
		
			
				|  |  |               cervicalLesionsUnbehandeltReason: '', //宫颈病变接受治疗 - 未接收治疗原因
 | 
	
		
			
				|  |  |               cervicalLesionsTreatmentMethod: '', //治疗方法
 | 
	
		
			
				|  |  |               cervicalLesionsTreatmentOther: '', //治疗方法 - 其他
 | 
	
		
			
				|  |  |               followUpOrg: '', //治疗机构
 | 
	
		
			
				|  |  |               followUpTime: '', //治疗日期
 | 
	
		
			
				|  |  |       
 | 
	
		
			
				|  |  |               acceptPathologicalExamination: '', //接受组织病理学检查
 | 
	
		
			
				|  |  |               refusePathologicalExaminationReason: '', //未接受检查的原因
 | 
	
		
			
				|  |  |               refusePathologicalExaminationReasonOther: '', // 未接受检查的其他原因
 | 
	
		
			
				|  |  |               pathologicalExaminationResult: [], //组织病理学检查结果
 | 
	
		
			
				|  |  |               pathologicalExaminationAbnormalOther: '', //组织病理学其他描述
 | 
	
		
			
				|  |  |               pathologicalExaminationOrg: '', // 检查机构
 | 
	
		
			
				|  |  |               pathologicalExaminationUser: '', //检查人员
 | 
	
		
			
				|  |  |               pathologicalExaminationTime: '' //检查时间
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |           } else {
 | 
	
		
			
				|  |  |             console.log(form, 'formformform')
 | 
	
		
			
				|  |  |             form.finalDiagnosisAbnormal = (form.finalDiagnosisAbnormal && form.finalDiagnosisAbnormal.split(',')) || []
 | 
	
		
			
				|  |  |             form.pathologicalExaminationResult = (form.pathologicalExaminationResult && form.pathologicalExaminationResult.split(',')) || []
 | 
	
		
			
				|  |  |             this.form = _.assign(this.form, form)
 | 
	
		
			
				|  |  |             this.form.screenId = this.data.screenId
 | 
	
		
			
				|  |  |             console.log('1111111111111111',this.form)
 | 
	
		
			
				|  |  |           }
 | 
	
		
			
				|  |  |         } else {
 | 
	
		
			
				|  |  |           console.log(form, 'formformform')
 | 
	
		
			
				|  |  |           form.finalDiagnosisAbnormal = (form.finalDiagnosisAbnormal && form.finalDiagnosisAbnormal.split(',')) || []
 | 
	
		
			
				|  |  |           form.pathologicalExaminationResult = (form.pathologicalExaminationResult && form.pathologicalExaminationResult.split(',')) || []
 | 
	
		
			
				|  |  |           this.form = _.assign(this.form, form)
 | 
	
		
			
				|  |  |           this.form.screenId = this.data.screenId
 | 
	
		
			
				|  |  |           console.log('1111111111111111',this.form)
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         
 | 
	
		
			
				|  |  |   },
 | 
	
		
			
				|  |  |   watch:{
 | 
	
		
			
				|  |  |     'data':{
 | 
	
		
			
				|  |  |       handler(newVal,oldVal){
 | 
	
		
			
				|  |  |         var form = JSON.parse(JSON.stringify(this.data.value))
 | 
	
		
			
				|  |  |         console.log(form, 'formformform111111111111111')
 | 
	
		
			
				|  |  |         if (!this.readonly) {
 | 
	
		
			
				|  |  |           this.form = {
 | 
	
		
			
				|  |  |             screenId: '', //两癌筛查id
 | 
	
		
			
				|  |  |             finalDiagnosisResult: '', //最后诊断
 | 
	
		
			
				|  |  |             finalDiagnosisAbnormal: [], //最后诊断 - 异常内容
 | 
	
		
			
				|  |  |             finalDiagnosisMalignantTumors: '', //最后诊断 - 异常内容 - 其他恶性肿瘤说明
 | 
	
		
			
				|  |  |             finalDiagnosisOtherAbnormal: '', //最后诊断 - 异常内容 - 其他异常描述
 | 
	
		
			
				|  |  |             finalDiagnosisOrg: '', //检查机构
 | 
	
		
			
				|  |  |             finalDiagnosisUser: '', //检查人员
 | 
	
		
			
				|  |  |             finalDiagnosisTime: '', //检查时间
 | 
	
		
			
				|  |  |     
 | 
	
		
			
				|  |  |             cervicalLesionsFollowStatus: '', //宫颈病变随访情况
 | 
	
		
			
				|  |  |             cervicalLesionsTreatment: '', //宫颈病变接受治疗
 | 
	
		
			
				|  |  |             cervicalLesionsUnbehandeltReason: '', //宫颈病变接受治疗 - 未接收治疗原因
 | 
	
		
			
				|  |  |             cervicalLesionsTreatmentMethod: '', //治疗方法
 | 
	
		
			
				|  |  |             cervicalLesionsTreatmentOther: '', //治疗方法 - 其他
 | 
	
		
			
				|  |  |             followUpOrg: '', //治疗机构
 | 
	
		
			
				|  |  |             followUpTime: '', //治疗日期
 | 
	
		
			
				|  |  |     
 | 
	
		
			
				|  |  |             acceptPathologicalExamination: '', //接受组织病理学检查
 | 
	
		
			
				|  |  |             refusePathologicalExaminationReason: '', //未接受检查的原因
 | 
	
		
			
				|  |  |             refusePathologicalExaminationReasonOther: '', // 未接受检查的其他原因
 | 
	
		
			
				|  |  |             pathologicalExaminationResult: [], //组织病理学检查结果
 | 
	
		
			
				|  |  |             pathologicalExaminationAbnormalOther: '', //组织病理学其他描述
 | 
	
		
			
				|  |  |             pathologicalExaminationOrg: '', // 检查机构
 | 
	
		
			
				|  |  |             pathologicalExaminationUser: '', //检查人员
 | 
	
		
			
				|  |  |             pathologicalExaminationTime: '' //检查时间
 | 
	
		
			
				|  |  |         if(this.data&&this.data.value&&this.data.value.length!=0){
 | 
	
		
			
				|  |  |           var form = JSON.parse(JSON.stringify(this.data.value[0]))
 | 
	
		
			
				|  |  |           console.log(form, 'formformform111111111111111')
 | 
	
		
			
				|  |  |           if (!this.readonly) {
 | 
	
		
			
				|  |  |             this.form = {
 | 
	
		
			
				|  |  |               screenId: '', //两癌筛查id
 | 
	
		
			
				|  |  |               finalDiagnosisResult: '', //最后诊断
 | 
	
		
			
				|  |  |               finalDiagnosisAbnormal: [], //最后诊断 - 异常内容
 | 
	
		
			
				|  |  |               finalDiagnosisMalignantTumors: '', //最后诊断 - 异常内容 - 其他恶性肿瘤说明
 | 
	
		
			
				|  |  |               finalDiagnosisOtherAbnormal: '', //最后诊断 - 异常内容 - 其他异常描述
 | 
	
		
			
				|  |  |               finalDiagnosisOrg: '', //检查机构
 | 
	
		
			
				|  |  |               finalDiagnosisUser: '', //检查人员
 | 
	
		
			
				|  |  |               finalDiagnosisTime: '', //检查时间
 | 
	
		
			
				|  |  |       
 | 
	
		
			
				|  |  |               cervicalLesionsFollowStatus: '', //宫颈病变随访情况
 | 
	
		
			
				|  |  |               cervicalLesionsTreatment: '', //宫颈病变接受治疗
 | 
	
		
			
				|  |  |               cervicalLesionsUnbehandeltReason: '', //宫颈病变接受治疗 - 未接收治疗原因
 | 
	
		
			
				|  |  |               cervicalLesionsTreatmentMethod: '', //治疗方法
 | 
	
		
			
				|  |  |               cervicalLesionsTreatmentOther: '', //治疗方法 - 其他
 | 
	
		
			
				|  |  |               followUpOrg: '', //治疗机构
 | 
	
		
			
				|  |  |               followUpTime: '', //治疗日期
 | 
	
		
			
				|  |  |       
 | 
	
		
			
				|  |  |               acceptPathologicalExamination: '', //接受组织病理学检查
 | 
	
		
			
				|  |  |               refusePathologicalExaminationReason: '', //未接受检查的原因
 | 
	
		
			
				|  |  |               refusePathologicalExaminationReasonOther: '', // 未接受检查的其他原因
 | 
	
		
			
				|  |  |               pathologicalExaminationResult: [], //组织病理学检查结果
 | 
	
		
			
				|  |  |               pathologicalExaminationAbnormalOther: '', //组织病理学其他描述
 | 
	
		
			
				|  |  |               pathologicalExaminationOrg: '', // 检查机构
 | 
	
		
			
				|  |  |               pathologicalExaminationUser: '', //检查人员
 | 
	
		
			
				|  |  |               pathologicalExaminationTime: '' //检查时间
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |           } else {
 | 
	
		
			
				|  |  |             console.log(form, 'formformform')
 | 
	
		
			
				|  |  |             form.finalDiagnosisAbnormal = (form.finalDiagnosisAbnormal && form.finalDiagnosisAbnormal.split(',')) || []
 | 
	
		
			
				|  |  |             form.pathologicalExaminationResult = (form.pathologicalExaminationResult && form.pathologicalExaminationResult.split(',')) || []
 | 
	
		
			
				|  |  |             this.form = _.assign(this.form, form)
 | 
	
		
			
				|  |  |             this.form.screenId = this.data.screenId
 | 
	
		
			
				|  |  |             console.log('1111111111111111',this.form)
 | 
	
		
			
				|  |  |           }
 | 
	
		
			
				|  |  |         } else {
 | 
	
		
			
				|  |  |           console.log(form, 'formformform')
 | 
	
		
			
				|  |  |           form.finalDiagnosisAbnormal = (form.finalDiagnosisAbnormal && form.finalDiagnosisAbnormal.split(',')) || []
 | 
	
		
			
				|  |  |           form.pathologicalExaminationResult = (form.pathologicalExaminationResult && form.pathologicalExaminationResult.split(',')) || []
 | 
	
		
			
				|  |  |           this.form = _.assign(this.form, form)
 | 
	
		
			
				|  |  |           this.form.screenId = this.data.screenId
 | 
	
		
			
				|  |  |           console.log('1111111111111111',this.form)
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |       },
 | 
	
		
			
				|  |  |       deep:true
 |