1. 优化一些问题
Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
CI / CI OK (push) Has been cancelled
Lock Threads / action (push) Has been cancelled
Issue Close Require / close-issues (push) Has been cancelled
Close stale issues / stale (push) Has been cancelled

This commit is contained in:
李琦
2026-05-20 10:12:09 +08:00
parent 90a9bde586
commit 68fd7b0045
14 changed files with 873 additions and 134 deletions

View File

@@ -373,14 +373,8 @@ export const usePrescriptionStore = defineStore('prescription', () => {
selectedStoreId.value = res.delegate_store_id;
sendMode.value = 1; // 使用自定义模式,但使用承接方诊所ID
} else if (res && res.store_id) {
// 非转诊挂号,默认选择挂号诊所
selectedStoreId.value = res.store_id;
// 如果挂号诊所与医生当前诊所不同,设置为自定义模式
if (res.can_change) {
sendMode.value = 1;
} else {
sendMode.value = 0;
}
sendMode.value = 1;
}
console.log('获取挂号诊所信息成功:', res);
} catch (error) {