85d1f84d by zhaoqian

日志数据格式

1 parent 5e481272
......@@ -40,12 +40,23 @@
</div>
</el-dialog>
<el-dialog v-dialogDrag title="操作数据" width="69%" :visible.sync="operationDataVisible">
<div style="min-height: 300px;width: 100%">
{{currentOperationData}}
</div>
</el-dialog>
<div class="log-table">
<el-table :data="tableData">
<el-table-column type="index" width="80" align="center" label="序号">
</el-table-column>
<el-table-column prop="operationtype" align="center" label="操作类型">
</el-table-column>
<el-table-column align="center" label="操作数据">
<template slot-scope="scope">
<el-button type="text" class="operatorBtn" @click="openDetail(scope.row)">打开</el-button>
</template>
</el-table-column>
<el-table-column prop="username" align="center" width="100" label="操作人">
</el-table-column>
<el-table-column prop="addtime" align="center" label="操作时间">
......@@ -69,6 +80,7 @@
tableData:[],
errorLog:[],
concreteLog:'',
currentOperationData:'',
total: 0,
pageNo: 1,
......@@ -76,6 +88,7 @@
outerVisible: false,
innerVisible: false,
operationDataVisible:false,
pickerOptions: {
shortcuts: [{
......@@ -150,6 +163,10 @@
reset(){
this.startValue = "";
this.endValue = "";
},
openDetail(data){
this.operationDataVisible = true;
this.currentOperationData = data.operationJson;
}
},
mounted() {
......