Files
qhmes/.trae/skills/jimubi-dashboard/references/templates/default/示例_钻取_1519992838245441538.json

244 lines
6.1 KiB
JSON

{
"id": "1519992838245441538",
"name": "示例_钻取",
"path": "/drag/page/view/1519992838245441538",
"desJson": null,
"template": [
{
"component": "JBar",
"w": 12,
"moved": false,
"x": 0,
"h": 42,
"i": "c801a065-ca40-4095-8d27-6cf722deb09e",
"y": 0,
"pageCompId": "1519994699446870018",
"config": {
"dataMapping": [
{
"mapping": "name",
"filed": "维度"
},
{
"mapping": "value",
"filed": "数值"
}
],
"paramOption": [],
"dataType": 2,
"dataSetName": "钻取api",
"query": [],
"dataSetApi": "http://api.jeecg.com/mock/51/drilling/deptuser",
"drillData": [
{
"source": "name",
"target": "name"
}
],
"url": "http://api.jeecg.com/mock/33/chart",
"timeOut": 0,
"chartData": "[{\"name\":\"苹果\",\"value\":1000879,\"type\":\"手机品牌\"},{\"name\":\"三星\",\"value\":3400879,\"type\":\"手机品牌\"},{\"name\":\"小米\",\"value\":2300879,\"type\":\"手机品牌\"},{\"name\":\"oppo\",\"value\":5400879,\"type\":\"手机品牌\"},{\"name\":\"vivo\",\"value\":3400879,\"type\":\"手机品牌\"}]",
"size": {
"height": 420
},
"dataSetId": "1519274169102020610",
"fieldOption": [
{
"label": "name",
"text": "name",
"value": "name"
},
{
"label": "value",
"text": "value",
"value": "value"
}
],
"dataSetType": "api",
"turnConfig": {
"url": ""
},
"linkageConfig": [],
"dataSetIzAgent": "0",
"option": {
"yAxis": {
"axisLabel": {
"color": "#909198"
},
"name": "销售量",
"nameTextStyle": {
"color": "#333333"
}
},
"xAxis": {
"axisLabel": {
"color": "#909198"
},
"axisLine": {
"lineStyle": {
"color": "#333333"
}
},
"name": "类别",
"nameTextStyle": {
"color": "#333333"
}
},
"grid": {
"bottom": 115,
"show": false
},
"series": [
{
"data": [],
"showBackground": true,
"backgroundStyle": {
"color": "rgba(180,180,180,0.2)"
},
"type": "bar"
}
],
"tooltip": {
"axisPointer": {
"label": {
"backgroundColor": "#333",
"show": true
},
"type": "shadow"
},
"trigger": "axis"
},
"title": {
"show": true,
"text": "部门销售统计",
"textStyle": {
"color": "#464646"
}
},
"card": {
"rightHref": "",
"size": "default",
"extra": "",
"title": ""
}
}
}
},
{
"component": "JPie",
"w": 12,
"moved": false,
"x": 12,
"h": 42,
"i": "58236f99-4803-4a3c-ad39-e83949270517",
"y": 0,
"pageCompId": "1519994699518173186",
"config": {
"dataMapping": [
{
"mapping": "name",
"filed": "维度"
},
{
"mapping": "value",
"filed": "数值"
}
],
"paramOption": [],
"dataType": 2,
"dataSetName": "钻取api",
"query": [],
"dataSetApi": "http://api.jeecg.com/mock/51/drilling/deptuser",
"drillData": [
{
"source": "name",
"target": "name"
}
],
"url": "http://api.jeecg.com/mock/33/chart",
"timeOut": 0,
"chartData": "[{\"value\":1048,\"name\":\"vivo\"},{\"value\":735,\"name\":\"oppo\"},{\"value\":580,\"name\":\"苹果\"},{\"value\":484,\"name\":\"小米\"},{\"value\":300,\"name\":\"三星\"}]",
"size": {
"height": 420
},
"dataSetId": "1519274169102020610",
"fieldOption": [
{
"label": "name",
"text": "name",
"value": "name"
},
{
"label": "value",
"text": "value",
"value": "value"
}
],
"dataSetType": "api",
"turnConfig": {
"url": ""
},
"linkageConfig": [],
"dataSetIzAgent": "0",
"option": {
"grid": {
"bottom": 115,
"show": false
},
"legend": {
"orient": "vertical"
},
"series": [
{
"data": [],
"name": "AccessFrom",
"emphasis": {
"itemStyle": {
"shadowOffsetX": 0,
"shadowBlur": 10,
"shadowColor": "rgba(0,0,0,0.5)"
}
},
"type": "pie",
"radius": "50%"
}
],
"tooltip": {
"trigger": "item"
},
"title": {
"subtext": "",
"left": "left",
"show": true,
"text": "基础饼图"
},
"card": {
"rightHref": "",
"size": "default",
"extra": "",
"title": ""
}
}
}
}
],
"coverUrl": null,
"backgroundColor": null,
"backgroundImage": null,
"theme": null,
"style": null,
"designType": null,
"protectionCode": "amVlY2cxMzE0",
"type": "0",
"izTemplate": "1",
"createBy": "jeecg",
"lowAppId": null,
"tenantId": null,
"appMenuGroupId": null,
"createTime": "2022-04-29 18:51:47",
"updateBy": "jeecg",
"updateTime": "2022-04-29 18:59:11",
"updateCount": 1,
"visitsNum": null,
"delFlag": 0
}