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