From 87afbbe44c9f025d1b445c605752be84c67f901e Mon Sep 17 00:00:00 2001 From: SamSys Date: Tue, 3 Jun 2025 16:48:42 +0330 Subject: [PATCH] change of register --- ServiceHost/Pages/Index.cshtml | 8 +- ServiceHost/Pages/Shared/_Footer.cshtml | 10 +- ServiceHost/Pages/Shared/_Header.cshtml | 4 +- ServiceHost/Pages/about-us/Index.cshtml | 12 +- ServiceHost/Pages/complaints/Index.cshtml | 105 +++++ ServiceHost/Pages/complaints/Index.cshtml.cs | 30 ++ ServiceHost/Pages/contact-us/Index.cshtml | 406 +++--------------- ServiceHost/Pages/rule/Index.cshtml | 366 +++++++++++++--- ServiceHost/ServiceHost.sln | 24 ++ ServiceHost/wwwroot/AssetsMain/css/main.css | 6 + .../AssetsMain/pages/complaints/js/Index.js | 133 ++++++ .../AssetsMain/pages/contact-us/js/Index.js | 309 +++++++++++++ 12 files changed, 979 insertions(+), 434 deletions(-) create mode 100644 ServiceHost/Pages/complaints/Index.cshtml create mode 100644 ServiceHost/Pages/complaints/Index.cshtml.cs create mode 100644 ServiceHost/ServiceHost.sln create mode 100644 ServiceHost/wwwroot/AssetsMain/pages/complaints/js/Index.js create mode 100644 ServiceHost/wwwroot/AssetsMain/pages/contact-us/js/Index.js diff --git a/ServiceHost/Pages/Index.cshtml b/ServiceHost/Pages/Index.cshtml index c4feff0e..fd3e6001 100644 --- a/ServiceHost/Pages/Index.cshtml +++ b/ServiceHost/Pages/Index.cshtml @@ -42,11 +42,11 @@ -
-
+
+
آشنایی با بخش های سامانه گزارشگیر
-
+
با انتخاب هر کدام از گزینه‌های ذیل با عملکرد آن بخش آشنا می‌شوید:
@@ -184,7 +184,7 @@
-
+
diff --git a/ServiceHost/Pages/Shared/_Footer.cshtml b/ServiceHost/Pages/Shared/_Footer.cshtml index 86065379..93abe088 100644 --- a/ServiceHost/Pages/Shared/_Footer.cshtml +++ b/ServiceHost/Pages/Shared/_Footer.cshtml @@ -22,8 +22,8 @@
- @*
شرایط استفاده از خدمات
- *@ + @*
شرایط استفاده از خدمات
*@ +
@@ -39,7 +39,7 @@
-
کلیه حقوق مادی و معنوی این وب سایت برای شرکت دانش بنیان گزارشگیر محفوظ می باشد.
+
کلیه حقوق مادی و معنوی این وب سایت برای شرکت داده پردازان گزارشگیر منطقه آزاد انزلی محفوظ می باشد.
@@ -62,8 +62,8 @@
- - + +
diff --git a/ServiceHost/Pages/Shared/_Header.cshtml b/ServiceHost/Pages/Shared/_Header.cshtml index 055a21f2..5e49177c 100644 --- a/ServiceHost/Pages/Shared/_Header.cshtml +++ b/ServiceHost/Pages/Shared/_Header.cshtml @@ -139,10 +139,11 @@
- diff --git a/ServiceHost/Pages/about-us/Index.cshtml b/ServiceHost/Pages/about-us/Index.cshtml index 5ede4e83..9dd2775e 100644 --- a/ServiceHost/Pages/about-us/Index.cshtml +++ b/ServiceHost/Pages/about-us/Index.cshtml @@ -5,7 +5,7 @@ } -
+
درباره با ما @@ -23,8 +23,8 @@
- -

+ +

