* исправление подсчета операций пациентов
* поправил поле выбора даты * добавил индикатор в контроле * окно выбора пользователя для сводной * привязка окна для ввода причины контроля * добавил привязку историй пациентов для просмотра статистики по дням * поправил фиксацию фио ответственного, убрал при диапазоне * отключение ролей адм и зав от реплики
This commit is contained in:
@@ -8,10 +8,18 @@ import {useAuthStore} from "../../Stores/auth.js";
|
||||
const reportStore = useReportStore()
|
||||
const authStore = useAuthStore()
|
||||
|
||||
onMounted(async () => {
|
||||
await reportStore.getReportInfo()
|
||||
onMounted(() => {
|
||||
const queryString = window.location.search
|
||||
const params = new URLSearchParams(queryString)
|
||||
const userId = params.get('userId')
|
||||
|
||||
reportStore.reportInfo.userId = userId
|
||||
|
||||
reportStore.getReportInfo()
|
||||
})
|
||||
|
||||
// reportStore.getReportInfo()
|
||||
|
||||
const mode = computed(() => {
|
||||
if (authStore.isHeadOfDepartment)
|
||||
return 'readonly'
|
||||
|
||||
Reference in New Issue
Block a user