diff --git a/src/api/common.ts b/src/api/common.ts
index 84981db..b5fd60c 100644
--- a/src/api/common.ts
+++ b/src/api/common.ts
@@ -54,3 +54,12 @@ export function downloadWave(params: string) {
method: 'get'
})
}
+
+
+//根据事件补召波形
+export function getFileByEventId(eventId: string) {
+ return createAxios({
+ url: '/cs-device-boot/icd/bzFileByEventId?eventId=' + eventId,
+ method: 'POST'
+ })
+}
\ No newline at end of file
diff --git a/src/api/cs-device-boot/recall.ts b/src/api/cs-device-boot/recall.ts
new file mode 100644
index 0000000..2dbfb4f
--- /dev/null
+++ b/src/api/cs-device-boot/recall.ts
@@ -0,0 +1,19 @@
+import createAxios from '@/utils/request'
+
+//补召事件
+export function eventRecall(data: any) {
+ return createAxios({
+ url: '/cs-device-boot/icd/bzEvent',
+ method: 'post',
+ params: data
+ })
+}
+
+//补召波形
+export function fileRecall(data: any) {
+ return createAxios({
+ url: '/cs-device-boot/icd/bzFile',
+ method: 'post',
+ params: data
+ })
+}
diff --git a/src/components/tree/govern/selectTree.vue b/src/components/tree/govern/selectTree.vue
new file mode 100644
index 0000000..7667247
--- /dev/null
+++ b/src/components/tree/govern/selectTree.vue
@@ -0,0 +1,107 @@
+
+
+
+
+
diff --git a/src/components/tree/select.vue b/src/components/tree/select.vue
new file mode 100644
index 0000000..dfed1ee
--- /dev/null
+++ b/src/components/tree/select.vue
@@ -0,0 +1,185 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ node.label }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/govern/device/control/index.vue b/src/views/govern/device/control/index.vue
index 7c3c54f..c7720ee 100644
--- a/src/views/govern/device/control/index.vue
+++ b/src/views/govern/device/control/index.vue
@@ -10,15 +10,6 @@
-
-
-
{{ devData.ptRatio || '/' }}
@@ -56,27 +44,9 @@
{{ devData.ctRatio || '/' }}
-
+
-
+
-
+
{
const deviceType = ref('0')
const pointTypeChange = (val: any, obj: any) => {
deviceType.value = val
+ console.log('pointTypeChange', val)
nodeClick(obj)
}
const realTimeRef: any = ref()
diff --git a/src/views/govern/device/control/tabs/event.vue b/src/views/govern/device/control/tabs/event.vue
index 9810580..ab9f656 100644
--- a/src/views/govern/device/control/tabs/event.vue
+++ b/src/views/govern/device/control/tabs/event.vue
@@ -15,7 +15,7 @@ import TableHeader from '@/components/table/header/index.vue'
import waveFormAnalysis from './components/waveFormAnalysis.vue'
import { ArrowLeft } from '@element-plus/icons-vue'
import { ElMessage } from 'element-plus'
-import { analyseWave } from '@/api/common'
+import { analyseWave,getFileByEventId } from '@/api/common'
import { getFileZip } from '@/api/cs-harmonic-boot/datatrend'
const tableParams: any = ref({})
const refheader = ref()
@@ -29,6 +29,15 @@ const wp = ref({})
const value = ref(1)
const waveFormAnalysisRef = ref()
const headerRef = ref()
+
+const props = defineProps({
+ deviceType: {
+ type: String,
+ default: '0'
+ }
+});
+
+
const tableStore: any = new TableStore({
url: '/cs-device-boot/csGroup/deviceDataByType',
publicHeight: 215,
@@ -125,7 +134,7 @@ const tableStore: any = new TableStore({
icon: 'el-icon-DataLine',
render: 'basicButton',
disabled: row => {
- return row.wavePath
+ return props.deviceType === '2' || row.wavePath;
}
},
{
@@ -151,10 +160,22 @@ const tableStore: any = new TableStore({
document.body.removeChild(link) //释放标签
})
-
-
-
}
+ },
+ {
+ name: 'edit',
+ title: '波形补召',
+ type: 'primary',
+ icon: 'el-icon-Check',
+ render: 'basicButton',
+ disabled: row => {
+ return props.deviceType != '2' || row.wavePath;
+ },
+ click: row => {
+ getFileByEventId(row.id).then(res => {
+ tableStore.index()
+ })
+ }
}
]
}
diff --git a/src/views/govern/monitorRecall/eventRecall.vue b/src/views/govern/monitorRecall/eventRecall.vue
new file mode 100644
index 0000000..1161ed2
--- /dev/null
+++ b/src/views/govern/monitorRecall/eventRecall.vue
@@ -0,0 +1,151 @@
+
+
+
+
+ 事件补召
+ 波形补召
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/govern/monitorRecall/index.vue b/src/views/govern/monitorRecall/index.vue
new file mode 100644
index 0000000..e85c7d8
--- /dev/null
+++ b/src/views/govern/monitorRecall/index.vue
@@ -0,0 +1,186 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/govern/monitorRecall/steadyRecall.vue b/src/views/govern/monitorRecall/steadyRecall.vue
new file mode 100644
index 0000000..b1c5e49
--- /dev/null
+++ b/src/views/govern/monitorRecall/steadyRecall.vue
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+
\ No newline at end of file