|
@ -15,41 +15,35 @@ |
|
|
新增 |
|
|
新增 |
|
|
</ButtonGradient> --> |
|
|
</ButtonGradient> --> |
|
|
|
|
|
|
|
|
<InputSearch |
|
|
<InputSearch ref="searchComp" style="width: 480px" :formList="searchFormList" |
|
|
ref="searchComp" |
|
|
:formConfigOptions="{ dFormData: { eventState: '0' } }" @handleSearch="handleSearch" /> |
|
|
style="width: 480px" |
|
|
|
|
|
:formList="searchFormList" |
|
|
|
|
|
:formConfigOptions="{ dFormData: { eventState: '0' } }" |
|
|
|
|
|
@handleSearch="handleSearch" |
|
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<!-- 内容 --> |
|
|
<!-- 内容 --> |
|
|
<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="60" /> |
|
|
<ElTableColumn label="发布时间" prop="releaseTime" width="180"/> |
|
|
<ElTableColumn label="发布时间" prop="operTime" width="180" /> |
|
|
<ElTableColumn label="设备ID" prop="deviceId" width="120"/> |
|
|
<ElTableColumn label="设备ID" prop="dcDeviceId" width="120" /> |
|
|
<ElTableColumn label="设备名称" prop="deviceName" /> |
|
|
<ElTableColumn label="设备名称" prop="dcDeviceName" /> |
|
|
<ElTableColumn label="桩号" prop="stakeMark" width="100" /> |
|
|
<!-- <ElTableColumn label="桩号" prop="stakeMark" width="100" /> --> |
|
|
<el-table-column |
|
|
<!-- <el-table-column prop="direction" label="方向" width="110" :formatter="formatterDirection" /> --> |
|
|
prop="direction" |
|
|
<ElTableColumn label="内容" prop="operParam" width="500" header-align="center"> |
|
|
label="方向" |
|
|
|
|
|
width="110" |
|
|
|
|
|
:formatter="formatterDirection" /> |
|
|
|
|
|
<ElTableColumn label="内容" prop="releaseContent" width="500" header-align="center"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-carousel direction="horizontal" :autoplay="false" indicator-position="inside" height="80px" arrow="never" class="board_shower"> |
|
|
{{ scope.row.operParam }} |
|
|
<el-carousel-item v-for="item,index in JSON.parse(scope.row.releaseContent)" :key="index"> |
|
|
<!-- {{ 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"> |
|
|
|
|
|
<el-carousel-item v-for="item,index in JSON.parse(scope.row.operParam).paremeters" :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="releaseStatus" width="80" :formatter="formatterStatus"/> |
|
|
<ElTableColumn label="状态" prop="status" width="80" :formatter="formatterStatus" /> |
|
|
<ElTableColumn label="用户名" prop="releaseUserName" width="120" /> |
|
|
<ElTableColumn label="用户名" prop="operName" width="120" /> |
|
|
<ElTableColumn label="用户ID" prop="releaseUserId" width="120" /> |
|
|
<!-- <ElTableColumn label="用户ID" prop="operName" width="120" /> --> |
|
|
<ElTableColumn label="用户IP" prop="releaseIp" width="200" /> |
|
|
<ElTableColumn label="用户IP" prop="operIp" width="200" /> |
|
|
<!-- |
|
|
<!-- |
|
|
<ElTableColumn label="操作" width="210"> |
|
|
<ElTableColumn label="操作" width="210"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
@ -63,9 +57,9 @@ |
|
|
|
|
|
|
|
|
<!-- 分页 --> |
|
|
<!-- 分页 --> |
|
|
<div class="footer"> |
|
|
<div class="footer"> |
|
|
<Pagination @current-change="initData" @size-change="onSizeChange" width="'100%'" :page-sizes="[10, 20, 30, 40, 50]" |
|
|
<Pagination @current-change="initData" @size-change="onSizeChange" width="'100%'" |
|
|
:page-size="searchData.pageSize" :current-page.sync="searchData.pageNum" layout="total, sizes, prev, pager, next" |
|
|
:page-sizes="[10, 20, 30, 40, 50]" :page-size="searchData.pageSize" :current-page.sync="searchData.pageNum" |
|
|
:total="total"> |
|
|
layout="total, sizes, prev, pager, next" :total="total"> |
|
|
</Pagination> |
|
|
</Pagination> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
@ -102,6 +96,7 @@ export default { |
|
|
searchData: { |
|
|
searchData: { |
|
|
pageSize: 20, |
|
|
pageSize: 20, |
|
|
pageNum: 1, |
|
|
pageNum: 1, |
|
|
|
|
|
dcDeviceType: "2" |
|
|
}, |
|
|
}, |
|
|
phrasesData: [], |
|
|
phrasesData: [], |
|
|
process: [] |
|
|
process: [] |
|
@ -157,7 +152,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
initData() { |
|
|
initData() { |
|
|
request({ |
|
|
request({ |
|
|
url: `/business/boardReleaseLog/list`, |
|
|
url: `/business/dcOperLog/list`, |
|
|
method: "get", |
|
|
method: "get", |
|
|
params: this.searchData, |
|
|
params: this.searchData, |
|
|
}).then((result) => { |
|
|
}).then((result) => { |
|
|