Browse Source

提交代码

陈少旭 1 year ago
parent
commit
91a6d04404
1 changed files with 39 additions and 9 deletions
  1. 39 9
      src/xt_pages/outpatientCharges/outpatientChargesManagement.vue

+ 39 - 9
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -221,6 +221,15 @@
221 221
                                   type="primary"
222 222
                                 >读电子凭证
223 223
                                 </el-button>
224
+
225
+
226
+                                <el-button
227
+                                  v-if="(hisPatientInfo.balance_accounts_type != 2 && hisPatientInfo.id > 0  && org_id != 10340)"
228
+                                  size="small"
229
+                                  @click="open(55,items.med_type,items.prescriptions[0].order,items.prescriptions)"
230
+                                  type="primary"
231
+                                >人脸识别
232
+                                </el-button>
224 233
 <!--                                <el-button-->
225 234
 <!--                                  v-if="(hisPatientInfo.id_card_type != 3  && hisPatientInfo.balance_accounts_type != 2 && hisPatientInfo.id > 0 &&  items.prescriptions[0].order.id == 0 && org_id == 10480)"-->
226 235
 <!--                                  size="small"-->
@@ -919,13 +928,10 @@
919 928
 
920 929
     <register-dialog ref='register' :doctors="doctors" :departments="department" :sick="sick" :diagnoses="diagnoses"
921 930
                      v-on:confirm="confirm" v-on:cancel="cancel"></register-dialog>
922
-
923 931
     <call-un-association-prescription ref='call_prescription' v-on:call="call" v-on:call-cancel="callCancel"></call-un-association-prescription>
924
-
925 932
     <register-dialog9504 ref='register9504' :doctors="doctors" :departments="department" :sick="sick"
926 933
                          :diagnoses="diagnoses"
927 934
                          v-on:confirm="registerConfirm" v-on:cancel="registerCancel"></register-dialog9504>
928
-
929 935
     <charge-dialog ref='charge' v-on:confirm="chargeConfirm" v-on:cancel="chargeCancel"></charge-dialog>
930 936
     <el-dialog
931 937
       class="centerDialog"
@@ -941,8 +947,6 @@
941 947
       :visible.sync="statementVisible">
942 948
       <statementPrint ref="print" :paramsObj='orderObj'></statementPrint>
943 949
     </el-dialog>
944
-
945
-
946 950
     <el-dialog
947 951
       class="centerDialog"
948 952
       width="1200px"
@@ -951,7 +955,6 @@
951 955
 <!--      <statementPrintT ref="print" :paramsObj='orderObj'></statementPrintT>-->
952 956
       <new-statement-print-three ref="print" :paramsObj='orderObj'></new-statement-print-three>
953 957
     </el-dialog>
954
-
955 958
     <el-dialog
956 959
       class="centerDialog"
957 960
       width="1200px"
@@ -960,8 +963,6 @@
960 963
       <new-statement-print-two :params-obj="newOrderObj"></new-statement-print-two>
961 964
       <!--<newStatementPrint ref="print" :paramsObj='newOrderObj'></newStatementPrint>-->
962 965
     </el-dialog>
963
-
964
-
965 966
     <el-dialog title="输入密码" :visible.sync="pwdFormVisible">
966 967
       <el-form :model="form">
967 968
         <el-form-item label="密码" :label-width="20">
@@ -973,7 +974,6 @@
973 974
         <el-button type="primary" @click="comfirmPWDialog">确 定</el-button>
974 975
       </div>
975 976
     </el-dialog>
976
-
977 977
     <el-dialog
978 978
       class="centerDialog"
979 979
       width="1200px"
@@ -3898,6 +3898,36 @@ export default {
3898 3898
             .catch(function(error) {
3899 3899
             })
3900 3900
         }
3901
+      }else if(index == 55){
3902
+        var that = this
3903
+        let params = {
3904
+          "admin_user_id":this.$store.getters.xt_user.user.id,
3905
+          'his_patient_id': this.hisPatientInfo.id,
3906
+        }
3907
+          axios.get('http://127.0.0.1:9532/api/readelebyface', {
3908
+            params: params
3909
+          })
3910
+            .then(function(response) {
3911
+              if (response.data.state == 0) {
3912
+                that.$message.error(response.data.msg)
3913
+                return false
3914
+              } else {
3915
+                if (response.data.data.failed_code == -10) {
3916
+                  // that.$message.error(response.data.data.msg)
3917
+                  that.$confirm(response.data.data.msg, '医保错误信息', {
3918
+                    confirmButtonText: '确 定',
3919
+                    type: 'warning'
3920
+                  }).then(() => {
3921
+
3922
+                  }).catch(() => {
3923
+                  })
3924
+                }else{
3925
+                  that.$message({ message: response.data.data.msg, type: 'success', duration: 5000 })
3926
+                }
3927
+              }
3928
+            })
3929
+            .catch(function(error) {
3930
+            })
3901 3931
       }
3902 3932
     },
3903 3933
     getName(admin_user_id) {