diff --git a/src/components/SearchInput.vue b/src/components/SearchInput.vue index 53a2bed..034a0e1 100644 --- a/src/components/SearchInput.vue +++ b/src/components/SearchInput.vue @@ -15,7 +15,7 @@ > - +
-
- 一键建档 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
已关联({{ idCodeList ? idCodeList.length : 0 }})
- -
-
-
- - - -
-
- {{ item }} -
- - - -
-
- - -
-
- - - - - - - - -
-
-
- - - - - - - - - - - - - - - diff --git a/src/components/outpatient/DiagnosisSearchInput.vue b/src/components/outpatient/DiagnosisSearchInput.vue index 0696783..c69d915 100644 --- a/src/components/outpatient/DiagnosisSearchInput.vue +++ b/src/components/outpatient/DiagnosisSearchInput.vue @@ -2,7 +2,7 @@ - +
{ popoverRef.value.hide() } } +const afterShow = () => { + if (nameList.value.length === 0){ + keyword.value = "" + }else { + keyword.value = nameList.value.join(",") + "," + } + +} + + const selectList = ref() const nameList = ref([]); watch(selectList, (newVal, oldVal) => {