This commit is contained in:
i.roger authored and admin committed 2026-10-22 15:59:00 +07:00
1 parent 5c186a1fa6
commit b7c1baa654
6 files changed
+13 -6

No files matched your search

+3 -1
View File
@@ -1,7 +1,9 @@
services:
medica-info:
environment:
- ASPNETCORE_ENVIRONMENT=Staging
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_HTTP_PORTS=8080
ports:
- "2222:8080"
volumes:
- //192.168.232.33/medica.info/:/app/Data
+1 -1
View File
@@ -5,4 +5,4 @@ services:
context: .
dockerfile: medica-info/Dockerfile
volumes:
- 'M:/:/app/Data/Medica_info'
- //192.168.232.33/medica.info/:/app/Data
@@ -9,7 +9,6 @@
<div class="top-row px-4">
<a href="https://medica-nsk.clinic" target="_blank">О нас</a>
</div>
<article class="content px-4">
@Body
</article>
+4 -2
View File
@@ -25,7 +25,6 @@
</InputSelect>
<button class="btn btn-primary" @onclick="OnSearchClicked">Поиск</button>
</div>
@if (apteka == null || apteka.Count == 0)
{
<p><em>Данные не найдены или загружаются...</em></p>
@@ -58,6 +57,9 @@ else
</tr>
}
</tbody>
<tfoot>
ООО "Медика НСК" - эта ионформация является справочной, актуальные остатки уточняйте.
</tfoot>
</table>
</form>
}
@@ -95,7 +97,7 @@ else
private async Task LoadAndFilterAptekaAsync(string? filter, string? filterOTD)
{
// string file = @"\\192.168.232.33\medica.info\Apteka\price.xml";
string file = @"/app/Data/Medica_info/Apteka/price.xml";
string file = @"/app/Data/Apteka/price.xml";
XmlDocument xml = new XmlDocument();
xml.Load(file);
XmlElement? root = xml.DocumentElement;
+1 -1
View File
@@ -76,7 +76,7 @@ else
private async Task LoadAndFilterUslugiAsync(string? filter)
{
// string file = @"\\192.168.232.33\medica.info\Apteka\price.xml";
string file = @"/app/Data/Medica_info/PriceNSK/price.xml";
string file = @"/app/Data/PriceNSK/price.xml";
XmlDocument xml = new XmlDocument();
xml.Load(file);
XmlElement? root = xml.DocumentElement;
+4
View File
@@ -15,4 +15,8 @@
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.23.0" />
</ItemGroup>
<ItemGroup>
<Folder Include="Components\Serv\" />
</ItemGroup>
</Project>