From 4961b8ada7511ae0916afdb2f35d927bc0a57cc4 Mon Sep 17 00:00:00 2001 From: wangxk Date: Wed, 7 May 2025 17:01:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A3=B0=E7=BA=B9=E6=A3=80=E6=B5=8B=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E5=91=8A=E8=AD=A6=E9=98=88=E5=80=BC=E6=95=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- riis-web/src/api/videomonitor/index.ts | 67 +- riis-web/src/assets/newimg/gjsz.png | Bin 0 -> 588 bytes riis-web/src/assets/newimg/lj.png | Bin 0 -> 447 bytes riis-web/src/assets/newimg/ty.png | Bin 0 -> 469 bytes riis-web/src/components/wavEcharts/index.vue | 491 +++++++++++++ .../voiceprintDetection/index.vue | 677 ++++++++++++++++++ .../auxiliarymanage/index.vue | 4 +- .../equipmentsignal/alarmset.vue | 6 +- .../equipmentsignal/index.vue | 6 +- .../ledgermanagement/systemmanage/index.vue | 8 +- .../ledgermanagement/voiceprint/index.vue | 104 ++- 11 files changed, 1314 insertions(+), 49 deletions(-) create mode 100644 riis-web/src/assets/newimg/gjsz.png create mode 100644 riis-web/src/assets/newimg/lj.png create mode 100644 riis-web/src/assets/newimg/ty.png create mode 100644 riis-web/src/components/wavEcharts/index.vue create mode 100644 riis-web/src/views/collectmonitor/voiceprintDetection/index.vue diff --git a/riis-web/src/api/videomonitor/index.ts b/riis-web/src/api/videomonitor/index.ts index 70148ef..d87a092 100644 --- a/riis-web/src/api/videomonitor/index.ts +++ b/riis-web/src/api/videomonitor/index.ts @@ -8,7 +8,14 @@ export function getCameraByArea(params:any){ params:params }); } - +//获取左侧导航树-主设备 +export function getSubstationMainTree(params:any){ + return request({ + url: '/basedata/substation-maindevice/getSubstationMainTree' , + method: 'get', + params:params + }); +} export function getSubstationDeviceById(params:any){ return request({ url: '/basedata/substation-patroldevice/getSubstationDeviceById' , @@ -16,5 +23,59 @@ export function getSubstationDeviceById(params:any){ params:params }); } - - +//紧急调用 +export function setWorkingOfPatrolDevice(params:any){ + return request({ + url: '/basedata/substation-patroldevice/setWorkingOfPatrolDevice' , + method: 'post', + params:params + }); +} +// +export function isUrgentRetrieval(params:any){ + return request({ + url: '/basedata/substation-patroldevice/isUrgentRetrieval' , + method: 'get', + params:params + }); +} +//区域下声纹 +export function getVoicePrintByArea(params:any){ + return request({ + url: '/basedata/substation-patroldevice/getVoicePrintByArea' , + method: 'get', + params:params + }); +} +//分页查看声纹检测数据{} +export function getVoicePatrolPage(params:any){ + return request({ + url: '/basedata/voice-patrol-log/getVoicePatrolPage' , + method: 'get', + params:params + }); +} +//升温录制 +export function executeVoicePatrolTask(params:any){ + return request({ + url: '/basedata/voice-patrol-log/executeVoicePatrolTask' , + method: 'post', + params:params + }); +} +// 预置位模板录入 +export function importTemplateImage(params:any){ + return request({ + url: '/basedata/substation-patroldevice/importTemplateImage' , + method: 'get', + params:params + }); +} +//预置位偏移检测 +export function presetOffsetDetection(params:any){ + return request({ + url: '/basedata/substation-patroldevice/presetOffsetDetection' , + method: 'get', + params:params + }); +} \ No newline at end of file diff --git a/riis-web/src/assets/newimg/gjsz.png b/riis-web/src/assets/newimg/gjsz.png new file mode 100644 index 0000000000000000000000000000000000000000..50b506afe3203d2b6698aee7a79e91780c73656f GIT binary patch literal 588 zcmV-S0<-;zP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0pUqRK~y+TjgmcV zj!_iH|K~pPDiR-!kBZS}B9T~FNGy#3gF!2?sJs*%G_jZ%48|^P^+lUtV6k-ZkuaHP zB!nP>sZ0_fp&Gr%@80KqqDWr-C->g-`9J5Ldrg01IMy{!#}u^|ZGlYh<(klZJEb1` zTn3f+o!s!{lHbF$RqoSRCh?|VNNh2-?~v|OJ>1XnU{-ScNQG5MV>%w{rLl>I?|}FY z(n8jD^@hjE9MVSOb$B|UI`dCrLa#mK8eK?(s@a>;SXCa0KapO;xH;>yaVc&faa?8_ zX?=>g)5HxYSIADYf|kc~aD{W;ri<|=iLcOB&~_i^1oeg}_D(}_OTc+32hZq6J}a#D zL8uQPork=evxjvTl3i3^#_(>XJFj6$ec@R?|HKypU()V1I-5e@&pIf#r^#6ktQDfQ zvA?A{6W2FZ(lh>_?4Itt3E>f4q~X0N9j%im8O~A_8dXiZk#E!b9_;I7zLWE-@g4hB z*Z>tqVSS#{3Qg;Sjj6-;QtdL9B_uwe)HdWr#9h^iaHM?aM&#jbU6w1%_)(nPx$c}YY;R5(wK)4yvJQ4qlK&m2Jzn-syy!bZ@DoqvFef?(|xDxxCnr4zI_f|Z5X zh}lyVL{eO^5;0(*e}J7Pg&ji`rC?FQ|1EJu~XU<<`r>bGT?3=FsFLy zFd9fV-$@7YMY^gJk0t{e3%j*E#3|gtUK|?sUMPipR?=v&6!z9xQ6<4V5;E$N!yhZaSa}UdeGtSJ)w4 pFdXsOfDt5Aqh2X~E3J-(>nBGjh?&t&Np%1K002ovPDHLkV1mDa%vb;b literal 0 HcmV?d00001 diff --git a/riis-web/src/assets/newimg/ty.png b/riis-web/src/assets/newimg/ty.png new file mode 100644 index 0000000000000000000000000000000000000000..f4a6be1d6dc3092b618be9e21bbb9667cca0d547 GIT binary patch literal 469 zcmV;`0V@89P)Px$k4Z#9R5(wSlRYd$Q5462r$iz|SS%8g1WnXJ7hy!ZnIs05(vN|}Dx$(HVbB%} zlR;whH4+OJmH0?ZO)M57L?YUw_q8uxy-3I*)=hw_9nLsX9K+%F)ZaXc)boRMRam^_rg*R>rF zn+W~nSR^X(0^6*0^-;yOv*9|LU9f+YrJI0OjKUs{DiSHjuu +
+ + +
+ +
+
+ + + +
+ + + + + \ No newline at end of file diff --git a/riis-web/src/views/collectmonitor/voiceprintDetection/index.vue b/riis-web/src/views/collectmonitor/voiceprintDetection/index.vue new file mode 100644 index 0000000..5b18c0a --- /dev/null +++ b/riis-web/src/views/collectmonitor/voiceprintDetection/index.vue @@ -0,0 +1,677 @@ + + + + + diff --git a/riis-web/src/views/ledgermanagement/auxiliarymanage/index.vue b/riis-web/src/views/ledgermanagement/auxiliarymanage/index.vue index d99690c..0268d94 100644 --- a/riis-web/src/views/ledgermanagement/auxiliarymanage/index.vue +++ b/riis-web/src/views/ledgermanagement/auxiliarymanage/index.vue @@ -375,9 +375,9 @@ const tableRowClassName = ({ diff --git a/riis-web/src/views/ledgermanagement/equipmentsignal/alarmset.vue b/riis-web/src/views/ledgermanagement/equipmentsignal/alarmset.vue index 5442043..5c9a3a7 100644 --- a/riis-web/src/views/ledgermanagement/equipmentsignal/alarmset.vue +++ b/riis-web/src/views/ledgermanagement/equipmentsignal/alarmset.vue @@ -488,9 +488,9 @@ const tableRowClassName = ({ @@ -514,7 +514,7 @@ const tableRowClassName = ({
- + {{ levelitem.dictname }} diff --git a/riis-web/src/views/ledgermanagement/equipmentsignal/index.vue b/riis-web/src/views/ledgermanagement/equipmentsignal/index.vue index db51cad..5038395 100644 --- a/riis-web/src/views/ledgermanagement/equipmentsignal/index.vue +++ b/riis-web/src/views/ledgermanagement/equipmentsignal/index.vue @@ -382,11 +382,11 @@ const tableRowClassName = ({ diff --git a/riis-web/src/views/ledgermanagement/systemmanage/index.vue b/riis-web/src/views/ledgermanagement/systemmanage/index.vue index 494c19c..e2ab585 100644 --- a/riis-web/src/views/ledgermanagement/systemmanage/index.vue +++ b/riis-web/src/views/ledgermanagement/systemmanage/index.vue @@ -360,15 +360,15 @@ const tableRowClassName = ({ diff --git a/riis-web/src/views/ledgermanagement/voiceprint/index.vue b/riis-web/src/views/ledgermanagement/voiceprint/index.vue index 98f97f5..af5f721 100644 --- a/riis-web/src/views/ledgermanagement/voiceprint/index.vue +++ b/riis-web/src/views/ledgermanagement/voiceprint/index.vue @@ -22,6 +22,9 @@ import JessibucaPlayer from '@/components/jessibuca/index1.vue' import { downloadFile } from '@/utils/index'; import { exportPatrolDeviceList } from "@/api/robot"; import Eldialog from '@/components/seccmsdialog/eldialog.vue'; +import { + getArea, +} from "@/api/monitordevice"; //左侧树形控件 interface Tree { [x: string]: any; @@ -52,6 +55,7 @@ function getSelect() { stationId.value = res.data[0].stationId stationName.value = res.data[0].stationName stationCode.value = res.data[0].stationCode + GetArea() treeloading.value = false loading.value = true nextTick(() => { @@ -70,6 +74,7 @@ function handleNodeClick(data: Tree, node: any) { stationId.value = data.stationId stationName.value = data.stationName stationCode.value = data.stationCode + GetArea() loading.value = true getData() disabled.value = false @@ -261,11 +266,14 @@ const info: any = ref({ materialId: '', internationalId: '', stationName: '', - stationCode: '' + stationCode: '', }); //rules - 新增 const rules = ref({ + areaId: [ + { required: true, message: '请输入设备编码', trigger: 'blur' }, + ], patroldeviceCode: [ { required: true, message: '请输入设备编码', trigger: 'blur' }, { validator: stringlength1, trigger: 'blur' } @@ -375,7 +383,13 @@ function confirmClick(formEl: any) { info.value.stationId = stationId.value info.value.stationName = stationName.value info.value.stationCode = stationCode.value - + if (info.value.areaId != '') { + areaList.value.forEach((element: any) => { + if (element.areaId == info.value.areaId) { + info.value.areaName = element.areaName + } + }); + } if (info.value.patroldeviceId) { editPosition(info.value).then((res: any) => { if (res.code == 0) { @@ -542,6 +556,15 @@ function currency(list: any, itemcode: any) { }) return dictname } +const areaList: any = ref([]) +function GetArea() { + const parmas = { + stationCode: stationCode.value + } + getArea(parmas).then((res: any) => { + areaList.value = res.data + }) +}