移植 MES 综合工作台本人投产接收分页查询

This commit is contained in:
Developer
2026-12-05 14:10:06 +08:00
parent 69c0279749
commit 432abcb3a0
13 changed files with 502 additions and 2 deletions

View File

@@ -157,6 +157,7 @@ namespace Jingyao.AIEmployee
const string Duties = "ai_本机候选双人确认_当前职责";
const string Audit = "ai_本机候选双人确认_候选记录_审计链";
static readonly Dictionary<string,string[]> NavigationRoutes = new Dictionary<string,string[]>(StringComparer.Ordinal) {
{ "ai_MES综合工作台_我的投产接收", new[] { "/mes/control-center" } },
{ PerformanceSummary, new[] { "/erp/personal-performance" } },
{ PerformanceContracts, new[] { "/erp/personal-performance" } },
{ "ai_客户档案", new[] { "/erp/customers", "/erp/contracts", "/erp/quotations", "/erp/sales-orders", "/erp/customer-value" } },
@@ -205,6 +206,13 @@ namespace Jingyao.AIEmployee
{
string[] fields;
switch(name) {
case "ai_MES综合工作台_我的投产接收":
Only(inputs,"来源类型","状态");
AddText(command,inputs,"来源类型",20,"","","FORMAL","LEGACY");
AddText(command,inputs,"状态",30,"","","PENDING_RECEIPT","RECEIVED","REJECTED","CANCELLED");
command.Parameters.Add("@页码",SqlDbType.Int).Value=(int)Positive(body,"pageList",100000,1);
command.Parameters.Add("@每页条数",SqlDbType.Int).Value=(int)Positive(body,"pageSize",100,25);
return;
case PerformanceSummary: case PerformanceContracts: BindPerformance(command, name, inputs, body); return;
case "ai_客户档案": fields = new string[] { "关键词", "省份流水号", "客户来源", "仅正式档案" }; break;
case "ai_客户档案_筛选选项": fields = new string[] { }; break;