یکی از مزایای منحصر‌به‌فرد گزارشگیر، محاسبه دقیق و پویا‌ی پایه سنواتی در قراردادها و فیش‌های حقوقی است. این موضوع، که در محاسبات حقوق و مزایا تأثیر مستقیم دارد، متأسفانه در بسیاری از نرم‌افزارهای مشابه داخلی نادیده گرفته شده یا به‌صورت ایستا و نادرست لحاظ می‌گردد.

@@ -33,12 +33,12 @@

-
+
-

+

سامانه گزارشگیر حاصل سال‌ها تجربه میدانی و تلاش مستمر تیمی متخصص و متعهد در حوزه‌های برنامه‌نویسی، منابع انسانی و مشاوره حقوقی است. این نرم‌افزار با تکیه بر نیازهای واقعی کارفرمایان و قوانین جاری کار و تأمین اجتماعی طراحی شده تا پاسخی عملی، دقیق و منعطف به دغدغه‌های روزمره مدیران و صاحبان کسب‌وکار باشد.

- +
diff --git a/ServiceHost/Pages/complaints/Index.cshtml b/ServiceHost/Pages/complaints/Index.cshtml new file mode 100644 index 00000000..ea077d58 --- /dev/null +++ b/ServiceHost/Pages/complaints/Index.cshtml @@ -0,0 +1,105 @@ +@page +@model ServiceHost.Pages.complaints.IndexModel +@{ + Layout = "Shared/_LayoutHome"; + string version = _0_Framework.Application.Version.StyleVersion; + + +} + +
+
+
+ ارتباط مستقیم با پشتیبانی گزارشگیر +
+
+ ارسال سوالات، درخواست‌ها، گزارش‌های فنی و شکایات از طریق فرم +
+
+
+ + +
+
+
+ + + + + + +
+
ثبت شکایات
+

+ در صورتی که نسبت به عملکرد سامانه، خدمات ارائه‌شده یا نحوه پاسخ‌گویی کارشناسان شکایتی دارید، می‌توانید از طریق این بخش موضوع را ثبت و پیگیری نمایید. شکایات ثبت‌شده توسط تیم نظارت و پشتیبانی بررسی شده و نتیجه از طریق ایمیل یا پنل کاربری به اطلاع شما خواهد رسید. +

+
+
+ +
+
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+
+ + + +
+
+ + 500 کاراکتر +
+ + +
+
+ +
+
+ * پر کردن قسمت‌های ستاره‌دار ضروری است. +
+ +
+
+
+
+ +@section Script { + + +} \ No newline at end of file diff --git a/ServiceHost/Pages/complaints/Index.cshtml.cs b/ServiceHost/Pages/complaints/Index.cshtml.cs new file mode 100644 index 00000000..de121b7e --- /dev/null +++ b/ServiceHost/Pages/complaints/Index.cshtml.cs @@ -0,0 +1,30 @@ +using CompanyManagment.App.Contracts.ContactUs; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace ServiceHost.Pages.complaints +{ + public class IndexModel : PageModel + { + private readonly IContactUsApplication _contactUsApplication; + + public IndexModel(IContactUsApplication contactUsApplication) + { + _contactUsApplication = contactUsApplication; + } + + public void OnGet() + { + } + + public IActionResult OnPostCreateAjax(CreateContactUs command) + { + var operationResult = _contactUsApplication.Create(command); + return new JsonResult(new + { + success = operationResult.IsSuccedded, + message = operationResult.Message + }); + } + } +} diff --git a/ServiceHost/Pages/contact-us/Index.cshtml b/ServiceHost/Pages/contact-us/Index.cshtml index 68152a31..e3469289 100644 --- a/ServiceHost/Pages/contact-us/Index.cshtml +++ b/ServiceHost/Pages/contact-us/Index.cshtml @@ -2,7 +2,8 @@ @model ServiceHost.Pages.contact_us.IndexModel @{ Layout = "Shared/_LayoutHome"; - + string version = _0_Framework.Application.Version.StyleVersion; + } -
- - + -