изменила форму под отчет в док или эксель по процедурам

создала вьюшку под отчет в док или эксель
This commit is contained in:
Елена Бакальская 2024-05-02 00:46:07 +04:00
parent 63fc491029
commit 9e662c2608
3 changed files with 5 additions and 3 deletions

View File

@ -8,5 +8,7 @@ namespace PolyclinicContracts.ViewModels
{ {
public class ReportCoursesByProcedures public class ReportCoursesByProcedures
{ {
public string Name { get; set; } = string.Empty;
public List<(int countDays, int pillsPerDay, string comment)> Courses = new();
} }
} }

View File

@ -12,6 +12,6 @@ namespace PolyclinicContracts.ViewModels
public int Procedure { get; set; } public int Procedure { get; set; }
public DateTime DateStartProcedure { get; set; } public DateTime DateStartProcedure { get; set; }
public DateTime DateStopProcedure { get; set;} public DateTime DateStopProcedure { get; set;}
public List<(string, string)> MedicamentSymptom { get; set; } = new(); public List<(string medicamentName, string symptomName)> MedicamentSymptom { get; set; } = new();
} }
} }

View File

@ -10,7 +10,7 @@
<div class="procedure-info d-flex flex-column mb-5 mt-5"> <div class="procedure-info d-flex flex-column mb-5 mt-5">
<p style="font-size: 3vh"> <p style="font-size: 3vh">
Выберите процедуры из списка Выберите процедуру из списка
</p> </p>
<div class="list-procedures list-group overflow-auto"> <div class="list-procedures list-group overflow-auto">
<ul> <ul>
@ -19,7 +19,7 @@
for (int i = 1; i <= count; i++) for (int i = 1; i <= count; i++)
{ {
<li class="d-flex mb-2"> <li class="d-flex mb-2">
<input class="me-2" name="procedure-@i" type="checkbox" id="procedure-@i" /> <input class="me-2" name="procedure-@i" type="radio" id="procedure-@i" />
<label for="diagnose-@i">процедура @i</label> <label for="diagnose-@i">процедура @i</label>
</li> </li>
} }