feat(market): 完善临床科研与委托加工上线能力

补齐项目组负责人审批、费用信息、合作客户、生产出库菜单、申请单号 LCKY 前缀及配套 SQL 迁移,并同步相关前后端与单测。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cykjandCursor committed 2026-11-30 18:51:37 +08:00
1 parent 7a3c58ed99
commit c22a0d1eb0
77 files changed
+8375 -1869

No files matched your search

+125 -1
View File
@@ -298,7 +298,7 @@ STATIC_MENU_TREE = [
],
},
# 临床科研
# 临床科研(与 sqxp.ts / 委托加工成对:申请、审批、费用、出库放行)
{
"id": "BEX00000000000000000000000000001",
"name": "BasicExperiment",
@@ -322,6 +322,30 @@ STATIC_MENU_TREE = [
"menuCode": "basic-experiment:application:list",
},
},
{
"id": "BEX00000000000000000000000000006",
"name": "BasicExperimentApproval",
"path": "approval",
"component": "/pilot-service/pilot-application/index",
"meta": {
"title": "临床科研审批",
"keepAlive": True,
"menuCode": "basic-experiment:approval:list",
"bizType": "basic_experiment",
"approvalOnly": True,
},
},
{
"id": "BEX00000000000000000000000000005",
"name": "BasicExperimentFeeInfo",
"path": "fee-info",
"component": "/pilot-service/fee-info/index",
"meta": {
"title": "费用信息",
"keepAlive": True,
"menuCode": "basic-experiment:fee-info:list",
},
},
{
"id": "BEX00000000000000000000000000003",
"name": "BasicExperimentPaymentConfirm",
@@ -330,6 +354,7 @@ STATIC_MENU_TREE = [
"meta": {
"title": "缴退费财务确认",
"keepAlive": True,
"isHide": True,
"menuCode": "basic-experiment:payment-confirm:list",
},
},
@@ -346,6 +371,79 @@ STATIC_MENU_TREE = [
},
],
},
# 委托加工(复用临床科研页面,bizType=contract_processing)
{
"id": "CPG00000000000000000000000000001",
"name": "ContractProcessing",
"path": "contract-processing",
"component": "",
"meta": {
"title": "委托加工",
"icon": "ri:tools-line",
"keepAlive": False,
"roles": ["admin"],
},
"children": [
{
"id": "CPG00000000000000000000000000002",
"name": "ContractProcessingApplication",
"path": "application",
"component": "/pilot-service/pilot-application/index",
"meta": {
"title": "委托加工申请单",
"keepAlive": True,
"menuCode": "contract-processing:application:list",
},
},
{
"id": "CPG00000000000000000000000000006",
"name": "ContractProcessingApproval",
"path": "approval",
"component": "/pilot-service/pilot-application/index",
"meta": {
"title": "委托加工审批",
"keepAlive": True,
"menuCode": "contract-processing:approval:list",
"bizType": "contract_processing",
"approvalOnly": True,
},
},
{
"id": "CPG00000000000000000000000000005",
"name": "ContractProcessingFeeInfo",
"path": "fee-info",
"component": "/pilot-service/fee-info/index",
"meta": {
"title": "费用信息",
"keepAlive": True,
"menuCode": "contract-processing:fee-info:list",
},
},
{
"id": "CPG00000000000000000000000000003",
"name": "ContractProcessingPaymentConfirm",
"path": "payment-confirm",
"component": "/pilot-service/clinical-payment-confirm/index",
"meta": {
"title": "缴退费财务确认",
"keepAlive": True,
"isHide": True,
"menuCode": "contract-processing:payment-confirm:list",
},
},
{
"id": "CPG00000000000000000000000000004",
"name": "ContractProcessingOutboundRelease",
"path": "outbound-release-review",
"component": "/pilot-service/outbound-release-review/index",
"meta": {
"title": "出库放行审核",
"keepAlive": True,
"menuCode": "contract-processing:outbound-release-review:list",
},
},
],
},
# 器械销售(市场侧栏末位)
{
"id": "DEV00000000000000000000000000001",
@@ -601,6 +699,32 @@ STATIC_MENU_TREE = [
"menuCode": "production:waste-output:list",
},
},
{
"id": "PRD00000000000000000000000000001",
"name": "ProductionBasicExperimentOutbound",
"path": "basic-experiment-outbound",
"component": "/pilot-service/pilot-application/index",
"meta": {
"title": "临床科研出库",
"keepAlive": True,
"menuCode": "production:basic-experiment-outbound:list",
"bizType": "basic_experiment",
"productionOutbound": True,
},
},
{
"id": "PRD00000000000000000000000000002",
"name": "ProductionContractProcessingOutbound",
"path": "contract-processing-outbound",
"component": "/pilot-service/pilot-application/index",
"meta": {
"title": "委托加工出库",
"keepAlive": True,
"menuCode": "production:contract-processing-outbound:list",
"bizType": "contract_processing",
"productionOutbound": True,
},
},
],
},
# 生产基础信息