20260412:设备管理页面添加设备历史记录
This commit is contained in:
parent
0cadc302d0
commit
cdaf411ea1
@ -111,6 +111,7 @@
|
||||
"device.device-edit.148398-81": "equipment alarm ",
|
||||
"device.device-edit.148398-82": "Voice intercom",
|
||||
"device.device-edit.148398-83": "Calculation Formula",
|
||||
"device.device-edit.148398-84": "History Records",
|
||||
"device.device-functionlog.399522-0": "Please Select A Device Slave:",
|
||||
"device.device-functionlog.399522-1": "Please Select A Device Slave",
|
||||
"device.device-functionlog.399522-2": "Slave Address:$",
|
||||
|
||||
@ -111,6 +111,7 @@
|
||||
"device.device-edit.148398-81": "设备告警",
|
||||
"device.device-edit.148398-82": "语音对讲",
|
||||
"device.device-edit.148398-83": "计算公式",
|
||||
"device.device-edit.148398-84": "历史记录",
|
||||
"device.device-functionlog.399522-0": "请选择设备从机:",
|
||||
"device.device-functionlog.399522-1": "请选择设备从机",
|
||||
"device.device-functionlog.399522-2": "从机地址:$",
|
||||
|
||||
1167
yack-web/src/views/dataCenter/components/DeviceHistoryTablePanel.vue
Normal file
1167
yack-web/src/views/dataCenter/components/DeviceHistoryTablePanel.vue
Normal file
File diff suppressed because it is too large
Load Diff
@ -165,6 +165,14 @@
|
||||
<device-things-model ref="deviceThingsModel" :device="form"/>
|
||||
</el-tab-pane>
|
||||
|
||||
<!-- 历史记录(照搬数据中心-历史记录) -->
|
||||
<el-tab-pane name="deviceHistoryRecord" :disabled="form.deviceId == 0" v-if="form.deviceType !== 3" lazy>
|
||||
<span slot="label">{{ $t('device.device-edit.148398-84') }}</span>
|
||||
<div style="padding-left: 10px">
|
||||
<device-history-table-panel :device="form" :load-calculated-history-defaults="true" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
|
||||
<el-tab-pane
|
||||
name="deviceSub"
|
||||
:disabled="form.deviceId == 0"
|
||||
@ -375,6 +383,7 @@ import deviceInlineVideo from './device-inline-video';
|
||||
import deviceFuncLog from './device-functionlog';
|
||||
import deviceSub from './device-sub';
|
||||
import deviceThingsModel from './device-things-model.vue';
|
||||
import DeviceHistoryTablePanel from '@/views/dataCenter/components/DeviceHistoryTablePanel.vue';
|
||||
import vueQr from 'vue-qr';
|
||||
import {loadMap} from '@/utils/map.js';
|
||||
import {
|
||||
@ -424,6 +433,7 @@ export default {
|
||||
deviceModbusTask,
|
||||
deviceInlineVideo,
|
||||
deviceThingsModel,
|
||||
DeviceHistoryTablePanel,
|
||||
},
|
||||
watch: {
|
||||
activeName(val) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user