{ "detail": { "width": 1920, "height": 1080, "query": "function(){\n return window.$glob.params || {}\n}", "header": "function(){\n let params= {\n 'Tenant-Id':'000000',\n 'Authorization':'Basic c2FiZXIzOnNhYmVyM19zZWNyZXQ=',\n 'Blade-Requested-With':'BladeHttpRequest',\n }\n const token = $glob.token;\n if(token){\n params['blade-auth']='bearer ' + token\n }\n return params\n}", "screen": "x", "group": [ { "name": "主屏幕", "id": "", "isname": false } ], "groupCarousel": false, "groupList": [], "groupTime": 0, "groupId": "", "glob": [], "theme": { "1": { "id": 1, "name": "明亮", "color": [ "rgb(73, 146, 255)", "rgb(124, 255, 178)", "rgb(253, 221, 96)", "rgb(255, 110, 118)", "rgb(88, 217, 249)", "rgb(5, 192, 145)" ], "data": [] }, "2": { "id": 2, "name": "暗淡", "color": [ "rgb(84, 112, 198)", "rgb(145, 204, 117)", "rgb(250, 200, 88)", "rgb(238, 102, 102)", "rgb(115, 192, 222)", "rgb(59, 162, 114)" ], "data": [] }, "3": { "id": 3, "name": "马卡龙", "color": [ "rgb(46, 199, 201)", "rgb(182, 162, 222)", "rgb(90, 177, 239)", "rgb(255, 185, 128)", "rgb(216, 122, 128)", "rgb(141, 152, 179)" ], "data": [] }, "4": { "id": 4, "name": "深色", "color": [ "rgb(193, 46, 52)", "rgb(230, 182, 0)", "rgb(0, 152, 217)", "rgb(43, 130, 29)", "rgb(0, 94, 170)", "rgb(51, 156, 168)" ], "data": [] }, "5": { "id": 5, "name": "罗马红", "color": [ "rgb(224, 31, 84)", "rgb(94, 78, 165)", "rgb(245, 232, 200)", "rgb(184, 210, 199)", "rgb(198, 179, 142)", "rgb(164, 216, 194)" ], "data": [] } }, "themeId": "", "filters": {}, "funcs": {}, "style": "", "before": "(data)=>{\n return new Promise(resolve=>{\n axios({\n url:'https://saber3.bladex.cn/api/blade-auth/oauth/token',\n method:'post',\n header:{\n 'Tenant-Id':'000000',\n },\n params:{\n username:'admin',\n password:'bb29e4af6bc4633688cdba28354d491640b66ab0ce324487fd1214f2a161f7dd6725b57ded13b6951d91c7bdb201218c841267cb34f761df3264b9b42774028a20d7daf414e001f18b2456a92c84c2490a8c020fac4331e6d97221e1a619253b003d6dee8e',\n 'grant_type':'password',\n 'scope':'all'\n }\n }).then(res=>{\n const data =res.data;\n console.log(data);\n window.$glob.token=data.access_token\n }).finally(()=>{\n resolve()\n })\n \n })\n}", "overflow": false, "styles": { "show": false, "contrast": 100, "saturate": 100, "brightness": 100, "opacity": 100, "grayscale": 0, "hueRotate": 0, "invert": 0, "blur": 0 }, "fonts": [], "links": [], "mark": { "show": false, "text": "", "fontSize": 20, "color": "rgba(100,100,100,0.2)", "degree": -20 }, "version": "", "scale": 1, "backgroundImage": "/img/bg/bg.png", "url": "", "toolShow": true, "folderDeep": false, "gradeShow": false, "gradeLen": 30, "name": "能源站", "id": "1911942993129111553", "createUser": -1, "createDept": -1, "createTime": "2025-04-15 08:41:46", "updateUser": -1, "updateTime": "2025-04-16 21:14:31", "status": 1, "isDeleted": 0, "title": "能源站", "backgroundUrl": "", "category": 21, "password": "", "visualId": "1911942993187831810" }, "component": [ { "title": "表格", "name": "表格", "icon": "iconfont icon-table", "img": "/img/assets/table.png", "top": 321, "left": 493, "dataType": 0, "data": { "value": "文本框" }, "dataFormatter": "(data,params,refs)=>{\n return data.data.records\n}", "dataHeader": "", "dataQuery": "", "stylesFormatter": "", "src": "/img/assets/table.png", "component": { "width": 700, "height": 350, "name": "table", "prop": "table" }, "option": { "showHeader": true, "columnShow": true, "columnViews": true, "headerBackground": "#050e18", "headerColor": "#69bfe7", "headerTextAlign": "center", "nthColor": "#09192c", "bodyBackground": "rgba(0, 0, 0, 0.01)", "bodyColor": "#69bfe7", "bodyTextAlign": "center", "align": "center", "headerAlign": "center", "header": false, "scrollSpeed": 1, "fontSize": 15, "count": 4, "index": true, "column": [ { "label": "标题", "prop": "title", "fixed": false, "align": "", "headerAlign": "", "className": "", "sortable": false, "showOverflowTooltip": true, "hide": false, "formatter": "", "$cellEdit": false, "$index": 0 }, { "label": "内容", "prop": "content", "fixed": false, "align": "", "headerAlign": "", "className": "", "sortable": false, "showOverflowTooltip": true, "hide": false, "formatter": "", "$cellEdit": false, "$index": 1 }, { "label": "时间", "prop": "releaseTime", "fixed": false, "align": "", "headerAlign": "", "className": "", "sortable": false, "showOverflowTooltip": true, "hide": false, "formatter": "", "$cellEdit": false, "$index": 2 } ], "othColor": "#142a40", "headerFontSize": 20, "bodyFontSize": 18 }, "index": "f1b22e65-d8f6-4b60-87cf-c0db06922f4a", "display": false, "lock": false, "group": "", "zIndex": 0, "dataList": [ { "id": "9d8ea5d1-1848-4176-8c59-d24cdef334f9", "name": "数据源", "switch": true, "dataType": 1, "dataMethod": "get", "dataHeader": "", "url": " https://saber3.bladex.cn/api/blade-desk/notice/list?current=1&size=10", "data": { "value": "文本框" }, "dataQuery": "" } ], "child": {}, "rotate": 0, "hidden": false } ] }