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

1 line
4.0 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4383"],{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"})}}},DvFv:function(t,a,e){"use strict";e.r(a);var o=e("CvMc"),r={data:function(){return{guideImg:"/static/images/agv.jpg",tableData:[],TaskData:[]}},mounted:function(){this.getAgvStatus(),this.getTaskRecord({})},created:function(){},methods:{getAgvStatus:function(){var t=this;o.a.GetAgvStatus({type:"AGV"}).then(function(a){t.tableData=a.data.data})},getTaskRecord:function(){var t=this;o.a.GetTaskRecord({type:0}).then(function(a){t.TaskData=a.data.data})},cancelTask:function(t){var a=this,e={type:0,id:t};o.a.CancelTask(e).then(function(t){a.TaskData=t.data.data,a.getTaskRecord()})}}},l=(e("cnzl"),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:"250px",height:"150px"},attrs:{src:t.guideImg}}),t._v(" "),e("el-table",{staticStyle:{width:"800px"},attrs:{data:t.tableData}},[e("el-table-column",{attrs:{prop:"robotCode",label:"AGV编号",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:"100"},scopedSlots:t._u([{key:"default",fn:function(a){return["AGV_LEAVE"!=a.row.taskState&&"AGV_END"!=a.row.taskState&&"AGV_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="agv.vue";a.default=n.exports},bTkO:function(t,a,e){},cnzl:function(t,a,e){"use strict";var o=e("bTkO");e.n(o).a}}]);