fix: correct subtable URLs to use relative aliases for same-module, absolute paths for cross-module
This commit is contained in:
parent
c9dcb69832
commit
cb90bc6d2a
@ -3,24 +3,48 @@
|
|||||||
"alias": "contract_list",
|
"alias": "contract_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", "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": {
|
"alters": {
|
||||||
"contract_type": {
|
"contract_type": {
|
||||||
"uitype": "code",
|
"uitype": "code",
|
||||||
"dataurl": "{{entire_url('appcodes_list')}}",
|
"dataurl": "{{entire_url('appcodes_list')}}",
|
||||||
"datamethod": "GET",
|
"datamethod": "GET",
|
||||||
"dataparams": {"id": "CONTRACT_TYPE"}
|
"dataparams": {
|
||||||
|
"id": "CONTRACT_TYPE"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"status": {
|
"status": {
|
||||||
"uitype": "code",
|
"uitype": "code",
|
||||||
"data": [
|
"data": [
|
||||||
{"value": "draft", "text": "草稿"},
|
{
|
||||||
{"value": "active", "text": "生效"},
|
"value": "draft",
|
||||||
{"value": "expired", "text": "过期"},
|
"text": "草稿"
|
||||||
{"value": "terminated", "text": "终止"}
|
},
|
||||||
|
{
|
||||||
|
"value": "active",
|
||||||
|
"text": "生效"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": "expired",
|
||||||
|
"text": "过期"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": "terminated",
|
||||||
|
"text": "终止"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"credit_period": {
|
"credit_period": {
|
||||||
@ -46,7 +70,7 @@
|
|||||||
{
|
{
|
||||||
"field": "id",
|
"field": "id",
|
||||||
"title": "合同附件",
|
"title": "合同附件",
|
||||||
"url": "{{entire_url('contract_attachment_list')}}",
|
"url": "{{entire_url('contract_attachment')}}",
|
||||||
"subtable": "contract_attachment"
|
"subtable": "contract_attachment"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user