diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 3256801..48f1a75 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -26,6 +26,7 @@ ] }, "row_options": { + "editexclouded": ["id", "created_at", "updated_at"], "browserfields": { "exclouded": ["id"], "alters": { @@ -36,8 +37,8 @@ }, "fields": [ {"name": "domain", "type": "str", "length": 200, "cwidth": 20, "uitype": "str", "label": "域名"}, - {"name": "resellerid", "type": "str", "length": 32, "cwidth": 15, "uitype": "code", "label": "分销商"}, - {"name": "status", "type": "str", "length": 10, "cwidth": 6, "uitype": "code", "label": "状态"}, + {"name": "resellerid", "type": "str", "length": 32, "cwidth": 15, "uitype": "code", "label": "分销商", "dataurl": "{{entire_url('/supplychain/api/get_search_sub_distributor_id.dspy')}}"}, + {"name": "status", "type": "str", "length": 10, "cwidth": 6, "uitype": "code", "data": [{"value": "active", "text": "启用"}, {"value": "inactive", "text": "停用"}], "label": "状态"}, {"name": "created_at", "type": "timestamp", "cwidth": 12, "uitype": "timestamp", "label": "创建时间"} ] }