|
|
@@ -560,7 +560,7 @@
|
|
|
<setValueSetting @register="registerModalDeviceSet" :deviceType="deviceType" @show-set-modal="showSetModal" />
|
|
|
<!-- 设备故障诊断详情 -->
|
|
|
<deviceFaultDetailModal :isShowModal="isShowModal" :warningMonitorRowIndex="warningMonitorRowIndex"
|
|
|
- :rightColumns="rightColumns" :selectData="selectData" :deviceID="currentRoute['query']['id']"
|
|
|
+ :rightColumns="rightColumns" :selectData="selectData" :deviceID="deviceIds"
|
|
|
:deviceType="deviceType" @handlerClose="handlerClose"></deviceFaultDetailModal>
|
|
|
</template>
|
|
|
|
|
|
@@ -617,6 +617,7 @@ import { getDictItems } from '/@/api/common/api';
|
|
|
import { downloadByData } from '/@/utils/file/download';
|
|
|
|
|
|
let isShowModal = ref(false) //是否显示故障分析详情弹窗
|
|
|
+let deviceIds=ref('')
|
|
|
const globalConfig = inject('globalConfig');
|
|
|
const HistoryTable =
|
|
|
globalConfig.History_Type == 'remote'
|
|
|
@@ -988,6 +989,7 @@ const getDeviceBaseList = () => {
|
|
|
|
|
|
// 切换检测数据
|
|
|
const getSelectRow = async (id) => {
|
|
|
+ deviceIds.value=id
|
|
|
removeCamera(playerRef);
|
|
|
if (!id) return;
|
|
|
loading.value = true;
|