瀏覽代碼

Merge branch 'master' into 淮海科技

lighter 2 月之前
父節點
當前提交
ea0a6d4c75

+ 5 - 0
src/components/search/Index.vue

@@ -106,6 +106,10 @@ const props = defineProps({
     type: String,
     required: true,
   },
+  zyType: {
+    type: String,
+    default: 'B'
+  },
   medType: {
     type: String,
     default: '',
@@ -146,6 +150,7 @@ const params = reactive({
   method: 'alpha',
   target: props.target,
   medType: props.medType,
+  zyType: props.zyType,
   page: 1,
   pageSize: 10,
   content: '',

+ 7 - 2
src/views/hospitalization/case-front-sheet/trdtnl-chns/FillChnsSheet.vue

@@ -755,6 +755,7 @@
                       >
                       </el-button>
                       <el-button
+                          v-if="n > 1"
                           type="danger"
                           circle
                           icon="Delete"
@@ -1979,11 +1980,12 @@
       v-if="showSearch"
       width="500px"
       :target="searchTarget"
+      :zy-type="zyType"
+      :show-emp-dept="searchTarget === 'physician'"
+      :show-yb-code="searchTarget === 'physician'"
       title="数据搜索"
       @close="showSearch = false"
       @click-item="handleSelectSearch"
-      :show-emp-dept="searchTarget === 'physician'"
-      :show-yb-code="searchTarget === 'physician'"
   />
 </template>
 
@@ -2244,6 +2246,8 @@ const showSearchData = flag => {
   }
   showSearch.value = true;
 };
+
+const zyType = ref('B')
 const onSrchTcmDiagFocus = n => {
   if (n > 0 && !patient.value.disdiagList[n - 1].tcmCode) {
     xcMessage.warning("请按顺序填写")
@@ -2252,6 +2256,7 @@ const onSrchTcmDiagFocus = n => {
   searchTarget.value = "tcmDiag";
   searchTargetCode.value = "disdiagTcmCode" + n;
   searchTargetName.value = "disdiagTcmName" + n;
+  zyType.value = n === 1 ? 'Z' : 'B';
   if (!patient.value.disdiagList[n].tcmCode) {
     showSearch.value = true;
   } else {