Selaa lähdekoodia

修复手术问题

xiaochan 2 vuotta sitten
vanhempi
commit
2bef2d551f

+ 8 - 12
src/components/zhu-yuan-yi-sheng/shou-shu-shen-qing/BianJiShouShu.vue

@@ -107,7 +107,7 @@
                             code-name="doctorZd"
                             filterable
                             :table-header="personnel"
-                            :data="props.personnelList"/>
+                            :data="designateASurgeonInChief.length > 0 ? designateASurgeonInChief : props.personnelList"/>
         </el-form-item>
       </el-col>
       <el-col :span="12">
@@ -115,6 +115,7 @@
           <xc-combo-grid-v2 v-model="props.data"
                             code="doctor1" name="doctor1Name"
                             filterable
+                            clearable
                             :table-header="personnel"
                             :data="props.personnelList"/>
         </el-form-item>
@@ -124,6 +125,7 @@
           <xc-combo-grid-v2 v-model="props.data"
                             code-name="doctor2"
                             filterable
+                            clearable
                             :table-header="personnel"
                             :data="props.personnelList"/>
         </el-form-item>
@@ -133,6 +135,7 @@
           <xc-combo-grid-v2 v-model="props.data"
                             code-name="doctor3"
                             filterable
+                            clearable
                             :table-header="personnel"
                             :data="props.personnelList"/>
         </el-form-item>
@@ -142,6 +145,7 @@
           <xc-combo-grid-v2 v-model="props.data"
                             code-name="doctorMz"
                             filterable
+                            clearable
                             :table-header="personnel"
                             :data="props.personnelList"/>
         </el-form-item>
@@ -151,6 +155,7 @@
           <xc-combo-grid-v2 v-model="props.data"
                             code-name="nurseQx"
                             filterable
+                            clearable
                             :table-header="personnel"
                             :data="props.personnelList"/>
         </el-form-item>
@@ -160,6 +165,7 @@
           <xc-combo-grid-v2 v-model="props.data"
                             code-name="nurseXh"
                             filterable
+                            clearable
                             :table-header="personnel"
                             :data="props.personnelList"/>
         </el-form-item>
@@ -227,6 +233,7 @@ const queryOperation = (val) => {
 const selectOpRow = ref({})
 const designateASurgeonInChief = ref([])
 const clickToSelectSurgery = async (val) => {
+  designateASurgeonInChief.value = []
   disabledOpScale.value = false
   selectOpRow.value = val
   let res = await getDoctorByOpCode(val.code)
@@ -245,20 +252,9 @@ const clickToSelectSurgery = async (val) => {
 
 const disabledOpScale = ref(false)
 
-// 手术部位
-const shouShuBuWeiShuJu = ref([])
-
 // 医生信息
 const yiShengShuJu = ref([])
 
-// 搜索手术部位
-const souSuoBuWei = (val) => {
-  huoQuShouShuBuWei(val).then((res) => {
-    shouShuBuWeiShuJu.value = res
-  })
-}
-
-
 const personnel = [
   {label: '编码', prop: 'code', width: 46},
   {label: '名称', prop: 'name', width: 56},

+ 1 - 1
src/views/hospitalization/zhu-yuan-yi-sheng/public-js/zhu-yuan-yi-sheng.ts

@@ -586,7 +586,7 @@ export const mingXi = ref({
  * 点击查询患者信息
  * @param patNo 住院号
  */
-export const clickOnThePatient = async (patNo) => {
+export const clickOnThePatient = async (patNo:string) => {
     switchPatients()
     huanZheXinXi.value = await getPatientInfo(patNo) as any
     if (yzMitt.exists('queryYz')) {