feat: 新增 edc-web Flask 前端管理系统 + 需求文档
- edc-web: Flask 项目骨架(设备管理、测试操作、测试信息三大页面) - edc_server: 升级子模块(tb_serialnet 透传支持) - docs: 测试工装EDC管理系统需求文档
This commit is contained in:
52
edc-web/app/templates/test_data.html
Normal file
52
edc-web/app/templates/test_data.html
Normal file
@@ -0,0 +1,52 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}测试信息 - EDC 工装管理系统{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>测试信息</h2>
|
||||
|
||||
<div class="search-bar">
|
||||
<label>
|
||||
设备编码:
|
||||
<input type="text" id="search-serial" placeholder="输入设备编码搜索...">
|
||||
</label>
|
||||
<label>
|
||||
日期范围:
|
||||
<input type="date" id="search-date-from">
|
||||
至
|
||||
<input type="date" id="search-date-to">
|
||||
</label>
|
||||
<button onclick="searchData(1)" class="btn-search">搜索</button>
|
||||
<button onclick="exportCSV()" class="btn-export">导出 CSV</button>
|
||||
</div>
|
||||
|
||||
<table id="test-data-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>设备编码</th>
|
||||
<th>DG430地址</th>
|
||||
<th>设备型号</th>
|
||||
<th>类型</th>
|
||||
<th>是否完成</th>
|
||||
<th>故障信息</th>
|
||||
<th>继电器</th>
|
||||
<th>峰峰值(V)</th>
|
||||
<th>开始频率(Hz)</th>
|
||||
<th>进入频率(Hz)</th>
|
||||
<th>离开频率(Hz)</th>
|
||||
<th>进入距离(mm)</th>
|
||||
<th>离开距离(mm)</th>
|
||||
<th>进入速度(dm/s)</th>
|
||||
<th>离开速度(dm/s)</th>
|
||||
<th>时间</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
|
||||
<div class="pagination" id="pagination"></div>
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
<script src="{{ url_for('static', filename='js/test_data.js') }}"></script>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user