qy-renren-qt/dist/2209301437/static/js/2.js

1 line
17 KiB
JavaScript
Raw Permalink Normal View History

2022-09-30 14:43:03 +08:00
webpackJsonp([2],{"6ZfT":function(A,g,e){var t=e("lt+C");"string"==typeof t&&(t=[[A.i,t,""]]),t.locals&&(A.exports=t.locals);e("rjj0")("2e1447c2",t,!0)},iLk4:function(A,g,e){A.exports=e.p+"static/img/进工业炉加工.48d6bc2.png"},"lt+C":function(A,g,e){(A.exports=e("FZ+f")(!1)).push([A.i,'\n@charset "UTF-8";\n.mod-log[data-v-54413201] {\n margin-top: 20px;\n border-radius: 15px;\n}\n.box-card[data-v-54413201] {\n cursor: pointer;\n background-repeat: no-repeat;\n background-size: 100% 100%;\n background-color: transparent;\n border-radius: 25px;\n padding-left: 20px;\n padding-top: 40px;\n}\n.box-card .box-card-header[data-v-54413201] {\n font-size: 18px;\n letter-spacing: 3px;\n}\n.box-card .box-card-footer[data-v-54413201] {\n font-size: 24px;\n}\n.box-card p[data-v-54413201] {\n margin: 10px 0;\n}\n.box-card-jg[data-v-54413201] {\n background-image: url('+e("iLk4")+");\n}\n.box-card-ck[data-v-54413201] {\n background-image: url("+e("yd4j")+");\n}\n.box-card-zj[data-v-54413201] {\n background-image: url("+e("yi1P")+");\n}\n.iconClass[data-v-54413201] {\n /* width: 20px;\r\n height: 20px; */\n position: relative;\n top: 2px;\n}\n",""])},rYw1:function(A,g,e){"use strict";Object.defineProperty(g,"__esModule",{value:!0});var t={0:"等待执行",1:"执行中",2:"执行完成",3:"追加后完成"},n={data:function(){return{dataList:[],pageIndex:1,pageSize:500,dataListLoading:!1,statusList:t,boxHeight:0}},created:function(){var A=this;this.getDataList(),document.body.offsetWidth>1180?this.boxHeight=40*(document.body.offsetWidth-330)/183:this.boxHeight=186,window.addEventListener("resize",function(){document.body.offsetWidth>1180?A.boxHeight=40*(document.body.offsetWidth-330)/183:A.boxHeight=186})},methods:{getDataList:function(){var A=this;this.dataListLoading=!0,this.$http({url:this.$http.adornUrl("/work/mttaskinfo/list"),method:"post",data:this.$http.adornData({current:this.pageIndex,size:this.pageSize})}).then(function(g){var e=g.data;e&&0===e.code?A.dataList=e.page.list:A.dataList=[],A.dataListLoading=!1})}}},E={render:function(){var A=this,g=A.$createElement,e=A._self._c||g;return e("div",[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:8,offset:2}},[e("el-card",{staticClass:"box-card box-card-jg",style:{height:A.boxHeight+"px"},attrs:{shadow:"hover"},nativeOn:{click:function(g){A.$router.push({name:"instock"})}}},[e("p",{staticClass:"box-card-header"},[e("icon-svg",{staticClass:"iconClass",attrs:{name:"进工业炉加工"}}),A._v("\n 入库\n ")],1),A._v(" "),e("p",{staticClass:"box-card-footer"},[A._v("Processing")])])],1),A._v(" "),e("el-col",{attrs:{span:8,offset:2}},[e("el-card",{staticClass:"box-card box-card-ck",style:{height:A.boxHeight+"px"},attrs:{shadow:"hover"},nativeOn:{click:function(g){A.$router.push({name:"mtwarehouspositionrelat"})}}},[e("p",{staticClass:"box-card-header"},[e("icon-svg",{staticClass:"iconClass",attrs:{name:"出库"}}),A._v("\n 库位\n ")],1),A._v(" "),e("p",{staticClass:"box-card-footer"},[A._v("Warehouse")])])],1)],1),A._v(" "),e("el-card",{staticClass:"mod-log"},[e("h3",[A._v("当前任务列表")]),A._v(" "),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:A.dataListLoading,expression:"dataListLoading"}],staticStyle:{width:"100%","min-height":"500px"},attrs:{data:A.dataList,stripe:!0,"header-cell-style":{background:"#eef1f6",color:"#606266",height:"56px"}}},[e("el-table-column",{attrs:{type:"index",label:"序号","header-align":"center",align:"center",width:"50"}}),A._v(" "),e("el-table-column",{attrs:{prop:"createTime","header-align":"center",align:"center",label:"添加时间"}}),A._v(" "),e("el-table-column",{attrs:{prop:"userName","header-align":"center",align:"center",label:"操作员名称"}}),A._v(" "),e("el-table-column",{attrs:{prop:"taskType","header-align":"center",align:"center",label:"任务类型"},scopedSlots:A._u([{key:"default",fn:function(g){return[e("span",[A._v(A._s(0===g.row.taskType?"出库":1===g.row.taskType?"入库":"移库"))])]}}])}),A._v(" "),e("el-table-column",{att