rev:优化日志检索页面
This commit is contained in:
@@ -361,12 +361,21 @@ public class PlugPullDeviceSiteDeviceDriver extends AbstractOpcDeviceDriver impl
|
|||||||
requireSucess = true;
|
requireSucess = true;
|
||||||
logServer.deviceExecuteLog(this.device_code, "", "", "申请套管,返回参数:" + applyPlugPullSitResponse);
|
logServer.deviceExecuteLog(this.device_code, "", "", "申请套管,返回参数:" + applyPlugPullSitResponse);
|
||||||
message = "申请套管成功";
|
message = "申请套管成功";
|
||||||
} else {
|
}
|
||||||
|
if (StrUtil.equals("2", is_bushing)){
|
||||||
|
Map<String, Object> map = new LinkedHashMap<>();
|
||||||
|
map.put("to_command", 97);
|
||||||
|
this.writing(map);
|
||||||
|
requireSucess = true;
|
||||||
|
message = "不套管,送空气轴";
|
||||||
|
logServer.deviceExecuteLog(this.device_code, "", "", "不申请套管反馈,返回参数:" + applyPlugPullSitResponse);
|
||||||
|
}
|
||||||
|
if (StrUtil.equals("0", is_bushing)){
|
||||||
Map<String, Object> map = new LinkedHashMap<>();
|
Map<String, Object> map = new LinkedHashMap<>();
|
||||||
map.put("to_command", 98);
|
map.put("to_command", 98);
|
||||||
this.writing(map);
|
this.writing(map);
|
||||||
requireSucess = true;
|
requireSucess = true;
|
||||||
message = "不申请套管";
|
message = "缺少纸管,人工确认";
|
||||||
logServer.deviceExecuteLog(this.device_code, "", "", "不申请套管反馈,返回参数:" + applyPlugPullSitResponse);
|
logServer.deviceExecuteLog(this.device_code, "", "", "不申请套管反馈,返回参数:" + applyPlugPullSitResponse);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -373,7 +373,7 @@ public class SlitTwoManipulatorDeviceDriver extends AbstractOpcDeviceDriver impl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ObjectUtil.isEmpty(task)) {
|
if (!ObjectUtil.isEmpty(task)) {
|
||||||
this.executeReadyTask(task);
|
this.executeReadyTask(task);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -14,18 +14,12 @@
|
|||||||
>
|
>
|
||||||
<!-- <el-table-column type="selection" width="55"/>-->
|
<!-- <el-table-column type="selection" width="55"/>-->
|
||||||
<!-- <el-table-column v-if="false" prop="id" label="id"/>-->
|
<!-- <el-table-column v-if="false" prop="id" label="id"/>-->
|
||||||
<el-table-column prop="operate" label="操作" :min-width="flexWidth('operate',crud.data,操作)" />
|
<el-table-column prop="device_code" label="设备号" width="100px" />
|
||||||
<el-table-column prop="device_code" label="设备号" :min-width="flexWidth('device_code',crud.data,设备号)" />
|
|
||||||
<!-- <el-table-column prop="trace_id" label="链路追踪" /> -->
|
<!-- <el-table-column prop="trace_id" label="链路追踪" /> -->
|
||||||
<el-table-column prop="task_code" label="任务编号" :min-width="flexWidth('task_code',crud.data,任务编号)" />
|
<el-table-column prop="task_code" label="任务编号" width="100px" />
|
||||||
<el-table-column prop="instruct_code" label="指令编号" :min-width="flexWidth('instruct_code',crud.data,指令编号)" />
|
<el-table-column prop="instruct_code" label="指令编号" width="100px" />
|
||||||
<el-table-column prop="method" label="方法" :min-width="flexWidth('method',crud.data,方法)" />
|
<el-table-column prop="logTime" label="记录时间" width="180px" />
|
||||||
<el-table-column prop="status_code" label="状态码" :min-width="flexWidth('status_code',crud.data,状态码)" />
|
<el-table-column prop="content" label="内容详情" class="text-wrapper" />
|
||||||
<el-table-column prop="requestparam" label="请求参数" :show-overflow-tooltip="true" width="300px" />
|
|
||||||
<el-table-column prop="responseparam" label="返回参数" :show-overflow-tooltip="true" width="300px" />
|
|
||||||
<el-table-column prop="logTime" label="记录时间" :min-width="flexWidth('logTime',crud.data,记录时间)" />
|
|
||||||
<el-table-column prop="content" label="内容详情" :show-overflow-tooltip="true" width="300px"/>
|
|
||||||
|
|
||||||
</el-table>
|
</el-table>
|
||||||
<!--分页组件-->
|
<!--分页组件-->
|
||||||
<pagination />
|
<pagination />
|
||||||
@@ -106,5 +100,8 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.text-wrapper {
|
||||||
|
word-break: break-all;
|
||||||
|
word-wrap: break-word
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user