| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- namespace Admin.NET.Plugin.AiDOP.Controllers.S0.Quality;
- [ApiController]
- [Route("api/s0/quality/dictionary")]
- [AllowAnonymous]
- [NonUnify]
- public class AdoS0QmsDictionaryController : ControllerBase
- {
- [HttpGet("nodes")]
- public IActionResult GetNodes()
- {
- var nodes = new[]
- {
- new { key = "doc-types", label = "单据类型", route = "", kind = "dict" },
- new { key = "biz-types", label = "业务类型", route = "", kind = "dict" },
- new { key = "complaint", label = "客诉", route = "", kind = "dict" },
- new { key = "inspection-priority", label = "检验优先级", route = "", kind = "dict" },
- new { key = "product-ncr", label = "产品不合格联络单", route = "", kind = "dict" },
- new { key = "8d", label = "8D", route = "", kind = "dict" },
- new { key = "ncr", label = "NCR", route = "", kind = "dict" },
- new { key = "project", label = "项目管理", route = "", kind = "dict" },
- new { key = "biochemical", label = "生化", route = "", kind = "dict" },
- new { key = "capa", label = "CAPA", route = "", kind = "dict" },
- new { key = "production-record-list", label = "生产记录清单", route = "", kind = "dict" },
- new { key = "inspection-status", label = "检验状态", route = "", kind = "dict" },
- new { key = "aql-level", label = "AQL接受水平", route = "", kind = "dict" },
- new { key = "aql-value", label = "AQL值", route = "", kind = "dict" },
- new { key = "raw-whitelists", label = "原材料白名单", route = "/aidop/s0/quality/raw-whitelist", kind = "page" },
- new { key = "sampling-schemes", label = "抽样方案", route = "/aidop/s0/quality/sampling-scheme", kind = "page" },
- new { key = "instruments", label = "检验仪器", route = "/aidop/s0/quality/instrument", kind = "page" },
- new { key = "inspection-methods", label = "检验方法", route = "/aidop/s0/quality/inspection-method", kind = "page" },
- new { key = "inspection-bases", label = "检验依据", route = "/aidop/s0/quality/inspection-basis", kind = "page" },
- new { key = "inspection-standards", label = "检验标准", route = "/aidop/s0/quality/inspection-standard", kind = "page" },
- new { key = "inspection-items", label = "检验项目", route = "/aidop/s0/quality/inspection-item", kind = "page" },
- new { key = "inspection-frequencies", label = "检验频率", route = "/aidop/s0/quality/inspection-frequency", kind = "page" },
- new { key = "inspection-plans", label = "检验方案", route = "/aidop/s0/quality/inspection-plan", kind = "page" },
- new { key = "raw-inspection-specs", label = "原材料检验规范", route = "/aidop/s0/quality/raw-inspection-spec", kind = "page" },
- new { key = "process-inspection-specs", label = "过程检验规范", route = "/aidop/s0/quality/process-inspection-spec", kind = "page" },
- };
- return Ok(nodes);
- }
- }
|