|  | @ -35,16 +35,33 @@ | 
		
	
		
			
				|  |  |           诊断:<el-input v-model="confirmData.diagnose" style="flex: 1" /> |  |  |           诊断:<el-input v-model="confirmData.diagnose" style="flex: 1" /> | 
		
	
		
			
				|  |  |         </div> |  |  |         </div> | 
		
	
		
			
				|  |  |         <div class="flex" style="margin: 8px 0"> |  |  |         <div class="flex" style="margin: 8px 0"> | 
		
	
		
			
				|  |  |           手术名称: |  |  |  | 
		
	
		
			
				|  |  |           <el-select v-model="confirmData.operationName" style="flex: 1" clearable placeholder=""> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |           眼别: | 
		
	
		
			
				|  |  |  |  |  |           <el-select | 
		
	
		
			
				|  |  |  |  |  |             v-model="confirmData.eyeType" | 
		
	
		
			
				|  |  |  |  |  |             filterable | 
		
	
		
			
				|  |  |  |  |  |             allow-create | 
		
	
		
			
				|  |  |  |  |  |             placeholder="" | 
		
	
		
			
				|  |  |  |  |  |             style="flex: 1" | 
		
	
		
			
				|  |  |  |  |  |           > | 
		
	
		
			
				|  |  |             <el-option |  |  |             <el-option | 
		
	
		
			
				|  |  |               v-for="item in types" |  |  |  | 
		
	
		
			
				|  |  |               :key="item.id" |  |  |  | 
		
	
		
			
				|  |  |  |  |  |               v-for="item in options" | 
		
	
		
			
				|  |  |  |  |  |               :key="item.value" | 
		
	
		
			
				|  |  |               :label="item.label" |  |  |               :label="item.label" | 
		
	
		
			
				|  |  |               :value="item.value" |  |  |               :value="item.value" | 
		
	
		
			
				|  |  |             /> |  |  |             /> | 
		
	
		
			
				|  |  |           </el-select> |  |  |           </el-select> | 
		
	
		
			
				|  |  |         </div> |  |  |         </div> | 
		
	
		
			
				|  |  |  |  |  |         <div class="flex" style="margin: 8px 0"> | 
		
	
		
			
				|  |  |  |  |  |           手术名称: | 
		
	
		
			
				|  |  |  |  |  |           <el-select v-model="confirmData.operationName" style="flex: 1" filterable allow-create clearable placeholder=""> | 
		
	
		
			
				|  |  |  |  |  |             <el-option | 
		
	
		
			
				|  |  |  |  |  |               v-for="item in types" | 
		
	
		
			
				|  |  |  |  |  |               :key="item.name" | 
		
	
		
			
				|  |  |  |  |  |               :label="item.value" | 
		
	
		
			
				|  |  |  |  |  |               :value="item.name" | 
		
	
		
			
				|  |  |  |  |  |             /> | 
		
	
		
			
				|  |  |  |  |  |           </el-select> | 
		
	
		
			
				|  |  |  |  |  |         </div> | 
		
	
		
			
				|  |  |         <div class="flex"> |  |  |         <div class="flex"> | 
		
	
		
			
				|  |  |           麻醉方式:<el-input v-model="confirmData.narcotism" style="flex: 1" /> |  |  |           麻醉方式:<el-input v-model="confirmData.narcotism" style="flex: 1" /> | 
		
	
		
			
				|  |  |         </div> |  |  |         </div> | 
		
	
	
		
			
				|  | @ -76,12 +93,12 @@ | 
		
	
		
			
				|  |  |       </div> |  |  |       </div> | 
		
	
		
			
				|  |  |       <div> |  |  |       <div> | 
		
	
		
			
				|  |  |         在向患方说明各治疗方案并告知利弊后,患方基于当前病情需要,经慎重考虑,自愿选择 |  |  |         在向患方说明各治疗方案并告知利弊后,患方基于当前病情需要,经慎重考虑,自愿选择 | 
		
	
		
			
				|  |  |         <el-select v-model="confirmData.treatOperate" style="width: 200px" clearable placeholder=""> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         <el-select v-model="confirmData.treatOperate" style="width: 260px" filterable allow-create clearable placeholder=""> | 
		
	
		
			
				|  |  |           <el-option |  |  |           <el-option | 
		
	
		
			
				|  |  |             v-for="item in types" |  |  |             v-for="item in types" | 
		
	
		
			
				|  |  |             :key="item.id" |  |  |  | 
		
	
		
			
				|  |  |             :label="item.label" |  |  |  | 
		
	
		
			
				|  |  |             :value="item.value" |  |  |  | 
		
	
		
			
				|  |  |  |  |  |             :key="item.name" | 
		
	
		
			
				|  |  |  |  |  |             :label="item.value" | 
		
	
		
			
				|  |  |  |  |  |             :value="item.name" | 
		
	
		
			
				|  |  |           /> |  |  |           /> | 
		
	
		
			
				|  |  |         </el-select>手术。 |  |  |         </el-select>手术。 | 
		
	
		
			
				|  |  |       </div> |  |  |       </div> | 
		
	
	
		
			
				|  | @ -166,6 +183,8 @@ | 
		
	
		
			
				|  |  | </template> |  |  | </template> | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  | <script> |  |  | <script> | 
		
	
		
			
				|  |  |  |  |  | import emptySign from '@static/js/emptySign' | 
		
	
		
			
				|  |  |  |  |  | 
 | 
		
	
		
			
				|  |  | export default { |  |  | export default { | 
		
	
		
			
				|  |  |   name: 'StyeForm', |  |  |   name: 'StyeForm', | 
		
	
		
			
				|  |  |   props: { |  |  |   props: { | 
		
	
	
		
			
				|  | @ -187,28 +206,17 @@ export default { | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   data() { |  |  |   data() { | 
		
	
		
			
				|  |  |     return { |  |  |     return { | 
		
	
		
			
				|  |  |       types: [ |  |  |  | 
		
	
		
			
				|  |  |         { |  |  |  | 
		
	
		
			
				|  |  |           label: '麦粒肿切除术', |  |  |  | 
		
	
		
			
				|  |  |           value: 1, |  |  |  | 
		
	
		
			
				|  |  |           id: '11' |  |  |  | 
		
	
		
			
				|  |  |         }, |  |  |  | 
		
	
		
			
				|  |  |         { |  |  |  | 
		
	
		
			
				|  |  |           label: '霰粒肿切除术', |  |  |  | 
		
	
		
			
				|  |  |           value: 2, |  |  |  | 
		
	
		
			
				|  |  |           id: '22' |  |  |  | 
		
	
		
			
				|  |  |         }, |  |  |  | 
		
	
		
			
				|  |  |         { |  |  |  | 
		
	
		
			
				|  |  |           label: '肉芽肿切除术', |  |  |  | 
		
	
		
			
				|  |  |           value: 3, |  |  |  | 
		
	
		
			
				|  |  |           id: '33' |  |  |  | 
		
	
		
			
				|  |  |         }, |  |  |  | 
		
	
		
			
				|  |  |         { |  |  |  | 
		
	
		
			
				|  |  |           label: '眼睑肿物切除术', |  |  |  | 
		
	
		
			
				|  |  |           value: 4, |  |  |  | 
		
	
		
			
				|  |  |           id: '44' |  |  |  | 
		
	
		
			
				|  |  |         } |  |  |  | 
		
	
		
			
				|  |  |       ], |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       options: [{ | 
		
	
		
			
				|  |  |  |  |  |         value: 'OD', | 
		
	
		
			
				|  |  |  |  |  |         label: 'OD' | 
		
	
		
			
				|  |  |  |  |  |       }, { | 
		
	
		
			
				|  |  |  |  |  |         value: 'OS', | 
		
	
		
			
				|  |  |  |  |  |         label: 'OS' | 
		
	
		
			
				|  |  |  |  |  |       }, { | 
		
	
		
			
				|  |  |  |  |  |         value: 'OU', | 
		
	
		
			
				|  |  |  |  |  |         label: 'OU' | 
		
	
		
			
				|  |  |  |  |  |       }], | 
		
	
		
			
				|  |  |  |  |  |       types: [], | 
		
	
		
			
				|  |  |       content: [ |  |  |       content: [ | 
		
	
		
			
				|  |  |         '1.麻醉意外,极少数人对麻醉药物过敏,引起药物反应。', |  |  |         '1.麻醉意外,极少数人对麻醉药物过敏,引起药物反应。', | 
		
	
		
			
				|  |  |         '2.手术操作过程中难以避免的组织或器官损伤:如结膜、角膜、肌肉、神经、血管、邻近器官等,并导致其他并发症的发生。', |  |  |         '2.手术操作过程中难以避免的组织或器官损伤:如结膜、角膜、肌肉、神经、血管、邻近器官等,并导致其他并发症的发生。', | 
		
	
	
		
			
				|  | @ -252,6 +260,7 @@ export default { | 
		
	
		
			
				|  |  |             isSelect: false |  |  |             isSelect: false | 
		
	
		
			
				|  |  |           } |  |  |           } | 
		
	
		
			
				|  |  |         ], |  |  |         ], | 
		
	
		
			
				|  |  |  |  |  |         eyeType: '', | 
		
	
		
			
				|  |  |         diagnose: '', |  |  |         diagnose: '', | 
		
	
		
			
				|  |  |         operationName: '', |  |  |         operationName: '', | 
		
	
		
			
				|  |  |         narcotism: '局部浸润麻醉', |  |  |         narcotism: '局部浸润麻醉', | 
		
	
	
		
			
				|  | @ -290,6 +299,11 @@ export default { | 
		
	
		
			
				|  |  |     signClick(index) { |  |  |     signClick(index) { | 
		
	
		
			
				|  |  |       this.$store.commit('beginSign', index) |  |  |       this.$store.commit('beginSign', index) | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |  |  |  |     queryOperations() { | 
		
	
		
			
				|  |  |  |  |  |       this.$http.get('mzbl/getMlzZyzqtysProject').then(data => { | 
		
	
		
			
				|  |  |  |  |  |         this.types = data.data.data | 
		
	
		
			
				|  |  |  |  |  |       }) | 
		
	
		
			
				|  |  |  |  |  |     }, | 
		
	
		
			
				|  |  |     queryDiagnostic() { |  |  |     queryDiagnostic() { | 
		
	
		
			
				|  |  |       this.$http.get('/mzbl/getLastDiagnostic', { params: { |  |  |       this.$http.get('/mzbl/getLastDiagnostic', { params: { | 
		
	
		
			
				|  |  |         patientId: this.patientDetail.patientId |  |  |         patientId: this.patientDetail.patientId | 
		
	
	
		
			
				|  | @ -303,6 +317,10 @@ export default { | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     // 保存 |  |  |     // 保存 | 
		
	
		
			
				|  |  |     handleSaveTable() { |  |  |     handleSaveTable() { | 
		
	
		
			
				|  |  |  |  |  |       if (this.minorPatientSign === emptySign || this.minorKinSign === emptySign) { | 
		
	
		
			
				|  |  |  |  |  |         this.$message.error('签字未成功请重新签字后再保存') | 
		
	
		
			
				|  |  |  |  |  |         return | 
		
	
		
			
				|  |  |  |  |  |       } | 
		
	
		
			
				|  |  |       this.confirmData.patientSign = this.minorPatientSign |  |  |       this.confirmData.patientSign = this.minorPatientSign | 
		
	
		
			
				|  |  |       this.confirmData.familySign = this.minorKinSign |  |  |       this.confirmData.familySign = this.minorKinSign | 
		
	
		
			
				|  |  |       const data = JSON.stringify(this.confirmData) |  |  |       const data = JSON.stringify(this.confirmData) | 
		
	
	
		
			
				|  | @ -313,6 +331,7 @@ export default { | 
		
	
		
			
				|  |  |       this.$http.get('/case/getCaseById', { params: { |  |  |       this.$http.get('/case/getCaseById', { params: { | 
		
	
		
			
				|  |  |         id: this.caseId |  |  |         id: this.caseId | 
		
	
		
			
				|  |  |       }}).then(data => { |  |  |       }}).then(data => { | 
		
	
		
			
				|  |  |  |  |  |         this.queryOperations() | 
		
	
		
			
				|  |  |         const detail = data.data.data |  |  |         const detail = data.data.data | 
		
	
		
			
				|  |  |         if (detail.jsonText) { |  |  |         if (detail.jsonText) { | 
		
	
		
			
				|  |  |           this.confirmData = JSON.parse(detail.jsonText) |  |  |           this.confirmData = JSON.parse(detail.jsonText) | 
		
	
	
		
			
				|  | 
 |