Merge pull request 'refactor: 将基础实验展示名统一改为临床科研' (#155) from codex/issue-rename-basic-experiment-96cc7a73d023 into V2.0
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
f7890f5560
37 files changed
+78
-64
No files matched your search
@@ -32,7 +32,7 @@ const SECTION_TITLES: Record<
|
||||
schedule: '临床应用输注计划信息'
|
||||
},
|
||||
basic_experiment: {
|
||||
application: '基础实验申请信息',
|
||||
application: '临床科研申请信息',
|
||||
schedule: '交付计划信息'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ const CATEGORY_LABELS: Record<ProductionWorkOrderCategoryKey, string> = {
|
||||
inbound_cell_storage: '细胞存储',
|
||||
inbound_research_donation: '科研捐赠',
|
||||
outbound_pilot_service: '中试服务',
|
||||
outbound_basic_experiment: '基础实验',
|
||||
outbound_basic_experiment: '临床科研',
|
||||
temporary: '临时'
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ export const PRODUCTION_WORK_ORDER_TABS: ProductionWorkOrderTabConfig[] = [
|
||||
},
|
||||
{
|
||||
key: 'outbound_basic_experiment',
|
||||
label: '基础实验生产',
|
||||
label: '临床科研生产',
|
||||
group: 'outbound',
|
||||
workOrderType: 'outbound',
|
||||
bizType: 'basic_experiment',
|
||||
|
||||
@@ -24,7 +24,7 @@ const CATEGORY_LABELS: Record<QcWorkOrderCategoryKey, string> = {
|
||||
inbound_cell_storage: '细胞存储',
|
||||
inbound_research_donation: '科研捐赠',
|
||||
outbound_pilot_service: '中试服务',
|
||||
outbound_basic_experiment: '基础实验',
|
||||
outbound_basic_experiment: '临床科研',
|
||||
temporary: '临时'
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ export const QC_WORK_ORDER_TABS: QcWorkOrderTabConfig[] = [
|
||||
},
|
||||
{
|
||||
key: 'outbound_basic_experiment',
|
||||
label: '基础实验质检',
|
||||
label: '临床科研质检',
|
||||
group: 'outbound',
|
||||
workOrderType: 'outbound',
|
||||
bizType: 'basic_experiment',
|
||||
|
||||
@@ -228,7 +228,7 @@ export const receptionSource: StatusRegistry = {
|
||||
outbound: { label: '出库', tagType: 'primary' },
|
||||
pilot_service: { label: '中试服务', tagType: 'primary' },
|
||||
clinical_application: { label: '临床应用', tagType: 'warning' },
|
||||
basic_experiment: { label: '基础实验', tagType: 'primary' }
|
||||
basic_experiment: { label: '临床科研', tagType: 'primary' }
|
||||
}
|
||||
export const receptionSourceLabel = createLabelGetter(receptionSource)
|
||||
export const receptionSourceTagType = createTagTypeGetter(receptionSource)
|
||||
@@ -386,7 +386,7 @@ export const agreementType: StatusRegistry = {
|
||||
kyxy: { label: '框架协议', tagType: 'primary' },
|
||||
zsxy: { label: '中试协议', tagType: 'success' },
|
||||
lcxy: { label: '临床协议', tagType: 'warning' },
|
||||
jcsy: { label: '基础实验', tagType: 'primary' }
|
||||
jcsy: { label: '临床科研', tagType: 'primary' }
|
||||
}
|
||||
export const agreementTypeLabel = createLabelGetter(agreementType)
|
||||
export const agreementTypeTagType = createTagTypeGetter(agreementType)
|
||||
@@ -761,7 +761,7 @@ export function bizTypeLabel(type: string): string {
|
||||
const map: Record<string, string> = {
|
||||
pilot_service: '中试服务',
|
||||
clinical_application: '临床应用',
|
||||
basic_experiment: '基础实验'
|
||||
basic_experiment: '临床科研'
|
||||
}
|
||||
return map[type] || type || '-'
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user