<template>
  <div class="container">
<div class="m_app_history">
	<div class="p_bread">
	<%if(arr.length === 1){%>
	<span><%=arr[0].name%></span>
	<%}else{%>
		<%for(var i = 0, m = arr.length - 1; i < m; i++){%>
		<a href="<%=arr[i].url%>"><%=arr[i].name%></a>
		&gt;
		<%}%>
		<span><%=arr[arr.length - 1].name%></span>
	<%}%>
</div>
	<div class="con">
		<div class="container">
			<h3><b class="border"></b>查询历史</h3>
			<div class="info">
	<% if(result.obLogs.length){ %>
<table class="info-t">
    <thead>
    <tr>
        <th>版本</th>
        <th>操作前状态</th>
        <th>操作后状态</th>
        <th>操作</th>
        <th>操作备注</th>
        <th>操作人</th>
        <th>操作时间</th>
    </tr>
    </thead>
    <tbody>
    <% for(var i = 0, m = result.obLogs.length; i < m; i++){ %>
    <tr>
        <td><%= result.obLogs[i].verCode %></td>
        <td><%= result.obLogs[i].beforeStatus %></td>
        <td><%= result.obLogs[i].afterStatus %></td>
        <td><%= result.obLogs[i].action %></td>
        <td><%= result.obLogs[i].desc %></td>
        <td><%= result.obLogs[i].operUser %></td>
        <td><%= result.obLogs[i].operTime %></td>
    </tr>
    <% } %>
    </tbody>
</table>
<% }else{ %>
<p>暂无历史信息</p>
<% } %>
			</div>

			<div class="page">
				<!--通用页码-->
			</div>
		</div>
	</div>

</div>
  </div>
</template>

<script>
export default {
  name: "DevHelp",
  components: {},
  data() {
    return {};
  },
  computed: {},
  methods: {},
  beforeMount() {},
};
</script>
<style lang="scss" scoped>
.container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  & > img {
    display: block;
  }
}
</style>