From ed213fa807b05658e8e2eb22b9c250da4a412b90 Mon Sep 17 00:00:00 2001 From: hui <770260999@qq.com> Date: Fri, 12 Jan 2024 17:59:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=83=85=E6=8A=A5=E6=9D=BF=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/public/static/systemConfig.js | 2 +- ruoyi-ui/src/api/board/board.js | 20 +- .../src/assets/jihe/images/button/delete.png | Bin 0 -> 654 bytes .../src/assets/jihe/images/button/edit.png | Bin 0 -> 720 bytes .../src/assets/jihe/images/button/edit2.png | Bin 0 -> 859 bytes .../src/assets/jihe/images/button/edit4.png | Bin 0 -> 754 bytes .../src/assets/jihe/images/button/toLeft.png | Bin 0 -> 766 bytes .../src/assets/jihe/images/button/toLeft2.png | Bin 0 -> 939 bytes ruoyi-ui/src/common/boardBaseData.js | 28 + ruoyi-ui/src/main.js | 2 + .../pages/service/board/BoardPreview.vue | 100 ++ .../pages/service/board/addinfo copy.vue | 973 ++++++++++++++ .../pages/service/board/addinfo.vue | 746 +++-------- .../pages/service/board/index.vue | 1131 ++++------------- .../pages/service/board/testData/device.js | 116 ++ .../pages/service/board/testData/direction.js | 59 + .../pages/service/board/testData/template.js | 164 +++ .../board/testData/templateCategory.js | 116 ++ ruoyi-ui/src/views/login.vue | 4 +- ruoyi-ui/vue.config.js | 5 +- 20 files changed, 2024 insertions(+), 1442 deletions(-) create mode 100644 ruoyi-ui/src/assets/jihe/images/button/delete.png create mode 100644 ruoyi-ui/src/assets/jihe/images/button/edit.png create mode 100644 ruoyi-ui/src/assets/jihe/images/button/edit2.png create mode 100644 ruoyi-ui/src/assets/jihe/images/button/edit4.png create mode 100644 ruoyi-ui/src/assets/jihe/images/button/toLeft.png create mode 100644 ruoyi-ui/src/assets/jihe/images/button/toLeft2.png create mode 100644 ruoyi-ui/src/common/boardBaseData.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/board/BoardPreview.vue create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/board/addinfo copy.vue create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/board/testData/device.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/board/testData/direction.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/board/testData/template.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/board/testData/templateCategory.js diff --git a/ruoyi-ui/public/static/systemConfig.js b/ruoyi-ui/public/static/systemConfig.js index 0b1dae08..f0c9bd93 100644 --- a/ruoyi-ui/public/static/systemConfig.js +++ b/ruoyi-ui/public/static/systemConfig.js @@ -27,7 +27,7 @@ const systemConfig = { title0: '管理系统', url0: 'ry', navBarShow0: {bigScreen: 'false', frontPage: 'true', doc: 'true',weather:'true',breadcrumb:'true'}, - title1: '智慧隧道综合管控平台', + title1: '济菏数字运营管理平台', url1: "athena", navBarShow1: {bigScreen: 'false', frontPage: 'false', doc: 'false',weather:'false',breadcrumb:'true'}, diff --git a/ruoyi-ui/src/api/board/board.js b/ruoyi-ui/src/api/board/board.js index 98024eb7..22e565fa 100644 --- a/ruoyi-ui/src/api/board/board.js +++ b/ruoyi-ui/src/api/board/board.js @@ -1,10 +1,24 @@ import request from '@/utils/request' -// 查询设备列列表 +// 查询设备列表 export function getBoardList(query) { return request({ - url: '/iot/board/list', + url: '/business/device/query', method: 'get', - params: query + params: { + ...query, + deviceType:2 + } + }) +} + +// 查询模板列表 +export function getTemplateList(query) { + return request({ + url: '/business/boardTemplate/getAllVmsTemplate', + method: 'get', + params: { + ...query + } }) } diff --git a/ruoyi-ui/src/assets/jihe/images/button/delete.png b/ruoyi-ui/src/assets/jihe/images/button/delete.png new file mode 100644 index 0000000000000000000000000000000000000000..f24976779100c56ddeaa169bfd310d2609bbc502 GIT binary patch literal 654 zcmV;90&)F`P)Px%NJ&INRA@u(n?Xw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XCHU9|2=AZ>Mq=0qMknmz*t%G7x8tTY8Xh?Xmu+~8_DGhaG z9W*4oSXk?zn3RS(`VS7ohW$u$=ntiPx&6-h)vRA@u(o7+niQ5?s=vpZ|17*QA*TV^6rRCXamqmrzUFhMLtyI>(@B}x~& zL9I%$>Q=gGA`}=sSpPr|^{?6i!H)vF#ZV1|Y4>$9_8 z9W0=a{S+S`t7>z9hVSm~^B*FBYSl^%s?}T|H!(;ID!c<^iYi=C(0IgP&=x7YfEZM` zprG*-W3a8mipHj9c-(H}=N(5%($1ja7gL}J!1m71FxE7{S-|H{Owedl4%lPsM}?_w_OZgeQF!(Q4(v_-Z+q+sWHZ=r zA3%Af852`e9FS8vSvZ=WCJ3BtfCJwKQD&^g*!TnoBqu8a*_r8r!N~&n-8qE2##)Sw zj&VS;G7cj*J5x|N$pME(Mqx14!Z|d|0XcFg75RC`1c#FpaO}r848|Hb2Av#`gZua3 zTz;-7aFPK|OirS#(u^-(9UPE-DM`3ga1s0?J`bIa z7HwM2Kd~r)UN3_xb0a>scXA*$Z%n}LD;E(KrjrCtl$#7QGlPe9Pw~Oh#(_xK5QjUZ zMgAYsQVzilK6~*BZ(H7T7~j@56QS}&YomT(JV^*(1`K`-XzAQ=>I8gxEMg8@g7Wm*pMtYiT<^mlR+@Nf#{&8Uf zs5B#d^ALl4JEpXHVo+&D_~s!7`F2cc^~9jkjPT7v4D#)m(&~vpr5WLyXTHG@-w+$> lTbe_DQ#w1hL-}t7zX9M9FjdaW^}GN8002ovPDHLkV1j^&hjjn| literal 0 HcmV?d00001 diff --git a/ruoyi-ui/src/assets/jihe/images/button/edit4.png b/ruoyi-ui/src/assets/jihe/images/button/edit4.png new file mode 100644 index 0000000000000000000000000000000000000000..26a56067a328b6794a69227caaf1d62d98b8ef86 GIT binary patch literal 754 zcmVPx%tVu*cRA@u(o6TzzK^VrL*=!=#C|K=52;|Va@dFilDB}OnL!pOQg+kGSD8-}R z#1Dj83Kd%;6np6ZAR<_(QeyF&itA5#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assets/jihe/images/button/toLeft2.png new file mode 100644 index 0000000000000000000000000000000000000000..3dce1fadf0a0b67812c1b5523c8fbd5cf1cc2b82 GIT binary patch literal 939 zcmV;c162HpP)Px&Wl2OqRA@u(n{7x_Q5eVn*ETbUW}1{~ni`g|Tz>F_MQJAln*!@Zh^c-quL>b7rAM8>H!egO7=GvZRA8pc5r zaX4aSC@$ulLBL{vVq2{Ma39uQrorl)bUv;wa*Z;0*V6uQR(ak5CDZd7P*?N|rYzI~5EbvdSfP7x;(6XKDjOt)`r zna9RZaN{<*zVwjmflC6Ae=ZZDE0+H=9P3G@t^GCBWmT|Pt;E?KTQ@;@;;20f#`}ZUv?Qn`+6~h3XaEdW#8X|S8 z!b5Q(Cldkwer{2Y>4X))`i4eS*VWq{J$5J=DSLO??d~2u3REQ+F*{B;?j&RhunE<5 zkA(|JlRax`McHptGYqtQrABXGKmU>p z11ado1OqwuK_4fNMV?R|^b90fs$DO^@W?2siiwUSOEsCym)N{ssxgp)UTiavuDmW) z);_|M#%6L0uU?lJNI}2wx^tD{N?)w3WLz1Tt2QDaSCM9G98p2GBFk03qJmsSnyqm} z1=)%$SN)0#ausQ|#t{`{E3#bm`(G(2@B^_zKhiAtL+SLNUdW#n`~o;I!BrO`>;C`% N002ovPDHLkV1oRQsO10v literal 0 HcmV?d00001 diff --git a/ruoyi-ui/src/common/boardBaseData.js b/ruoyi-ui/src/common/boardBaseData.js new file mode 100644 index 00000000..ba8ddb12 --- /dev/null +++ b/ruoyi-ui/src/common/boardBaseData.js @@ -0,0 +1,28 @@ +import Vue from "vue"; +import { getDicts } from "@/api/system/dict/data"; +export default function(){ + getDicts('iot_device_font_type').then(res => { + let dic = {}; + res.data.forEach(item=>{ + dic[item.dictValue] = item.cssClass; + }); + Vue.prototype.fontTypeDic = dic; + Vue.prototype.fontTypeList = res.data; + console.log(dic , "++=================="); + // console.log(fontTypeList, "字体类型"); + }) + getDicts('iot_devices_font_color').then(res => { + + }) + getDicts('iot_device_font_inScreen_mode').then(res => { + + }) + getDicts('iot_template_category').then(res => { + + }) + getDicts('iot_device_font_size').then(res => { + + }) + + +} \ No newline at end of file diff --git a/ruoyi-ui/src/main.js b/ruoyi-ui/src/main.js index 6f18ff04..ca6e3c8e 100644 --- a/ruoyi-ui/src/main.js +++ b/ruoyi-ui/src/main.js @@ -90,6 +90,8 @@ Vue.prototype.handleTree = handleTree Vue.prototype.socket = Socket Vue.prototype.numberMul = numberMul +import boardBaseData from '@/common/boardBaseData' +boardBaseData(); // gis Vue.prototype.$GlobalConfig = config.GlobalConfig diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/BoardPreview.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/BoardPreview.vue new file mode 100644 index 00000000..a1d1f958 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/BoardPreview.vue @@ -0,0 +1,100 @@ + + + \ No newline at end of file diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/addinfo copy.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/addinfo copy.vue new file mode 100644 index 00000000..ea25a129 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/addinfo copy.vue @@ -0,0 +1,973 @@ + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/addinfo.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/addinfo.vue index ea25a129..3ae8b18d 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/addinfo.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/addinfo.vue @@ -1,155 +1,102 @@ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/index.vue index 2e3a6bd5..88b2a918 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/index.vue @@ -17,28 +17,29 @@ - - + + - - -
+ + + +
-
+ --> - +
{{ itm.deviceName }}
- +
+
暂无数据
@@ -54,23 +55,19 @@
-
情报板列表
- 【 {{ form.devicePixel }}】 +
{{ selectedDevice.deviceName }}
+ 【 {{ selectedSize }}】
- 添加信息 - 发布信息 + 添加信息 + 发布信息
- +