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:04 +08:00
parent c9dcb69832
commit cb90bc6d2a

View File

@ -3,24 +3,48 @@
"alias": "contract_list",
"title": "合同管理",
"params": {
"sortby": ["created_at desc"],
"sortby": [
"created_at desc"
],
"logined_userid": "owner_id",
"browserfields": {
"exclouded": ["id", "org_id", "ai_compliance_result", "ai_key_dates", "updated_at", "opportunity_id", "customer_id"],
"exclouded": [
"id",
"org_id",
"ai_compliance_result",
"ai_key_dates",
"updated_at",
"opportunity_id",
"customer_id"
],
"alters": {
"contract_type": {
"uitype": "code",
"dataurl": "{{entire_url('appcodes_list')}}",
"datamethod": "GET",
"dataparams": {"id": "CONTRACT_TYPE"}
"dataparams": {
"id": "CONTRACT_TYPE"
}
},
"status": {
"uitype": "code",
"data": [
{"value": "draft", "text": "草稿"},
{"value": "active", "text": "生效"},
{"value": "expired", "text": "过期"},
{"value": "terminated", "text": "终止"}
{
"value": "draft",
"text": "草稿"
},
{
"value": "active",
"text": "生效"
},
{
"value": "expired",
"text": "过期"
},
{
"value": "terminated",
"text": "终止"
}
]
},
"credit_period": {
@ -46,7 +70,7 @@
{
"field": "id",
"title": "合同附件",
"url": "{{entire_url('contract_attachment_list')}}",
"url": "{{entire_url('contract_attachment')}}",
"subtable": "contract_attachment"
},
{