- 独立部署版
- V1.0-(2022.8.18)
- v1.1-(2023.6.20)
- v1.2-(2023.10.20)
- v1.3-(2023.11.20)
- 低代码
- v1.4
- v1.5
- v1.6
- v1.8
- v1.9
- v2.0
获取实体搜索字段展示接口
开发中
GET
/ent/crud/dashboard/view/{id}
责任人:未设置
请求参数
Path 参数
id
string
实体ID
示例值:
1
Header 参数
Authorization
string
必需
默认值:
Bearer {{ENT_TOKEN}}
X-Requested-With
string
必需
默认值:
XMLHttpRequest
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/ent/crud/dashboard/view/1' \
--header 'Authorization;' \
--header 'X-Requested-With;'
返回响应
🟢200成功
application/json
Body
message
string
必需
status
integer
必需
data
array [object {6}]
必需
type
string
必需
field
string
必需
title
string
必需
id
integer
必需
options
array [object {14}]
必需
crud_id
integer
必需
tips
integer
必需
示例
{
"message": "ok",
"status": 200,
"data": [
{
"type": "radio",
"field": "paichezhuangtai",
"title": "派车状态",
"id": 1620,
"options": [
{
"id": 4317,
"name": "未完成",
"value": "1",
"type_id": 40,
"pid": "",
"type_name": "paichezhuanggtai",
"sort": 0,
"status": 1,
"is_default": 0,
"level": 1,
"mark": "",
"created_at": "2024-04-30 14:13:09",
"updated_at": "2024-04-30 14:13:09",
"checkbox": false
},
{
"id": 4318,
"name": "已完成",
"value": "2",
"type_id": 40,
"pid": "",
"type_name": "paichezhuanggtai",
"sort": 0,
"status": 1,
"is_default": 0,
"level": 1,
"mark": "",
"created_at": "2024-04-30 14:13:15",
"updated_at": "2024-04-30 14:13:15",
"checkbox": false
}
],
"crud_id": 139
},
{
"type": "input_select",
"field": "guanlianyongcheshenqing",
"title": "关联用车申请",
"id": 1619,
"options": [],
"crud_id": 139
},
{
"type": "textarea",
"field": "beizhu",
"title": "备注",
"id": 1618,
"options": [],
"crud_id": 139
},
{
"type": "input",
"field": "shoucheren",
"title": "收车人",
"id": 1617,
"options": [],
"crud_id": 139
},
{
"type": "date_time_picker",
"field": "shoucheshijian",
"title": "收车时间",
"id": 1616,
"options": [],
"crud_id": 139
},
{
"type": "input",
"field": "paicheren",
"title": "派车人",
"id": 1615,
"options": [],
"crud_id": 139
},
{
"type": "date_time_picker",
"field": "paicheshijian",
"title": "派车时间",
"id": 1614,
"options": [],
"crud_id": 139
},
{
"type": "input_select",
"field": "guanlianjiashiyuan",
"title": "关联驾驶员",
"id": 1613,
"options": [],
"crud_id": 139
},
{
"type": "input_select",
"field": "guanliancheliang",
"title": "关联车辆",
"id": 1612,
"options": [],
"crud_id": 139
},
{
"type": "input",
"field": "paicheshuoming",
"title": "派车说明",
"id": 1611,
"options": [],
"crud_id": 139
},
{
"type": "date_time_picker",
"field": "updated_at",
"title": "修改时间",
"id": 1577,
"options": [],
"crud_id": 139
},
{
"type": "date_time_picker",
"field": "created_at",
"title": "创建时间",
"id": 1576,
"options": [],
"crud_id": 139
},
{
"type": "input_select",
"field": "owner_user_id",
"title": "所属用户",
"id": 1575,
"options": [],
"crud_id": 139
},
{
"type": "input_select",
"field": "frame_id",
"title": "所属部门",
"id": 1574,
"options": [],
"crud_id": 139
},
{
"type": "input_select",
"field": "update_user_id",
"title": "修改用户",
"id": 1573,
"options": [],
"crud_id": 139
},
{
"type": "input_select",
"field": "user_id",
"title": "创建用户",
"id": 1572,
"options": [],
"crud_id": 139
},
{
"type": "input_number",
"field": "id",
"title": "主键ID",
"id": 1571,
"options": [],
"crud_id": 139
},
{
"type": "textarea",
"field": "cheliangjichuxinxi.beizhu",
"title": "车辆基础信息(关联车辆).备注",
"id": 1586,
"options": [],
"crud_id": 136
},
{
"type": "image",
"field": "cheliangjichuxinxi.cheliangtupian",
"title": "车辆基础信息(关联车辆).车辆图片",
"id": 1585,
"options": [],
"crud_id": 136
},
{
"type": "input",
"field": "cheliangjichuxinxi.fadongjibianhao",
"title": "车辆基础信息(关联车辆).发动机编号",
"id": 1584,
"options": [],
"crud_id": 136
},
{
"type": "date_picker",
"field": "cheliangjichuxinxi.gouzhiriqi",
"title": "车辆基础信息(关联车辆).购置日期",
"id": 1583,
"options": [],
"crud_id": 136
},
{
"type": "input_price",
"field": "cheliangjichuxinxi.goumaijiage",
"title": "车辆基础信息(关联车辆).购买价格",
"id": 1582,
"options": [],
"crud_id": 136
},
{
"type": "input",
"field": "cheliangjichuxinxi.changpaixinghao",
"title": "车辆基础信息(关联车辆).厂牌型号",
"id": 1581,
"options": [],
"crud_id": 136
},
{
"type": "radio",
"field": "cheliangjichuxinxi.cheliangleixing",
"title": "车辆基础信息(关联车辆).车辆类型",
"id": 1580,
"options": [
{
"id": 4301,
"name": "小轿车",
"value": "1",
"type_id": 37,
"pid": "",
"type_name": "cheliangleixing",
"sort": 0,
"status": 1,
"is_default": 0,
"level": 1,
"mark": "",
"created_at": "2024-04-29 17:04:51",
"updated_at": "2024-04-29 17:04:51",
"checkbox": false
},
{
"id": 4302,
"name": "商务车",
"value": "2",
"type_id": 37,
"pid": "",
"type_name": "cheliangleixing",
"sort": 0,
"status": 1,
"is_default": 0,
"level": 1,
"mark": "",
"created_at": "2024-04-29 17:05:13",
"updated_at": "2024-04-29 17:05:13",
"checkbox": false
},
{
"id": 4303,
"name": "中巴",
"value": "3",
"type_id": 37,
"pid": "",
"type_name": "cheliangleixing",
"sort": 0,
"status": 1,
"is_default": 0,
"level": 1,
"mark": "",
"created_at": "2024-04-29 17:05:19",
"updated_at": "2024-04-29 17:05:19",
"checkbox": false
},
{
"id": 4304,
"name": "大巴",
"value": "4",
"type_id": 37,
"pid": "",
"type_name": "cheliangleixing",
"sort": 0,
"status": 1,
"is_default": 0,
"level": 1,
"mark": "",
"created_at": "2024-04-29 17:05:40",
"updated_at": "2024-04-29 17:37:12",
"checkbox": false
}
],
"crud_id": 136
},
{
"type": "input",
"field": "cheliangjichuxinxi.chepaihao",
"title": "车辆基础信息(关联车辆).车牌号",
"id": 1579,
"options": [],
"crud_id": 136
},
{
"type": "date_time_picker",
"field": "cheliangjichuxinxi.updated_at",
"title": "车辆基础信息(关联车辆).修改时间",
"id": 1553,
"options": [],
"crud_id": 136
},
{
"type": "date_time_picker",
"field": "cheliangjichuxinxi.created_at",
"title": "车辆基础信息(关联车辆).创建时间",
"id": 1552,
"options": [],
"crud_id": 136
},
{
"type": "input_select",
"field": "cheliangjichuxinxi.owner_user_id",
"title": "车辆基础信息(关联车辆).所属用户",
"id": 1551,
"options": [],
"crud_id": 136
},
{
"type": "input_select",
"field": "cheliangjichuxinxi.frame_id",
"title": "车辆基础信息(关联车辆).所属部门",
"id": 1550,
"options": [],
"crud_id": 136
},
{
"type": "input_select",
"field": "cheliangjichuxinxi.update_user_id",
"title": "车辆基础信息(关联车辆).修改用户",
"id": 1549,
"options": [],
"crud_id": 136
},
{
"type": "input_select",
"field": "cheliangjichuxinxi.user_id",
"title": "车辆基础信息(关联车辆).创建用户",
"id": 1548,
"options": [],
"crud_id": 136
},
{
"type": "input_number",
"field": "cheliangjichuxinxi.id",
"title": "车辆基础信息(关联车辆).主键ID",
"id": 1547,
"options": [],
"crud_id": 136
},
{
"type": "textarea",
"field": "jiashiyuanxinxi.beizhu",
"title": "驾驶员信息(关联驾驶员).备注",
"id": 1601,
"options": [],
"crud_id": 137
},
{
"type": "date_picker",
"field": "jiashiyuanxinxi.jiazhaodaoqishijian",
"title": "驾驶员信息(关联驾驶员).驾照到期时间",
"id": 1600,
"options": [],
"crud_id": 137
},
{
"type": "input",
"field": "jiashiyuanxinxi.jiazhaobianhao",
"title": "驾驶员信息(关联驾驶员).驾照编号",
"id": 1599,
"options": [],
"crud_id": 137
},
{
"type": "radio",
"field": "jiashiyuanxinxi.jiazhaoleixing",
"title": "驾驶员信息(关联驾驶员).驾照类型",
"id": 1598,
"options": [
{
"id": 4311,
"name": "C1",
"value": "1",
"type_id": 39,
"pid": "",
"type_name": "jiazhaoleixing",
"sort": 0,
"status": 1,
"is_default": 0,
"level": 1,
"mark": "",
"created_at": "2024-04-29 17:19:06",
"updated_at": "2024-04-29 17:19:06",
"checkbox": false
},
{
"id": 4312,
"name": "C2",
"value": "2",
"type_id": 39,
"pid": "",
"type_name": "jiazhaoleixing",
"sort": 0,
"status": 1,
"is_default": 0,
"level": 1,
"mark": "",
"created_at": "2024-04-29 17:19:12",
"updated_at": "2024-04-29 17:19:12",
"checkbox": false
},
{
"id": 4313,
"name": "B1",
"value": "3",
"type_id": 39,
"pid": "",
"type_name": "jiazhaoleixing",
"sort": 0,
"status": 1,
"is_default": 0,
"level": 1,
"mark": "",
"created_at": "2024-04-29 17:19:17",
"updated_at": "2024-04-29 17:19:17",
"checkbox": false
},
{
"id": 4314,
"name": "B2",
"value": "4",
"type_id": 39,
"pid": "",
"type_name": "jiazhaoleixing",
"sort": 0,
"status": 1,
"is_default": 0,
"level": 1,
"mark": "",
"created_at": "2024-04-29 17:19:21",
"updated_at": "2024-04-29 17:19:21",
"checkbox": false
},
{
"id": 4315,
"name": "A1",
"value": "5",
"type_id": 39,
"pid": "",
"type_name": "jiazhaoleixing",
"sort": 0,
"status": 1,
"is_default": 0,
"level": 1,
"mark": "",
"created_at": "2024-04-29 17:19:26",
"updated_at": "2024-04-29 17:19:26",
"checkbox": false
},
{
"id": 4316,
"name": "A2",
"value": "6",
"type_id": 39,
"pid": "",
"type_name": "jiazhaoleixing",
"sort": 0,
"status": 1,
"is_default": 0,
"level": 1,
"mark": "",
"created_at": "2024-04-29 17:19:32",
"updated_at": "2024-04-29 17:19:32",
"checkbox": false
}
],
"crud_id": 137
},
{
"type": "input",
"field": "jiashiyuanxinxi.lianxidianhua",
"title": "驾驶员信息(关联驾驶员).联系电话",
"id": 1597,
"options": [],
"crud_id": 137
},
{
"type": "input",
"field": "jiashiyuanxinxi.jiashiyuanxingming",
"title": "驾驶员信息(关联驾驶员).驾驶员姓名",
"id": 1596,
"options": [],
"crud_id": 137
},
{
"type": "input_select",
"field": "jiashiyuanxinxi.guanliancheliang",
"title": "驾驶员信息(关联驾驶员).关联车辆",
"id": 1595,
"options": [],
"crud_id": 137
},
{
"type": "date_time_picker",
"field": "jiashiyuanxinxi.updated_at",
"title": "驾驶员信息(关联驾驶员).修改时间",
"id": 1561,
"options": [],
"crud_id": 137
},
{
"type": "date_time_picker",
"field": "jiashiyuanxinxi.created_at",
"title": "驾驶员信息(关联驾驶员).创建时间",
"id": 1560,
"options": [],
"crud_id": 137
},
{
"type": "input_select",
"field": "jiashiyuanxinxi.owner_user_id",
"title": "驾驶员信息(关联驾驶员).所属用户",
"id": 1559,
"options": [],
"crud_id": 137
},
{
"type": "input_select",
"field": "jiashiyuanxinxi.frame_id",
"title": "驾驶员信息(关联驾驶员).所属部门",
"id": 1558,
"options": [],
"crud_id": 137
},
{
"type": "input_select",
"field": "jiashiyuanxinxi.update_user_id",
"title": "驾驶员信息(关联驾驶员).修改用户",
"id": 1557,
"options": [],
"crud_id": 137
},
{
"type": "input_select",
"field": "jiashiyuanxinxi.user_id",
"title": "驾驶员信息(关联驾驶员).创建用户",
"id": 1556,
"options": [],
"crud_id": 137
},
{
"type": "input_number",
"field": "jiashiyuanxinxi.id",
"title": "驾驶员信息(关联驾驶员).主键ID",
"id": 1555,
"options": [],
"crud_id": 137
},
{
"type": "textarea",
"field": "yongcheshenqing.beizhu",
"title": "用车申请(关联用车申请).备注",
"id": 1610,
"options": [],
"crud_id": 138
},
{
"type": "input_float",
"field": "yongcheshenqing.yujilicheng",
"title": "用车申请(关联用车申请).预计里程",
"id": 1609,
"options": [],
"crud_id": 138
},
{
"type": "input",
"field": "yongcheshenqing.daodaweizhi",
"title": "用车申请(关联用车申请).到达位置",
"id": 1608,
"options": [],
"crud_id": 138
},
{
"type": "input",
"field": "yongcheshenqing.shenqingshiyou",
"title": "用车申请(关联用车申请).申请事由",
"id": 1607,
"options": [],
"crud_id": 138
},
{
"type": "input",
"field": "yongcheshenqing.qishiweizhi",
"title": "用车申请(关联用车申请).起始位置",
"id": 1606,
"options": [],
"crud_id": 138
},
{
"type": "date_time_picker",
"field": "yongcheshenqing.jieshushijian",
"title": "用车申请(关联用车申请).结束时间",
"id": 1605,
"options": [],
"crud_id": 138
},
{
"type": "date_time_picker",
"field": "yongcheshenqing.kaishishijian",
"title": "用车申请(关联用车申请).开始时间",
"id": 1604,
"options": [],
"crud_id": 138
},
{
"type": "input_select",
"field": "yongcheshenqing.shenqingjiashiyuan",
"title": "用车申请(关联用车申请).申请驾驶员",
"id": 1603,
"options": [],
"crud_id": 138
},
{
"type": "input_select",
"field": "yongcheshenqing.shenqingcheliang",
"title": "用车申请(关联用车申请).申请车辆",
"id": 1602,
"options": [],
"crud_id": 138
},
{
"type": "date_time_picker",
"field": "yongcheshenqing.updated_at",
"title": "用车申请(关联用车申请).修改时间",
"id": 1569,
"options": [],
"crud_id": 138
},
{
"type": "date_time_picker",
"field": "yongcheshenqing.created_at",
"title": "用车申请(关联用车申请).创建时间",
"id": 1568,
"options": [],
"crud_id": 138
},
{
"type": "input_select",
"field": "yongcheshenqing.owner_user_id",
"title": "用车申请(关联用车申请).所属用户",
"id": 1567,
"options": [],
"crud_id": 138
},
{
"type": "input_select",
"field": "yongcheshenqing.frame_id",
"title": "用车申请(关联用车申请).所属部门",
"id": 1566,
"options": [],
"crud_id": 138
},
{
"type": "input_select",
"field": "yongcheshenqing.update_user_id",
"title": "用车申请(关联用车申请).修改用户",
"id": 1565,
"options": [],
"crud_id": 138
},
{
"type": "input_select",
"field": "yongcheshenqing.user_id",
"title": "用车申请(关联用车申请).创建用户",
"id": 1564,
"options": [],
"crud_id": 138
},
{
"type": "input_number",
"field": "yongcheshenqing.id",
"title": "用车申请(关联用车申请).主键ID",
"id": 1563,
"options": [],
"crud_id": 138
}
],
"tips": 1
}
🟠404记录不存在(示例)
🟢200修改成功(示例)
🟠401参数不正确(示例)
🟢201新建成功(示例)