Skip to content

Commit 5106ab9

Browse files
committed
fix:add dashboard json
1 parent a59324c commit 5106ab9

3 files changed

Lines changed: 2414 additions & 2 deletions

File tree

mockServer/src/assets/json/apps.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"apps": [
33
{
4-
"id": 1,
4+
"id": 16,
55
"createdBy": "6",
66
"lastUpdatedBy": "6",
77
"tenantId": "1",
@@ -50,7 +50,7 @@
5050
"data_source_global": {}
5151
},
5252
{
53-
"id": 2,
53+
"id": 1,
5454
"createdBy": "1",
5555
"lastUpdatedBy": "1",
5656
"tenantId": "1",
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"data": {
3+
"id": 16,
4+
"name": "dashboard",
5+
"app_website": null,
6+
"platform": {
7+
"id": 897,
8+
"name": "portal-platform"
9+
},
10+
"obs_url": "",
11+
"created_by": null,
12+
"updated_by": null,
13+
"created_at": "2022-06-08T07:19:01.000Z",
14+
"updated_at": "2023-09-04T08:55:40.000Z",
15+
"state": null,
16+
"published": false,
17+
"createdBy": 86,
18+
"updatedBy": 564,
19+
"tenant": 1,
20+
"home_page": "1",
21+
"css": null,
22+
"config": {},
23+
"git_group": "",
24+
"project_name": "",
25+
"constants": null,
26+
"data_handler": {
27+
"type": "JSFunction",
28+
"value": "function dataHanlder(res){\n return res;\n}"
29+
},
30+
"description": "数据看板",
31+
"latest": 22,
32+
"platform_history": null,
33+
"editor_url": "",
34+
"branch": "develop",
35+
"visit_url": null,
36+
"is_demo": null,
37+
"image_url": "",
38+
"is_default": true,
39+
"template_type": null,
40+
"set_template_time": null,
41+
"set_template_by": null,
42+
"set_default_by": 169,
43+
"framework": "Vue",
44+
"global_state": [],
45+
"default_lang": null,
46+
"extend_config": {
47+
"business": {
48+
"serviceName": "",
49+
"endpointName": "cce",
50+
"endpointId": "ee",
51+
"serviceId": "ee",
52+
"router": "ee"
53+
},
54+
"env": {
55+
"alpha": {
56+
"regions": [
57+
{
58+
"name": "",
59+
"baseUrl": "",
60+
"isDefault": false
61+
}
62+
],
63+
"isDefault": true
64+
}
65+
},
66+
"type": "console"
67+
},
68+
"assets_url": "",
69+
"data_hash": "ae128e37f6bc378f1b9c21d75bd05551",
70+
"can_associate": true,
71+
"data_source_global": {
72+
"dataHandler": {
73+
"type": "JSFunction",
74+
"value": "function dataHanlder(res){\n return res;\n}"
75+
}
76+
}
77+
}
78+
}

0 commit comments

Comments
 (0)