Browse Source

情报板接口

wangqin
lau572 1 year ago
parent
commit
0eda80a28e
  1. 20
      ruoyi-ui/src/views/information/board/index.vue

20
ruoyi-ui/src/views/information/board/index.vue

@ -901,7 +901,15 @@ export default {
obj.COLOR = that.getColorValue(item.COLOR) obj.COLOR = that.getColorValue(item.COLOR)
obj.FONT = that.getFontValue(item.FONT) obj.FONT = that.getFontValue(item.FONT)
obj.FONT_SIZE = item.FONT_SIZE.substring(0, 2) obj.FONT_SIZE = item.FONT_SIZE.substring(0, 2)
obj.CONTENT = item.CONTENT.replace(/\n|\r\n/g, '<r><n>') // obj.CONTENT = item.CONTENT.replace(/\\/g, '\\\\')
//
// obj.CONTENT = item.CONTENT.replace(/\,/g , "other string or space")
// obj.CONTENT = item.CONTENT
obj.CONTENT = item.CONTENT.replaceAll('\\','\\\\')
obj.CONTENT = obj.CONTENT.replaceAll(',','\\,')
obj.CONTENT = obj.CONTENT.replaceAll('=','\\=')
// obj.CONTENT = obj.CONTENT.replaceAll('=','\=')
obj.width = devicePixel[0] obj.width = devicePixel[0]
obj.height = devicePixel[1] obj.height = devicePixel[1]
obj.formatStyle = item.formatStyle obj.formatStyle = item.formatStyle
@ -914,16 +922,6 @@ export default {
console.log(newArr, 'newArr') console.log(newArr, 'newArr')
/* invokedFunction(65,'1B',{fileId:'1'}).then(res =>{
debugger
console.log('发布消息,播放文件-----------------------------')
console.log(res)
}).catch(()=>{
this.$modal.msgError("发布失败,请重试");
})*/
invokedFunction(595,11,{size : '65535',fileName:'play010.lst'}).then(res =>{ invokedFunction(595,11,{size : '65535',fileName:'play010.lst'}).then(res =>{
debugger debugger
console.log('发布消息,校验文件名-------------------------------------') console.log('发布消息,校验文件名-------------------------------------')

Loading…
Cancel
Save