菜单bug修复和数据接口更新

This commit is contained in:
zhangjunwen 2024-04-16 18:25:42 +08:00
parent 7e2d095c41
commit 657c3da35f
6 changed files with 13 additions and 6 deletions

View File

@ -204,7 +204,9 @@ public class IpcDataProcess implements Runnable {
Map<String, Object> fields = new TreeMap();
List<IpcAlarmRecord> alarmRecordList = new ArrayList<>();
//TODO 停机运维状态数据不储存
tags.put("status", "1");//正常运行 0停机 1正常运行 2待机 3试运行
// 系统电流
fields.put("sys_cur", (float) 0 + Math.random());
// 系统流量

View File

@ -74,6 +74,7 @@
and #{params.endTime}
</if>
</where>
order by a.alarm_time desc
</select>
<select id="selectIpcAlarmRecordById" parameterType="Long" resultMap="IpcAlarmRecordResult">

View File

@ -994,6 +994,10 @@ export default {
}
},
handleQuery() {
console.log("datetime:", this.datetime);
if (this.datetime == null) {
this.datetime = this.getDefaultTimeRange();
}
this.stopRefresh();
let startTime = new Date(this.datetime[0]);
this.queryParams.startTime = this.formatDateTime(startTime);

View File

@ -205,13 +205,13 @@
@click="handleUpdate(scope.row)"
v-hasPermi="['system:rules:edit']"
>修改</el-button>
<el-button
<!-- <el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['system:rules:remove']"
>删除</el-button>
>删除</el-button> -->
</template>
</el-table-column>
</el-table>

View File

@ -2200,7 +2200,7 @@ export default {
data: ["4um", "6um", "14um", "21um"],
},
yAxis: {
name: "颗粒度",
name: "PM",
min: 0,
max: 1,
interval: 0.2, //

View File

@ -10,7 +10,7 @@
class="container"
style="height:100%"
>
<el-header class="header">ZFSC4中高辊液压压区P/Q特性</el-header>
<el-header class="header">ZFSC4中高辊液压压区P/Q特性</el-header>
<el-main class="main">
<el-row style="height: 20%;margin:0 3%;">
<el-row style="height: 50%">
@ -178,7 +178,7 @@
class="container"
style="height:100%"
>
<el-header class="header">ZFSC4中高辊液压系统主参数</el-header>
<el-header class="header">ZFSC4中高辊液压系统主参数</el-header>
<el-main class="main">
<el-row style="height: 50%">
<el-col
@ -330,7 +330,7 @@
class="container"
style="height:100%"
>
<el-header class="header">ZFSC4中高辊液压压区P/Q特性</el-header>
<el-header class="header">ZFSC4中高辊液压压区P/Q特性</el-header>
<el-main class="main">
<el-row style="height: 20%;margin:0 3%;">
<el-row style="height: 50%">