| 
														
															@@ -49,8 +49,8 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-table-column label="病情描述(主诉)" align="center" prop="chiefComplaint" /> 
														 | 
														
														 | 
														
															       <el-table-column label="病情描述(主诉)" align="center" prop="chiefComplaint" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-table-column label="现病史" align="center" prop="nowIllness" /> 
														 | 
														
														 | 
														
															       <el-table-column label="现病史" align="center" prop="nowIllness" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-table-column label="既往史" align="center" prop="historyIllness" /> 
														 | 
														
														 | 
														
															       <el-table-column label="既往史" align="center" prop="historyIllness" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <!-- <el-table-column label="体重" align="center" prop="weight" /> --> 
														 | 
														
														 | 
														
															       <!-- <el-table-column label="体重" align="center" prop="weight" /> --> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-table-column label="是否有过敏史" align="center" prop="isHistoryAllergic" /> 
														 | 
														
														 | 
														
															       <el-table-column label="是否有过敏史" align="center" prop="isHistoryAllergic" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <!-- <el-table-column label="过敏史" align="center" prop="historyAllergic" /> --> 
														 | 
														
														 | 
														
															       <!-- <el-table-column label="过敏史" align="center" prop="historyAllergic" /> --> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -59,10 +59,10 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-table-column label="是否是备孕/怀孕/哺乳期" align="center" prop="lactationFlag" /> 
														 | 
														
														 | 
														
															       <el-table-column label="是否是备孕/怀孕/哺乳期" align="center" prop="lactationFlag" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-table-column label="复诊凭证" align="center" prop="recordPic" width="120"> 
														 | 
														
														 | 
														
															       <el-table-column label="复诊凭证" align="center" prop="recordPic" width="120"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <template slot-scope="scope"> 
														 | 
														
														 | 
														
															         <template slot-scope="scope"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          <el-image  
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <el-image 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             v-if="scope.row.recordPic!=null" 
														 | 
														
														 | 
														
															             v-if="scope.row.recordPic!=null" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             style="width: 50px; height: 50px" 
														 | 
														
														 | 
														
															             style="width: 50px; height: 50px" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            :src="parsePhoto(scope.row.recordPic)[0]"  
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            :src="parsePhoto(scope.row.recordPic)[0]" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             :preview-src-list="parsePhoto(scope.row.recordPic)"> 
														 | 
														
														 | 
														
															             :preview-src-list="parsePhoto(scope.row.recordPic)"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           </el-image> 
														 | 
														
														 | 
														
															           </el-image> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </template> 
														 | 
														
														 | 
														
															         </template> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -100,11 +100,19 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             @click="handleShowOrder(scope.row)" 
														 | 
														
														 | 
														
															             @click="handleShowOrder(scope.row)" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             v-hasPermi="['store:prescribe:showOrder']" 
														 | 
														
														 | 
														
															             v-hasPermi="['store:prescribe:showOrder']" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           >查看订单</el-button> 
														 | 
														
														 | 
														
															           >查看订单</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-         
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <el-button 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            size="mini" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            type="text" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            @click="handleDoctorDeal(scope.row)" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            v-hasPermi="['store:prescribe:showOrder']" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            v-if="scope.row.status === 0"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            医生开方 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          </el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </template> 
														 | 
														
														 | 
														
															         </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </el-table-column> 
														 | 
														
														 | 
														
															       </el-table-column> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </el-table> 
														 | 
														
														 | 
														
															     </el-table> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-     
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <pagination 
														 | 
														
														 | 
														
															     <pagination 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       v-show="total>0" 
														 | 
														
														 | 
														
															       v-show="total>0" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       :total="total" 
														 | 
														
														 | 
														
															       :total="total" 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -112,9 +120,27 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       :limit.sync="queryParams.pageSize" 
														 | 
														
														 | 
														
															       :limit.sync="queryParams.pageSize" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       @pagination="getList" 
														 | 
														
														 | 
														
															       @pagination="getList" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /> 
														 | 
														
														 | 
														
															     /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    <el-dialog :title="show.title" v-if="show.open" :visible.sync="show.open" width="1000px" append-to-body> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    <el-dialog :title="show.title" v-if="show.open" :visible.sync="show.open" width="1200px" append-to-body> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <product-order  ref="order" /> 
														 | 
														
														 | 
														
															         <product-order  ref="order" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </el-dialog> 
														 | 
														
														 | 
														
															     </el-dialog> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    <el-dialog title="医生开方" v-if="show.doctorOpen" :visible.sync="show.doctorOpen" width="1000px" append-to-body> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <el-form :model="editForm" ref="editForm" :rules="editRules"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <el-form-item label="主诉" prop="chiefComplaint" required> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <el-input type="textarea" v-model="editForm.chiefComplaint"></el-input> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </el-form-item> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <el-form-item label="诊断" prop="diagnose" required> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <el-input type="textarea" v-model="editForm.diagnose"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          </el-input> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </el-form-item> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      </el-form> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <div slot="footer" class="dialog-footer"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <el-button type="primary" @click="handleDoctorUpdate">确 定</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <el-button type="danger" @click="handleDoctorUpdate">拒 绝</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <el-button @click="handleDoctorDealCancel">取 消</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    </el-dialog> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   </div> 
														 | 
														
														 | 
														
															   </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </template> 
														 | 
														
														 | 
														
															 </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -129,8 +155,21 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     return { 
														 | 
														
														 | 
														
															     return { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       show:{ 
														 | 
														
														 | 
														
															       show:{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         open:false, 
														 | 
														
														 | 
														
															         open:false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        doctorOpen: false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         title:"订单详情" 
														 | 
														
														 | 
														
															         title:"订单详情" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }, 
														 | 
														
														 | 
														
															       }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      editForm: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        chiefComplaint: '', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        diagnose: '' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      editRules: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        chiefComplaint: [ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          { required: true, message: "请输入主述", trigger: "blur" } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        diagnose: [ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          { required: true, message: "请输入诊断意见", trigger: "blur" } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       prescribeStatusOptions:[], 
														 | 
														
														 | 
														
															       prescribeStatusOptions:[], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       // 遮罩层 
														 | 
														
														 | 
														
															       // 遮罩层 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       loading: true, 
														 | 
														
														 | 
														
															       loading: true, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -196,6 +235,17 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     this.getList(); 
														 | 
														
														 | 
														
															     this.getList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   methods: { 
														 | 
														
														 | 
														
															   methods: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    handleDoctorDeal(row){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.show.doctorOpen = true; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      const prescribeId = row.prescribeId || this.ids 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      getPrescribe(prescribeId).then(response => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.form = response.data; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.editForm.chiefComplaint = this.form.chiefComplaint; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.editForm.diagnose = this.form.diagnose; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.open = true; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.title = "修改处方"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     handleShowOrder(row){ 
														 | 
														
														 | 
														
															     handleShowOrder(row){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.show.open=true; 
														 | 
														
														 | 
														
															       this.show.open=true; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       const orderId = row.orderId ; 
														 | 
														
														 | 
														
															       const orderId = row.orderId ; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -284,6 +334,26 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.title = "修改处方"; 
														 | 
														
														 | 
														
															         this.title = "修改处方"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }); 
														 | 
														
														 | 
														
															       }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    handleDoctorDealCancel(){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.editForm.chiefComplaint = null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.editForm.diagnose = null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.show.doctorOpen = false; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    handleDoctorUpdate(){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.$refs['editForm'].validate(valid => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if(valid) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          let updateData = {...this.form,chiefComplaint: this.editForm.chiefComplaint,diagnose: this.editForm.diagnose} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          updatePrescribe(updateData).then(response => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (response.code === 200) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              this.msgSuccess("修改成功"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              this.show.doctorOpen = false; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              this.getList(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              this.form = {}; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 提交按钮 */ 
														 | 
														
														 | 
														
															     /** 提交按钮 */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     submitForm() { 
														 | 
														
														 | 
														
															     submitForm() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.$refs["form"].validate(valid => { 
														 | 
														
														 | 
														
															       this.$refs["form"].validate(valid => { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -338,5 +408,4 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 }; 
														 | 
														
														 | 
														
															 }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </script> 
														 | 
														
														 | 
														
															 </script> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-   
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 |