mt-ck-wms-ui/dist/static/js/chunk-5190b266.0ca14141.js

1 line
15 KiB
JavaScript
Raw Normal View History

2022-06-07 15:13:51 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5190b266"],{"09f4":function(t,a,e){"use strict";e.d(a,"a",(function(){return n}));var s=e("2b0b"),i=e.n(s);Math.easeInOutQuad=function(t,a,e,s){return t/=s/2,t<1?e/2*t*t+a:(t--,-e/2*(t*(t-2)-1)+a)};var l=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){i()(t,1e3/60)}}();function o(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function n(t,a,e){var s=r(),i=t-s,n=20,c=0;a="undefined"===typeof a?500:a;var u=function t(){c+=n;var r=Math.easeInOutQuad(c,s,i,a);o(r),c<a?l(t):e&&"function"===typeof e&&e()};u()}},1:function(t,a){},2:function(t,a){},"546f":function(t,a,e){"use strict";var s=e("9923"),i={sex:{0:s["a"].t("basicDataFilter.sex.woman"),1:s["a"].t("basicDataFilter.sex.man")},onDuty:{0:s["a"].t("basicDataFilter.onDuty.no"),1:s["a"].t("basicDataFilter.onDuty.yes")},orderStatus:{1:s["a"].t("basicDataFilter.orderStatus.add"),2:s["a"].t("basicDataFilter.orderStatus.start"),3:s["a"].t("basicDataFilter.orderStatus.stop"),4:s["a"].t("basicDataFilter.orderStatus.issued"),9:s["a"].t("basicDataFilter.orderStatus.complete")},workOrderStatus:{1:s["a"].t("basicDataFilter.workOrderStatus.notactive"),2:s["a"].t("basicDataFilter.workOrderStatus.waiting"),3:s["a"].t("basicDataFilter.workOrderStatus.active"),4:s["a"].t("basicDataFilter.workOrderStatus.stop"),9:s["a"].t("basicDataFilter.workOrderStatus.complete")},source:{1:"MES",2:"ERP",3:"PID1",4:"00A",5:"00C"},priority:{1:s["a"].t("basicDataFilter.priority.low"),2:s["a"].t("basicDataFilter.priority.normal"),3:s["a"].t("basicDataFilter.priority.high")},workStatus:{0:s["a"].t("basicDataFilter.workStatus.fail"),1:s["a"].t("basicDataFilter.workStatus.success")},roleType:{1:"pc",2:"app",3:"wechat",4:"miniapp",5:"pda"},menuType:{0:s["a"].t("basicDataFilter.menuType.catalogue"),1:s["a"].t("basicDataFilter.menuType.menu"),2:s["a"].t("basicDataFilter.menuType.button")},enableState:{0:s["a"].t("basicDataFilter.enableState.disable"),1:s["a"].t("basicDataFilter.enableState.enable")},storage:{0:s["a"].t("basicDataFilter.storage.normal"),1:s["a"].t("basicDataFilter.storage.repairing"),2:s["a"].t("basicDataFilter.storage.scrap")}};a["a"]=function(t){return function(a){var e;return null===i||void 0===i||null===(e=i[t])||void 0===e?void 0:e[a]}}},"975a":function(t,a,e){},9884:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"app-container"},[e("head-form",{attrs:{"placeholder-name":t.placeholderName,"key-name":t.keyName},on:{getDataList:t.getList,add:t.addNew}}),t._v(" "),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-config":t.tableProps,"table-data":t.list,"is-loading":t.listLoading}},[e("method-btn",{attrs:{slot:"handleBtn",width:t.trueWidth,"method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"})],1),t._v(" "),e("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(a){return t.$set(t.listQuery,"current",a)},"update:limit":function(a){return t.$set(t.listQuery,"size",a)},pagination:function(a){return t.getList()}}}),t._v(" "),t.addOrUpdateVisible?e("staff-add",{ref:"addOrUpdate",attrs:{"role-list":t.roleList},on:{refreshDataList:t.getList}}):t._e()],1)},i=[],l=(e("96cf"),e("1da1")),o=(e("6b54"),e("7f7f"),e("6b47")),r=e.n(o),n=(e("06db"),e("87b3"),e("a3e3")),c=e.n(n),u=e("4573"),d=e.n(u),f=e("3393"),m=e.n(f),p=e("9923"),b=e("b775");function D(t){return Object(b["a"])({url:"/api/wms/worker/page",method:"post",data:t})}function h(t){return Object(b["a"])({url:"/api/wms/worker/get",method:"post",data:{id:t}})}function v(t){return Object(b["a"])({url:"/api/wms/worker/update",method:"post",data:t})}function y(t){return Object(b["a"