bug 486 [住院医生工作站-临床医嘱] 医嘱检索框不支持全局模糊搜索,未选“医嘱类型”时检索结果为空 删去了搜索条件的默认值

This commit is contained in:
2026-05-11 17:01:52 +08:00
committed by 赵云
parent 7aa93c34a5
commit c687167044

View File

@@ -197,7 +197,6 @@
style="width: 62%"
v-model="scope.row.adviceName"
placeholder="请选择项目"
@input="handleChange"
@click="handleFocus(scope.row, scope.$index)"
@keyup.enter.stop="handleFocus(scope.row, scope.$index)"
@keydown="
@@ -380,7 +379,7 @@ const form = ref({
prescriptionList: prescriptionList.value,
});
const adviceQueryParams = ref({
adviceType: 1,
adviceType: '',
categoryCode: '', // 初始为空,等待加载配置后动态设置
searchKey: '',
});
@@ -686,7 +685,7 @@ function loadConfiguredCategories() {
nextTick(() => {
// 创建新对象触发响应式更新
adviceQueryParams.value = {
adviceType: 1,
adviceType: '',
categoryCode: defaultCategoryCode,
searchKey: '',
};