fix: correct subtable URLs to use relative aliases for same-module, absolute paths for cross-module

This commit is contained in:
yumoqing 2026-05-06 08:56:02 +08:00
parent 2d324e2da7
commit d18ba12ff9
2 changed files with 21 additions and 7 deletions

View File

@ -3,10 +3,16 @@
"alias": "customers_list", "alias": "customers_list",
"title": "客户档案管理", "title": "客户档案管理",
"params": { "params": {
"sortby": ["created_at desc"], "sortby": [
"created_at desc"
],
"logined_userid": "owner_id", "logined_userid": "owner_id",
"browserfields": { "browserfields": {
"exclouded": ["id", "owner_id", "updated_at"], "exclouded": [
"id",
"owner_id",
"updated_at"
],
"alters": { "alters": {
"customer_type": { "customer_type": {
"uitype": "code", "uitype": "code",
@ -72,19 +78,19 @@
{ {
"field": "customer_id", "field": "customer_id",
"title": "客户360度视图", "title": "客户360度视图",
"url": "{{entire_url('customer_360_view')}}", "url": "{{entire_url('customers')}}",
"subtable": "customers" "subtable": "customers"
}, },
{ {
"field": "customer_id", "field": "customer_id",
"title": "交接记录", "title": "交接记录",
"url": "{{entire_url('handover_history_list')}}", "url": "{{entire_url('handover_list')}}",
"subtable": "customer_handover" "subtable": "customer_handover"
}, },
{ {
"field": "customer_id", "field": "customer_id",
"title": "公海记录", "title": "公海记录",
"url": "{{entire_url('pool_history_list')}}", "url": "{{entire_url('customer_pool_list')}}",
"subtable": "customer_pool" "subtable": "customer_pool"
} }
] ]

View File

@ -3,9 +3,17 @@
"alias": "handover_list", "alias": "handover_list",
"title": "客户交接管理", "title": "客户交接管理",
"params": { "params": {
"sortby": ["created_at desc"], "sortby": [
"created_at desc"
],
"browserfields": { "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": { "alters": {
"handover_reason": { "handover_reason": {
"uitype": "code", "uitype": "code",