Files
oms/back/public/static/js/chunk-0ea8.9babcf3f.js

1 line
25 KiB
JavaScript
Raw Normal View History

2026-03-10 18:45:36 +08:00
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0ea8"],{A0nZ:function(e,t,i){"use strict";var a=i("iCc5"),o=i.n(a),r=i("Gvnp");t.a=function e(t){o()(this,e);var i={length:t.Length,width:t.Width,height:t.Height,position:{x:t.Position.X,y:t.Position.Y,z:t.Position.Z},style:{transparent:1,opacity:.4,color:1560252,depthTest:0}},a=new r.a(i);return a.name=t.Name,a.uuid=t.No,a.direction=t.Direction,a.storage_type=t.Storage_Type,a.type=t.type,"goods"===t.type&&(a.weights=t.weights),a.state=t.state,a}},Bp9D:function(e,t,i){"use strict";var a=i("iCc5"),o=i.n(a),r=i("Womt");i("Gvnp");t.a=function e(t,i,a,s){if(o()(this,e),0!=t.length){for(var n=t[0].l/s.showScaleX,_=t[0].w/s.showScaleY,l=new r.BoxGeometry(n,.6*_,.6*_),c=new r.BoxGeometry(n,6,.6*_),h=["/static/images/side.jpg","/static/images/side.jpg","/static/images/side1.jpg","/static/images/side.jpg","/static/images/side.jpg","/static/images/side.jpg"],u=["/static/images/side1.jpg","/static/images/side1.jpg","/static/images/side1.jpg","/static/images/side1.jpg","/static/images/side1.jpg","/static/images/side1.jpg"],d=["/static/images/pallet_lr.jpg","/static/images/pallet_lr.jpg","/static/images/pallet_ud.jpg","/static/images/pallet_ud.jpg","/static/images/pallet_fb.jpg","/static/images/pallet_fb.jpg"],p=[],g=[],m=[],M=0;M<h.length;M++)p.push(new r.MeshPhongMaterial({color:"white",map:r.ImageUtils.loadTexture(h[M],void 0,void 0)})),g.push(new r.MeshPhongMaterial({color:"white",map:r.ImageUtils.loadTexture(u[M],void 0,void 0)})),m.push(new r.MeshPhongMaterial({color:"white",map:r.ImageUtils.loadTexture(d[M],void 0,void 0)}));for(var w=new r.InstancedMesh(l,new r.MeshFaceMaterial(p),300),O=new r.InstancedMesh(l,new r.MeshFaceMaterial(g),1e3),E=new r.InstancedMesh(c,new r.MeshFaceMaterial(m),30),f=new r.Object3D,b=parseInt(s.showLength/2),v=parseInt(s.showWidth/2),P=0,D=0,S=0,y=0;y<t.length;y++){if(t[y].state>0&&0==t[y].storage_type)for(var I=0;I<t[y].state;I++){var C=t[y].x/s.showScaleX-b,B=(a.y-t[y].y)/s.showScaleY-v;f.position.set(C,.6*_/2+.6*_*I+2,B),f.updateMatrix(),0!==I?O.setMatrixAt(P++,f.matrix):w.setMatrixAt(D++,f.matrix)}if(t[y].state>0&&1==t[y].storage_type)for(var T=0;T<t[y].state;T++){var L=t[y].x/s.showScaleX-b,j=(a.y-t[y].y)/s.showScaleY-v;f.position.set(L,6*T+6,j),f.updateMatrix(),E.setMatrixAt(S++,f.matrix)}}return[w,O,E]}}},CNAP:function(e,t,i){"use strict";i.d(t,"a",function(){return o});var a=i("Womt");function o(e,t){(new a.TextureLoader).load("/static/images/floor.jpg",function(i){i.wrapS=i.wrapT=a.RepeatWrapping,i.repeat.set(10,10);var o=new a.BoxGeometry(e.length,1,e.depth),r=new a.MeshBasicMaterial({map:i,side:a.DoubleSide}),s=new a.Mesh(o,r);s.position.y=-.5,s.name="地面",t.addObject(s)})}},CvMc:function(e,t,i){"use strict";var a=i("t3Un");t.a={GetAgvsList:function(){return Object(a.a)({url:"/agv/GetAgvsList",method:"post"})},CancelTask:function(e){return Object(a.a)({url:"/agv/cancelTask",method:"post",data:e})},GetAgvStatus:function(e){return Object(a.a)({url:"/agv/getAgvStatus",method:"post",data:e})},GetTaskRecord:function(e){return Object(a.a)({url:"/agv/getTaskRecord",method:"post",data:e})},retrievePallet:function(e){return Object(a.a)({url:"/agv/retrievePallet",method:"post",data:e})},BatchRetrievePallet:function(e){return Object(a.a)({url:"/agv/BatchRetrievePallet",method:"post",data:e})},setWorkStoreTunnel:function(e){return Object(a.a)({url:"/agv/setWorkStoreTunnel",method:"post",data:e})},getWorkStoreTunnel:function(e){return Object(a.a)({url:"/agv/getWorkStoreTunnel",method:"post",data:e})},productOutStore:function(e){return Object(a.a)({url:"/agv/ProductOutStore",method:"post",data:e})},productBatchOutStore:function(e){return Object(a.a)({url:"/agv/ProductBatchOutStore",method:"post",data:e})},productBatchBackStore:function(e){return Object(a.a)({url:"/agv/ProductBatchBackStore",method:"post",data:e})},productInStoreNow:function(){return Object(a.a)({url:"/agv/productInStoreNow",method:"post"})},palletInStore:function(e){return Object(a.a)({url:"/agv/PalletOutStacker",method:"post",data:e})},palletOutStoreNow:function(){return