Compare commits
96 Commits
70c46fc990
...
guanyu
| Author | SHA1 | Date | |
|---|---|---|---|
| b8f3eaca0d | |||
| b04856de97 | |||
| ceec63ab67 | |||
| a54715587f | |||
| 0cd461e22c | |||
| 6bed436c62 | |||
| 3bcbf20e90 | |||
| 1f4bad4ac8 | |||
| 309e6a6cdd | |||
| ef6cd66a10 | |||
| 8254b6ab90 | |||
| f1712d59b0 | |||
| 6baf7dc69f | |||
| 7fbed9d593 | |||
| f0abdd8b52 | |||
| 21405a2b96 | |||
| f92eb58400 | |||
| 52c5a92c9a | |||
| 5bb610b689 | |||
| 55c201cc72 | |||
| f5860600bc | |||
| 202cf9f282 | |||
| 81043f4f20 | |||
| 48d76adafa | |||
| d4d3753666 | |||
| f667414094 | |||
| 5fb8297452 | |||
| d68b304dcb | |||
| 6ddcfde676 | |||
| 0b4fd33571 | |||
| 0850348341 | |||
| 589629dfbb | |||
| 67670d48f6 | |||
| 29ae8e80f0 | |||
| cdb58feba6 | |||
| 6f0302376e | |||
| 1ee59e5437 | |||
| c44d60be7a | |||
| 850f501505 | |||
| dbda09d528 | |||
| 4a715d6287 | |||
| 6a3334c920 | |||
| 319db10ad3 | |||
| 8c237ccad3 | |||
| 3430eceb84 | |||
| 4f0f309ca9 | |||
| 74051a2421 | |||
| 4fb4e0e3df | |||
| 3143a974ba | |||
| 6fffc23e43 | |||
| dca1bdac4a | |||
| 0767f3e6fd | |||
| 2ea25bd684 | |||
| 05cc4adf82 | |||
| 46a5b6509c | |||
| c8b0ce3f62 | |||
| 4951da5ca7 | |||
| 4613f6dfe4 | |||
| f591c5856d | |||
| ff9c950cc5 | |||
| e2bacf61c0 | |||
| 95919b5afd | |||
| 1787ae0ccc | |||
| baf459d53b | |||
| 97f3708f18 | |||
| fcf21e66f6 | |||
| 0f6c6ec3c8 | |||
| b3e938540b | |||
| 775d37481f | |||
| dfdfa53ce9 | |||
| 702fc7b757 | |||
| fb24d3e377 | |||
| a32d750591 | |||
| 1ca9761171 | |||
| cf73dacc77 | |||
| 310a4f5a9d | |||
| cee0a2152a | |||
| e19d229a94 | |||
| 40adecc24e | |||
| 803e2f7fa7 | |||
| 51b1d37e80 | |||
| acd19fa9b9 | |||
| 7fb3964be1 | |||
| d60f25c7d7 | |||
| 7cd8a12496 | |||
| 4ada4ba31a | |||
| 4d024529f4 | |||
| 418135867e | |||
| 69dd77e916 | |||
| 2fcfc34afe | |||
| bc43085cef | |||
| f818ca8174 | |||
| 651bc758b7 | |||
| 8808ba1663 | |||
| a7378ceef7 | |||
| bdd8c9c4d8 |
@@ -340,7 +340,7 @@
|
||||
:filter-method="filterSurgery"
|
||||
style="width: 100%"
|
||||
@change="handleSurgeryChange"
|
||||
@visible-change="(visible) => { isSelectingSurgery.value = false; if (visible) filterSurgery('') }"
|
||||
@visible-change="(visible) => { if (visible) filterSurgery('') }"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in surgeryNameList"
|
||||
@@ -420,7 +420,7 @@
|
||||
:filter-method="filterSurgery"
|
||||
style="width: 100%"
|
||||
@change="(val) => handleSecondarySurgeryChange(val, scope.row)"
|
||||
@visible-change="(visible) => { isSelectingSurgery.value = false; if (visible) filterSurgery('') }"
|
||||
@visible-change="(visible) => { if (visible) filterSurgery('') }"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in surgeryNameList"
|
||||
@@ -502,7 +502,6 @@
|
||||
:filter-method="filterAnesthesia"
|
||||
style="width: 100%"
|
||||
@change="(val) => handleSecondaryAnesthesiaChange(val, scope.row)"
|
||||
@visible-change="(visible) => { isSelectingAnesthesia.value = false; if (visible) filterAnesthesia('') }"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in anesthesiaNameList"
|
||||
@@ -963,8 +962,6 @@ const surgeryLoading = ref(false)
|
||||
const anesthesiaLoading = ref(false)
|
||||
let surgerySearchTimer = null
|
||||
let anesthesiaSearchTimer = null
|
||||
const isSelectingSurgery = ref(false)
|
||||
const isSelectingAnesthesia = ref(false)
|
||||
const surgeryList = ref([])
|
||||
const open = ref(false)
|
||||
const viewOpen = ref(false)
|
||||
@@ -1421,8 +1418,6 @@ function doSearchAnesthesia(query) {
|
||||
|
||||
// 本地过滤手术项目
|
||||
function filterSurgery(query) {
|
||||
// 🔧 BugFix#769: 选择手术时不重置列表,防止下拉框闪烁
|
||||
if (isSelectingSurgery.value) return
|
||||
if (!query) {
|
||||
surgeryNameList.value = allSurgeryItems.value
|
||||
} else {
|
||||
@@ -1435,8 +1430,6 @@ function filterSurgery(query) {
|
||||
|
||||
// 本地过滤麻醉项目
|
||||
function filterAnesthesia(query) {
|
||||
// 🔧 BugFix#769: 选择麻醉时不重置列表,防止下拉框闪烁
|
||||
if (isSelectingAnesthesia.value) return
|
||||
if (!query) {
|
||||
anesthesiaNameList.value = allAnesthesiaItems.value
|
||||
} else {
|
||||
@@ -1502,8 +1495,6 @@ function loadSurgeryAndAnesthesiaOptions() {
|
||||
|
||||
// 手术项目选择变更
|
||||
function handleSurgeryChange(val) {
|
||||
// 🔧 BugFix#769: 标记正在选择,防止 visible-change 重置列表导致闪烁
|
||||
isSelectingSurgery.value = true
|
||||
// 🔧 BugFix#318: 确保 surgeryName 被正确设置
|
||||
form.value.surgeryName = val
|
||||
const selected = surgeryNameList.value.find(item => item.name === val)
|
||||
@@ -1523,8 +1514,6 @@ function handleSurgeryChange(val) {
|
||||
|
||||
// 麻醉项目选择变更
|
||||
function handleAnesthesiaChange(val) {
|
||||
// 🔧 BugFix#769: 标记正在选择,防止 visible-change 重置列表导致闪烁
|
||||
isSelectingAnesthesia.value = true
|
||||
const selected = anesthesiaNameList.value.find(item => item.name === val)
|
||||
if (selected) {
|
||||
// 设置麻醉费用 (增加对多种字段名和类型的兼容)
|
||||
@@ -1538,8 +1527,6 @@ function handleAnesthesiaChange(val) {
|
||||
|
||||
// 次要手术麻醉项目选择变更
|
||||
function handleSecondaryAnesthesiaChange(val, row) {
|
||||
// 🔧 BugFix#769: 标记正在选择,防止 visible-change 重置列表导致闪烁
|
||||
isSelectingAnesthesia.value = true
|
||||
const selected = anesthesiaNameList.value.find(item => item.name === val)
|
||||
if (selected) {
|
||||
// 设置该次要手术的麻醉费用
|
||||
@@ -1564,8 +1551,6 @@ function mapAnesthesiaNameToEnum(name) {
|
||||
|
||||
// 次要手术项目选择变更
|
||||
function handleSecondarySurgeryChange(val, row) {
|
||||
// 🔧 BugFix#769: 标记正在选择,防止 visible-change 重置列表导致闪烁
|
||||
isSelectingSurgery.value = true
|
||||
const selected = surgeryNameList.value.find(item => item.name === val)
|
||||
if (selected) {
|
||||
row.surgeryCode = selected.busNo
|
||||
|
||||
Reference in New Issue
Block a user