From d18ba12ff9b1487ba6a9d25c862316d0b3f8b11d Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 6 May 2026 08:56:02 +0800 Subject: [PATCH] fix: correct subtable URLs to use relative aliases for same-module, absolute paths for cross-module --- json/customers_list.json | 16 +++++++++++----- json/handover_list.json | 12 ++++++++++-- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/json/customers_list.json b/json/customers_list.json index 8c68e7d..065555a 100644 --- a/json/customers_list.json +++ b/json/customers_list.json @@ -3,10 +3,16 @@ "alias": "customers_list", "title": "客户档案管理", "params": { - "sortby": ["created_at desc"], + "sortby": [ + "created_at desc" + ], "logined_userid": "owner_id", "browserfields": { - "exclouded": ["id", "owner_id", "updated_at"], + "exclouded": [ + "id", + "owner_id", + "updated_at" + ], "alters": { "customer_type": { "uitype": "code", @@ -72,19 +78,19 @@ { "field": "customer_id", "title": "客户360度视图", - "url": "{{entire_url('customer_360_view')}}", + "url": "{{entire_url('customers')}}", "subtable": "customers" }, { "field": "customer_id", "title": "交接记录", - "url": "{{entire_url('handover_history_list')}}", + "url": "{{entire_url('handover_list')}}", "subtable": "customer_handover" }, { "field": "customer_id", "title": "公海记录", - "url": "{{entire_url('pool_history_list')}}", + "url": "{{entire_url('customer_pool_list')}}", "subtable": "customer_pool" } ] diff --git a/json/handover_list.json b/json/handover_list.json index cde6617..7c0d93f 100644 --- a/json/handover_list.json +++ b/json/handover_list.json @@ -3,9 +3,17 @@ "alias": "handover_list", "title": "客户交接管理", "params": { - "sortby": ["created_at desc"], + "sortby": [ + "created_at desc" + ], "browserfields": { - "exclouded": ["id", "from_owner_id", "to_owner_id", "reviewer_id", "updated_at"], + "exclouded": [ + "id", + "from_owner_id", + "to_owner_id", + "reviewer_id", + "updated_at" + ], "alters": { "handover_reason": { "uitype": "code",