|  | @ -65,10 +65,10 @@ | 
		
	
		
			
				|  |  |             </tr> |  |  |             </tr> | 
		
	
		
			
				|  |  |             <tr> |  |  |             <tr> | 
		
	
		
			
				|  |  |               <td> |  |  |               <td> | 
		
	
		
			
				|  |  |                 <el-input v-model="confirmData.zlqSlOd" style="flex: 1" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |                 <el-input v-model="confirmData.zlqSl" style="flex: 1" /> | 
		
	
		
			
				|  |  |               </td> |  |  |               </td> | 
		
	
		
			
				|  |  |               <td> |  |  |               <td> | 
		
	
		
			
				|  |  |                 <el-input v-model="confirmData.zlqJbfqOd" style="flex: 1" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |                 <el-input v-model="confirmData.zlqJbfq" style="flex: 1" /> | 
		
	
		
			
				|  |  |               </td> |  |  |               </td> | 
		
	
		
			
				|  |  |             </tr> |  |  |             </tr> | 
		
	
		
			
				|  |  |           </tbody> |  |  |           </tbody> | 
		
	
	
		
			
				|  | @ -86,7 +86,7 @@ | 
		
	
		
			
				|  |  |                 次数 |  |  |                 次数 | 
		
	
		
			
				|  |  |               </td> |  |  |               </td> | 
		
	
		
			
				|  |  |               <td> |  |  |               <td> | 
		
	
		
			
				|  |  |                 <el-input v-model="treatData.order" style="flex: 1" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |                 <el-input v-model="confirmData.jgzlCount" style="flex: 1" /> | 
		
	
		
			
				|  |  |               </td> |  |  |               </td> | 
		
	
		
			
				|  |  |             </tr> |  |  |             </tr> | 
		
	
		
			
				|  |  |             <tr> |  |  |             <tr> | 
		
	
	
		
			
				|  | @ -94,7 +94,7 @@ | 
		
	
		
			
				|  |  |                 曝光时间 |  |  |                 曝光时间 | 
		
	
		
			
				|  |  |               </td> |  |  |               </td> | 
		
	
		
			
				|  |  |               <td> |  |  |               <td> | 
		
	
		
			
				|  |  |                 <el-input v-model="treatData.vision" style="flex: 1" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |                 <el-input v-model="confirmData.jgzlBgsj" style="flex: 1" /> | 
		
	
		
			
				|  |  |               </td> |  |  |               </td> | 
		
	
		
			
				|  |  |             </tr> |  |  |             </tr> | 
		
	
		
			
				|  |  |             <tr> |  |  |             <tr> | 
		
	
	
		
			
				|  | @ -102,7 +102,7 @@ | 
		
	
		
			
				|  |  |                 光斑大小 |  |  |                 光斑大小 | 
		
	
		
			
				|  |  |               </td> |  |  |               </td> | 
		
	
		
			
				|  |  |               <td> |  |  |               <td> | 
		
	
		
			
				|  |  |                 <el-input v-model="treatData.flareSize" style="flex: 1" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |                 <el-input v-model="confirmData.jgzlGb" style="flex: 1" /> | 
		
	
		
			
				|  |  |               </td> |  |  |               </td> | 
		
	
		
			
				|  |  |             </tr> |  |  |             </tr> | 
		
	
		
			
				|  |  |             <tr> |  |  |             <tr> | 
		
	
	
		
			
				|  | @ -110,7 +110,7 @@ | 
		
	
		
			
				|  |  |                 功率 |  |  |                 功率 | 
		
	
		
			
				|  |  |               </td> |  |  |               </td> | 
		
	
		
			
				|  |  |               <td> |  |  |               <td> | 
		
	
		
			
				|  |  |                 <el-input v-model="treatData.power" style="flex: 1" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |                 <el-input v-model="confirmData.jgzlGl" style="flex: 1" /> | 
		
	
		
			
				|  |  |               </td> |  |  |               </td> | 
		
	
		
			
				|  |  |             </tr> |  |  |             </tr> | 
		
	
		
			
				|  |  |             <tr> |  |  |             <tr> | 
		
	
	
		
			
				|  | @ -118,29 +118,29 @@ | 
		
	
		
			
				|  |  |                 点数 |  |  |                 点数 | 
		
	
		
			
				|  |  |               </td> |  |  |               </td> | 
		
	
		
			
				|  |  |               <td> |  |  |               <td> | 
		
	
		
			
				|  |  |                 <el-input v-model="treatData.count" style="flex: 1" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |                 <el-input v-model="confirmData.jgzlDs" style="flex: 1" /> | 
		
	
		
			
				|  |  |               </td> |  |  |               </td> | 
		
	
		
			
				|  |  |             </tr> |  |  |             </tr> | 
		
	
		
			
				|  |  |           </tbody> |  |  |           </tbody> | 
		
	
		
			
				|  |  |         </table> |  |  |         </table> | 
		
	
		
			
				|  |  |         <div class="descImg" @click="editImg()"> |  |  |         <div class="descImg" @click="editImg()"> | 
		
	
		
			
				|  |  |           <div>示意图</div> |  |  |           <div>示意图</div> | 
		
	
		
			
				|  |  |           <img v-if="treatData.imgSrc" :src="treatData.imgSrc"> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |           <img v-if="confirmData.jgzlSyt" :src="confirmData.jgzlSyt"> | 
		
	
		
			
				|  |  |         </div> |  |  |         </div> | 
		
	
		
			
				|  |  |       </div> |  |  |       </div> | 
		
	
		
			
				|  |  |       <div class="flex a-c"> |  |  |       <div class="flex a-c"> | 
		
	
		
			
				|  |  |         <div class="flex a-c item"> |  |  |         <div class="flex a-c item"> | 
		
	
		
			
				|  |  |           <div class="label_width">操作人:</div> |  |  |           <div class="label_width">操作人:</div> | 
		
	
		
			
				|  |  |           <div @click="signClick(9)"> |  |  |           <div @click="signClick(9)"> | 
		
	
		
			
				|  |  |             <img v-if="!guardianSign2" :src="require('@/assets/img/signature.png')" alt=""> |  |  |  | 
		
	
		
			
				|  |  |             <img v-else style="width: 80px;height: 40px;" :src="guardianSign2"> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |             <img v-if="!operator" :src="require('@/assets/img/signature.png')" alt=""> | 
		
	
		
			
				|  |  |  |  |  |             <img v-else style="width: 80px;height: 40px;" :src="operator"> | 
		
	
		
			
				|  |  |           </div> |  |  |           </div> | 
		
	
		
			
				|  |  |           <!--          <el-input v-model="confirmData.operator" style="flex: 1" />--> |  |  |           <!--          <el-input v-model="confirmData.operator" style="flex: 1" />--> | 
		
	
		
			
				|  |  |         </div> |  |  |         </div> | 
		
	
		
			
				|  |  |         <div class="flex a-c item"> |  |  |         <div class="flex a-c item"> | 
		
	
		
			
				|  |  |           <div class="label_width">操作时间:</div> |  |  |           <div class="label_width">操作时间:</div> | 
		
	
		
			
				|  |  |           <el-date-picker |  |  |           <el-date-picker | 
		
	
		
			
				|  |  |             v-model="treatData.date" |  |  |  | 
		
	
		
			
				|  |  |  |  |  |             v-model="confirmData.operateDate" | 
		
	
		
			
				|  |  |             style="flex: 1" |  |  |             style="flex: 1" | 
		
	
		
			
				|  |  |             type="date" |  |  |             type="date" | 
		
	
		
			
				|  |  |             value-format="yyyy-MM-dd" |  |  |             value-format="yyyy-MM-dd" | 
		
	
	
		
			
				|  | @ -190,16 +190,17 @@ export default { | 
		
	
		
			
				|  |  |         idList: [], |  |  |         idList: [], | 
		
	
		
			
				|  |  |         eyeType: '', |  |  |         eyeType: '', | 
		
	
		
			
				|  |  |         // 治疗前 |  |  |         // 治疗前 | 
		
	
		
			
				|  |  |         zlqSlOd: '', |  |  |  | 
		
	
		
			
				|  |  |         zlqJbfqOd: '', |  |  |  | 
		
	
		
			
				|  |  |         // 治疗后 |  |  |  | 
		
	
		
			
				|  |  |         jgzlCountOd1: '', |  |  |  | 
		
	
		
			
				|  |  |         jgzlDsOd1: '', |  |  |  | 
		
	
		
			
				|  |  |         jgzlGbOd1: '', |  |  |  | 
		
	
		
			
				|  |  |         jgzlGlOd1: '', |  |  |  | 
		
	
		
			
				|  |  |         jgzlSlOd1: '', |  |  |  | 
		
	
		
			
				|  |  |         operator: '', |  |  |  | 
		
	
		
			
				|  |  |         operationDate: '' |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         zlqSl: '', | 
		
	
		
			
				|  |  |  |  |  |         zlqJbfq: '', | 
		
	
		
			
				|  |  |  |  |  |         operationDate: '', | 
		
	
		
			
				|  |  |  |  |  |         operateSign: '', | 
		
	
		
			
				|  |  |  |  |  |         operateDate: '', | 
		
	
		
			
				|  |  |  |  |  |         jgzlCount: '', | 
		
	
		
			
				|  |  |  |  |  |         jgzlBgsj: '', | 
		
	
		
			
				|  |  |  |  |  |         jgzlGb: '', | 
		
	
		
			
				|  |  |  |  |  |         jgzlGl: '', | 
		
	
		
			
				|  |  |  |  |  |         jgzlDs: '', | 
		
	
		
			
				|  |  |  |  |  |         jgzlSyt: '' | 
		
	
		
			
				|  |  |       }, |  |  |       }, | 
		
	
		
			
				|  |  |       // 治疗后 |  |  |       // 治疗后 | 
		
	
		
			
				|  |  |       options: [{ |  |  |       options: [{ | 
		
	
	
		
			
				|  | @ -208,26 +209,15 @@ export default { | 
		
	
		
			
				|  |  |       }, { |  |  |       }, { | 
		
	
		
			
				|  |  |         value: 'OS', |  |  |         value: 'OS', | 
		
	
		
			
				|  |  |         label: 'OS' |  |  |         label: 'OS' | 
		
	
		
			
				|  |  |       }], |  |  |  | 
		
	
		
			
				|  |  |       treatData: { |  |  |  | 
		
	
		
			
				|  |  |         date: '', |  |  |  | 
		
	
		
			
				|  |  |         order: '', |  |  |  | 
		
	
		
			
				|  |  |         vision: '', |  |  |  | 
		
	
		
			
				|  |  |         flareSize: '', |  |  |  | 
		
	
		
			
				|  |  |         power: '', |  |  |  | 
		
	
		
			
				|  |  |         count: '', |  |  |  | 
		
	
		
			
				|  |  |         imgSrc: '' |  |  |  | 
		
	
		
			
				|  |  |       } |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       }] | 
		
	
		
			
				|  |  |     } |  |  |     } | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   computed: { |  |  |   computed: { | 
		
	
		
			
				|  |  |     guardianSign2: { |  |  |  | 
		
	
		
			
				|  |  |  |  |  |     operator: { | 
		
	
		
			
				|  |  |       get() { |  |  |       get() { | 
		
	
		
			
				|  |  |         return this.$store.getters.guardianSign2 |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         return this.$store.getters.operator | 
		
	
		
			
				|  |  |       }, |  |  |       }, | 
		
	
		
			
				|  |  |       set(val) { |  |  |  | 
		
	
		
			
				|  |  | 
 |  |  |  | 
		
	
		
			
				|  |  |       } |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       set(val) {} | 
		
	
		
			
				|  |  |     } |  |  |     } | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   watch: { |  |  |   watch: { | 
		
	
	
		
			
				|  | @ -246,18 +236,47 @@ export default { | 
		
	
		
			
				|  |  |     this.confirmData.patientAddress = this.patientDetail.patientAddress |  |  |     this.confirmData.patientAddress = this.patientDetail.patientAddress | 
		
	
		
			
				|  |  |     this.confirmData.patientPhone = this.patientDetail.patientPhone |  |  |     this.confirmData.patientPhone = this.patientDetail.patientPhone | 
		
	
		
			
				|  |  |     this.getConfirmDetail() |  |  |     this.getConfirmDetail() | 
		
	
		
			
				|  |  |  |  |  |     this.queryProject() | 
		
	
		
			
				|  |  |  |  |  |     this.$store.commit('initPlugin') | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   methods: { |  |  |   methods: { | 
		
	
		
			
				|  |  |     signClick(index) { |  |  |     signClick(index) { | 
		
	
		
			
				|  |  |       console.log(index) |  |  |  | 
		
	
		
			
				|  |  |       this.$store.commit('beginSign', index) |  |  |       this.$store.commit('beginSign', index) | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     editImg() { |  |  |     editImg() { | 
		
	
		
			
				|  |  |       this.$refs.imgEditorRef.init() |  |  |       this.$refs.imgEditorRef.init() | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |  |  |  |     // 获取项目id列表 | 
		
	
		
			
				|  |  |  |  |  |     async queryProject() { | 
		
	
		
			
				|  |  |  |  |  |       const project = window.localStorage.getItem('projectItem') ? JSON.parse(window.localStorage.getItem('projectItem')) : [] | 
		
	
		
			
				|  |  |  |  |  |       const { data: res } = await this.$http.get( | 
		
	
		
			
				|  |  |  |  |  |         '/patient/getZlItemDict', | 
		
	
		
			
				|  |  |  |  |  |         { | 
		
	
		
			
				|  |  |  |  |  |           params: { | 
		
	
		
			
				|  |  |  |  |  |             caseName: '眼科激光手术治疗' | 
		
	
		
			
				|  |  |  |  |  |           } | 
		
	
		
			
				|  |  |  |  |  |         } | 
		
	
		
			
				|  |  |  |  |  |       ) | 
		
	
		
			
				|  |  |  |  |  |       if (res.code === 0) { | 
		
	
		
			
				|  |  |  |  |  |         const data = res.data || [] | 
		
	
		
			
				|  |  |  |  |  |         const list = [] | 
		
	
		
			
				|  |  |  |  |  |         if (data.length) { | 
		
	
		
			
				|  |  |  |  |  |           for (let i = 0; i < data.length; i++) { | 
		
	
		
			
				|  |  |  |  |  |             for (let j = 0; j < project.length; j++) { | 
		
	
		
			
				|  |  |  |  |  |               if (data[i].itemId === project[j].porjectCode) { | 
		
	
		
			
				|  |  |  |  |  |                 list.push(project[j].id) | 
		
	
		
			
				|  |  |  |  |  |               } | 
		
	
		
			
				|  |  |  |  |  |             } | 
		
	
		
			
				|  |  |  |  |  |           } | 
		
	
		
			
				|  |  |  |  |  |           this.confirmData.idList = list | 
		
	
		
			
				|  |  |  |  |  |         } | 
		
	
		
			
				|  |  |  |  |  |       } else { | 
		
	
		
			
				|  |  |  |  |  |         this.$message.error(res.msg) | 
		
	
		
			
				|  |  |  |  |  |       } | 
		
	
		
			
				|  |  |  |  |  |     }, | 
		
	
		
			
				|  |  |     fullImgBack(val) { |  |  |     fullImgBack(val) { | 
		
	
		
			
				|  |  |       if (val) { |  |  |       if (val) { | 
		
	
		
			
				|  |  |         this.treatData.imgSrc = val |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         this.confirmData.jgzlSyt = val | 
		
	
		
			
				|  |  |       } |  |  |       } | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     getConfirmDetail() { |  |  |     getConfirmDetail() { | 
		
	
	
		
			
				|  | @ -265,14 +284,8 @@ export default { | 
		
	
		
			
				|  |  |         caseId: this.caseId |  |  |         caseId: this.caseId | 
		
	
		
			
				|  |  |       }}).then(data => { |  |  |       }}).then(data => { | 
		
	
		
			
				|  |  |         const detail = data.data.data |  |  |         const detail = data.data.data | 
		
	
		
			
				|  |  |         this.confirmData.diagnostic = detail.diagnostic || '' |  |  |  | 
		
	
		
			
				|  |  |         // 治疗前 |  |  |  | 
		
	
		
			
				|  |  |         this.confirmData.zlqSlOd = detail.zlqSlOd || '' |  |  |  | 
		
	
		
			
				|  |  |         this.confirmData.zlqJbfqOd = detail.zlqJbfqOd || '' |  |  |  | 
		
	
		
			
				|  |  |         this.confirmData.zlqSytOd = detail.zlqSytOd || '' |  |  |  | 
		
	
		
			
				|  |  |         this.confirmData.zlqSlOs = detail.zlqSlOs || '' |  |  |  | 
		
	
		
			
				|  |  |         this.confirmData.zlqJbfqOs = detail.zlqJbfqOs || '' |  |  |  | 
		
	
		
			
				|  |  |         this.confirmData.zlqSytOs = detail.zlqSytOs || '' |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         this.confirmData = { ...detail } | 
		
	
		
			
				|  |  |  |  |  |         this.$store.commit('operator', detail.operateSign) | 
		
	
		
			
				|  |  |       }) |  |  |       }) | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     // 保存传值处理 |  |  |     // 保存传值处理 | 
		
	
	
		
			
				|  | @ -282,6 +295,7 @@ export default { | 
		
	
		
			
				|  |  |     handleSaveTable() { |  |  |     handleSaveTable() { | 
		
	
		
			
				|  |  |       this.confirmData.jzNumber = window.localStorage.getItem('jzNumber') |  |  |       this.confirmData.jzNumber = window.localStorage.getItem('jzNumber') | 
		
	
		
			
				|  |  |       this.handleConfirmData() |  |  |       this.handleConfirmData() | 
		
	
		
			
				|  |  |  |  |  |       this.confirmData.operateSign = this.operator | 
		
	
		
			
				|  |  |       this.$http.post('/mzbl/saveMzblJgshzl', { |  |  |       this.$http.post('/mzbl/saveMzblJgshzl', { | 
		
	
		
			
				|  |  |         caseId: this.caseId, |  |  |         caseId: this.caseId, | 
		
	
		
			
				|  |  |         ...this.confirmData |  |  |         ...this.confirmData | 
		
	
	
		
			
				|  | 
 |