mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
feat(web): 新增 syslog 日志功能
- 在 EditCom 组件中添加 syslog 相关配置和逻辑 - 在 log.vue 中使用 EditCom 组件实现 syslog 日志的编辑功能 - 优化 monitor.vue 中的场站切换功能,调整选择框宽度 - 修复 request/index.js 中的错误处理逻辑
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div class="left">
|
||||
<div class="search-item">
|
||||
<span>场站切换</span>
|
||||
<a-select v-model:value="selectStationId" style="width: 400px" @change="getStationChange">
|
||||
<a-select v-model:value="selectStationId" style="width: 300px" @change="getStationChange">
|
||||
<a-select-option v-for="station in stations" :value="station['station_id']"
|
||||
>{{ station.name }}
|
||||
</a-select-option>
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
<a-modal v-model:open="formModal" width="750px" style="top: 80px" :footer="null">
|
||||
<!-- action:edit add -->
|
||||
<EditCom
|
||||
:record="record"
|
||||
:record="formState"
|
||||
@operateForm="operateForm"
|
||||
type="user"
|
||||
type="syslog"
|
||||
:action="formStatus"
|
||||
></EditCom>
|
||||
</a-modal>
|
||||
|
||||
Reference in New Issue
Block a user