PageSourceSearch

https://e.dituhui.com/static/js/9062.acfea531.chunk.js

js dituhui.com collected 2026-09-25 21:50:15 UTC 5,345 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunksaas_web=self.webpackChunksaas_web||[]).push([[9062],{89062:function(e,n,a){a.r(n),a.d(n,{default:function(){return F}});a(59304);var t,s=a(59491),i=(a(91375),a(57325)),l=a(29439),r=a(15671),o=a(43144),c=a(60136),d=a(27277),h=(a(21589),a(98516)),m=(a(72330),a(65192)),p=a(47313),u=a(66135),f=a(72231),x=a(48171),v=a(90903),j=a(69888),g=a(79066),y=a(20182),N=a(22808),P=a(46417),k=m.Z.RangePicker,C=h.Z.confirm,T=(0,u.$j)((function(e){var n,a;return{historyList:(0,v.Sk)(e).historyList,filterTime:null===(n=e.pathPlan)||void 0===n?void 0:n.filterTime,filterRecodeName:null===(a=e.pathPlan)||void 0===a?void 0:a.filterRecodeName}}),{_getPlanHistory:x.c0,saveFilterTime:x.KR,_delPlanHistory:x.dx,_getPathInfo:x.XB,saveFromRouter:x.vI,saveFilterByRecordName:x.ck})(t=function(e){(0,c.Z)(t,e);var n=(0,d.Z)(t);function t(){var e;(0,r.Z)(this,t);for(var a=arguments.length,s=new Array(a),i=0;i<a;i++)s[i]=arguments[i];return(e=n.call.apply(n,[this].concat(s))).handleDelete=function(n,a){n.stopPropagation(),C({icon:(0,P.jsx)(j.Z,{}),title:"\u5220\u9664\u8bb0\u5f55",content:"\u786e\u5b9a\u5220\u9664\u89c4\u5212\u8bb0\u5f55\u5417\uff1f\u5220\u9664\u540e\u8be5\u89c4\u5212\u5728\u79fb\u52a8\u7aef\u540c\u6b65\u5220\u9664\uff01",onOk:function(){e.props._delPlanHistory(a)}})},e.handleClear=function(n){n.stopPropagation(),C({icon:(0,P.jsx)(j.Z,{}),title:"\u5220\u9664\u8bb0\u5f55",content:"\u786e\u5b9a\u5220\u9664\u6240\u6709\u89c4\u5212\u8bb0\u5f55\u5417\uff1f\u5220\u9664\u540e\u8be5\u89c4\u5212\u5728\u79fb\u52a8\u7aef\u540c\u6b65\u5220\u9664\uff01",onOk:function(){e.props._delPlanHistory()}})},e.handleClick=function(n,a){e.props._getPathInfo(n).then((function(){e.props.saveFromRouter("history");var n=1===a?"/single-routing":"/batch-routing";f.mW.push(n)}))},e.handleDownload=function(n){n.stopPropagation(),(0,g.$w)({url:"pathplan/exportPlanConfig",data:e.getSearchParams()})},e.getSearchParams=function(){var n=e.props,a=n.filterRecodeName,t=n.filterTime,s={};if(a&&a.length>0&&(s.name=a),t&&t.length){var i=(0,l.Z)(t,2),r=i[0],o=i[1];s.startTime=r.valueOf(),s.endTime=o.valueOf()}return s},e}return(0,o.Z)(t,[{key:"componentDidMount",value:function(){this.props._getPlanHistory()}},{key:"render",value:function(){var e=this,n=this.props.historyList;return(0,P.jsx)("div",{className:"path-plan-history mainMap-body-container ",children:(0,P.jsx)("div",{className:"path-panel",children:(0,P.jsxs)("main",{children:[(0,P.jsxs)("div",{className:"filter",children:[(0,P.jsx)(k,{showTime:!0,onChange:function(n){return e.props.saveFilterTime(n)},format:"YYYY-MM-DD HH:mm:ss"}),(0,P.jsx)(y.B3,{placeholder:"\u8f93\u5165\u8def\u7ebf\u89c4\u5212\u540d\u8fdb\u884c\u641c\u7d22",canSearch:!0,style:{width:"270px",marginTop:"8px",border:"1px solid #d9d9d9",height:"32px",borderRadius:"2px"},onPressEnter:function(n){return e.props.saveFilterByRecordName(n)}})]}),(0,P.jsxs)("div",{className:"content",children:[(0,P.jsxs)("div",{className:"count",children:["\u5171\u8ba1",n.length,"\u6761\u8bb0\u5f55"]}),(0,P.jsx)("div",{className:"list scrollbar",children:(0,P.jsxs)("div",{className:"scroll-inner",children:[n.map((function(a,t){return(0,P.jsx)("div",{className:"item",children:(0,P.jsxs)("div",{className:"box",onClick:function(){return e.handleClick(a.id,a.routeType)},children:[(0,P.jsx)("div",{className:"name",children:a.name&&""!==a.name?a.name:"\u8bb0\u5f55"+(n.length-t)}),(0,P.jsx)("div",{className:"time",children:a.createTime}),(0,P.jsxs)("div",{className:"info",children:[(0,P.jsx)("span",{className:1===a.routeType?"single":"multiple",children:1===a.routeType?"\u5355\u8def\u7ebf":"".concat(a.sumRoute,"\u6761\u8def\u7ebf")}),(0,P.jsxs)("span",{children:[a.sumPoint,"\u4e2a\u70b9"]}),(0,P.jsx)("span",{children:a.sumDistance>=1e3?"".concat((a.sumDistance/1e3).toFixed(2),"\u516c\u91cc"):"".concat(a.sumDistance,"\u7c73")}),(0,P.jsx)("span",{children:a.sumTime>=60?"".concat(Math.floor(a.sumTime/60),"\u5c0f\u65f6").concat(a.sumTime%60,"\u5206\u949f"):"".concat(a.sumTime,"\u5206\u949f")})]}),(0,P.jsxs)("div",{className:"action",children:[a.notPlanPointList&&(0,P.jsx)(i.Z,{placement:"right",title:"\u8def\u7ebf\u542b\u6709\u672a\u89c4\u5212\u6210\u529f\u7684\u70b9",children:(0,P.jsx)(N.B,{type:"icongeneral-caution-fill",style:{color:"#FF463D"}})}),(0,P.jsx)(i.Z,{placement:"right",title:"\u5220\u9664\u8bb0\u5f55",children:(0,P.jsx)(N.B,{type:"icongeneral-delete-fill",style:{color:"#C1C1C1"},onClick:function(n){return e.handleDelete(n,a.id)}})})]})]})},a.id)})),!n.length&&(0,P.jsxs)("div",{className:"noData",children:[(0,P.jsx)("img",{src:a(5271),alt:"\u6682\u65e0\u5386\u53f2\u8bb0\u5f55"}),(0,P.jsx)("p",{className:"title",children:"\u6682\u65e0\u5386\u53f2\u8bb0\u5f55"}),(0,P.jsx)("p",{className:"mes",children:"\u6682\u65e0\u5386\u53f2\u8bb0\u5f55\uff0c\u8bf7\u5148\u89c4\u5212\u8def\u7ebf\uff5e"})]})]})})]}),(0,P.jsxs)("div",{className:"button-group",children:[(0,P.jsx)(s.Z,{type:"primary",style:{backgroundColor:"#FF4D4F",borderColor:"#FF4D4F"},className:"delete-all-paths",onClick:this.handleClear,children:"\u4e00\u952e\u5220\u9664"}),(0,P.jsx)(s.Z,{type:"primary",className:"download-all-paths",onClick:this.handleDownload,children:"\u4e00\u952e\u4e0b\u8f7d"})]})]})})})}}]),t}(p.Component))||t,F=T},5271:function(e,n,a){e.exports=a.p+"static/media/no-data.7ad0e8e82a6816b5c702.png"}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.