Files
oms/back/public/static/js/chunk-2875.4107fad5.js
2026-03-10 18:45:36 +08:00

1 line
4.1 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2875"],{"1dmN":function(t,a,e){},CvMc:function(t,a,e){"use strict";var o=e("t3Un");a.a={GetAgvsList:function(){return Object(o.a)({url:"/agv/GetAgvsList",method:"post"})},CancelTask:function(t){return Object(o.a)({url:"/agv/cancelTask",method:"post",data:t})},GetAgvStatus:function(t){return Object(o.a)({url:"/agv/getAgvStatus",method:"post",data:t})},GetTaskRecord:function(t){return Object(o.a)({url:"/agv/getTaskRecord",method:"post",data:t})},retrievePallet:function(t){return Object(o.a)({url:"/agv/retrievePallet",method:"post",data:t})},BatchRetrievePallet:function(t){return Object(o.a)({url:"/agv/BatchRetrievePallet",method:"post",data:t})},setWorkStoreTunnel:function(t){return Object(o.a)({url:"/agv/setWorkStoreTunnel",method:"post",data:t})},getWorkStoreTunnel:function(t){return Object(o.a)({url:"/agv/getWorkStoreTunnel",method:"post",data:t})},productOutStore:function(t){return Object(o.a)({url:"/agv/ProductOutStore",method:"post",data:t})},productBatchOutStore:function(t){return Object(o.a)({url:"/agv/ProductBatchOutStore",method:"post",data:t})},productBatchBackStore:function(t){return Object(o.a)({url:"/agv/ProductBatchBackStore",method:"post",data:t})},productInStoreNow:function(){return Object(o.a)({url:"/agv/productInStoreNow",method:"post"})},palletInStore:function(t){return Object(o.a)({url:"/agv/PalletOutStacker",method:"post",data:t})},palletOutStoreNow:function(){return Object(o.a)({url:"/agv/palletOutStoreNow",method:"post"})}}},YvyF:function(t,a,e){"use strict";var o=e("1dmN");e.n(o).a},"d+lM":function(t,a,e){"use strict";e.r(a);var o=e("CvMc"),r={data:function(){return{guideImg:"/static/images/forklift.png",tableData:[],TaskData:[]}},mounted:function(){this.getAgvStatus(),this.getTaskRecord({})},created:function(){},methods:{getAgvStatus:function(){var t=this;o.a.GetAgvStatus({type:"FORKLIFT"}).then(function(a){t.tableData=a.data.data})},getTaskRecord:function(){var t=this;o.a.GetTaskRecord({type:1}).then(function(a){console.log(a.data.data),t.TaskData=a.data.data})},cancelTask:function(t){var a=this,e={type:1,id:t};o.a.CancelTask(e).then(function(t){a.TaskData=t.data.data,a.getTaskRecord()})}}},l=(e("YvyF"),e("KHd+")),n=Object(l.a)(r,function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("h1",{staticClass:"title"}),t._v(" "),e("div",{staticClass:"display-flex"},[e("img",{staticStyle:{width:"150px",height:"200px"},attrs:{src:t.guideImg}}),t._v(" "),e("div",[e("el-table",{staticStyle:{width:"800px","margin-top":"40px"},attrs:{data:t.tableData}},[e("el-table-column",{attrs:{prop:"robotCode",label:"叉车编号",width:"180"}}),t._v(" "),e("el-table-column",{attrs:{prop:"robotIp",label:"IP",width:"180"}}),t._v(" "),e("el-table-column",{attrs:{prop:"statusName",label:"叉车状态",width:"180"}}),t._v(" "),e("el-table-column",{attrs:{prop:"battery",label:"叉车电量",width:"180"}})],1)],1)]),t._v(" "),e("el-table",{staticStyle:{width:"100%","margin-left":"50px"},attrs:{data:t.TaskData,border:"",fit:"","highlight-current-row":""}},[e("el-table-column",{attrs:{prop:"id",label:"ID",width:"180"}}),t._v(" "),e("el-table-column",{attrs:{prop:"reqCode",label:"请求编码",width:"180"}}),t._v(" "),e("el-table-column",{attrs:{prop:"taskTyp",label:"任务类型",width:"180"}}),t._v(" "),e("el-table-column",{attrs:{prop:"startPositionCode",label:"取货地址",width:"180"}}),t._v(" "),e("el-table-column",{attrs:{prop:"startPositionCode",label:"放货地址",width:"180"}}),t._v(" "),e("el-table-column",{attrs:{prop:"taskState",label:"任务状态",width:"180"}}),t._v(" "),e("el-table-column",{attrs:{prop:"reqTime",label:"创建时间",width:"180"}}),t._v(" "),e("el-table-column",{attrs:{label:"操作",width:"300"},scopedSlots:t._u([{key:"default",fn:function(a){return["FORKLIFT_LEAVE"!=a.row.taskState&&"TASK_END"!=a.row.taskState&&"FORKLIFT_CANCEL"!=a.row.taskState?e("el-button",{attrs:{type:"primary"},on:{click:function(e){t.cancelTask(a.row.id)}}},[e("i",{staticClass:"el-icon-remove-outline"}),t._v("撤销 ")]):t._e()]}}])})],1)],1)},[],!1,null,null,null);n.options.__file="forklift.vue";a.default=n.exports}}]);