|
@ -22,36 +22,36 @@ |
|
|
<!-- 内容 --> |
|
|
<!-- 内容 --> |
|
|
<div class="body"> |
|
|
<div class="body"> |
|
|
<Table :data="tableData" height="100%"> |
|
|
<Table :data="tableData" height="100%"> |
|
|
<el-table-column label="序号" type="index" :index="indexMethod" width="60" /> |
|
|
<el-table-column label="序号" type="index" :index="indexMethod" width="100" /> |
|
|
<ElTableColumn label="发布时间" prop="operTime" width="180" /> |
|
|
<ElTableColumn label="发布时间" prop="operTime" width="280"> |
|
|
<ElTableColumn label="设备ID" prop="dcDeviceId" width="120" /> |
|
|
<template slot-scope="scope"> |
|
|
|
|
|
{{ moment(scope.row.operTime).format("yyyy/MM/DD hh:mm") }} |
|
|
|
|
|
</template> |
|
|
|
|
|
</ElTableColumn> |
|
|
|
|
|
<ElTableColumn label="设备ID" prop="dcDeviceId" width="120"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
{{ JSON.parse(scope.row.dcDeviceId).join("、") }} |
|
|
|
|
|
</template> |
|
|
|
|
|
</ElTableColumn> |
|
|
<ElTableColumn label="设备名称" prop="dcDeviceName" /> |
|
|
<ElTableColumn label="设备名称" prop="dcDeviceName" /> |
|
|
<!-- <ElTableColumn label="桩号" prop="stakeMark" width="100" /> --> |
|
|
<ElTableColumn label="内容" prop="operParam" width="400" header-align="center"> |
|
|
<!-- <el-table-column prop="direction" label="方向" width="110" :formatter="formatterDirection" /> --> |
|
|
|
|
|
<ElTableColumn label="内容" prop="operParam" width="500" header-align="center"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
{{ scope.row.operParam }} |
|
|
<el-carousel direction="horizontal" :autoplay="false" indicator-position="inside" height="80px" |
|
|
<!-- {{ scope.row.operParam && scope.row.operParam.functions && scope.row.operParam.functions[1] && scope.row.operParam.functions[1].params }} --> |
|
|
|
|
|
<!-- <el-carousel direction="horizontal" :autoplay="false" indicator-position="inside" height="80px" |
|
|
|
|
|
arrow="never" class="board_shower"> |
|
|
arrow="never" class="board_shower"> |
|
|
<el-carousel-item v-for="item,index in JSON.parse(scope.row.operParam).paremeters" :key="index"> |
|
|
<el-carousel-item v-for="item,index in JSON.parse(scope.row.operParam)[0].functions[1].params.parameters" |
|
|
|
|
|
:key="index"> |
|
|
<BoardRecordPreview :tpl="item" style="height: 100%;" /> |
|
|
<BoardRecordPreview :tpl="item" style="height: 100%;" /> |
|
|
</el-carousel-item> |
|
|
</el-carousel-item> |
|
|
</el-carousel> --> |
|
|
</el-carousel> |
|
|
</template> |
|
|
</template> |
|
|
</ElTableColumn> |
|
|
</ElTableColumn> |
|
|
<ElTableColumn label="状态" prop="status" width="80" :formatter="formatterStatus" /> |
|
|
<ElTableColumn label="状态" prop="status" width="140" :formatter="formatterStatus" /> |
|
|
<ElTableColumn label="用户名" prop="operName" width="120" /> |
|
|
<ElTableColumn label="用户名" prop="operName" width="160" /> |
|
|
<!-- <ElTableColumn label="用户ID" prop="operName" width="120" /> --> |
|
|
<ElTableColumn label="用户IP" prop="operIp" width="200"> |
|
|
<ElTableColumn label="用户IP" prop="operIp" width="200" /> |
|
|
|
|
|
<!-- |
|
|
|
|
|
<ElTableColumn label="操作" width="210"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<ElButton type="text" style="color: #00D1FF;" @click="showDisposal(scope.row.eventType)">流程配置</ElButton> |
|
|
{{ ["unknown"].includes(scope.row.operIp) ? "" : scope.row.operIp }} |
|
|
<ElButton type="text" style="color: #00EBC1;" @click="showPhrases(scope.row)">常用语</ElButton> |
|
|
|
|
|
</template> |
|
|
</template> |
|
|
</ElTableColumn> |
|
|
</ElTableColumn> |
|
|
--> |
|
|
|
|
|
</Table> |
|
|
</Table> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
@ -74,6 +74,7 @@ import BoardRecordPreview from '@screen/components/infoBoard/BoardRecordPreview. |
|
|
import {DirectionTypes} from '@screen/utils/enum.js'; |
|
|
import {DirectionTypes} from '@screen/utils/enum.js'; |
|
|
import InputSearch from "@screen/components/InputSearch/index.vue"; |
|
|
import InputSearch from "@screen/components/InputSearch/index.vue"; |
|
|
import { searchFormList } from "./data"; |
|
|
import { searchFormList } from "./data"; |
|
|
|
|
|
import moment from "moment"; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: 'boardRecord', |
|
|
name: 'boardRecord', |
|
@ -86,6 +87,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
|
|
|
moment, |
|
|
testData : {"STAY":"30","ACTION":"1","SPEED":"0","COLOR":"ffff00","FONT":"3","FONT_SIZE":"32","CONTENT":"因改扩建施工 平阴南、梁山收费站出入口封闭","width":"768","height":"64","formatStyle":"2"}, |
|
|
testData : {"STAY":"30","ACTION":"1","SPEED":"0","COLOR":"ffff00","FONT":"3","FONT_SIZE":"32","CONTENT":"因改扩建施工 平阴南、梁山收费站出入口封闭","width":"768","height":"64","formatStyle":"2"}, |
|
|
tableData: [], |
|
|
tableData: [], |
|
|
searchFormList, |
|
|
searchFormList, |
|
|