Browse Source

消除bug

wangqin
hui 1 year ago
parent
commit
bf07873b4d
  1. 0
      ruoyi-ui/src/common/getBoardBaseData.js
  2. 4
      ruoyi-ui/src/main.js
  3. 3
      ruoyi-ui/src/views/JiHeExpressway/index.vue
  4. 330
      ruoyi-ui/src/views/JiHeExpressway/pages/service/board/testData/template.js

0
ruoyi-ui/src/common/boardBaseData.js → ruoyi-ui/src/common/getBoardBaseData.js

4
ruoyi-ui/src/main.js

@ -90,8 +90,8 @@ Vue.prototype.handleTree = handleTree
Vue.prototype.socket = Socket Vue.prototype.socket = Socket
Vue.prototype.numberMul = numberMul Vue.prototype.numberMul = numberMul
import boardBaseData from '@/common/boardBaseData' import getBoardBaseData from '@/common/getBoardBaseData'
boardBaseData(); Vue.prototype.getBoardBaseData = getBoardBaseData;
// gis // gis
Vue.prototype.$GlobalConfig = config.GlobalConfig Vue.prototype.$GlobalConfig = config.GlobalConfig

3
ruoyi-ui/src/views/JiHeExpressway/index.vue

@ -24,6 +24,9 @@ export default {
return { return {
}; };
}, },
mounted(){
this.getBoardBaseData();
},
methods: { methods: {
handleChange(activeMenu) { handleChange(activeMenu) {
this.$route.path != activeMenu.path && this.$router.push(activeMenu.path); this.$route.path != activeMenu.path && this.$router.push(activeMenu.path);

330
ruoyi-ui/src/views/JiHeExpressway/pages/service/board/testData/template.js

@ -1,164 +1,166 @@
export default [ export default {
{ "0": [
"id": 3, {
"category": "0", "id": 3,
"content": "保持车距,控制车速", "category": "0",
"screenSize": "768*64", "content": "保持车距,控制车速",
"fontColor": "FFFF00", "screenSize": "768*64",
"fontSize": "64", "fontColor": "FFFF00",
"fontType": "2", "fontSize": "64",
"fontSpacing": "0", "fontType": "2",
"rollingSpeed": null, "fontSpacing": "0",
"stopTime": "50", "rollingSpeed": null,
"inScreenMode": "1", "stopTime": "50",
"formatStyle": "2", "inScreenMode": "1",
"remark": null, "formatStyle": "2",
"createTime": "2024-01-06 10:40:19", "remark": null,
"updateTime": "2024-01-06 11:04:53" "createTime": "2024-01-06 10:40:19",
}, "updateTime": "2024-01-06 11:04:53"
{ },
"id": 4, {
"category": "0", "id": 4,
"content": "山东高速欢迎您", "category": "0",
"screenSize": "768*64", "content": "山东高速欢迎您",
"fontColor": "FFFF00", "screenSize": "768*64",
"fontSize": "64", "fontColor": "FFFF00",
"fontType": "3", "fontSize": "64",
"fontSpacing": "0", "fontType": "3",
"rollingSpeed": null, "fontSpacing": "0",
"stopTime": "50", "rollingSpeed": null,
"inScreenMode": "1", "stopTime": "50",
"formatStyle": "2", "inScreenMode": "1",
"remark": null, "formatStyle": "2",
"createTime": "2024-01-06 10:40:44", "remark": null,
"updateTime": "2024-01-06 11:04:58" "createTime": "2024-01-06 10:40:44",
}, "updateTime": "2024-01-06 11:04:58"
{ },
"id": 5, {
"category": "0", "id": 5,
"content": "山东高速热线:96659", "category": "0",
"screenSize": "768*64", "content": "山东高速热线:96659",
"fontColor": "FFFF00", "screenSize": "768*64",
"fontSize": "64", "fontColor": "FFFF00",
"fontType": "1", "fontSize": "64",
"fontSpacing": "0", "fontType": "1",
"rollingSpeed": null, "fontSpacing": "0",
"stopTime": "50", "rollingSpeed": null,
"inScreenMode": "1", "stopTime": "50",
"formatStyle": "2", "inScreenMode": "1",
"remark": null, "formatStyle": "2",
"createTime": "2024-01-06 10:40:56", "remark": null,
"updateTime": "2024-01-06 11:05:24" "createTime": "2024-01-06 10:40:56",
}, "updateTime": "2024-01-06 11:05:24"
{ },
"id": 9, {
"category": "0", "id": 9,
"content": "安全带=生命带,关键时刻能救命", "category": "0",
"screenSize": "768*64", "content": "安全带=生命带,关键时刻能救命",
"fontColor": "FFFF00", "screenSize": "768*64",
"fontSize": "48", "fontColor": "FFFF00",
"fontType": "3", "fontSize": "48",
"fontSpacing": "0", "fontType": "3",
"rollingSpeed": null, "fontSpacing": "0",
"stopTime": "50", "rollingSpeed": null,
"inScreenMode": "1", "stopTime": "50",
"formatStyle": "2", "inScreenMode": "1",
"remark": null, "formatStyle": "2",
"createTime": "2024-01-06 10:42:21", "remark": null,
"updateTime": "2024-01-06 11:05:15" "createTime": "2024-01-06 10:42:21",
} "updateTime": "2024-01-06 11:05:15"
], }
"1": [ ],
{ "1": [
"id": 6, {
"category": "1", "id": 6,
"content": "前方施工,谨慎驾驶", "category": "1",
"screenSize": "768*64", "content": "前方施工,谨慎驾驶",
"fontColor": "FFFF00", "screenSize": "768*64",
"fontSize": "64", "fontColor": "FFFF00",
"fontType": "3", "fontSize": "64",
"fontSpacing": "0", "fontType": "3",
"rollingSpeed": null, "fontSpacing": "0",
"stopTime": "50", "rollingSpeed": null,
"inScreenMode": "1", "stopTime": "50",
"formatStyle": "2", "inScreenMode": "1",
"remark": null, "formatStyle": "2",
"createTime": "2024-01-06 10:41:07", "remark": null,
"updateTime": "2024-01-06 11:05:36" "createTime": "2024-01-06 10:41:07",
} "updateTime": "2024-01-06 11:05:36"
], }
"2": [ ],
{ "2": [
"id": 2, {
"category": "2", "id": 2,
"content": "雨天路滑,注意安全", "category": "2",
"screenSize": "768*64", "content": "雨天路滑,注意安全",
"fontColor": "FFFF00", "screenSize": "768*64",
"fontSize": "64", "fontColor": "FFFF00",
"fontType": "3", "fontSize": "64",
"fontSpacing": "0", "fontType": "3",
"rollingSpeed": null, "fontSpacing": "0",
"stopTime": "50", "rollingSpeed": null,
"inScreenMode": "1", "stopTime": "50",
"formatStyle": "2", "inScreenMode": "1",
"remark": null, "formatStyle": "2",
"createTime": "2024-01-06 10:38:44", "remark": null,
"updateTime": "2024-01-06 11:05:52" "createTime": "2024-01-06 10:38:44",
}, "updateTime": "2024-01-06 11:05:52"
{ },
"id": 10, {
"category": "2", "id": 10,
"content": "大雾天气\n减速慢行", "category": "2",
"screenSize": "160*80", "content": "大雾天气\n减速慢行",
"fontColor": "FFFF00", "screenSize": "160*80",
"fontSize": "40", "fontColor": "FFFF00",
"fontType": "2", "fontSize": "40",
"fontSpacing": "0", "fontType": "2",
"rollingSpeed": null, "fontSpacing": "0",
"stopTime": "50", "rollingSpeed": null,
"inScreenMode": "1", "stopTime": "50",
"formatStyle": "2", "inScreenMode": "1",
"remark": null, "formatStyle": "2",
"createTime": "2024-01-06 10:42:59", "remark": null,
"updateTime": "2024-01-06 11:05:48" "createTime": "2024-01-06 10:42:59",
} "updateTime": "2024-01-06 11:05:48"
], }
"3": [], ],
"4": [ "3": [],
{ "4": [
"id": 8, {
"category": "4", "id": 8,
"content": "前方发生火灾,请谨慎驾驶", "category": "4",
"screenSize": "768*64", "content": "前方发生火灾,请谨慎驾驶",
"fontColor": "FFFF00", "screenSize": "768*64",
"fontSize": "64", "fontColor": "FFFF00",
"fontType": "1", "fontSize": "64",
"fontSpacing": "0", "fontType": "1",
"rollingSpeed": null, "fontSpacing": "0",
"stopTime": "50", "rollingSpeed": null,
"inScreenMode": "1", "stopTime": "50",
"formatStyle": "2", "inScreenMode": "1",
"remark": null, "formatStyle": "2",
"createTime": "2024-01-06 10:42:00", "remark": null,
"updateTime": null "createTime": "2024-01-06 10:42:00",
} "updateTime": null
], }
"5": [ ],
{ "5": [
"id": 7, {
"category": "5", "id": 7,
"content": "前方事故,减速慢行", "category": "5",
"screenSize": "768*64", "content": "前方事故,减速慢行",
"fontColor": "FFFF00", "screenSize": "768*64",
"fontSize": "64", "fontColor": "FFFF00",
"fontType": "1", "fontSize": "64",
"fontSpacing": "0", "fontType": "1",
"rollingSpeed": null, "fontSpacing": "0",
"stopTime": "50", "rollingSpeed": null,
"inScreenMode": "1", "stopTime": "50",
"formatStyle": "2", "inScreenMode": "1",
"remark": null, "formatStyle": "2",
"createTime": "2024-01-06 10:41:33", "remark": null,
"updateTime": null "createTime": "2024-01-06 10:41:33",
} "updateTime": null
] }
]
}
Loading…
Cancel
Save