feat: rename sample-info menu label and extend quick-register client API.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
9c264d7942
commit
ad18204eb9
4 files changed
+41
-7
No files matched your search
@@ -87,7 +87,7 @@ STATIC_MENU_TREE = [
|
||||
"name": "CellStorageSampleInfo",
|
||||
"path": "sample-info",
|
||||
"component": "/cell-storage/sample-info/index",
|
||||
"meta": {"title": "样本信息管理", "keepAlive": True, "menuCode": "cell-storage:sample-info:list"},
|
||||
"meta": {"title": "客户服务管理", "keepAlive": True, "menuCode": "cell-storage:sample-info:list"},
|
||||
},
|
||||
{
|
||||
"id": "50000000000000000000000000000021",
|
||||
@@ -223,7 +223,7 @@ STATIC_MENU_TREE = [
|
||||
"name": "BizCustomer",
|
||||
"path": "customer",
|
||||
"component": "/basic-info/customer/index",
|
||||
"meta": {"title": "客户管理", "keepAlive": True, "menuCode": "biz:customer:list"},
|
||||
"meta": {"title": "客户基础信息", "keepAlive": True, "menuCode": "biz:customer:list"},
|
||||
},
|
||||
|
||||
{
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import request from '@/utils/http'
|
||||
|
||||
export type CustomerServiceDictType =
|
||||
| 'sms_send_status'
|
||||
| 'microbe_followup_status'
|
||||
| 'fullmoon_followup_status'
|
||||
| 'household_registered'
|
||||
|
||||
export function fetchCustomerServiceDict(dictType: CustomerServiceDictType | string) {
|
||||
return request.get<{ list: string[] }>({
|
||||
url: '/web/admin/customer-service-dict',
|
||||
params: { dictType }
|
||||
})
|
||||
}
|
||||
@@ -1,5 +1,14 @@
|
||||
import request from '@/utils/http'
|
||||
|
||||
export type QuickRegisterKind =
|
||||
| 'storage'
|
||||
| 'storage_cert'
|
||||
| 'insurance'
|
||||
| 'sms'
|
||||
| 'followup'
|
||||
| 'fulfillment'
|
||||
| 'all'
|
||||
|
||||
export function fetchUpdateStorageCertHandle(
|
||||
protocolId: string,
|
||||
data: {
|
||||
@@ -13,13 +22,24 @@ export function fetchUpdateStorageCertHandle(
|
||||
}
|
||||
|
||||
export function fetchSampleInfoQuickRegister(data: {
|
||||
kind: 'storage' | 'storage_cert' | 'insurance'
|
||||
kind: QuickRegisterKind
|
||||
receptionSource: 'cell_storage' | 'research_donation'
|
||||
items: Array<{ sampleCode: string; protocolId: string }>
|
||||
handleTime: string
|
||||
handlerUserId: string
|
||||
handleTime?: string
|
||||
handlerUserId?: string
|
||||
attachments?: string
|
||||
remark?: string
|
||||
mailCertTime?: string
|
||||
policySendTime?: string
|
||||
smsSendDate?: string
|
||||
smsSendStatus?: string
|
||||
microbeFollowupDate?: string
|
||||
microbeFollowupStatus?: string
|
||||
fullmoonFollowupDate?: string
|
||||
fullmoonFollowupStatus?: string
|
||||
householdRegistered?: string
|
||||
einvoiceSendTime?: string
|
||||
effectiveAddress?: string
|
||||
}) {
|
||||
return request.post({ url: '/web/admin/sample-info/quick-register', data })
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ export const sqxpAdminRoutes: AppRouteRecord[] = [
|
||||
path: 'sample-info',
|
||||
component: '/cell-storage/sample-info/index',
|
||||
meta: {
|
||||
title: '样本信息管理',
|
||||
title: '客户服务管理',
|
||||
keepAlive: true,
|
||||
menuCode: 'cell-storage:sample-info:list'
|
||||
}
|
||||
@@ -372,7 +372,7 @@ export const sqxpAdminRoutes: AppRouteRecord[] = [
|
||||
name: 'BizCustomer',
|
||||
path: 'customer',
|
||||
component: '/basic-info/customer/index',
|
||||
meta: { title: '客户管理', keepAlive: true, menuCode: 'biz:customer:list' }
|
||||
meta: { title: '客户基础信息', keepAlive: true, menuCode: 'biz:customer:list' }
|
||||
},
|
||||
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user