diff --git a/20220330_Vote/Ewide.Web.Entry/appsettings.json b/20220330_Vote/Ewide.Web.Entry/appsettings.json
index 483f08e..db30596 100644
--- a/20220330_Vote/Ewide.Web.Entry/appsettings.json
+++ b/20220330_Vote/Ewide.Web.Entry/appsettings.json
@@ -63,6 +63,6 @@
"GetHouseInfoCitysByCommunity": "http://sjk.test.ky.com/housesafety/statistics/GetHouseInfoCitysByCommunity?communityID={0}"
},
"UserScore": {
- "ExpertNumber": 10
+ "ExpertNumber": 7
}
}
\ No newline at end of file
diff --git a/20220330_Vote/Ewide.Web.Entry/wwwroot/html/userscore20250801/ljfl.html b/20220330_Vote/Ewide.Web.Entry/wwwroot/html/userscore20250801/ljfl.html
new file mode 100644
index 0000000..591b426
--- /dev/null
+++ b/20220330_Vote/Ewide.Web.Entry/wwwroot/html/userscore20250801/ljfl.html
@@ -0,0 +1,360 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
宁波市生活垃圾分类志愿服务项目交流打分
+
+
+
+
+ 第{{scope.row.no}}组
+
+
+
+
+ {{scope.row.postion}}
+
+
+
+
+ {{scope.row.name}}
+
+
+
+
+ {{scope.row.title}}
+
+
+
+
+
+
+
+
+
+ {{scope.row.finalscore || '0'}}
+
+
+
+
+ {{ getRank(scope.row) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+ 默认排序
+ 按得分排序
+
+
+
+
+
+
\ No newline at end of file
diff --git a/20220330_Vote/Vote.Services/ApiController/UserScore20250801Service.cs b/20220330_Vote/Vote.Services/ApiController/UserScore20250801Service.cs
index 395f39e..f516c8f 100644
--- a/20220330_Vote/Vote.Services/ApiController/UserScore20250801Service.cs
+++ b/20220330_Vote/Vote.Services/ApiController/UserScore20250801Service.cs
@@ -42,10 +42,12 @@ namespace Vote.Services.ApiController
///
[HttpPost]
[Microsoft.AspNetCore.Authorization.AllowAnonymous]
- public async Task List()
+ public async Task List(ListInput args)
{
+ args ??= new ListInput();
var data = await repuserscore.AsQueryable()
- .OrderBy(a => a.No)
+ .OrderByIF(!string.IsNullOrWhiteSpace(args.order), args.order)
+ .OrderByIF(string.IsNullOrWhiteSpace(args.order), a => a.No)
.ToListAsync();
// var data = await repuserscore20250801.DetachedEntities
// .OrderBy(a => a.No)
diff --git a/20220330_Vote/Vote.Services/Dto/UserScore20250801.cs b/20220330_Vote/Vote.Services/Dto/UserScore20250801.cs
index 34f922a..99509bf 100644
--- a/20220330_Vote/Vote.Services/Dto/UserScore20250801.cs
+++ b/20220330_Vote/Vote.Services/Dto/UserScore20250801.cs
@@ -23,4 +23,9 @@ public class UserScoreInput
{
public string expertId { get; set; }
public decimal? score { get; set; }
+}
+
+public class ListInput
+{
+ public string order { get; set; }
}
\ No newline at end of file
diff --git a/20220330_Vote/Vote.Services/Entities/userscore20250801.cs b/20220330_Vote/Vote.Services/Entities/userscore20250801.cs
index 80fd92b..d985351 100644
--- a/20220330_Vote/Vote.Services/Entities/userscore20250801.cs
+++ b/20220330_Vote/Vote.Services/Entities/userscore20250801.cs
@@ -15,6 +15,7 @@ public class userscores20250801 : DEntityBase
this.Title = "";
this.Postion = "";
this.Name = "";
+ this.finalscore = 0;
}
///
diff --git a/20220330_Vote/Vote.Services/Vote.Services.xml b/20220330_Vote/Vote.Services/Vote.Services.xml
index d6da22a..ac1ac0e 100644
--- a/20220330_Vote/Vote.Services/Vote.Services.xml
+++ b/20220330_Vote/Vote.Services/Vote.Services.xml
@@ -302,7 +302,7 @@
项目
-
+
列表