From 5302d8208b7e77b1c8422fa7a11505cc2d98c475 Mon Sep 17 00:00:00 2001 From: wangxk Date: Fri, 16 May 2025 16:18:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=85=E9=9A=9C=E8=AF=8A=E6=96=AD=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- riis-web/public/webconfig.js | 2 +- riis-web/src/api/question/index.ts | 42 ++ riis-web/src/assets/navigation/110tu.png | Bin 0 -> 3710 bytes riis-web/src/components/Pagination/page.vue | 2 +- .../src/views/basedata/3DModelSet/index.vue | 14 +- .../src/views/basedata/algorithm/index.vue | 140 +---- .../views/collectmonitor/datasurvey/index.vue | 18 +- .../environmentalMonitoring/index.vue | 75 +-- .../voiceprintDetection/index.vue | 20 +- .../auxiliarymanage/index.vue | 19 +- .../equipmentsignal/index.vue | 83 ++- .../ledgermanagement/monitordevice/index.vue | 14 +- .../ledgermanagement/systemmanage/index.vue | 20 +- .../ledgermanagement/voiceprint/index.vue | 16 +- .../src/views/question/question/index.vue | 580 ++++++++---------- riis-web/src/views/task/alarmInfo/index.vue | 11 +- riis-web/src/views/task/makeTask/index.vue | 10 +- .../src/views/task/patrolDetails/index.vue | 12 +- .../src/views/task/patrolmonitor/index.vue | 2 +- .../src/views/task/patrolreport/index.vue | 10 +- 20 files changed, 530 insertions(+), 560 deletions(-) create mode 100644 riis-web/src/api/question/index.ts create mode 100644 riis-web/src/assets/navigation/110tu.png diff --git a/riis-web/public/webconfig.js b/riis-web/public/webconfig.js index 8a7c508..1294c0a 100644 --- a/riis-web/public/webconfig.js +++ b/riis-web/public/webconfig.js @@ -2,6 +2,6 @@ window.webConfig = { "webApiBaseUrl": "http://192.168.1.20:8090/", "wsApiBaseUrl": "ws://192.168.1.20:8090/", "webApiMonitorUrl": "http://192.168.1.20:18080", - "answeringUrl":"http://121.37.111.42:8083/ui/chat/431e83302d0bbfbe", + "answeringUrl":"http://121.37.111.42:8080/ui/chat/a9d56e68484c5594", "webSystemTitle":"标题" } \ No newline at end of file diff --git a/riis-web/src/api/question/index.ts b/riis-web/src/api/question/index.ts new file mode 100644 index 0000000..59c2283 --- /dev/null +++ b/riis-web/src/api/question/index.ts @@ -0,0 +1,42 @@ +import request from '@/utils/request'; + +//获取所有角色 +export function getAlgorithmClassTree(params:any){ + return request({ + url: '/algorithm/algorithm-class/getAlgorithmClassTree' , + method: 'get', + params: params + }); +} +//查询算法部件的参数 +export function getAlgorithmDeviceParams(params:any){ + return request({ + url: '/algorithm/algorithm-device/getAlgorithmDeviceParams' , + method: 'post', + params: params + }); + } +//查询算法部件的参数曲线 +export function getAlgorithmDeviceCurve(params:any){ + return request({ + url: '/algorithm/algorithm-device/getAlgorithmDeviceCurve' , + method: 'post', + params: params + }); +} +//根据算法id过去参数名称 +export function getAlgorithmParamsNameList(params:any){ + return request({ + url: '/algorithm/algorithm-params/getAlgorithmParamsNameList' , + method: 'get', + params: params + }); +} +//调用算法分析 +export function callAlgorithmAnalyse(params:any){ + return request({ + url: '/algorithm/algorithm-params/callAlgorithmAnalyse' , + method: 'post', + params: params + }); +} \ No newline at end of file diff --git a/riis-web/src/assets/navigation/110tu.png b/riis-web/src/assets/navigation/110tu.png new file mode 100644 index 0000000000000000000000000000000000000000..bd284204dbe0e19d0fa3f8df107652166ad3247c GIT binary patch literal 3710 zcmcIn2~<;88h))yiw@XPkJKs1X5JVC&WmjWC|pPO*HZ%U~PB|6A4C$GLlW) zU@%D7>g!MNz;KknB2!2L3WY*&Ws#|_Q~}LZ!kS=-Oo*u!jz3XAIeaC` zCW5NDkSH!Bs!I@+fjBb|3jG5LC?CZH^~Hn|QS2;GXWGx8pl5`9CI1(}LIEPea48=I zERpiXC@hzWiG-OnA|6;2h6BUEJG#*eUtfePQz-c|0m|jDi6CaOL?T3-sUo__g(@U5 z&Xt@*w<0>g4<1cA-W5JP2Pa^YY^Eq!|v8%#q6 zm$M-#ChJ)<@8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;)`H)a`d! zFKb}Mjjrc|0g<$rwrx)+j#qn5f(8U~B;2ZTA^XdGdS{q%zvqZ$wCQB07x2I!8H)|S zrXXlfex=FSF~`{ckqSEa?bT(syo>F1kEiw? z+~TWs2$&Q=e3L;^fvgW~GevzfjcGb@w)ZohyaE!0JtNu9F`iN^?4wyz3J$X>{2ETU z@KIZ?Puwaa?GD?b5owBint66tehu^g(A%&!O)g zL>zc6&xaaYX*3hZL;uA`rV1nY4Tbs7Yz%3B>TvF|Y1Y89g}ks8Mq_)T|M@*}CXipz z5C0!O(^NAZ#qG>Z(^zTG<|;p(zM)>?V$ZaCot$~S`O-Pzu3^SLQ+g`$f;CNGmY(Y& zEw^~9<>ExxqW03@X3dG=r@E%V0!4RCK)~uUdt;!dR$Y9@LFQGZ%d$%NGBwl^f8Jol zWu>3r?Rx&0DedIXhWKp_R)wnLnYNP|E7zUk?mx|7vEq zS6zO&rS$6y?2?R;gaEZ@qP3@^Qc#{TI5DMp9cZS^+)u?oWjl%_a-cjIu+hk oRsD6IS2*x^tK}K8k6p-^dGp%f0}q=xN&|qq(T{WT!ySM67uI7d;s5{u literal 0 HcmV?d00001 diff --git a/riis-web/src/components/Pagination/page.vue b/riis-web/src/components/Pagination/page.vue index e387c3d..bd30379 100644 --- a/riis-web/src/components/Pagination/page.vue +++ b/riis-web/src/components/Pagination/page.vue @@ -60,7 +60,7 @@ const props = defineProps({ }, }); const pcode = ref(10) -const inputgo = ref() +const inputgo = ref(1) const arr_product = ref([ { lable: 10, diff --git a/riis-web/src/views/basedata/3DModelSet/index.vue b/riis-web/src/views/basedata/3DModelSet/index.vue index d4a7419..b592abc 100644 --- a/riis-web/src/views/basedata/3DModelSet/index.vue +++ b/riis-web/src/views/basedata/3DModelSet/index.vue @@ -404,7 +404,7 @@ - @@ -871,28 +814,7 @@ onMounted(() => {
关联信号
-
-
-
-
分类导航
-
- - - - - - - - -
+
@@ -904,16 +826,6 @@ onMounted(() => { - - - - - - 搜索 重置 diff --git a/riis-web/src/views/collectmonitor/datasurvey/index.vue b/riis-web/src/views/collectmonitor/datasurvey/index.vue index f8a4256..17eae27 100644 --- a/riis-web/src/views/collectmonitor/datasurvey/index.vue +++ b/riis-web/src/views/collectmonitor/datasurvey/index.vue @@ -107,7 +107,7 @@ function getsignadata() { }) } function gettabledata() { - if (detaall.value.length > 0) { + if (detaall.value) { tableform.value.startDate = formatDate(detaall.value[0]) tableform.value.endDate = formatDate(detaall.value[1]) } else { @@ -278,7 +278,7 @@ function gettoday() { :row-class-name="tableRowClassName" :header-cell-style="{ background: '#002b6a', color: '#B5D7FF', height: '50px' }"> - + @@ -342,7 +342,7 @@ function gettoday() { .text_top { width: 100%; - margin-top:20px ; + margin-top:30px ; .text_top_title { display: flex; @@ -377,24 +377,24 @@ function gettoday() { align-items: center; .content_one_title { width: 114px; - height: 75px; + height: 50px; text-align: center; - line-height: 75px; + line-height: 50px; border-top: 1px solid #00397c; border-left: 1px solid #00397c; background-color: #002562; - font-size: 16px; + font-size: 14px; color: #B5D7FF; } .content_one_text { width: 267px; - height: 75px; + height: 50px; text-align: center; - line-height: 75px; + line-height: 50px; border-top: 1px solid #00397c; border-left: 1px solid #00397c; - font-size: 16px; + font-size: 14px; color: #B5D7FF; } } diff --git a/riis-web/src/views/collectmonitor/environmentalMonitoring/index.vue b/riis-web/src/views/collectmonitor/environmentalMonitoring/index.vue index 470788f..15fc4cd 100644 --- a/riis-web/src/views/collectmonitor/environmentalMonitoring/index.vue +++ b/riis-web/src/views/collectmonitor/environmentalMonitoring/index.vue @@ -47,6 +47,7 @@ const hutotal: any = ref('') const environment_data = ref([]) // const treeloading = ref(false) function getEnvironment() { + treeloading.value = true if (tableData.value) { environment_params.value.startDate = tableData.value[0] @@ -57,15 +58,16 @@ function getEnvironment() { } environment_params.value.signalId = signalId.value getdeviceworkdata(environment_params.value).then((res: any) => { + treeloading.value = false environment_data.value = res.data.records environment_params.value.size = res.data.size environment_params.value.current = res.data.current hutotal.value = res.data.total - + }) } function environmentReset() { - environmentInfo + // environmentInfo if (tableData.value) { tableData.value.length = 0 } @@ -121,12 +123,14 @@ const environmentInfo: any = ref([]) // } function getInit() { + let params = { stationId: userStore.stationId } getDeviceWorkData(params).then((res: any) => { - environmentInfo.value = res.data + signalId.value = res.data[0].signalId + }) } @@ -152,8 +156,9 @@ function currency(list: any, itemcode: any) { const EquipmentType: any = ref([]) function gettype() { getDeviceByType({ dictcode: 'system' }).then((res: any) => { + // debugger EquipmentType.value = res.data - signalId.value = res.data[0].signalId + getEnvironment() getechartdata() }) @@ -182,33 +187,33 @@ function getechartdata() { drawEchart() }) function drawEchart() { - let myChart = echarts.init(document.getElementById("deviceEachers") as HTMLDivElement); - myChart.setOption({ - title: { - text: '' - }, - tooltip: { - trigger: 'axis' - }, - legend: { - data: ['Step Start', 'Step Middle', 'Step End'] - }, - grid: { - left: '3%', - right: '4%', - bottom: '3%', - containLabel: true - }, - toolbox: { - feature: { - saveAsImage: {} - } - }, - xAxis: echartdata.value.xAxis, - yAxis: echartdata.value.yAxis, - series: echartdata.value.series - }) -} + let myChart = echarts.init(document.getElementById("deviceEachers") as HTMLDivElement); + myChart.setOption({ + title: { + text: '' + }, + tooltip: { + trigger: 'axis' + }, + legend: { + data: ['Step Start', 'Step Middle', 'Step End'] + }, + grid: { + left: '3%', + right: '4%', + bottom: '3%', + containLabel: true + }, + toolbox: { + feature: { + saveAsImage: {} + } + }, + xAxis: echartdata.value.xAxis, + yAxis: echartdata.value.yAxis, + series: echartdata.value.series + }) + } } @@ -240,14 +245,14 @@ function getechartdata() { 重置
- - - + + diff --git a/riis-web/src/views/collectmonitor/voiceprintDetection/index.vue b/riis-web/src/views/collectmonitor/voiceprintDetection/index.vue index b252bbd..7d12f86 100644 --- a/riis-web/src/views/collectmonitor/voiceprintDetection/index.vue +++ b/riis-web/src/views/collectmonitor/voiceprintDetection/index.vue @@ -12,6 +12,12 @@ import Page from '@/components/Pagination/page.vue' import { useUserStore } from '@/store/modules/user'; import Eldialog from '@/components/seccmsdialog/eldialog.vue'; import wavEcharts from '@/components/wavEcharts/index.vue'; +import dayjs from 'dayjs' +function today(){ + let startTime = dayjs().startOf('day').format('YYYY-MM-DD HH:mm:ss') + let endTime = dayjs().format('YYYY-MM-DD HH:mm:ss') + tableData.value = [startTime,endTime] +} const userStore = useUserStore(); const url = userStore.webApiBaseUrl; function getData() { @@ -78,9 +84,10 @@ onBeforeUnmount(() => { }) onMounted(() => { getInit() + today() }) -const tableData = ref([]) +const tableData:any = ref([]) const treeloading = ref(false) const environment_data = ref([ @@ -95,7 +102,8 @@ const params: any = ref({ endDate: '', }) function getdata() { - if (tableData.value.length != 0) { + console.log(tableData.value) + if (tableData.value) { params.value.startDate = tableData.value[0] params.value.endDate = tableData.value[1] } else { @@ -233,7 +241,7 @@ function open(row: any) {
- @@ -253,15 +261,15 @@ function open(row: any) { :header-cell-style="{ background: '#002b6a', color: '#B5D7FF', height: '50px' }"> - + - + - +