| | |
| | | |
| | | // 医生诊室选择 |
| | | isSetRoom: boolean |
| | | room: RoomVO | null |
| | | room: RoomVO |
| | | } |
| | | |
| | | export const useUserStore = defineStore('admin-user', { |
| | |
| | | // 医生诊室选择 |
| | | isSetRoom: false, |
| | | room: { |
| | | id: 0, |
| | | roomId: 0, |
| | | roomName: "", |
| | | bedNo: "", |
| | | id: null, |
| | | roomId: null, |
| | | roomName: null, |
| | | bedNo: null, |
| | | status: null, |
| | | docId: null, |
| | | docName: null |
| | |
| | | // 医生离座 |
| | | async clearRoomInfoAction() { |
| | | // 清 store |
| | | this.room = null |
| | | this.room.id = null |
| | | this.room.roomId = null |
| | | this.room.roomName = null |
| | | this.room.bedNo = null |
| | | this.room.status = null |
| | | this.room.docId = null |
| | | this.room.docName = null |
| | | |
| | | this.isSetRoom = false |
| | | |
| | | // 更新 cache |