This commit is contained in:
zlwu committed 2026-05-20 20:41:47 +08:00
1 parent c6c3a37fa7
commit e6b4b9a8d7
28 files changed
+5812 -4687

No files matched your search

+79 -79
View File
@@ -7138,168 +7138,168 @@
"label": "handleSelectionChange()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L430"
"source_location": "L431"
},
{
"id": "clean_room_index_loaddata",
"label": "loadData()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L454"
"source_location": "L455"
},
{
"id": "clean_room_index_handlesearch",
"label": "handleSearch()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L469"
"source_location": "L470"
},
{
"id": "clean_room_index_handlereset",
"label": "handleReset()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L474"
"source_location": "L475"
},
{
"id": "clean_room_index_resetform",
"label": "resetForm()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L481"
"source_location": "L482"
},
{
"id": "clean_room_index_handleadd",
"label": "handleAdd()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L491"
"source_location": "L492"
},
{
"id": "clean_room_index_handleedit",
"label": "handleEdit()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L499"
"source_location": "L500"
},
{
"id": "clean_room_index_handlesubmit",
"label": "handleSubmit()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L513"
"source_location": "L514"
},
{
"id": "clean_room_index_handleview",
"label": "handleView()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L540"
"source_location": "L541"
},
{
"id": "clean_room_index_handledelete",
"label": "handleDelete()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L545"
"source_location": "L546"
},
{
"id": "clean_room_index_handlebatchdelete",
"label": "handleBatchDelete()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L552"
"source_location": "L553"
},
{
"id": "clean_room_index_formatuserlabel",
"label": "formatUserLabel()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L601"
"source_location": "L602"
},
{
"id": "clean_room_index_remotesearchusers",
"label": "remoteSearchUsers()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L611"
"source_location": "L612"
},
{
"id": "clean_room_index_onpersonselectchange",
"label": "onPersonSelectChange()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L630"
"source_location": "L631"
},
{
"id": "clean_room_index_loaddeptdata",
"label": "loadDeptData()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L644"
"source_location": "L645"
},
{
"id": "clean_room_index_resolvepersonforedit",
"label": "resolvePersonForEdit()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L661"
"source_location": "L662"
},
{
"id": "clean_room_index_handleaccesslog",
"label": "handleAccessLog()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L683"
"source_location": "L684"
},
{
"id": "clean_room_index_loadaccesslogdata",
"label": "loadAccessLogData()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L690"
"source_location": "L691"
},
{
"id": "clean_room_index_resetlogform",
"label": "resetLogForm()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L706"
"source_location": "L707"
},
{
"id": "clean_room_index_handleaddlog",
"label": "handleAddLog()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L718"
"source_location": "L719"
},
{
"id": "clean_room_index_handleeditlog",
"label": "handleEditLog()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L726"
"source_location": "L727"
},
{
"id": "clean_room_index_handlelogsubmit",
"label": "handleLogSubmit()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L742"
"source_location": "L743"
},
{
"id": "clean_room_index_handledeletelog",
"label": "handleDeleteLog()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L771"
"source_location": "L772"
},
{
"id": "clean_room_index_handleviewlog",
"label": "handleViewLog()",
"file_type": "code",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L798"
"source_location": "L799"
},
{
"id": "views_operations_storage_facility_index_vue",
@@ -21894,7 +21894,7 @@
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L375",
"source_location": "L376",
"weight": 1.0
},
{
@@ -21903,7 +21903,7 @@
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L376",
"source_location": "L377",
"weight": 1.0
},
{
@@ -21912,7 +21912,7 @@
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L377",
"source_location": "L378",
"weight": 1.0
},
{
@@ -21921,7 +21921,7 @@
"relation": "imports_from",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L378",
"source_location": "L379",
"weight": 1.0
},
{
@@ -21930,7 +21930,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L430",
"source_location": "L431",
"weight": 1.0
},
{
@@ -21939,7 +21939,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L454",
"source_location": "L455",
"weight": 1.0
},
{
@@ -21948,7 +21948,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L469",
"source_location": "L470",
"weight": 1.0
},
{
@@ -21957,7 +21957,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L474",
"source_location": "L475",
"weight": 1.0
},
{
@@ -21966,7 +21966,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L481",
"source_location": "L482",
"weight": 1.0
},
{
@@ -21975,7 +21975,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L491",
"source_location": "L492",
"weight": 1.0
},
{
@@ -21984,7 +21984,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L499",
"source_location": "L500",
"weight": 1.0
},
{
@@ -21993,7 +21993,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L513",
"source_location": "L514",
"weight": 1.0
},
{
@@ -22002,7 +22002,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L540",
"source_location": "L541",
"weight": 1.0
},
{
@@ -22011,7 +22011,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L545",
"source_location": "L546",
"weight": 1.0
},
{
@@ -22020,7 +22020,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L552",
"source_location": "L553",
"weight": 1.0
},
{
@@ -22029,7 +22029,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L601",
"source_location": "L602",
"weight": 1.0
},
{
@@ -22038,7 +22038,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L611",
"source_location": "L612",
"weight": 1.0
},
{
@@ -22047,7 +22047,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L630",
"source_location": "L631",
"weight": 1.0
},
{
@@ -22056,7 +22056,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L644",
"source_location": "L645",
"weight": 1.0
},
{
@@ -22065,7 +22065,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L661",
"source_location": "L662",
"weight": 1.0
},
{
@@ -22074,7 +22074,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L683",
"source_location": "L684",
"weight": 1.0
},
{
@@ -22083,7 +22083,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L690",
"source_location": "L691",
"weight": 1.0
},
{
@@ -22092,7 +22092,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L706",
"source_location": "L707",
"weight": 1.0
},
{
@@ -22101,7 +22101,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L718",
"source_location": "L719",
"weight": 1.0
},
{
@@ -22110,7 +22110,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L726",
"source_location": "L727",
"weight": 1.0
},
{
@@ -22119,7 +22119,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L742",
"source_location": "L743",
"weight": 1.0
},
{
@@ -22128,7 +22128,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L771",
"source_location": "L772",
"weight": 1.0
},
{
@@ -22137,7 +22137,7 @@
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L798",
"source_location": "L799",
"weight": 1.0
},
{
@@ -22146,7 +22146,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L471",
"source_location": "L472",
"weight": 1.0
},
{
@@ -22155,7 +22155,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L477",
"source_location": "L478",
"weight": 1.0
},
{
@@ -22164,7 +22164,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L494",
"source_location": "L495",
"weight": 1.0
},
{
@@ -22173,7 +22173,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L532",
"source_location": "L533",
"weight": 1.0
},
{
@@ -22182,7 +22182,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L549",
"source_location": "L550",
"weight": 1.0
},
{
@@ -22191,7 +22191,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L687",
"source_location": "L688",
"weight": 1.0
},
{
@@ -22200,7 +22200,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L721",
"source_location": "L722",
"weight": 1.0
},
{
@@ -22209,7 +22209,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L739",
"source_location": "L740",
"weight": 1.0
},
{
@@ -22218,7 +22218,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L763",
"source_location": "L764",
"weight": 1.0
},
{
@@ -22227,7 +22227,7 @@
"relation": "calls",
"confidence": "EXTRACTED",
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L775",
"source_location": "L776",
"weight": 1.0
},
{
@@ -30396,7 +30396,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L457",
"source_location": "L458",
"weight": 1.0
},
{
@@ -30406,7 +30406,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L514",
"source_location": "L515",
"weight": 1.0
},
{
@@ -30416,7 +30416,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L526",
"source_location": "L527",
"weight": 1.0
},
{
@@ -30426,7 +30426,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L528",
"source_location": "L529",
"weight": 1.0
},
{
@@ -30436,7 +30436,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L547",
"source_location": "L548",
"weight": 1.0
},
{
@@ -30446,7 +30446,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L556",
"source_location": "L557",
"weight": 1.0
},
{
@@ -30456,7 +30456,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L606",
"source_location": "L607",
"weight": 1.0
},
{
@@ -30466,7 +30466,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L615",
"source_location": "L616",
"weight": 1.0
},
{
@@ -30476,7 +30476,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L637",
"source_location": "L638",
"weight": 1.0
},
{
@@ -30486,7 +30486,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L646",
"source_location": "L647",
"weight": 1.0
},
{
@@ -30496,7 +30496,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L654",
"source_location": "L655",
"weight": 1.0
},
{
@@ -30506,7 +30506,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L665",
"source_location": "L666",
"weight": 1.0
},
{
@@ -30516,7 +30516,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L694",
"source_location": "L695",
"weight": 1.0
},
{
@@ -30526,7 +30526,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L743",
"source_location": "L744",
"weight": 1.0
},
{
@@ -30536,7 +30536,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L757",
"source_location": "L758",
"weight": 1.0
},
{
@@ -30546,7 +30546,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L759",
"source_location": "L760",
"weight": 1.0
},
{
@@ -30556,7 +30556,7 @@
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "views/operations/clean-room/index.vue",
"source_location": "L773",
"source_location": "L774",
"weight": 1.0
},
{
+1 -1
View File
@@ -1,7 +1,7 @@
# Graph Report - src (2026-05-20)
## Corpus Check
- Large corpus: 575 files · ~286,002 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
- Large corpus: 575 files · ~286,028 words. Semantic extraction will be expensive (many Claude tokens). Consider running on a subfolder, or use --no-semantic to run AST-only.
## Summary
- 1441 nodes · 1845 edges · 45 communities detected
+2 -2
View File
@@ -232,8 +232,8 @@
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/cell-storage/material-stock-log/index.vue": 1779269594.6014075,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/outside/Iframe.vue": 1778582068.071536,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/demo/index.vue": 1779227504.0518396,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue": 1779269722.9883883,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue": 1779270881.783701,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue": 1779271253.4280891,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue": 1779270994.1626155,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/exhibition-appointment/index.vue": 1779269551.8199837,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/audit/index.vue": 1779227504.1761265,
"/Users/wuzilong/work/00code/zkxw/web-admin/src/views/research-donation/list/index.vue": 1779227504.1804457,
+28 -2
View File
@@ -996,6 +996,7 @@ export function fetchCollectionProtocolNoList(params?: {
page?: number
pageSize?: number
keyword?: string
issuedUserId?: string
}) {
return request.get<PageResult<Api.BizCollectionProtocolNo.ProtocolNoItem>>({
url: '/web/admin/collection-protocol-nos',
@@ -1007,12 +1008,23 @@ export function fetchCreateCollectionProtocolNo(data: {
issued?: number
orderNum?: number
remark?: string
issuedUserId?: string | null
issuedUserName?: string | null
issuedTime?: string | null
}) {
return request.post({ url: '/web/admin/collection-protocol-nos', params: data })
}
export function fetchUpdateCollectionProtocolNo(
id: string,
data: Partial<{ protocolNo: string; issued: number; orderNum: number; remark: string }>
data: Partial<{
protocolNo: string
issued: number
orderNum: number
remark: string
issuedUserId: string | null
issuedUserName: string | null
issuedTime: string | null
}>
) {
return request.put({ url: `/web/admin/collection-protocol-nos/${id}`, params: data })
}
@@ -1061,6 +1073,8 @@ export function fetchSampleCodeList(params?: {
page?: number
pageSize?: number
keyword?: string
sampleCodeType?: string
issuedUserId?: string
}) {
return request.get<PageResult<Api.BizSampleCode.SampleCodeItem>>({
url: '/web/admin/sample-codes',
@@ -1069,7 +1083,11 @@ export function fetchSampleCodeList(params?: {
}
export function fetchCreateSampleCode(data: {
sampleCode: string
sampleCodeType?: string
issued?: number
issuedUserId?: string | null
issuedUserName?: string | null
issuedTime?: string
orderNum?: number
remark?: string
}) {
@@ -1077,7 +1095,15 @@ export function fetchCreateSampleCode(data: {
}
export function fetchUpdateSampleCode(
id: string,
data: Partial<{ sampleCode: string; issued: number; orderNum: number; remark: string }>
data: Partial<{
sampleCode: string
issued: number
issuedUserId: string | null
issuedUserName: string | null
issuedTime: string
orderNum: number
remark: string
}>
) {
return request.put({ url: `/web/admin/sample-codes/${id}`, params: data })
}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_operations_storage_facility_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L1"}, {"id": "storage_facility_index_if", "label": "if()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L550"}, {"id": "storage_facility_index_push", "label": "push()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L553"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_operations_storage_facility_index_vue", "target": "storage_facility_index_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L550", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_operations_storage_facility_index_vue", "target": "storage_facility_index_push", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L553", "weight": 1.0}], "raw_calls": [{"caller_nid": "storage_facility_index_if", "callee": "set", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/storage-facility/index.vue", "source_location": "L551"}]}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_operations_clean_room_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L1"}, {"id": "clean_room_index_handleselectionchange", "label": "handleSelectionChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L431"}, {"id": "clean_room_index_loaddata", "label": "loadData()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L455"}, {"id": "clean_room_index_handlesearch", "label": "handleSearch()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L470"}, {"id": "clean_room_index_handlereset", "label": "handleReset()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L475"}, {"id": "clean_room_index_resetform", "label": "resetForm()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L482"}, {"id": "clean_room_index_handleadd", "label": "handleAdd()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L492"}, {"id": "clean_room_index_handleedit", "label": "handleEdit()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L500"}, {"id": "clean_room_index_handlesubmit", "label": "handleSubmit()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L514"}, {"id": "clean_room_index_handleview", "label": "handleView()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L541"}, {"id": "clean_room_index_handledelete", "label": "handleDelete()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L546"}, {"id": "clean_room_index_handlebatchdelete", "label": "handleBatchDelete()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L553"}, {"id": "clean_room_index_formatuserlabel", "label": "formatUserLabel()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L602"}, {"id": "clean_room_index_remotesearchusers", "label": "remoteSearchUsers()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L612"}, {"id": "clean_room_index_onpersonselectchange", "label": "onPersonSelectChange()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L631"}, {"id": "clean_room_index_loaddeptdata", "label": "loadDeptData()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L645"}, {"id": "clean_room_index_resolvepersonforedit", "label": "resolvePersonForEdit()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L662"}, {"id": "clean_room_index_handleaccesslog", "label": "handleAccessLog()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L684"}, {"id": "clean_room_index_loadaccesslogdata", "label": "loadAccessLogData()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L691"}, {"id": "clean_room_index_resetlogform", "label": "resetLogForm()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L707"}, {"id": "clean_room_index_handleaddlog", "label": "handleAddLog()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L719"}, {"id": "clean_room_index_handleeditlog", "label": "handleEditLog()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/operations/clean-room/index.vue", "source_location": "L727"}, {"id": "clean_room_index_handlelogsubmit", "label": "handleLine truncated
@@ -18,6 +18,22 @@
<el-form-item label="关键词">
<el-input v-model="searchForm.keyword" placeholder="协议号/备注" clearable />
</el-form-item>
<el-form-item label="下发对象">
<el-select
v-model="searchForm.issuedUserId"
placeholder="全部"
filterable
clearable
style="width: 100%"
>
<el-option
v-for="opt in userOptions"
:key="opt.value"
:label="opt.label"
:value="opt.value"
/>
</el-select>
</el-form-item>
</div>
<div class="filter-actions-row">
<span class="filter-hint">模糊查询。</span>
@@ -39,6 +55,7 @@
新增协议号
</el-button>
<el-button class="btn-ghost" @click="openBatchGenerate">
<el-icon><DocumentAdd /></el-icon>
批量生成
</el-button>
<el-button
@@ -46,6 +63,7 @@
:disabled="selectedRows.length === 0"
@click="openBatchIssue"
>
<el-icon><Promotion /></el-icon>
批量下发
</el-button>
<el-button
@@ -53,6 +71,7 @@
:disabled="selectedRows.length === 0"
@click="handleBatchRevoke"
>
<el-icon><RefreshRight /></el-icon>
批量收回
</el-button>
<el-button
@@ -110,7 +129,7 @@
align="center"
header-align="center"
>
<template #default="{ row }">{{ row.issuedUserName || '-' }}</template>
<template #default="{ row }">{{ resolveIssuedUserName(row) }}</template>
</el-table-column>
<el-table-column
prop="issuedTime"
@@ -121,6 +140,16 @@
>
<template #default="{ row }">{{ row.issuedTime || '-' }}</template>
</el-table-column>
<el-table-column
prop="remark"
label="备注"
min-width="140"
align="center"
header-align="center"
show-overflow-tooltip
>
<template #default="{ row }">{{ row.remark || '-' }}</template>
</el-table-column>
<el-table-column
prop="createTime"
label="创建时间"
@@ -314,7 +343,7 @@
inactive-text="否"
/>
</el-form-item>
<el-form-item v-if="formData.issued === 1" label="下发用户">
<el-form-item v-if="formData.issued === 1" label="下发用户" prop="issuedUserId">
<el-select
v-model="formData.issuedUserId"
placeholder="请选择用户"
@@ -363,7 +392,18 @@
<script setup lang="ts">
import { ref, reactive, computed, onMounted } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { Plus, Close, Check, View, Tickets, RefreshLeft, Search } from '@element-plus/icons-vue'
import {
Plus,
Close,
Check,
View,
Tickets,
RefreshLeft,
Search,
DocumentAdd,
Promotion,
RefreshRight
} from '@element-plus/icons-vue'
import SystemViewDialog from '@/components/business/system-view-dialog/index.vue'
import { withFullscreenLoading, fullscreenLoadingText } from '@/utils/fullscreen-loading'
import {
@@ -379,7 +419,10 @@
defineOptions({ name: 'BizCollectionProtocolNo' })
const searchForm = reactive<{ keyword: string }>({ keyword: '' })
const searchForm = reactive<{ keyword: string; issuedUserId: string }>({
keyword: '',
issuedUserId: ''
})
const tableData = ref<Api.BizCollectionProtocolNo.ProtocolNoItem[]>([])
const selectedRows = ref<Api.BizCollectionProtocolNo.ProtocolNoItem[]>([])
const loading = ref(false)
@@ -403,7 +446,7 @@
fields: [
{ label: '采集协议号', value: row.protocolNo },
{ label: '是否下发', value: row.issued === 1 ? '是' : '否' },
{ label: '下发对象', value: row.issuedUserName || '-' },
{ label: '下发对象', value: resolveIssuedUserName(row) },
{ label: '下发时间', value: row.issuedTime || '-' },
{ label: '创建时间', value: row.createTime },
{ label: '备注', value: row.remark, span: true }
@@ -458,6 +501,15 @@
}
const userOptions = ref<Array<{ label: string; value: string }>>([])
function resolveIssuedUserName(row: Api.BizCollectionProtocolNo.ProtocolNoItem): string {
const name = (row.issuedUserName || '').trim()
if (name) return name
const uid = (row.issuedUserId || '').trim()
if (!uid) return '-'
const opt = userOptions.value.find((u) => u.value === uid)
return (opt?.label || '').trim() || '-'
}
const formData = reactive({
protocolNo: '',
issued: 0,
@@ -469,7 +521,19 @@
})
const formRules = {
protocolNo: [{ required: true, message: '请输入采集协议号', trigger: 'blur' }]
protocolNo: [{ required: true, message: '请输入采集协议号', trigger: 'blur' }],
issuedUserId: [
{
validator: (_rule: unknown, value: string, callback: (err?: Error) => void) => {
if (formData.issued === 1 && !(value || '').trim()) {
callback(new Error('请选择下发用户'))
return
}
callback()
},
trigger: 'change'
}
]
}
const handleSelectionChange = (rows: Api.BizCollectionProtocolNo.ProtocolNoItem[]) => {
@@ -482,7 +546,8 @@
const res = await fetchCollectionProtocolNoList({
page: pagination.page,
pageSize: pagination.pageSize,
keyword: searchForm.keyword || undefined
keyword: searchForm.keyword || undefined,
issuedUserId: searchForm.issuedUserId || undefined
})
tableData.value = res.list || []
pagination.total = res.total ?? 0
@@ -498,6 +563,7 @@
function handleReset() {
searchForm.keyword = ''
searchForm.issuedUserId = ''
pagination.page = 1
loadData()
}
@@ -513,12 +579,13 @@
editingId.value = null
}
function handleAdd() {
async function handleAdd() {
isEdit.value = false
dialogTitle.value = '新增协议号'
resetForm()
dialogVisible.value = true
formRef.value?.clearValidate?.()
await loadUserOptions()
}
async function handleEdit(row: Api.BizCollectionProtocolNo.ProtocolNoItem) {
@@ -534,22 +601,25 @@
formData.remark = row.remark || ''
dialogVisible.value = true
formRef.value?.clearValidate?.()
if (!userOptions.value.length) {
try {
userOptions.value = await fetchUserOptions()
} catch { /* ignore */ }
}
await loadUserOptions()
}
async function handleSubmit() {
await formRef.value?.validate?.()
submitLoading.value = true
try {
const issueUserOpt =
formData.issued === 1
? userOptions.value.find((u) => u.value === formData.issuedUserId)
: undefined
const payload = {
protocolNo: formData.protocolNo.trim(),
issued: formData.issued,
issuedUserId: formData.issued === 1 ? formData.issuedUserId || undefined : null,
issuedUserName: formData.issued === 1 ? formData.issuedUserName || undefined : null,
issuedUserName:
formData.issued === 1
? (formData.issuedUserName || issueUserOpt?.label || '').trim() || undefined
: null,
issuedTime: formData.issuedTime || undefined,
orderNum: formData.orderNum,
remark: formData.remark?.trim() || undefined
@@ -642,12 +712,7 @@
if (!selectedRows.value.length) return
batchIssueForm.issuedUserId = ''
batchIssueVisible.value = true
// load user options
if (!userOptions.value.length) {
try {
userOptions.value = await fetchUserOptions()
} catch { /* ignore */ }
}
await loadUserOptions()
}
async function handleBatchIssue() {
@@ -669,7 +734,17 @@
}
}
onMounted(() => {
async function loadUserOptions() {
if (userOptions.value.length) return
try {
userOptions.value = await fetchUserOptions()
} catch {
/* ignore */
}
}
onMounted(async () => {
await loadUserOptions()
loadData()
})
</script>
@@ -75,18 +75,12 @@
align="center"
header-align="center"
/>
<el-table-column
prop="createTime"
label="创建时间"
min-width="180"
align="center"
header-align="center"
/>
<el-table-column
label="医院信息"
min-width="240"
align="center"
align="left"
header-align="center"
class-name="hospital-info-col"
>
<template #default="{ row }">
<template v-if="row.hospitalNames && row.hospitalNames.length">
@@ -101,6 +95,26 @@
<span v-else class="muted">—</span>
</template>
</el-table-column>
<el-table-column
prop="remark"
label="备注"
min-width="160"
align="center"
header-align="center"
show-overflow-tooltip
>
<template #default="{ row }">
<span v-if="row.remark">{{ row.remark }}</span>
<span v-else class="muted">—</span>
</template>
</el-table-column>
<el-table-column
prop="createTime"
label="创建时间"
min-width="180"
align="center"
header-align="center"
/>
<el-table-column
label="操作"
width="400"
@@ -232,6 +246,19 @@
align="center"
header-align="center"
/>
<el-table-column
prop="remark"
label="备注"
min-width="160"
align="center"
header-align="center"
show-overflow-tooltip
>
<template #default="{ row }">
<span v-if="row.remark">{{ row.remark }}</span>
<span v-else class="muted">—</span>
</template>
</el-table-column>
<el-table-column
label="操作"
width="260"
@@ -550,6 +577,7 @@
currentRegionId.value = ''
currentRegionName.value = ''
hospitalTable.value = []
loadData()
}
function handleAddHospital() {
@@ -653,10 +681,17 @@
padding-top: 0;
}
:deep(.hospital-info-col .cell) {
white-space: normal;
line-height: 1.5;
}
.hospital-cell-line {
line-height: 1.8;
text-align: left;
padding-left: 8px;
}
.hospital-cell-line + .hospital-cell-line {
margin-top: 2px;
}
.muted {
@@ -280,7 +280,7 @@
const formData = reactive({
customerName: '',
sex: '2',
sex: '0',
idCardNo: '',
age: null as number | null,
phoneNo: '',
@@ -325,7 +325,7 @@
function resetForm() {
formData.customerName = ''
formData.sex = '2'
formData.sex = '0'
formData.idCardNo = ''
formData.age = null
formData.phoneNo = ''
@@ -18,6 +18,33 @@
<el-form-item label="关键词">
<el-input v-model="searchForm.keyword" placeholder="样本编码/备注" clearable />
</el-form-item>
<el-form-item label="编码类型">
<el-select
v-model="searchForm.sampleCodeType"
placeholder="全部"
clearable
style="width: 100%"
>
<el-option label="造血编码 (ZKZX)" value="zxbm" />
<el-option label="脐带编码 (ZKQD)" value="qdbm" />
</el-select>
</el-form-item>
<el-form-item label="下发对象">
<el-select
v-model="searchForm.issuedUserId"
placeholder="全部"
filterable
clearable
style="width: 100%"
>
<el-option
v-for="opt in userOptions"
:key="opt.value"
:label="opt.label"
:value="opt.value"
/>
</el-select>
</el-form-item>
</div>
<div class="filter-actions-row">
<span class="filter-hint">模糊查询。</span>
@@ -39,6 +66,7 @@
新增样本编码
</el-button>
<el-button class="btn-ghost" @click="openBatchGenerate">
<el-icon><DocumentAdd /></el-icon>
批量生成
</el-button>
<el-button
@@ -46,6 +74,7 @@
:disabled="selectedRows.length === 0"
@click="openBatchIssue"
>
<el-icon><Promotion /></el-icon>
批量下发
</el-button>
<el-button
@@ -53,6 +82,7 @@
:disabled="selectedRows.length === 0"
@click="handleBatchRevoke"
>
<el-icon><RefreshRight /></el-icon>
批量收回
</el-button>
<el-button
@@ -130,6 +160,16 @@
>
<template #default="{ row }">{{ row.issuedTime || '-' }}</template>
</el-table-column>
<el-table-column
prop="remark"
label="备注"
min-width="120"
align="center"
header-align="center"
show-overflow-tooltip
>
<template #default="{ row }">{{ row.remark || '-' }}</template>
</el-table-column>
<el-table-column
prop="createTime"
label="创建时间"
@@ -316,7 +356,17 @@
maxlength="32"
/>
</el-form-item>
<el-form-item v-if="isEdit" label="编码类型">
<el-form-item v-if="!isEdit" label="编码类型" prop="sampleCodeType">
<el-select
v-model="formData.sampleCodeType"
placeholder="请选择"
style="width: 100%"
>
<el-option label="造血编码 (ZKZX)" value="zxbm" />
<el-option label="脐带编码 (ZKQD)" value="qdbm" />
</el-select>
</el-form-item>
<el-form-item v-else label="编码类型">
<span class="text-sm text-gray-500">{{ sampleCodeTypeLabel(formData.sampleCodeType) }}</span>
</el-form-item>
<el-form-item label="是否下发">
@@ -329,7 +379,7 @@
inactive-text="否"
/>
</el-form-item>
<el-form-item v-if="formData.issued === 1" label="下发用户">
<el-form-item v-if="formData.issued === 1" label="下发用户" prop="issuedUserId">
<el-select
v-model="formData.issuedUserId"
placeholder="请选择用户"
@@ -378,7 +428,18 @@
<script setup lang="ts">
import { ref, reactive, computed, onMounted } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { Plus, Close, Check, View, Ticket, RefreshLeft, Search } from '@element-plus/icons-vue'
import {
Plus,
Close,
Check,
View,
Ticket,
RefreshLeft,
Search,
DocumentAdd,
Promotion,
RefreshRight
} from '@element-plus/icons-vue'
import SystemViewDialog from '@/components/business/system-view-dialog/index.vue'
import { withFullscreenLoading, fullscreenLoadingText } from '@/utils/fullscreen-loading'
import {
@@ -395,7 +456,11 @@
defineOptions({ name: 'BizSampleCode' })
const searchForm = reactive<{ keyword: string }>({ keyword: '' })
const searchForm = reactive<{ keyword: string; sampleCodeType: string; issuedUserId: string }>({
keyword: '',
sampleCodeType: '',
issuedUserId: ''
})
const tableData = ref<Api.BizSampleCode.SampleCodeItem[]>([])
const selectedRows = ref<Api.BizSampleCode.SampleCodeItem[]>([])
const loading = ref(false)
@@ -489,7 +554,20 @@
})
const formRules = {
sampleCode: [{ required: true, message: '请输入样本编码', trigger: 'blur' }]
sampleCode: [{ required: true, message: '请输入样本编码', trigger: 'blur' }],
sampleCodeType: [{ required: true, message: '请选择编码类型', trigger: 'change' }],
issuedUserId: [
{
validator: (_rule: unknown, value: string, callback: (err?: Error) => void) => {
if (formData.issued === 1 && !(value || '').trim()) {
callback(new Error('请选择下发用户'))
return
}
callback()
},
trigger: 'change'
}
]
}
const handleSelectionChange = (rows: Api.BizSampleCode.SampleCodeItem[]) => {
@@ -502,7 +580,9 @@
const res = await fetchSampleCodeList({
page: pagination.page,
pageSize: pagination.pageSize,
keyword: searchForm.keyword || undefined
keyword: searchForm.keyword || undefined,
sampleCodeType: searchForm.sampleCodeType || undefined,
issuedUserId: searchForm.issuedUserId || undefined
})
tableData.value = res.list || []
pagination.total = res.total ?? 0
@@ -518,13 +598,15 @@
function handleReset() {
searchForm.keyword = ''
searchForm.sampleCodeType = ''
searchForm.issuedUserId = ''
pagination.page = 1
loadData()
}
function resetForm() {
formData.sampleCode = ''
formData.sampleCodeType = ''
formData.sampleCodeType = 'zxbm'
formData.issued = 0
formData.issuedUserId = ''
formData.issuedUserName = ''
@@ -534,12 +616,22 @@
editingId.value = null
}
function handleAdd() {
async function loadUserOptions() {
if (userOptions.value.length) return
try {
userOptions.value = await fetchUserOptions()
} catch {
/* ignore */
}
}
async function handleAdd() {
isEdit.value = false
dialogTitle.value = '新增样本编码'
resetForm()
dialogVisible.value = true
formRef.value?.clearValidate?.()
await loadUserOptions()
}
async function handleEdit(row: Api.BizSampleCode.SampleCodeItem) {
@@ -556,22 +648,26 @@
formData.remark = row.remark || ''
dialogVisible.value = true
formRef.value?.clearValidate?.()
if (!userOptions.value.length) {
try {
userOptions.value = await fetchUserOptions()
} catch { /* ignore */ }
}
await loadUserOptions()
}
async function handleSubmit() {
await formRef.value?.validate?.()
submitLoading.value = true
try {
const issueUserOpt =
formData.issued === 1
? userOptions.value.find((u) => u.value === formData.issuedUserId)
: undefined
const payload = {
sampleCode: formData.sampleCode.trim(),
sampleCodeType: !isEdit.value ? formData.sampleCodeType || undefined : undefined,
issued: formData.issued,
issuedUserId: formData.issued === 1 ? formData.issuedUserId || undefined : null,
issuedUserName: formData.issued === 1 ? formData.issuedUserName || undefined : null,
issuedUserName:
formData.issued === 1
? (formData.issuedUserName || issueUserOpt?.label || '').trim() || undefined
: null,
issuedTime: formData.issuedTime || undefined,
orderNum: formData.orderNum,
remark: formData.remark?.trim() || undefined
@@ -664,11 +760,7 @@
if (!selectedRows.value.length) return
batchIssueForm.issuedUserId = ''
batchIssueVisible.value = true
if (!userOptions.value.length) {
try {
userOptions.value = await fetchUserOptions()
} catch { /* ignore */ }
}
await loadUserOptions()
}
async function handleBatchIssue() {
@@ -690,7 +782,8 @@
}
}
onMounted(() => {
onMounted(async () => {
await loadUserOptions()
loadData()
})
</script>