From a1eb6eb55f75bcffaf3b92ee8d52a450784e5ce5 Mon Sep 17 00:00:00 2001 From: hui <770260999@qq.com> Date: Thu, 18 Jan 2024 16:29:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=83=85=E6=8A=A5=E6=9D=BF=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .DS_Store | Bin 10244 -> 10244 bytes ruoyi-ui/src/api/board/board.js | 8 + ruoyi-ui/src/common/getBoardBaseData.js | 1 - ruoyi-ui/src/common/infoBoardTestData.js | 6 +- .../pages/service/board/BoardInfoEditor.vue | 117 ++++++---- .../pages/service/board/BoardPreview.vue | 71 +++--- .../pages/service/board/BoardTplPreview.vue | 117 ++++++++++ .../pages/service/board/index.vue | 211 ++++++++---------- .../views/JiHeExpressway/utils/infoBoard.js | 74 +++++- ruoyi-ui/vue.config.js | 5 +- 10 files changed, 410 insertions(+), 200 deletions(-) create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/board/BoardTplPreview.vue diff --git a/.DS_Store b/.DS_Store index 545f578e2914001dbc49c530650ec45764b3e7cf..1cc8dd8235f198ece13aad2a0fa42ebd4e9d02ab 100644 GIT binary patch delta 140 zcmZn(XbG6$&*-%=U^hRb*Jd68Lnd7wh608}hGd3pAeqjP%Am)P#Zb(U&yeStlb@WF zlb^)Ez#zcDz;qQz&)aMy)XB!Ud-5KMLM`d)YGX4C9R*z@6VqB9g=#}HBV!!}Ljxm= q+FDKyQDuGWp!n>Z+`RnW$zhW6jD4HSBqP{1vn%{!*?dxjnHd1?wk3W5 delta 96 zcmZn(XbG6$&*-@^U^hRb=Vl%OL#EB8LUnA6yC#2;DAbgyt~NF^(NQooG_TcBs5Ue+ zG6r&tEG=qlIXOg?^{s>AvvYFu@_Q!tOUg6$ZeA}L!8WnMax=TaFP6=gqRh+yoeLdO diff --git a/ruoyi-ui/src/api/board/board.js b/ruoyi-ui/src/api/board/board.js index 4de4511f..910a4f2b 100644 --- a/ruoyi-ui/src/api/board/board.js +++ b/ruoyi-ui/src/api/board/board.js @@ -10,4 +10,12 @@ export function getBoardList(query) { deviceType:2 } }) +} + +// 查询设备列表 +export function getBoardDeviceInfo(deviceId) { + return request({ + url: `/business/board/realtimeProperty/${deviceId}`, + method: 'get' + }) } \ No newline at end of file diff --git a/ruoyi-ui/src/common/getBoardBaseData.js b/ruoyi-ui/src/common/getBoardBaseData.js index ba8ddb12..6343b03e 100644 --- a/ruoyi-ui/src/common/getBoardBaseData.js +++ b/ruoyi-ui/src/common/getBoardBaseData.js @@ -8,7 +8,6 @@ export default function(){ }); Vue.prototype.fontTypeDic = dic; Vue.prototype.fontTypeList = res.data; - console.log(dic , "++=================="); // console.log(fontTypeList, "字体类型"); }) getDicts('iot_devices_font_color').then(res => { diff --git a/ruoyi-ui/src/common/infoBoardTestData.js b/ruoyi-ui/src/common/infoBoardTestData.js index 92768821..1450b03c 100644 --- a/ruoyi-ui/src/common/infoBoardTestData.js +++ b/ruoyi-ui/src/common/infoBoardTestData.js @@ -37,7 +37,7 @@ export default [ "flashingFrequency": "5", //闪烁次数 "flickerSpeed": "0", //闪烁速度 "font": "微软雅黑", - "fontSize": "14", + "fontSize": "40", "fontSpacing": "4", "fontStyle": "0", "foregroundColor": "ffff00", @@ -64,8 +64,8 @@ export default [ }, { "backgroundColor": "00000000", - "displayAreaHeight": "180", - "displayAreaWidth": "700", + "displayAreaHeight": "120", + "displayAreaWidth": "768", "flashingFrequency": "5", "flickerSpeed": "0", "font": "微软雅黑", diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/BoardInfoEditor.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/BoardInfoEditor.vue index bd363057..b00b4288 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/BoardInfoEditor.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/BoardInfoEditor.vue @@ -1,5 +1,5 @@