史科,有两个内容要改一下。1.能源交通水利三个分类合成一个:能源、交通、水利工程,顺序1-14排下去。2.选项中,淘汰改为不同意。是否来得及?

This commit is contained in:
路 范
2025-06-11 13:52:12 +08:00
parent b44ea62ba0
commit c03e3773fe
2 changed files with 4 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ maximum-scale=1.0, user-scalable=no" />
<template>
<el-radio-group v-model="project.vote">
<el-radio label="true">同意</el-radio>
<el-radio label="false">淘汰</el-radio>
<el-radio label="false">不同意</el-radio>
</el-radio-group>
</template>
</el-descriptions-item>
@@ -41,7 +41,7 @@ maximum-scale=1.0, user-scalable=no" />
<template>
<el-radio-group v-model="project.vote">
<el-radio label="true">同意</el-radio>
<el-radio label="false">淘汰</el-radio>
<el-radio label="false">不同意</el-radio>
</el-radio-group>
</template>
</el-descriptions-item>

View File

@@ -62,7 +62,8 @@ namespace Vote.Services.ApiController
[Microsoft.AspNetCore.Authorization.AllowAnonymous]
public async Task<dynamic> List(ProjectsInput args)
{
var typeList = new List<string> { "房建工程", "市政工程", "轨道交通工程", "能源工程", "交通工程", "水利工程" };
//var typeList = new List<string> { "房建工程", "市政工程", "轨道交通工程", "能源工程", "交通工程", "水利工程" };
var typeList = new List<string> { "房建工程", "市政工程", "轨道交通工程", "能源、交通、水利工程" };
var data = await rep_Projects2025.DetachedEntities.Where(p => !p.IsDeleted)
.Where(args.type != null, a => (int)a.type == args.type)
.Where(args.is_no_inspection != null, a => (int)a.is_no_inspection == args.is_no_inspection)