From 11f67db5e4b09e288b6ada71169d00fe5d1df32e Mon Sep 17 00:00:00 2001 From: wangxk Date: Tue, 10 Jun 2025 15:57:18 +0800 Subject: [PATCH] =?UTF-8?q?AI=E6=95=85=E9=9A=9C=E7=A0=94=E5=88=A4-?= =?UTF-8?q?=E6=95=85=E9=9A=9C=E9=A2=84=E8=AD=A6=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- riis-web/src/3dState.json | 44 + riis-web/src/api/equipment/index.ts | 10 +- riis-web/src/api/pointSolution/index.ts | 9 + riis-web/src/api/question/index.ts | 8 + riis-web/src/assets/navigation/0904.png | Bin 0 -> 2332 bytes riis-web/src/assets/point/Viewfile.png | Bin 0 -> 687 bytes riis-web/src/assets/point/camera.png | Bin 0 -> 712 bytes riis-web/src/assets/point/humidity.png | Bin 0 -> 687 bytes riis-web/src/assets/point/partial.png | Bin 0 -> 657 bytes riis-web/src/assets/point/voiceprint.png | Bin 0 -> 699 bytes .../src/components/IntelligentPoint/index.vue | 8 +- riis-web/src/layout/components/Navbar.vue | 4 +- .../src/views/basedata/equipment/index.vue | 934 +++++++++++++++++- .../digitalEmployees/pointSolution/index.vue | 20 +- .../faultAnalysis/faultWarning/index.vue | 880 +++++++++++++++++ 15 files changed, 1871 insertions(+), 46 deletions(-) create mode 100644 riis-web/src/3dState.json create mode 100644 riis-web/src/assets/navigation/0904.png create mode 100644 riis-web/src/assets/point/Viewfile.png create mode 100644 riis-web/src/assets/point/camera.png create mode 100644 riis-web/src/assets/point/humidity.png create mode 100644 riis-web/src/assets/point/partial.png create mode 100644 riis-web/src/assets/point/voiceprint.png create mode 100644 riis-web/src/views/faultAnalysis/faultWarning/index.vue diff --git a/riis-web/src/3dState.json b/riis-web/src/3dState.json new file mode 100644 index 0000000..e88c38e --- /dev/null +++ b/riis-web/src/3dState.json @@ -0,0 +1,44 @@ +[ + { + "name": "庄周", + "model": "scene.glb", + "modelLight": true, + "ambientColor": "0xffffff", + "directColor": "0xcccccc", + "DirectionalLight": true, + "SpotLight": true, + "gui": false, + "objectX": "object.position.x - center.x", + "objectY": 10, + "objectZ": "object.position.z - center.z", + "defaultCameraX": "defaultCamera.position.x += size / 2", + "defaultCameraY": "defaultCamera.position.y += size / 4", + "defaultCameraZ": "defaultCamera.position.z += size / 5.2", + "defaultCameraPositionX": 148.31480981421555, + "defaultCameraPositionY": 110.21040546785065, + "defaultCameraPositionZ": 59.16669210959738, + "browsingRoam": [ + { + "x": 69.5, + "y": 10.2, + "z": -6 + }, + { + "x": -80.5, + "y": 10.2, + "z": -6 + }, + { + "x": -80.5, + "y": 10.2, + "z": -66 + }, + { + "x": 69.5, + "y": 10.2, + "z": -66 + } + + ] + } +] \ No newline at end of file diff --git a/riis-web/src/api/equipment/index.ts b/riis-web/src/api/equipment/index.ts index d1e90bc..f07ad7a 100644 --- a/riis-web/src/api/equipment/index.ts +++ b/riis-web/src/api/equipment/index.ts @@ -21,7 +21,10 @@ export function addMain(params:any){ return request({ url: '/basedata/substation-maindevice/addMainDevice' , method: 'post', - params:params + data:params, + headers: { + 'Content-Type': 'multipart/form-data' + } }); } //修改主设备 @@ -29,7 +32,10 @@ export function editMain(params:any){ return request({ url: '/basedata/substation-maindevice/updateMainDevice' , method: 'post', - params:params + data:params, + headers: { + 'Content-Type': 'multipart/form-data' + } }); } //新增部件 diff --git a/riis-web/src/api/pointSolution/index.ts b/riis-web/src/api/pointSolution/index.ts index 8334f35..d02c45f 100644 --- a/riis-web/src/api/pointSolution/index.ts +++ b/riis-web/src/api/pointSolution/index.ts @@ -97,4 +97,13 @@ export function deleteAlgorithmArrange(params: any) { method: 'post', params: params, }); +} +//预览方案图片 +export function viewFile(params: any) { + return request({ + url: '/algorithm/algorithm-arrange/viewFile', + method: 'get', + params: params, + responseType: 'blob', + }); } \ No newline at end of file diff --git a/riis-web/src/api/question/index.ts b/riis-web/src/api/question/index.ts index df55263..90271fe 100644 --- a/riis-web/src/api/question/index.ts +++ b/riis-web/src/api/question/index.ts @@ -47,4 +47,12 @@ export function getAlgorithmLogsPage(params:any){ method: 'get', params: params }); +} +//获取主设备信息 +export function getMainDeviceInfo(params:any){ + return request({ + url: '/algorithm/algorithm-class-component/getMainDeviceInfo' , + method: 'get', + params: params + }); } \ No newline at end of file diff --git a/riis-web/src/assets/navigation/0904.png b/riis-web/src/assets/navigation/0904.png new file mode 100644 index 0000000000000000000000000000000000000000..9e5fbbf41124c1ff5a9c8701013c6aa26712ebbf GIT binary patch literal 2332 zcmeAS@N?(olHy`uVBq!ia0y~yVCG?9U}WK71B$e6-fRz~I14-?iy0WWg+Q3`(%rg0 z3=ACSJY5_^D(1Ysd%k<>bIIcmf6tT=Ufp?F;hz_Crg`hSC@!Uq-i5*0Z}xF7U)ZC~ zDKcySg4HRiv7u2C;&-J(G)y?BTzaXbFil4#Z_$NSfj&lFJ{PVn?=GIwdCuHxRb~IV z(u1ds=UAriurFSe~$(yF+Q-r_4C)4N`Jc+|L==mZPCkL7d|uC zgysFO40=C3{Fl#RpH9|>_UDtmufM+Yk{{^wySe|~inq(9n`V5@-ye~E{r$S)<@N$V z?;Wl+<9++h-c#!Mp=su;)6A|u`gn9#MVJmlP3&*JH>=Ew_vO_UR=o(ESCM_~--2Ij z#b2$xzu)+a21EbWwfFA^Sl4gc{Oa1%U7s%Izsr%TdJhbQ#Ok`wyMF!a&z0DxneO-R zbQ$9V#Rx^IsJHfdVhjuo8+R{Scy;}KYaI~BdYbEDpWb;l)xaFRd3&R}kBeu2IkRo1 zH9s&x-!aQ<+5P?tFrgQ;Cjj|M2Z4l36C(pd2MaR;g8(Nm@hb=cr5#ixfTnpE0Hr5_ z6fO!3UH_4lfnh_;_Cz4p2%*m{^s1UT1H*x$vu%WpA=*CN3QcCs$-STnbll36!$6l1 z<9OVLq4^S`aPh~B?Q@wJ7-o2xfkMJ$)xGG@tqa+KzFX$=e%SaD5$V0Fs#dQu`=S7h z#4Rs#O@1cbumlC~6aPslNr1#qM3|2)QC-X^+UB?%7=Ozq@#0N*)Uq`rWbgJ>S6&%d7CT>YEQvzQiPPtZMK_Ah=Y3=9iN< z*^u%JWrpFm_2P#X4e4ouFmybP?6?Cv_2W0=(wu92cW!= zX_VPAb64f#nzuEnyEA~PWL1_7w{`r@IP?5D`CI?L$f>RVyf6z`i$1#M$>{`x6yHn6CTSo^N4b>D{k%w?;* zOn^yHYrB(9Na)!ut6H@#0&Q6x*3lZa)gUy|Z}Q^Q*5E0~Oq#Fxy=3 fj=tEcRsYxz$~<22AuOpJXdi>8tDnm{r-UW|B2vwF literal 0 HcmV?d00001 diff --git a/riis-web/src/assets/point/Viewfile.png b/riis-web/src/assets/point/Viewfile.png new file mode 100644 index 0000000000000000000000000000000000000000..9270b27fecd7c18bf623e539a17da8ad4aaf3f77 GIT binary patch literal 687 zcmV;g0#N;lP)$0y8iIqrh^wsfc7J zA~hn@u980|MCv`2!n3%53(x^CiB%&o@!p~exGE!-jUPZKupU~B$OVzv2p2?JL@sBH zRo%r1XK(Eh=wKHiQXz8HnLUW^GwgxyfwqZapCGKMPR4o{JhyQQdP_F22-gpQ_Zwh> z_ulDs7RNj5RQJ147*E{0rM)YeS*Wd6g$AzxHx&X z{_&16hw`e_*aLVK7!EUzKW@MmeSR*Wb#z8TE&ymO@c5UYcKp)cpG8Qm_n}E7Vl*Xh z3e$t2-y|6ETi-{`fObTTy5udzEf0W>0=+&r1WG>dWW_k^bXB($0SoEjC?lt*&@=I!^Oi4Y&(x`w@5hF z4T;rp**iP=NVB&C9`E+>0J^s2M0@*aL%$MqD;{m=6AS+DCyc{D#XtUN`vaU= Vj#H@#n;rlF002ovPDHLkV1mW#Hb?*f literal 0 HcmV?d00001 diff --git a/riis-web/src/assets/point/camera.png b/riis-web/src/assets/point/camera.png new file mode 100644 index 0000000000000000000000000000000000000000..b23f95cfb78ecbea8f94b744e75c1cc595f0442c GIT binary patch literal 712 zcmV;(0yq7MP)AITi~c90}5b1=-s94fVEaMqrg$g1jvC`XSl^gRKrz7DX_rIh&vk_AlHi1AXuO^ zFq5I9I8lWR1e{)p{#1tcz`}p`0vv#DF;g}O3^-o^zxv>3Z~*$E6(0ek8D?7RTWct~ zE8sl@j~%`I4(JN_0^WdH?t4XSyvXfL7{->?+D7puV_U7R4T?_9bt(m&^xplToAw`C z(b$L!`9A{dz>5>ij`pDd??aJ`&7;eTr8w9;4Q_p4MYl^sauY5#bGe;IC25SwJ%F}n zT?@<?t`c#lcHgzaX@3?OMft? z+v2GMO)*niI}W^wbG8tSf!hEqqm3mJFohpSA(3AJ=lq_^_1MVmGFnCxagt&%1m6IeR$X9psax68sg}r&nDxkjPf_}# zRd<}ZB73264DQ9DiQDi=v<+sdc3QEpyV{;eQ@WFCP{jBG)7dpF>Bx3^BpN$JOALXS00000$0y8iIqrh^wsfc7J zA~hn@u980|MCv`2!n3%53(x^CiB%&o@!p~exGE!-jUPZKupU~B$OVzv2p2?JL@sBH zRo%r1XK(Eh=wKHiQXz8HnLUW^GwgxyfwqZapCGKMPR4o{JhyQQdP_F22-gpQ_Zwh> z_ulDs7RNj5RQJ147*E{0rM)YeS*Wd6g$AzxHx&X z{_&16hw`e_*aLVK7!EUzKW@MmeSR*Wb#z8TE&ymO@c5UYcKp)cpG8Qm_n}E7Vl*Xh z3e$t2-y|6ETi-{`fObTTy5udzEf0W>0=+&r1WG>dWW_k^bXB($0SoEjC?lt*&@=I!^Oi4Y&(x`w@5hF z4T;rp**iP=NVB&C9`E+>0J^s2M0@*aL%$MqD;{m=6AS+DCyc{D#XtUN`vaU= Vj#H@#n;rlF002ovPDHLkV1mW#Hb?*f literal 0 HcmV?d00001 diff --git a/riis-web/src/assets/point/partial.png b/riis-web/src/assets/point/partial.png new file mode 100644 index 0000000000000000000000000000000000000000..0128e28e48b29d325ae751c64b748ff29d18f805 GIT binary patch literal 657 zcmV;C0&e|@P)^V3yMZ@o zHmF9(2p&Q2)FXS4lu9z?D0oE$5CLfZ`bCNq86zS*UZw}eAOrAH7`y^E;Oa%Thg*us zfiQ?*4^4Ej9$Pmsy2qviX5ee#)fKQn=}`}yLqyVO{P6pTYw(y(gj=H8M3}t3#a*U= ziK?51eMGwMK}^cQ=G=}hV5{Uuq?6*!x>Fr`##H;B8Z8e<=R&mvU3yqs34Maeh#B(m zs(0t|@ZR-XVX9VVQqS;%dcR|Anl!ac zw&AzDXHDiDQ_XNkqCYE!F&Z`jx;m+b(UbI@o;&6elB5rc9?S@`f{E|-#{}@fcO)|w znAs#r6{AtcpSd>bF*>K-d)pf1b4AO8gNsSyvr3E%EQXqwgw@E!OPu<#O=L`4IKkmDbL4Be ze04Z(#!G26P=us1lctBfD+<9rb0xAr?wrO_e~O*a7<*iL!&GW&Ds?cGDggwul-tjy zQd#1G9S0=S)KsdL)rdtYLVtOEHMSN2%zfh81D^LRYXf}8W^ycU1j(!&$2`F+cT4Po8X--R}j)%*In*G06u_4%l#Wc zf_<(T--P%#my)>ZlP#jU%4Z?s{JQVElRA;*+(<_mDT9NvJos zT~<3~ip!hIfo!qf=_9;1AeLOLPyyEtWXa{7Jje)`N}c^vn(I+;Z^6ZdyrsD=;MRfc z