|
@@ -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 {
|