diff --git a/dist/static/js/app.b1b205d2.js b/dist/static/js/app.b1b205d2.js new file mode 100644 index 0000000..87ec24f --- /dev/null +++ b/dist/static/js/app.b1b205d2.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,n,t){e.exports=t("56d7")},"0175":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-logout",use:"icon-logout-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);n["default"]=c},"028b":function(e,n,t){"use strict";t("f12c")},"0598":function(e,n,t){},"05e3":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",[t("img",{ref:"targetImg",attrs:{id:"root-pic",src:e.url}})])},r=[],i=t("c82c"),o=t.n(i),c=(t("0808"),{name:"PicDialog",data:function(){return{instance:null,url:null}},mounted:function(){var e=this;this.instance=new o.a(this.$refs.targetImg,{inline:!1,navbar:!1,hidden:function(){console.log("destroy"),e.instance.destroy(),e.$destroy(!0),e.$el.parentNode.removeChild(e.$el)}}),this.instance.show(),console.log(this.instance)}}),s=c,A=(t("3145"),t("2877")),l=Object(A["a"])(s,a,r,!1,null,null,null);n["default"]=l.exports},"06c2":function(e,n,t){"use strict";t("92a6")},"0781":function(e,n,t){"use strict";t.r(n);var a=t("24ab"),r=t.n(a),i=t("83d6"),o=t.n(i),c=o.a.showSettings,s=o.a.tagsView,A=o.a.fixedHeader,l=o.a.sidebarLogo,d={theme:r.a.theme,showSettings:c,tagsView:s,fixedHeader:A,sidebarLogo:l},u={CHANGE_SETTING:function(e,n){var t=n.key,a=n.value;e.hasOwnProperty(t)&&(e[t]=a)}},m={changeSetting:function(e,n){var t=e.commit;t("CHANGE_SETTING",n)}};n["default"]={namespaced:!0,state:d,mutations:u,actions:m}},"0865":function(e,n,t){"use strict";t("858c")},"0918":function(e,n,t){},"096e":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"0f9a":function(e,n,t){"use strict";t.r(n);t("96cf");var a=t("1da1"),r=(t("7f7f"),t("6b47")),i=t.n(r),o=t("3818"),c=t.n(o),s=t("44a4"),A=t.n(s),l=t("c24f"),d=t("5f87"),u=t("a18c"),m=t("a78e"),p=t.n(m),h={token:Object(d["a"])(),name:"",avatar:"",introduction:"",roles:[],username:p.a.get("username")||""},g={SET_TOKEN:function(e,n){e.token=n},SET_INTRODUCTION:function(e,n){e.introduction=n},SET_NAME:function(e,n){e.name=n},SET_AVATAR:function(e,n){e.avatar=n},SET_ROLES:function(e,n){e.roles=n},SET_USERNAME:function(e,n){e.username=n}},f={login:function(e,n){var t=e.commit,a=n.username,r=n.password;return new c.a((function(e,n){var i;Object(l["h"])({mobile:A()(i=String(a)).call(i),password:r}).then((function(a){if(console.log(a),0===a.code){var r=a.data,i=r.token,o=r.name;t("SET_TOKEN",i),t("SET_USERNAME",o),p.a.set("username",o),Object(d["c"])(i),e()}else n(a)}))["catch"]((function(e){n(e)}))}))},getInfo:function(e){var n=e.commit,t=e.state;return new c.a((function(e,a){Object(l["f"])(t.token).then((function(t){var r=t.data;r||a("Verification failed, please Login again.");var i=r.roles,o=r.name,c=r.avatar,s=r.introduction;(!i||i.length<=0)&&a("getInfo: roles must be a non-null array!"),n("SET_ROLES",i),n("SET_NAME",o),n("SET_AVATAR",c),n("SET_INTRODUCTION",s),e(r)}))["catch"]((function(e){a(e)}))}))},logout:function(e){var n=e.commit,t=(e.state,e.dispatch);return new c.a((function(e,a){Object(d["b"])(),Object(u["d"])(),t("tagsView/delAllViews",null,{root:!0}),n("SET_TOKEN",""),n("SET_ROLES",[]),n("SET_USERNAME"),p.a.set("username",""),localStorage.clear(),e()}))},resetToken:function(e){var n=e.commit;return new c.a((function(e){n("SET_TOKEN",""),n("SET_ROLES",[]),Object(d["b"])(),e()}))},changeRoles:function(e,n){var t=e.commit,r=e.dispatch;return new c.a(function(){var e=Object(a["a"])(i.a.mark((function e(a){var o,c,s,A;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=n+"-token",t("SET_TOKEN",o),Object(d["c"])(o),e.next=5,r("getInfo");case 5:return c=e.sent,s=c.roles,Object(u["d"])(),e.next=10,r("permission/generateRoutes",s,{root:!0});case 10:A=e.sent,u["c"].addRoutes(A),r("tagsView/delAllViews",null,{root:!0}),a();case 14:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}())}};n["default"]={namespaced:!0,state:h,mutations:g,actions:f}},1131:function(e,n,t){"use strict";var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("el-dropdown",{staticClass:"international",attrs:{trigger:"click"},on:{command:e.handleSetLanguage}},[t("div",[t("svg-icon",{attrs:{"class-name":"international-icon","icon-class":"language"}})],1),e._v(" "),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{disabled:"zh"===e.language,command:"zh"}},[e._v("\n 中文\n ")]),e._v(" "),t("el-dropdown-item",{attrs:{disabled:"en"===e.language,command:"en"}},[e._v("\n English\n ")])],1)],1)},r=[],i={computed:{language:function(){return this.$store.getters.language}},methods:{handleSetLanguage:function(e){this.$i18n.locale=e,this.$store.dispatch("app/setLanguage",e),this.$message({message:"Switch Language Success",type:"success",duration:2e3,onClose:function(){location.reload()}})}}},o=i,c=t("2877"),s=Object(c["a"])(o,a,r,!1,null,null,null);n["a"]=s.exports},"12a5":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},1430:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},1701:function(e,n,t){"use strict";t("d6d0")},1779:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"17df":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"186a":function(e,n,t){"use strict";t("dc52")},"18d4":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-ArticleManager",use:"icon-ArticleManager-usage",viewBox:"0 0 36 35",content:' \r\n'});o.a.add(c);n["default"]=c},"18f0":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},2021:function(e,n,t){},"24ab":function(e,n,t){e.exports={theme:"#1890ff"}},2580:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"27a0":function(e,n,t){},"2a3d":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"2f11":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},3046:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"30c3":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},3145:function(e,n,t){"use strict";t("af60")},3184:function(e,n,t){"use strict";t("3c88")},"31c2":function(e,n,t){"use strict";t.r(n),t.d(n,"filterAsyncRoutes",(function(){return g}));var a=t("5530"),r=t("c52e"),i=t.n(r),o=t("9a73"),c=t.n(o),s=t("4573"),A=t.n(s),l=t("a3e3"),d=t.n(l),u=t("3818"),m=t.n(u),p=t("a18c");function h(e,n){return!n.meta||!n.meta.roles||i()(e).call(e,(function(e){var t;return c()(t=n.meta.roles).call(t,e)}))}function g(e,n){var t=[];return A()(e).call(e,(function(e){var r=Object(a["a"])({},e);h(n,r)&&(r.children&&(r.children=g(r.children,n)),t.push(r))})),t}var f={routes:[],addRoutes:[]},b={SET_ROUTES:function(e,n){e.addRoutes=n,e.routes=d()(p["b"]).call(p["b"],n)}},w={generateRoutes:function(e,n){var t=e.commit;return new m.a((function(e){var a;a=c()(n).call(n,"admin")?p["a"]||[]:g(p["a"],n),t("SET_ROUTES",a),e(a)}))}};n["default"]={namespaced:!0,state:f,mutations:b,actions:w}},3289:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},3561:function(e,n,t){},3712:function(e,n,t){"use strict";t("0598")},"3aee":function(e,n,t){"use strict";n["a"]={title:{en:"ARI WMS",zh:"中建材自动化智能仓库管理系统"},btn:{start:{zh:"开始值班",en:"Start Work"},view:{zh:"预览",en:"Preview"},see:{zh:"查看",en:"View"},search:{zh:"查询",en:"Search"},edit:{zh:"编辑",en:"Edit"},delete:{zh:"删除",en:"Delete"},add:{zh:"新增",en:"Add"},cancel:{zh:"取 消",en:"Cancel"},confirm:{zh:"确 定",en:"Confirm"},detail:{zh:"详情",en:"Detail"},reset:{zh:"重置",en:"Reset"},submit:{zh:"提交",en:"Submit"},save:{zh:"保存",en:"Save"},upload:{zh:"上传",en:"Upload"},uploadpic:{zh:"上传图片",en:"Upload Picture"},back:{zh:"返回",en:"Back"},export:{zh:"导出",en:"Export"},checkLog:{zh:"查看日志",en:"Check Log"},goOffWork:{zh:"结束值班",en:"Go Off Work"},adddetail:{zh:"添加明细",en:"Add Detail"},addattr:{zh:"添加属性",en:"Add Attribute"},log:{zh:"事件日志",en:"The event log"},addgroup:{zh:"添加组员",en:"Add Members"},download:{zh:"下载",en:"download"},sendPlan:{zh:"下发计划",en:"Issue Plan"},alarmHandle:{zh:"警告处理",en:"Alarm Handle"},print:{zh:"打印",en:"print"},design:{zh:"设计",en:"Design"},refresh:{zh:"刷新",en:"Refresh"}},navbar:{profile:{zh:"个人中心",en:"Profile"},homepage:{zh:"首页",en:"HomePage"},help:{zh:"帮助文档",en:"Help Document"},logOut:{zh:"退出",en:"Log Out"},logoutTime:{zh:"后自动退出系统",en:"Automatically Exit The System"}},settings:{title:{zh:"系统布局配置",en:"Page style setting"},theme:{zh:"主题色",en:"Theme Color"},tagsView:{zh:"开启 Tags-View",en:"Open Tags-View"},fixedHeader:{zh:"固定 Header",en:"Fixed Header"},sidebarLogo:{zh:"侧边栏 Logo",en:"Sidebar Logo"}},tagsView:{refresh:{zh:"刷新",en:"Refresh"},close:{zh:"关闭",en:"Close"},closeOthers:{zh:"关闭其它",en:"Close Others"},closeAll:{zh:"关闭所有",en:"Close All"}},errorLog:{tips:{zh:"请点击右上角bug小图标",en:"Please click the bug icon in the upper right corner"},description:{zh:"现在的管理后台基本都是spa的形式了,它增强了用户体验,但同时也会增加页面出问题的可能性,可能一个小小的疏忽就导致整个页面的死锁。好在 Vue 官网提供了一个方法来捕获处理异常,你可以在其中进行错误处理或者异常上报。",en:"Now the management system are basically the form of the spa, it enhances the user experience, but it also increases the possibility of page problems, a small negligence may lead to the entire page deadlock. Fortunately Vue provides a way to catch handling exceptions, where you can handle errors or report exceptions."},documentation:{zh:"文档介绍",en:"Document introduction"}},excel:{export:{zh:"导出",en:"Export"},selectedExport:{zh:"导出已选择项",en:"Export Selected Items"},placeholder:{zh:"请输入文件名(默认excel-list)",en:"Please enter the file name (default excel-list)"}},guide:{description:{zh:"引导页对于一些第一次进入项目的人很有用,你可以简单介绍下项目的功能。本 Demo 是基于",en:"The guide page is useful for some people who entered the project for the first time. You can briefly introduce the features of the project. Demo is based on "},button:{zh:"打开引导",en:"Show Guide"}},login:{title:{zh:"系统登录",en:"Login Form"},logIn:{zh:"登录",en:"Login"},username:{zh:"账号",en:"Username"},password:{zh:"密码",en:"Password"}},pdf:{tips:{zh:"这里使用 window.print() 来实现下载pdf的功能",en:"Here we use window.print() to implement the feature of downloading PDF."}},tableHeader:{operation:{zh:"操作",en:"action"},index:{zh:"序号",en:"No"}},routerTitle:{dashboard:{zh:"首页",en:"Home"},basic:{zh:"系统管理",en:"System Manager",usermanage:{zh:"用户管理",en:"User Manager"},rolemanage:{zh:"角色管理",en:"Role Manager"},menumanage:{zh:"菜单管理",en:"Menu Manager"},orgmanage:{zh:"组织管理",en:"Organization Manager"}},equipment:{zh:"设备管理",en:"Equipment Manager",EquipmentUtilizationRate:{zh:"设备稼动率",en:"EQ OEE"},EquipmentVisualization:{zh:"设备可视化",en:"Equipment Visualization",EquipmentProcessingQuantity:{zh:"设备加工数量",en:"Equipment Processing Quantity"},EquipmentEnergyMonitor:{zh:"设备能源监控",en:"Equipment Energy Monitor"},Visualized:{zh:"可视化",en:"Visualized"}},sparepart:{zh:"备品备件管理",en:"Spare Part Manager"},bom:{zh:"设备物料管理",en:"Equipment Materiel Manager"},bomform:{zh:"设备物料表单",en:"Equipment Materiel Form"},recipe:{zh:"设备配方",en:"Equipment Recipe"},recipeform:{zh:"设备配方配置",en:"Equipment Recipe Setting"},statussetting:{zh:"设备状态配置",en:"Equipment Status Setting"},repairmanage:{zh:"设备维修管理",en:"Equipment Repair Manager"},addrepair:{zh:"添加设备维修记录",en:"Add Equipment Repair Record"},editrepair:{zh:"编辑设备维修记录",en:"Edit Equipment Repair Record"},maintainplan:{zh:"设备保养计划",en:"Equipment Maintain Plan"},maintainlog:{zh:"设备保养记录",en:"Equipment Maintain Log"},typeparam:{zh:"设备基础信息设置",en:"Equipment Basic Info Setting"},deviceRecipe:{zh:"设备配方设置",en:"Equipment Recipe Setting"},typeparamdetail:{zh:"设备类型参数详情",en:"Equipment Type Param Detail"},monitoring:{zh:"设备监控",en:"Device Monitoring"},analysis:{zh:"设备统计分析",en:"Device Analysis"},equipmentManagerManage:{zh:"设备操作员管理",en:"Equipment Operator Manager"},equipmentParams:{zh:"设备运行参数",en:"Equipment Operation Parameters"},Processequipment:{zh:"设备工艺信息",en:"Process Equipment"},Parameters:{zh:"参数对比",en:"Parameters of the contrast"},ProcessData:{zh:"详细分析",en:"ProcessData"},Details:{zh:"详情",en:"Details"}},technology:{zh:"工艺管理",en:"Process Manager",technologylist:{zh:"工艺计划列表",en:"Process Manager"},technologyprocess:{zh:"工艺流程",en:"Process"},processList:{zh:"工序管理",en:"Process Step Manager"}},team:{zh:"班组管理",en:"Team Manager",teamlist:{zh:"交接记录",en:"Handover Record"},teamhandover:{zh:"班组交接操作",en:"Team Handover Operation"},teamplan:{zh:"交接计划",en:"Handover Plan"},teamplanoperation:{zh:"班组计划操作",en:"Team Plan Operation"},showlog:{zh:"查看事件日志",en:"Show The event log"}},material:{zh:"物料管理",en:"Material Manager",refueling:{zh:"换料记录",en:"Refuelling Log"},refuelingadd:{zh:"换料记录操作",en:"Refuelling Log Operation"},bom:{zh:"BOM",en:"BOM"},bomadd:{zh:"物料BOM操作",en:"Material BOM Operation"},batch:{zh:"物料批次",en:"Material Batch"},batchadd:{zh:"物料批次操作",en:"Material Batch Operation"},report:{zh:"物料报表",en:"Material Report"},historyConsume:{zh:"物料历史消耗统计",en:"Historical material consumption statistics"},currentConsume:{zh:"物料当前消耗统计",en:"Current material consumption statistics"}},basicData:{zh:"基础资料",en:"Basic Data",factoryManage:{zh:"厂务信息",en:"Factory Info",factory:{zh:"工厂信息",en:"Factory Info"},productLine:{zh:"产线信息",en:"Product Line Info"},workSection:{zh:"工段信息",en:"Work Section Info"}},teamManage:{zh:"班组信息",en:"Team Info",team:{zh:"班组",en:"Team"},major:{zh:"专业",en:"Skill"},staff:{zh:"员工信息",en:"Staff Info"}},CustomerSupplier:{zh:"客商信息",en:"Customer Supplier Info",customer:{zh:"客户",en:"Customer"},supplier:{zh:"供应商",en:"Supplier"}},materials:{zh:"物料信息",en:"Material Info",material:{zh:"物料",en:"Material"},MaterialAdd:{zh:"物料管理",en:"MaterialManage"},materialType:{zh:"物料类型",en:"Material Type"}},alarmSetting:{zh:"异常报警设置",en:"Abnormal Alarm setting",alarmInfo:{zh:"异常报警信息",en:"Abnormal Alarm Info"},alarmType:{zh:"异常报警类型",en:"Abnormal Alarm Type"},alarmLevel:{zh:"异常报警级别",en:"Abnormal Alarm Level"}},ports:{zh:"缓存区信息",en:"Ports Info",ports:{zh:"缓存区信息",en:"Ports Info"},area:{zh:"区域",en:"Area"},shelf:{zh:"货架",en:"Shelf"},cacheAdd:{zh:"缓存区信息",en:"Ports Add"},shelfAdd:{zh:"货架信息",en:"Shelf Add"},shelfInfo:{zh:"货位管理",en:"Shelf Info"},locationAdd:{zh:"库位信息",en:"Location Add"},location:{zh:"添加库位",en:"Location Management"},storageBox:{zh:"存储箱",en:"Storage Box"},PositionDetailInfo:{zh:"位置详情",en:"Position Detail Info"}},process:{zh:"工序信息",en:"ProcessLocation Info",processInfo:{zh:"工序库位信息",en:"ProcessLocation Info"},processInfoAdd:{zh:"工序库位信息管理",en:"ProcessLocation Manage"}},equipment:{zh:"设备信息",en:"Equipment Info",equipmentInfo:{zh:"设备信息",en:"Equipment Info"},equipmentInfoAdd:{zh:"设备信息管理",en:"Equipment Manage"},equipmentType:{zh:"设备类型",en:"Equipment Type"},EquipmentGroup:{zh:"设备分组",en:"Equipment Group"},equipmentTypeAlarm:{zh:"设备类型报警",en:"Equipment Type Alarm"},maintenanceType:{zh:"维修类型",en:"Repair Type"},maintenanceCycle:{zh:"保养周期",en:"Maintenance Cycle"},spareParts:{zh:"备品备件",en:"Spare Parts"},equipmentLink:{zh:"连线设备",en:"Connecting Euipment"},equipmentLinkAdd:{zh:"连线设备管理",en:"equipment Link Manage"},equipmentDetectInfo:{zh:"检测设备区域信息",en:"Equipment Detect Info",equipmentDetectArea:{zh:"区域设备",en:"Equipment Detect Area"},detectSystemSettings:{zh:"检测系统设置",en:"Detect System Settings"},equipmentDetectSystem:{zh:"检测系统",en:"Equipment Detect System"},equipmentDetectParam:{zh:"检测设备参数",en:"Equipment Detect Param"}}},scrap:{zh:"报废信息",en:"Scrap Info",scrapInfo:{zh:"报废原因",en:"Scrap Reason"},scrapType:{zh:"报废类型",en:"Scrap Type"}},product:{zh:"产品信息",en:"Product Info",productPool:{zh:"产品池",en:"Product Pool"}},EquipmentScrapGrade:{zh:"设备废片等级",en:"Equipment Scrap Grade"},state:{zh:"状态",en:"Status",stateConfig:{zh:"配置显示状态",en:"Status Config"}},dataDictionaryType:{zh:"数据字典类型",en:"Data Dictionary Type",dataDictionary:{zh:"数据字典",en:"Data Dictionary"}},rule:{zh:"规则",en:"Rule",codeRules:{zh:"编码规则",en:"Code Rules"},codeRulesAttr:{zh:"管理编码属性",en:"Manage Coding Properties"}},visualization:{zh:"可视化",en:"Visualization",visualLayout:{zh:"可视化布局图",en:"Visual Layout"}}},Warehouse:{zh:"仓库管理",en:"Warehouse Manager",StorageBoxInfo:{zh:"存储箱信息",en:"Storage Box Info"},StorageBoxRack:{zh:"存储箱上架",en:"Storage Box Rack"},CurrentTask:{zh:"当前任务",en:"Current Task"},HistoricalTask:{zh:"历史任务",en:"Historical Task"},ProcessStorageManagement:{zh:"工序存储区域管理",en:"Process Storage Management"}},order:{zh:"工单管理",en:"Order Manager",powerClassification:{zh:"Power Classification",en:"Power Classification"},ProcessInfo:{zh:"工单工艺信息",en:"Order Process Info"},ExecutionInfo:{zh:"执行信息",en:"Execution Info"},consumption:{zh:"工单能耗",en:"Energy consumption of the repair order"},details:{zh:"工单能耗详情",en:"Energy consumption of the repair order details"},erpToMesData:{zh:"Erp To Mes数据",en:"Erp To Mes Data"},erpToMesVisualization:{zh:"erp To Mes 可视化",en:"erpToMesVisualization"},workOrderManage:{zh:"工单信息",en:"Workorder Info",workOrder:{zh:"工单信息",en:"Workorder Info"},workOrderOperation:{zh:"工单操作",en:"Workorder operation"},workOrderMonitor:{zh:"工单监控",en:"Workorder monitor"},workOrderVerify:{zh:"工单验证",en:"Workorder verify"},issueworkorder:{zh:"下发工单",en:"Issue Workorder"},closeworkorder:{zh:"结束工单",en:"Close Workorder"},viewpackingTags:{zh:"包装箱查询",en:"Package Inquiry"},tagDetail:{zh:"明细",en:"Detail"}},orderManage:{zh:"订单信息",en:"Order Info",order:{zh:"生产订单管理",en:"Production Order Management"},orderDetail:{zh:"订单详情",en:"Order Detail"},orderIssue:{zh:"生成工单",en:"Generate Work Order"},scrapDetail:{zh:"废品详情",en:"Scrap Detail"},packageDetail:{zh:"包装详情",en:"Package Detail"}},tagManage:{zh:"标签管理",en:"tag Manager",packingTags:{zh:"包装标签",en:"packing Tags"}},infoTrack:{zh:"信息追溯",en:"Info Track",equipmentParametersTrack:{zh:"设备参数追溯",en:"Equipment Parameters Track"},processSubstrateDataTrack:{zh:"加工基板上下片追溯",en:"Process Substrate Upper and Lower Track"},substrateParametersTrack:{zh:"基板参数追溯",en:"Substrate Parameters Track"},substrateEquipment:{zh:"基板设备流转",en:"Substrate Equipment"},equipmentEventTrack:{zh:"设备事件追溯",en:"Equipment Event Track"}},substrate:{zh:"基板",en:"substrate",substrateBatch:{zh:"基板批次信息",en:"Substrate Batch Information"},substrateBatchAttr:{zh:"基板批次信息属性",en:"Substrate Batch Information Property"}}},factory:{zh:"厂务管理",en:"Factory Manager",AlarmManager:{zh:"报警管理",en:"Alarm Manager",AbnormalAlarm:{zh:"异常警告",en:"Abnormal Alarm"},EquipmentAlarm:{zh:"设备报警",en:"Equipment Alarm"}},visual:{en:"Visualization",zh:"可视化",visual:{en:"Visualization",zh:"可视化"},visualLocation:{en:"Location Visual",zh:"库位可视化"}}},packing:{zh:"包装管理",en:"Packing Manager",labelTemplate:{zh:"标签模版",en:"Label Template"},labelDesign:{zh:"标签设计",en:"Label Design"},PackingList:{zh:"包装清单打印",en:"Packing List Print"}},interface:{zh:"接口管理",en:"Interface Manager"},dataacquisition:{zh:"数据采集",en:"Data Acquisition"},form:{zh:"报表管理",en:"Report Form",currentInventory:{zh:"当前库存",en:"Current Inventory"},currentEmptyBox:{zh:"当前仓库空箱信息",en:"Current Empty Box"},currentSubstrate:{zh:"当前基板流转情况",en:"Current Substrate"},viewSubstrate:{zh:"查看基板",en:"View Substrate"},editSubstrate:{zh:"编辑基板",en:"Edit Substrate"},report:{zh:"报表列表",en:"Report List"},reportSortList:{zh:"报表列表",en:"Report List"},reportDesign:{zh:"报表设计",en:"Report Design"},reportView:{zh:"报表预览",en:"Report Preview"},reportSort:{zh:"报表分类",en:"Report Sorts"}},quality:{zh:"质量管理",en:"Quality Manager",scrap:{zh:"废品报废",en:"Scrap"},scrapcategorystatistics:{zh:"废品分类统计",en:"Scrap Category Statistics"},plan:{zh:"质量检测计划",en:"Quality Detect Plan"},scrapManagement:{zh:"废片管理",en:"Scrap management",gradeInfo:{zh:"等级信息",en:"Grade Info"},scrapInfo:{zh:"废片信息",en:"Scrap Info"}},knowledge:{zh:"维护保养知识库",en:"Maintain the knowledge base"},knowledgeadd:{zh:"维护保养知识库添加",en:"Maintain the knowledge base add"},planform:{zh:"质量检测计划详情",en:"Quality Detect Plan Detail"},issuedplan:{zh:"下发检测计划",en:"Issued Plan"},offlineDetec:{zh:"离线检测",en:"Offline Detec",detecParam:{zh:"检测参数",en:"Detec Param"},detecRegistration:{zh:"检测登记",en:"Detec Registration"}}},spc:{zh:"SPC",en:"SPC"}},placeholder:{input:{zh:"请输入",en:"Please Input"},select:{zh:"请选择",en:"Please Select"},formaterror:{zh:"格式错误",en:"Format Error"},upload:{zh:"请上传",en:"Please Upload"},treeSearch:{zh:"请输入关键字进行过滤",en:"Please input keywords to filter"}},formItem:{role:{add:{zh:"新增角色",en:"Add Role"},edit:{zh:"编辑角色",en:"Edit Role"}},user:{add:{zh:"新增用户",en:"Add User"},edit:{zh:"编辑用户",en:"Edit User"}},org:{add:{zh:"新增组织",en:"Add Organization"},edit:{zh:"编辑组织",en:"Edit Organization"}},menu:{add:{zh:"新增菜单",en:"Add Menu"},edit:{zh:"编辑菜单",en:"Edit Menu"}},to:{zh:"至",en:"to"},beginTime:{zh:"开始日期",en:"Begin Date"},endTime:{zh:"结束日期",en:"End Date"}},copyright:{copyright:{zh:"版权所有",en:"Copyright"},company:{zh:"中建材智能自动化研究院有限公司",en:"Intelligent Automation Research Institute Co., Ltd"}},module:{basicData:{visual:{equipment:{zh:"设备",en:"Equipment"}}}},upload:{text:{header:{zh:"将文件拖到此处,或",en:"Drag the file here, or"},footer:{zh:"点击上传",en:"click upload"}},placeholder:{zh:"仅限上传png、jpg、jpeg、gif格式的图片,大小限制为10M",en:"Only PNG, JPG, JPEG, GIF format images can be uploaded, and the size is limited to 10m"}}}},"3c85":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-alarm",use:"icon-alarm-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);n["default"]=c},"3c88":function(e,n,t){},4360:function(e,n,t){"use strict";t("a481");var a,r=t("298b"),i=t.n(r),o=t("c651"),c=t.n(o),s=t("2b0e"),A=t("2f62"),l=(t("7f7f"),{sidebar:function(e){return e.app.sidebar},language:function(e){return e.app.language},size:function(e){return e.app.size},device:function(e){return e.app.device},choicepart:function(e){return e.app.choicepart},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},introduction:function(e){return e.user.introduction},username:function(e){return e.user.username},roles:function(e){return e.user.roles},permission_routes:function(e){return e.permission.routes}}),d=l;s["default"].use(A["a"]);var u=t("c653"),m=i()(a=c()(u).call(u)).call(a,(function(e,n){var t=n.replace(/^\.\/(.*)\.\w+$/,"$1"),a=u(n);return e[t]=a["default"],e}),{}),p=new A["a"].Store({modules:m,getters:d});n["a"]=p},"449f":function(e,n,t){},"44a0":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-packingManage",use:"icon-packingManage-usage",viewBox:"0 0 40 38",content:' \r\n'});o.a.add(c);n["default"]=c},4678:function(e,n,t){var a={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function r(e){var n=i(e);return t(n)}function i(e){var n=a[e];if(!(n+1)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n}r.keys=function(){return Object.keys(a)},r.resolve=i,e.exports=r,r.id="4678"},"47f1":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"47ff":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"4c45":function(e,n,t){e.exports=t.p+"static/img/head.44406e7d.png"},"4d49":function(e,n,t){"use strict";t.r(n);var a=t("3393"),r=t.n(a),i={logs:[]},o={ADD_ERROR_LOG:function(e,n){e.logs.push(n)},CLEAR_ERROR_LOG:function(e){var n;r()(n=e.logs).call(n,0)}},c={addErrorLog:function(e,n){var t=e.commit;t("ADD_ERROR_LOG",n)},clearErrorLog:function(e){var n=e.commit;n("CLEAR_ERROR_LOG")}};n["default"]={namespaced:!0,state:i,mutations:o,actions:c}},"4df5":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});o.a.add(c);n["default"]=c},"51ff":function(e,n,t){var a={"./404.svg":"a14a","./ArtManager.svg":"d7c0","./ArticleManager.svg":"18d4","./EquipmentManager.svg":"f218","./MaterialsManage.svg":"e549","./alarm.svg":"3c85","./back.svg":"c557","./back2.svg":"6011","./basicData.svg":"9e79","./bug.svg":"1779","./car.svg":"ec2f","./chart.svg":"c829","./clipboard.svg":"bc35","./component.svg":"56d6","./dashboard.svg":"f782","./documentation.svg":"90fb","./drag.svg":"9bbf","./edit.svg":"aa46","./education.svg":"ad1c","./email.svg":"cbb7","./example.svg":"30c3","./excel.svg":"6599","./exit-fullscreen.svg":"dbc7","./eye-open.svg":"d7ec","./eye.svg":"4df5","./factoryManage.svg":"b3230","./form.svg":"eb1b","./formManage.svg":"c658","./formwhite.svg":"b519","./fullscreen.svg":"9921","./guide.svg":"6683","./help.svg":"c932","./helptitle.svg":"f1c4","./home.svg":"6bbe","./icon.svg":"9d91","./international.svg":"17df","./language.svg":"2580","./link.svg":"18f0","./list.svg":"3289","./lock.svg":"ab00","./logout.svg":"0175","./message.svg":"47ff","./money.svg":"3046","./nested.svg":"dcf8","./orderManage.svg":"ef77","./packingManage.svg":"44a0","./password.svg":"2a3d","./pdf.svg":"f9a1","./people.svg":"d056","./peoples.svg":"2f11","./qq.svg":"1430","./qualityManage.svg":"9774","./search.svg":"8e8d","./shopping.svg":"12a5","./size.svg":"8644","./skill.svg":"096e","./star.svg":"708a","./tab.svg":"8fb7","./table.svg":"47f1","./theme.svg":"e534","./tree-table.svg":"e7c8","./tree.svg":"93cd","./user.svg":"b3b5","./wechat.svg":"80da","./zip.svg":"8aa6"};function r(e){var n=i(e);return t(n)}function i(e){var n=a[e];if(!(n+1)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n}r.keys=function(){return Object.keys(a)},r.resolve=i,e.exports=r,r.id="51ff"},"56d6":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"56d7":function(e,n,t){"use strict";t.r(n);t("cadf"),t("551c"),t("f751"),t("097d");var a=t("4573"),r=t.n(a),i=t("fa81"),o=t.n(i),c=t("e4f0"),s=t.n(c),A=t("2b0e"),l=t("a78e"),d=t.n(l),u=(t("f5df"),t("5c96")),m=t.n(u),p=(t("24ab"),t("b20f"),t("b828"));A["default"].use(p["a"]);var h=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},g=[],f={name:"App",mounted:function(){}},b=f,w=t("2877"),v=Object(w["a"])(b,h,g,!1,null,null,null),M=v.exports,T=t("4360"),E=t("a18c"),D=t("9923"),y=(t("985d"),t("96cf"),t("1da1")),C=t("6b47"),k=t.n(C),S=t("65b8"),B=t.n(S),x=t("323e"),P=t.n(x),z=(t("a5d8"),t("5f87")),I=t("3aee"),N=d.a.get("language"),R=I["a"].title[N]||"Vue Element Admin";function V(e){return"".concat(R)}P.a.configure({showSpinner:!0});var Q=["/login","/auth-redirect"];E["c"].beforeEach(function(){var e=Object(y["a"])(k.a.mark((function e(n,t,a){var r;return k.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(P.a.start(),document.title=V(n.meta.title),r=Object(z["a"])(),console.log("hasToken="+r),console.log("to.path="+n.path),!r){e.next=26;break}if("/login"!==n.path){e.next=12;break}console.log("/login",T["a"].getters.menus),a({path:"/"}),P.a.done(),e.next=24;break;case 12:P.a.done(),e.prev=13,a(),e.next=24;break;case 17:return e.prev=17,e.t0=e["catch"](13),a("/login?redirect=".concat(n.path)),e.next=22,T["a"].dispatch("user/resetToken");case 22:u["Message"].error(e.t0||"Has Error"),P.a.done();case 24:e.next=29;break;case 26:console.log("to.path="+n.path),console.log("whiteList.indexOf(to.path)="+B()(Q).call(Q,n.path)),-1!==B()(Q).call(Q,n.path)?a():(a("/login?redirect=".concat(n.path)),P.a.done());case 29:case"end":return e.stop()}}),e,null,[[13,17]])})));return function(n,t,a){return e.apply(this,arguments)}}()),E["c"].afterEach((function(){P.a.done()}));var H=t("9a73"),O=t.n(H),W=t("61f7"),F=t("83d6"),G=t.n(F),j=G.a.errorLog;function L(){var e="production";return Object(W["c"])(j)?e===j:!!Object(W["a"])(j)&&O()(j).call(j,e)}L()&&(A["default"].config.errorHandler=function(e,n,t,a){A["default"].nextTick((function(){T["a"].dispatch("errorLog/addErrorLog",{err:e,vm:n,info:t,url:window.location.href}),console.error(e,t)}))});var q=A["default"].extend(t("92bd")["default"]);A["default"].prototype.$createListReview=function(e){var n=new q({data:e});n.vm=n.$mount(),document.getElementById("app").appendChild(n.vm.$el)};var Y=A["default"].extend(t("05e3")["default"]);A["default"].prototype.$createPicReview=function(e){var n=new Y({data:e});n.vm=n.$mount(),document.getElementById("app").appendChild(n.vm.$el)};var Z,X=t("8975");A["default"].use(m.a,{size:d.a.get("size")||"medium",i18n:function(e,n){return D["a"].t(e,n)}}),r()(Z=o()(X)).call(Z,(function(e){s()(A["default"]).call(A["default"],e,X[e])})),A["default"].config.productionTip=!1,A["default"].prototype.$i18nForm=X["i18nFilterForm"],new A["default"]({el:"#app",router:E["c"],i18n:D["a"],store:T["a"],render:function(e){return e(M)}})},"5f87":function(e,n,t){"use strict";t.d(n,"a",(function(){return o})),t.d(n,"c",(function(){return c})),t.d(n,"b",(function(){return s}));var a=t("a78e"),r=t.n(a),i="Admin-Token";function o(){return r.a.get(i)}function c(e){return console.log("setToken="+e),r.a.set(i,e)}function s(){return r.a.remove(i)}},6011:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-back2",use:"icon-back2-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);n["default"]=c},"61f7":function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return o})),t.d(n,"a",(function(){return c}));t("6b54"),t("06db");var a=t("e946"),r=t.n(a);function i(e){return/^(https?:|mailto:|tel:)/.test(e)}function o(e){return"string"===typeof e||e instanceof String}function c(e){return"undefined"===typeof r.a?"[object Array]"===Object.prototype.toString.call(e):r()(e)}},6599:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},6683:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"68fa":function(e,n,t){"use strict";t("2021")},"6bbe":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-home",use:"icon-home-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);n["default"]=c},"708a":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},7509:function(e,n,t){"use strict";t.r(n);var a=t("2909"),r=t("3835"),i=t("b85c"),o=(t("7f7f"),t("c52e")),c=t.n(o),s=t("e76e"),A=t.n(s),l=t("9a73"),d=t.n(l),u=t("a952"),m=t.n(u),p=t("3393"),h=t.n(p),g=t("65b8"),f=t.n(g),b=t("e4f0"),w=t.n(b),v=t("52da"),M=t.n(v),T=t("3818"),E=t.n(T),D={visitedViews:[],cachedViews:[]},y={ADD_VISITED_VIEW:function(e,n){var t;c()(t=e.visitedViews).call(t,(function(e){return e.path===n.path}))||e.visitedViews.push(A()({},n,{title:n.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,n){var t;d()(t=e.cachedViews).call(t,n.name)||n.meta.noCache||e.cachedViews.push(n.name)},DEL_VISITED_VIEW:function(e,n){var t,a,o=Object(i["a"])(m()(t=e.visitedViews).call(t));try{for(o.s();!(a=o.n()).done;){var c=Object(r["a"])(a.value,2),s=c[0],A=c[1];if(A.path===n.path){var l;h()(l=e.visitedViews).call(l,s,1);break}}}catch(d){o.e(d)}finally{o.f()}},DEL_CACHED_VIEW:function(e,n){var t,a,r=f()(t=e.cachedViews).call(t,n.name);r>-1&&h()(a=e.cachedViews).call(a,r,1)},DEL_OTHERS_VISITED_VIEWS:function(e,n){var t;e.visitedViews=w()(t=e.visitedViews).call(t,(function(e){return e.meta.affix||e.path===n.path}))},DEL_OTHERS_CACHED_VIEWS:function(e,n){var t,a,r=f()(t=e.cachedViews).call(t,n.name);r>-1?e.cachedViews=M()(a=e.cachedViews).call(a,r,r+1):e.cachedViews=[]},DEL_ALL_VISITED_VIEWS:function(e){var n,t=w()(n=e.visitedViews).call(n,(function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,n){var t,a=Object(i["a"])(e.visitedViews);try{for(a.s();!(t=a.n()).done;){var r=t.value;if(r.path===n.path){r=A()(r,n);break}}}catch(o){a.e(o)}finally{a.f()}}},C={addView:function(e,n){var t=e.dispatch;t("addVisitedView",n),t("addCachedView",n)},addVisitedView:function(e,n){var t=e.commit;t("ADD_VISITED_VIEW",n)},addCachedView:function(e,n){var t=e.commit;t("ADD_CACHED_VIEW",n)},delView:function(e,n){var t=e.dispatch,r=e.state;return new E.a((function(e){t("delVisitedView",n),t("delCachedView",n),e({visitedViews:Object(a["a"])(r.visitedViews),cachedViews:Object(a["a"])(r.cachedViews)})}))},delVisitedView:function(e,n){var t=e.commit,r=e.state;return new E.a((function(e){t("DEL_VISITED_VIEW",n),e(Object(a["a"])(r.visitedViews))}))},delCachedView:function(e,n){var t=e.commit,r=e.state;return new E.a((function(e){t("DEL_CACHED_VIEW",n),e(Object(a["a"])(r.cachedViews))}))},delOthersViews:function(e,n){var t=e.dispatch,r=e.state;return new E.a((function(e){t("delOthersVisitedViews",n),t("delOthersCachedViews",n),e({visitedViews:Object(a["a"])(r.visitedViews),cachedViews:Object(a["a"])(r.cachedViews)})}))},delOthersVisitedViews:function(e,n){var t=e.commit,r=e.state;return new E.a((function(e){t("DEL_OTHERS_VISITED_VIEWS",n),e(Object(a["a"])(r.visitedViews))}))},delOthersCachedViews:function(e,n){var t=e.commit,r=e.state;return new E.a((function(e){t("DEL_OTHERS_CACHED_VIEWS",n),e(Object(a["a"])(r.cachedViews))}))},delAllViews:function(e,n){var t=e.dispatch,r=e.state;return new E.a((function(e){t("delAllVisitedViews",n),t("delAllCachedViews",n),e({visitedViews:Object(a["a"])(r.visitedViews),cachedViews:Object(a["a"])(r.cachedViews)})}))},delAllVisitedViews:function(e){var n=e.commit,t=e.state;return new E.a((function(e){n("DEL_ALL_VISITED_VIEWS"),e(Object(a["a"])(t.visitedViews))}))},delAllCachedViews:function(e){var n=e.commit,t=e.state;return new E.a((function(e){n("DEL_ALL_CACHED_VIEWS"),e(Object(a["a"])(t.cachedViews))}))},updateVisitedView:function(e,n){var t=e.commit;t("UPDATE_VISITED_VIEW",n)}};n["default"]={namespaced:!0,state:D,mutations:y,actions:C}},"755c":function(e,n,t){"use strict";t("27a0")},"80da":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});o.a.add(c);n["default"]=c},"83d6":function(e,n){e.exports={title:"ARI WMS",showSettings:!0,tagsView:!0,fixedHeader:!0,sidebarLogo:!0,errorLog:"production",usePermission:!1,baseUrl:"http://mes.picaiba.com/api/common/attachment/uploadFile"}},"858c":function(e,n,t){},"85a6":function(e,n,t){"use strict";t("f52b")},8644:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},8975:function(e,n,t){"use strict";t.r(n),t.d(n,"i18nFilter",(function(){return b})),t.d(n,"i18nFilterForm",(function(){return w})),t.d(n,"timeAgo",(function(){return v})),t.d(n,"numberFormatter",(function(){return M})),t.d(n,"toThousandFilter",(function(){return T})),t.d(n,"uppercaseFirst",(function(){return E})),t.d(n,"timeFormatter",(function(){return D})),t.d(n,"handleLimit",(function(){return y})),t.d(n,"getSimpleText",(function(){return C}));t("3b2b"),t("6b54"),t("a481"),t("c5f6"),t("28a5"),t("06db"),t("87b3");var a=t("a3e3"),r=t.n(a),i=t("298b"),o=t.n(i),c=t("3002"),s=t.n(c),A=t("52da"),l=t.n(A),d=t("ed08");t.d(n,"parseTime",(function(){return d["c"]})),t.d(n,"formatTime",(function(){return d["b"]}));var u=t("3aee"),m=t("a78e"),p=t.n(m),h=t("c1df"),g=t.n(h);function f(e,n){return 1===e?e+n:e+n+"s"}function b(e){var n,t=u["a"],a=r()(n=[t]).call(n,e.split(".")),i=o()(a).call(a,(function(e,n){return e[n]?e[n]:e}));return(null===i||void 0===i?void 0:i[p.a.get("language")])||e}function w(e){var n,t=u["a"],a=r()(n=[t]).call(n,e[0].split(".")),i=o()(a).call(a,(function(e,n){return e[n]?e[n]:e}));return((null===i||void 0===i?void 0:i[p.a.get("language")])||e)+" "+e[1]}function v(e){var n=s()()/1e3-Number(e);return n<3600?f(~~(n/60)," minute"):n<86400?f(~~(n/3600)," hour"):f(~~(n/86400)," day")}function M(e,n){for(var t=[{value:1e18,symbol:"E"},{value:1e15,symbol:"P"},{value:1e12,symbol:"T"},{value:1e9,symbol:"G"},{value:1e6,symbol:"M"},{value:1e3,symbol:"k"}],a=0;a=t[a].value)return(e/t[a].value).toFixed(n).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+t[a].symbol;return e.toString()}function T(e){return(+e||0).toString().replace(/^-?\d+/g,(function(e){return e.replace(/(?=(?!\b)(\d{3})+$)/g,",")}))}function E(e){return e.charAt(0).toUpperCase()+l()(e).call(e,1)}function D(e){return e?g()(e).format("YYYY-MM-DD HH:mm:ss"):"-"}function y(e){return e.length>10?l()(e).call(e,0,10)+"......":e}function C(e){var n=new RegExp("<.+?>","g"),t=e.replace(n,"");return l()(t).call(t,0,10)+"......"}},"8aa6":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"8e5e":function(e,n,t){},"8e8d":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"8fb7":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"8ffd":function(e,n,t){},"90fb":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"92a6":function(e,n,t){},"92bd":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("el-dialog",{attrs:{visible:e.visible,"destroy-on-close":!0,"before-close":e.handleClose,title:"查看子变量"}},[t("el-table",{attrs:{data:e.list,border:"",stripe:""}},[t("el-table-column",{attrs:{prop:"vt",label:"数据类型"}}),e._v(" "),t("el-table-column",{attrs:{prop:"val",label:"数据值"}})],1)],1)},r=[],i={name:"ListDialog",data:function(){return{visible:!0,list:[]}},methods:{handleClose:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)}}},o=i,c=(t("85a6"),t("2877")),s=Object(c["a"])(o,a,r,!1,null,null,null);n["default"]=s.exports},"93cd":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},9774:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-qualityManage",use:"icon-qualityManage-usage",viewBox:"0 0 34 40",content:' \r\n'});o.a.add(c);n["default"]=c},"985d":function(e,n,t){"use strict";t("a481");var a=t("14b1"),r=t.n(a),i=t("c651"),o=t.n(i),c=t("2b0e"),s=function(){var e=this,n=e.$createElement,t=e._self._c||n;return e.isExternal?t("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):t("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[t("use",{attrs:{"xlink:href":e.iconName}})])},A=[],l=t("61f7"),d={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(l["b"])(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},u=d,m=(t("68fa"),t("2877")),p=Object(m["a"])(u,s,A,!1,null,"f9f7fefc",null),h=p.exports;c["default"].component("svg-icon",h);var g=t("51ff"),f=function(e){var n;return r()(n=o()(e).call(e)).call(n,e)};f(g);n["a"]={getNameList:function(){var e;return r()(e=f(g)).call(e,(function(e){return e["default"].id.replace("icon-","")}))}}},9921:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},9923:function(e,n,t){"use strict";var a=t("b85c"),r=t("5530"),i=t("fa81"),o=t.n(i),c=t("65b8"),s=t.n(c),A=t("2b0e"),l=t("a925"),d=t("a78e"),u=t.n(d),m=t("b2d6"),p=t.n(m),h=t("f0d9"),g=t.n(h),f=t("3ed6"),b=t.n(f),w=t("c3ff"),v=t.n(w),M={visual:{addNow:"Please add the current point first!",choiseSucc:"The choice is successful!",choiseError:"You cannot select the same equipment!",unSelect:"Please selete equipment!",changeLine:"Please select equipment first or delete point with no equipment selected!",areaName:"Area Name",annex:"Annex",locationInformation:"Location Information",runningTrack:"Running Track",tip:"Click the picture below to select a point. After selecting a point, select a device in the pop-up box. If you do not select a device when adding a new point, you cannot select the next point. If you want to adjust the order of the points, drag the label at the bottom of the picture to the position you want to adjust. Click to confirm the submission point information and click Reset to reset the point information to the state when the pop-up box is opened",routeTip:". Select a route in the selection box to edit different routes in the current area. Click new route to fill in the information to add a running track in the current area",help:"Help",baseRouteName:"Default Route Name",oneLineTip:"There must be at least one trajectory!",editLineName:"Trajectory Name",oneLineNameTip:"You cannot input the same trajectory name!",lineNameNotNullTip:"Line name cannot empty!",keyword:"keyword",success:"success",confirmButtonText:"confirm",cancelButtonText:"cancel",Tips:"Tips",TipsBefore:"Are you sure you want to delete",TipsStorageBefore:"Confirm to add location:",PleaseAddLocationFirst:"Please Add Location First!",Description:"Description",Remarks:"Remarks",Yes:"Yes",No:"No",Or:"Or",AttributeName:"Attribute Name",AttributeValue:"Attribute Value",EnglishName:"English Name",Abbreviation:"Abbreviation",Specs:"Specs",Manufacturer:"Manufacturer",productionTime:"Production Time",enterTime:"Enter Time",debugTime:"Debug Time",CurrentState:"Current State",uploadInfo:"upload Info",unit:"unit",AttributeCode:"Attribute Code",stock:"Location Information",isStock:"Is There Location",editLocation:"Edit Location Point",location:"Location",locationTip:"Click the picture below to select a point. After selecting a point, select a location in the pop-up box. If you do not select a location when adding a new point, you cannot select the next point. If you want to adjust the order of the points, drag the label at the bottom of the picture to the position you want to adjust. Click to confirm the submission point information and click Reset to reset the point information to the state when the pop-up box is opened",locationInfo:"Location Point Info",storageCode:"storageBoxCode",storageBoxFid:"StorageBox FID Code"},factory:{placeholderName:"Name Or Code",createTime:"Create Time",FactoryName:"Factory Name",FactoryCode:"Factory Code",Address:"Address"},productLine:{placeholderName:"Product Line Name",ProductionLineCode:"Production Line Code"},workSection:{SectionName:"Section Name",WorkSectionCoding:"WorkSection Coding"},group:{TeamName:"Team Name",NumberOfTeams:"Number Of Teams",GroupLeader:"Group Leader",TeamStatus:"Team Status"},major:{ProfessionalName:"Professional Name",ProfessionalCoding:"Professional Coding"},staff:{Name:"Name",EmployeeID:"Employee ID",Gender:"gender",EntryTime:"Entry Time",Telephone:"Telephone",Email:"Email",Wechat:"Wechat",Profession:"Profession",Workshop:"Workshop",onDuty:"onDuty",role:"Worker Role"},customer:{CustomerName:"Customer Name",CustomerCode:"Customer Code",ContactPerson:"Contact Person",Telephone:"Telephone",Address:"Address",format:"format is incorrect"},supplier:{SupplierName:"Supplier Name",SupplierCode:"Supplier Code",ContactPerson:"Contact Person",Telephone:"Telephone",Address:"Address"},material:{MaterialName:"Material Name",MaterialCoding:"Material Coding",MaterialType:"Material Type"},materialsType:{TypeCode:"Type Code",TypeName:"Type Name"},alarmManagement:{AlarmCode:"Alarm Code",AlarmType:"Alarm Type",AlarmLevel:"Alarm Level",AlarmName:"Alarm Name",AlarmContent:"Alarm Content",AlarmTypeCode:"Alarm Type Code",LevelCode:"Level Code"},processLocation:{sequence:"Sequence",locationName:"Location Name",isProcess:"Location Type",locationId:"Location Id",workSequenId:"Work Sequence Id",equipmentMark:"Equipment Mark",portAttrId:"Port Attribute Id",goodsShelves:"Goods Shelves",ProcessLocation:"Process Location",CacheLocation:"Cache Location",aShelf:"Shelf A",bShelf:"Shelf B"},cache:{CacheCode:"Ports Code",CacheName:"Ports Name",StockNumber:"Stock Number",AreaNumber:"Shelf Number",AreaCode:"Shelf Code",AreaName:"Shelf Name",rowNum:"Row Num",columnNum:"Column Num",Shelf:"Shelf",ManageShelves:"Manage Shelves",ShelfCode:"Shelf Code",ShelfName:"Shelf Name",ShelfNumber:"Shelf Number",StorageQuantity:"Storage Quantity",Location:"Location",ManageLocation:"Manage Location",LocationCode:"Location Code",LocationName:"Location Name",anotherName:"Another Name",place:"Place",addCacheArea:"add Ports Shelf",warning:"Layers and Columns must be integer!",logisticsEquipment:"Logistics Equipment",processEquipment:"Process Equipment",sheCode:"Shelf Code",sheName:"Shelf Name",locaNum:"Location Number",addLocation:"Add Location",columnMark:"Column Mark",rowMark:"Row Mark",status:"Status",man:"Man",woman:"Woman",locationNumber:"Location Number"},storageBox:{name:"Name",code:"Code",alias:"Alias",StorageQuantity:"StorageQuantity",status:"Status",PositionDetail:"PositionDetail",remark:"Remark",PositionNo:"PositionNo",PositionCode:"PositionCode",PositionCodeAlias:"PositionCodeAlias",scrapped:"Scrapped",normal:"Normal",repairing:"Repairing"},equipment:{EquipmentName:"Equipment Name",EquipmentCode:"Equipment Code",EquipmentType:"Equipment Type",groupName:"Group Name",groupCode:"Group Code",EquipmentGrouping:"Equipment Grouping",FunctionDescription:"Function Description",EquipmentTypeAlarm:"Equipment Type Alarm",SetAlarm:"Set Alarm",DebugPeriod:"Debug Period",intellectualProperty:"intellectual Property",rangeNumber:"range Number",E10Status:"E10 Status",activiation:"activiation",communication:"communication",equipmentImg:"Equipment Img",equipmentInfo:"Equipment Info",EquipmentTypeName:"Equipment Type Name",EquipmentTypeCode:"Equipment Type Code",EquipmentTypeAlarmName:"Equipment Type Alarm Name",EquipmentTypeAlarmCode:"EquipmentTypeAlarmCode",parentName:"Parent Name",RepairTypeCode:"Repair Type Code",RepairTypeName:"Repair Type Name",PeriodCode:"Period Code",maintenancePeriod:"Maintenance Period",SparepartCode:"Sparepart Code",SparepartName:"Sparepart Name",SparepartModel:"Sparepart Model",WiredEquipment:"Wired Equipment",WiredCode:"Wired Code",connectUpperDevice:"Connect Upper Device",connectLowerDevice:"Connect Lower Device",controlStatus:"Control Status",plcVersion:"PLC Version",eapVersion:"EAP Version",maintenanceCycle:"Maintenance Cycle (year)",maintenanceTime:"Maintenance Duration (hours)"},equipmentDetectInfo:{code:"code",equipmentDetectSystemName:"Detect System Name",equipmentDetectSystemAbbr:"Detect System Abbreviation",DetectionArea:"Detection Area",IssueArea:"Issue Area",AddEquipment:"Add Equipment",EquipmentFunction:"Equipment Function",TestParameterName:"Test Parameter Name",ReferenceValue:"Reference Value",IssueOrNot:"Issue Or Not",TestFrequency:"Test Frequency",TestSystem:"Test System"},ScrapInfo:{PlateId:"Substrate Id",TimePeriod:"Time Period",StartTime:"Start Time",EndTime:"End Time",To:"To",source:"Source",wasteGrade:"Waste Grade",RegisterPerson:"Register Person",updateTime:"Update Time",registrationPlace:"Registration Place",cause:"Cause",causeCode:"Cause Code",WasteName:"Waste Name",WasteCode:"Waste Code",remark:"Remarks",scrapType:"Scrap Type",scrapTypeCode:"Scrap Type Code",name:"equipment name",entryType:"Manual/Automatic",automatic:"automatic",manual:"Manual",workOrderName:"Work Order Name"},productPool:{productName:"Product Name",productCode:"Product Code"},dataDictionary:{list:"list",dataDictionaryName:"Data Dictionary Name",dataDictionaryCode:"Data Dictionary Code"},StateConfig:{status:"Status",DisplayColor:"Display Color",Twinkle:"Twinkle"},knowledge:{time:"Period of time",title:"title",endTIme:"end time",startTime:"start time",To:"to",content:"content",annex:"annex"},CodeRules:{RuleName:"Rule Name",RuleCode:"Rule Code",manageProperty:"Manage Property",Property:"Property",PropertyCode:"Property Code",PropertyName:"Property Name",Length:"Length",order:"Order"},EquipmentScrapGrade:{keyword:"name",ScrapGrade:"Scrap Grade"},Warehouse:{Code:"Code",TaskType:"Task Type",TaskStatus:"Task Status",TaskSource:"Task Source",VehicleName:"Vehicle Name",TimeSlot:"Time Slot",ExecutionTime:"Execution Time",BoxStatus:"Box Status",BoxNumber:"Box Number",PreviousOperation:"Previous Operation",ExecutionOperation:"Execution Operation",NextOperation:"Next Operation",CompletionTime:"Completion Time",StartLocation:"Start Location",FullBoxStartLocation:"FullBox Start Location",TaskLocation:"Task Location",TargetLocation:"Target Location",OrderName:"Order Name",OrderType:"Order Type",OrderCode:"Order Code",IssueOrderTime:"Issue Order Time",startProduceTime:"Start Produce Time",TotalProcessName:"Total Process Name",Priority:"Priority",OrderStatus:"Order Status",triggerOrigin:"Trigger Origin",ProcessOrNot:"Process Or Not",Unit:"Unit",scrapQuantity:"Scrap Quantity",RelateProcess:"Relate Process",PlanProcessQuantity:"Plan Process Quantity",actualProcessQuantity:"Actual Process Quantity",SubProcessName:"Sub Process Name",TaskBoxNumber:"Task Box Number",FullBoxNumber:"Full Box Number",EmptyFork:"Empty Fork",TaskBoxFork:"Task Box Fork",EmptyHandlingTime:"Empty Handling Time",TaskBoxHandlingTime:"TaskBox Handling Time",StorageBoxNumber:"Storage Box Number",CurrentLocation:"Current Location",IsEmpty:"Is Empty",IsEmptyBox:"Is Empty Box",LocationName:"Location Name",LocationCode:"Location Code",PerformTaskManual:"Perform Task Manual",processStorageLink:"Process Storage Link",SelectStorageType:"Select Storage Type",LocationStorageSetting:"Location Storage Setting",publishTask:"Publish The Task",startPosition:"Start",endPosition:"End",taskType:"Task Type",ExWarehouse:"Ex Warehouse",InWarehouse:"In Warehouse",Circulation:"Circulation",Initialization:"Initialization",Damage:"Damage"}},T={PackingList:{PackingTime:"Packing Time",WorkOrderNo:"Work Order No",SubstrateNumber:"Substrate Number",ModuleLevel:"Module Level",QualityGrade:"Quality Grade",Detail:"Detail",printNumber:"Print Number",EntryTime:"Entry Time"},labelTemplate:{placeholderSearch:"Label Name or Code",addTime:"Add Time",labelCode:"Label Code",labelName:"Label Name",labelType:"Label Type",labelContent:"Label Content",remark:"Remark",levelLabel:"Level Label",moduleLabel:"Module Label",custom:"Custom",templateDesign:"Template Design",templatePreview:"Template Preview",placeholderLength:"At least 3 characters in length"}},E={Handover:{alertTitle:"[Warm Prompt]",alertListContent:"Are you sure you want to delete the team handover record?",alertPlanContent:"Are you sure you want to delete this process?",index:"index",TeamName:"Team Name",TeamLeader:"Team Leader",WorkingHours:"Working Hours",OffWorkTime:"Off Work Time",LastTeamName:"Last Team Name",Keyword:"Keyword",HandoverTme:"Handover Time",HandoverStatus:"Handover Status",HandoverWait:"Waiting",HandoverCom:"Complete",TeamWorkStatus:"Team Work Status",all:"All",working:"Working",offduty:"Off Duty",CreateTime:"Create Time",PlanWorkingHours:"Plan Working Hours",PlannedHandoverTime:"Planned Handover Time",PreviousTeamLeader:"Previous Team Leader",Remark:"Remark",Detail:"Detail",Placeholder:"Team Name Or Team Leader",Operation:"Operation",StartTime:"Start Time",EndTime:"End Time",To:"To"},HandoverAdd:{SelectAll:"Select All",TeamPlanFill:"Team Plan Fill",FillInShift:"Fill In Shift",MajorSelection:"Major Selection",SelectionOfTeamMembers:"Selection Of Team Members",Placeholder:"Name Or Code",planWorkerName:"Plan Worker Name",planProfessionName:"Plan Skill Name",telephone:"Telephone",workshop:"Work Station",onDuty:"onDuty",HandoverTeam:"Handover Team",HandoverTeamLeader:"Handover Team Leader",PlanTeam:"Plan Team",PlanTeamLeader:"Plan Team Leader"},HandoverDrawer:{title:"Off Duty Operation",TeamCommutingRecord:"Team Commuting Record",OffHours:"Off Hours"},showLog:{content:"Content",type:"Type",title:"Title",teamEventLogId:"Team Event Log Id",happenTime:"Happen Time",leave:"Leave",absenceFromDuty:"Absence From Duty",equipmentFailure:"Equipment Failure"}},D={equipmentVisualization:{timeSlot:"Time Slot",ProcessingQuantity:"Processing Quantity",Histogram:"Histogram",DataTable:"Data Table",Year:"Year",Quarter:"Quarter",Month:"Month",Week:"Week",Electric:"Electric",Water:"Water",Gas:"Gas"},monitoringInfo:{allCycles:"Total cycle Times",badTimes:"Failure Times",time:"Time",MCBF:"MCBF",previousStatus:"State Before",runTime:"UpTime (hours)",produceTime:"Production time (hours)",productiveCount:"Actual Capacity",timeRate:"Time Start Rate",performanceRate:"Performance Start Rate",oee:"OEE",E10StartTime:"E10 StartTime",E10endTime:"E10 EndTime",laterE10Status:"Changed E10 State",duration:"Duration",goodsNumbers:"OK Quantity",noOkNumbers:"NOK Quantity",onceOkCount:"OK Quantity Of Fist Process ",reworkOkCount:"OK Quantity Of Rework ",GetTimePeriod:"Time Period",ProductionTimePeriod:"Production Time Period",MaintenanceTimes:"Maintenance Times",RunningTime:"Running Time",E10status:"E10 State",number:"Quantity Produced Of Current day",yieId:"Daily yield",bom:"Daily Consumption Of Materials,",controlState:"Control State",equipmentName:"EQ Name",e10Code:"E10 State",materialName:"MaterialName",port:"Loading Port",productCount:"Product Quantity",spec:"Spec",materialNo:"MaterialNo",upTime:"Loading Time",upCount:"Loading Amount",useCount:"Used Amount",unit:"Unit",eventName:"EventName",paramName:"ParamName",paramValue:"ParamValue",standardFormat:"StandardFormat",paramFormat:"ParamFormat",receiveTime:"ReceivedTime",recipe:"EQ Recipe",controlStatus:"Control State",traceDataState:"Trace Data OpenState",controlStateUpdateTime:"Control State UpdateTime",e10UpdateTime:"E10 Update Time",StateFlg:"StateFlag",EnableSpooling:"EnableSpooling",maxspooltransmit:"MaxSpoolTransmit",spoolingstate:"SpoolingState",spoolingcountactual:"SpoolingCountActual",SpoolingCountTotal:"SpoolingCountTotal",F1F3Succ:"F1F3 Request Success",F2F13Succ:"F2F13 Request Success",baseChart:"Processed Substrates Quantity",monitorChart:"EQ Running Time"},sparepart:{sparepart:"Sparepart",code:"Sparepart number",name:"Sparepart name",model:"Sparepart model",batchNumber:"batch number",supplier:"supplier",number:"Quantity",unit:"unit",entryTime:"Time to enter the factory",receiver:"Receiver",remark:"Remarks",externalCode:"External Code",searchPlaceholder:"Code or Name",editDialogTtile:"Edit Sparepart",addDialogTtile:"Add Sparepart",placeholdersparepart:"Please select Sparepart",placeholdermodel:"Please input Sparepart model",placeholderbatchNumber:"Please input batch number",placeholdersupplier:"Please input supplier",placeholdernumber:"Please input Quantity",placeholderunit:"Please select unit",placeholderentryTime:"Please select Time",placeholderreceiver:"Please select Receiver",placeholderremark:"Please input Remarks",placeholderexternalCode:"Please input External Code"},bom:{searchPlaceholder:"Device code or name",code:"Equipment material inventory code",name:"Equipment material inventory",equipmentCode:"Equipment ID",equipmentName:"Equipment name",enabled:"Status",remark:"Remarks",addDialogTitle:"Add Equipment Material",editDialogTitle:"Edit Equipment Material",placeholdercode:"Please input Equipment material code",placeholdername:"Please input Equipment material",placeholderequipmentName:"Please select Device",placeholderremark:"Please input remarks","":""},bomdetail:{title:"Device Material Detail",materialId:"Material ID",materialName:"Material name",unit:"Unit",quantity:"Quantity",remark:"Remarks",addDialogTitle:"Add Material",editDialogTitle:"Edit Material",placeholdermaterialName:"Please select Material",placeholderunit:"Please select Unit",placeholderquantity:"Please input Quantity",placeholderremark:"Please input Remarks"},recipe:{searchPlaceholder:"Recipe code or name",deviceselect:"Please select device",equipmentId:"Equipment Name",equipmentType:"Equipment type",name:"Recipe name",code:"Recipe code",activationState:"Active Status",enabled:"Status",remark:"Remarks",description:"Recipe description",addDialogTitle:"Add Device Recipe",editDialogTitle:"Edit Device Recipe",placeholdername:"Please input Recipe name",placeholderdevice:"Please select Device",placeholdercode:"Please input Recipe code",placeholderdescription:"Please input Recipe description",placeholderremark:"Please input Remarks"},recipeDetail:{title:"Device Type Recipe Param Detail",paramCode:"Param code",paramName:"Param name",type:"Param type",minValue:"Min value",maxValue:"Max value",defaultValue:"Default value",unit:"Unit",remark:"Remarks",recipeParam:"Recipe param",paramValue:"Param value",placeholderrecipeParam:"Please select Recipe param",placeholderparamValue:"Please input Param value",placeholderremark:"Please input Remarks",addDialogTitle:"Add Recipe param",editDialogTitle:"Edit Recipe param"},statusSetting:{searchPlaceholder:"Device name",searchPlaceholder2:"Device status",code:"Device code",name:"Device name",status:"E10 Status",color:"Color",description:"Device Description",dialogTitle:"Edit device status",devicestatus:"E10 Status",placeholderdevicestatus:"Please select E10 status",communication:"Communication",controlStatus:"Control Status",controlStatusLocal:"Local",controlStatusOnline:"Online",communicationOff:"Disconnect",communicationOn:"Connected",placeholdercontrolStatus:"Please select control Status"},repair:{searchPlaceholder:"Device name",startDate:"Start Date",endDate:"End Date",repairOrderNumber:"Order number",maintenanceStartTime:"Repair start time",maintenanceFinishTime:"Repair end time",maintenanceStatus:"Maintenance status",maintenanceStatusNo:"Incomplete",maintenanceStatusYes:"Complete",equipmentName:"Equipment name",maintenanceWorker:"Maintenance worker",workerContactInformation:"Contact information",remark:"Remarks",equipmentId:"Equipment name",equipmentPosition:"Equipment position",timeOfFailure:"Time of failure",faultLevel:"Fault Level",timerange:"Repair time range",repairMode:"Repair Type",faultDetail:"Fault Detail",maintenanceDetail:"Repair Log",annex:"Annex",repairTools:"Repair Tools",placeholderrepairTools:"Please input repair tools",placeholderrepairOrderNumber:"Please input maintenance order number",placeholderequipmentId:"Please select equipment",placeholdermaintenanceWorker:"Please select worker",placeholdermaintenanceStatus:"Please select repiar method",placeholderequipmentPosition:"Please input equipment position",placeholderworkerContactInformation:"Please input contract information",placeholdertimeOfFailure:"Please select time of fault",placeholderfaultLevel:"Please select fault level",placeholderrepairMode:"Please select repair type",placeholderfaultDetail:"Please input detail of fault",placeholdermaintenanceDetail:"Please input detail of repair",placeholderremark:"Please input remarks"},monitoring:{searchPlaceholder:"Device ID or name",code:"device ID",name:"Equipment name",status:"Device status",startTime:"Start Time",totalCount:"Number of processed substrates",repairTime:"Last repair time"},maintainplan:{searchPlaceholder:"Please select status",startTime:"Start Time",endTime:"End Time",maintenanceOrderNumber:"Maintenance Plan Order",maintainStartTime:"Maintain Start Time",maintainEndTime:"Maintain End Time",lastMaintainStartTime:"Last Start Time",lastMaintainEndTime:"Last End Time",lastMaintainTime:"Last Time",nextMaintainTime:"Next Time",equipmentCode:"Device ID",maintenancePeriodId:"Period(Year)",remark:"Remarks",EquipmentGrouping:"Equipment Grouping",addDialogTitle:"Add Maintenance Plan",editDialogTitle:"Edit Maintenance Plan",equipmentId:"Equipment Name",status:"Status",annex:"Annex",maintainWorkerId:"Maintenance personnel",lastMaintainWorkerId:"Last maintenance personnel",maintainType:"maintain type",erpIdentification:"ERP",maintainDuration:"maintainDuration(hour)",maintainFuncDesc:"Maintenance Function Description",placeholderlastMaintainTime:"Please select last time",placeholdernextMaintainTime:"Please select next time",placeholdermaintenanceOrderNumber:"Please input Maintenance Plan Order",placeholdermaintainDuration:"Please maintain Duration",placeholdererpIdentification:"please ERP",placeholdermaintainStartTime:"Please select start time",placeholdermaintainEndTime:"Please select end time",placeholdermaintenancePeriodId:"Please select maintenance period",placeholderremark:"Please input remarks",placeholderstatus:"Please select status",placeholdermaintainWorkerId:"Please select Maintenance personnel",placeholdermaintainType:"Please select Maintenance Type",placeholdermaintainFuncDesc:"please Maintenance Function Description",placeholderEquipmentGrouping:"Please Equipment Grouping",placeholderequipmentId:"Please select Equipment"},maintainlog:{startTime:"Start Time",endTime:"End Time",maintenanceOrderNumber:"Maintenance Log No.",maintainStartTime:"Start Time",maintainNextTime:"Next maintain time",maintainEndTime:"End Time",maintainWorkerId:"Worker",equipmentCode:"Device code",maintainDuration:"maintainDuration(hour)",nextMaintenanceTime:"Next maintain time",remark:"Remarks",maintenanceDetail:"Maintain Detail",annex:"Annex",maintainType:"maintain type",equipmentId:"Equipment name",placeholdermaintainDuration:"Please maintain Duration",placeholdermaintainType:"Please select Maintenance Type",placeholderequipmentId:"Please select Equipment",placeholdermaintenanceOrderNumber:"Please input Maintenance Order Number",placeholdermaintainStartTime:"Please select start time",placeholdermaintainNextTime:"Please select next maintain time",placeholdermaintainEndTime:"Please select end time",placeholdermaintainWorkerId:"Please select Worker",placeholdermaintenanceDetail:"Please input Maintain detail",placeholderremark:"Please input Remarks",placeholderactualEndTime:"Please select Start Time",placeholderactualStartTime:"Please select End Time",equipment:"EquiPment",isplan:"Is Have Maintain Plan",planAll:"All",planNo:"No Plan",planYes:"Have Plan",maintainlogTime:"Maintain Log Date"},baseinfo:{searchPlaceholder:"Device code or name",code:"Equipment type code",name:"Equipment type name",status:"Equipment status",remark:"remarks",deviceTypeParam:"Device Param",deviceTypeEvent:"Device Event",deviceTypeAlarm:"Device Alarm"},baseinfoparam:{searchPlaceholder:"Param name or code",paramId:"Constant/ Variate ID",paramName:"Param name",paramCode:"Param Code",format:"Param format",valueType:"Param value type",unit:"Unit",maxValue:"Max value",minValue:"Min value",defaultValue:"Default value",category:"Param category",dataWithPlc:"data with PLC",enabled:"is Enabled",type:"Collection parameter type",note:"Note",uploadSpc:"Upload SPC",isCollected:"Is collected",description:"Description",remark:"Remarks",addDialogTitle:"Add Device Param",editDialogTitle:"Edit Device Param",placeholderparamName:"Please input param name",placeholderparamId:"Please input param id",placeholderparamCode:"Please input param code",placeholderformat:"Please input format",placeholderValueType:"Please input value type",placeholdertype:"Please input var type",placeholderunit:"Please input unit",placeholderdataWithPlc:"Please input PLC",M:"Material Related Value",V:"Process Actual Value",P:"Process Set Point",R:"Recipe Parameter",C:"Consumable Value",I:"Interface Related"},baseinfoevent:{searchPlaceholder:"Event name or code",eventId:"Event ID",eventCode:"Event code",eventName:"Event name",enabled:"Enabled",category:"Category",description:"Description",remark:"Remarks",addDialogTitle:"Add Device Param",editDialogTitle:"Edit Device Param",placeholdereventId:"Please input Event ID",placeholdereventName:"Please input Event name",placeholdereventCode:"Please input Event code",placeholdercategory:"Please input category"},baseinfoalarm:{searchPlaceholder:"Alarm name or code",alarmId:"Alarm ID",alarmName:"Alarm name",alarmCode:"Alarm code",category:"Category",description:"Description",enabled:"Enabled",remark:"Remarks",addDialogTitle:"Add Device Alarm",editDialogTitle:"Edit Device Alarm",placeholderalarmId:"Please input alarm ID",placeholderalarmName:"Please input alarm name",placeholderalarmCode:"Please input alarm code",placeholdercategory:"Please input alarm type"},eqManagerManage:{equipmentName:"Equipment Name",equipmentCode:"Equipment Code",description:"Description",worker:"Operator",remark:"Remark",role:"Operator Role",roleName:"roleName"},equipmentParams:{startAndEndTime:"Start And End Time",startTime:"Start Time",endTime:"End Time",createTime:"Create Time",substrateId:"Substrate Code",choiceParam:"Choice Params"},ProcessData:{productInfo:"Product Info",productName:"Product Name",processName:"Process Name",processCode:"Process Code",processVersion:"Process Version",specifications:"Specifications",equipmentName:"Equipment Name",qualifiedRate:"Qualified Rate",analysis:"Analysis",contrast:"Contrast",comparisonOfInfluencingFactors:"Comparison of influencing factors",top:"Top",bottom:"Bottom",bottomHigh:"Bottom Grid Height",speed:"Transmission Speed",highPressureFan:"High Pressure Fan",lowPressureFan:"Low Pressure Fan",current:"Current",selfChecking:"Self-checking",manualChecking:"Manual-checking",powerOffPackaging:"Power Off Packaging",parameterName:"Parameter Name",parameterCode:"Parameter Code",nowValue:"Now Value",standardValue:"Standard Value"},other:{}},y={order:{keyword:"Key Word",NameOrCode:"Name Or Code",StartTime:"Start Time",EndTime:"End Time",To:"To",ActualStartTime:"Actual Start Time",createTime:"Create Time",WorkOrderName:"Work Order Name",WorkOrderCode:"Work Order Code",WorkOrderType:"Work Order Type",WorkOrderStartTime:"Work Order Start Time",OrderName:"Order Name",OrderCode:"Order Code",OrderType:"Order Type",CompletionTime:"Completion Time",IssueOrderTime:"Issue Order Time",PlanningStartTime:"Planning Start Time",PlanningEndTime:"Planning End Time",DeliveryTime:"Delivery Time",priority:"Priority",WorkOrderInitiation:"Work Order Initiation",initiateTime:"Initiate Time",source:"Source",status:"Status",unit:"Unit",PlannedProcessingVolume:"Target Quantity",ActualTargetQuantity:"Actual Target Quantity",ActualFinishedProduct:"Actual Finished Product",NumberOfDamages:"Number Of Damages",workOrderDetail:"work Order Detail",Description:"Description",Remarks:"Remarks",ProductProcess:"Technological Process",powerClass:"Power Class",ProductName:"Product Name",ProductType:"Product Type",destination:"Destination",reason:"Reason",UseQuantityPlate:"Use Quantity Substrate",DamageQuantityPlate:"Damage Quantity Substrate",EquipmentName:"Equipment Name",PowerConsumption:"Power Consumption",WorkOrderProgress:"Work order progress",energyConsumption:"energy consumption of equipment:",energyConsumptionChart:"power consumption diagram of equipment",energyConsumptionTable:"electricity consumption table of equipment",workOrderVerificationResult:"work Order Verification Result",deviceDetection:"Device Detection",process:"Process",useMaterial:"Use Material",basePlate:"Base Substrate",basePlateCode:"Substrate Code",basePlateId:"Substrate Id",team:"Team",customer:"Customer",detail:"Detail",workOrderInfo:"work Order Info",OrderReportInfo:"Order Report Info",executionTime:"Start Time",completQuantity:"Complet Quantity",initiateWorkOrder:"Initiate Work Order",finishTime:"Finish Time",reportingTime:"Reporting Time",workReportMethod:"Work Report Method",goodQuantity:"Good Quantity",scrapQuantity:"Scrap Quantity",scrapId:"Scrap Id",scrapLevel:"Scrap Level",packageNumber:"Package Number",SAPMaterial:"SAP Material",power:"Power",fileName:"File Name",path:"Path",processCode:"Process Code",deviceInfo:"Device Info",loadingTime:"Loading Time",unLoadingTime:"UnLoading Time",materialBom:"Bom",materialBomMessage:"This work order is not bound with BOM",activation:"Activation",warnMessage:"Issued order cannot be deleted"},track:{event:"Event",parameterName:"Parameter Name",parameterValue:"Parameter Value",occurTime:"Occur Time",ProcessTime:"Process Time"},packingTags:{moduleId:"Module Id",UnloadingTime:"Unloading Time",UnloadingEquipment:"Unloading Equipment",moduleQuantity:"Module Quantity",PrintingTime:"Printing Time",plateType:"Substrate Type",plateGrade:"Substrate Grade",name:"Name",opration:"Opration",code:"Code",startTime:"Start Time",completeTime:"Complete Time",power:"Power",grade:"Grade",oneDimensionalCode:"Bar Code"},substrateBatch:{batchCode:"Batch Code",batchName:"Batch Name",propertyName:"Property Name",propertyValue:"Property Value"},VerifyTable:{EquipmentCode:"Equipment Code",equipmentAbbreviation:"Equipment Abbreviation",EquipmentFormula:"Equipment Formula",ProcessFormulaRequir:"Process Formula Requir",IsSame:"IsSame",materielName:"Materiel Name",materielCode:"Materiel Code",Spec:"Spec",teamName:"Team Name",teamLeader:"Team Leader",number:"Number",professional:"Professional",workingHours:"Working Hours"},orderDetail:{issueTime:"Work Order Generation Time",completionSchedule:"Completion Schedule",issuedQuantity:"Issued Quantity",remainingPlannedQuantity:"Remaining Planned Quantity"},workOrderDetail:{workOrderSource:"Work Order Source",processingTechnology:"Processing Technology"},powerClassification:{parentClass:"Parent Class",typeName:"Type Name",typeCode:"Type Code",Remarks:"Remarks"},erpToMes:{erpToMesMaterial:"Erp To Mes Material",erpToMesMaterialBom:"Erp To Mes Material Bom",erpToMesOrder:"Erp To Mes Order",batchNumber:"Batch Number",materialsCode:"Materials Code",materialsName:"Materials Name",quantity:"Quantity",unit:"Unit",bomContent:"BOM Content",craftCode:"Craft Code",craftName:"Craft Name",materialsBomCode:"Materials Bom Code",materialsBomName:"Materials Bom Name",substrateBatch:"Substrate Batch",customerCode:"\tCustomer Code",customerName:"Customer Name",orderCode:"Order Code",orderName:"Order Name",packagingBoxId:"Packaging Box Id",reportTime:"Report Time",mfoCode:"mfo Code"},consumption:{key:"Key",workOrderId:"Work Order Id",workOrderStatus:"Work Order Status",power:"Power",equipmentName:"Equipment Name"}},C={artName:"Process Name",status:"Status",createTime:"Create Time",artCode:"Process Code",remark:"Remark",process:"Process Step",processName:"Process Name",eqName:"Equipment Name",recipeName:"Recipe Name",materialBOM:"Material BOM",artType:"Process Type",description:"Description",or:" or ",on:"on",off:"off",operation:"Operation",IsDisabled:"Is Enabled",key:"Key",input:"Please Input",confirm:"Confirm",cancel:"Cancel",delTip:"Are you sure you want to delete the process?",tip:"Tip",delSucc:"Delete Success!",externalCode:"Process Code",substrateType:"Substrate Type",artBOM:"Process BOM",notNull:" cannot be empty",selectNotNull:"Please select at least one ",lengthRule:"The length should more than 3 characters",nodeNull:"Process Step Node is empty, are you sure to save?",hasNull:"Equipment and ripice cannot be null or there is no equipment added in a process step please check!",choiceEqError:"Please select equipment first!",changeTipHeaderDes:"Is this description applied to all equipment in ",changeTipHeaderRemark:"Is this remark applied to all equipment in ",NotSameProcess:"Can not choice same process step!",changeTipFooter:" process step",sameEqError:"Can not choice same equipment!",processList:{processName:"Process Step Name",processCode:"process Code",processEq:"Process Step Equipment",description:"Description",addProcess:"Add a Process Step",type:"Type",equipment:"Equipment",buffer:"Buffer"}},k={refluelling:{index:"No",materialDateCode:"Batch number",materialDateName:"Batch name",replaceTime:"Refueling time",type:"Refueling Type",materialCode:"Material code",materialName:"Material name",source:"Data Sources",equipmentName:"Equipment name",operator:"Operator",remark:"Reason",operation:"Operation",placeholderSearch:"Batch/Material Code/Name",placeholderbatchnumber:"Batch number cannot be empty",placeholderoperator:"Operator cannot be empty",placeholdertime:"Refuelling time cannot be empty ",placeholderEquipment:"Equipment cannot be empty",loading:"Loading",unloading:"Unloading"},materialbom:{index:"No",bomcode:"Bom coding",name:"Bom",createTime:"creation time",remark:"Remarks",operation:"Operation",placeholderbomName:"Bom name cannot be empty",placeholderbomcode:"Bom coding cannot be empty",subtitle:"BOM detail",code:"Material Code",detailname:"Material Name",quantity:"Quantity",unit:"Material Unit",addDialogTitle:"Add Bom list",editDialogTitle:"Edit Bom list",placeholderunit:"Unit cannot be empty"},materialbatch:{placeholderkeywords:"Batch name/code/Material name",index:"No",createTime:"creation time",externalCode:"Batch number",name:"Batch name",materialCode:"Material coding",materialName:"Material name",remark:"Remarks",operation:"Operation",placeholderbatchnumber:"Batch number cannot be empty",placeholderbatchname:"Batch name cannot be empty"},report:{placeholderkeywords:"please substrate code ",Keyword:"Substrate code",eqName:"Equipment name",code:"Substrate code"},currentConsume:{index:"No",eqName:"Equipment name",materialName:"Material name",materialCode:"Material code",materialBatch:"Material batch code",beginTime:"Material start time",materialNowCon:"Current material consumption",MaterialConThr:"Material consumption threshold",remark:"Remark"},historyConsume:{index:"No",eqName:"Equipment name",materialName:"Material name",materialCode:"Material code",materialBatch:"Material batch code",beginTime:"Material start time",endTime:"Material end time",materialNowCon:"Total material consumption",MaterialConThr:"Material consumption threshold",remark:"Remark"}},S={plan:{searchPlaceholder:"Detection plan name",searchPlaceholderArea:"Area",placeholderStartTime:"Start Time",placeholderEndTime:"End time",testPlaneCode:"Detection Plan Code",testPlaneName:"Detection Plan Name",testPlaneContent:"Detection Content",areaName:"Area name",areaCode:"Area code",detectionRateDicId:"Detection Rate",isIssued:"Is issued",issuedTime:"Issued time",operatorId:"Operator",remark:"Remarks",addDialogTitle:"Add Plan",editDialogTitle:"Edit Plan",sendDialogTitle:"Send Plan",notEmpty:"Value connot be empty",sendPlanHint:"Send the Detection plan?",distributionAreaName:"Distribution Destination"},planDetail:{title:"Detection plan param detail",name:"Param name",references:"Reference Value",remark:"Remarks",updatedTime:"Update Time",notEmpty:"Value connot be empty",equipmentName:"Equipment Name",testFrequency:"Test Frequency",testSystem:"Test System",description:"Description"},planSend:{},offlineDetec:{EquipmentName:"Equipment Name",EquipmentCode:"Equipment Code",DetectionArea:"Detection Area",EquipmentFunction:"Equipment Function",DetecParamCode:"DetecParam Code",maxValue:"max Value",minValue:"min Value",avgValue:"avg Value",unit:"unit",uploadSpc:"upload Spc",SubstrateId:"Substrate Id",DetecTime:"Detec Time",DetecParam:"Detec Param",DetecValue:"Detec Value",DetecStaff:"Detec Staff",getEquipmetId:"Please select the device!"},spc:{error:"SPC system did not exit correctly, please go to SPC system page manually to exit",tip:"SPC system opened on new tab"},ScrapInfo:{PlateId:"Substrate Id",TimePeriod:"Time Period",StartTime:"Start Time",EndTime:"End Time",To:"To",source:"Source",wasteGrade:"Waste Grade",RegisterPerson:"Register Person",updateTime:"Update Time",cause:"Cause",causeCode:"Cause Code",WasteName:"Waste Name",WasteCode:"Waste Code",remark:"Remarks",scrapType:"Scrap Type",scrapTypeCode:"Scrap Type Code",name:"equipment name",entryType:"Manual/Automatic",automatic:"Automatic",manual:"Manual",workOrderId:"workOrderId",count:"Count",title:"Scarp Category",subTitle:"Scrap Category Statistics",completeWaste:"Complete Waste",CanBeUsedAfterProcessing:"Can be used after processing"},QCPplan:{QCPcode:"QCP Code",getTime:"Get Time",detail:"Detail"}},B={abnormalAlarm:{exceptionAlarm:"Exception Alarm",alarmTime:"Alarm Time",alarmType:"Alarm Type",name:"Alarm Nmae",alarmLevel:"Alarm Level",alarmReason:"Alarm Content",messagePushMode:"Message Push Mode",team:"Executive Team",isDeal:"Is Handled",detail:"Detail",deal:"Handle",alarmHandling:"Alarm Handle",alarmSource:"Alarm Source",alarmCode:"Alarm Code",alarmContent:"Alarm Content",status:"Status",handler:"Handler",description:"Description",annex:"Annex",timeQuantum:"Date Quantum",processingComplete:"Processing Complete",inHand:"In Hand",waitingProcess:"Waiting Process",all:"All",warn:"Warn",alarm:"Alarm",breakdown:"Breakdown",email:"email",wechat:"wechat",equipmentName:"Equipment Name",alarmStatus:"Alarm Status",alarmInfo:"Alarm Info",alarmStartTime:"Alarm Start Time",alarmEndTime:"Alarm End Time",EquipmentAlarmProcessing:"Equipment Alarm Processing"},visual:{showLocation:"Show Location Info",location:"Location",box:"Box",visualSub:"Substrate In Process:",locationSub:"Stock Substrate:"}},x={formSort:{name:"Form Sorts Name",addDialogTitle:"Add Form Sort",editDialogTitle:"Edit Form Sort"}},P={reportList:{reportName:"Report name",reportSort:"Report Sort",createTime:"Create Date",operation:"Operation",storageBoxNumber:"StorageBox Number",queryFiltering:"Query Filtering",storageBoxReport:"StorageBoxReport"},inventory:{code:"Code",status:"Status",inprocessCode:"Inprocess Code",nextprocessCode:"Next Process Code",currentLocation:"Current Location",storeTime:"Store Time",orderName:"Order Name",substrateDetails:"Substrate Details",viewSubstrates:"View Substrates",manual:"Manual",downl:"Download"},substrate:{substrateCode:"SubstrateCode",location:"Location",storeTime:"Store Time",substrateStatus:"Substrate Status",editSubstrate:"Edit Substrate",interCode:"Inter Code",subStorageStatus:"Sub Storage Status",load:"Load",unload:"Unload",machineHandID:"Machine Hand ID"},reportSort:{all:"All"}},z={first:"First Row",second:"Second Row",title:"WMS Inventory Information",pageHeader:"No.",pageFooter:" Page",isEmpty:"Is Empty",status:"Status",storageBoxCode:"Cassette Code",name:"Location Name",attribute:"Location Attribute",cassetteStatus:"Cassette Status",workOrderNo:"Work Order Number"},I={basicData:M,packingManage:T,teamManager:E,equipmentManager:D,orderManage:y,art:C,materialManager:k,quality:S,factory:B,formManage:x,report:P,dashboard:z},N={route:{dashboard:"Dashboard",documentation:"Documentation",guide:"Guide",permission:"Permission",pagePermission:"Page Permission",rolePermission:"Role Permission",directivePermission:"Directive Permission",icons:"Icons",components:"Components",tinymce:"Tinymce",markdown:"Markdown",jsonEditor:"JSON Editor",dndList:"Dnd List",splitPane:"SplitPane",avatarUpload:"Avatar Upload",dropzone:"Dropzone",sticky:"Sticky",countTo:"Count To",componentMixin:"Mixin",backToTop:"Back To Top",dragDialog:"Drag Dialog",dragSelect:"Drag Select",dragKanban:"Drag Kanban",charts:"Charts",keyboardChart:"Keyboard Chart",lineChart:"Line Chart",mixChart:"Mix Chart",example:"Example",nested:"Nested Routes",menu1:"Menu 1","menu1-1":"Menu 1-1","menu1-2":"Menu 1-2","menu1-2-1":"Menu 1-2-1","menu1-2-2":"Menu 1-2-2","menu1-3":"Menu 1-3",menu2:"Menu 2",Table:"Table",dynamicTable:"Dynamic Table",dragTable:"Drag Table",inlineEditTable:"Inline Edit",complexTable:"Complex Table",tab:"Tab",form:"Form",createArticle:"Create Article",editArticle:"Edit Article",articleList:"Article List",errorPages:"Error Pages",page401:"401",page404:"404",errorLog:"Error Log",excel:"Excel",exportExcel:"Export Excel",selectExcel:"Export Selected",mergeHeader:"Merge Header",uploadExcel:"Upload Excel",zip:"Zip",pdf:"PDF",exportZip:"Export Zip",theme:"Theme",clipboardDemo:"Clipboard",i18n:"I18n",externalLink:"External Link",profile:"Profile"},navbar:{dashboard:"Dashboard",github:"Github",logOut:"Log Out",profile:"Profile",theme:"Theme",size:"Global Size"},login:{title:"Login Form",logIn:"Login",username:"Username",password:"Password",any:"any",thirdparty:"Or connect with",thirdpartyTips:"Can not be simulated on local, so please combine you own business simulation! ! !"},documentation:{documentation:"Documentation",github:"Github Repository"},permission:{addRole:"New Role",editPermission:"Edit",roles:"Your roles",switchRoles:"Switch roles",tips:"In some cases, using v-permission will have no effect. For example: Element-UI el-tab or el-table-column and other scenes that dynamically render dom. You can only do this with v-if.",delete:"Delete",confirm:"Confirm",cancel:"Cancel"},guide:{description:"The guide page is useful for some people who entered the project for the first time. You can briefly introduce the features of the project. Demo is based on ",button:"Show Guide"},components:{documentation:"Documentation",tinymceTips:"Rich text is a core feature of the management backend, but at the same time it is a place with lots of pits. In the process of selecting rich texts, I also took a lot of detours. The common rich texts on the market have been basically used, and I finally chose Tinymce. See the more detailed rich text comparison and introduction.",dropzoneTips:"Because my business has special needs, and has to upload images to qiniu, so instead of a third party, I chose encapsulate it by myself. It is very simple, you can see the detail code in @/components/Dropzone.",stickyTips:"when the page is scrolled to the preset position will be sticky on the top.",backToTopTips1:"When the page is scrolled to the specified position, the Back to Top button appears in the lower right corner",backToTopTips2:"You can customize the style of the button, show / hide, height of appearance, height of the return. If you need a text prompt, you can use element-ui el-tooltip elements externally",imageUploadTips:"Since I was using only the vue@1 version, and it is not compatible with mockjs at the moment, I modified it myself, and if you are going to use it, it is better to use official version."},table:{dynamicTips1:"Fixed header, sorted by header order",dynamicTips2:"Not fixed header, sorted by click order",dragTips1:"The default order",dragTips2:"The after dragging order",title:"Title",importance:"Imp",type:"Type",remark:"Remark",search:"Search",add:"Add",export:"Export",reviewer:"reviewer",id:"ID",date:"Date",author:"Author",readings:"Readings",status:"Status",actions:"Actions",see:"View",edit:"Edit",publish:"Publish",draft:"Draft",delete:"Delete",cancel:"Cancel",confirm:"Confirm"},example:{warning:"Creating and editing pages cannot be cached by keep-alive because keep-alive include does not currently support caching based on routes, so it is currently cached based on component name. If you want to achieve a similar caching effect, you can use a browser caching scheme such as localStorage. Or do not use keep-alive include to cache all pages directly. See details"},errorLog:{tips:"Please click the bug icon in the upper right corner",description:"Now the management system are basically the form of the spa, it enhances the user experience, but it also increases the possibility of page problems, a small negligence may lead to the entire page deadlock. Fortunately Vue provides a way to catch handling exceptions, where you can handle errors or report exceptions.",documentation:"Document introduction",timeoutTip:"Network connection timeout"},excel:{export:"Export",selectedExport:"Export Selected Items",placeholder:"Please enter the file name (default excel-list)"},zip:{export:"Export",placeholder:"Please enter the file name (default file)"},pdf:{tips:"Here we use window.print() to implement the feature of downloading PDF."},theme:{change:"Change Theme",documentation:"Theme documentation",tips:"Tips: It is different from the theme-pick on the navbar is two different skinning methods, each with different application scenarios. Refer to the documentation for details."},tagsView:{refresh:"Refresh",close:"Close",closeOthers:"Close Others",closeAll:"Close All"},settings:{title:"Page style setting",theme:"Theme Color",tagsView:"Open Tags-View",fixedHeader:"Fixed Header",sidebarLogo:"Sidebar Logo"},userManage:{userId:"User ID",userName:"User Name",email:"email",mobile:"mobile",status:"status",org:"Organization",pwd:"Password",userstartstop:"User Start and Stop",resetPwd:"Reset Password",birthday:"Birthday",orgName:"Organization",sex:"Sex",code:"Employee ID",remark:"Remark",AssignRole:"Assign Role"},orgManage:{index:"index",orgName:"Organization Name",contact:"contact",email:"email",phone:"phone",status:"status",remark:"remark",parentOrg:"Parent Organization",address:"Address"},roleManage:{roleCode:"Role Code",roleName:"Role Name",roleType:"Role Type",roleEmPower:"Role Permission Assignment",isManager:"is Manager",isPresupposition:"is Presupposition",assignRole:"Assign Role",status:"status",remark:"Role Description",rolestartstop:"Role Start and Stop"},menuManage:{menuCode:"Menu Code",menuName:"Menu Name",href:"href",icon:"icon",menuClassify:"Menu Classify",menuURL:"Menu URL",parentName:"Parent Name",checked:"checked",permission:"permission",type:"type",enName:"English Name",permissionText:"Multiple columns are separated by commas,as:user:list,user:add",name:"name",sortNumber:"Sort Number",authorizationMark:"Authorization Mark",status:"status",remark:"remark",menustartstop:"Menu Start and Stop"},choisePart:{module:"Module to be developed!"},upload:{picAlarm:"Please Upload Image!",delPic:"Confirm to delete this image?",picSizeAlarm:"The maximum limit of upload file is 10M!"},module:I,deleteTip:{header:"Make sure to[",footer:"] perform [delete] operation?",tip:"Tip",confirm:"Confirm",cancel:"Cancel",this:"this"},deleteMsgBox:{hint:"Please Confirm",content:"This method will delete the record, are you sure?",doneMsg:"Deletion success!"},baseTip:{OperationSucc:"Operation Successful!"},btn:{confirm:"Confirm",cancel:"Cancel"},datePickerOption:{lastWeek:"Last Week",lastMonth:"Last Month",lastThreeMonths:"Last Three Months"},baseDict:{enableState:{no:"Disable",yes:"Enable"},yesOrNo:{no:"No",yes:"Yes"},bool2String:{yes:"Yes",no:"No"},doneStatus:{no:"Imcomplete",yes:"Complete"},sex:{man:"Man",woman:"Woman"}},basicDataFilter:{sex:{all:"All",man:"Man",woman:"Woman"},onDuty:{no:"No",yes:"Yse"},orderStatus:{add:"Add",start:"Start",stop:"Stop",issued:"Issued",complete:"Complete"},workOrderStatus:{notactive:"Not Active",waiting:"Waiting",active:"Active",stop:"Stop",complete:"Complete"},priority:{low:"Low",normal:"Normal",high:"High"},workStatus:{fail:"Fail",success:"Success"},menuType:{catalogue:"Catalogue",menu:"Menu",button:"Button"},enableState:{disable:"Disable",enable:"Enable"},storage:{normal:"Normal",repairing:"Repairing",scrap:"Scrap"}}},R={visual:{addNow:"请先完成当前点位添加!",choiseSucc:"选择成功!",choiseError:"不能选择相同的设备!",unSelect:"请选择设备!",changeLine:"请先选择设备或删除未选择设备的点位!",areaName:"区域名",annex:"附件",locationInformation:"位置点信息",runningTrack:"运行轨迹",tip:"点击下方图片选点,选点后在弹出框内选择设备,新增点位时未选择设备无法进行下一个选点,若想调整点位顺序可拖动图片下方的标签到你想调整的位置,点击确定提交点位信息,点击重置将点位信息重置到打开弹出框时的状态",routeTip:",选择框内选择路线可对当前区域不同路线进行编辑,点击新增路线填写信息可对当前区域新增一条运行轨迹",help:"帮助",baseRouteName:"默认轨迹名称",oneLineTip:"至少要有一条运行轨迹!",editLineName:"运行轨迹名",oneLineNameTip:"你不能输入重复的轨迹名!",lineNameNotNullTip:"轨迹名不能为空!",keyword:"关键字",success:"操作成功",confirmButtonText:"确定",cancelButtonText:"取消",Tips:"提示",TipsBefore:"确定删除",TipsStorageBefore:"确定添加库位:",PleaseAddLocationFirst:"请先添加库位!",Description:"描述",Remarks:"备注",Or:"或",Yes:"是",No:"否",AttributeName:"属性名",AttributeValue:"属性值",EnglishName:"英文名称",Abbreviation:"简称",Specs:"规格",Manufacturer:"制造商",productionTime:"生产日期",enterTime:"进厂日期",debugTime:"调试日期",CurrentState:"当前状态",uploadInfo:"发布资料",unit:"单位",AttributeCode:"属性编码",stock:"库位信息",isStock:"是否存在库位",editLocation:"编辑库位点",location:"库位",locationTip:"点击下方图片选点,选点后在弹出框内选择库位,新增点位时未选择库位无法进行下一个选点,若想调整点位顺序可拖动图片下方的标签到你想调整的位置,点击确定提交点位信息,点击重置将点位信息重置到打开弹出框时的状态",locationInfo:"库位点信息",storageCode:"存储箱号",storageBoxFid:"存储箱名FID编码"},factory:{placeholderName:"名称或编码",createTime:"添加时间",FactoryName:"工厂名称",FactoryCode:"工厂编码",Address:"地址"},productLine:{placeholderName:"产线名称",ProductionLineCode:"产线编码"},workSection:{SectionName:"工段名称",WorkSectionCoding:"工段编码"},group:{TeamName:"班组名称",NumberOfTeams:"班组人数",GroupLeader:"组长",TeamStatus:"班组状态"},major:{ProfessionalName:"专业名称",ProfessionalCoding:"专业编码"},staff:{Name:"姓名",EmployeeID:"员工号",Gender:"性别",EntryTime:"入职时间",Telephone:"联系电话",Email:"邮箱",Wechat:"微信号",Profession:"专业",Workshop:"所属车间",onDuty:"是否在岗",role:"员工角色"},customer:{CustomerName:"客户名称",CustomerCode:"客户编码",ContactPerson:"联系人",Telephone:"联系电话",Address:"地址",format:"格式不正确"},supplier:{SupplierName:"供应商名称",SupplierCode:"供应商编码",ContactPerson:"联系人",Telephone:"联系电话",Address:"地址"},material:{MaterialName:"物料名称",MaterialCoding:"物料编码",MaterialType:"物料类型"},materialsType:{TypeCode:"类型编码",TypeName:"类型名称"},alarmManagement:{AlarmCode:"报警编码",AlarmType:"报警类型",AlarmLevel:"报警级别",AlarmName:"报警名称",AlarmContent:"报警内容",AlarmTypeCode:"报警类型编码",LevelCode:"级别编码"},cache:{CacheCode:"缓存区编码",CacheName:"缓存区名称",StockNumber:"库位数量",AreaNumber:"货架数量",AreaCode:"货架编码",AreaName:"货架名称",rowNum:"行数",columnNum:"列数",rowMark:"行标",columnMark:"列标",Shelf:"货架",ManageShelves:"管理货架",ShelfCode:"货架编码",ShelfName:"货架名称",ShelfNumber:"货架数量",StorageQuantity:"存储数量",Location:"库位",ManageLocation:"管理货位",LocationCode:"库位编码",LocationName:"库位名称",locationType:"库位类型",anotherName:"库位别名",place:"位置",addCacheArea:"添加货架",addLocation:"添加库位",status:"状态",warning:"行列标必须为整数!",logisticsEquipment:"物流设备",processEquipment:"工艺设备",sheCode:"货架编码",sheName:"货架名",locaNum:"库存数量",man:"男",woman:"女",locationNumber:"库位编号"},storageBox:{name:"存储箱名称",code:"存储箱编码",alias:"别名",StorageQuantity:"存储数量",status:"状态",PositionDetail:"位置详情",remark:"备注",PositionNo:"位置序号",PositionCode:"位置编码",PositionCodeAlias:"位置编码别名",scrapped:"报废",normal:"正常",repairing:"维修中"},equipment:{shortName:"名称缩写",enName:"英文名称",EquipmentName:"设备名称",EquipmentCode:"设备编码",EquipmentType:"设备类型",EquipmentGrouping:"设备分组",groupName:"分组名称",groupCode:"分组编码",FunctionDescription:"功能描述",EquipmentTypeAlarm:"设备类型报警",SetAlarm:"设置报警",DebugPeriod:"调试时间",intellectualProperty:"知识产权",rangeNumber:"范围号",E10Status:"E10状态",activiation:"是否计算稼动率",communication:"是否通讯",equipmentImg:"设备图片",equipmentInfo:"设备资料",EquipmentTypeName:"设备类型名称",EquipmentTypeCode:"设备类型编码",EquipmentTypeAlarmName:"设备报警名称",EquipmentTypeAlarmCode:"设备报警编码",parentName:"父类",RepairTypeCode:"维修类型编码",RepairTypeName:"维修类型名称",PeriodCode:"周期编码",maintenancePeriod:"保养周期",SparepartCode:"备件编码",SparepartName:"备件名称",SparepartModel:"备件型号",WiredEquipment:"连线名称",WiredCode:"编码",connectUpperDevice:"连接上端设备",connectLowerDevice:"连接下端设备",controlStatus:"控制状态",plcVersion:"PLC 版本",eapVersion:"EAP 服务版本",maintenanceCycle:"保养周期(年)",maintenanceTime:"保养持续时间(小时)"},equipmentDetectInfo:{code:"编码",equipmentDetectSystemName:"检测系统名称",equipmentDetectSystemAbbr:"检测系统缩写",DetectionArea:"检测区域",IssueArea:"下发区域",AddEquipment:"添加设备",EquipmentFunction:"设备功能",TestParameterName:"测量参数名",ReferenceValue:"参考值",IssueOrNot:"是否下发",TestFrequency:"测量频率",TestSystem:"测量系统"},ScrapInfo:{PlateId:"基板ID",TimePeriod:"时间段",StartTime:"开始日期",EndTime:"结束日期",To:"至",source:"来源",wasteGrade:"废品等级",RegisterPerson:"登记人",updateTime:"登记时间",registrationPlace:"登记地点",cause:"报废原因",causeCode:"报废原因编码",WasteName:"废品报废名称",WasteCode:"废品报废编码",remark:"备注",scrapType:"报废类型",scrapTypeCode:"报废类型编码",name:"设备名称",entryType:"手动/自动",automatic:"自动",manual:"手动",workOrderName:"工单名称"},processLocation:{sequence:"顺序",locationName:"库位名",isProcess:"库位类型",locationId:"库位ID",workSequenId:"工序ID",equipmentMark:"设备标记",portAttrId:"库位属性ID",goodsShelves:"货架",CacheLocation:"缓存区库位",ProcessLocation:"工序库位",aShelf:"a货架",bShelf:"b货架"},productPool:{productName:"产品名称",productCode:"产品编码"},dataDictionary:{list:"列表",dataDictionaryName:"字典名称",dataDictionaryCode:"字典编码"},knowledge:{time:"时间段",title:"标题",endTime:"结束时间",startTime:"开始时间",To:"至",content:"内容",annex:"附件"},StateConfig:{status:"状态",DisplayColor:"显示颜色",Twinkle:"闪烁提醒"},CodeRules:{RuleName:"规则名称",RuleCode:"规则编码",manageProperty:"管理属性",Property:"属性",PropertyCode:"属性编码",PropertyName:"属性名称",Length:"长度",order:"顺序"},EquipmentScrapGrade:{keyword:"名称",ScrapGrade:"废片等级"},Warehouse:{Code:"编码",TaskType:"任务类型",TaskStatus:"任务状态",TaskSource:"任务来源",VehicleName:"车辆名",TimeSlot:"时间段",ExecutionTime:"执行时间",BoxStatus:"箱状态",BoxNumber:"箱号",PreviousOperation:"上一个工序",ExecutionOperation:"执行工序",NextOperation:"下一个工序",CompletionTime:"完成时间",StartLocation:"开始库位",FullBoxStartLocation:"空箱开始库位",TaskLocation:"任务库位",TargetLocation:"目标库位",OrderName:"工单名",OrderType:"工单类型",OrderCode:"工单编码",IssueOrderTime:"下发工单时间",startProduceTime:"开始生产时间",TotalProcessName:"总工艺名称",Priority:"优先级",scrapQuantity:"废片数量",OrderStatus:"工单状态",triggerOrigin:"工单发起方",ProcessOrNot:"是否关联工艺",Unit:"单位",RelateProcess:"关联工艺",PlanProcessQuantity:"计划加工数量",actualProcessQuantity:"实际加工数量",SubProcessName:"分工艺",TaskBoxNumber:"任务箱号",FullBoxNumber:"空箱号",EmptyFork:"空箱货叉",TaskBoxFork:"任务箱货叉",EmptyHandlingTime:"搬运空箱时间",TaskBoxHandlingTime:"搬运任务箱时间",StorageBoxNumber:"存储箱号",CurrentLocation:"当前库位",IsEmpty:"是否有基板",IsEmptyBox:"是否空箱",LocationName:"库位名",LocationCode:"库位编码",PerformTaskManual:"手动执行任务",processStorageLink:"工序关联库位",SelectStorageType:"选择库位类型",LocationStorageSetting:"库位存储箱设置",publishTask:"发布任务",startPosition:"起点",endPosition:"终点",taskType:"任务类型",ExWarehouse:"出库",InWarehouse:"入库",Circulation:"流转",Initialization:"初始化",Damage:"损坏"}},V={PackingList:{PackingTime:"包装时间",WorkOrderNo:"工单号",SubstrateNumber:"基板数量",ModuleLevel:"模组等级",QualityGrade:"质量等级",Detail:"详情",printNumber:"打印次数",EntryTime:"进入包装箱时间"},labelTemplate:{placeholderSearch:"标签名称或编码",addTime:"添加时间",labelCode:"标签编码",labelName:"标签名称",labelType:"标签类型",labelContent:"标签内容",remark:"备注",levelLabel:"等级标签",moduleLabel:"模组标签",custom:"自定义",templateDesign:"模板设计",templatePreview:"模板预览",placeholderLength:"长度至少在3个字符以上"}},Q={Handover:{alertTitle:"[温馨提示]",alertListContent:"您确定要删除该班组交接记录吗?",alertPlanContent:"您确定要删除该班组交接计划吗?",index:"序号",TeamName:"班组名称",TeamLeader:"班组长",WorkingHours:"上班时间",OffWorkTime:"下班时间",LastTeamName:"上一班组名称",Keyword:"关键字",HandoverTme:"交接时间",HandoverStatus:"交接状态",HandoverWait:"等待中",HandoverCom:"已完成",TeamWorkStatus:"班组状态",all:"全部",working:"工作中",offduty:"已下班",CreateTime:"添加时间",PlanWorkingHours:"计划上班时间",PlannedHandoverTime:"计划交接时间",PreviousTeamLeader:"上一班组长",Remark:"备注",Detail:"详情",Placeholder:"班组名称或班组长",Operation:"操作",StartTime:"开始日期",EndTime:"结束日期",To:"至"},HandoverAdd:{SelectAll:"全选",TeamPlanFill:"班组计划填写",FillInShift:"班组交接填写",MajorSelection:"专业选择",SelectionOfTeamMembers:"班组人员选择",Placeholder:"员工名称或编码",planWorkerName:"员工姓名",planProfessionName:"专业",telephone:"手机号",workshop:"所属车间",onDuty:"状态",HandoverTeam:"交接班组",HandoverTeamLeader:"交接班组长",PlanTeam:"计划班组",PlanTeamLeader:"计划班组长"},HandoverDrawer:{title:"下班操作",TeamCommutingRecord:"班组上下班记录",OffHours:"下班时间段"},showLog:{content:"详细描述",type:"事件类型",title:"标题",teamEventLogId:"报警ID",happenTime:"发生时间",leave:"请假",absenceFromDuty:"缺勤",equipmentFailure:"设备故障"}},H={equipmentVisualization:{timeSlot:"时间段",ProcessingQuantity:"加工数量",Histogram:"柱状图",DataTable:"数据列表",Year:"年",Quarter:"季度",Month:"月",Week:"周",Electric:"电",Water:"水",Gas:"气"},monitoringInfo:{allCycles:"总循环次数",badTimes:"故障次数",time:"时间",MCBF:"MCBF",previousStatus:"转换前状态",runTime:"开机时长(时)",produceTime:"生产时长(时)",productiveCount:"实际产能",timeRate:"时间开动率",performanceRate:"性能开动率",oee:"综合效率OEE",E10StartTime:"E10开始时间",E10endTime:"E10结束时间",laterE10Status:"变化后E10状态",duration:"持续时间",goodsNumbers:"良品数量",noOkNumbers:"不良品数量",onceOkCount:"一次加工良品数量",reworkOkCount:"重工良品数量",GetTimePeriod:"获取时间段",ProductionTimePeriod:"生产时间段",MaintenanceTimes:"维护次数",RunningTime:"运行时长",E10status:"E10状态",number:"当日生产的数量",yieId:"当日良率",bom:"当日消耗物料",controlState:"控制状态",equipmentName:"设备名称",e10Code:"E10状态名称",port:"上料位置",recipe:"设备配方",materialName:"物料名称",productCount:"加工数量",spec:"物料规格",materialNo:"物料批次号",upTime:"上料时间",upCount:"上料数量",useCount:"使用数量",unit:"单位",eventName:"事件名称",paramName:"参数名称",receiveTime:"获取参数时间",paramValue:"获取参数值",standardFormat:"标准参数模式",paramFormat:"获取参数格式",controlStatus:"设备控制状态",traceDataState:"Trace Data 开启状态",controlStateUpdateTime:"控制状态更新时间",e10UpdateTime:"E10更新时间",StateFlg:"StateFlg",EnableSpooling:"EnableSpooling",maxspooltransmit:"maxspooltransmit",spoolingstate:"spoolingstate",spoolingcountactual:"spoolingcountactual",SpoolingCountTotal:"SpoolingCountTotal",F1F3Succ:"F1F3请求成功",F2F13Succ:"F2F13请求成功",baseChart:"设备加工基板数量",monitorChart:"设备运行时长"},sparepart:{sparepart:"备品备件",code:"备件编号",name:"备件名称",model:"备件型号",batchNumber:"批次号",supplier:"供应商",number:"数量",unit:"单位",entryTime:"进厂时间",receiver:"接收人",remark:"备注",externalCode:"外部编码",searchPlaceholder:"备件编码或名称",editDialogTtile:"编辑备品备件",addDialogTtile:"添加备品备件",placeholdersparepart:"请选择备件",placeholdermodel:"请输入模型",placeholderbatchNumber:"请输入批次号",placeholdersupplier:"请选择供应商",placeholdernumber:"请输入数量",placeholderunit:"请选择单位",placeholderentryTime:"请选择时间",placeholderreceiver:"请选择接收人",placeholderremark:"请输入备注",placeholderexternalCode:"请输入外部编码"},bom:{searchPlaceholder:"设备编码或名称",code:"设备物料清单编码",name:"设备物料清单名称",equipmentCode:"设备编号",equipmentName:"设备名称",enabled:"激活状态",remark:"备注",addDialogTitle:"添加设备物料",editDialogTitle:"编辑设备物料",placeholdercode:"请输入设备物料编码",placeholdername:"请输入设备物料名称",placeholderequipmentName:"请选择设备",placeholderremark:"请输入备注","":""},bomdetail:{title:"设备物料明细",materialId:"物料编码",materialName:"物料名称",unit:"单位",quantity:"数量",remark:"备注",addDialogTitle:"添加物料",editDialogTitle:"编辑物料",placeholdermaterialName:"请选择物料",placeholderunit:"请选择单位",placeholderquantity:"请输入数量",placeholderremark:"请输入备注"},recipe:{searchPlaceholder:"配方编码或名称",deviceselect:"请选择设备",equipmentId:"设备名",equipmentType:"设备类型",name:"配方名称",code:"配方编码",activationState:"激活状态",enabled:"启用状态",remark:"备注",description:"配方描述",addDialogTitle:"添加设备配方",editDialogTitle:"编辑设备配方",placeholdername:"请输入配方名称",placeholderdevice:"请选择设备",placeholdercode:"请输入配方编码",placeholderdescription:"请输入配方描述",placeholderremark:"请输入备注"},recipeDetail:{title:"设备类型配方参数明细",paramCode:"参数编码",paramName:"参数名称",type:"参数类型",minValue:"最小参数值",maxValue:"最大参数值",defaultValue:"默认参数值",unit:"单位",remark:"备注",recipeParam:"配方参数",paramValue:"参数数值",placeholderrecipeParam:"请选择配方参数",placeholderparamValue:"请输入参数数值",placeholderremark:"请输入备注",addDialogTitle:"添加配方参数",editDialogTitle:"修改配方参数"},statusSetting:{searchPlaceholder:"设备名称",searchPlaceholder2:"设备状态",code:"设备编号",name:"设备名称",status:"E10状态",color:"显示颜色",description:"设备描述",dialogTitle:"修改设备状态",devicestatus:"设备状态",placeholderdevicestatus:"请选择设备状态",communication:"通讯状态",controlStatus:"控制状态",controlStatusLocal:"本地",controlStatusOnline:"在线",communicationOff:"未连接",communicationOn:"已连接",placeholdercontrolStatus:"请选择控制状态"},repair:{searchPlaceholder:"设备名称",startDate:"开始日期",endDate:"结束日期",repairOrderNumber:"设备维修单号",maintenanceStartTime:"维修开始时间",maintenanceFinishTime:"维修结束时间",maintenanceStatus:"维修状态",maintenanceStatusNo:"未完成",maintenanceStatusYes:"已完成",equipmentName:"设备名称",maintenanceWorker:"维修工",workerContactInformation:"联系方式",remark:"备注",equipmentId:"设备名称",equipmentPosition:"设备位置",timeOfFailure:"故障发生时间",faultLevel:"故障级别",timerange:"维修起止时间",repairMode:"维修类型",faultDetail:"故障明细",maintenanceDetail:"维修记录",annex:"维修附件",repairTools:"维修工具",placeholderrepairTools:"请输入维修工具",placeholderrepairOrderNumber:"请输入维修单号",placeholderequipmentId:"请选择设备",placeholdermaintenanceWorker:"请选择维修工",placeholdermaintenanceStatus:"请选择维修状态",placeholderequipmentPosition:"请输入设备位置",placeholderworkerContactInformation:"请输入联系方式",placeholdertimeOfFailure:"请选择故障发生时间",placeholderfaultLevel:"请选择故障等级",placeholderrepairMode:"请选择维修类型",placeholderfaultDetail:"请输入故障明细",placeholdermaintenanceDetail:"请输入维修记录",placeholderremark:"请输入备注"},monitoring:{searchPlaceholder:"设备编码或名称",code:"设备编号",name:"设备名称",status:"设备状态",startTime:"启动时间",totalCount:"加工基板数量",repairTime:"上次维修时间"},maintainplan:{searchPlaceholder:"请选择状态",startTime:"开始时间",endTime:"结束时间",maintenanceOrderNumber:"保养计划单号",maintainStartTime:"计划开始时间",maintainEndTime:"计划结束时间",lastMaintainStartTime:"上一次开始时间",lastMaintainEndTime:"上一次结束时间",equipmentCode:"设备编码",maintenancePeriodId:"保养周期(年)",remark:"备注",addDialogTitle:"新增保养计划",editDialogTitle:"编辑保养计划",equipmentId:"设备名称",status:"状态",annex:"附件",erpIdentification:"ERP",maintainFuncDesc:"保养功能描述",EquipmentGrouping:"设备分组",maintainDuration:"保养时长(时)",lastMaintainTime:"上一次保养时间",nextMaintainTime:"下一次保养时间",maintainWorkerId:"保养人员",lastMaintainWorkerId:"上一次计划保养人员",maintainType:"保养类型",placeholdermaintainDuration:"请输入保养时长",placeholdermaintenanceOrderNumber:"请填写保养计划单号",placeholdermaintainStartTime:"请填写计划开始时间",placeholdermaintainEndTime:"请填写计划结束时间",placeholderequipmentCode:"请填写设备编码",placeholdermaintenancePeriodId:"请填写保养周期",placeholderremark:"请填写备注",placeholderlastMaintainTime:"请填写上一次保养时间",placeholdernextMaintainTime:"请填写下一次保养时间",placeholdererpIdentification:"请填写ERP",placeholdermaintainFuncDesc:"请填写保养功能描述",placeholdermaintainWorkerId:"请填写保养人员",placeholdermaintainType:"请填写保养类型",placeholderEquipmentGrouping:"请选择设备分组",placeholderequipmentId:"请填写设备名称",placeholderstatus:"请填写状态"},maintainlog:{startTime:"开始时间",endTime:"结束时间",maintenanceOrderNumber:"保养记录单号",maintainStartTime:"实际开始时间",maintainNextTime:"下次保养时间",maintainEndTime:"实际结束时间",maintainWorkerId:"保养人员",equipmentCode:"设备编码",nextMaintenanceTime:"下次保养时间",maintenanceDetail:"保养描述",remark:"备注",maintainDuration:"保养时长(时)",annex:"附件",maintainType:"保养类型",equipmentId:"设备名称",placeholderequipmentId:"请选择设备",placeholdermaintenanceOrderNumber:"请输入设备保养单号",placeholdermaintainDuration:"请输入保养时长",placeholdermaintainStartTime:"请选择实际开始时间",placeholdermaintainNextTime:"请选择下次保养时间",placeholdermaintainEndTime:"请选择实际结束时间",placeholdermaintainWorkerId:"请选择保养人员",placeholdermaintenanceDetail:"请输入保养描述",placeholderremark:"请输入备注",placeholderactualEndTime:"请选择实际开始时间",placeholderactualStartTime:"请选择实际结束时间",equipment:"设备",placeholdermaintainType:"请填写保养类型",isplan:"是否有保养计划",planAll:"全部",planNo:"无保养计划",planYes:"有保养计划",maintainlogTime:"保养记录时间"},baseinfo:{searchPlaceholder:"设备编号或名称",code:"设备编号",name:"设备名称",status:"设备状态",remark:"备注",deviceTypeParam:"设备参数",deviceTypeEvent:"设备事件",deviceTypeAlarm:"设备报警"},baseinfoparam:{searchPlaceholder:"参数名称或编码",paramId:"常量/变量ID",paramName:"参数名称",paramCode:"参数编码",format:"参数格式",valueType:"参数值类型",unit:"单位",maxValue:"最大值",minValue:"最小值",defaultValue:"默认值",category:"参数分类",dataWithPlc:"对应PLC",enabled:"是否有效",type:"采集参数类型",note:"注解",uploadSpc:"是否上传SPC",isCollected:"是否采集",description:"描述",remark:"备注",addDialogTitle:"添加设备参数",editDialogTitle:"编辑设备参数",placeholderparamName:"请输入参数名",placeholderparamId:"请输入参数Id",placeholderparamCode:"请输入参数编码",placeholderformat:"请输入数据类型",placeholderValueType:"请输入参数值类型",placeholdertype:"请输入变量类型",placeholderunit:"请输入单位",placeholderdataWithPlc:"请输入对应PLC",M:"材料相关值",V:"过程实际值",P:"过程设定值",R:"配方参数",C:"耗材值",I:"接口相关"},baseinfoevent:{searchPlaceholder:"事件名称或编码",eventId:"事件ID",eventCode:"事件编码",eventName:"事件名称",enabled:"是否使用",category:"类别",description:"描述",remark:"备注",addDialogTitle:"添加设备事件",editDialogTitle:"编辑设备事件",placeholdereventId:"请输入事件ID",placeholdereventName:"请输入事件名称",placeholdereventCode:"请输入事件编码",placeholdercategory:"请输入分类"},baseinfoalarm:{searchPlaceholder:"报警名称或编码",alarmId:"报警ID",alarmName:"报警名称",alarmCode:"报警编码",category:"报警类型",description:"描述",enabled:"是否使用",remark:"备注",addDialogTitle:"添加设备报警",editDialogTitle:"编辑设备报警",placeholderalarmId:"请输入报警ID",placeholderalarmName:"请输入报警名称",placeholderalarmCode:"请输入报警编码",placeholdercategory:"请输入报警类型"},eqManagerManage:{equipmentName:"设备",equipmentCode:"设备编码",description:"功能描述",worker:"操作员",remark:"备注",role:"操作员角色",roleName:"角色名称"},equipmentParams:{startAndEndTime:"起始时间",startTime:"开始时间",endTime:"结束时间",createTime:"创建时间",substrateId:"基板编码",choiceParam:"选择参数"},ProcessData:{productInfo:"产品信息",productName:"产品名称",processName:"工艺名称",processCode:"工艺编码",processVersion:"工艺版本",specifications:"规格说明",equipmentName:"设备名称",qualifiedRate:"合格率",analysis:"分析",contrast:"对比",comparisonOfInfluencingFactors:"影响因素对比",top:"上部",bottom:"下部",bottomHigh:"下部风栅高度",speed:"传输速率",highPressureFan:"高压风机",lowPressureFan:"低压风机",current:"电流",selfChecking:"自检",manualChecking:"人工检",powerOffPackaging:"下电包装",parameterName:"参数名称",parameterCode:"参数编码",nowValue:"当前值",standardValue:"标准值"},other:{}},O={order:{keyword:"关键字",NameOrCode:"名称或编码",StartTime:"开始时间",EndTime:"结束时间",To:"至",ActualStartTime:"实际开始时间",createTime:"创建时间",WorkOrderName:"工单名称",WorkOrderCode:"工单编码",WorkOrderType:"工单类型",WorkOrderStartTime:"工单开始时间",OrderName:"订单名称",OrderCode:"订单编码",OrderType:"订单类型",WorkOrderInitiation:"工单发起",status:"状态",workOrderDetail:"工单详情",CompletionTime:"工单完成时间",IssueOrderTime:"下发工单时间",PlanningStartTime:"计划开始时间",PlanningEndTime:"计划完成时间",DeliveryTime:"交付时间",priority:"优先级",initiateTime:"发起时间",source:"来源",unit:"单位",PlannedProcessingVolume:"目标数量",ActualTargetQuantity:"实际目标数量",ActualFinishedProduct:"实际成品量",NumberOfDamages:"损坏数量",Description:"描述信息",Remarks:"备注",ProductProcess:"工艺流程",powerClass:"power class",ProductName:"产品名称",ProductType:"产品类型",destination:"下发目的地",reason:"原因",UseQuantityPlate:"基板使用数量",DamageQuantityPlate:"基板损坏数量",EquipmentName:"设备名称",PowerConsumption:"电量消耗",WorkOrderProgress:"工单进度:",energyConsumption:"设备能源消耗:",energyConsumptionChart:"设备电量消耗图",energyConsumptionTable:"设备电量消耗表",workOrderVerificationResult:"工单验证结果",deviceDetection:"设备检测",process:"工艺",useMaterial:"使用物料",basePlate:"基板",basePlateCode:"基板编码",basePlateId:"基板Id",team:"班组",customer:"客户",detail:"详情",workOrderInfo:"工单信息",OrderReportInfo:"订单报工信息",executionTime:"开始时间",completQuantity:"完成数量",initiateWorkOrder:"发起工单",finishTime:"完成时间",reportingTime:"报工时间",workReportMethod:"报工方式",goodQuantity:"良品数量",scrapQuantity:"废品数量",scrapId:"废品ID",scrapLevel:"废品模组等级",packageNumber:"包装编号",SAPMaterial:"SAP物料",power:"力量",fileName:"文件名",path:"路径",processCode:"工艺编码",deviceInfo:"设备参数信息",loadingTime:"上片时间",unLoadingTime:"下片时间",materialBom:"BOM",materialBomMessage:"此工单未绑定BOM",activation:"激活",warnMessage:"已下发订单不能删除"},track:{event:"事件",parameterName:"参数名",parameterValue:"参数值",occurTime:"发生时间",ProcessTime:"加工时间"},packingTags:{moduleId:"模组ID",UnloadingTime:"下片时间",UnloadingEquipment:"下片设备",moduleQuantity:"模组数量",PrintingTime:"打印时间",plateType:"基板类型",plateGrade:"基板等级",name:"名称",opration:"操作",code:"编号",startTime:"开始时间",completeTime:"完成时间",power:"功率",grade:"等级",oneDimensionalCode:"条码"},substrateBatch:{batchCode:"批次编码",batchName:"批次名称",propertyName:"属性名",propertyValue:"属性值"},VerifyTable:{EquipmentCode:"设备编码",equipmentAbbreviation:"设备缩写",EquipmentFormula:"当前设备配方",ProcessFormulaRequir:"工艺配方要求",IsSame:"是否相同",materielName:"物料名称",materielCode:"物料编码",Spec:"规格",teamName:"班组名称",teamLeader:"组长",number:"人数",professional:"专业",workingHours:"上班时间"},orderDetail:{issueTime:"生成工单时间",completionSchedule:"完成进度",issuedQuantity:"已下发数量",remainingPlannedQuantity:"剩余计划加工量"},workOrderDetail:{workOrderSource:"工单来源",processingTechnology:"加工工艺"},powerClassification:{parentClass:"父类",typeName:"类型名称",typeCode:"类型编码",Remarks:"备注"},erpToMes:{erpToMesMaterial:"Erp To Mes物料",erpToMesMaterialBom:"Erp To Mes物料Bom",erpToMesOrder:"Erp To Mes订单",batchNumber:"批次号",materialsCode:"物料编码",materialsName:"物料名称",quantity:"数量",unit:"单位",bomContent:"BOM内容",craftCode:"工艺编码",craftName:"工艺名称",materialsBomCode:"物料bom编码",materialsBomName:"物料bom名称",substrateBatch:"基板批次",customerCode:"\t客户编码",customerName:"客户名称",orderCode:"订单编码",orderName:"订单名称",packagingBoxId:"包装箱ID",reportTime:"包工时间",mfoCode:"订单编码"},consumption:{key:"关键字",workOrderId:"工单ID",workOrderStatus:"工单状态",power:"能耗",equipmentName:"设备名称"}},W={artName:"工艺名称",status:"状态",createTime:"添加时间",artCode:"工艺编码",remark:"备注",process:"流程",processName:"工序",eqName:"设备名称",recipeName:"配方名称",materialBOM:"物料BOM",artType:"工艺类型",description:"描述",or:"或",on:"启用",off:"禁用",operation:"操作",IsDisabled:"是否启用",key:"关键字",input:"请输入",confirm:"确认",cancel:"取消",delTip:"您确定要删除该条工艺吗?",tip:"温馨提示",delSucc:"删除成功!",externalCode:"工艺编码",substrateType:"基板类型",artBOM:"工艺BOM",notNull:"不能为空",selectNotNull:"请至少选择一个",lengthRule:"长度在3个字符以上",nodeNull:"工艺节点为空,您确定要保存吗?",hasNull:"设备、配方和工艺类型不能为空或某一工序下没有添加设备,请检查!",choiceEqError:"请先选择设备!",changeTipHeaderDes:"是否将此描述信息应用于",changeTipHeaderRemark:"是否将此备注信息应用于",changeTipFooter:"工序下所有设备",NotSameProcess:"不能选择相同的工序!",sameEqError:"不能选择相同的设备!",processList:{processName:"工序名称",processCode:"工序编码",processEq:"工序设备",description:"描述",addProcess:"添加一道工序",type:"类型",equipment:"设备",buffer:"缓存区"}},F={refluelling:{index:"序号",materialDateCode:"批次号",materialDateName:"批次名称",replaceTime:"换料时间",type:"换料类型",materialCode:"物料编码",materialName:"物料名称",source:"数据来源",equipmentName:"设备名称",operator:"操作人",remark:"原因",operation:"操作",placeholderSearch:"批次号/物料编码/名称",placeholderbatchnumber:"批次号不能为空",placeholderoperator:"操作员名称不能为空",placeholdertime:"换料时间不能为空",placeholderEquipment:"设备不能为空",loading:"上料",unloading:"下料"},materialbom:{index:"序号",bomcode:"bom编码",name:"bom",createTime:"添加时间",remark:"备注",operation:"操作",placeholderbomName:"Bom名称不能为空",placeholderbomcode:"Bom编码不能为空",subtitle:"BOM明细",code:"物料编码",detailname:"物料名称",quantity:"数量",unit:"物料单位",addDialogTitle:"新增Bom清单",editDialogTitle:"编辑Bom清单",placeholderunit:"单位不能为空"},materialbatch:{placeholderkeywords:"批次名称/编码/物料名称",index:"序号",createTime:"添加时间",externalCode:"批次号",name:"批次名称",materialCode:"物料编码",materialName:"物料名称",remark:"备注",operation:"操作",placeholderbatchnumber:"批次号不能为空",placeholderbatchname:"批次名称不能为空"},report:{placeholderkeywords:"基板编码",Keyword:"基板编码",eqName:"设备名称",code:"基板编码"},currentConsume:{index:"序号",eqName:"设备名称",materialName:"物料名称",materialCode:"物料编码",materialBatch:"物料批次号",beginTime:"物料开始使用时间",materialNowCon:"物料当前消耗值",MaterialConThr:"物料消耗阈值",remark:"备注"},historyConsume:{index:"序号",eqName:"设备名称",materialName:"物料名称",materialCode:"物料编码",materialBatch:"物料批次号",beginTime:"物料开始使用时间",endTime:"物料结束使用时间",materialNowCon:"物料消耗总量",MaterialConThr:"物料消耗阈值",remark:"备注"}},G={plan:{searchPlaceholder:"检测计划名",searchPlaceholderArea:"所属区域",placeholderStartTime:"开始时间",placeholderEndTime:"结束时间",testPlaneCode:"检测计划编码",testPlaneName:"检测计划名",testPlaneContent:"检测内容",areaName:"区域名称",areaCode:"区域编码",detectionRateDicId:"检测速率",isIssued:"是否下发",issuedTime:"下发时间",operatorId:"操作员",remark:"备注",addDialogTitle:"添加检测计划",editDialogTitle:"编辑检测计划",sendDialogTitle:"下发检测计划",notEmpty:"此项不能为空",sendPlanHint:"是否下发检测计划?",distributionAreaName:"下发目的地"},planDetail:{title:"检测计划参数",name:"参数名称",references:"参考值",remark:"备注",updatedTime:"添加时间",notEmpty:"此项不能为空",equipmentName:"设备名",testFrequency:"测量频率",testSystem:"测量系统",description:"描述"},planSend:{},offlineDetec:{EquipmentName:"设备名称",EquipmentCode:"设备编码",DetectionArea:"检测区域",EquipmentFunction:"设备功能",DetecParamCode:"检测参数编码",maxValue:"最大值",minValue:"最小值",avgValue:"平均值",unit:"单位",uploadSpc:"是否上传SPC",SubstrateId:"基板ID",DetecTime:"检测时间",DetecParam:"检测参数",DetecValue:"检测数值",DetecStaff:"检测员工",getEquipmetId:"请先选择设备!"},spc:{error:"spc系统未正确退出,请手动前往spc系统页面退出",tip:"已在新标签页打开spc系统"},ScrapInfo:{PlateId:"基板ID",TimePeriod:"时间段",StartTime:"开始日期",EndTime:"结束日期",To:"至",source:"来源",wasteGrade:"废品等级",RegisterPerson:"登记人",updateTime:"登记时间",cause:"报废原因",causeCode:"报废原因编码",WasteName:"废品报废名称",WasteCode:"废品报废编码",remark:"备注",scrapType:"报废类型",scrapTypeCode:"报废类型编码",name:"设备名称",entryType:"手动/自动",automatic:"自动",manual:"手动",workOrderId:"工单名称",count:"数量",title:"废品分类",subTitle:"废品分类统计",completeWaste:"完全废品",CanBeUsedAfterProcessing:"加工可用"},QCPplan:{QCPcode:"QCP项目编码",getTime:"获取时间",detail:"详情"}},j={abnormalAlarm:{exceptionAlarm:"异常警告",alarmTime:"报警时间",name:"报警名称",alarmType:"报警类型",alarmLevel:"报警级别",alarmReason:"报警内容",messagePushMode:"消息推送方式",team:"执行班组",isDeal:"是否处理",detail:"详情",deal:"处理",alarmHandling:"警告处理",alarmSource:"报警源",alarmCode:"报警编号",alarmContent:"报警内容",status:"状态",handler:"处理人",description:"处理方式",annex:"附件",timeQuantum:"时间段",processingComplete:"处理完成",inHand:"处理中",waitingProcess:"等待处理",all:"全部",warn:"警告",alarm:"报警",breakdown:"故障",email:"邮件",wechat:"微信",equipmentName:"设备名称",alarmStatus:"报警状态",alarmInfo:"报警信息",alarmStartTime:"报警开始时间",alarmEndTime:"报警结束时间",EquipmentAlarmProcessing:"设备报警处理"},visual:{showLocation:"查看库位信息",location:"库位",box:"箱子",visualSub:"在制基板:",locationSub:"库存基板:"}},L={formSort:{name:"报表分类名",addDialogTitle:"新增报表分类",editDialogTitle:"修改报表分类"},formReport:{name:"设备名称"}},q={reportList:{reportName:"报表名称",reportSort:"报表分类",createTime:"添加时间",operation:"操作",storageBoxNumber:"存储箱号",queryFiltering:"查询过滤",storageBoxReport:"存储箱报表"},inventory:{code:"存储箱号",status:"存储箱状态",inprocessCode:"完成工序",nextprocessCode:"下一个工序",currentLocation:"当前库位",storeTime:"存放时间",orderName:"工单名",substrateDetails:"详情基板",viewSubstrates:"查看基板",manual:"使用流程",downl:"导出"},substrate:{substrateCode:"基板编码",location:"当前位置",storeTime:"入库时间",substrateStatus:"基板状态",editSubstrate:"编辑基板",interCode:"内部编码",subStorageStatus:"存取状态",load:"上片",unload:"下片",machineHandID:"机械手ID"},reportSort:{all:"全部"}},Y={first:"第一排",second:"第二排",title:"WMS库存信息",pageHeader:"第",pageFooter:"页",isEmpty:"是否为空",status:"状态",storageBoxCode:"存储箱编码",name:"库位名",attribute:"库位属性",cassetteStatus:"存储箱状态",workOrderNo:"工单号"},Z={basicData:R,packingManage:V,teamManager:Q,equipmentManager:H,orderManage:O,art:W,materialManager:F,quality:G,factory:j,formManage:L,report:q,dashboard:Y},X={route:{dashboard:"首页",documentation:"文档",guide:"引导页",permission:"权限测试页",rolePermission:"角色权限",pagePermission:"页面权限",directivePermission:"指令权限",icons:"图标",components:"组件",tinymce:"富文本编辑器",markdown:"Markdown",jsonEditor:"JSON 编辑器",dndList:"列表拖拽",splitPane:"Splitpane",avatarUpload:"头像上传",dropzone:"Dropzone",sticky:"Sticky",countTo:"Count To",componentMixin:"小组件",backToTop:"返回顶部",dragDialog:"拖拽 Dialog",dragSelect:"拖拽 Select",dragKanban:"可拖拽看板",charts:"图表",keyboardChart:"键盘图表",lineChart:"折线图",mixChart:"混合图表",example:"综合实例",nested:"路由嵌套",menu1:"菜单1","menu1-1":"菜单 1-1","menu1-2":"菜单 1-2","menu1-2-1":"菜单 1-2-1","menu1-2-2":"菜单 1-2-2","menu1-3":"菜单 1-3",menu2:"菜单 2",Table:"Table",dynamicTable:"动态 Table",dragTable:"拖拽 Table",inlineEditTable:"Table 内编辑",complexTable:"综合 Table",tab:"Tab",form:"表单",createArticle:"创建文章",editArticle:"编辑文章",articleList:"文章列表",errorPages:"错误页面",page401:"401",page404:"404",errorLog:"错误日志",excel:"Excel",exportExcel:"导出 Excel",selectExcel:"导出 已选择项",mergeHeader:"导出 多级表头",uploadExcel:"上传 Excel",zip:"Zip",pdf:"PDF",exportZip:"Export Zip",theme:"换肤",clipboardDemo:"Clipboard",i18n:"国际化",externalLink:"外链",profile:"个人中心"},navbar:{dashboard:"首页",github:"项目地址",logOut:"退出登录",profile:"个人中心",theme:"换肤",size:"布局大小"},login:{title:"系统登录",logIn:"登录",username:"账号",password:"密码",any:"随便填",thirdparty:"第三方登录",thirdpartyTips:"本地不能模拟,请结合自己业务进行模拟!!!"},documentation:{documentation:"文档",github:"Github 地址"},permission:{addRole:"新增角色",editPermission:"编辑权限",roles:"你的权限",switchRoles:"切换权限",tips:"在某些情况下,不适合使用 v-permission。例如:Element-UI 的 el-tab 或 el-table-column 以及其它动态渲染 dom 的场景。你只能通过手动设置 v-if 来实现。",delete:"删除",confirm:"确定",cancel:"取消"},guide:{description:"引导页对于一些第一次进入项目的人很有用,你可以简单介绍下项目的功能。本 Demo 是基于",button:"打开引导"},components:{documentation:"文档",tinymceTips:"富文本是管理后台一个核心的功能,但同时又是一个有很多坑的地方。在选择富文本的过程中我也走了不少的弯路,市面上常见的富文本都基本用过了,最终权衡了一下选择了Tinymce。更详细的富文本比较和介绍见",dropzoneTips:"由于我司业务有特殊需求,而且要传七牛 所以没用第三方,选择了自己封装。代码非常的简单,具体代码你可以在这里看到 @/components/Dropzone",stickyTips:"当页面滚动到预设的位置会吸附在顶部",backToTopTips1:"页面滚动到指定位置会在右下角出现返回顶部按钮",backToTopTips2:"可自定义按钮的样式、show/hide、出现的高度、返回的位置 如需文字提示,可在外部使用Element的el-tooltip元素",imageUploadTips:"由于我在使用时它只有vue@1版本,而且和mockjs不兼容,所以自己改造了一下,如果大家要使用的话,优先还是使用官方版本。"},table:{dynamicTips1:"固定表头, 按照表头顺序排序",dynamicTips2:"不固定表头, 按照点击顺序排序",dragTips1:"默认顺序",dragTips2:"拖拽后顺序",title:"标题",importance:"重要性",type:"类型",remark:"点评",search:"搜索",add:"添加",export:"导出",reviewer:"审核人",id:"序号",date:"时间",author:"作者",readings:"阅读数",status:"状态",actions:"操作",see:"查看",edit:"编辑",publish:"发布",draft:"草稿",delete:"删除",cancel:"取 消",confirm:"确 定"},example:{warning:"创建和编辑页面是不能被 keep-alive 缓存的,因为keep-alive 的 include 目前不支持根据路由来缓存,所以目前都是基于 component name 来进行缓存的。如果你想类似的实现缓存效果,可以使用 localStorage 等浏览器缓存方案。或者不要使用 keep-alive 的 include,直接缓存所有页面。详情见"},errorLog:{tips:"请点击右上角bug小图标",description:"现在的管理后台基本都是spa的形式了,它增强了用户体验,但同时也会增加页面出问题的可能性,可能一个小小的疏忽就导致整个页面的死锁。好在 Vue 官网提供了一个方法来捕获处理异常,你可以在其中进行错误处理或者异常上报。",documentation:"文档介绍",timeoutTip:"网络连接超时"},excel:{export:"导出",selectedExport:"导出已选择项",placeholder:"请输入文件名(默认excel-list)"},zip:{export:"导出",placeholder:"请输入文件名(默认file)"},pdf:{tips:"这里使用 window.print() 来实现下载pdf的功能"},theme:{change:"换肤",documentation:"换肤文档",tips:"Tips: 它区别于 navbar 上的 theme-pick, 是两种不同的换肤方法,各自有不同的应用场景,具体请参考文档。"},tagsView:{refresh:"刷新",close:"关闭",closeOthers:"关闭其它",closeAll:"关闭所有"},settings:{title:"系统布局配置",theme:"主题色",tagsView:"开启 Tags-View",fixedHeader:"固定 Header",sidebarLogo:"侧边栏 Logo"},userManage:{userId:"用户ID",userName:"用户名",email:"邮箱",mobile:"手机号",status:"状态",org:"组织",pwd:"密码",userstartstop:"用户启停",resetPwd:"重置密码",birthday:"生日",orgName:"组织",sex:"性别",code:"工号",remark:"备注",AssignRole:"分配角色"},orgManage:{index:"序号",orgName:"组织名",contact:"联系人",email:"邮箱",phone:"手机号",status:"状态",remark:"备注",parentOrg:"所属组织",address:"地址"},roleManage:{roleCode:"角色编码",roleName:"角色名称",roleType:"角色分类",roleEmPower:"角色授权",isManager:"是否为管理员",isPresupposition:"是否为预设",assignRole:"是否分配角色",status:"状态",remark:"角色描述",rolestartstop:"角色启停"},menuManage:{menuCode:"菜单编码",menuName:"菜单名称",href:"链接地址",menuClassify:"菜单分类",icon:"图标",menuURL:"菜单URL",sortNumber:"排序号",authorizationMark:"授权标识",parentName:"上级菜单",enName:"英文名",permissionText:"多个用逗号分隔,如:user:list,user:add",name:"名称",checked:"是否分配",permission:"权限",type:"类型",status:"状态",remark:"备注",menustartstop:"菜单启停"},choisePart:{module:"模块待开发!"},upload:{picAlarm:"请上传图片格式文件!",delPic:"确认删除该图片?",picSizeAlarm:"上传文件最大限制10M!"},module:Z,deleteTip:{header:"请确认对[",footer:"] 执行 [删除] 操作?",tip:"提示",confirm:"确认",cancel:"取消",this:"此条"},deleteMsgBox:{hint:"提示",content:"此操作将删除该项记录,是否继续?",doneMsg:"删除成功!"},baseTip:{OperationSucc:"操作成功!"},btn:{confirm:"确定",cancel:"取消"},datePickerOption:{lastWeek:"Last Week",lastMonth:"Last Month",lastThreeMonths:"Last Three Months"},baseDict:{enableState:{no:"停用",yes:"启用"},yesOrNo:{no:"否",yes:"是"},bool2String:{yes:"是",no:"否"},doneStatus:{no:"未完成",yes:"已完成"},sex:{man:"男",woman:"女"}},basicDataFilter:{sex:{all:"全部",man:"男",woman:"女"},onDuty:{no:"否",yes:"是"},orderStatus:{add:"新增",start:"启动",stop:"暂停",issued:"已下发",complete:"完成"},workOrderStatus:{notactive:"未激活",waiting:"等待",active:"激活",stop:"暂停",complete:"完成"},priority:{low:"低",normal:"正常",high:"高"},workStatus:{fail:"失败",success:"成功"},menuType:{catalogue:"目录",menu:"菜单",button:"按钮"},enableState:{disable:"停用",enable:"启用"},storage:{normal:"正常",repairing:"维修中",scrap:"报废"}}},U={route:{dashboard:"Panel de control",documentation:"Documentación",guide:"Guía",permission:"Permisos",rolePermission:"Permisos de rol",pagePermission:"Permisos de la página",directivePermission:"Permisos de la directiva",icons:"Iconos",components:"Componentes",tinymce:"Tinymce",markdown:"Markdown",jsonEditor:"Editor JSON",dndList:"Lista Dnd",splitPane:"Panel dividido",avatarUpload:"Subir avatar",dropzone:"Subir ficheros",sticky:"Sticky",countTo:"CountTo",componentMixin:"Mixin",backToTop:"Ir arriba",dragDialog:"Drag Dialog",dragSelect:"Drag Select",dragKanban:"Drag Kanban",charts:"Gráficos",keyboardChart:"Keyboard Chart",lineChart:"Gráfico de líneas",mixChart:"Mix Chart",example:"Ejemplo",nested:"Rutas anidadass",menu1:"Menu 1","menu1-1":"Menu 1-1","menu1-2":"Menu 1-2","menu1-2-1":"Menu 1-2-1","menu1-2-2":"Menu 1-2-2","menu1-3":"Menu 1-3",menu2:"Menu 2",Table:"Tabla",dynamicTable:"Tabla dinámica",dragTable:"Arrastrar tabla",inlineEditTable:"Editor",complexTable:"Complex Table",tab:"Pestaña",form:"Formulario",createArticle:"Crear artículo",editArticle:"Editar artículo",articleList:"Listado de artículos",errorPages:"Páginas de error",page401:"401",page404:"404",errorLog:"Registro de errores",excel:"Excel",exportExcel:"Exportar a Excel",selectExcel:"Export seleccionado",mergeHeader:"Merge Header",uploadExcel:"Subir Excel",zip:"Zip",pdf:"PDF",exportZip:"Exportar a Zip",theme:"Tema",clipboardDemo:"Clipboard",i18n:"I18n",externalLink:"Enlace externo",profile:"Profile"},navbar:{logOut:"Salir",dashboard:"Panel de control",github:"Github",theme:"Tema",size:"Tamaño global",profile:"Profile"},login:{title:"Formulario de acceso",logIn:"Acceso",username:"Usuario",password:"Contraseña",any:"nada",thirdparty:"Conectar con",thirdpartyTips:"No se puede simular en local, así que combine su propia simulación de negocios. ! !"},documentation:{documentation:"Documentación",github:"Repositorio Github"},permission:{addRole:"Nuevo rol",editPermission:"Permiso de edición",roles:"Tus permisos",switchRoles:"Cambiar permisos",tips:"In some cases it is not suitable to use v-permission, such as element Tab component or el-table-column and other asynchronous rendering dom cases which can only be achieved by manually setting the v-if.",delete:"Borrar",confirm:"Confirmar",cancel:"Cancelar"},guide:{description:"The guide page is useful for some people who entered the project for the first time. You can briefly introduce the features of the project. Demo is based on ",button:"Ver guía"},components:{documentation:"Documentación",tinymceTips:"Rich text editor is a core part of management system, but at the same time is a place with lots of problems. In the process of selecting rich texts, I also walked a lot of detours. The common rich text editors in the market are basically used, and the finally chose Tinymce. See documentation for more detailed rich text editor comparisons and introductions.",dropzoneTips:"Because my business has special needs, and has to upload images to qiniu, so instead of a third party, I chose encapsulate it by myself. It is very simple, you can see the detail code in @/components/Dropzone.",stickyTips:"when the page is scrolled to the preset position will be sticky on the top.",backToTopTips1:"When the page is scrolled to the specified position, the Back to Top button appears in the lower right corner",backToTopTips2:"You can customize the style of the button, show / hide, height of appearance, height of the return. If you need a text prompt, you can use element-ui el-tooltip elements externally",imageUploadTips:"Since I was using only the vue@1 version, and it is not compatible with mockjs at the moment, I modified it myself, and if you are going to use it, it is better to use official version."},table:{dynamicTips1:"Fixed header, sorted by header order",dynamicTips2:"Not fixed header, sorted by click order",dragTips1:"Orden por defecto",dragTips2:"The after dragging order",title:"Título",importance:"Importancia",type:"Tipo",remark:"Remark",search:"Buscar",add:"Añadir",export:"Exportar",reviewer:"reviewer",id:"ID",date:"Fecha",author:"Autor",readings:"Lector",status:"Estado",actions:"Acciones",edit:"Editar",publish:"Publicar",draft:"Draft",delete:"Eliminar",cancel:"Cancelar",confirm:"Confirmar"},example:{warning:"Creating and editing pages cannot be cached by keep-alive because keep-alive include does not currently support caching based on routes, so it is currently cached based on component name. If you want to achieve a similar caching effect, you can use a browser caching scheme such as localStorage. Or do not use keep-alive include to cache all pages directly. See details"},errorLog:{tips:"Please click the bug icon in the upper right corner",description:"Now the management system are basically the form of the spa, it enhances the user experience, but it also increases the possibility of page problems, a small negligence may lead to the entire page deadlock. Fortunately Vue provides a way to catch handling exceptions, where you can handle errors or report exceptions.",documentation:"Documento de introducción"},excel:{export:"Exportar",selectedExport:"Exportar seleccionados",placeholder:"Por favor escribe un nombre de fichero"},zip:{export:"Exportar",placeholder:"Por favor escribe un nombre de fichero"},pdf:{tips:"Here we use window.print() to implement the feature of downloading pdf."},theme:{change:"Cambiar tema",documentation:"Documentación del tema",tips:"Tips: It is different from the theme-pick on the navbar is two different skinning methods, each with different application scenarios. Refer to the documentation for details."},tagsView:{refresh:"Actualizar",close:"Cerrar",closeOthers:"Cerrar otros",closeAll:"Cerrar todos"},settings:{title:"Page style setting",theme:"Theme Color",tagsView:"Open Tags-View",fixedHeader:"Fixed Header",sidebarLogo:"Sidebar Logo"}},J={route:{dashboard:"トップ",documentation:"ドキュメント",guide:"ガイド",permission:"権限",rolePermission:"権限ロール",pagePermission:"ページ権限",directivePermission:"ディレクティブ権限",icons:"アイコン",components:"コンポーネント",tinymce:"TinyMCE",markdown:"Markdown",jsonEditor:"JSON Editor",dndList:"Drag-And-Drop",splitPane:"パネル",avatarUpload:"アバターアップロード",dropzone:"Dropzone",sticky:"Sticky",countTo:"Count To",componentMixin:"コンポーネントMixin",backToTop:"BackToTop",dragDialog:"Drag Dialog",dragSelect:"Drag Select",dragKanban:"Drag 看板",charts:"チャート",keyboardChart:"Keyboardチャート",lineChart:"Lineチャート",mixChart:"Mixチャート",example:"Example",nested:"Nested Routes",menu1:"メニュー1","menu1-1":"メニュー 1-1","menu1-2":"メニュー 1-2","menu1-2-1":"メニュー 1-2-1","menu1-2-2":"メニュー 1-2-2","menu1-3":"メニュー 1-3",menu2:"メニュー 2",Table:"Table",dynamicTable:"可変 Table",dragTable:"Drag Table",inlineEditTable:"Inline Edit Table",complexTable:"Complex Table",tab:"Tab",form:"フォーム",createArticle:"投稿作成",editArticle:"投稿編集",articleList:"投稿リスト",errorPages:"エラーページ",page401:"401",page404:"404",errorLog:"エラーログ",excel:"Excel",exportExcel:"一括エクスポート",selectExcel:"複数選択エクスポート",mergeHeader:"ヘッダーマージ",uploadExcel:"アップロード",zip:"Zip",pdf:"PDF",exportZip:"Export Zip",theme:"テーマ変更",clipboardDemo:"Clipboard",i18n:"多言語",externalLink:"外部リンク",profile:"プロフィール"},navbar:{dashboard:"トップ",github:"GitHub",logOut:"ログアウト",profile:"プロフィール",theme:"テーマ変更",size:"画面サイズ"},login:{title:"ユーザログイン",logIn:"ログイン",username:"ユーザ名",password:"パスワード",any:"password",thirdparty:"外部IDでログイン",thirdpartyTips:"ローカル環境ではログインできません。実装が必要です。"},documentation:{documentation:"ドキュメント",github:"Github Link"},permission:{addRole:"ロール追加",editPermission:"ロール変更",roles:"ロール",switchRoles:"ロール切替",tips:"v-permissionは使えない時があります。例えば: Element-UI の el-tab、 el-table-column 及び他の dom。v-ifを使う必要があります。",delete:"削除",confirm:"確認",cancel:"キャンセル"},guide:{description:"ガイドは各機能の説明です。",button:"ガイドを見る"},components:{documentation:"ドキュメント",tinymceTips:"tinymceは管理画面に重要な機能ですが、その同時に落とし穴がありあす。tinymceを使う道のりが大変でした。Tinymceを使う時に各自のプロジェクト状況で判断が必要です。ドキュメントはこちら",dropzoneTips:"Third partyのパッケージを使わず、独自の実装しています。詳細は @/components/Dropzone",stickyTips:"ページの指定位置へスクロールした場合、表示されます。",backToTopTips1:"トップへスクロールが表示されます。",backToTopTips2:"ボタンのスタイルはカスタマイズできます。例えば、show/hide、height、position。 またはElementのel-tooltipを使って、ツールチップを実装できます。",imageUploadTips:"mockjsは使えないため、カスタマイズしています。公式の最新バージョンを使ってください。"},table:{dynamicTips1:"先頭は固定、最後に追加",dynamicTips2:"戦後に追加せず、指定列に追加",dragTips1:"デフォルト順番",dragTips2:"Drag後の順番",title:"タイトル",importance:"重要",type:"タイプ",remark:"評価",search:"検索",add:"追加",export:"エクスポート",reviewer:"レビュアー",id:"番号",date:"日時",author:"作成者",readings:"閲覧数",status:"ステータス",actions:"操作",edit:"編集",publish:"公開",draft:"下書き",delete:"キャンセル",cancel:"キャンセル",confirm:"確認"},example:{warning:"新規作成と編集画面は keep-alive を使えないです。keep-alive の include はrouteのキャッシュは使えないです。そのため、component name を使ってキャッシュさせるようにします。このようなキャッシュ機能を作りたい場合,localStorageを使う手があります。もしくは keep-alive の includeを使って、全ページキャッシュする方法はあります。"},errorLog:{tips:"右上のbugアイコンをクリックしてください。",description:"管理画面はspaを使う場合が多い、ユーザ体現向上はできますが、想定外エラーが発生する場合があります。Vueはそのエラーハンドリング機能を提供し、エラーレポートができます。",documentation:"ドキュメント"},excel:{export:"エクスポート",selectedExport:"エクスポート対象を選択してください。",placeholder:"ファイル名を入力してください。"},zip:{export:"エクスポート",placeholder:"ファイル名を入力してください。"},pdf:{tips:"window.print() を使ってPDFダウンロードしています。"},theme:{change:"テーマ切替",documentation:"ドキュメント",tips:"Tips: テーマの切り替え方法はnavbarのtheme-pickと異なります、使い方はドキュメントを確認してください。"},tagsView:{refresh:"更新",close:"閉じる",closeOthers:"その他閉じる",closeAll:"すべて閉じる"},settings:{title:"システムテーマ",theme:"テーマ色",tagsView:"Tags-View 開く",fixedHeader:"Fixed Header",sidebarLogo:"Sidebar Logo"}};t.d(n,"b",(function(){return _})),A["default"].use(l["a"]);var K={en:Object(r["a"])(Object(r["a"])({},N),p.a),zh:Object(r["a"])(Object(r["a"])({},X),g.a),es:Object(r["a"])(Object(r["a"])({},U),b.a),ja:Object(r["a"])(Object(r["a"])({},J),v.a)};function _(){var e=u.a.get("language");if(e)return e;var n,t=(navigator.language||navigator.browserLanguage).toLowerCase(),r=o()(K),i=Object(a["a"])(r);try{for(i.s();!(n=i.n()).done;){var c=n.value;if(s()(t).call(t,c)>-1)return u.a.set("language",c),c}}catch(A){i.e(A)}finally{i.f()}return u.a.set("language","en"),"en"}var $=new l["a"]({locale:_(),messages:K});n["a"]=$},"9a21":function(e,n,t){"use strict";t("a01e")},"9bbf":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"9d91":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},"9e79":function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-basicData",use:"icon-basicData-usage",viewBox:"0 0 32 38",content:' \r\n'});o.a.add(c);n["default"]=c},a01e:function(e,n,t){},a0cd6:function(e,n,t){"use strict";t("8ffd")},a14a:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},a18c:function(e,n,t){"use strict";var a,r,i,o,c,s,A,l,d,u,m,p,h,g,f,b,w,v,M,T,E,D,y,C,k,S,B,x,P,z,I,N,R,V,Q,H,O,W,F,G,j,L,q,Y,Z,X,U,J,K,_,$,ee,ne,te,ae,re,ie,oe,ce,se,Ae,le=t("2b0e"),de=t("8c4f"),ue=t("3aee"),me=t("a78e"),pe=t.n(me),he=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?t("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),e._v(" "),t("sidebar",{staticClass:"sidebar-container"}),e._v(" "),t("div",{staticClass:"main-container",class:{hasTagsView:e.needTagsView}},[t("div",{class:{"fixed-header":e.fixedHeader}},[t("navbar"),e._v(" "),e.needTagsView?t("tags-view"):e._e()],1),e._v(" "),t("app-main"),e._v(" "),e.showSettings?t("right-panel",[t("settings")],1):e._e(),e._v(" "),t("footerbar")],1)],1)},ge=[],fe=t("5530"),be=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{ref:"rightPanel",staticClass:"rightPanel-container",class:{show:e.show}},[t("div",{staticClass:"rightPanel-background"}),e._v(" "),t("div",{staticClass:"rightPanel"},[t("div",{staticClass:"handle-button",style:{bottom:e.buttonBottom+"px","background-color":e.theme},on:{click:function(n){e.show=!e.show}}},[t("i",{class:e.show?"el-icon-close":"el-icon-setting"})]),e._v(" "),t("div",{staticClass:"rightPanel-items"},[e._t("default")],2)])])},we=[],ve=(t("c5f6"),t("ed08")),Me={name:"RightPanel",props:{clickNotClose:{default:!1,type:Boolean},buttonBottom:{default:55,type:Number}},data:function(){return{show:!1}},computed:{theme:function(){return this.$store.state.settings.theme}},watch:{show:function(e){e&&!this.clickNotClose&&this.addEventClick(),e?Object(ve["a"])(document.body,"showRightPanel"):Object(ve["d"])(document.body,"showRightPanel")}},mounted:function(){this.insertToBody()},beforeDestroy:function(){var e=this.$refs.rightPanel;e.remove()},methods:{addEventClick:function(){window.addEventListener("click",this.closeSidebar)},closeSidebar:function(e){var n=e.target.closest(".rightPanel");n||(this.show=!1,window.removeEventListener("click",this.closeSidebar))},insertToBody:function(){var e=this.$refs.rightPanel,n=document.querySelector("body");n.insertBefore(e,n.firstChild)}}},Te=Me,Ee=(t("fab5"),t("9a21"),t("2877")),De=Object(Ee["a"])(Te,be,we,!1,null,"585d8e91",null),ye=De.exports,Ce=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("section",{staticClass:"app-main"},[t("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[t("keep-alive",{attrs:{include:e.cachedViews}},[t("router-view",{key:e.key})],1)],1)],1)},ke=[],Se={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},Be=Se,xe=(t("3184"),t("028b"),Object(Ee["a"])(Be,Ce,ke,!1,null,"6c48ad9e",null)),Pe=xe.exports,ze=function(){var e=this,n=e.$createElement,a=e._self._c||n;return a("div",{staticClass:"navbar"},[e.showhome?a("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}):e._e(),e._v(" "),e.showTitle?a("div",{staticStyle:{"font-size":"20px",float:"left","font-weight":"bold","padding-left":"20px",color:"#606266"}},[a("img",{staticStyle:{width:"1.6em",height:"1.6em",position:"relative",top:".4em"},attrs:{src:t("ec79"),alt:""}}),e._v("\n "+e._s(e._f("i18nFilter")("title"))+"\n ")]):e._e(),e._v(" "),a("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),e._v(" "),a("div",{staticClass:"right-menu"},[[a("lang-select",{staticClass:"right-menu-item hover-effect"})],e._v(" "),e.showhome?a("div",{staticClass:"right-menu-back"},[e._m(0)]):e._e(),e._v(" "),a("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[a("div",{staticClass:"avatar-wrapper"},[a("img",{staticClass:"user-avatar",attrs:{src:t("4c45")}})]),e._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{nativeOn:{click:function(n){return e.logout(n)}}},[a("svg-icon",{staticClass:"item-icon",attrs:{"icon-class":"logout"}}),e._v("\n "+e._s(e._f("i18nFilter")("navbar.logOut"))+"\n ")],1)],1)],1)],2)],1)},Ie=[function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("a",{attrs:{href:"Lodap.zip"}},[t("i",{staticClass:"el-icon-download"})])}],Ne=(t("96cf"),t("1da1")),Re=t("6b47"),Ve=t.n(Re),Qe=t("21e7"),He=t.n(Qe),Oe=t("bc3a"),We=t.n(Oe),Fe=t("2f62"),Ge=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[t("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(n,a){return t("el-breadcrumb-item",{key:n.path},["noRedirect"===n.redirect||a==e.levelList.length-1?t("span",[e._v(e._s(n.meta.title))]):t("span",{staticClass:"no-redirect"},[e._v(e._s(n.meta.title))])])})),1)],1)},je=[],Le=(t("7f7f"),t("a4fc")),qe=t.n(Le),Ye=t("e4f0"),Ze=t.n(Ye),Xe=t("44a4"),Ue=t.n(Xe),Je=t("bd11"),Ke=t.n(Je),_e={data:function(){return{levelList:null}},watch:{$route:function(e){var n;qe()(n=e.path).call(n,"/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e,n=Ze()(e=this.$route.matched).call(e,(function(e){return e.meta&&e.meta.title}));this.levelList=Ze()(n).call(n,(function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},isDashboard:function(e){var n=e&&e.name;return!!n&&Ue()(n).call(n).toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile:function(e){var n=this.$route.params,t=Ke.a.compile(e);return t(n)},handleLink:function(e){var n=e.redirect,t=e.path;n?this.$router.push(n):this.$router.push(this.pathCompile(t))}}},$e=_e,en=(t("755c"),Object(Ee["a"])($e,Ge,je,!1,null,"63a7680c",null)),nn=en.exports,tn=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[t("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[t("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},an=[],rn={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},on=rn,cn=(t("186a"),Object(Ee["a"])(on,tn,an,!1,null,"49e15297",null)),sn=cn.exports,An=t("1131"),ln=t("c1df"),dn=t.n(ln),un=null,mn={components:{Breadcrumb:nn,Hamburger:sn,LangSelect:An["a"]},props:{showhome:{type:Boolean,default:function(){return!0}},showTitle:{type:Boolean,default:function(){return!1}}},data:function(){return{logoutTime:18e5,alarmList:[],blurTime:null}},computed:Object(fe["a"])(Object(fe["a"])({},Object(Fe["b"])(["sidebar","avatar","username","choicepart"])),{},{formatTime:function(){return dn()(this.logoutTime-288e5).format("HH:mm:ss")}}),watch:{logoutTime:function(e){e<=0&&this.logout()}},mounted:function(){addEventListener("click",this.logoutTimeReset),addEventListener("keydown",this.logoutTimeReset),addEventListener("visibilitychange",this.visibilitychangeListener)},destroyed:function(){clearInterval(un),removeEventListener("click",this.logoutTimeReset),removeEventListener("keydown",this.logoutTimeReset),removeEventListener("visibilitychange",this.visibilitychangeListener)},methods:{winBlur:function(){this.blurTime=new Date,clearInterval(un)},winFocus:function(){var e=this;this.logoutTime-(new Date-this.blurTime).valueOf()<=0?this.logout():(this.logoutTime-=(new Date-this.blurTime).valueOf(),un=He()((function(){e.logoutTime-=1e3}),1e3))},logoutTimeReset:function(){this.logoutTime=18e5},visibilitychangeListener:function(){document.hidden?this.winBlur():this.winFocus()},toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=Object(Ne["a"])(Ve.a.mark((function e(){var n,t=this;return Ve.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("sessionStorage.getItem('loginspc')",sessionStorage.getItem("loginspc")),"login"===sessionStorage.getItem("loginspc")&&(n="/spc/upms/userinfo/logoutUser?account=".concat("ZJCadmin"),We.a.get(n).then((function(e){"OK"!==e.data.code&&t.$message.error(t.$t("module.quality.spc.error")),sessionStorage.setItem("loginspc","logout")}))),e.next=4,this.$store.dispatch("user/logout");case 4:console.log("`/login?redirect=${this.$route.fullPath}`","/login?redirect=".concat(this.$route.fullPath)),this.$router.push("/login?redirect=".concat(this.$route.fullPath)),clearInterval(un);case 7:case"end":return e.stop()}}),e,this)})));function n(){return e.apply(this,arguments)}return n}(),toHome:function(){var e=Object(Ne["a"])(Ve.a.mark((function e(){return Ve.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$store.dispatch("app/setChoicepart"),this.$router.push("/");case 2:case"end":return e.stop()}}),e,this)})));function n(){return e.apply(this,arguments)}return n}()}},pn=mn,hn=(t("b023"),Object(Ee["a"])(pn,ze,Ie,!1,null,"6b27904d",null)),gn=hn.exports,fn=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"footerbar"},[e._v("\n © "+e._s(e._f("i18nFilter")("copyright.company"))+"\n")])},bn=[],wn={components:{},computed:{},watch:{},methods:{}},vn=wn,Mn=(t("bc38"),Object(Ee["a"])(vn,fn,bn,!1,null,null,null)),Tn=Mn.exports,En=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"drawer-container"},[t("div",[t("h3",{staticClass:"drawer-title"},[e._v(e._s(e._f("i18nFilter")("settings.title")))]),e._v(" "),t("div",{staticClass:"drawer-item"},[t("span",[e._v(e._s(e._f("i18nFilter")("settings.theme")))]),e._v(" "),t("theme-picker",{staticStyle:{float:"right",height:"26px",margin:"-3px 8px 0 0"},on:{change:e.themeChange}})],1),e._v(" "),t("div",{staticClass:"drawer-item"},[t("span",[e._v(e._s(e._f("i18nFilter")("settings.tagsView")))]),e._v(" "),t("el-switch",{staticClass:"drawer-switch",model:{value:e.tagsView,callback:function(n){e.tagsView=n},expression:"tagsView"}})],1),e._v(" "),t("div",{staticClass:"drawer-item"},[t("span",[e._v(e._s(e._f("i18nFilter")("settings.fixedHeader")))]),e._v(" "),t("el-switch",{staticClass:"drawer-switch",model:{value:e.fixedHeader,callback:function(n){e.fixedHeader=n},expression:"fixedHeader"}})],1),e._v(" "),t("div",{staticClass:"drawer-item"},[t("span",[e._v(e._s(e._f("i18nFilter")("settings.sidebarLogo")))]),e._v(" "),t("el-switch",{staticClass:"drawer-switch",model:{value:e.sidebarLogo,callback:function(n){e.sidebarLogo=n},expression:"sidebarLogo"}})],1)])])},Dn=[],yn=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("el-color-picker",{staticClass:"theme-picker",attrs:{predefine:["#409EFF","#1890ff","#304156","#212121","#11a983","#13c2c2","#6959CD","#f5222d"],"popper-class":"theme-picker-dropdown"},model:{value:e.theme,callback:function(n){e.theme=n},expression:"theme"}})},Cn=[],kn=(t("6b54"),t("3b2b"),t("a481"),t("52da")),Sn=t.n(kn),Bn=t("4573"),xn=t.n(Bn),Pn=t("3818"),zn=t.n(Pn),In=t("9474"),Nn=t.n(In),Rn=t("a3e3"),Vn=t.n(Rn),Qn=(t("06db"),t("87b3"),t("f6f8").version),Hn="#409EFF",On={data:function(){return{chalk:"",theme:""}},computed:{defaultTheme:function(){return this.$store.state.settings.theme}},watch:{defaultTheme:{handler:function(e,n){this.theme=e},immediate:!0},theme:function(){var e=Object(Ne["a"])(Ve.a.mark((function e(n){var t,a,r,i,o,c,s,A,l,d=this;return Ve.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=this.chalk?this.theme:Hn,"string"===typeof n){e.next=3;break}return e.abrupt("return");case 3:if(r=this.getThemeCluster(n.replace("#","")),i=this.getThemeCluster(a.replace("#","")),console.log(r,i),o=this.$message({message:" Compiling the theme",customClass:"theme-message",type:"success",duration:0,iconClass:"el-icon-loading"}),c=function(e,n){return function(){var t=d.getThemeCluster(Hn.replace("#","")),a=d.updateStyle(d[e],t,r),i=document.getElementById(n);i||(i=document.createElement("style"),i.setAttribute("id",n),document.head.appendChild(i)),i.innerText=a}},this.chalk){e.next=12;break}return s="https://unpkg.com/element-ui@".concat(Qn,"/lib/theme-chalk/index.css"),e.next=12,this.getCSSString(s,"chalk");case 12:A=c("chalk","chalk-style"),A(),l=Ze()(t=Sn()([]).call(document.querySelectorAll("style"))).call(t,(function(e){var n=e.innerText;return new RegExp(a,"i").test(n)&&!/Chalk Variables/.test(n)})),xn()(l).call(l,(function(e){var n=e.innerText;"string"===typeof n&&(e.innerText=d.updateStyle(n,i,r))})),this.$emit("change",n),o.close();case 18:case"end":return e.stop()}}),e,this)})));function n(n){return e.apply(this,arguments)}return n}()},methods:{updateStyle:function(e,n,t){var a=e;return xn()(n).call(n,(function(e,n){a=a.replace(new RegExp(e,"ig"),t[n])})),a},getCSSString:function(e,n){var t=this;return new zn.a((function(a){var r=new XMLHttpRequest;r.onreadystatechange=function(){4===r.readyState&&200===r.status&&(t[n]=r.responseText.replace(/@font-face{[^}]+}/,""),a())},r.open("GET",e),r.send()}))},getThemeCluster:function(e){for(var n=function(e,n){var t,a,r=Nn()(Sn()(e).call(e,0,2),16),i=Nn()(Sn()(e).call(e,2,4),16),o=Nn()(Sn()(e).call(e,4,6),16);return 0===n?[r,i,o].join(","):(r+=Math.round(n*(255-r)),i+=Math.round(n*(255-i)),o+=Math.round(n*(255-o)),r=r.toString(16),i=i.toString(16),o=o.toString(16),Vn()(t=Vn()(a="#".concat(r)).call(a,i)).call(t,o))},t=function(e,n){var t,a,r=Nn()(Sn()(e).call(e,0,2),16),i=Nn()(Sn()(e).call(e,2,4),16),o=Nn()(Sn()(e).call(e,4,6),16);return r=Math.round((1-n)*r),i=Math.round((1-n)*i),o=Math.round((1-n)*o),r=r.toString(16),i=i.toString(16),o=o.toString(16),Vn()(t=Vn()(a="#".concat(r)).call(a,i)).call(t,o)},a=[e],r=0;r<=9;r++)a.push(n(e,Number((r/10).toFixed(2))));return a.push(t(e,.1)),a}}},Wn=On,Fn=(t("06c2"),Object(Ee["a"])(Wn,yn,Cn,!1,null,null,null)),Gn=Fn.exports,jn={components:{ThemePicker:Gn},data:function(){return{}},computed:{fixedHeader:{get:function(){return this.$store.state.settings.fixedHeader},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"fixedHeader",value:e})}},tagsView:{get:function(){return this.$store.state.settings.tagsView},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"tagsView",value:e})}},sidebarLogo:{get:function(){return this.$store.state.settings.sidebarLogo},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"sidebarLogo",value:e})}}},methods:{themeChange:function(e){this.$store.dispatch("settings/changeSetting",{key:"theme",value:e})}}},Ln=jn,qn=(t("1701"),Object(Ee["a"])(Ln,En,Dn,!1,null,"30c0ce06",null)),Yn=qn.exports,Zn=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{class:{"has-logo":e.showLogo}},[e.showLogo?t("logo",{attrs:{"font-size":"en"===e.language?"16px":"12px",title:e._f("i18nFilter")("title"),collapse:e.isCollapse}}):e._e(),e._v(" "),t("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[t("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":e.variables.menuBg,"text-color":e.variables.menuText,"unique-opened":!1,"active-text-color":e.variables.menuActiveText,"collapse-transition":!1,mode:"vertical"}},e._l(e.routeList,(function(e){return t("sidebar-item",{key:e.path,attrs:{item:e,"base-path":e.path}})})),1)],1)],1)},Xn=[],Un=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse}},[t("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?t("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?t("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):t("h1",{staticClass:"sidebar-title",style:{fontSize:e.fontSize}},[e._v(e._s(e.title)+" ")])]):t("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?t("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):e._e(),e._v(" "),t("h1",{staticClass:"sidebar-title",style:{fontSize:e.fontSize}},[e._v(e._s(e.title)+" ")])])],1)],1)},Jn=[],Kn={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0},title:{type:String,required:!0},fontSize:{type:String,required:!0}},data:function(){return{logo:t("ec79")}}},_n=Kn,$n=(t("0865"),Object(Ee["a"])(_n,Un,Jn,!1,null,"af4564de",null)),et=$n.exports,nt=function(){var e=this,n=e.$createElement,t=e._self._c||n;return e.item.hidden?e._e():t("div",[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?t("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[t("template",{slot:"title"},[t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.item.meta.title,placement:"right"}},[t("div",{staticClass:"tooltip-box"},[t("div",{staticClass:"menu-item-box"},[e.item.meta?t("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1)])])],1),e._v(" "),e._l(e.item.children,(function(n){return t("sidebar-item",{key:n.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:n,"base-path":e.resolvePath(n.path)}})}))],2):[e.onlyOneChild.meta?t("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.onlyOneChild.meta.title,placement:"right"}},[t("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[t("div",{staticClass:"menu-item-box"},[t("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)])],1)],1):e._e()]],2)},tt=[],at=t("df7c"),rt=t.n(at),it=t("61f7"),ot={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,n){var t=n.props,a=t.icon,r=t.title,i=[];return a&&i.push(e("svg-icon",{attrs:{"icon-class":a}})),r&&i.push(e("span",{slot:"title"},[r])),i}},ct=ot,st=Object(Ee["a"])(ct,a,r,!1,null,null,null),At=st.exports,lt=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t(e.type,e._b({tag:"component"},"component",e.linkProps(e.to),!1),[e._t("default")],2)},dt=[],ut={props:{to:{type:String,required:!0}},computed:{isExternal:function(){return Object(it["b"])(this.to)},type:function(){return this.isExternal?"a":"router-link"}},methods:{linkProps:function(e){return this.isExternal?{href:e,target:"_blank",rel:"noopener"}:{to:e}}}},mt=ut,pt=Object(Ee["a"])(mt,lt,dt,!1,null,null,null),ht=pt.exports,gt={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,n=this.$refs.subMenu;if(n){var t=n.handleMouseleave;n.handleMouseleave=function(n){"mobile"!==e.device&&t(n)}}}}},ft={name:"SidebarItem",components:{Item:At,AppLink:ht},mixins:[gt],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},computed:{itemChildren:function(){var e;return Ze()(e=this.item.children).call(e,(function(e){return!e.meta.hidden}))}},methods:{hasOneShowingChild:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,a=Ze()(n).call(n,(function(n){return!n.hidden&&(e.onlyOneChild=n,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(fe["a"])(Object(fe["a"])({},t),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return Object(it["b"])(e)?e:Object(it["b"])(this.basePath)?this.basePath:rt.a.resolve(this.basePath,e)}}},bt=ft,wt=(t("d729"),Object(Ee["a"])(bt,nt,tt,!1,null,null,null)),vt=wt.exports,Mt=t("cf1e2"),Tt=t.n(Mt),Et={components:{SidebarItem:vt,Logo:et},computed:Object(fe["a"])(Object(fe["a"])({},Object(Fe["b"])(["sidebar","permission_routes","language"])),{},{routeList:function(){return aa},activeMenu:function(){var e=this.$route,n=e.meta,t=e.path;return n.activeMenu?n.activeMenu:t},showLogo:function(){return console.log(this.$route),this.$store.state.settings.sidebarLogo},variables:function(){return Tt.a},isCollapse:function(){return!this.sidebar.opened}})},Dt=Et,yt=Object(Ee["a"])(Dt,Zn,Xn,!1,null,null,null),Ct=yt.exports,kt=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"tags-view-container",attrs:{id:"tags-view-container"}},[t("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper",on:{scroll:e.handleScroll}},e._l(e.visitedViews,(function(n){return t("router-link",{key:n.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(n)?"active":"",attrs:{to:{path:n.path,query:n.query,fullPath:n.fullPath},tag:"span"},nativeOn:{mouseup:function(t){if("button"in t&&1!==t.button)return null;!e.isAffix(n)&&e.closeSelectedTag(n)}}},[e._v("\n "+e._s(n.title)+"\n "),t("span",{staticClass:"el-icon-close",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.closeSelectedTag(n)}}})])})),1),e._v(" "),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:e.left+"px",top:e.top+"px"}},[t("li",{on:{click:function(n){return e.refreshSelectedTag(e.selectedTag)}}},[e._v(e._s(e._f("i18nFilter")("tagsView.refresh")))]),e._v(" "),e.isAffix(e.selectedTag)?e._e():t("li",{on:{click:function(n){return e.closeSelectedTag(e.selectedTag)}}},[e._v(e._s(e._f("i18nFilter")("tagsView.close")))]),e._v(" "),t("li",{on:{click:e.closeOthersTags}},[e._v(e._s(e._f("i18nFilter")("tagsView.closeOthers")))]),e._v(" "),t("li",{on:{click:function(n){return e.closeAllTags(e.selectedTag)}}},[e._v(e._s(e._f("i18nFilter")("tagsView.closeAll")))])])],1)},St=[],Bt=t("b85c"),xt=t("2909"),Pt=t("c52e"),zt=t.n(Pt),It=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(n){return n.preventDefault(),e.handleScroll(n)}}},[e._t("default")],2)},Nt=[],Rt=t("4c43"),Vt=t.n(Rt),Qt=4,Ht={name:"ScrollPane",data:function(){return{left:0}},computed:{scrollWrapper:function(){return this.$refs.scrollContainer.$refs.wrap}},mounted:function(){this.scrollWrapper.addEventListener("scroll",this.emitScroll,!0)},beforeDestroy:function(){this.scrollWrapper.removeEventListener("scroll",this.emitScroll)},methods:{handleScroll:function(e){var n=e.wheelDelta||40*-e.deltaY,t=this.scrollWrapper;t.scrollLeft=t.scrollLeft+n/4},emitScroll:function(){this.$emit("scroll")},moveToTarget:function(e){var n=this.$refs.scrollContainer.$el,t=n.offsetWidth,a=this.scrollWrapper,r=this.$parent.$refs.tag,i=null,o=null;if(r.length>0&&(i=r[0],o=r[r.length-1]),i===e)a.scrollLeft=0;else if(o===e)a.scrollLeft=a.scrollWidth-t;else{var c=Vt()(r).call(r,(function(n){return n===e})),s=r[c-1],A=r[c+1],l=A.$el.offsetLeft+A.$el.offsetWidth+Qt,d=s.$el.offsetLeft-Qt;l>a.scrollLeft+t?a.scrollLeft=l-t:d1&&void 0!==arguments[1]?arguments[1]:"/",a=[];return xn()(e).call(e,(function(e){if(e.meta&&e.meta.affix){var r=rt.a.resolve(t,e.path);a.push({fullPath:r,path:r,name:e.name,meta:Object(fe["a"])({},e.meta)})}if(e.children){var i,o=n.filterAffixTags(e.children,e.path);if(o.length>=1)a=Vn()(i=[]).call(i,Object(xt["a"])(a),Object(xt["a"])(o))}})),a},initTags:function(){var e=this.affixTags=this.filterAffixTags(this.routes);console.log("affixTags",e);var n,t=Object(Bt["a"])(e);try{for(t.s();!(n=t.n()).done;){var a=n.value;a.name&&this.$store.dispatch("tagsView/addVisitedView",a)}}catch(r){t.e(r)}finally{t.f()}},addTags:function(){var e=this.$route.name;return e&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag:function(){var e=this,n=this.$refs.tag;this.$nextTick((function(){var t,a=Object(Bt["a"])(n);try{for(a.s();!(t=a.n()).done;){var r=t.value;if(r.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(r),r.to.fullPath!==e.$route.fullPath&&e.$store.dispatch("tagsView/updateVisitedView",e.$route);break}}}catch(i){a.e(i)}finally{a.f()}}))},refreshSelectedTag:function(e){var n=this;this.$store.dispatch("tagsView/delCachedView",e).then((function(){var t=e.fullPath;n.$nextTick((function(){n.$router.replace({path:"/redirect"+t})}))}))},closeSelectedTag:function(e){var n=this;this.$store.dispatch("tagsView/delView",e).then((function(t){var a=t.visitedViews;n.isActive(e)&&n.toLastView(a,e)}))},closeOthersTags:function(){var e=this;this.$router.push(this.selectedTag),this.$store.dispatch("tagsView/delOthersViews",this.selectedTag).then((function(){e.moveToCurrentTag()}))},closeAllTags:function(e){var n=this;this.$store.dispatch("tagsView/delAllViews").then((function(t){var a,r=t.visitedViews;zt()(a=n.affixTags).call(a,(function(n){return n.path===e.path}))||n.toLastView(r,e)}))},toLastView:function(e,n){var t=Sn()(e).call(e,-1)[0];t?this.$router.push(t.fullPath):"Dashboard"===n.name?this.$router.replace({path:"/redirect"+n.fullPath}):this.$router.push("/")},openMenu:function(e,n){var t=105,a=this.$el.getBoundingClientRect().left,r=this.$el.offsetWidth,i=r-t,o=n.clientX-a+15;this.left=o>i?i:o,this.top=n.clientY,this.visible=!0,this.selectedTag=e},closeMenu:function(){this.visible=!1},handleScroll:function(){this.closeMenu()}}},jt=Gt,Lt=(t("a0cd6"),t("cfaa"),Object(Ee["a"])(jt,kt,St,!1,null,"1d2a0d3e",null)),qt=Lt.exports,Yt=t("4360"),Zt=document,Xt=Zt.body,Ut=992,Jt={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&Yt["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(Yt["a"].dispatch("app/toggleDevice","mobile"),Yt["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=Xt.getBoundingClientRect();return e.width-1'});o.a.add(c);n["default"]=c},ab00:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},ad1c:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},af60:function(e,n,t){},b023:function(e,n,t){"use strict";t("0918")},b20f:function(e,n,t){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"300px"}},b3230:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-factoryManage",use:"icon-factoryManage-usage",viewBox:"0 0 40 40",content:' \r\n'});o.a.add(c);n["default"]=c},b3b5:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});o.a.add(c);n["default"]=c},b3b6:function(e,n,t){},b519:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-formwhite",use:"icon-formwhite-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);n["default"]=c},b775:function(e,n,t){"use strict";t.d(n,"b",(function(){return T}));var a=t("3818"),r=t.n(a),i=t("5b1a"),o=t.n(i),c=t("2b0b"),s=t.n(c),A=t("bc3a"),l=t.n(A),d=t("5c96"),u=t("4360"),m=t("5f87"),p=t("9923"),h=l.a.create({baseURL:"",timeout:15e3}),g=null;function f(){g=d["Loading"].service({fullscreen:!1,text:"拼命加载中...",background:"rgba(0, 0, 0, 0.1)"})}function b(){g.close()}var w=0;function v(){0===w&&f(),w++}function M(){w<=0||(w--,0===w&&b())}function T(e){var n=(e.subname||"")+e.url,t=localStorage.getItem(n);return t?r.a.resolve(JSON.parse(t)):h(e).then((function(e){return localStorage.setItem(n,o()(e)),s()((function(){localStorage.removeItem(n)}),6e4),e}))}h.interceptors.request.use((function(e){return v(),u["a"].getters.token&&(e.headers["token"]=Object(m["a"])()),e}),(function(e){return M(),console.log(e),r.a.reject(e)})),h.interceptors.response.use((function(e){M();var n=e.data;return"blob"===e.config.responseType?e:0!==n.code&&401!==n.code?(Object(d["Message"])({message:n.msg||"Error",type:"error",duration:5e3}),401===n.code&&d["MessageBox"].confirm("登录信息失效,请重新登录","提示",{confirmButtonText:"去登录",cancelButtonText:"取消",type:"warning"}).then((function(){u["a"].dispatch("user/resetToken").then((function(){location.reload()}))})),r.a.reject(new Error(n.message||"Error"))):n}),(function(e){return M(),console.log("err"+e),"err"+e==="errError: timeout of 15000ms exceeded"?Object(d["Message"])({message:p["a"].t("errorLog.timeoutTip"),type:"error",duration:5e3}):Object(d["Message"])({message:e.message,type:"error",duration:5e3}),r.a.reject(e)})),n["a"]=h},bc35:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},bc38:function(e,n,t){"use strict";t("449f")},c24f:function(e,n,t){"use strict";t.d(n,"h",(function(){return o})),t.d(n,"f",(function(){return c})),t.d(n,"g",(function(){return s})),t.d(n,"a",(function(){return A})),t.d(n,"b",(function(){return l})),t.d(n,"c",(function(){return d})),t.d(n,"e",(function(){return u})),t.d(n,"i",(function(){return m})),t.d(n,"d",(function(){return p}));var a=t("e76e"),r=t.n(a),i=t("b775");function o(e){var n=r()(e,{appType:1,userType:1});return Object(i["a"])({url:"/api/passport/login",method:"post",data:n})}function c(e){return Object(i["a"])({url:"/api/passport/getLoginUser",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/api/upms/user/page",method:"post",data:e})}function A(e){return Object(i["a"])({url:"/api/upms/user/add",method:"post",data:e})}function l(e){return Object(i["a"])({url:"/api/upms/user/delete",method:"post",data:e})}function d(e){return Object(i["a"])({url:"/api/upms/user/update",method:"post",data:e})}function u(e){return Object(i["a"])({url:"/api/upms/user/get",method:"post",data:e})}function m(e){return Object(i["a"])({url:"/api/upms/user/resetPassword",method:"post",data:e})}function p(e){return Object(i["a"])({url:"/api/upms/user/enabled",method:"post",data:e})}},c4d7:function(e,n,t){"use strict";t("e717")},c557:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-back",use:"icon-back-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);n["default"]=c},c653:function(e,n,t){var a={"./app.js":"d9cd","./errorLog.js":"4d49","./permission.js":"31c2","./settings.js":"0781","./tagsView.js":"7509","./user.js":"0f9a"};function r(e){var n=i(e);return t(n)}function i(e){var n=a[e];if(!(n+1)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n}r.keys=function(){return Object.keys(a)},r.resolve=i,e.exports=r,r.id="c653"},c658:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-formManage",use:"icon-formManage-usage",viewBox:"0 0 32 37",content:' \r\n'});o.a.add(c);n["default"]=c},c829:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},c932:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-help",use:"icon-help-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);n["default"]=c},cbb7:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});o.a.add(c);n["default"]=c},cf1e2:function(e,n,t){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"300px"}},cfaa:function(e,n,t){"use strict";t("3561")},d056:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},d6d0:function(e,n,t){},d729:function(e,n,t){"use strict";t("8e5e")},d7c0:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-ArtManager",use:"icon-ArtManager-usage",viewBox:"0 0 31 36",content:' \r\n'});o.a.add(c);n["default"]=c},d7ec:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);n["default"]=c},d9cd:function(e,n,t){"use strict";t.r(n);var a=t("a78e"),r=t.n(a),i=t("9923"),o={sidebar:{opened:!r.a.get("sidebarStatus")||!!+r.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",language:Object(i["b"])(),size:r.a.get("size")||"medium",choicepart:r.a.get("choicepart")||null},c={TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?r.a.set("sidebarStatus",1):r.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,n){r.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=n},TOGGLE_DEVICE:function(e,n){e.device=n},SET_LANGUAGE:function(e,n){e.language=n,r.a.set("language",n)},SET_SIZE:function(e,n){e.size=n,r.a.set("size",n)},SET_CHOICEPART:function(e,n){e.choicepart=n,r.a.set("choicepart",n)}},s={toggleSideBar:function(e){var n=e.commit;n("TOGGLE_SIDEBAR")},closeSideBar:function(e,n){var t=e.commit,a=n.withoutAnimation;t("CLOSE_SIDEBAR",a)},toggleDevice:function(e,n){var t=e.commit;t("TOGGLE_DEVICE",n)},setLanguage:function(e,n){var t=e.commit;t("SET_LANGUAGE",n)},setSize:function(e,n){var t=e.commit;t("SET_SIZE",n)},setChoicepart:function(e,n){var t=e.commit;t("SET_CHOICEPART",n)}};n["default"]={namespaced:!0,state:o,mutations:c,actions:s}},dbc7:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},dc52:function(e,n,t){},dcf8:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},e534:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},e549:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-MaterialsManage",use:"icon-MaterialsManage-usage",viewBox:"0 0 38 38",content:' \r\n'});o.a.add(c);n["default"]=c},e717:function(e,n,t){},e7c8:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},eb1b:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});o.a.add(c);n["default"]=c},ec2f:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-car",use:"icon-car-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);n["default"]=c},ec79:function(e,n){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAHVklEQVR4nO2dT2wUVRzHv2/2T5eSAlvFilwgQUH+eLACaUxEiJLAxdh44MDZi2ChUIrSFtoCgbbSP4GDdwgeEA8kRTAI0iIGBL1ITLxgLAlCsCKBYndnx7zd35pl2+7On/de387OJ9l00515/z7z/szMmzfs7869mD0yCjw2gZAB4VhAiln4/dUaRGdU18aOnzw9dn24ioGJj0soFsJr1z2yNm+qN2/fvRFL8XyMYqTmFfxZ+TwMc1xKDsL/f2Ms8xGeLwuIRpCKx99MHf/i4uPrw5GQ9jIAfsCMXfw2HkuOX03Wb1qLh4+uIGFJjzecPoS5iEhUTg1hDMaM2GuRk6cGMTQUCYmPQQq86CMAkkPDkQirGAzXf7Du34ejN9IHmETCRjQGPL6D+4NnYDEJDQmXbaY6on/dm2Vm/jHdZe0Almm6Ll+YNQbzasX7765BNHI1o0sOYRghwExg7MG9dDQSiqsdwHuZmlFKMjLwQ3QcFtjlSxHTenLO3Lp7vfU09AOS41Ka+HC6CjIDIaqmguvIPgBtIgOcDhjVlMTQtarKOScumR/teCdpxoeNZGJCapjFt7Rcywrb2MYtnQBatCpZTzCkYCF+5suKRXf+6EvOmv0GSzwrhB/QpmGkBYZSpqvIZAlp8ZeMLFwKUH3z2gqWyd/+3F/5b1yRQQMCN8gQspeaKt+SAItSCxCiPjIjhDEkjRAMxmCZSbgZkYke537qdxl57KM8C0OkkD0ADohMXIlwgPIuBFFC9uS3p2XGflFSRAgpdxlZeBl84jUQr0ImjDTKGWZZBwE0eCkCL0J20UgjgGCwEDHNPjB86PbiilshfGRxOBCRD0tLCSWTnzMLO9yE4EbIzjIdTdmGpc8/rB4qK0c4FcKbqe7pyWZJ0k1lZhsnQnZq3EzV00dHDjupKXaFNGtcM7YA+Io+WzRIz2R0UxkWxY6QJgCHlCbfPlzAsZytj2ks5RCVZUGKCdkOoEt+Wl3RkCcjyzGv5wIS6aIynZJCQni7d0TTjPFaMFDg9wGNa8qRQn3KVEI+1rjPmKpm5KNzTemmMp7AZEK2AehXmz7bbC1SM/IZoH10pJ/K+hnyhXBrvZpmoBHAURf7HaV9daQ3v6Zk7hhWVr4AYDOAzzRNeKPHAyW7r459Yj/deUynMcyqqpY9/fXW+RTwkiF/ms5pADcd7nMbwAkBcfMM3wOwwOF+rys46TxCt+T72d2NG0YSg2fnC58ANDkbAZyVH41QNgAYVBTXNiMxeLYG6qawvagmGqGoTHOfwcAe6T8TvWwYlTC7OsALgRDNCIRoRiBEMwIhmhEI0YxAiGYEQjRDtZCY9iUyEaVpVi3kvuL4RKA0zSqF8Ad5TimMTxSnKO1KUCWEZ6hDVaYk0KFKigohbSUuI0uHiieKZQtp89kM+U7ZUmQKafHp4wpSH/eWJaTT5zPkD8g62GQI8cXqDTZok/HEsWgh+3Of2y4D2kU/0idKyEOaJdgqKLxSotXlfLFJESXkicKZGTrys6g0iRIyD8AvAFYLCq+UWC1yACOyD+Hrf1wAUCcwTN2pozzXiEqn6E59JoBvANQKDldHaimvM0WmTcawlydw2Oc1pY7yKFQGJJ4YxqiTXyEp/OlkBeVNyn0SmZdO5gC47rOOfjXlaY6sCGRfXKwA8LVP+pRaykuFzEhUXH7nR9P3AFYqiEsWKykP0mpGFlU3qKI0IlmlKD6RrKK0R1VEpvIW7uwSHXnVUdqVoHqSwz+K4xOB0jQH87I0IxCiGYEQzQiEaEYgRDMCIZoRCNGMQIhmBEI0gwuJK0xScKZemHiY1mzqUxThYgBLHO7zQOAzGnMBPOdwn8WC4rbDNjaSWVajQaEUp9wBsB7ALY/hLAVwHsB89VmwRXrhuGwf0q/xIl/z6f6105qVyxIKQ1cZjdlV/HI79V6N1yjk/dxlAMtc7LuM9lXZVzqhIXdxtvxR1kCxZUynkbl0o2ihgyQspH3mapqn7flrSE427O3TuKbwGZI/AlhuY9vltO08Belyw6T99lTnIQN2VmGeJqppskGhpfoW0DbVmuahaarVVQudGPZo3tH/RCOnfJbSbzp34D1T/VjsTL3X6esWFMJngJwDsCgnykX0P+mzQ1yyq9jqqtnzkGI0a7wgPz9pfJm+/6ZxB77bzus+7L7pkwdkarr8OBdwJee7jjQVaqZysVtDsuwK3j3lmGYnb5hwerW3S+PRl440OX3dh5vL7z0iXzXqY/bYbaZycXs/5KDdV/iUKc1URo7xcoOqq0yfui1Gq5e3EoUava1qzS/aJQGs8xKIj2jx+gCoVyGcoUBKGs8yIEgIAiliZEDwJAehL3ovIYS+2F9UDckyRH/fFhmoxuwTvdaJaCGc7+gyi9+br1YZSzTJEAIaffHrZG/JCFwDpK16JEsI5yK9uMdvzVe7zAUxZQrhXKKBwxqZkSikQ8aiZbnIFgKS4oea0i5bBhQJgQ+kKJEBhUJAUkqxo+cduJqVrQH8B6xBgBhvJFNDAAAAAElFTkSuQmCC"},ed08:function(e,n,t){"use strict";t.d(n,"c",(function(){return l})),t.d(n,"b",(function(){return d})),t.d(n,"a",(function(){return m})),t.d(n,"d",(function(){return p}));t("ade3"),t("5530"),t("4917"),t("ac6a"),t("28a5"),t("6b54"),t("3b2b"),t("a481");var a=t("53ca"),r=(t("06db"),t("87b3"),t("9474")),i=t.n(r),o=t("cf34"),c=t.n(o),s=t("3002"),A=t.n(s);t("05f2"),t("14b1"),t("fa81"),t("e946"),t("52da"),t("4573"),t("65b8"),t("2b0b"),t("d254"),t("045d"),t("c1df");function l(e,n){if(0===arguments.length||!e)return null;var t,r=n||"{y}-{m}-{d} {h}:{i}:{s}";"object"===Object(a["a"])(e)?t=e:("string"===typeof e&&(e=/^[0-9]+$/.test(e)?i()(e):e.replace(new RegExp(/-/gm),"/")),"number"===typeof e&&10===e.toString().length&&(e*=1e3),t=new Date(e));var o={y:t.getFullYear(),m:t.getMonth()+1,d:t.getDate(),h:t.getHours(),i:t.getMinutes(),s:t.getSeconds(),a:t.getDay()},s=r.replace(/{([ymdhisa])+}/g,(function(e,n){var t,a=o[n];return"a"===n?["日","一","二","三","四","五","六"][a]:c()(t=a.toString()).call(t,2,"0")}));return s}function d(e,n){e=10===(""+e).length?1e3*i()(e):+e;var t=new Date(e),a=A()(),r=(a-t)/1e3;return r<30?"刚刚":r<3600?Math.ceil(r/60)+"分钟前":r<86400?Math.ceil(r/3600)+"小时前":r<172800?"1天前":n?l(e,n):t.getMonth()+1+"月"+t.getDate()+"日"+t.getHours()+"时"+t.getMinutes()+"分"}function u(e,n){return!!e.className.match(new RegExp("(\\s|^)"+n+"(\\s|$)"))}function m(e,n){u(e,n)||(e.className+=" "+n)}function p(e,n){if(u(e,n)){var t=new RegExp("(\\s|^)"+n+"(\\s|$)");e.className=e.className.replace(t," ")}}},ef77:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-orderManage",use:"icon-orderManage-usage",viewBox:"0 0 36 36",content:' \r\n'});o.a.add(c);n["default"]=c},f12c:function(e,n,t){},f1c4:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-helptitle",use:"icon-helptitle-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);n["default"]=c},f218:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-EquipmentManager",use:"icon-EquipmentManager-usage",viewBox:"0 0 37 32",content:' \r\n'});o.a.add(c);n["default"]=c},f52b:function(e,n,t){},f782:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});o.a.add(c);n["default"]=c},f9a1:function(e,n,t){"use strict";t.r(n);var a=t("e017"),r=t.n(a),i=t("21a1"),o=t.n(i),c=new r.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(c);n["default"]=c},fab5:function(e,n,t){"use strict";t("b3b6")}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/dist/static/js/chunk-0220d172.6dcecc4a.js b/dist/static/js/chunk-0220d172.6dcecc4a.js new file mode 100644 index 0000000..cc163cc --- /dev/null +++ b/dist/static/js/chunk-0220d172.6dcecc4a.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0220d172"],{"1ae3":function(t,e,s){},"5fd4":function(t,e,s){"use strict";s.d(e,"b",(function(){return i})),s.d(e,"a",(function(){return n}));var a=s("b775");function i(t){return Object(a["a"])({url:"/api/wms/location/shelfList",method:"post",data:t})}function n(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/getByLocationId",method:"post",data:{id:t}})}},"6e59":function(t,e,s){"use strict";s("1ae3")},7813:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"dashboard-container"},[s("el-card",{staticClass:"dashboard-main"},[s("el-row",{staticClass:"dashboard-title"},[s("div",{staticClass:"dashboard-header-line"}),t._v(" "),s("div",{staticClass:"dashboard-header-title"},[t._v("\n "+t._s(t.$t("module.dashboard.title"))+"\n ")])]),t._v(" "),s("el-row",{staticClass:"dashboard-legend"},[t._l(t.cassetteStatusList,(function(e){return s("div",{key:"cassette"+e.id,staticClass:"dashboard-legend-cassette"},[s("div",{staticClass:"dashboard-legend-cassette-cricle",style:{background:e.color}}),t._v("\n "+t._s(e.name)+"\n ")])})),t._v("\n |\n "),t._l(t.portAttributeList,(function(e){return s("div",{key:"port"+e.id,staticClass:"dashboard-legend-port",style:{background:e.color}},[t._v("\n "+t._s(e.name)+"\n ")])})),t._v(" "),s("div",{staticClass:"dashboard-legend-btn"},[s("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.submitLinkList}},[t._v(t._s(t._f("i18nFilter")("btn.submit")))]),t._v(" "),s("el-button",{attrs:{type:"warning",size:"mini"},on:{click:function(e){return t.init()}}},[t._v(t._s(t._f("i18nFilter")("btn.reset")))]),t._v(" "),s("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(e){return t.goback()}}},[t._v(t._s(t._f("i18nFilter")("btn.back")))])],1),t._v(" "),s("div",{staticClass:"dashboard-legend-search"},[s("el-select",{attrs:{size:"mini"},on:{change:t.handleChange},model:{value:t.current,callback:function(e){t.current=e},expression:"current"}},t._l(t.totalPage,(function(e){return s("el-option",{key:"select"+e,attrs:{label:t.$t("module.dashboard.pageHeader")+e+t.$t("module.dashboard.pageFooter"),value:e}})})),1)],1)],2),t._v(" "),80*t.current0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),t._v(" "),t.addOrUpdateVisible?a("materialsType-add",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e()],1)},n=[],r=(a("7f7f"),a("a3e3")),o=a.n(r),s=a("3393"),l=a.n(s),d=a("9923"),c=a("addf"),u=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")(t.dataForm.id?"btn.edit":"btn.add"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"100px"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.materialsType.TypeName"),prop:"name"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.materialsType.TypeName")]),clearable:""},model:{value:t.dataForm.name,callback:function(e){t.$set(t.dataForm,"name",e)},expression:"dataForm.name"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.materialsType.TypeCode"),prop:"code"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.materialsType.TypeCode")]),clearable:""},model:{value:t.dataForm.code,callback:function(e){t.$set(t.dataForm,"code",e)},expression:"dataForm.code"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Remarks"),prop:"remark"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Remarks")]),clearable:""},model:{value:t.dataForm.remark,callback:function(e){t.$set(t.dataForm,"remark",e)},expression:"dataForm.remark"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.confirm")))])],1)],1)},m=[],p={data:function(){return{visible:!1,dataForm:{id:0,name:"",code:"",remark:""},dataRule:{name:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.materialsType.TypeName")]),trigger:"blur"}],code:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.materialsType.TypeCode")]),trigger:"blur"}]}}},methods:{init:function(t){var e=this;Object(c["b"])().then((function(t){e.dataForm.code=t.data})),this.dataForm.id=t||"",this.visible=!0,this.$nextTick((function(){e.$refs["dataForm"].resetFields(),e.dataForm.id&&Object(c["d"])(e.dataForm.id).then((function(t){e.dataForm.name=t.data.name,e.dataForm.code=t.data.code,e.dataForm.remark=t.data.remark}))}))},dataFormSubmit:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var a={name:t.dataForm.name,code:t.dataForm.code,remark:t.dataForm.remark,id:t.dataForm.id};t.dataForm.id?Object(c["f"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})})):Object(c["a"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})}))}}))}}},f=p,b=a("2877"),h=Object(b["a"])(f,u,m,!1,null,null,null),y=h.exports,v=a("bb1e"),F=a("c0ee"),g=a("333d"),$=a("ebe9"),T=a("8975"),k=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],w=[{prop:"createTime",label:d["a"].t("module.basicData.factory.createTime"),filter:T["timeFormatter"],align:"center"},{prop:"name",label:d["a"].t("module.basicData.materialsType.TypeName"),align:"center"},{prop:"code",label:d["a"].t("module.basicData.materialsType.TypeCode"),align:"center"},{prop:"remark",label:d["a"].t("module.basicData.visual.Remarks"),align:"center"}],D={name:"MaterialsType",components:{Pagination:g["a"],BaseTable:F["a"],MethodBtn:$["a"],materialsTypeAdd:y,HeadForm:v["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{keyName:d["a"].t("module.basicData.visual.keyword"),placeholderName:this.$t("module.basicData.materialsType.TypeName"),addOrUpdateVisible:!1,tableBtn:k,trueWidth:200,tableProps:w,list:[],total:0,listLoading:!0,listQuery:{current:1,size:10}}},created:function(){this.getList()},methods:{handleClick:function(t){var e,a=this;(console.log(t),"delete"===t.type)?this.$confirm(o()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.name,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(c["c"])(t.data.id).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getList()}})}))}))["catch"]((function(){})):this.addNew(t.data.id)},getList:function(t){var e=this;this.listLoading=!0,this.listQuery.name=t,Object(c["e"])(this.listQuery).then((function(t){var a;t.data.records?e.list=t.data.records:l()(a=e.list).call(a,0,e.list.length);e.total=t.data.total,e.listLoading=!1}))},addNew:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t)}))}}},O=D,_=(a("df74"),Object(b["a"])(O,i,n,!1,null,"49ebac60",null));e["default"]=_.exports},addf:function(t,e,a){"use strict";a.d(e,"e",(function(){return n})),a.d(e,"d",(function(){return r})),a.d(e,"f",(function(){return o})),a.d(e,"a",(function(){return s})),a.d(e,"b",(function(){return l})),a.d(e,"c",(function(){return d}));var i=a("b775");function n(t){return Object(i["a"])({url:"/api/wms/material-type/page",method:"post",data:t})}function r(t){return Object(i["a"])({url:"/api/wms/material-type/get",method:"post",data:{id:t}})}function o(t){return Object(i["a"])({url:"/api/wms/material-type/update",method:"post",data:t})}function s(t){return Object(i["a"])({url:"/api/wms/material-type/add",method:"post",data:t})}function l(){return Object(i["a"])({url:"/api/wms/material-type/get-code",method:"post"})}function d(t){return Object(i["a"])({url:"/api/wms/material-type/delete",method:"post",data:{id:t}})}},df74:function(t,e,a){"use strict";a("9b6d")}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-0bfb745f.a713bfe3.js b/dist/static/js/chunk-0bfb745f.a713bfe3.js new file mode 100644 index 0000000..8adca0c --- /dev/null +++ b/dist/static/js/chunk-0bfb745f.a713bfe3.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0bfb745f"],{"1d42":function(e,t,n){e.exports={dialog:"add-dialog_dialog_19c-6",input:"add-dialog_input_3zaRq",select:"add-dialog_select_3aPry"}},"1d59":function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.container},[n("SearchBar",{attrs:{"lable-name":e.$t("module.art.key"),placeholder:e.$t("module.art.artName")+e.$t("module.art.or")+e.$t("module.art.artCode")},on:{"on-search":e.handleSearch}},[n("el-button",{attrs:{type:"success",icon:"el-icon-plus"},on:{click:function(t){return e.handleAdd()}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.add"))+"\n ")])],1),e._v(" "),n("el-table",{class:e.$style.table,attrs:{data:e.tableDataList,stripe:!0,"header-cell-style":{background:"#eef1f6",color:"#606266",height:"56px",textAlign:"center"},"cell-style":{textAlign:"center"},size:"medium"}},[n("el-table-column",{attrs:{prop:"index",label:e._f("i18nFilter")("tableHeader.index"),width:"80"}}),e._v(" "),n("el-table-column",{attrs:{prop:"name",label:e.$t("module.art.artName"),width:"180"}}),e._v(" "),n("el-table-column",{attrs:{label:e.$t("module.art.status"),width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s("1"===t.row.enabled?e.$t("module.art.on"):e.$t("module.art.off"))+"\n ")]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"createTime",label:e.$t("module.art.createTime"),width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.createTime).format("YYYY-MM-DD HH:mm:ss"))+"\n ")]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"code",label:e.$t("module.art.artCode"),width:"180"}}),e._v(" "),n("el-table-column",{attrs:{prop:"remark",label:e.$t("module.art.remark")}}),e._v(" "),n("el-table-column",{attrs:{prop:"description",label:e.$t("module.art.description")}}),e._v(" "),n("el-table-column",{attrs:{label:e.$t("module.art.process")},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){return e.handleProcessFlowDetail(t.row.id)}}},[e._v(e._s(e._f("i18nFilter")("btn.detail")))])]}}])}),e._v(" "),n("el-table-column",{attrs:{label:e.$t("module.art.operation"),width:"280"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{size:"mini",type:"info",icon:"el-icon-edit"},on:{click:function(n){return e.handleEdit(t.row.id)}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.edit"))+"\n ")]),e._v(" "),n("span",{staticStyle:{margin:"0 3px"}},[e._v("|")]),e._v(" "),n("el-button",{attrs:{type:"danger",size:"mini",icon:"el-icon-delete"},on:{click:function(n){return e.handleDelete(t.row.id)}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.delete"))+"\n ")])]}}])}),e._v(" "),n("el-table-column",{attrs:{label:e.$t("module.art.IsDisabled")},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949"},on:{change:function(n){return e.handleChange(n,t.row.id)}},model:{value:t.row.isValid,callback:function(n){e.$set(t.row,"isValid",n)},expression:"scope.row.isValid"}})]}}])})],1),e._v(" "),n("el-pagination",{class:e.$style.table,attrs:{background:"","hide-on-single-page":!1,"current-page":e.page.current,"page-sizes":[10,20,30,40],"page-size":e.page.size,layout:"total, sizes, prev, pager, next",total:e.page.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}),e._v(" "),e.addDialogVisible?n("AddDialog",{class:e.$style.dialog,attrs:{id:e.id,visible:e.addDialogVisible},on:{"on-close":function(t){e.addDialogVisible=!1},"on-success":function(t){return e.handleAddSuccess()}}}):e._e(),e._v(" "),n("ProcessDrawer",{class:e.$style.dialog,attrs:{visible:e.processDrawerVisible,"process-flow-id":e.id},on:{"on-close":function(t){e.processDrawerVisible=!1}}})],1)},a=[],i=(n("96cf"),n("1da1")),r=n("5530"),l=n("6b47"),o=n.n(l),c=n("14b1"),u=n.n(c),d=n("c1df"),p=n.n(d),f=n("e242"),m=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("span",{staticClass:"label-name"},[e._v(e._s(e.$t("module.teamManager.Handover.Keyword")))]),e._v(" "),n("el-input",{style:{width:e.inputWidth+"px",maxWidth:"100%",marginRight:"16px"},attrs:{placeholder:e.placeholder,clearable:!0},model:{value:e.keywords,callback:function(t){e.keywords=t},expression:"keywords"}}),e._v(" "),e.showTime?n("el-date-picker",{staticStyle:{"margin-right":"16px"},attrs:{type:"daterange",align:"right","unlink-panels":"","range-separator":e._f("i18nFilter")("formItem.to"),"start-placeholder":e._f("i18nFilter")("formItem.beginTime"),"end-placeholder":e._f("i18nFilter")("formItem.endTime"),"picker-options":e.pickerOptions},model:{value:e.dts,callback:function(t){e.dts=t},expression:"dts"}}):e._e(),e._v(" "),n("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:function(t){return e.handleSearch()}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.search"))+"\n ")]),e._v(" "),e._t("default")],2)},h=[],b=(n("c5f6"),n("9923")),v={shortcuts:[{text:b["a"].t("datePickerOption.lastWeek"),onClick:function(e){var t=new Date,n=new Date;n.setTime(n.getTime()-6048e5),e.$emit("pick",[n,t])}},{text:b["a"].t("datePickerOption.lastMonth"),onClick:function(e){var t=new Date,n=new Date;n.setTime(n.getTime()-2592e6),e.$emit("pick",[n,t])}},{text:b["a"].t("datePickerOption.lastThreeMonths"),onClick:function(e){var t=new Date,n=new Date;n.setTime(n.getTime()-7776e6),e.$emit("pick",[n,t])}}]},_={props:{showTime:{type:Boolean,default:!1},lableName:{type:String,default:"关键字"},placeholder:{type:String,default:"请输入"},inputWidth:{type:Number,default:180}},data:function(){return{keywords:"",dts:["",""],pickerOptions:v}},methods:{handleSearch:function(){var e={keywords:this.keywords,key:this.keywords,begDate:this.dts[0]?p()(this.dts[0]).format("YYYY-MM-DD"):this.dts[0],endDate:this.dts[1]?p()(this.dts[1]).format("YYYY-MM-DD"):this.dts[1]};this.$emit("on-search",e)}}},w=_,g=(n("bfc5"),n("2877")),$=Object(g["a"])(w,m,h,!1,null,"1f95126c",null),y=$.exports,k=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dialog",{class:e.$style.dialog,attrs:{"close-on-click-modal":!1,"close-on-press-escape":!1,width:"25%",visible:e.visible,"destroy-on-close":!0,"before-close":function(){return e.$emit("on-close")},title:e._f("i18nFilter")(e.id?"btn.edit":"btn.add")}},[n("el-form",{ref:"obj",attrs:{model:e.obj,rules:e.rules,"label-width":"140px"}},[n("el-form-item",{attrs:{label:e.$t("module.art.artName"),prop:"name"}},[n("el-input",{model:{value:e.obj.name,callback:function(t){e.$set(e.obj,"name",t)},expression:"obj.name"}})],1),e._v(" "),n("el-form-item",{attrs:{label:e.$t("module.art.externalCode"),prop:"externalCode"}},[n("el-input",{model:{value:e.obj.code,callback:function(t){e.$set(e.obj,"code",t)},expression:"obj.code"}})],1),e._v(" "),n("el-form-item",{attrs:{label:e.$t("module.art.description"),prop:"description"}},[n("el-input",{model:{value:e.obj.description,callback:function(t){e.$set(e.obj,"description",t)},expression:"obj.description"}})],1),e._v(" "),n("el-form-item",{attrs:{label:e.$t("module.art.remark"),prop:"remark"}},[n("el-input",{model:{value:e.obj.remark,callback:function(t){e.$set(e.obj,"remark",t)},expression:"obj.remark"}})],1),e._v(" "),n("SubmitBar",{on:{"on-cancle":function(t){return e.$emit("on-close")},"on-submit":function(t){return e.handleSubmit("obj")}}})],1)],1)},x=[],j=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.container},[n("el-button",{attrs:{type:"primary",icon:"el-icon-success"},on:{click:function(t){return e.$emit("on-submit")}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.confirm"))+"\n ")]),e._v(" "),n("el-button",{attrs:{icon:"el-icon-close"},on:{click:function(t){return e.$emit("on-cancle")}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.cancel"))+"\n ")]),e._v(" "),e._t("default")],2)},q=[],E={props:{},data:function(){return{}},methods:{}},F=E,D=n("95f0");function O(e){this["$style"]=D["default"].locals||D["default"]}var I=Object(g["a"])(F,j,q,!1,O,null,null),P=I.exports,S={name:"AddDialog",components:{SubmitBar:P},props:{visible:{type:Boolean,default:!1},id:{type:String,default:null}},data:function(){return{obj:{name:"",code:"",remark:"",description:"",substrateId:"",bomId:""},rules:{name:[{required:!0,message:this.$t("module.art.artName")+this.$t("module.art.notNull"),trigger:"blur"},{min:3,message:this.$t("module.art.lengthRule"),trigger:"blur"}],bomId:[{required:!0,message:this.$t("module.art.selectNotNull")+this.$t("module.art.artBOM"),trigger:"change"}]}}},watch:{id:function(e){this.init()}},created:function(){this.init()},methods:{init:function(){var e=Object(i["a"])(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.id){e.next=7;break}return e.next=3,Object(f["f"])({id:this.id});case 3:t=e.sent,this.obj=t.data,e.next=11;break;case 7:return e.next=9,Object(f["e"])();case 9:n=e.sent,this.obj={name:"",code:n.data,remark:"",description:"",substrateId:"",bomId:""};case 11:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),handleSubmit:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return!1;console.log(t.obj),t.id?Object(f["l"])(t.obj).then((function(e){t.$emit("on-success")})):Object(f["a"])(t.obj).then((function(e){t.$emit("on-success")}))}))}}},T=S,B=n("ff9a");function C(e){this["$style"]=B["default"].locals||B["default"]}var A=Object(g["a"])(T,k,x,!1,C,null,null),z=A.exports,L=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-drawer",{attrs:{title:"工艺流程图",size:"85%","append-to-body":!0,visible:e.visible,"wrapper-closable":!1,"before-close":function(){return e.$emit("on-close")}},on:{"update:visible":function(t){e.visible=t}}},[n("ProcessEditBar",{attrs:{"is-edit":e.isEdit},on:{"on-edit":function(t){e.isEdit=!0},"on-cancel":function(t){e.isEdit=!1},"on-submit":function(t){return e.handleSubmit()}}}),e._v(" "),n("ProcessChart",{directives:[{name:"show",rawName:"v-show",value:!e.isEdit,expression:"!isEdit"}],on:{"on-detail":e.handleDetail}}),e._v(" "),e.isEdit?n("ProcessTable",{attrs:{"process-flow-id":e.processFlowId},on:{"on-detail":e.handleDetail}}):e._e(),e._v(" "),n("el-drawer",{attrs:{title:"节点详情",size:"20%","append-to-body":!0,"before-close":function(){return e.innerDrawer=!1},visible:e.innerDrawer},on:{"update:visible":function(t){e.innerDrawer=t}}},[n("ProcessNodePanel")],1)],1)},V=[],N=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("VueScrollbar",{class:e.$style.c,on:{click:function(t){return e.$emit("on-detail")}}},[n("div",{class:e.$style.chart},[e._v("\n sssss\n ")])])},R=[],Y=n("9d63"),M=n.n(Y),W={name:"ProcessChart",components:{VueScrollbar:M.a},props:{visible:{type:Boolean,default:!1}},data:function(){return{}},mounted:function(){},methods:{}},H=W,J=n("5b17");function K(e){this["$style"]=J["default"].locals||J["default"]}var U=Object(g["a"])(H,N,R,!1,K,null,null),X=U.exports,Z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("VueScrollbar",{class:e.$style.content},[n("div",{class:e.$style["flaw-detail"]},[n("div",{class:e.$style["flaw-title"]},[e._v("\n 设备名称\n ")]),e._v(" "),n("div",{class:e.$style["flaw-title"]},[e._v("\n 配方名称\n ")]),e._v(" "),n("div",{class:e.$style["flaw-title"]},[e._v("\n 物料bom\n ")]),e._v(" "),n("div",{class:e.$style["flaw-title"]},[e._v("\n 工艺类型\n ")]),e._v(" "),n("div",{class:e.$style["flaw-title"]},[e._v("\n 描述\n ")]),e._v(" "),n("div",{class:e.$style["flaw-title"]},[e._v("\n 备注\n ")]),e._v(" "),n("div",{class:e.$style["flaw-btns"]},[n("el-button",{attrs:{type:"success",icon:"el-icon-plus",circle:""},on:{click:function(t){return e.flawAdd()}}})],1)]),e._v(" "),e._l(e.process.processFlowEquipmentParams,(function(t,s){return n("div",{key:s,class:e.$style["flaw-detail"]},[n("el-select",{class:e.$style["flaw-select"],attrs:{filterable:"",clearable:"",placeholder:"请选择"},on:{change:function(n){return e.equipmentChange(n,t)}},model:{value:t.equipmentId,callback:function(n){e.$set(t,"equipmentId",n)},expression:"item.equipmentId"}},e._l(e.equipmentList,(function(e){return n("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1),e._v(" "),n("el-select",{class:e.$style["flaw-select"],attrs:{filterable:"",clearable:"",placeholder:"请选择"},model:{value:t.equipmentRecipeId,callback:function(n){e.$set(t,"equipmentRecipeId",n)},expression:"item.equipmentRecipeId"}},e._l(t.params,(function(e){return n("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1),e._v(" "),n("el-select",{class:e.$style["flaw-select"],attrs:{filterable:"",clearable:"",placeholder:"请选择"},model:{value:t.equipmentBomId,callback:function(n){e.$set(t,"equipmentBomId",n)},expression:"item.equipmentBomId"}},e._l(t.boms,(function(e){return n("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1),e._v(" "),n("el-select",{class:e.$style["flaw-select"],attrs:{filterable:"",clearable:"",placeholder:"请选择"},model:{value:t.nodeType,callback:function(n){e.$set(t,"nodeType",n)},expression:"item.nodeType"}},e._l(e.nodeTypes,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),e._v(" "),n("el-input",{class:e.$style["flaw-select"],model:{value:t.description,callback:function(n){e.$set(t,"description",n)},expression:"item.description"}}),e._v(" "),n("el-input",{class:e.$style["flaw-select"],model:{value:t.remark,callback:function(n){e.$set(t,"remark",n)},expression:"item.remark"}}),e._v(" "),n("el-button",{attrs:{type:"success",icon:"el-icon-plus",circle:""},on:{click:function(n){return e.flawAdd(t)}}}),e._v(" "),n("el-button",{attrs:{type:"danger",icon:"el-icon-delete",circle:""},on:{click:function(n){return e.flawDel(t)}}}),e._v(" "),n("el-button",{attrs:{type:"info",icon:"el-icon-document",circle:""},on:{click:function(n){return e.$emit("on-detail",t)}}})],1)}))],2)},G=[],Q=n("a3e3"),ee=n.n(Q),te=n("52da"),ne=n.n(te),se=n("5b1a"),ae=n.n(se),ie=n("e4f0"),re=n.n(ie),le=n("7d3f"),oe=n("c04c"),ce=n.n(oe),ue=n("51f5"),de=n.n(ue),pe={name:"ProcessTable",components:{VueScrollbar:M.a},props:{processFlowId:{type:String,default:null}},data:function(){return{defaultFlaws:[],process:{processFlowId:this.processFlowId,processFlowEquipmentParams:[{equipmentId:null,equipmentRecipeId:null,equipmentBomId:null,nodeType:null,processFlowId:this.processFlowId,remark:null,description:null,boms:[],params:[]}]},currentFlawRow:{},productDetBarcode:"",warehouseBarcode:"",equipmentList:[],equipmentBomList:[],equipmentParamList:[],nodeTypes:[{value:"1",label:"上片设备"},{value:"2",label:"加工设备"},{value:"3",label:"下片设备"}]}},created:function(){this.init(),this.$bus.on("on-process-save",this.save)},beforeDestroy:function(){this.$bus.off("on-process-save",this.save)},mounted:function(){},methods:{flawAdd:function(e){var t,n,s,a=[{equipmentId:null,equipmentRecipeId:null,equipmentBomId:null,nodeType:null,processFlowId:this.processFlowId,remark:null,description:null,boms:[],params:[]}];if(e){var i=de()(this.process.processFlowEquipmentParams,(function(t){return t===e}));console.log(i);var r=this.process.processFlowEquipmentParams.length,l=ne()(t=this.process.processFlowEquipmentParams).call(t,0,i+1),o=ne()(n=this.process.processFlowEquipmentParams).call(n,i+1,r);this.process.processFlowEquipmentParams=ee()(s=[]).call(s,l,a,o)}else this.process.processFlowEquipmentParams=ee()(a).call(a,this.process.processFlowEquipmentParams)},flawDel:function(e){var t;console.log(e),ce()(this.process.processFlowEquipmentParams,(function(t){return t===e})),console.log(this.process.processFlowEquipmentParams),this.process.processFlowEquipmentParams=ee()(t=this.process.processFlowEquipmentParams).call(t,[])},focusFlaw:function(e){console.log(e),this.currentFlawRow=e},setFlaw:function(e){console.log(e),this.currentFlawRow.description=e.defectName,this.currentFlawRow.fabricId=e.id},reset:function(){console.log(this.defaultFlaws),this.process.processFlowEquipmentParams=JSON.parse(ae()(this.defaultFlaws))},save:function(){var e=this;console.log(ae()(e.process)),0===e.process.processFlowEquipmentParams.length?e.$alert("工艺节点为空,您确定要保存吗?","[温馨提示]",{confirmButtonText:"确定",callback:function(t){console.log("保存"),Object(f["b"])(e.process)}}):Object(f["b"])(e.process)},init:function(){var e=Object(i["a"])(o.a.mark((function e(){var t,n,s,a,i,l=this;return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(f["h"])();case 2:return t=e.sent,this.equipmentBomList=t.data,e.next=6,Object(f["i"])();case 6:return n=e.sent,this.equipmentParamList=n.data,e.next=10,Object(le["a"])();case 10:return s=e.sent,this.equipmentList=s.data,e.next=14,Object(f["k"])({processFlowId:this.processFlowId});case 14:if(a=e.sent,console.log(a),i=a.data,console.log(i),!i||0!==i.length){e.next=20;break}return e.abrupt("return");case 20:this.process.processFlowEquipmentParams=u()(i).call(i,(function(e){var t,n;return Object(r["a"])(Object(r["a"])({},e),{},{nodeType:null,processFlowId:l.processFlowId,boms:re()(t=l.equipmentBomList).call(t,(function(t){return t.equipmentId===e.equipmentId})),params:re()(n=l.equipmentParamList).call(n,(function(t){return t.equipmentId===e.equipmentId})),id:null})})),console.log(this.process.processFlowEquipmentParams);case 22:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),equipmentChange:function(e,t){var n,s;console.log(e,t),t.boms=re()(n=this.equipmentBomList).call(n,(function(t){return t.equipmentId===e})),t.params=re()(s=this.equipmentParamList).call(s,(function(t){return t.equipmentId===e}))}}},fe=pe,me=n("4341");function he(e){this["$style"]=me["default"].locals||me["default"]}var be=Object(g["a"])(fe,Z,G,!1,he,null,null),ve=be.exports,_e=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.container},[n("div",{class:e.$style.content},[n("el-divider",[n("span",[e._v("设备信息")])]),e._v(" "),e._m(0),e._v(" "),e._m(1),e._v(" "),e._m(2)],1),e._v(" "),n("div",{class:e.$style.content},[n("el-divider",[n("span",[e._v("配方清单")])]),e._v(" "),e._m(3),e._v(" "),e._m(4),e._v(" "),e._m(5)],1),e._v(" "),n("div",{class:e.$style.content},[n("el-divider",[n("span",[e._v("物料清单")])]),e._v(" "),e._m(6),e._v(" "),e._m(7),e._v(" "),e._m(8)],1)])},we=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("设备名称:")]),e._v(" "),n("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("设备名称:")]),e._v(" "),n("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("设备名称:")]),e._v(" "),n("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("设备名称:")]),e._v(" "),n("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("设备名称:")]),e._v(" "),n("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("设备名称:")]),e._v(" "),n("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("设备名称:")]),e._v(" "),n("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("设备名称:")]),e._v(" "),n("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("设备名称:")]),e._v(" "),n("span",[e._v("设备A")])])}],ge={name:"Demo",components:{},props:{visible:{type:Boolean,default:!1}},data:function(){return{}},methods:{}},$e=ge,ye=n("c2ca");function ke(e){this["$style"]=ye["default"].locals||ye["default"]}var xe=Object(g["a"])($e,_e,we,!1,ke,null,null),je=xe.exports,qe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.container},[n("el-button",{directives:[{name:"show",rawName:"v-show",value:!e.isEdit,expression:"!isEdit"}],attrs:{type:"primary",size:"mini",icon:"el-icon-edit"},on:{click:function(t){return e.$emit("on-edit")}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.edit"))+"\n ")]),e._v(" "),n("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isEdit,expression:"isEdit"}],attrs:{type:"success",size:"mini",icon:"el-icon-s-promotion"},on:{click:function(t){return e.$bus.emit("on-process-save")}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.save"))+"\n ")]),e._v(" "),n("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isEdit,expression:"isEdit"}],attrs:{icon:"el-icon-close",size:"mini"},on:{click:function(t){return e.$emit("on-cancel")}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.cancel"))+"\n ")]),e._v(" "),e._t("default")],2)},Ee=[],Fe={props:{isEdit:{type:Boolean,default:!1}},data:function(){return{}},methods:{}},De=Fe,Oe=n("4225");function Ie(e){this["$style"]=Oe["default"].locals||Oe["default"]}var Pe=Object(g["a"])(De,qe,Ee,!1,Ie,null,null),Se=Pe.exports,Te={name:"ProcessDrawer",components:{ProcessChart:X,ProcessTable:ve,ProcessNodePanel:je,ProcessEditBar:Se},props:{visible:{type:Boolean,default:!1},processFlowId:{type:String,default:null}},data:function(){return{innerDrawer:!1,isEdit:!1}},methods:{handleDetail:function(){this.innerDrawer=!0},handleSubmit:function(){console.log("保存成功"),this.isEdit=!1}}},Be=Te,Ce=n("f3b2");function Ae(e){this["$style"]=Ce["default"].locals||Ce["default"]}var ze=Object(g["a"])(Be,L,V,!1,Ae,null,null),Le=ze.exports,Ve={components:{SearchBar:y,AddDialog:z,ProcessDrawer:Le},props:{},data:function(){return{moment:p.a,id:null,tableDataList:[],page:{total:0,current:1,size:10},addDialogVisible:!1,processDrawerVisible:!1,param:{}}},created:function(){this.handleSearch()},methods:{handleSearch:function(e){var t=this;this.param=e,console.log(e),Object(f["g"])(Object(r["a"])(Object(r["a"])({},e),this.page)).then((function(e){var n;console.log(e),t.page.total=e.data.total,e.data.records?t.tableDataList=u()(n=e.data.records).call(n,(function(e,n){return Object(r["a"])(Object(r["a"])({},e),{},{index:t.page.size*(t.page.current-1)+n+1,isValid:"1"===e.enabled})})):t.tableDataList=[]}))},handleAdd:function(){console.log("handleAdd"),this.addDialogVisible=!0,this.id=null},handleAddSuccess:function(){this.addDialogVisible=!1,this.page.current=1,this.handleSearch(this.param)},handleChange:function(e,t){var n=this;console.log(e,t);var s={enabled:e?"1":"0",id:t};Object(f["d"])(s).then((function(e){n.handleSearch(n.param)}))},handleProcessFlowDetail:function(e){this.processDrawerVisible=!0,this.id=e,this.$router.push({path:"/art/process",query:{redirect:"/art/list",title:"工艺流程",id:e}})},handleEdit:function(e){this.addDialogVisible=!0,this.id=e},handleSizeChange:function(e){console.log("每页 ".concat(e," 条")),this.page.size=e,this.handleSearch(this.param)},handleCurrentChange:function(e){console.log("当前页: ".concat(e)),this.page.current=e,this.handleSearch(this.param)},handleDelete:function(e){var t=this;this.$confirm(this.$t("module.art.delTip"),this.$t("module.art.tip"),{confirmButtonText:this.$t("module.art.confirm"),cancelButtonText:this.$t("module.art.cancel"),type:"warning"}).then(Object(i["a"])(o.a.mark((function n(){return o.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:Object(f["c"])({id:e}).then((function(e){t.page.current=1,t.handleSearch(t.param),t.$message({type:"info",message:t.$t("module.art.delSucc")})}));case 1:case"end":return n.stop()}}),n)}))))}}},Ne=Ve,Re=n("2584");function Ye(e){this["$style"]=Re["default"].locals||Re["default"]}var Me=Object(g["a"])(Ne,s,a,!1,Ye,null,null);t["default"]=Me.exports},"1ef8":function(e,t,n){e.exports={container:"list_container_3gVva",table:"list_table_1Smbo"}},2584:function(e,t,n){"use strict";var s=n("1ef8"),a=n.n(s);n.d(t,"default",(function(){return a.a}))},"294f":function(e,t,n){e.exports={c:"process-chart_c_3LXgj",chart:"process-chart_chart_SL9sC"}},4225:function(e,t,n){"use strict";var s=n("7821"),a=n.n(s);n.d(t,"default",(function(){return a.a}))},4341:function(e,t,n){"use strict";var s=n("7e6d"),a=n.n(s);n.d(t,"default",(function(){return a.a}))},"5b17":function(e,t,n){"use strict";var s=n("294f"),a=n.n(s);n.d(t,"default",(function(){return a.a}))},"643b":function(e,t,n){e.exports={dialog:"process-drawer_dialog_2wxcT",input:"process-drawer_input_3idWs",select:"process-drawer_select_1n-Z8"}},6983:function(e,t,n){e.exports={container:"submit-bar_container_1-UKi"}},"73c9":function(e,t,n){},7821:function(e,t,n){e.exports={container:"process-edit-bar_container_1bh-W"}},"7d3f":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var s=n("b775");function a(e){return Object(s["a"])({url:"api/process/process-flow-equipment/equipmentList",method:"post",data:e})}},"7e0d":function(e,t,n){e.exports={container:"process-node-panel_container_1nz_9",content:"process-node-panel_content_2ne7O"}},"7e6d":function(e,t,n){e.exports={content:"process-table_content_2g17L","flaw-detail":"process-table_flaw-detail_g8l5C","flaw-title":"process-table_flaw-title_3vhhy","flaw-btns":"process-table_flaw-btns_21fhD","flaw-select":"process-table_flaw-select_29x-9"}},"95f0":function(e,t,n){"use strict";var s=n("6983"),a=n.n(s);n.d(t,"default",(function(){return a.a}))},bfc5:function(e,t,n){"use strict";n("73c9")},c2ca:function(e,t,n){"use strict";var s=n("7e0d"),a=n.n(s);n.d(t,"default",(function(){return a.a}))},e242:function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return l})),n.d(t,"l",(function(){return o})),n.d(t,"a",(function(){return c})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"b",(function(){return p})),n.d(t,"k",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"e",(function(){return h}));var s=n("b775");function a(e){return Object(s["a"])({url:"/api/process/process-flow/page",method:"post",data:e})}function i(e){return Object(s["a"])({url:"/api/process/process-flow/get",method:"post",data:e})}function r(e){return Object(s["a"])({url:"/api/process/process-flow/enabled",method:"post",data:e})}function l(e){return Object(s["a"])({url:"/api/process/process-flow/delete",method:"post",data:e})}function o(e){return Object(s["a"])({url:"/api/process/process-flow/update",method:"post",data:e})}function c(e){return Object(s["a"])({url:"/api/process/process-flow/add",method:"post",data:e})}function u(e){return Object(s["a"])({url:"/api/process/process-flow-equipment/allEquipmentBomList",method:"post",data:e})}function d(e){return Object(s["a"])({url:"/api/process/process-flow-equipment/allEquipmentRecipeList",method:"post",data:e})}function p(e){return Object(s["a"])({url:"/api/process/process-flow-equipment/add",method:"post",data:e})}function f(e){return Object(s["a"])({url:"/api/process/process-flow-equipment/list",method:"post",data:e})}function m(e){return Object(s["a"])({url:"/api/process/work-sequence/list",method:"post",data:e})}function h(){return Object(s["a"])({url:"/api/process/process-flow/getCode",method:"post"})}},f3b2:function(e,t,n){"use strict";var s=n("643b"),a=n.n(s);n.d(t,"default",(function(){return a.a}))},ff9a:function(e,t,n){"use strict";var s=n("1d42"),a=n.n(s);n.d(t,"default",(function(){return a.a}))}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-0ebaadc4.8a9f2fe7.js b/dist/static/js/chunk-0ebaadc4.8a9f2fe7.js new file mode 100644 index 0000000..8f62ab5 --- /dev/null +++ b/dist/static/js/chunk-0ebaadc4.8a9f2fe7.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0ebaadc4"],{"03ef":function(t,e,a){},3105:function(t,e,a){"use strict";a("03ef")},"322f":function(t,e,a){"use strict";a.d(e,"e",(function(){return i})),a.d(e,"d",(function(){return r})),a.d(e,"f",(function(){return o})),a.d(e,"a",(function(){return s})),a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return c}));var l=a("b775");function i(t){return Object(l["a"])({url:"/api/wms/area/shelf",method:"post",data:t})}function r(t){return Object(l["a"])({url:"/api/wms/area/shelfById",method:"post",data:{id:t}})}function o(t){return Object(l["a"])({url:"/api/wms/area/updateshelf",method:"post",data:t})}function s(t){return Object(l["a"])({url:"/api/wms/area/addshelf",method:"post",data:t})}function n(){return Object(l["a"])({url:"/api/wms/area/getCode",method:"post"})}function c(t){return Object(l["a"])({url:"/api/wms/area/deleteshelf",method:"post",data:{id:t}})}},"6b45":function(t,e,a){"use strict";var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",[a("el-button",{attrs:{type:"text",size:"small"},on:{click:t.emitClick}},[t._v(t._s(t.$t("module.basicData.cache.addLocation")))])],1)},i=[],r={props:{injectData:{type:Object,default:function(){return{}}}},methods:{emitClick:function(){this.$router.push({name:"locationAdd",query:{id:this.injectData.id,code:this.injectData.code,total:this.injectData.total,shelfName:this.injectData.shelfName}})}}},o=r,s=a("2877"),n=Object(s["a"])(o,l,i,!1,null,null,null);e["a"]=n.exports},"93eb":function(t,e,a){"use strict";a.d(e,"e",(function(){return i})),a.d(e,"d",(function(){return r})),a.d(e,"f",(function(){return o})),a.d(e,"a",(function(){return s})),a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return c}));var l=a("b775");function i(t){return Object(l["a"])({url:"/api/wms/area/page",method:"post",data:t})}function r(t){return Object(l["a"])({url:"/api/wms/area/getById",method:"post",data:{id:t}})}function o(t){return Object(l["a"])({url:"/api/wms/area/update",method:"post",data:t})}function s(t){return Object(l["a"])({url:"/api/wms/area/add",method:"post",data:t})}function n(){return Object(l["a"])({url:"/api/wms/area/getCode",method:"post"})}function c(t){return Object(l["a"])({url:"/api/wms/area/delete",method:"post",data:{id:t}})}},b7d9:function(t,e,a){"use strict";var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")(t.dataForm.id?"btn.edit":"btn.add"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"130px"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.ShelfName"),prop:"name"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.ShelfName")]),clearable:""},model:{value:t.dataForm.shelfName,callback:function(e){t.$set(t.dataForm,"shelfName",e)},expression:"dataForm.shelfName"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.ShelfCode"),prop:"code"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.ShelfCode")]),clearable:""},model:{value:t.dataForm.code,callback:function(e){t.$set(t.dataForm,"code",e)},expression:"dataForm.code"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.StorageQuantity"),prop:"total"}},[a("el-input-number",{attrs:{step:1,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.StorageQuantity")]),clearable:""},model:{value:t.dataForm.total,callback:function(e){t.$set(t.dataForm,"total",e)},expression:"dataForm.total"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.rowNum"),prop:"rowNum"}},[a("el-input-number",{attrs:{step:1,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.rowNum")]),clearable:""},model:{value:t.dataForm.rowNum,callback:function(e){t.$set(t.dataForm,"rowNum",e)},expression:"dataForm.rowNum"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.columnNum"),prop:"columnNum"}},[a("el-input-number",{attrs:{step:1,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.columnNum")]),clearable:""},model:{value:t.dataForm.columnNum,callback:function(e){t.$set(t.dataForm,"columnNum",e)},expression:"dataForm.columnNum"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.confirm")))])],1)],1)},i=[],r=a("322f"),o={props:{areaId:{type:String,default:function(){return""}}},data:function(){return{visible:!1,isPage:!1,dataForm:{abbr:"n",id:0,areaId:"",shelfName:"",code:"",shelfNumber:"",total:""},areaArr:[],dataRule:{shelfName:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.cache.ShelfName")]),trigger:"blur"}],code:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.cache.ShelfCode")]),trigger:"blur"}],areaId:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.cache.AreaName")]),trigger:"change"}]}}},methods:{init:function(t){var e=this;this.dataForm.id=t||"",this.visible=!0,this.$nextTick((function(){e.$refs["dataForm"].resetFields(),e.dataForm.id?Object(r["d"])(e.dataForm.id).then((function(t){e.dataForm=t.data})):(e.dataForm.shelfName="",Object(r["b"])().then((function(t){e.dataForm.code=t.data})))}))},dataFormSubmit:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var a=t.dataForm;t.dataForm.id?Object(r["f"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})})):Object(r["a"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})}))}}))}}},s=o,n=a("2877"),c=Object(n["a"])(s,l,i,!1,null,null,null);e["a"]=c.exports},f6cf:function(t,e,a){"use strict";a.r(e);var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{margin:"20px"}},[a("el-row",{attrs:{gutter:15}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.rules,size:"medium","label-width":"140px"}},[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.CacheName"),prop:"tareaName"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.CacheName")]),clearable:""},model:{value:t.dataForm.tareaName,callback:function(e){t.$set(t.dataForm,"tareaName",e)},expression:"dataForm.tareaName"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.CacheCode"),prop:"code"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,label:t.$t("module.basicData.cache.CacheCode"),clearable:""},model:{value:t.dataForm.code,callback:function(e){t.$set(t.dataForm,"code",e)},expression:"dataForm.code"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.EnglishName"),prop:"enName"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.EnglishName")]),clearable:""},model:{value:t.dataForm.enName,callback:function(e){t.$set(t.dataForm,"enName",e)},expression:"dataForm.enName"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Abbreviation"),prop:"abbr"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Abbreviation")]),clearable:""},model:{value:t.dataForm.abbr,callback:function(e){t.$set(t.dataForm,"abbr",e)},expression:"dataForm.abbr"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Specs"),prop:"spec"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Specs")]),clearable:""},model:{value:t.dataForm.spec,callback:function(e){t.$set(t.dataForm,"spec",e)},expression:"dataForm.spec"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.CurrentState"),prop:"status"}},[a("el-select",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.CurrentState")]),clearable:""},model:{value:t.dataForm.status,callback:function(e){t.$set(t.dataForm,"status",e)},expression:"dataForm.status"}},t._l(t.currentStatusOptions,(function(t,e){return a("el-option",{key:e,attrs:{label:t.label,value:t.value,disabled:t.disabled}})})),1)],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.StockNumber"),prop:"locationNum"}},[a("el-input-number",{attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.StockNumber")]),step:1},model:{value:t.dataForm.locationNum,callback:function(e){t.$set(t.dataForm,"locationNum",e)},expression:"dataForm.locationNum"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.AreaNumber"),prop:"shelfNum"}},[a("el-input-number",{attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.AreaNumber")]),step:1},model:{value:t.dataForm.shelfNum,callback:function(e){t.$set(t.dataForm,"shelfNum",e)},expression:"dataForm.shelfNum"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Remarks"),prop:"note"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Remarks")]),clearable:""},model:{value:t.dataForm.note,callback:function(e){t.$set(t.dataForm,"note",e)},expression:"dataForm.note"}})],1)],1)],1)],1),t._v(" "),a("div",{staticStyle:{margin:"20px"}},[a("el-button",{attrs:{type:"success"},on:{click:function(e){return t.goback()}}},[t._v(t._s(t._f("i18nFilter")("btn.back")))]),t._v(" "),t.isdetail?t._e():a("span",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.save")))]),t._v(" "),t.listQuery.id?a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.addNew()}}},[t._v(t._s(t.$t("module.basicData.cache.addCacheArea")))]):t._e()],1)],1),t._v(" "),a("div",{staticStyle:{height:"380px",overflow:"auto"}},[a("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-config":t.tableProps,"table-data":t.list}},[t.isdetail?t._e():a("method-btn",{attrs:{slot:"handleBtn","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"})],1)],1),t._v(" "),t.addOrUpdateVisible?a("shelfAttr-add",{ref:"addOrUpdate",attrs:{"cache-id":t.listQuery.id},on:{refreshDataList:t.getList}}):t._e()],1)},i=[],r=(a("7f7f"),a("3393")),o=a.n(r),s=a("a3e3"),n=a.n(s),c=a("9923"),d=a("93eb"),u=a("322f"),m=a("c0ee"),b=a("ebe9"),p=a("b7d9"),h=a("6b45"),f=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],F=[{prop:"shelfName",label:c["a"].t("module.basicData.cache.AreaName"),align:"center"},{prop:"code",label:c["a"].t("module.basicData.cache.AreaCode"),align:"center"},{prop:"total",label:c["a"].t("module.basicData.cache.StorageQuantity"),align:"center"},{prop:"rowNum",label:c["a"].t("module.basicData.cache.rowNum"),align:"center"},{prop:"columnNum",label:c["a"].t("module.basicData.cache.columnNum"),align:"center"},{prop:"shelf",label:c["a"].t("module.basicData.cache.Location"),subcomponent:h["a"],align:"center"}],v={components:{BaseTable:m["a"],MethodBtn:b["a"],shelfAttrAdd:p["a"]},data:function(){return{addOrUpdateVisible:!1,tableBtn:f,trueWidth:200,tableProps:F,list:[],dataForm:{tareaName:"",code:"",enName:"",abbr:"",spec:"",status:"",locationNum:"",shelfNum:"",note:""},listQuery:{current:1,size:990,id:""},rules:{tareaName:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.cache.CacheName")]),trigger:"blur"}],code:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.cache.CacheCode")]),trigger:"blur"}]},currentStatusOptions:[{label:"正常",value:0},{label:"暂停",value:1},{label:"维修",value:2}],id:"",isdetail:!1}},created:function(){this.id=this.$route.query.id,this.init()},methods:{init:function(){var t,e=this;this.isdetail=!1,this.isdetail=Boolean(this.$route.query.isdetail),this.listQuery.id="",o()(t=this.list).call(t,0,this.list.length),this.$nextTick((function(){e.$refs["dataForm"].resetFields(),e.id?(Object(d["d"])(e.id).then((function(t){e.dataForm=t.data})),e.listQuery.id=e.id,console.log(e.listQuery.id),Object(u["e"])(e.listQuery).then((function(t){var a;(console.log(t),t.data.records)?e.list=t.data.records:o()(a=e.list).call(a,0,e.list.length)}))):Object(d["b"])().then((function(t){e.dataForm.code=t.data}))}))},getList:function(){var t=this;Object(u["e"])(this.listQuery).then((function(e){e.data.records&&(t.list=e.data.records)}))},handleClick:function(t){var e,a=this;"delete"===t.type?this.$confirm(n()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.name,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(u["c"])(t.data.id).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getList()}})}))}))["catch"]((function(){})):this.addNew(t.data.id)},dataFormSubmit:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var a={abbr:t.dataForm.abbr,code:t.dataForm.code,status:t.dataForm.status,enName:t.dataForm.enName,tareaName:t.dataForm.tareaName,note:t.dataForm.note,spec:t.dataForm.spec,locationNum:t.dataForm.locationNum,shelfNum:t.dataForm.shelfNum,id:t.id};t.id?Object(d["f"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500})})):Object(d["a"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500}),t.listQuery.id=e.data.id}))}}))},addNew:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t)}))},goback:function(){this.$router.go(-1)}}},$=v,N=(a("3105"),a("2877")),g=Object(N["a"])($,l,i,!1,null,"66806479",null);e["default"]=g.exports}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-0f24abb6.361fb832.js b/dist/static/js/chunk-0f24abb6.361fb832.js new file mode 100644 index 0000000..714a884 --- /dev/null +++ b/dist/static/js/chunk-0f24abb6.361fb832.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0f24abb6"],{"0283":function(e,a,t){"use strict";t("e2ca")},"09f4":function(e,a,t){"use strict";t.d(a,"a",(function(){return n}));var o=t("2b0b"),l=t.n(o);Math.easeInOutQuad=function(e,a,t,o){return e/=o/2,e<1?t/2*e*e+a:(e--,-t/2*(e*(e-2)-1)+a)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){l()(e,1e3/60)}}();function i(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function n(e,a,t){var o=s(),l=e-o,n=20,d=0;a="undefined"===typeof a?500:a;var u=function e(){d+=n;var s=Math.easeInOutQuad(d,o,l,a);i(s),d0,expression:"total > 0"}],attrs:{total:e.total,page:e.formData.current,limit:e.formData.size},on:{"update:page":function(a){return e.$set(e.formData,"current",a)},"update:limit":function(a){return e.$set(e.formData,"size",a)},pagination:function(a){return e.getList()}}}),e._v(" "),e.addOrUpdateVisible?t("historical-task-info",{ref:"addOrUpdate",on:{refreshDataList:e.getList}}):e._e()],1)},l=[],r=t("3393"),i=t.n(r),s=t("1bb6"),n=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("el-dialog",{attrs:{title:e._f("i18nFilter")("btn.see"),visible:e.visible,width:"60%"},on:{"update:visible":function(a){e.visible=a}}},[t("el-row",{attrs:{gutter:10}},[t("el-form",{ref:"dataForm",attrs:{model:e.dataForm,size:"medium","label-width":"170px","label-position":"left"}},[t("el-col",{attrs:{span:8}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.Code"),prop:"taskCode"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.taskCode,callback:function(a){e.$set(e.dataForm,"taskCode",a)},expression:"dataForm.taskCode"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.OrderName"),prop:"orderName"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.orderName,callback:function(a){e.$set(e.dataForm,"orderName",a)},expression:"dataForm.orderName"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.TaskBoxNumber"),prop:"fullCode"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.fullCode,callback:function(a){e.$set(e.dataForm,"fullCode",a)},expression:"dataForm.fullCode"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.VehicleName"),prop:"name"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.name,callback:function(a){e.$set(e.dataForm,"name",a)},expression:"dataForm.name"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.EmptyFork"),prop:"field124"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.field124,callback:function(a){e.$set(e.dataForm,"field124",a)},expression:"dataForm.field124"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.EmptyHandlingTime"),prop:"field119"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.field119,callback:function(a){e.$set(e.dataForm,"field119",a)},expression:"dataForm.field119"}})],1)],1)],1)],1),e._v(" "),t("el-col",{attrs:{span:8}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.ExecutionTime"),prop:"createTime"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.createTime,callback:function(a){e.$set(e.dataForm,"createTime",a)},expression:"dataForm.createTime"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.TaskType"),prop:"taskType"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.taskType,callback:function(a){e.$set(e.dataForm,"taskType",a)},expression:"dataForm.taskType"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.FullBoxNumber"),prop:"emptyCode"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.emptyCode,callback:function(a){e.$set(e.dataForm,"emptyCode",a)},expression:"dataForm.emptyCode"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.TaskLocation"),prop:"anotherCurrLocation"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.anotherCurrLocation,callback:function(a){e.$set(e.dataForm,"anotherCurrLocation",a)},expression:"dataForm.anotherCurrLocation"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.TaskBoxFork"),prop:"field121"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.field121,callback:function(a){e.$set(e.dataForm,"field121",a)},expression:"dataForm.field121"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.TaskBoxHandlingTime"),prop:"field122"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.field122,callback:function(a){e.$set(e.dataForm,"field122",a)},expression:"dataForm.field122"}})],1)],1)],1)],1),e._v(" "),t("el-col",{attrs:{span:8}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.TaskSource"),prop:"taskSource"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.taskSource,callback:function(a){e.$set(e.dataForm,"taskSource",a)},expression:"dataForm.taskSource"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.PreviousOperation"),prop:"anotherCurrProcessCode"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.anotherCurrProcessCode,callback:function(a){e.$set(e.dataForm,"anotherCurrProcessCode",a)},expression:"dataForm.anotherCurrProcessCode"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.NextOperation"),prop:"anotherNextProcessCode"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.anotherNextProcessCode,callback:function(a){e.$set(e.dataForm,"anotherNextProcessCode",a)},expression:"dataForm.anotherNextProcessCode"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.TargetLocation"),prop:"anotherTargetLocation"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.anotherTargetLocation,callback:function(a){e.$set(e.dataForm,"anotherTargetLocation",a)},expression:"dataForm.anotherTargetLocation"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.CompletionTime"),prop:"field125"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.field125,callback:function(a){e.$set(e.dataForm,"field125",a)},expression:"dataForm.field125"}})],1)],1),e._v(" "),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$t("module.basicData.Warehouse.BoxStatus"),prop:"field126"}},[t("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:e.dataForm.field126,callback:function(a){e.$set(e.dataForm,"field126",a)},expression:"dataForm.field126"}})],1)],1)],1)],1)],1)],1),e._v(" "),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(a){e.visible=!1}}},[e._v(e._s(e._f("i18nFilter")("btn.cancel")))])],1)],1)},d=[],u={data:function(){return{visible:!1,dataForm:{id:"",taskCode:void 0,orderName:void 0,fullCode:void 0,name:void 0,field124:void 0,field119:void 0,createTime:void 0,taskType:void 0,emptyCode:void 0,anotherCurrLocation:void 0,field121:void 0,field122:void 0,taskSource:void 0,anotherCurrProcessCode:void 0,anotherNextProcessCode:void 0,anotherTargetLocation:void 0,field125:void 0,field126:void 0}}},methods:{init:function(e){var a=this;this.dataForm.id=e,this.visible=!0,this.$nextTick((function(){a.$refs["dataForm"].resetFields(),Object(s["c"])(a.dataForm.id).then((function(e){a.dataForm=e.data}))}))}}},c=u,m=t("2877"),p=Object(m["a"])(c,n,d,!1,null,null,null),f=p.exports,b=t("9923"),h=t("c0ee"),v=t("333d"),k=t("ebe9"),F=t("8975"),y=[{type:"view",btnName:"btn.see"}],T=[{prop:"taskCode",label:b["a"].t("module.basicData.Warehouse.Code"),align:"center"},{prop:"createTime",label:b["a"].t("module.basicData.Warehouse.ExecutionTime"),filter:F["timeFormatter"],align:"center"},{prop:"taskSource",label:b["a"].t("module.basicData.Warehouse.TaskSource"),align:"center"},{prop:"taskType",label:b["a"].t("module.basicData.Warehouse.TaskType"),align:"center"},{prop:"fullCode",label:b["a"].t("module.basicData.Warehouse.TaskBoxNumber"),align:"center"},{prop:"emptyCode",label:b["a"].t("module.basicData.Warehouse.FullBoxNumber"),align:"center"},{prop:"wcurrProcessCode",label:b["a"].t("module.basicData.Warehouse.PreviousOperation"),align:"center"},{prop:"wnextProcessCode",label:b["a"].t("module.basicData.Warehouse.NextOperation"),align:"center"},{prop:"anotherCurrLocation",label:b["a"].t("module.basicData.Warehouse.StartLocation"),align:"center"},{prop:"anotherTargetLocation",label:b["a"].t("module.basicData.Warehouse.TargetLocation"),align:"center"},{prop:"currLocation",label:b["a"].t("module.basicData.Warehouse.FullBoxStartLocation"),align:"center"},{prop:"name",label:b["a"].t("module.basicData.Warehouse.VehicleName"),align:"center"}],D={name:"ScrapInfo",components:{Pagination:v["a"],BaseTable:h["a"],MethodBtn:k["a"],HistoricalTaskInfo:f},data:function(){return{trueWidth:100,addOrUpdateVisible:!1,tableProps:T,tableBtn:y,list:[],total:0,listLoading:!1,formData:{taskType:"",status:"",equipmentId:"",current:1,size:10},taskTypeList:[{label:"出库",value:0},{label:"入库",value:1},{label:"流转",value:2}],TaskStatusList:[{label:"初始化",value:0},{label:"损坏",value:1}],VehicleNameList:[{label:"小车1",value:0},{label:"小车2",value:1}]}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(s["d"])(this.formData).then((function(a){var t;a.data.records?e.list=a.data.records:i()(t=e.list).call(t,0,e.list.length);e.total=a.data.total,e.listLoading=!1}))},handleClick:function(e){console.log(e),this.addNew(e.data.id)},addNew:function(e){var a=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){a.$refs.addOrUpdate.init(e)}))}}},$=D,w=(t("0283"),Object(m["a"])($,o,l,!1,null,"5282d6b8",null));a["default"]=w.exports},e2ca:function(e,a,t){}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-11aace31.423fe0e5.js b/dist/static/js/chunk-11aace31.423fe0e5.js new file mode 100644 index 0000000..0783e6d --- /dev/null +++ b/dist/static/js/chunk-11aace31.423fe0e5.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-11aace31"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));var n=a("2b0b"),i=a.n(n);Math.easeInOutQuad=function(t,e,a,n){return t/=n/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var o=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){i()(t,1e3/60)}}();function u(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(t,e,a){var n=s(),i=t-n,r=20,c=0;e="undefined"===typeof e?500:e;var l=function t(){c+=r;var s=Math.easeInOutQuad(c,n,i,e);u(s),c0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}})],1)},i=[],o=(a("7f7f"),a("a3e3")),u=a.n(o),s=a("3393"),r=a.n(s),c=a("9923"),l=a("abd6"),d=a("bb1e"),m=a("c0ee"),p=a("333d"),f=a("ebe9"),b=a("8975"),h=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"},{type:"detail",btnName:"btn.detail"}],g=[{prop:"createTime",label:c["a"].t("module.basicData.factory.createTime"),filter:b["timeFormatter"],align:"center"},{prop:"name",label:c["a"].t("module.basicData.equipment.EquipmentName"),align:"center"},{prop:"code",label:c["a"].t("module.basicData.equipment.EquipmentCode"),align:"center"},{prop:"typeName",label:c["a"].t("module.basicData.equipment.EquipmentType"),align:"center"},{prop:"enName",label:c["a"].t("module.basicData.visual.EnglishName"),align:"center"},{prop:"abbr",label:c["a"].t("module.basicData.equipment.shortName"),align:"center"}],y={name:"EquipmentInfo",components:{Pagination:p["a"],BaseTable:m["a"],MethodBtn:f["a"],HeadForm:d["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{keyName:this.$t("module.basicData.equipment.EquipmentCode"),placeholderName:this.$t("module.basicData.equipment.EquipmentCode"),tableBtn:h,trueWidth:240,tableProps:g,list:[{typeName:""}],total:0,listLoading:!0,listQuery:{current:1,size:10}}},created:function(){this.getList()},methods:{handleClick:function(t){var e,a=this;"delete"===t.type?this.$confirm(u()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.name,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(l["c"])(t.data.id).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getList()}})}))}))["catch"]((function(){})):"edit"===t.type?this.addNew(t.data.id):this.addNew(t.data.id,!0)},getList:function(t){var e=this;this.listLoading=!0,this.listQuery.name=t,this.listQuery.code=t,Object(l["f"])(this.listQuery).then((function(t){if(console.log(t),t.data.records){e.list=t.data.records;for(var a=0;a0,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("dataDictionaryData-add",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e()],1)},n=[],o=e("a3e3"),r=e.n(o),d=e("3393"),l=e.n(d),s=e("5886"),c=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("el-dialog",{attrs:{title:t._f("i18nFilter")(t.dataForm.id?"btn.edit":"btn.add"),visible:t.visible},on:{"update:visible":function(a){t.visible=a}}},[e("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"170px"},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&t._k(a.keyCode,"enter",13,a.key,"Enter")?null:t.dataFormSubmit()}}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.dataDictionary.dataDictionaryName"),prop:"dataName"}},[e("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.dataDictionary.dataDictionaryName")]),clearable:""},model:{value:t.dataForm.dataName,callback:function(a){t.$set(t.dataForm,"dataName",a)},expression:"dataForm.dataName"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("module.basicData.dataDictionary.dataDictionaryCode"),prop:"dataCode"}},[e("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.dataDictionary.dataDictionaryCode")]),clearable:""},model:{value:t.dataForm.dataCode,callback:function(a){t.$set(t.dataForm,"dataCode",a)},expression:"dataForm.dataCode"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Remarks"),prop:"remark"}},[e("el-input",{attrs:{type:"textarea",rows:2,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Remarks")]),clearable:""},model:{value:t.dataForm.remark,callback:function(a){t.$set(t.dataForm,"remark",a)},expression:"dataForm.remark"}})],1)],1),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(a){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:function(a){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.confirm")))])],1)],1)},u=[],m={data:function(){return{visible:!1,dataForm:{id:0,dataName:"",dataCode:"",remark:"",dictTypeId:""},dataRule:{dataName:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.dataDictionary.dataDictionaryName")]),trigger:"blur"}],dataCode:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.dataDictionary.dataDictionaryCode")]),trigger:"blur"}]}}},methods:{init:function(t){var a=this;this.dataForm.dictTypeId=this.$route.query.dictTypeId,this.dataForm.id=t||"",this.visible=!0,this.$nextTick((function(){a.$refs["dataForm"].resetFields(),a.dataForm.id&&Object(s["c"])(a.dataForm.id).then((function(t){a.dataForm=t.data}))}))},dataFormSubmit:function(){var t=this;this.$refs["dataForm"].validate((function(a){if(a){var e=t.dataForm;t.dataForm.id?Object(s["e"])(e).then((function(a){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})})):Object(s["a"])(e).then((function(a){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})}))}}))}}},p=m,b=e("2877"),f=Object(b["a"])(p,c,u,!1,null,null,null),h=f.exports,y=e("c0ee"),D=e("333d"),v=e("ebe9"),$=e("9923"),F=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],g=[{prop:"typeCode",label:$["a"].t("module.basicData.materialsType.TypeCode"),align:"center"},{prop:"dataName",label:$["a"].t("module.basicData.dataDictionary.dataDictionaryName"),align:"center"},{prop:"dataCode",label:$["a"].t("module.basicData.dataDictionary.dataDictionaryCode"),align:"center"},{prop:"remark",label:$["a"].t("module.basicData.visual.Remarks"),align:"center"}],k={name:"Factory",components:{Pagination:D["a"],BaseTable:y["a"],MethodBtn:v["a"],DataDictionaryDataAdd:h},filters:{statusFilter:function(t){var a={published:"success",draft:"info",deleted:"danger"};return a[t]}},data:function(){return{addOrUpdateVisible:!1,tableBtn:F,trueWidth:200,tableProps:g,list:[],total:0,listLoading:!0,listQuery:{current:1,size:10,dictTypeId:"",dataName:"",dataCode:""}}},created:function(){this.listQuery.dictTypeId=this.$route.query.dictTypeId,this.getList()},methods:{handleClick:function(t){var a,e=this;"delete"===t.type?this.$confirm(r()(a="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(a,t.data.dataName,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(s["b"])(t.data.id).then((function(t){e.$message({message:e.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){e.getList()}})}))}))["catch"]((function(){})):this.addNew(t.data.id)},getList:function(){var t=this;this.listLoading=!0,Object(s["d"])(this.listQuery).then((function(a){var e;a.data.records?t.list=a.data.records:l()(e=t.list).call(e,0,t.list.length);t.total=a.data.total,t.listLoading=!1}))},addNew:function(t){var a=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){a.$refs.addOrUpdate.init(t)}))},goback:function(){this.$router.go(-1)}}},_=k,w=(e("d5c5"),Object(b["a"])(_,i,n,!1,null,"732c3250",null));a["default"]=w.exports},"404d":function(t,a,e){},5886:function(t,a,e){"use strict";e.d(a,"d",(function(){return n})),e.d(a,"c",(function(){return o})),e.d(a,"e",(function(){return r})),e.d(a,"a",(function(){return d})),e.d(a,"b",(function(){return l}));var i=e("b775");function n(t){return Object(i["a"])({url:"/api/wms/platform-dict/selectPlatformDictDataListByPage",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/api/wms/platform-dict/selectPlatformDictDataById",method:"post",data:{id:t}})}function r(t){return Object(i["a"])({url:"/api/wms/platform-dict/updatePlatformDictData",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/api/wms/platform-dict/savePlatformDictData",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/api/wms/platform-dict/deletePlatformDictData",method:"post",data:{id:t}})}},d5c5:function(t,a,e){"use strict";e("404d")}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-16bb1ba0.415f8fe8.js b/dist/static/js/chunk-16bb1ba0.415f8fe8.js new file mode 100644 index 0000000..3b6869c --- /dev/null +++ b/dist/static/js/chunk-16bb1ba0.415f8fe8.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-16bb1ba0"],{"24e2":function(t,a,i){"use strict";i.r(a);var s=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"errPage-container"},[i("el-button",{staticClass:"pan-back-btn",attrs:{icon:"el-icon-arrow-left"},on:{click:t.back}},[t._v("\n "+t._s(t._f("i18nFilter")("btn.back"))+"\n ")]),t._v(" "),i("el-row",[i("el-col",{attrs:{span:12}},[i("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("\n Oops!\n ")]),t._v("\n gif来源"),i("a",{attrs:{href:"https://zh.airbnb.com/",target:"_blank"}},[t._v("airbnb")]),t._v(" 页面\n "),i("h2",[t._v("你没有权限去该页面")]),t._v(" "),i("h6",[t._v("如有不满请联系你领导")]),t._v(" "),i("ul",{staticClass:"list-unstyled"},[i("li",[t._v("或者你可以去:")]),t._v(" "),i("li",{staticClass:"link-type"},[i("router-link",{attrs:{to:"/dashboard"}},[t._v("\n 回首页\n ")])],1),t._v(" "),i("li",{staticClass:"link-type"},[i("a",{attrs:{href:"https://www.taobao.com/"}},[t._v("随便看看")])]),t._v(" "),i("li",[i("a",{attrs:{href:"#"},on:{click:function(a){a.preventDefault(),t.dialogVisible=!0}}},[t._v("点我看图")])])])]),t._v(" "),i("el-col",{attrs:{span:12}},[i("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),i("el-dialog",{attrs:{visible:t.dialogVisible,title:"随便看"},on:{"update:visible":function(a){t.dialogVisible=a}}},[i("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},e=[],n=i("cc6c"),r=i.n(n),l={name:"Page401",data:function(){return{errGif:r.a+"?"+ +new Date,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/dashboard"}):this.$router.go(-1)}}},c=l,o=(i("9f13"),i("2877")),u=Object(o["a"])(c,s,e,!1,null,"1cdf759b",null);a["default"]=u.exports},9947:function(t,a,i){},"9f13":function(t,a,i){"use strict";i("9947")},cc6c:function(t,a,i){t.exports=i.p+"static/img/401.089007e7.gif"}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-19c1fc52.239025ae.js b/dist/static/js/chunk-19c1fc52.239025ae.js new file mode 100644 index 0000000..b1279ae --- /dev/null +++ b/dist/static/js/chunk-19c1fc52.239025ae.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-19c1fc52"],{"04ff":function(e,t,a){var n=a("437b"),i=a("1519"),r=Array.prototype;e.exports=function(e){var t=e.find;return e===r||n(r,e)&&t===r.find?i:t}},"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a("2b0b"),i=a.n(n);Math.easeInOutQuad=function(e,t,a,n){return e/=n/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){i()(e,1e3/60)}}();function o(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function c(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(e,t,a){var n=c(),i=e-n,s=20,d=0;t="undefined"===typeof t?500:t;var l=function e(){d+=s;var c=Math.easeInOutQuad(d,n,i,t);o(c),d0,expression:"total > 0"}],attrs:{total:e.total,page:e.listQuery.current,limit:e.listQuery.size},on:{"update:page":function(t){return e.$set(e.listQuery,"current",t)},"update:limit":function(t){return e.$set(e.listQuery,"size",t)},pagination:function(t){return e.getList()}}}),e._v(" "),e.addOrUpdateVisible?a("cacheArea-add",{ref:"addOrUpdate",attrs:{"cache-id":e.listQuery.cacheId},on:{refreshDataList:e.getList}}):e._e()],1)},i=[],r=(a("7f7f"),a("a3e3")),o=a.n(r),c=a("4573"),s=a.n(c),d=a("fc56"),l=a.n(d),u=a("3393"),m=a.n(u),f=a("9923"),h=a("b775");function p(e){return Object(h["a"])({url:"/api/wms/area/page",method:"post",data:e})}function b(e){return Object(h["a"])({url:"/api/wms/area/getById",method:"post",data:{id:e}})}function v(e){return Object(h["a"])({url:"/api/wms/area/update",method:"post",data:e})}function g(e){return Object(h["a"])({url:"/api/wms/area/add",method:"post",data:e})}function y(){return Object(h["a"])({url:"/api/wms/area/getCode",method:"post"})}function $(e){return Object(h["a"])({url:"/api/wms/area/delete",method:"post",data:{id:e}})}var F=a("93eb"),w=a("bb1e"),D=a("c0ee"),N=a("333d"),k=a("ebe9"),O=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("span",[a("el-button",{attrs:{type:"text",size:"small"},on:{click:e.emitClick}},[e._v(e._s(e.$t("module.basicData.cache.addLocation")))])],1)},_=[],A={props:{injectData:{type:Object,default:function(){return{}}}},methods:{emitClick:function(){this.$router.push({name:"shelfAdd",query:{id:this.injectData.id}})}}},x=A,j=a("2877"),C=Object(j["a"])(x,O,_,!1,null,null,null),L=C.exports,T=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e._f("i18nFilter")(e.dataForm.cacheId?"btn.edit":"btn.add"),visible:e.visible},on:{"update:visible":function(t){e.visible=t}}},[a("el-form",{ref:"dataForm",attrs:{model:e.dataForm,rules:e.dataRule,"label-width":"130px"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:e.$t("module.basicData.cache.AreaName"),prop:"name"}},[a("el-input",{attrs:{placeholder:e.$i18nForm(["placeholder.input",e.$t("module.basicData.cache.AreaName")]),clearable:""},model:{value:e.dataForm.name,callback:function(t){e.$set(e.dataForm,"name",t)},expression:"dataForm.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("module.basicData.cache.AreaCode"),prop:"code"}},[a("el-input",{attrs:{placeholder:e.$i18nForm(["placeholder.input",e.$t("module.basicData.cache.AreaCode")]),clearable:""},model:{value:e.dataForm.code,callback:function(t){e.$set(e.dataForm,"code",t)},expression:"dataForm.code"}})],1),e._v(" "),e.isPage?a("el-form-item",{attrs:{label:e.$t("module.basicData.cache.CacheName"),prop:"cacheId"}},[a("el-select",{attrs:{filterable:"",placeholder:e.$i18nForm(["placeholder.input",e.$t("module.basicData.cache.CacheName")]),clearable:""},model:{value:e.dataForm.cacheId,callback:function(t){e.$set(e.dataForm,"cacheId",t)},expression:"dataForm.cacheId"}},e._l(e.cacheArr,(function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1):e._e(),e._v(" "),a("el-form-item",{attrs:{label:e.$t("module.basicData.cache.StorageQuantity"),prop:"areaNumber"}},[a("el-input-number",{attrs:{placeholder:e.$i18nForm(["placeholder.input",e.$t("module.basicData.cache.StorageQuantity")]),step:1},model:{value:e.dataForm.areaNumber,callback:function(t){e.$set(e.dataForm,"areaNumber",t)},expression:"dataForm.areaNumber"}})],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.visible=!1}}},[e._v(e._s(e._f("i18nFilter")("btn.cancel")))]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.dataFormSubmit()}}},[e._v(e._s(e._f("i18nFilter")("btn.confirm")))])],1)],1)},I=[],Q={props:{cacheId:{type:String,default:function(){return""}}},data:function(){return{visible:!1,isPage:!1,dataForm:{id:0,cacheId:"",name:"",code:"",areaNumber:""},cacheArr:[],dataRule:{name:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.cache.AreaName")]),trigger:"blur"}],code:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.cache.AreaCode")]),trigger:"blur"}],cacheId:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.cache.CacheName")]),trigger:"change"}]}}},methods:{init:function(e,t){var a,n=this;this.isPage=t||!1,this.dataForm.id=e||"",this.isPage||(this.dataForm.cacheId=this.cacheId),m()(a=this.cacheArr).call(a,0,this.cacheArr.length);var i={current:1,size:500};Object(F["e"])(i).then((function(e){e.data.records&&(n.cacheArr=e.data.records)})),this.visible=!0,this.$nextTick((function(){n.$refs["dataForm"].resetFields(),n.dataForm.id?b(n.dataForm.id).then((function(e){n.dataForm=e.data})):y().then((function(e){n.dataForm.code=e.data}))}))},dataFormSubmit:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var a=e.dataForm;e.dataForm.id?v(a).then((function(t){e.$message({message:e.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){e.visible=!1,e.$emit("refreshDataList")}})})):g(a).then((function(t){e.$message({message:e.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){e.visible=!1,e.$emit("refreshDataList")}})}))}}))}}},B=Q,z=Object(j["a"])(B,T,I,!1,null,null,null),S=z.exports,q=a("8975"),P=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],E=[{prop:"createTime",label:f["a"].t("module.basicData.factory.createTime"),filter:q["timeFormatter"],align:"center"},{prop:"name",label:f["a"].t("module.basicData.cache.AreaName"),align:"center"},{prop:"code",label:f["a"].t("module.basicData.cache.AreaCode"),align:"center"},{prop:"cacheName",label:f["a"].t("module.basicData.cache.CacheName"),align:"center"},{prop:"areaNumber",label:f["a"].t("module.basicData.cache.StorageQuantity"),align:"center"},{prop:"shelf",label:f["a"].t("module.basicData.cache.Shelf"),subcomponent:L,align:"center"}],U={name:"Area",components:{Pagination:N["a"],BaseTable:D["a"],MethodBtn:k["a"],HeadForm:w["a"],cacheAreaAdd:S},filters:{statusFilter:function(e){var t={published:"success",draft:"info",deleted:"danger"};return t[e]}},data:function(){return{addOrUpdateVisible:!1,keyName:f["a"].t("module.basicData.visual.keyword"),placeholderName:this.$t("module.basicData.cache.AreaName"),tableBtn:P,trueWidth:200,tableProps:E,list:[],cacheList:[],total:0,listLoading:!0,listQuery:{current:1,size:10}}},created:function(){var e=this,t={current:1,size:500};Object(F["e"])(t).then((function(t){t.data.records&&(e.cacheList=t.data.records,e.getList())}))},methods:{handleClick:function(e){var t,a=this;"delete"===e.type?this.$confirm(o()(t="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(t,e.data.name,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){$(e.data.id).then((function(e){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getList()}})}))}))["catch"]((function(){})):"edit"===e.type?this.addNew(e.data.id):this.addNew(e.data.id,!0)},getList:function(e){var t=this;this.listLoading=!0,this.listQuery.name=e,p(this.listQuery).then((function(e){var a,n;e.data.records?(t.list=e.data.records,s()(a=t.list).call(a,(function(e){var a,n=l()(a=t.cacheList).call(a,(function(t){if(t.id===e.cacheId)return t}));n&&(e.cacheName=n.name)}))):m()(n=t.list).call(n,0,t.list.length);t.total=e.data.total,t.listLoading=!1}))},addNew:function(e){var t=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){t.$refs.addOrUpdate.init(e,!0)}))}}},R=U,M=(a("70b9"),Object(j["a"])(R,n,i,!1,null,"3f4062d7",null));t["default"]=M.exports},"70b9":function(e,t,a){"use strict";a("962f")},"93eb":function(e,t,a){"use strict";a.d(t,"e",(function(){return i})),a.d(t,"d",(function(){return r})),a.d(t,"f",(function(){return o})),a.d(t,"a",(function(){return c})),a.d(t,"b",(function(){return s})),a.d(t,"c",(function(){return d}));var n=a("b775");function i(e){return Object(n["a"])({url:"/api/wms/area/page",method:"post",data:e})}function r(e){return Object(n["a"])({url:"/api/wms/area/getById",method:"post",data:{id:e}})}function o(e){return Object(n["a"])({url:"/api/wms/area/update",method:"post",data:e})}function c(e){return Object(n["a"])({url:"/api/wms/area/add",method:"post",data:e})}function s(){return Object(n["a"])({url:"/api/wms/area/getCode",method:"post"})}function d(e){return Object(n["a"])({url:"/api/wms/area/delete",method:"post",data:{id:e}})}},"962f":function(e,t,a){},bdf4:function(e,t,a){"use strict";var n=a("a5eb"),i=a("dee0").find,r=a("c44e"),o="find",c=!0;o in[]&&Array(1)[o]((function(){c=!1})),n({target:"Array",proto:!0,forced:c},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),r(o)},fc56:function(e,t,a){e.exports=a("2b1b")}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-1c8763b4.f20fcf95.js b/dist/static/js/chunk-1c8763b4.f20fcf95.js new file mode 100644 index 0000000..f272601 --- /dev/null +++ b/dist/static/js/chunk-1c8763b4.f20fcf95.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1c8763b4"],{"04ad":function(t,e,a){"use strict";a("62cf")},"24fd":function(t,e,a){"use strict";a.d(e,"e",(function(){return r})),a.d(e,"d",(function(){return n})),a.d(e,"a",(function(){return s})),a.d(e,"c",(function(){return o})),a.d(e,"b",(function(){return d}));var i=a("b775");function r(t){return Object(i["a"])({url:"/api/upms/org/page",method:"post",data:t})}function n(t){return Object(i["a"])({url:"/api/upms/org/get",method:"post",data:{id:t}})}function s(t){return Object(i["a"])({url:"/api/upms/org/add",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/api/upms/org/update",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/api/upms/org/delete",method:"post",data:{id:t}})}},29439:function(t,e,a){"use strict";a("3387")},3387:function(t,e,a){},"534e":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-tree",{attrs:{data:t.dataList,props:t.defaultProps},on:{"node-click":t.handleNodeClick}})},r=[],n=a("3393"),s=a.n(n),o=a("4573"),d=a.n(o),l={props:{menuList:{type:Array,default:function(){}}},data:function(){return{defaultProps:{children:"children",label:"name"},dataList:[]}},created:function(){this.init()},methods:{init:function(){var t,e,a=this;s()(t=this.dataList).call(t,0,this.dataList.length),d()(e=this.menuList).call(e,(function(t){"-1"===t.parentId?a.dataList.push(t):a.append(t)}))},append:function(t){var e,a=this;d()(e=this.menuList).call(e,(function(e){t.parentId===e.id&&(e.children||a.$set(e,"children",[]),e.children.push(t))}))},handleNodeClick:function(t){this.$emit("getOrganization",t)}}},c=l,u=(a("04ad"),a("2877")),f=Object(u["a"])(c,i,r,!1,null,"350bd2ba",null);e["a"]=f.exports},"62cf":function(t,e,a){},"66f4":function(t,e,a){"use strict";a("c8fd")},"9d60":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-container",{staticStyle:{margin:"30px"}},[a("el-aside",[t.menuList.length>0?a("side-tree",{attrs:{"menu-list":t.menuList},on:{getOrganization:t.getOrganization}}):t._e()],1),t._v(" "),a("el-main",{staticStyle:{border:"2px solid #E4E4E4","border-radius":"10px","margin-left":"10px"}},[t.addOrUpdateVisible?a("organization-manege",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e()],1)],1)},r=[],n=(a("96cf"),a("1da1")),s=a("6b47"),o=a.n(s),d=a("3393"),l=a.n(d),c=a("534e"),u=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("div",{staticStyle:{float:"right",padding:"3px 0"}},[a("el-button",{attrs:{type:"primary"},on:{click:t.showAdd}},[t._v(t._s(t._f("i18nFilter")("btn.add")))]),t._v(" "),a("el-button",{attrs:{type:"success",disabled:!t.formData.name},on:{click:function(e){t.isAdd=!1,t.isEdit=!0}}},[t._v(t._s(t._f("i18nFilter")("btn.edit")))]),t._v(" "),a("el-button",{attrs:{type:"danger"},on:{click:t.deleteOrg}},[t._v(t._s(t._f("i18nFilter")("btn.delete")))])],1)]),t._v(" "),a("el-form",{ref:"formData",attrs:{model:t.formData,rules:t.rules,size:"medium","label-width":"150px"}},[a("el-form-item",{attrs:{label:t.$t("orgManage.orgName"),prop:"name"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:!t.isEdit&&!t.isAdd,placeholder:t._f("i18nFilterForm")(["placeholder.input",t.$t("orgManage.orgName")]),clearable:""},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("orgManage.parentOrg"),prop:"parentId"}},[a("el-select",{style:{width:"100%"},attrs:{disabled:!t.isEdit&&!t.isAdd,placeholder:t._f("i18nFilterForm")(["placeholder.select",t.$t("orgManage.parentOrg")]),clearable:""},model:{value:t.formData.parentId,callback:function(e){t.$set(t.formData,"parentId",e)},expression:"formData.parentId"}},t._l(t.parentIdOptions,(function(t,e){return a("el-option",{key:e,attrs:{label:t.name,value:t.id}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("orgManage.address"),prop:"address"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:!t.isEdit&&!t.isAdd,placeholder:t._f("i18nFilterForm")(["placeholder.input",t.$t("orgManage.address")]),clearable:""},model:{value:t.formData.address,callback:function(e){t.$set(t.formData,"address",e)},expression:"formData.address"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("orgManage.phone"),prop:"phone"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:!t.isEdit&&!t.isAdd,placeholder:t._f("i18nFilterForm")(["placeholder.input",t.$t("orgManage.phone")]),clearable:""},model:{value:t.formData.phone,callback:function(e){t.$set(t.formData,"phone",e)},expression:"formData.phone"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("orgManage.contact"),prop:"contact"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:!t.isEdit&&!t.isAdd,placeholder:t._f("i18nFilterForm")(["placeholder.input",t.$t("orgManage.contact")]),clearable:""},model:{value:t.formData.contact,callback:function(e){t.$set(t.formData,"contact",e)},expression:"formData.contact"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("orgManage.email"),prop:"email"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:!t.isEdit&&!t.isAdd,placeholder:t._f("i18nFilterForm")(["placeholder.input",t.$t("orgManage.email")]),clearable:""},model:{value:t.formData.email,callback:function(e){t.$set(t.formData,"email",e)},expression:"formData.email"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("orgManage.remark"),prop:"remark"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:!t.isEdit&&!t.isAdd,placeholder:t._f("i18nFilterForm")(["placeholder.input",t.$t("orgManage.remark")]),clearable:""},model:{value:t.formData.remark,callback:function(e){t.$set(t.formData,"remark",e)},expression:"formData.remark"}})],1)],1),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.isEdit||t.isAdd,expression:"isEdit||isAdd"}],staticStyle:{"text-align":"center"}},[a("el-button",{attrs:{type:"primary"},on:{click:t.resetForm}},[t._v(t._s(t._f("i18nFilter")("btn.reset")))]),t._v(" "),a("el-button",{attrs:{type:"success"},on:{click:t.submitForm}},[t._v(t._s(t._f("i18nFilter")("btn.submit")))])],1)],1)},f=[],m=a("24fd"),p={data:function(){return{isEdit:!1,isAdd:!1,formData:{id:"",name:void 0,parentId:void 0,address:void 0,phone:void 0,contact:void 0,email:void 0,remark:void 0},parentId:"",rules:{name:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("orgManage.orgName")]),trigger:"blur"}],parentId:[],address:[],phone:[],contact:[],email:[],remark:[]},parentIdOptions:[],listQuery:{current:1,size:500}}},created:function(){this.getList()},methods:{getList:function(){var t=Object(n["a"])(o.a.mark((function t(){var e;return o.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(m["e"])(this.listQuery);case 2:e=t.sent,0===e.code&&(this.parentIdOptions=e.data.records);case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),init:function(t){var e=this;this.isEdit=!1,this.isAdd=!1,this.$nextTick((function(){e.$refs["formData"].resetFields(),t&&(Object(m["d"])(t).then((function(t){e.formData=t.data,e.parentId=t.data.id})),e.formData.id=t)}))},resetForm:function(){this.$refs["formData"].resetFields()},showAdd:function(){this.isAdd=!0,this.isEdit=!1,this.$refs["formData"].resetFields(),this.formData.parentId=this.parentId},submitForm:function(){this.isAdd?this.addOrg():this.isEdit&&this.editOrg()},addOrg:function(){var t=this;this.$refs["formData"].validate((function(e){if(e){var a=t.formData;a.id="",Object(m["a"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.getList(),t.isEdit=!1,t.isAdd=!1,t.$emit("refreshDataList")}})}))}}))},editOrg:function(){var t=this;this.$refs["formData"].validate((function(e){if(e){var a=t.formData;Object(m["c"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.getList(),t.isEdit=!1,t.isAdd=!1,t.$emit("refreshDataList")}})}))}}))},deleteOrg:function(){var t=this;Object(m["b"])(this.formData.id).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.getList(),t.$refs["formData"].resetFields(),t.$emit("refreshDataList")}})}))}}},h=p,g=(a("66f4"),a("2877")),b=Object(g["a"])(h,u,f,!1,null,"1c0f2c97",null),v=b.exports,$={components:{sideTree:c["a"],organizationManege:v},data:function(){return{menuList:[],addOrUpdateVisible:!1,organizationInfo:{},defaultProps:{children:"children",label:"label"},listQuery:{current:1,size:500}}},created:function(){this.getList()},methods:{getList:function(){var t=Object(n["a"])(o.a.mark((function t(){var e,a;return o.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return l()(e=this.menuList).call(e,0,this.menuList.length),t.next=3,Object(m["e"])(this.listQuery);case 3:a=t.sent,0===a.code&&(this.menuList=a.data.records);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),getOrganization:function(t){this.addNew(t.id)},addNew:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t)}))}}},D=$,_=(a("29439"),Object(g["a"])(D,i,r,!1,null,"0070ada1",null));e["default"]=_.exports},c8fd:function(t,e,a){}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-1d1d8a1a.dd7f30c2.js b/dist/static/js/chunk-1d1d8a1a.dd7f30c2.js new file mode 100644 index 0000000..75e8dc2 --- /dev/null +++ b/dist/static/js/chunk-1d1d8a1a.dd7f30c2.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d1d8a1a"],{2017:function(e,o,t){"use strict";t("b12d")},"3f0f":function(e,o,t){},5524:function(e,o,t){"use strict";t("3f0f")},"9ed6":function(e,o,t){"use strict";t.r(o);var n=function(){var e=this,o=e.$createElement,n=e._self._c||o;return n("div",{staticClass:"login-container"},[n("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:e.loginForm,rules:e.loginRules,autocomplete:"on","label-position":"left"}},[n("div",{staticClass:"title-container"},[n("h3",{staticClass:"title"},[n("img",{staticStyle:{width:"1.5em",height:"1.5em",position:"relative",top:".35em"},attrs:{src:t("ec79"),alt:""}}),e._v("\n "+e._s(e._f("i18nFilter")("title"))+"\n ")])]),e._v(" "),n("el-form-item",{attrs:{prop:"username"}},[n("span",{staticClass:"svg-container"},[n("svg-icon",{staticStyle:{color:"#fff"},attrs:{"icon-class":"user"}})],1),e._v(" "),n("el-input",{ref:"username",attrs:{placeholder:e._f("i18nFilter")("login.username"),name:"username",type:"text",tabindex:"1",autocomplete:"on"},model:{value:e.loginForm.username,callback:function(o){e.$set(e.loginForm,"username",o)},expression:"loginForm.username"}})],1),e._v(" "),n("el-tooltip",{attrs:{content:"Caps lock is On",placement:"right",manual:""},model:{value:e.capsTooltip,callback:function(o){e.capsTooltip=o},expression:"capsTooltip"}},[n("el-form-item",{attrs:{prop:"password"}},[n("span",{staticClass:"svg-container"},[n("svg-icon",{staticStyle:{color:"#fff"},attrs:{"icon-class":"password"}})],1),e._v(" "),n("el-input",{key:e.passwordType,ref:"password",attrs:{type:e.passwordType,placeholder:e._f("i18nFilter")("login.password"),name:"password",tabindex:"2",autocomplete:"on"},on:{blur:function(o){e.capsTooltip=!1}},nativeOn:{keyup:[function(o){return e.checkCapslock(o)},function(o){return!o.type.indexOf("key")&&e._k(o.keyCode,"enter",13,o.key,"Enter")?null:e.handleLogin(o)}]},model:{value:e.loginForm.password,callback:function(o){e.$set(e.loginForm,"password",o)},expression:"loginForm.password"}}),e._v(" "),n("span",{staticClass:"show-pwd",on:{click:e.showPwd}},[n("svg-icon",{attrs:{"icon-class":"password"===e.passwordType?"eye":"eye-open"}})],1)],1)],1),e._v(" "),n("lang-select",{staticClass:"login-language"}),e._v(" "),n("el-button",{staticStyle:{width:"100%","margin-bottom":"30px"},attrs:{loading:e.loading,type:"primary"},nativeOn:{click:function(o){return o.preventDefault(),e.handleLogin(o)}}},[e._v("\n "+e._s(e._f("i18nFilter")("login.logIn"))+"\n ")]),e._v(" "),n("el-row",{staticClass:"login-copyright"},[e._v("\n "+e._s(e._f("i18nFilter")("copyright.copyright"))+":"+e._s(e._f("i18nFilter")("copyright.company"))+"\n ")])],1)],1)},s=[],r=t("298b"),i=t.n(r),a=t("fa81"),l=t.n(a),c=t("1131"),p={name:"Login",components:{LangSelect:c["a"]},data:function(){var e=function(e,o,t){o?t():t(new Error("Please enter the correct user name"))},o=function(e,o,t){o.length<6?t(new Error("The password can not be less than 6 digits")):t()};return{loginForm:{username:13588441519,password:"123abc.",mobile:13588441519,oauthCode:13588441519,openId:13588441519,wechatAppId:13588441519},loginRules:{username:[{required:!0,trigger:"blur",validator:e}],password:[{required:!0,trigger:"blur",validator:o}]},passwordType:"password",capsTooltip:!1,loading:!1,redirect:void 0,otherQuery:{}}},watch:{$route:{handler:function(e){console.log(e)},immediate:!0}},created:function(){},mounted:function(){""===this.loginForm.username?this.$refs.username.focus():""===this.loginForm.password&&this.$refs.password.focus();var e=0;e=3,console.log(e)},destroyed:function(){},methods:{checkCapslock:function(e){var o=e.key;this.capsTooltip=o&&1===o.length&&o>="A"&&o<="Z"},showPwd:function(){var e=this;"password"===this.passwordType?this.passwordType="":this.passwordType="password",this.$nextTick((function(){e.$refs.password.focus()}))},handleLogin:function(){var e=this;this.$refs.loginForm.validate((function(o){if(console.log(o),console.log(e.redirect,e.$route),!o)return console.log("error submit!!"),!1;e.loading=!0,e.$store.dispatch("user/login",e.loginForm).then((function(o){console.log(o),console.log(e.redirect,e.otherQuery),e.$router.push({path:e.redirect||"/",query:e.otherQuery}),e.loading=!1}))["catch"]((function(){e.loading=!1}))}))},getOtherQuery:function(e){var o;return i()(o=l()(e)).call(o,(function(o,t){return"redirect"!==t&&(o[t]=e[t]),o}),{})}}},u=p,d=(t("2017"),t("5524"),t("2877")),f=Object(d["a"])(u,n,s,!1,null,"30639d60",null);o["default"]=f.exports},b12d:function(e,o,t){}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-230696e6.1cdbdcf5.js b/dist/static/js/chunk-230696e6.1cdbdcf5.js new file mode 100644 index 0000000..009a154 --- /dev/null +++ b/dist/static/js/chunk-230696e6.1cdbdcf5.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-230696e6","chunk-a751ef04"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return l}));var o=a("2b0b"),n=a.n(o);Math.easeInOutQuad=function(t,e,a,o){return t/=o/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){n()(t,1e3/60)}}();function s(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 l(t,e,a){var o=r(),n=t-o,l=20,c=0;e="undefined"===typeof e?500:e;var d=function t(){c+=l;var r=Math.easeInOutQuad(c,o,n,e);s(r),c0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),t._v(" "),t.addOrUpdateVisible?a("processInfo-add",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e()],1)},n=[],i=a("a3e3"),s=a.n(i),r=a("3393"),l=a.n(r),c=a("9923"),d=a("bb1e"),u=a("c0ee"),m=a("4b98"),p=a("333d"),b=a("ebe9"),f=a("2147"),h=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],v=[{prop:"workSequenId",label:c["a"].t("module.basicData.processLocation.workSequenId"),align:"center"},{prop:"locationId",label:c["a"].t("module.basicData.processLocation.locationId"),align:"center"},{prop:"portAttrId",label:c["a"].t("module.basicData.processLocation.portAttrId"),align:"center"},{prop:"isProcess",label:c["a"].t("module.basicData.processLocation.isProcess"),align:"center"},{prop:"equipmentMark",label:c["a"].t("module.basicData.processLocation.equipmentMark"),align:"center"},{prop:"sequence",label:c["a"].t("module.basicData.processLocation.sequence"),align:"center"},{prop:"goodsShelves",label:c["a"].t("module.basicData.processLocation.goodsShelves"),align:"center"},{prop:"locationName",label:c["a"].t("module.basicData.processLocation.locationName"),align:"center"}],F={name:"Area",components:{Pagination:p["a"],BaseTable:u["a"],MethodBtn:b["a"],HeadForm:d["a"],processInfoAdd:m["default"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{addOrUpdateVisible:!1,keyName:c["a"].t("module.basicData.visual.keyword"),placeholderName:c["a"].t("module.basicData.processLocation.locationName"),tableBtn:h,trueWidth:200,tableProps:v,list:[],areaList:[],total:0,listLoading:!0,listQuery:{current:1,size:10,locationId:"",workSequenId:"",locationName:""}}},created:function(){this.getList()},methods:{handleClick:function(t){var e,a=this;"delete"===t.type?this.$confirm(s()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.id,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(f["d"])(t.data.id).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getList()}})}))}))["catch"]((function(){})):"edit"===t.type?this.addNew(t.data.id):this.addNew(t.data.id,!0)},getList:function(t){var e=this;this.listLoading=!0,this.listQuery.locationName=t,Object(f["c"])(this.listQuery).then((function(t){var a;t.data.records?e.list=t.data.records:l()(a=e.list).call(a,0,e.list.length);e.total=t.data.total,e.listLoading=!1}))},addNew:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t,!0)}))}}},k=F,$=(a("46b8"),a("2877")),g=Object($["a"])(k,o,n,!1,null,"3ca30f77",null);e["default"]=g.exports}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-264322de.2857a3b6.js b/dist/static/js/chunk-264322de.2857a3b6.js new file mode 100644 index 0000000..1e31f96 --- /dev/null +++ b/dist/static/js/chunk-264322de.2857a3b6.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-264322de"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("2b0b"),o=n.n(r);Math.easeInOutQuad=function(t,e,n,r){return t/=r/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){o()(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function l(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(t,e,n){var r=l(),o=t-r,s=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=s;var l=Math.easeInOutQuad(u,r,o,e);i(l),u0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}})],1)},o=[],a=n("3393"),i=n.n(a),l=n("9923"),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-form",{attrs:{inline:!0},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getDataList()}}},[n("el-form-item",{attrs:{label:t.keyName}},[n("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:t.placeholderName,clearable:""},model:{value:t.key,callback:function(e){t.key=e},expression:"key"}})],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.getDataList()}}},[t._v(t._s(t._f("i18nFilter")("btn.search")))]),t._v(" "),t.showAdd?n("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.add()}}},[t._v(t._s(t._f("i18nFilter")("btn.add")))]):t._e(),t._v(" "),n("el-button",{attrs:{type:"success"},on:{click:function(e){return t.downl()}}},[t._v(t._s(t._f("i18nFilter")("btn.export")))])],1)],1)},u=[],c=n("322d"),d={props:{keyName:{type:c["string"],default:function(){return"关键字"}},showAdd:{type:Boolean,default:function(){return!0}},placeholderName:{type:c["string"],default:function(){return"请输入关键字"}}},data:function(){return{key:""}},methods:{getDataList:function(){this.$emit("getDataList",this.key)},add:function(){this.$emit("add")},downl:function(){this.$emit("downl",this.key)}}},p=d,m=n("2877"),f=Object(m["a"])(p,s,u,!1,null,null,null),b=f.exports,y=n("c0ee"),h=n("333d"),v=n("5a6c"),g=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("el-button",{attrs:{type:"text",size:"small"},on:{click:t.emitClick}},[t._v(t._s(t.$t("module.report.inventory.viewSubstrates")))])],1)},w=[],k={props:{injectData:{type:Object,default:function(){return{}}}},methods:{emitClick:function(){this.$router.push({name:"viewSubstrate",query:{id:this.injectData.id,code:this.injectData.code,locationStorageSubID:this.injectData.locationStorageSubID}})}}},_=k,L=Object(m["a"])(_,g,w,!1,null,null,null),x=L.exports,N=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],O=[{prop:"code",label:l["a"].t("module.report.inventory.code"),align:"center"},{prop:"status",label:l["a"].t("module.report.inventory.status"),align:"center"},{prop:"inprocessCode",label:l["a"].t("module.report.inventory.inprocessCode"),align:"center"},{prop:"nextprocessCode",label:l["a"].t("module.report.inventory.nextprocessCode"),align:"center"},{prop:"currentLocation",label:l["a"].t("module.report.inventory.currentLocation"),align:"center"},{prop:"storeTime",label:l["a"].t("module.report.inventory.storeTime"),align:"center"},{prop:"orderName",label:l["a"].t("module.report.inventory.orderName"),align:"center"},{prop:"substrateDetails",label:l["a"].t("module.report.inventory.substrateDetails"),subcomponent:x,align:"center"}],j={name:"Inventory",components:{Pagination:h["a"],BaseTable:y["a"],HeadForm:b},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{addOrUpdateVisible:!1,keyName:l["a"].t("module.report.reportList.storageBoxNumber"),placeholderName:this.$t("module.report.reportList.queryFiltering"),tableBtn:N,trueWidth:200,tableProps:O,list:[],total:0,listLoading:!0,listQuery:{current:1,size:10,enabled:1}}},created:function(){this.getList()},methods:{getList:function(t){var e=this;this.listLoading=!0,this.listQuery.code=t,Object(v["c"])(this.listQuery).then((function(t){var n;(console.log(t),t.data)?e.list=t.data:i()(n=e.list).call(n,0,e.list.length);e.listLoading=!1}))},downl:function(t){var e=this;this.listLoading=!0,this.listQuery.code=t,Object(v["b"])(this.listQuery).then((function(t){var n="",r=t.headers["content-disposition"];r&&(n=e.$t("module.report.reportList.storageBoxReport")+".xlsx");var o=new Blob([t.data]),a=new FileReader;a.readAsDataURL(o),a.onload=function(t){var e=document.createElement("a");e.download=n,e.href=t.target.result,document.body.appendChild(e),e.click(),document.body.removeChild(e)},e.getList()}))}}},D=j,Q=(n("7995"),Object(m["a"])(D,r,o,!1,null,"e4ce97b0",null));e["default"]=Q.exports}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-29bfcd85.d81a4596.js b/dist/static/js/chunk-29bfcd85.d81a4596.js new file mode 100644 index 0000000..1b6eae1 --- /dev/null +++ b/dist/static/js/chunk-29bfcd85.d81a4596.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-29bfcd85"],{"04ad":function(e,t,a){"use strict";a("62cf")},"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return l}));var r=a("2b0b"),n=a.n(r);Math.easeInOutQuad=function(e,t,a,r){return e/=r/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){n()(e,1e3/60)}}();function o(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(e,t,a){var r=s(),n=e-r,l=20,u=0;t="undefined"===typeof t?500:t;var c=function e(){u+=l;var s=Math.easeInOutQuad(u,r,n,t);o(s),u0?a("side-tree",{attrs:{"menu-list":e.menuList},on:{getOrganization:e.getOrganization}}):e._e()],1),e._v(" "),a("el-main",{staticStyle:{border:"2px solid #E4E4E4","border-radius":"10px","margin-left":"10px"}},[a("el-form",{ref:"dataForm",attrs:{model:e.dataForm,inline:!0,size:"medium","label-width":"100px","label-position":"left"}},[a("el-form-item",{attrs:{"label-width":"60px",label:e.$t("userManage.orgName")+":"}},[a("span",{staticStyle:{margin:"0 5px",color:"#1890FF"}},[e._v(e._s(e.dataForm.orgName))])]),e._v(" "),a("el-form-item",{attrs:{label:e.$t("userManage.userName")+":",prop:"name"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:e._f("i18nFilterForm")(["placeholder.input",e.$t("userManage.userName")]),clearable:""},model:{value:e.dataForm.name,callback:function(t){e.$set(e.dataForm,"name",t)},expression:"dataForm.name"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.getList()}}},[e._v(e._s(e._f("i18nFilter")("btn.search")))]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.showDialog=!0}}},[e._v(e._s(e._f("i18nFilter")("btn.add")))])],1)],1),e._v(" "),a("base-table",{attrs:{"table-config":e.tableProps,"table-data":e.list,"is-loading":e.listLoading,page:e.dataForm.current,limit:e.dataForm.size}},[a("method-btn",{attrs:{slot:"handleBtn","method-list":e.tableBtn,width:e.trueWidth},on:{clickBtn:e.handleClick},slot:"handleBtn"})],1),e._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>e.dataForm.size,expression:"total > dataForm.size"}],attrs:{total:e.total,page:e.dataForm.current,limit:e.dataForm.size},on:{"update:page":function(t){return e.$set(e.dataForm,"current",t)},"update:limit":function(t){return e.$set(e.dataForm,"size",t)},pagination:e.getList}}),e._v(" "),a("add-user-form",{attrs:{visible:e.showDialog},on:{"update:visible":function(t){e.showDialog=t},refreshDataList:e.getList}}),e._v(" "),a("edit-user-form",{attrs:{visible:e.showEditDialog,"target-info":{id:e.curEditId}},on:{"update:visible":function(t){e.showEditDialog=t},refreshDataList:e.getList}}),e._v(" "),a("assign-Role",{attrs:{visible:e.AssignRoleDialog,"user-id":e.userId},on:{"update:visible":function(t){e.AssignRoleDialog=t},refreshDataList:e.getList}})],1)],1)},n=[],i=(a("6b54"),a("7f7f"),a("96cf"),a("1da1")),o=(a("06db"),a("87b3"),a("6b47")),s=a.n(o),l=a("3393"),u=a.n(l),c=a("4573"),d=a.n(c),m=a("534e"),p=a("24fd"),f=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-dialog",e._g(e._b({attrs:{title:e._f("i18nFilter")("formItem.user.add")},on:{open:e.onOpen,close:e.onClose}},"el-dialog",e.$attrs,!1),e.$listeners),[a("el-form",{ref:"elForm",attrs:{model:e.formData,rules:e.rules,size:"medium","label-width":"110px"}},[a("el-form-item",{attrs:{label:e.$t("userManage.mobile"),prop:"mobile"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:e._f("i18nFilterForm")(["placeholder.input",e.$t("userManage.mobile")]),maxlength:11,"show-word-limit":"",clearable:"","prefix-icon":"el-icon-mobile"},model:{value:e.formData.mobile,callback:function(t){e.$set(e.formData,"mobile",t)},expression:"formData.mobile"}})],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("userManage.userName"),prop:"name"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:e._f("i18nFilterForm")(["placeholder.input",e.$t("userManage.userName")]),clearable:""},model:{value:e.formData.name,callback:function(t){e.$set(e.formData,"name",t)},expression:"formData.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("userManage.pwd"),prop:"password"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:e._f("i18nFilterForm")(["placeholder.input",e.$t("userManage.pwd")]),clearable:""},model:{value:e.formData.password,callback:function(t){e.$set(e.formData,"password",t)},expression:"formData.password"}})],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("userManage.org"),prop:"orgId"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:e._f("i18nFilterForm")(["placeholder.select",e.$t("userManage.org")]),filterable:"",clearable:""},model:{value:e.formData.orgId,callback:function(t){e.$set(e.formData,"orgId",t)},expression:"formData.orgId"}},e._l(e.orgList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("userManage.code"),prop:"code"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:e._f("i18nFilterForm")(["placeholder.input",e.$t("userManage.code")]),clearable:""},model:{value:e.formData.code,callback:function(t){e.$set(e.formData,"code",t)},expression:"formData.code"}})],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("userManage.email"),prop:"email"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:e._f("i18nFilterForm")(["placeholder.input",e.$t("userManage.email")]),clearable:""},model:{value:e.formData.email,callback:function(t){e.$set(e.formData,"email",t)},expression:"formData.email"}})],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("userManage.remark"),prop:"remark"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:e._f("i18nFilterForm")(["placeholder.input",e.$t("userManage.remark")]),clearable:""},model:{value:e.formData.remark,callback:function(t){e.$set(e.formData,"remark",t)},expression:"formData.remark"}})],1)],1),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.close}},[e._v(e._s(e._f("i18nFilter")("btn.cancel")))]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.handelConfirm}},[e._v(e._s(e._f("i18nFilter")("btn.confirm")))])],1)],1)],1)},h=[],g=a("c24f"),b={components:{},inheritAttrs:!1,data:function(){return{formData:{mobile:void 0,name:void 0,email:void 0,orgId:void 0,password:void 0,code:void 0,birthday:void 0,sex:void 0,remark:void 0},rules:{mobile:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("userManage.mobile")]),trigger:"blur"},{pattern:/^1(3|4|5|7|8|9)\d{9}$/,message:this.$i18nForm(["placeholder.formaterror",this.$t("userManage.mobile")]),trigger:"blur"}],name:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("userManage.userName")]),trigger:"blur"}],code:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("userManage.code")]),trigger:"blur"}],orgId:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("userManage.org")]),trigger:"change"}],password:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("userManage.pwd")]),trigger:"blur"}]},orgList:[],listQuery:{current:1,size:500}}},computed:{},watch:{},created:function(){this.getList()},mounted:function(){},methods:{getList:function(){var e=Object(i["a"])(s.a.mark((function e(){var t;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(p["e"])(this.listQuery);case 2:t=e.sent,0===t.code&&(this.orgList=t.data.records);case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),onOpen:function(){},onClose:function(){this.$refs["elForm"].resetFields()},close:function(){this.$emit("update:visible",!1)},handelConfirm:function(){var e=this;this.$refs["elForm"].validate(function(){var t=Object(i["a"])(s.a.mark((function t(a){var r;return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,Object(g["a"])(e.formData);case 4:r=t.sent,0===r.code&&(e.$message({type:"success",message:"添加成功!"}),e.$emit("refreshDataList"),e.close());case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}}},v=b,$=a("2877"),w=Object($["a"])(v,f,h,!1,null,null,null),F=w.exports,_=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-dialog",e._g(e._b({attrs:{title:e._f("i18nFilter")("formItem.user.edit")},on:{open:e.onOpen,close:e.onClose}},"el-dialog",e.$attrs,!1),e.$listeners),[a("el-form",{ref:"elForm",attrs:{model:e.formData,rules:e.rules,size:"medium","label-width":"160px"}},[a("el-form-item",{attrs:{label:e.$t("userManage.userName"),prop:"name"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:e._f("i18nFilterForm")(["placeholder.input",e.$t("userManage.userName")]),clearable:""},model:{value:e.formData.name,callback:function(t){e.$set(e.formData,"name",t)},expression:"formData.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("userManage.email"),prop:"email"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:e._f("i18nFilterForm")(["placeholder.input",e.$t("userManage.email")]),clearable:""},model:{value:e.formData.email,callback:function(t){e.$set(e.formData,"email",t)},expression:"formData.email"}})],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("userManage.org"),prop:"orgId"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:e._f("i18nFilterForm")(["placeholder.select",e.$t("userManage.org")]),clearable:""},model:{value:e.formData.orgId,callback:function(t){e.$set(e.formData,"orgId",t)},expression:"formData.orgId"}},e._l(e.orgIdOptions,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("userManage.userstartstop"),prop:"enabled",required:""}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:e.enableStateChange},model:{value:e.formData.enabled,callback:function(t){e.$set(e.formData,"enabled",t)},expression:"formData.enabled"}})],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("userManage.resetPwd")}},[a("el-button",{attrs:{type:"primary",size:"medium"},on:{click:e.resetPW}},[e._v(" "+e._s(e._f("i18nFilter")("btn.reset"))+" ")])],1)],1),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.close}},[e._v(e._s(e._f("i18nFilter")("btn.cancel")))]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.handelConfirm}},[e._v(e._s(e._f("i18nFilter")("btn.confirm")))])],1)],1)],1)},y=[],D=a("e76e"),x=a.n(D),O={components:{},inheritAttrs:!1,props:{targetInfo:{type:Object,default:function(){return{id:1}}}},data:function(){return{formData:{name:void 0,email:void 0,orgId:void 0,enabled:1},rules:{name:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("userManage.userName")]),trigger:"blur"}],email:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("userManage.email")]),trigger:"blur"}],orgId:[{required:!0,message:this.$i18nForm(["placeholder.select",this.$t("userManage.org")]),trigger:"change"}]},orgIdOptions:[],listQuery:{current:1,size:500}}},computed:{},watch:{},created:function(){this.getList()},mounted:function(){},methods:{getList:function(){var e=Object(i["a"])(s.a.mark((function e(){var t;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(p["e"])(this.listQuery);case 2:t=e.sent,0===t.code&&(this.orgIdOptions=t.data.records);case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),onOpen:function(){this.getUserInfo()},onClose:function(){this.$refs["elForm"].resetFields(),this.$emit("refreshDataList")},close:function(){this.$emit("update:visible",!1)},handelConfirm:function(){var e=this;this.$refs["elForm"].validate(function(){var t=Object(i["a"])(s.a.mark((function t(a){var r,n;return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,Object(g["c"])(x()(e.formData,{id:null===(r=e.targetInfo)||void 0===r?void 0:r.id}));case 4:n=t.sent,0===n.code&&e.$message({type:"success",message:"修改成功!",onClose:function(){e.$emit("refreshDataList")}}),e.close();case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},enableStateChange:function(){var e=Object(i["a"])(s.a.mark((function e(t){var a,r,n=this;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(g["d"])({id:null===(a=this.targetInfo)||void 0===a?void 0:a.id,enabled:t});case 2:r=e.sent,0===r.code&&this.$message({type:"success",message:"修改状态成功!",onClose:function(){n.$emit("refreshDataList")}});case 4:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),resetPW:function(){var e=this;this.$prompt("请输入新密码","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(){var t=Object(i["a"])(s.a.mark((function t(a){var r,n,i;return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=a.value,t.next=3,Object(g["i"])({id:null===(r=e.targetInfo)||void 0===r?void 0:r.id,password:n});case 3:i=t.sent,0===i.code&&e.$message({type:"success",message:"重置密码成功!"});case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},getUserInfo:function(){var e=Object(i["a"])(s.a.mark((function e(){var t,a,r,n,i,o;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(g["e"])({id:this.targetInfo.id});case 2:t=e.sent,0===t.code&&(a=t.data,r=a.name,n=a.orgId,i=a.email,o=a.enabled,this.formData={name:r,orgId:n,email:i,enabled:o});case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}},k=O,I=Object($["a"])(k,_,y,!1,null,null,null),M=I.exports,L=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",e._g(e._b({attrs:{title:e.$t("userManage.AssignRole")},on:{open:e.onOpen,close:e.onClose}},"el-dialog",e.$attrs,!1),e.$listeners),[a("el-row",{attrs:{gutter:10}},[a("el-form",{ref:"dataForm",attrs:{model:e.dataForm,rules:e.rules,size:"medium","label-width":"110px","label-position":"left"}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:e.$t("userManage.AssignRole"),prop:"roleId"}},[a("el-select",{staticStyle:{width:"400px"},attrs:{multiple:"",clearable:""},model:{value:e.dataForm.roleId,callback:function(t){e.$set(e.dataForm,"roleId",t)},expression:"dataForm.roleId"}},e._l(e.roleList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1)],1)],1)],1),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.close}},[e._v(e._s(e._f("i18nFilter")("btn.cancel")))]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.handelConfirm()}}},[e._v(e._s(e._f("i18nFilter")("btn.confirm")))])],1)],1)},j=[],N=a("cc5e"),C={components:{},props:{userId:{type:String,default:function(){return""}}},data:function(){return{inheritAttrs:!1,dataForm:{roleId:[]},rules:{roleId:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("userManage.AssignRole")]),trigger:"change"}]},roleList:[],listQuery:{current:1,size:500}}},computed:{},watch:{},created:function(){},mounted:function(){},methods:{onOpen:function(){this.getInfo()},onClose:function(){this.$refs["dataForm"].resetFields()},close:function(){this.$emit("update:visible",!1)},handelConfirm:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t){var a={roleIds:e.dataForm.roleId,userId:e.userId};Object(N["h"])(a).then((function(t){e.$message({message:e.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){e.close(),e.$emit("refreshDataList")}})}))}}))},getInfo:function(){var e=Object(i["a"])(s.a.mark((function e(){var t,a,r,n=this;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(N["f"])(this.listQuery);case 2:return t=e.sent,0===t.code&&(this.roleList=t.data),e.next=6,Object(N["g"])(this.userId);case 6:a=e.sent,0===a.code&&a.data&&d()(r=a.data).call(r,(function(e){e.checked&&n.dataForm.roleId.push(e.id)}));case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}},z=C,A=Object($["a"])(z,L,j,!1,null,null,null),E=A.exports,S=a("c0ee"),B=a("333d"),R=a("ebe9"),q=a("9923"),T={enableState:{0:q["a"].t("baseDict.enableState.no"),1:q["a"].t("baseDict.enableState.yes")},yesOrNo:{0:q["a"].t("baseDict.yesOrNo.no"),1:q["a"].t("baseDict.yesOrNo.yes")},bool2String:{true:q["a"].t("baseDict.bool2String.yes"),false:q["a"].t("baseDict.bool2String.no")},doneStatus:{0:q["a"].t("baseDict.doneStatus.no"),1:q["a"].t("baseDict.doneStatus.yes")},sex:{1:q["a"].t("baseDict.sex.man"),2:q["a"].t("baseDict.sex.woman")},yesOrNoEquipment:{"-1":q["a"].t("baseDict.yesOrNo.no"),1:q["a"].t("baseDict.yesOrNo.yes")}},P=function(e){return function(t){var a;return null===T||void 0===T||null===(a=T[e])||void 0===a?void 0:a[t]}},Q=[{type:"edit",btnName:"btn.edit"},{type:"AssignRole",btnName:q["a"].t("userManage.AssignRole")},{type:"delete",btnName:"btn.delete"}],U=[{prop:"name",label:q["a"].t("userManage.userName"),align:"center"},{prop:"email",label:q["a"].t("userManage.email"),align:"center"},{prop:"mobile",label:q["a"].t("userManage.mobile"),align:"center"},{prop:"orgName",label:q["a"].t("userManage.orgName"),align:"center"},{prop:"roleName",label:q["a"].t("roleManage.roleName"),align:"center"},{prop:"code",label:q["a"].t("userManage.code"),align:"center"},{prop:"enabled",label:q["a"].t("userManage.status"),align:"center",filter:P("enableState")},{prop:"remark",label:q["a"].t("userManage.remark"),align:"center"}],W=[{label:q["a"].t("basicDataFilter.sex.all"),value:""},{label:q["a"].t("basicDataFilter.sex.man"),value:1},{label:q["a"].t("basicDataFilter.sex.woman"),value:2}],J={components:{sideTree:m["a"],Pagination:B["a"],BaseTable:S["a"],MethodBtn:R["a"],AddUserForm:F,EditUserForm:M,AssignRole:E},data:function(){return{menuList:[],tableBtn:Q,tableProps:U,list:[],total:0,trueWidth:250,listLoading:!0,showDialog:!1,curEditId:null,userId:"",showEditDialog:!1,AssignRoleDialog:!1,defaultProps:{children:"children",label:"label"},roleNameOptions:[],dataForm:{name:"",sex:"",roleName:"",orgId:"",orgName:"",current:1,size:10},sexOptions:W}},created:function(){this.getOrgList(),this.getList()},methods:{getOrgList:function(){var e=Object(i["a"])(s.a.mark((function e(){var t,a,r,n,i;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r={current:1,size:500},u()(t=this.roleNameOptions).call(t,0,this.roleNameOptions.length),e.next=4,Object(N["f"])(r);case 4:return n=e.sent,0===n.code&&(this.roleNameOptions=n.data),u()(a=this.menuList).call(a,0,this.menuList.length),e.next=9,Object(p["e"])(r);case 9:i=e.sent,0===i.code&&(this.menuList=i.data.records);case 11:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getOrganization:function(e){this.dataForm.orgId=e.id,this.dataForm.orgName=e.name,this.getList()},handleClick:function(e){var t=this;switch(e.type){case"delete":this.$confirm(q["a"].t("deleteMsgBox.content"),q["a"].t("deleteMsgBox.hint"),{confirmButtonText:q["a"].t("btn.confirm"),cancelButtonText:q["a"].t("btn.cancel"),type:"warning"}).then(Object(i["a"])(s.a.mark((function a(){var r;return s.a.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(g["b"])({id:e.data.id});case 2:r=a.sent,0===r.code&&(t.$message({type:"success",message:q["a"].t("deleteMsgBox.doneMsg")}),t.getList());case 4:case"end":return a.stop()}}),a)}))));break;case"edit":this.showEditDialog=!0,this.curEditId=e.data.id;break;case"AssignRole":this.AssignRoleDialog=!0,this.userId=e.data.id;break}},getList:function(){var e=Object(i["a"])(s.a.mark((function e(){var t,a;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.listLoading=!0,e.next=3,Object(g["g"])(this.dataForm);case 3:t=e.sent,0===t.code&&(this.list=t.data.records,d()(a=this.list).call(a,(function(e){var t;e.roleName=null===(t=e.stringList)||void 0===t?void 0:t.toString()})),this.total=t.data.total,this.listLoading=!1);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}},G=J,H=(a("27bd"),Object($["a"])(G,r,n,!1,null,"3c677582",null));t["default"]=H.exports},"27bd":function(e,t,a){"use strict";a("3c16")},"3c16":function(e,t,a){},"534e":function(e,t,a){"use strict";var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-tree",{attrs:{data:e.dataList,props:e.defaultProps},on:{"node-click":e.handleNodeClick}})},n=[],i=a("3393"),o=a.n(i),s=a("4573"),l=a.n(s),u={props:{menuList:{type:Array,default:function(){}}},data:function(){return{defaultProps:{children:"children",label:"name"},dataList:[]}},created:function(){this.init()},methods:{init:function(){var e,t,a=this;o()(e=this.dataList).call(e,0,this.dataList.length),l()(t=this.menuList).call(t,(function(e){"-1"===e.parentId?a.dataList.push(e):a.append(e)}))},append:function(e){var t,a=this;l()(t=this.menuList).call(t,(function(t){e.parentId===t.id&&(t.children||a.$set(t,"children",[]),t.children.push(e))}))},handleNodeClick:function(e){this.$emit("getOrganization",e)}}},c=u,d=(a("04ad"),a("2877")),m=Object(d["a"])(c,r,n,!1,null,"350bd2ba",null);t["a"]=m.exports},"62cf":function(e,t,a){},cc5e:function(e,t,a){"use strict";a.d(t,"e",(function(){return n})),a.d(t,"a",(function(){return i})),a.d(t,"f",(function(){return o})),a.d(t,"b",(function(){return s})),a.d(t,"i",(function(){return l})),a.d(t,"c",(function(){return u})),a.d(t,"d",(function(){return c})),a.d(t,"h",(function(){return d})),a.d(t,"g",(function(){return m}));var r=a("b775");function n(e){return Object(r["a"])({url:"/api/upms/role/get",method:"post",data:e})}function i(){return Object(r["a"])({url:"/api/upms/role/get-code",method:"post"})}function o(e){return Object(r["a"])({url:"/api/upms/role/list",method:"post",data:e})}function s(e){return Object(r["a"])({url:"/api/upms/role/add",method:"post",data:e})}function l(e){return Object(r["a"])({url:"/api/upms/role/update",method:"post",data:e})}function u(e){return Object(r["a"])({url:"/api/upms/role/delete",method:"post",data:e})}function c(e){return Object(r["a"])({url:"/api/upms/role/enabled",method:"post",data:e})}function d(e){return Object(r["a"])({url:"/api/upms/role/saveUserRole",method:"post",data:e})}function m(e){return Object(r["a"])({url:"/api/upms/role/listByUser",method:"post",data:{id:e}})}}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-2d0cc241.7bcdbb98.js b/dist/static/js/chunk-2d0cc241.7bcdbb98.js new file mode 100644 index 0000000..1ad4c88 --- /dev/null +++ b/dist/static/js/chunk-2d0cc241.7bcdbb98.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0cc241"],{"4d50":function(e,n,t){"use strict";t.r(n);var c=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"basic"}},[t("router-view")],1)},r=[],u=t("2877"),i={},s=Object(u["a"])(i,c,r,!1,null,null,null);n["default"]=s.exports}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-38a3fd8e.a59b0504.js b/dist/static/js/chunk-38a3fd8e.a59b0504.js new file mode 100644 index 0000000..d5c9c54 --- /dev/null +++ b/dist/static/js/chunk-38a3fd8e.a59b0504.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-38a3fd8e"],{"009a":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{margin:"20px"}},[a("div",{staticStyle:{margin:"20px"}},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.addOrUpdateHandle()}}},[t._v(t._s(t._f("i18nFilter")("btn.add")))])],1),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.menuList,"header-cell-style":{background:"#eef1f6",color:"#606266",height:"56px"},stripe:!0,"highlight-current-row":"","row-key":"id",border:""}},[a("el-table-column",{attrs:{prop:"name","header-align":"center",align:"left",width:"200px",label:t.$t("menuManage.menuName")}}),t._v(" "),a("el-table-column",{attrs:{prop:"code","header-align":"center",align:"center",label:t.$t("menuManage.menuCode")}}),t._v(" "),a("el-table-column",{attrs:{prop:"enName","header-align":"center",align:"center",label:t.$t("menuManage.enName")}}),t._v(" "),a("el-table-column",{attrs:{prop:"category","header-align":"center",align:"center",label:t.$t("menuManage.menuClassify")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("commonFilter")(e.row.category,t.basicData("roleType")))+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"type","header-align":"center",align:"center",label:t.$t("menuManage.type")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("commonFilter")(e.row.type,t.basicData("menuType")))+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"parentName","header-align":"center",align:"center",label:t.$t("menuManage.parentName")}}),t._v(" "),a("el-table-column",{attrs:{prop:"sortNo","header-align":"center",align:"center",label:t.$t("menuManage.sortNumber")}}),t._v(" "),a("el-table-column",{attrs:{prop:"icon","header-align":"center",align:"center",label:t.$t("menuManage.icon")},scopedSlots:t._u([{key:"default",fn:function(t){return[a("svg-icon",{attrs:{"icon-class":t.row.icon||""}})]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"href","header-align":"center",align:"center","show-overflow-tooltip":!0,label:t.$t("menuManage.menuURL")}}),t._v(" "),a("el-table-column",{attrs:{fixed:"right","header-align":"center",align:"center",label:t._f("i18nFilter")("tableHeader.operation")},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.addOrUpdateHandle(e.row.id)}}},[t._v(t._s(t._f("i18nFilter")("btn.edit")))]),t._v(" "),a("span",{staticStyle:{margin:"0 3px"}},[t._v("|")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.deleteHandle(e.row)}}},[t._v(t._s(t._f("i18nFilter")("btn.delete")))])]}}])})],1),t._v(" "),t.addOrUpdateVisible?a("add-or-update",{ref:"addOrUpdate",on:{refreshDataList:t.getDataList}}):t._e()],1)},r=[],i=(a("7f7f"),a("96cf"),a("1da1")),o=a("6b47"),s=a.n(o),l=a("3393"),c=a.n(l),u=a("a3e3"),d=a.n(u),m=a("4573"),p=a.n(m),f=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")(t.dataForm.id?"btn.edit":"btn.add"),"close-on-click-modal":!1,visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"80px"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:t.$t("menuManage.type"),prop:"type"}},[a("el-radio-group",{model:{value:t.dataForm.type,callback:function(e){t.$set(t.dataForm,"type",e)},expression:"dataForm.type"}},t._l(t.typeList,(function(e,n){return a("el-radio",{key:n,attrs:{label:n}},[t._v(t._s(e))])})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:t.typeList[t.dataForm.type]+t.$t("menuManage.name"),prop:"name"}},[a("el-input",{attrs:{placeholder:t.typeList[t.dataForm.type]+t.$t("menuManage.name")},model:{value:t.dataForm.name,callback:function(e){t.$set(t.dataForm,"name",e)},expression:"dataForm.name"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("menuManage.parentName"),prop:"parentName"}},[a("el-popover",{ref:"menuListPopover",attrs:{placement:"bottom-start",disabled:Boolean(t.dataForm.id),trigger:"click"}},[a("el-tree",{ref:"menuListTree",attrs:{data:t.menuList,props:t.menuListTreeProps,"node-key":"id","highlight-current":!0,"expand-on-click-node":!1},on:{"current-change":t.menuListTreeCurrentChangeHandle}})],1),t._v(" "),a("el-input",{directives:[{name:"popover",rawName:"v-popover:menuListPopover",arg:"menuListPopover"}],staticClass:"menu-list__input",attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("menuManage.parentName")]),readonly:""},model:{value:t.dataForm.parentName,callback:function(e){t.$set(t.dataForm,"parentName",e)},expression:"dataForm.parentName"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("menuManage.menuCode"),prop:"code"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("menuManage.menuCode")]),clearable:""},model:{value:t.dataForm.code,callback:function(e){t.$set(t.dataForm,"code",e)},expression:"dataForm.code"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("menuManage.enName"),prop:"enName"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("menuManage.enName")]),clearable:""},model:{value:t.dataForm.enName,callback:function(e){t.$set(t.dataForm,"enName",e)},expression:"dataForm.enName"}})],1),t._v(" "),1===t.dataForm.type?a("el-form-item",{attrs:{label:t.$t("menuManage.menuURL"),prop:"href"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("menuManage.menuURL")])},model:{value:t.dataForm.href,callback:function(e){t.$set(t.dataForm,"href",e)},expression:"dataForm.href"}})],1):t._e(),t._v(" "),0!==t.dataForm.type?a("el-form-item",{attrs:{label:t.$t("menuManage.authorizationMark"),prop:"permission"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("menuManage.permissionText")])},model:{value:t.dataForm.permission,callback:function(e){t.$set(t.dataForm,"permission",e)},expression:"dataForm.permission"}})],1):t._e(),t._v(" "),2!==t.dataForm.type?a("el-form-item",{attrs:{label:t.$t("menuManage.sortNumber"),prop:"sortNo"}},[a("el-input-number",{attrs:{"controls-position":"right",min:0},model:{value:t.dataForm.sortNo,callback:function(e){t.$set(t.dataForm,"sortNo",e)},expression:"dataForm.sortNo"}})],1):t._e(),t._v(" "),2!==t.dataForm.type?a("el-form-item",{attrs:{label:t.$t("menuManage.icon"),prop:"icon"}},[a("el-row",[a("el-col",{attrs:{span:22}},[a("el-popover",{ref:"iconListPopover",attrs:{placement:"bottom-start",trigger:"click","popper-class":"mod-menu__icon-popover"}},[a("div",{staticClass:"mod-menu__icon-inner"},[a("div",{staticClass:"mod-menu__icon-list"},t._l(t.iconList,(function(e,n){return a("el-button",{key:n,class:{"is-active":e===t.dataForm.icon},on:{click:function(a){return t.iconActiveHandle(e)}}},[a("svg-icon",{attrs:{"icon-class":e}})],1)})),1)])]),t._v(" "),a("el-input",{directives:[{name:"popover",rawName:"v-popover:iconListPopover",arg:"iconListPopover"}],staticClass:"icon-list__input",attrs:{readonly:"",placeholder:t.$t("menuManage.icon")},on:{change:function(e){return t.$forceUpdate()}},model:{value:t.dataForm.icon,callback:function(e){t.$set(t.dataForm,"icon",e)},expression:"dataForm.icon"}})],1)],1)],1):t._e()],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.confirm")))])],1)],1)},h=[],b=a("1f27"),v=a("985d"),g={data:function(){var t=this,e=function(e,a,n){1!==t.dataForm.type||/\S/.test(a)?n():n(new Error("菜单URL不能为空"))};return{visible:!1,typeList:["目录","菜单","按钮"],dataForm:{id:"",type:1,name:"",code:"",parentId:0,category:"1",parentName:"",icon:"",enName:"",href:"",permission:"",sortNo:0},dataRule:{name:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("menuManage.menuName")]),trigger:"blur"}],parentName:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("menuManage.parentName")]),trigger:"change"}],href:[{validator:e,trigger:"blur"}]},menuList:[],dataList:[],menuListTreeProps:{label:"name",children:"children"},listQuery:{current:1,size:550},iconList:[]}},created:function(){this.iconList=v["a"].getNameList()},methods:{init:function(){var t=Object(i["a"])(s.a.mark((function t(e){var a,n,r=this;return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.visible=!0,this.dataForm.id=e||"",c()(a=this.dataList).call(a,0,this.dataList.length),t.next=5,Object(b["e"])(this.listQuery);case 5:n=t.sent,0===n.code&&(this.dataList=n.data),this.setMenuList(),this.$nextTick((function(){r.$refs["dataForm"].resetFields(),r.dataForm.id&&Object(b["d"])(r.dataForm.id).then((function(t){r.dataForm=t.data}))}));case 9:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),menuListTreeCurrentChangeHandle:function(t,e){this.dataForm.parentId=t.id,this.dataForm.parentName=t.name},menuListTreeSetCurrentNode:function(){this.$refs.menuListTree.setCurrentKey(this.dataForm.parentId),this.dataForm.parentName=(this.$refs.menuListTree.getCurrentNode()||{})["name"]},iconActiveHandle:function(t){this.dataForm.icon=t},dataFormSubmit:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var a=t.dataForm;t.dataForm.id?Object(b["c"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})})):Object(b["a"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})}))}}))},setMenuList:function(){var t,e,a=this;c()(t=this.menuList).call(t,0,this.menuList.length),p()(e=this.dataList).call(e,(function(t){"0"===t.parentId?a.menuList.push(t):a.append(t)}))},append:function(t){var e,a=this;p()(e=this.dataList).call(e,(function(e){t.parentId===e.id&&(e.children||a.$set(e,"children",[]),e.children.push(t))}))}}},F=g,y=(a("5fde"),a("2877")),_=Object(y["a"])(F,f,h,!1,null,null,null),$=_.exports,L=a("546f"),k={components:{AddOrUpdate:$},filters:{commonFilter:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(t){return t};return e(t)}},data:function(){return{menuList:[],dataList:[],basicData:L["a"],dataListLoading:!1,addOrUpdateVisible:!1,listQuery:{current:1,size:550}}},created:function(){this.getDataList()},methods:{getDataList:function(){var t=Object(i["a"])(s.a.mark((function t(){var e,a;return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.dataListLoading=!1,c()(e=this.dataList).call(e,0,this.dataList.length),t.next=4,Object(b["e"])(this.listQuery);case 4:a=t.sent,0===a.code&&(this.dataList=a.data,this.dataListLoading=!1),this.setMenuList();case 7:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),addOrUpdateHandle:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t)}))},deleteHandle:function(t){var e,a=this;this.$confirm(d()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.name,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(b["b"])(t.id).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getDataList()}})}))}))["catch"]((function(){}))},setMenuList:function(){var t,e,a=this;c()(t=this.menuList).call(t,0,this.menuList.length),p()(e=this.dataList).call(e,(function(t){"0"===t.parentId?a.menuList.push(t):a.append(t)}))},append:function(t){var e,a=this;p()(e=this.dataList).call(e,(function(e){t.parentId===e.id&&(t.parentName=e.name,e.children||a.$set(e,"children",[]),e.children.push(t))}))}}},D=k,w=Object(y["a"])(D,n,r,!1,null,null,null);e["default"]=w.exports},"1f27":function(t,e,a){"use strict";a.d(e,"e",(function(){return r})),a.d(e,"d",(function(){return i})),a.d(e,"a",(function(){return o})),a.d(e,"b",(function(){return s})),a.d(e,"c",(function(){return l})),a.d(e,"g",(function(){return c})),a.d(e,"f",(function(){return u}));var n=a("b775");function r(t){return Object(n["a"])({url:"/api/upms/menu/list",method:"post",data:t})}function i(t){return Object(n["a"])({url:"/api/upms/menu/get",method:"post",data:{id:t}})}function o(t){return Object(n["a"])({url:"/api/upms/menu/add",method:"post",data:t})}function s(t){return Object(n["a"])({url:"/api/upms/menu/delete",method:"post",data:{id:t}})}function l(t){return Object(n["a"])({url:"/api/upms/menu/update",method:"post",data:t})}function c(t){return Object(n["a"])({url:"/api/upms/menu/saveRoleMenu",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/api/upms/menu/listByRole",method:"post",data:{id:t}})}},"546f":function(t,e,a){"use strict";var n=a("9923"),r={sex:{0:n["a"].t("basicDataFilter.sex.woman"),1:n["a"].t("basicDataFilter.sex.man")},onDuty:{0:n["a"].t("basicDataFilter.onDuty.no"),1:n["a"].t("basicDataFilter.onDuty.yes")},orderStatus:{1:n["a"].t("basicDataFilter.orderStatus.add"),2:n["a"].t("basicDataFilter.orderStatus.start"),3:n["a"].t("basicDataFilter.orderStatus.stop"),4:n["a"].t("basicDataFilter.orderStatus.issued"),9:n["a"].t("basicDataFilter.orderStatus.complete")},workOrderStatus:{1:n["a"].t("basicDataFilter.workOrderStatus.notactive"),2:n["a"].t("basicDataFilter.workOrderStatus.waiting"),3:n["a"].t("basicDataFilter.workOrderStatus.active"),4:n["a"].t("basicDataFilter.workOrderStatus.stop"),9:n["a"].t("basicDataFilter.workOrderStatus.complete")},source:{1:"MES",2:"ERP",3:"PID1",4:"00A",5:"00C"},priority:{1:n["a"].t("basicDataFilter.priority.low"),2:n["a"].t("basicDataFilter.priority.normal"),3:n["a"].t("basicDataFilter.priority.high")},workStatus:{0:n["a"].t("basicDataFilter.workStatus.fail"),1:n["a"].t("basicDataFilter.workStatus.success")},roleType:{1:"pc",2:"app",3:"wechat",4:"miniapp",5:"pda"},menuType:{0:n["a"].t("basicDataFilter.menuType.catalogue"),1:n["a"].t("basicDataFilter.menuType.menu"),2:n["a"].t("basicDataFilter.menuType.button")},enableState:{0:n["a"].t("basicDataFilter.enableState.disable"),1:n["a"].t("basicDataFilter.enableState.enable")},storage:{0:n["a"].t("basicDataFilter.storage.normal"),1:n["a"].t("basicDataFilter.storage.repairing"),2:n["a"].t("basicDataFilter.storage.scrap")}};e["a"]=function(t){return function(e){var a;return null===r||void 0===r||null===(a=r[t])||void 0===a?void 0:a[e]}}},"5fde":function(t,e,a){"use strict";a("d3e5")},d3e5:function(t,e,a){}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-3dfa6e6a.f0657ee1.js b/dist/static/js/chunk-3dfa6e6a.f0657ee1.js new file mode 100644 index 0000000..9800446 --- /dev/null +++ b/dist/static/js/chunk-3dfa6e6a.f0657ee1.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3dfa6e6a"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return s}));var i=a("2b0b"),r=a.n(i);Math.easeInOutQuad=function(t,e,a,i){return t/=i/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){r()(t,1e3/60)}}();function o(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function l(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(t,e,a){var i=l(),r=t-i,s=20,d=0;e="undefined"===typeof e?500:e;var c=function t(){d+=s;var l=Math.easeInOutQuad(d,i,r,e);o(l),d0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),t._v(" "),t.addOrUpdateVisible?a("dataDictionary-add",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e()],1)},r=[],n=a("a3e3"),o=a.n(n),l=a("3393"),s=a.n(l),d=a("b775");function c(t){return Object(d["a"])({url:"/api/wms/platform-dict/selectPlatformDictTypeListByPage",method:"post",data:t})}function u(t){return Object(d["a"])({url:"/api/wms/platform-dict/selectDictTypeById",method:"post",data:{id:t}})}function m(t){return Object(d["a"])({url:"/api/wms/platform-dict/updatePlatformDictType",method:"post",data:t})}function p(t){return Object(d["a"])({url:"/api/wms/platform-dict/savePlatformDictType",method:"post",data:t})}function f(t){return Object(d["a"])({url:"/api/wms/platform-dict/deletePlatformDictType",method:"post",data:{id:t}})}var b=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")(t.dataForm.id?"btn.edit":"btn.add"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"100px"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.materialsType.TypeName"),prop:"typeName"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.materialsType.TypeName")]),clearable:""},model:{value:t.dataForm.typeName,callback:function(e){t.$set(t.dataForm,"typeName",e)},expression:"dataForm.typeName"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.materialsType.TypeCode"),prop:"typeCode"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.materialsType.TypeCode")]),clearable:""},model:{value:t.dataForm.typeCode,callback:function(e){t.$set(t.dataForm,"typeCode",e)},expression:"dataForm.typeCode"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Remarks"),prop:"remark"}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Remarks")]),clearable:""},model:{value:t.dataForm.remark,callback:function(e){t.$set(t.dataForm,"remark",e)},expression:"dataForm.remark"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.confirm")))])],1)],1)},y=[],h={data:function(){return{visible:!1,dataForm:{id:0,typeName:"",typeCode:"",remark:""},dataRule:{typeName:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.materialsType.TypeName")]),trigger:"blur"}],typeCode:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.materialsType.TypeCode")]),trigger:"blur"}]}}},methods:{init:function(t){var e=this;this.dataForm.id=t||"",this.visible=!0,this.$nextTick((function(){e.$refs["dataForm"].resetFields(),e.dataForm.id&&u(e.dataForm.id).then((function(t){e.dataForm=t.data}))}))},dataFormSubmit:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var a=t.dataForm;t.dataForm.id?m(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})})):p(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})}))}}))}}},v=h,$=a("2877"),T=Object($["a"])(v,b,y,!1,null,null,null),F=T.exports,g=a("c0ee"),D=a("333d"),k=a("ebe9"),w=a("9923"),_=[{type:"edit",btnName:"btn.edit"},{type:"list",btnName:w["a"].t("module.basicData.dataDictionary.list")},{type:"delete",btnName:"btn.delete"}],N=[{prop:"typeName",label:w["a"].t("module.basicData.materialsType.TypeName"),align:"center"},{prop:"typeCode",label:w["a"].t("module.basicData.materialsType.TypeCode"),align:"center"},{prop:"remark",label:w["a"].t("module.basicData.visual.Remarks"),align:"center"}],C={name:"Factory",components:{Pagination:D["a"],BaseTable:g["a"],MethodBtn:k["a"],DataDictionaryAdd:F},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{addOrUpdateVisible:!1,tableBtn:_,trueWidth:250,tableProps:N,list:[],total:0,listLoading:!0,listQuery:{current:1,size:10,typeName:"",typeCode:""}}},created:function(){this.getList()},methods:{handleClick:function(t){var e,a=this;"delete"===t.type?this.$confirm(o()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.typeName,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){f(t.data.id).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getList()}})}))}))["catch"]((function(){})):"list"===t.type?this.toList(t.data.id):this.addNew(t.data.id)},getList:function(){var t=this;this.listLoading=!0,c(this.listQuery).then((function(e){var a;e.data.records?t.list=e.data.records:s()(a=t.list).call(a,0,t.list.length);t.total=e.data.total,t.listLoading=!1}))},addNew:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t)}))},toList:function(t){this.$router.push({name:"dataDictionaryData",query:{dictTypeId:t}})}}},x=C,Q=(a("31cb"),Object($["a"])(x,i,r,!1,null,"7afbc726",null));e["default"]=Q.exports},eab1:function(t,e,a){}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-3fefd9bc.428d29f8.js b/dist/static/js/chunk-3fefd9bc.428d29f8.js new file mode 100644 index 0000000..6110f7a --- /dev/null +++ b/dist/static/js/chunk-3fefd9bc.428d29f8.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3fefd9bc"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("2b0b"),o=n.n(r);Math.easeInOutQuad=function(t,e,n,r){return t/=r/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){o()(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function u(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(t,e,n){var r=u(),o=t-r,s=20,l=0;e="undefined"===typeof e?500:e;var c=function t(){l+=s;var u=Math.easeInOutQuad(l,r,o,e);i(u),l0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}})],1)},o=[],a=n("3393"),i=n.n(a),u=n("9923"),s=n("bb1e"),l=n("c0ee"),c=n("333d"),d=n("5a6c"),p=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],m=[{prop:"code",label:u["a"].t("module.report.inventory.code"),align:"center"},{prop:"status",label:u["a"].t("module.report.inventory.status"),align:"center"},{prop:"inprocessCode",label:u["a"].t("module.report.inventory.inprocessCode"),align:"center"},{prop:"currentLocation",label:u["a"].t("module.report.inventory.currentLocation"),align:"center"},{prop:"storeTime",label:u["a"].t("module.report.inventory.storeTime"),align:"center"},{prop:"manual",label:u["a"].t("module.report.inventory.manual"),align:"center"}],b={name:"Inventory",components:{Pagination:c["a"],BaseTable:l["a"],HeadForm:s["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{addOrUpdateVisible:!1,keyName:u["a"].t("module.report.reportList.storageBoxNumber"),placeholderName:this.$t("module.report.reportList.queryFiltering"),tableBtn:p,trueWidth:200,tableProps:m,list:[],total:0,listLoading:!0,listQuery:{current:1,size:10}}},created:function(){this.getList()},methods:{getList:function(t){var e=this;this.listLoading=!0,this.listQuery.code=t,console.log(this.listQuery),Object(d["c"])(this.listQuery).then((function(t){var n;(console.log(t),t.data)?e.list=t.data:i()(n=e.list).call(n,0,e.list.length);e.listLoading=!1}))}}},f=b,g=(n("478c"),n("2877")),y=Object(g["a"])(f,r,o,!1,null,"5f68faaa",null);e["default"]=y.exports},"857b":function(t,e,n){}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-42febee0.ff1aebd5.js b/dist/static/js/chunk-42febee0.ff1aebd5.js new file mode 100644 index 0000000..a5c6ca0 --- /dev/null +++ b/dist/static/js/chunk-42febee0.ff1aebd5.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-42febee0","chunk-e27fb0b2"],{"201c":function(t,e,a){},3163:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")("btn.edit"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"130px"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:t.$t("module.report.substrate.substrateCode"),prop:"substrateCode"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.report.substrate.substrateCode")]),clearable:""},model:{value:t.dataForm.substrateCode,callback:function(e){t.$set(t.dataForm,"substrateCode",e)},expression:"dataForm.substrateCode"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.report.substrate.location"),prop:"subPosition"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.report.substrate.location")]),clearable:""},model:{value:t.dataForm.subPosition,callback:function(e){t.$set(t.dataForm,"subPosition",e)},expression:"dataForm.subPosition"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.report.substrate.storeTime"),prop:"storeTime"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.report.substrate.storeTime")]),clearable:""},model:{value:t.dataForm.storeTime,callback:function(e){t.$set(t.dataForm,"storeTime",e)},expression:"dataForm.storeTime"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.report.substrate.substrateStatus"),prop:"status"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.report.substrate.substrateStatus")]),clearable:""},model:{value:t.dataForm.status,callback:function(e){t.$set(t.dataForm,"status",e)},expression:"dataForm.status"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.report.substrate.subStorageStatus"),prop:"subStorageStatus"}},[a("el-select",{attrs:{placeholder:this.$t("module.report.substrate.subStorageStatus"),default:""},model:{value:t.dataForm.subStorageStatus,callback:function(e){t.$set(t.dataForm,"subStorageStatus",e)},expression:"dataForm.subStorageStatus"}},t._l(t.options,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.report.substrate.machineHandID"),prop:"machineHandID"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.report.substrate.machineHandID")]),clearable:""},model:{value:t.dataForm.machineHandID,callback:function(e){t.$set(t.dataForm,"machineHandID",e)},expression:"dataForm.machineHandID"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.confirm")))])],1)],1)},r=[],o=a("5a6c"),i={props:{id:{type:String,default:function(){return""}}},data:function(){return{visible:!1,dataForm:{},options:[{value:1,label:this.$t("module.report.substrate.load")},{value:2,label:this.$t("module.report.substrate.unload")}],list:{id:"",locationName:"",storeTime:"",substrateCode:"",substrateStatus:""},dataRule:{substrateCode:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.report.substrate.substrateCode")]),trigger:"blur"}]}}},created:function(){this.init()},methods:{init:function(t){this.dataForm=t,this.visible=!0},dataFormSubmit:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var a={status:t.dataForm.status,storeTime:t.dataForm.storeTime,id:t.dataForm.id,substrateCode:t.dataForm.substrateCode,subPosition:t.dataForm.subPosition,storageBoxFid:t.dataForm.storageBoxFid,machineHandID:t.dataForm.machineHandID,subStorageStatus:t.dataForm.subStorageStatus};console.log(a),Object(o["e"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})}))}}))}}},l=i,u=a("2877"),n=Object(u["a"])(l,s,r,!1,null,null,null);e["default"]=n.exports},"340da":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("div",{staticStyle:{}},[t._v(t._s(t.storageCode)+":"+t._s(t.num)+"\n "),a("el-button",{staticStyle:{},attrs:{type:"success"},on:{click:function(e){return t.goback()}}},[t._v(t._s(t._f("i18nFilter")("btn.back")))])],1),t._v(" "),a("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-config":t.tableProps,"table-data":t.list,"is-loading":t.listLoading}},[a("method-btn",{attrs:{slot:"handleBtn",width:t.trueWidth,"method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"})],1),t._v(" "),t.addOrUpdateVisible?a("edit-substrate",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e()],1)},r=[],o=a("a3e3"),i=a.n(o),l=a("3393"),u=a.n(l),n=a("9923"),d=a("5a6c"),c=a("3163"),b=a("c0ee"),m=a("ebe9"),p=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],f=[{prop:"substrateCode",label:n["a"].t("module.report.substrate.substrateCode"),align:"center"},{prop:"subPosition",label:n["a"].t("module.report.substrate.location"),align:"center"},{prop:"storeTime",label:n["a"].t("module.report.substrate.storeTime"),align:"center"},{prop:"status",label:n["a"].t("module.report.substrate.substrateStatus"),align:"center"},{prop:"subStorageStatusName",label:n["a"].t("module.report.substrate.subStorageStatus"),align:"center"},{prop:"machineHandID",label:n["a"].t("module.report.substrate.machineHandID"),align:"center"}],h={name:"ViewSubstrate",components:{BaseTable:b["a"],MethodBtn:m["a"],editSubstrate:c["default"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{addOrUpdateVisible:!1,num:"",storageCode:this.$t("module.basicData.visual.storageCode"),tableBtn:p,trueWidth:200,tableProps:f,list:[],listLoading:!0,listQuery:{current:1,size:10,locationStorageSubID:""},count:0}},created:function(){this.listQuery.storageBoxCode=this.$route.query.code,this.listQuery.locationStorageSubID=this.$route.query.locationStorageSubID,this.getList()},methods:{handleClick:function(t){var e,a=this;"delete"===t.type?this.$confirm(i()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.substrateCode,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(d["a"])(t.data).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getList()}})}))}))["catch"]((function(){})):this.addNew(t.data)},getList:function(){var t=this;this.listLoading=!0,this.num=this.listQuery.storageBoxCode,this.listQuery.code=this.$route.query.code,Object(d["d"])(this.listQuery).then((function(e){if(e.data){t.list=e.data;for(var a=0;a0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),t._v(" "),t.addOrUpdateVisible?a("ScrapType-add",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e()],1)},r=[],n=a("a3e3"),o=a.n(n),s=a("3393"),c=a.n(s),l=a("30dd"),d=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")(t.dataForm.id?"btn.edit":"btn.add"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"140px"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.ScrapInfo.scrapType"),prop:"scrapType"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.ScrapInfo.scrapType")]),clearable:""},model:{value:t.dataForm.scrapType,callback:function(e){t.$set(t.dataForm,"scrapType",e)},expression:"dataForm.scrapType"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.ScrapInfo.scrapTypeCode"),prop:"code"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.ScrapInfo.scrapTypeCode")]),clearable:""},model:{value:t.dataForm.code,callback:function(e){t.$set(t.dataForm,"code",e)},expression:"dataForm.code"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Description"),prop:"description"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Description")]),clearable:""},model:{value:t.dataForm.description,callback:function(e){t.$set(t.dataForm,"description",e)},expression:"dataForm.description"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Remarks"),prop:"remark"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Remarks")]),clearable:""},model:{value:t.dataForm.remark,callback:function(e){t.$set(t.dataForm,"remark",e)},expression:"dataForm.remark"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.confirm")))])],1)],1)},u=[],p={data:function(){return{visible:!1,dataForm:{id:0,scrapType:"",code:"",description:"",remark:""},dataRule:{scrapType:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.ScrapInfo.scrapType")]),trigger:"blur"}],code:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.ScrapInfo.scrapTypeCode")]),trigger:"blur"}]}}},methods:{init:function(t){var e=this;this.dataForm.id=t||"",this.visible=!0,this.$nextTick((function(){e.$refs["dataForm"].resetFields(),e.dataForm.id?Object(l["d"])(e.dataForm.id).then((function(t){e.dataForm=t.data})):Object(l["b"])().then((function(t){e.dataForm.code=t.data}))}))},dataFormSubmit:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var a={scrapType:t.dataForm.scrapType,code:t.dataForm.code,description:t.dataForm.description,remark:t.dataForm.remark,id:t.dataForm.id};t.dataForm.id?Object(l["f"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})})):Object(l["a"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})}))}}))}}},m=p,f=a("2877"),b=Object(f["a"])(m,d,u,!1,null,null,null),h=b.exports,y=a("bb1e"),v=a("c0ee"),F=a("333d"),g=a("ebe9"),$=a("8975"),T=a("9923"),k=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],D=[{prop:"createTime",label:T["a"].t("module.basicData.factory.createTime"),filter:$["timeFormatter"],align:"center"},{prop:"scrapType",label:T["a"].t("module.basicData.ScrapInfo.scrapType"),align:"center"},{prop:"code",label:T["a"].t("module.basicData.ScrapInfo.scrapTypeCode"),align:"center"},{prop:"description",label:T["a"].t("module.basicData.visual.Description"),align:"center"},{prop:"remark",label:T["a"].t("module.basicData.visual.Remarks"),align:"center"}],w={name:"ScrapType",components:{Pagination:F["a"],BaseTable:v["a"],MethodBtn:g["a"],HeadForm:y["a"],ScrapTypeAdd:h},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{keyName:T["a"].t("module.basicData.visual.keyword"),placeholderName:this.$t("module.basicData.ScrapInfo.scrapType"),addOrUpdateVisible:!1,tableBtn:k,trueWidth:200,tableProps:D,list:[],total:0,listLoading:!0,listQuery:{current:1,size:10,scrapType:""}}},created:function(){this.getList()},methods:{handleClick:function(t){var e,a=this;(console.log(t),"delete"===t.type)?this.$confirm(o()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.scrapType,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(l["c"])(t.data.id).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getList()}})}))}))["catch"]((function(){})):this.addNew(t.data.id)},getList:function(t){var e=this;this.listLoading=!0,this.listQuery.scrapType=t,Object(l["e"])(this.listQuery).then((function(t){var a;t.data.records?e.list=t.data.records:c()(a=e.list).call(a,0,e.list.length);e.total=t.data.total,e.listLoading=!1}))},addNew:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t)}))}}},O=w,_=(a("2fbc"),Object(f["a"])(O,i,r,!1,null,"6282007e",null));e["default"]=_.exports}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-49f842f0.74bf2c3d.js b/dist/static/js/chunk-49f842f0.74bf2c3d.js new file mode 100644 index 0000000..7c2f079 --- /dev/null +++ b/dist/static/js/chunk-49f842f0.74bf2c3d.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-49f842f0"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return n}));var o=a("2b0b"),r=a.n(o);Math.easeInOutQuad=function(t,e,a,o){return t/=o/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var l=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){r()(t,1e3/60)}}();function s(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function i(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function n(t,e,a){var o=i(),r=t-o,n=20,u=0;e="undefined"===typeof e?500:e;var d=function t(){u+=n;var i=Math.easeInOutQuad(u,o,r,e);s(i),u0,expression:"total > 0"}],attrs:{total:t.total,page:t.formData.current,limit:t.formData.size},on:{"update:page":function(e){return t.$set(t.formData,"current",e)},"update:limit":function(e){return t.$set(t.formData,"size",e)},pagination:function(e){return t.getList()}}}),t._v(" "),t.addOrUpdateVisible?a("current-task-info",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e(),t._v(" "),t.manualTaskVisible?a("current-task-add",{ref:"manualTaskRef",on:{refreshDataList:t.getList}}):t._e(),t._v(" "),t.publishTaskVisible?a("publish-task",{ref:"publishTask"}):t._e()],1)},r=[],l=a("3393"),s=a.n(l),i=a("1bb6"),n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")("btn.see"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-row",{attrs:{gutter:10}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,size:"medium","label-width":"160px","label-position":"left"}},[a("el-col",{attrs:{span:8}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.Code"),prop:"taskCode"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.taskCode,callback:function(e){t.$set(t.dataForm,"taskCode",e)},expression:"dataForm.taskCode"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.OrderName"),prop:"orderName"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.orderName,callback:function(e){t.$set(t.dataForm,"orderName",e)},expression:"dataForm.orderName"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskBoxNumber"),prop:"fullCode"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.fullCode,callback:function(e){t.$set(t.dataForm,"fullCode",e)},expression:"dataForm.fullCode"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.VehicleName"),prop:"name"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.name,callback:function(e){t.$set(t.dataForm,"name",e)},expression:"dataForm.name"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.EmptyFork"),prop:"field124"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.field124,callback:function(e){t.$set(t.dataForm,"field124",e)},expression:"dataForm.field124"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.EmptyHandlingTime"),prop:"field119"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.field119,callback:function(e){t.$set(t.dataForm,"field119",e)},expression:"dataForm.field119"}})],1)],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.ExecutionTime"),prop:"createTime"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.createTime,callback:function(e){t.$set(t.dataForm,"createTime",e)},expression:"dataForm.createTime"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskType"),prop:"taskType"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.taskType,callback:function(e){t.$set(t.dataForm,"taskType",e)},expression:"dataForm.taskType"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.FullBoxNumber"),prop:"emptyCode"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.emptyCode,callback:function(e){t.$set(t.dataForm,"emptyCode",e)},expression:"dataForm.emptyCode"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskLocation"),prop:"anotherCurrLocation"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.anotherCurrLocation,callback:function(e){t.$set(t.dataForm,"anotherCurrLocation",e)},expression:"dataForm.anotherCurrLocation"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskBoxFork"),prop:"field121"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.field121,callback:function(e){t.$set(t.dataForm,"field121",e)},expression:"dataForm.field121"}})],1)],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskSource"),prop:"taskSource"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.taskSource,callback:function(e){t.$set(t.dataForm,"taskSource",e)},expression:"dataForm.taskSource"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.PreviousOperation"),prop:"anotherCurrProcessCode"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.anotherCurrProcessCode,callback:function(e){t.$set(t.dataForm,"anotherCurrProcessCode",e)},expression:"dataForm.anotherCurrProcessCode"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.NextOperation"),prop:"anotherNextProcessCode"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.anotherNextProcessCode,callback:function(e){t.$set(t.dataForm,"anotherNextProcessCode",e)},expression:"dataForm.anotherNextProcessCode"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TargetLocation"),prop:"anotherTargetLocation"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.anotherTargetLocation,callback:function(e){t.$set(t.dataForm,"anotherTargetLocation",e)},expression:"dataForm.anotherTargetLocation"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.BoxStatus"),prop:"field126"}},[a("el-input",{style:{width:"100%"},attrs:{readonly:""},model:{value:t.dataForm.field126,callback:function(e){t.$set(t.dataForm,"field126",e)},expression:"dataForm.field126"}})],1)],1)],1)],1)],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))])],1)],1)},u=[],d={data:function(){return{visible:!1,dataForm:{id:"",taskCode:void 0,orderName:void 0,fullCode:void 0,name:void 0,field124:void 0,field119:void 0,createTime:void 0,taskType:void 0,emptyCode:void 0,anotherCurrLocation:void 0,field121:void 0,taskSource:void 0,anotherCurrProcessCode:void 0,anotherNextProcessCode:void 0,anotherTargetLocation:void 0,field126:void 0}}},methods:{init:function(t){var e=this;this.dataForm.id=t,this.visible=!0,this.$nextTick((function(){e.$refs["dataForm"].resetFields(),Object(i["a"])(e.dataForm.id).then((function(t){e.dataForm=t.data}))}))}}},c=d,m=a("2877"),p=Object(m["a"])(c,n,u,!1,null,null,null),f=p.exports,b=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t.$t("module.basicData.Warehouse.PerformTaskManual"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-row",{attrs:{gutter:10}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,size:"medium","label-width":"170px","label-position":"left"}},[a("el-col",{attrs:{span:12}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskBoxNumber"),prop:"taskCode"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.Warehouse.StorageBoxNumber")]),clearable:"",filterable:""},model:{value:t.dataForm.taskCode,callback:function(e){t.$set(t.dataForm,"taskCode",e)},expression:"dataForm.taskCode"}},t._l(t.storageBoxList,(function(t,e){return a("el-option",{key:e,attrs:{label:t.code,value:t.code}})})),1)],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.FullBoxNumber"),prop:"orderName"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.orderName,callback:function(e){t.$set(t.dataForm,"orderName",e)},expression:"dataForm.orderName"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.ExecutionOperation"),prop:"fullCode"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.art.processList.processName")]),clearable:"",filterable:""},model:{value:t.dataForm.fullCode,callback:function(e){t.$set(t.dataForm,"fullCode",e)},expression:"dataForm.fullCode"}},t._l(t.processArr,(function(t,e){return a("el-option",{key:e,attrs:{label:t.name,value:t.id}})})),1)],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskStatus"),prop:"TaskStatus"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.Warehouse.TaskStatus")]),clearable:"",filterable:""},model:{value:t.dataForm.TaskStatus,callback:function(e){t.$set(t.dataForm,"TaskStatus",e)},expression:"dataForm.TaskStatus"}},t._l(t.TaskStatusArr,(function(t,e){return a("el-option",{key:e,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.ScrapInfo.remark"),prop:"remark"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.remark,callback:function(e){t.$set(t.dataForm,"remark",e)},expression:"dataForm.remark"}})],1)],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TaskLocation"),prop:"createTime"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.createTime,callback:function(e){t.$set(t.dataForm,"createTime",e)},expression:"dataForm.createTime"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.FullBoxStartLocation"),prop:"taskType"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.taskType,callback:function(e){t.$set(t.dataForm,"taskType",e)},expression:"dataForm.taskType"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.Priority"),prop:"emptyCode"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.emptyCode,callback:function(e){t.$set(t.dataForm,"emptyCode",e)},expression:"dataForm.emptyCode"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.NextOperation"),prop:"anotherCurrLocation"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.Warehouse.NextOperation")]),clearable:"",filterable:""},model:{value:t.dataForm.anotherCurrLocation,callback:function(e){t.$set(t.dataForm,"anotherCurrLocation",e)},expression:"dataForm.anotherCurrLocation"}},t._l(t.processArr,(function(t,e){return a("el-option",{key:e,attrs:{label:t.name,value:t.id}})})),1)],1)],1)],1)],1)],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")(t.$t("module.basicData.Warehouse.PerformTaskManual")))+" ")])],1)],1)},h=[],v=a("3d6f"),k=a("5886"),F=a("fe12"),y={data:function(){return{visible:!1,processArr:[],TaskStatusArr:[],storageBoxList:[],dataForm:{id:"",taskCode:void 0,orderName:void 0,fullCode:void 0,TaskStatus:void 0,remark:void 0,field119:void 0,createTime:void 0,taskType:void 0,emptyCode:void 0,anotherCurrLocation:void 0,field121:void 0,taskSource:void 0,anotherCurrProcessCode:void 0,anotherNextProcessCode:void 0,anotherTargetLocation:void 0,field126:void 0}}},methods:{init:function(t){var e=this;this.dataForm.id=t,this.visible=!0;var a={current:1,size:999};Object(v["d"])(a).then((function(t){var a;t.data.records?e.processArr=t.data.records:s()(a=e.processArr).call(a,0,e.list.length);e.total=t.data.total})),Object(F["c"])(a).then((function(t){e.storageBoxList=t.data.records})),Object(k["d"])({current:1,size:999,dictTypeId:"6"}).then((function(t){var a;t.data.records?e.TaskStatusArr=t.data.records:s()(a=e.TaskStatusArr).call(a,0,e.scrapsArr.length)})),this.$nextTick((function(){e.$refs["dataForm"].resetFields()}))}}},T=y,$=Object(m["a"])(T,b,h,!1,null,null,null),D=$.exports,g=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")("btn.see"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-row",{attrs:{gutter:10}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,size:"medium","label-width":"110px","label-position":"left"}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.startPosition"),prop:"startPosition"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.startPosition,callback:function(e){t.$set(t.dataForm,"startPosition",e)},expression:"dataForm.startPosition"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.endPosition"),prop:"endPosition"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.endPosition,callback:function(e){t.$set(t.dataForm,"endPosition",e)},expression:"dataForm.endPosition"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.taskType"),prop:"taskType"}},[a("el-input",{style:{width:"100%"},model:{value:t.dataForm.taskType,callback:function(e){t.$set(t.dataForm,"taskType",e)},expression:"dataForm.taskType"}})],1)],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.submit"))+" ")])],1)],1)},w=[],x={data:function(){return{visible:!1,dataForm:{startPosition:null,endPosition:null,taskType:null},dataRule:{startPosition:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.Warehouse.startPosition")]),trigger:"blur"}],endPosition:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.Warehouse.endPosition")]),trigger:"blur"}],taskType:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.Warehouse.taskType")]),trigger:"blur"}]}}},methods:{init:function(){var t=this;this.visible=!0,this.$nextTick((function(){t.$refs["dataForm"].resetFields()}))}}},_=x,C=Object(m["a"])(_,g,w,!1,null,null,null),W=C.exports,L=a("9923"),O=a("c0ee"),P=a("333d"),N=a("ebe9"),j=a("8975"),S=[{type:"view",btnName:"btn.see"}],B=[{prop:"taskCode",label:L["a"].t("module.basicData.Warehouse.Code"),align:"center"},{prop:"createTime",label:L["a"].t("module.basicData.Warehouse.ExecutionTime"),filter:j["timeFormatter"],align:"center"},{prop:"taskSource",label:L["a"].t("module.basicData.Warehouse.TaskSource"),align:"center"},{prop:"taskType",label:L["a"].t("module.basicData.Warehouse.TaskType"),align:"center"},{prop:"fullCode",label:L["a"].t("module.basicData.Warehouse.TaskBoxNumber"),align:"center"},{prop:"emptyCode",label:L["a"].t("module.basicData.Warehouse.FullBoxNumber"),align:"center"},{prop:"wcurrProcessCode",label:L["a"].t("module.basicData.Warehouse.PreviousOperation"),align:"center"},{prop:"wnextProcessCode",label:L["a"].t("module.basicData.Warehouse.NextOperation"),align:"center"},{prop:"anotherCurrLocation",label:L["a"].t("module.basicData.Warehouse.StartLocation"),align:"center"},{prop:"anotherTargetLocation",label:L["a"].t("module.basicData.Warehouse.TargetLocation"),align:"center"},{prop:"currLocation",label:L["a"].t("module.basicData.Warehouse.FullBoxStartLocation"),align:"center"},{prop:"name",label:L["a"].t("module.basicData.Warehouse.VehicleName"),align:"center"}],q={name:"ScrapInfo",components:{Pagination:P["a"],BaseTable:O["a"],MethodBtn:N["a"],CurrentTaskInfo:f,CurrentTaskAdd:D,PublishTask:W},data:function(){return{trueWidth:100,addOrUpdateVisible:!1,manualTaskVisible:!1,publishTaskVisible:!1,tableProps:B,tableBtn:S,list:[],total:0,listLoading:!1,formData:{taskType:"",status:"",equipmentId:"",current:1,size:10},taskTypeList:[{label:L["a"].t("module.basicData.Warehouse.ExWarehouse"),value:0},{label:L["a"].t("module.basicData.Warehouse.InWarehouse"),value:1},{label:L["a"].t("module.basicData.Warehouse.Circulation"),value:2}],TaskStatusList:[{label:L["a"].t("module.basicData.Warehouse.Initialization"),value:0},{label:L["a"].t("module.basicData.Warehouse.Damage"),value:1}],VehicleNameList:[{label:"小车1",value:0},{label:"小车2",value:1}]}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(i["b"])(this.formData).then((function(e){var a;e.data.records?t.list=e.data.records:s()(a=t.list).call(a,0,t.list.length);t.total=e.data.total,t.listLoading=!1}))},handleClick:function(t){console.log(t),this.addNew(t.data.id)},addNew:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t)}))},manualTask:function(){var t=this;this.manualTaskVisible=!0,this.$nextTick((function(){t.$refs.manualTaskRef.init()}))},publishTask:function(){var t=this;this.publishTaskVisible=!0,this.$nextTick((function(){t.$refs.publishTask.init()}))}}},V=q,A=(a("1b42"),Object(m["a"])(V,o,r,!1,null,"6c17bb6e",null));e["default"]=A.exports},"3d6f":function(t,e,a){"use strict";a.d(e,"d",(function(){return r})),a.d(e,"c",(function(){return l})),a.d(e,"b",(function(){return s})),a.d(e,"e",(function(){return i})),a.d(e,"a",(function(){return n}));var o=a("b775");function r(t){return Object(o["a"])({url:"/api/process/work-sequence/page",method:"post",data:t})}function l(t){return Object(o["a"])({url:"/api/process/work-sequence/get",method:"post",data:t})}function s(t){return Object(o["a"])({url:"/api/process/work-sequence/delete",method:"post",data:t})}function i(t){return Object(o["a"])({url:"/api/process/work-sequence/update",method:"post",data:t})}function n(t){return Object(o["a"])({url:"/api/process/work-sequence/add",method:"post",data:t})}},5886:function(t,e,a){"use strict";a.d(e,"d",(function(){return r})),a.d(e,"c",(function(){return l})),a.d(e,"e",(function(){return s})),a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return n}));var o=a("b775");function r(t){return Object(o["a"])({url:"/api/wms/platform-dict/selectPlatformDictDataListByPage",method:"post",data:t})}function l(t){return Object(o["a"])({url:"/api/wms/platform-dict/selectPlatformDictDataById",method:"post",data:{id:t}})}function s(t){return Object(o["a"])({url:"/api/wms/platform-dict/updatePlatformDictData",method:"post",data:t})}function i(t){return Object(o["a"])({url:"/api/wms/platform-dict/savePlatformDictData",method:"post",data:t})}function n(t){return Object(o["a"])({url:"/api/wms/platform-dict/deletePlatformDictData",method:"post",data:{id:t}})}},fe12:function(t,e,a){"use strict";a.d(e,"a",(function(){return r})),a.d(e,"f",(function(){return l})),a.d(e,"j",(function(){return s})),a.d(e,"e",(function(){return i})),a.d(e,"g",(function(){return n})),a.d(e,"b",(function(){return u})),a.d(e,"c",(function(){return d})),a.d(e,"d",(function(){return c})),a.d(e,"h",(function(){return m})),a.d(e,"i",(function(){return p}));var o=a("b775");function r(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/his/page/by/code",method:"post",data:t})}function l(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/page/for/bind",method:"post",data:t})}function s(t){return Object(o["a"])({url:"/api/wms/location/list",method:"post",data:t})}function i(t){var e={id:t};return Object(o["a"])({url:"/api/wms/storage/box/circ/info/get",method:"post",data:e})}function n(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/update",method:"post",data:t})}function u(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/add",method:"post",data:t})}function d(t){return Object(o["a"])({url:"/api/wms/storagebox/page",method:"post",data:t})}function c(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/delete",method:"post",data:{id:t}})}function m(t){return Object(o["a"])({url:"/api/wms/processlocation/batchList",method:"post",data:t})}function p(t){return Object(o["a"])({url:"/api/wms/processlocation/locationByProcess",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-4e303e21.e3c14872.js b/dist/static/js/chunk-4e303e21.e3c14872.js new file mode 100644 index 0000000..a62ee73 --- /dev/null +++ b/dist/static/js/chunk-4e303e21.e3c14872.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4e303e21"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return l}));var r=a("2b0b"),o=a.n(r);Math.easeInOutQuad=function(t,e,a,r){return t/=r/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){o()(t,1e3/60)}}();function s(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function n(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(t,e,a){var r=n(),o=t-r,l=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=l;var n=Math.easeInOutQuad(u,r,o,e);s(n),u0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),t._v(" "),t.addOrUpdateVisible?a("Factory-add",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e()],1)},o=[],i=a("3393"),s=a.n(i),n=(a("7f7f"),a("de20")),l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")("btn.see"),visible:t.visible,width:"70%"},on:{"update:visible":function(e){t.visible=e}}},[a("el-row",{attrs:{gutter:10}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,size:"medium","label-width":"180px","label-position":"left"}},[a("el-col",{attrs:{span:8}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.OrderName"),prop:"name"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.OrderName"),readonly:""},model:{value:t.dataForm.name,callback:function(e){t.$set(t.dataForm,"name",e)},expression:"dataForm.name"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.OrderStatus"),prop:"status"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.OrderStatus"),readonly:""},model:{value:t.dataForm.status,callback:function(e){t.$set(t.dataForm,"status",e)},expression:"dataForm.status"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.PlanProcessQuantity"),prop:"planQuantity"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.PlanProcessQuantity"),readonly:""},model:{value:t.dataForm.planQuantity,callback:function(e){t.$set(t.dataForm,"planQuantity",e)},expression:"dataForm.planQuantity"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.Priority"),prop:"priority"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.Priority"),readonly:""},model:{value:t.dataForm.priority,callback:function(e){t.$set(t.dataForm,"priority",e)},expression:"dataForm.priority"}})],1)],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.OrderCode"),prop:"code"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.OrderCode"),readonly:""},model:{value:t.dataForm.code,callback:function(e){t.$set(t.dataForm,"code",e)},expression:"dataForm.code"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.startProduceTime"),prop:"startProduceTime"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.startProduceTime"),readonly:""},model:{value:t.dataForm.startProduceTime,callback:function(e){t.$set(t.dataForm,"startProduceTime",e)},expression:"dataForm.startProduceTime"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.actualProcessQuantity"),prop:"actualQuantity"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.actualProcessQuantity"),readonly:""},model:{value:t.dataForm.actualQuantity,callback:function(e){t.$set(t.dataForm,"actualQuantity",e)},expression:"dataForm.actualQuantity"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.triggerOrigin"),prop:"triggerOrigin"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.triggerOrigin"),readonly:""},model:{value:t.dataForm.triggerOrigin,callback:function(e){t.$set(t.dataForm,"triggerOrigin",e)},expression:"dataForm.triggerOrigin"}})],1)],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TotalProcessName"),prop:"craftName"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.TotalProcessName"),readonly:""},model:{value:t.dataForm.craftName,callback:function(e){t.$set(t.dataForm,"craftName",e)},expression:"dataForm.craftName"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.SubProcessName"),prop:"subProccessName"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.SubProcessName"),readonly:""},model:{value:t.dataForm.subProccessName,callback:function(e){t.$set(t.dataForm,"subProccessName",e)},expression:"dataForm.subProccessName"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.scrapQuantity"),prop:"scrapQuantity"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.scrapQuantity"),readonly:""},model:{value:t.dataForm.scrapQuantity,callback:function(e){t.$set(t.dataForm,"scrapQuantity",e)},expression:"dataForm.scrapQuantity"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.OrderType"),prop:"type"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.OrderType"),readonly:""},model:{value:t.dataForm.type,callback:function(e){t.$set(t.dataForm,"type",e)},expression:"dataForm.type"}})],1)],1)],1)],1)],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))])],1)],1)},u=[],c=a("8975"),d={data:function(){return{visible:!1,dataForm:{id:0,name:void 0,priority:"",actualQuantity:"",startProduceTime:"",scrapQuantity:"",triggerOrigin:"",type:"",code:void 0,status:void 0,craftName:void 0,planQuantity:void 0,subProccessName:void 0}}},methods:{init:function(t){var e=this;this.dataForm.id=t||"",this.visible=!0,this.$nextTick((function(){e.$refs["dataForm"].resetFields(),e.dataForm.id&&Object(n["c"])(e.dataForm.id).then((function(t){t.data.status=e.statusfilter("orderStatus",t.data.status),t.data.type=e.statusfilter("orderType",t.data.type),t.data.priority=e.statusfilter("priority",t.data.priority),t.data.triggerOrigin=e.statusfilter("triggerOrigin",t.data.triggerOrigin),t.data.startProduceTime=Object(c["timeFormatter"])(t.data.startProduceTime),e.dataForm=t.data}))}))},statusfilter:function(t,e){var a,r={orderStatus:{1:"未激活",2:"等待",3:"激活",4:"暂停",9:"完成"},priority:{1:"低",2:"正常",3:"高"},orderType:{1:"生产工单",2:"重工工单",3:"测试工单"},triggerOrigin:{1:"MES",2:"ERP",3:"PID1",4:"00A",5:"00C"}};return null===r||void 0===r||null===(a=r[t])||void 0===a?void 0:a[e]}}},p=d,m=a("2877"),b=Object(m["a"])(p,l,u,!1,null,null,null),f=b.exports,h=a("bb1e"),y=a("c0ee"),v=a("333d"),F=a("ebe9"),g=a("546f"),w=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",[a("el-popover",{attrs:{placement:"top",width:"160"},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[a("div",[a("el-select",{attrs:{placeholder:t.$t("module.basicData.Warehouse.RelateProcess")},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.options,(function(t){return a("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1),t._v(" "),a("div",{staticStyle:{"text-align":"right",margin:"0"}},[a("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.emitClick}},[t._v(t._s(t._f("i18nFilter")("btn.confirm")))])],1),t._v(" "),a("el-button",{attrs:{slot:"reference",type:"text"},slot:"reference"},[t._v(t._s(t.$t("module.basicData.Warehouse.RelateProcess")))])],1)],1)},D=[],O=a("e242"),$={props:{injectData:{type:Object,default:function(){return{}}}},data:function(){return{visible:!1,options:[],value:""}},created:function(){this.init()},methods:{init:function(){var t=this;Object(O["g"])({current:1,size:999}).then((function(e){t.options=e.data.records})),this.value=this.injectData.processId},emitClick:function(){var t=this,e={id:this.injectData.id,subProcessId:this.value};Object(n["e"])(e).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1}})}))}}},k=$,P=Object(m["a"])(k,w,D,!1,null,null,null),_=P.exports,W=a("9923"),j=[{type:"see",btnName:"btn.see"}],N=[{prop:"name",label:W["a"].t("module.basicData.Warehouse.OrderName"),align:"center"},{prop:"createTime",label:W["a"].t("module.basicData.Warehouse.IssueOrderTime"),filter:c["timeFormatter"],align:"center"},{prop:"craftName",label:W["a"].t("module.basicData.Warehouse.TotalProcessName"),align:"center"},{prop:"priority",label:W["a"].t("module.basicData.Warehouse.Priority"),filter:Object(g["a"])("priority"),align:"center"},{prop:"status",label:W["a"].t("module.basicData.Warehouse.OrderStatus"),filter:Object(g["a"])("workOrderStatus"),align:"center"},{prop:"attribute",label:W["a"].t("module.basicData.Warehouse.RelateProcess"),subcomponent:_,align:"center"}],Q={name:"ProcessInfo",components:{Pagination:v["a"],BaseTable:y["a"],MethodBtn:F["a"],HeadForm:h["a"],FactoryAdd:f},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{keyName:W["a"].t("module.basicData.Warehouse.OrderName"),placeholderName:this.$t("module.basicData.Warehouse.OrderName"),addOrUpdateVisible:!1,tableBtn:j,trueWidth:200,tableProps:N,list:[],total:0,listLoading:!0,listQuery:{current:1,size:10,name:"",code:""}}},created:function(){this.getList()},methods:{handleClick:function(t){this.addNew(t.data.id)},getList:function(t){var e=this;this.listLoading=!0,this.listQuery.name=t,Object(n["d"])(this.listQuery).then((function(t){var a;t.data.records?e.list=t.data.records:s()(a=e.list).call(a,0,e.list.length);e.total=t.data.total,e.listLoading=!1}))},addNew:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t)}))}}},T=Q,x=(a("4e1e"),Object(m["a"])(T,r,o,!1,null,"07c420b7",null));e["default"]=x.exports}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-50357256.360f91a0.js b/dist/static/js/chunk-50357256.360f91a0.js new file mode 100644 index 0000000..49aa048 --- /dev/null +++ b/dist/static/js/chunk-50357256.360f91a0.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-50357256"],{"09f4":function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var a=i("2b0b"),n=i.n(a);Math.easeInOutQuad=function(t,e,i,a){return t/=a/2,t<1?i/2*t*t+e:(t--,-i/2*(t*(t-2)-1)+e)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){n()(t,1e3/60)}}();function o(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(t,e,i){var a=s(),n=t-a,l=20,u=0;e="undefined"===typeof e?500:e;var m=function t(){u+=l;var s=Math.easeInOutQuad(u,a,n,e);o(s),u0,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"])({url:"/api/wms/worker/add",method:"post",data:t})}function w(){return Object(b["a"])({url:"/api/wms/worker/get-code",method:"post"})}function $(t){return Object(b["a"])({url:"/api/wms/worker/delete",method:"post",data:{id:t}})}function g(){return Object(b["a"])({url:"/api/wms/platform-dict/selectPlatformDictDataListByPage",method:"post",data:{dictTypeId:"1383318968677273601",current:1,size:999}})}var k=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("el-dialog",{attrs:{title:t._f("i18nFilter")(t.staffData.id?"btn.edit":"btn.add"),visible:t.visible},on:{"update:visible":function(a){t.visible=a}}},[e("el-row",{attrs:{gutter:15}},[e("el-form",{ref:"staffForm",attrs:{model:t.staffData,rules:t.rules,size:"medium","label-width":"110px"}},[e("el-col",{attrs:{span:10}},[e("el-row",[e("el-col",{attrs:{span:20}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.staff.Name"),prop:"name"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.staff.Name")]),clearable:""},model:{value:t.staffData.name,callback:function(a){t.$set(t.staffData,"name",a)},expression:"staffData.name"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:20}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.staff.role"),prop:"roleId"}},[e("el-select",{model:{value:t.staffData.roleId,callback:function(a){t.$set(t.staffData,"roleId",a)},expression:"staffData.roleId"}},t._l(t.roleList,(function(t){return e("el-option",{key:t.id,attrs:{value:t.id,label:t.dataName}})})),1)],1)],1),t._v(" "),e("el-col",{attrs:{span:20}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.staff.Gender"),prop:"sex"}},[e("el-select",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.staff.Gender")]),clearable:""},model:{value:t.staffData.sex,callback:function(a){t.$set(t.staffData,"sex",a)},expression:"staffData.sex"}},t._l(t.sexOptions,(function(t,a){return e("el-option",{key:a,attrs:{label:t.label,value:t.value,disabled:t.disabled}})})),1)],1)],1),t._v(" "),e("el-col",{attrs:{span:20}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.staff.Telephone"),prop:"telephone"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.staff.Telephone")]),clearable:"","prefix-icon":"el-icon-phone"},model:{value:t.staffData.telephone,callback:function(a){t.$set(t.staffData,"telephone",a)},expression:"staffData.telephone"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:20}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.staff.Email"),prop:"email"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.staff.Email")]),clearable:""},model:{value:t.staffData.email,callback:function(a){t.$set(t.staffData,"email",a)},expression:"staffData.email"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:20}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Remarks"),prop:"description"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Remarks")]),clearable:""},model:{value:t.staffData.description,callback:function(a){t.$set(t.staffData,"description",a)},expression:"staffData.description"}})],1)],1)],1)],1),t._v(" "),e("el-col",{attrs:{span:10}},[e("el-row",[e("el-col",{attrs:{span:20}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.staff.EmployeeID"),prop:"code"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.staff.EmployeeID")]),clearable:""},model:{value:t.staffData.code,callback:function(a){t.$set(t.staffData,"code",a)},expression:"staffData.code"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:20}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.staff.Wechat"),prop:"wechatCode"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.staff.Wechat")]),clearable:""},model:{value:t.staffData.wechatCode,callback:function(a){t.$set(t.staffData,"wechatCode",a)},expression:"staffData.wechatCode"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:20}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.staff.EntryTime"),prop:"entryTime"}},[e("el-date-picker",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.staff.EntryTime")]),clearable:""},model:{value:t.staffData.entryTime,callback:function(a){t.$set(t.staffData,"entryTime",a)},expression:"staffData.entryTime"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:20}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.staff.Workshop"),prop:"workshop"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.staff.Workshop")]),clearable:""},model:{value:t.staffData.workshop,callback:function(a){t.$set(t.staffData,"workshop",a)},expression:"staffData.workshop"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:20}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.staff.onDuty"),prop:"onDuty"}},[e("el-radio-group",{attrs:{size:"medium"},model:{value:t.staffData.onDuty,callback:function(a){t.$set(t.staffData,"onDuty",a)},expression:"staffData.onDuty"}},t._l(t.onDutyOptions,(function(a,s){return e("el-radio",{key:s,attrs:{label:a.value,disabled:a.disabled}},[t._v(t._s(a.label))])})),1)],1)],1)],1)],1)],1)],1),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(a){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),e("el-button",{attrs:{type:"primary",size:"medium"},on:{click:function(a){return t.staffDataSubmit()}}},[t._v(" "+t._s(t._f("i18nFilter")("btn.save"))+" ")])],1)],1)},F=[],x={props:{roleList:{type:Array,default:function(){return[]}}},data:function(){return{visible:!1,staffData:{name:void 0,sex:"",telephone:"",email:"",majorId:[],description:void 0,code:void 0,wechatCode:void 0,entryTime:null,workshop:void 0,onDuty:1,roleId:null},rules:{name:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.staff.Name")]),trigger:"blur"}],telephone:[{pattern:/(^1\d{10}$)|(^[0-9]\d{7}$)/,message:this.$t("module.basicData.staff.Telephone")+this.$t("module.basicData.customer.format"),trigger:"blur"}],email:[{pattern:/^\w+@[a-z0-9]+\.[a-z]{2,4}$/,message:this.$t("module.basicData.staff.Email")+this.$t("module.basicData.customer.format"),trigger:"blur"}],description:[],code:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.staff.EmployeeID")]),trigger:"blur"}]},sexOptions:[{label:this.$t("module.basicData.cache.man"),value:1},{label:this.$t("module.basicData.cache.woman"),value:0}],onDutyOptions:[{label:this.$t("module.basicData.visual.Yes"),value:1},{label:this.$t("module.basicData.visual.No"),value:0}]}},methods:{init:function(t){var a=this;w().then((function(t){a.staffData.code=t.data})),this.staffData.id=t||"",this.visible=!0,this.$nextTick((function(){a.$refs["staffForm"].resetFields(),a.staffData.id&&h(a.staffData.id).then((function(t){a.staffData=t.data}))}))},staffDataSubmit:function(){var t=this;this.$refs["staffForm"].validate((function(a){if(a){var e={name:t.staffData.name,sex:t.staffData.sex,telephone:t.staffData.telephone,description:t.staffData.description,code:t.staffData.code,email:t.staffData.email,entryTime:t.staffData.entryTime,majorId:t.staffData.majorId,onDuty:t.staffData.onDuty,wechatCode:t.staffData.wechatCode,workshop:t.staffData.workshop,roleId:t.staffData.roleId,id:t.staffData.id};t.staffData.id?v(e).then((function(a){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})})):y(e).then((function(a){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})}))}}))}}},T=x,_=e("2877"),O=Object(_["a"])(T,k,F,!1,null,null,null),S=O.exports,L=e("bb1e"),N=e("c0ee"),j=e("333d"),I=e("ebe9"),E=e("546f"),C=e("8975"),B=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],z=[{prop:"createTime",label:p["a"].t("module.basicData.factory.createTime"),filter:C["timeFormatter"],align:"center"},{prop:"name",label:p["a"].t("module.basicData.staff.Name"),align:"center"},{prop:"code",label:p["a"].t("module.basicData.staff.EmployeeID"),align:"center"},{prop:"roleName",label:p["a"].t("module.basicData.staff.role"),align:"center"},{prop:"sex",label:p["a"].t("module.basicData.staff.Gender"),filter:Object(E["a"])("sex"),align:"center"},{prop:"entryTime",label:p["a"].t("module.basicData.staff.EntryTime"),filter:C["timeFormatter"],align:"center"},{prop:"telephone",label:p["a"].t("module.basicData.staff.Telephone"),align:"center"},{prop:"email",label:p["a"].t("module.basicData.staff.Email"),align:"center"},{prop:"wechatCode",label:p["a"].t("module.basicData.staff.Wechat"),align:"center"},{prop:"workshop",label:p["a"].t("module.basicData.staff.Workshop"),align:"center"},{prop:"onDuty",label:p["a"].t("module.basicData.staff.onDuty"),filter:Object(E["a"])("onDuty"),align:"center"},{prop:"description",label:p["a"].t("module.basicData.visual.Remarks"),align:"center"}],Q={name:"Staff",components:{Pagination:j["a"],BaseTable:N["a"],MethodBtn:I["a"],HeadForm:L["a"],staffAdd:S},filters:{statusFilter:function(t){var a={published:"success",draft:"info",deleted:"danger"};return a[t]}},data:function(){return{keyName:p["a"].t("module.basicData.visual.keyword"),placeholderName:this.$t("module.basicData.staff.Name"),addOrUpdateVisible:!1,tableBtn:B,trueWidth:200,tableProps:z,list:[],total:0,listLoading:!0,roleList:[],listQuery:{current:1,size:10}}},created:function(){this.getRole()},methods:{handleClick:function(t){var a,e=this;(console.log(t),"delete"===t.type)?this.$confirm(c()(a="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(a,t.data.name,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){$(t.data.id).then((function(t){e.$message({message:e.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){e.getList()}})}))}))["catch"]((function(){})):this.addNew(t.data.id)},getList:function(t){var a=this;this.listLoading=!0,this.listQuery.key=t,D(this.listQuery).then((function(t){var e,s;t.data.records?(a.list=t.data.records,d()(e=a.list).call(e,(function(t){t.major&&(t.majorArr=t.major.toString())}))):m()(s=a.list).call(s,0,a.list.length);a.total=t.data.total,a.listLoading=!1}))},getRole:function(){var t=Object(l["a"])(r.a.mark((function t(){var a;return r.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:a=t.sent,this.roleList=a.data.records,this.getList();case 5:case"end":return t.stop()}}),t,this)})));function a(){return t.apply(this,arguments)}return a}(),addNew:function(t){var a=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){a.$refs.addOrUpdate.init(t)}))}}},R=Q,W=(e("be9e"),Object(_["a"])(R,s,i,!1,null,"8314039c",null));a["default"]=W.exports},be9e:function(t,a,e){"use strict";e("975a")}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-523689e4.f77166cc.js b/dist/static/js/chunk-523689e4.f77166cc.js new file mode 100644 index 0000000..fcb8b26 --- /dev/null +++ b/dist/static/js/chunk-523689e4.f77166cc.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-523689e4"],{1:function(a,t){},2:function(a,t){},"3c30":function(a,t,e){},"6ce1":function(a,t,e){"use strict";e("3c30")},d34c:function(a,t,e){"use strict";e.r(t);var o=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"app-container"},[e("head-form",{attrs:{"placeholder-name":a.placeholderName,"key-name":a.keyNameAdd},on:{getDataList:a.getList,add:a.addNew}}),a._v(" "),e("div",{staticStyle:{}},[a._v(a._s(a.sheCode)+":"+a._s(a.shCode)+" "+a._s(a.sheName)+":"+a._s(a.shName)+" "+a._s(a.locaNum)+":"+a._s(a.num)+"\n "),e("el-button",{attrs:{type:"success"},on:{click:function(t){return a.goback()}}},[a._v(a._s(a._f("i18nFilter")("btn.back")))])],1),a._v(" "),e("base-table",{attrs:{page:a.listQuery.current,limit:a.listQuery.size,"table-config":a.tableProps,"table-data":a.list,"is-loading":a.listLoading}},[e("method-btn",{attrs:{slot:"handleBtn",width:a.trueWidth,"method-list":a.tableBtn},on:{clickBtn:a.handleClick},slot:"handleBtn"})],1),a._v(" "),a.addOrUpdateVisible?e("locationAttr-add",{ref:"addOrUpdate",attrs:{"shelf-id":a.listQuery.shelfId},on:{refreshDataList:a.getList}}):a._e()],1)},i=[],l=(e("7f7f"),e("a3e3")),s=e.n(l),n=e("3393"),r=e.n(n),c=e("9923"),d=e("bb1e"),u=e("b775");function m(a){return Object(u["a"])({url:"/api/wms/area/locationByShelf",method:"post",data:a})}function h(a){return Object(u["a"])({url:"/api/wms/area/locationById",method:"post",data:{id:a}})}function b(a){return Object(u["a"])({url:"/api/wms/area/updatelocation",method:"post",data:a})}function p(a){return Object(u["a"])({url:"/api/wms/area/addlocation",method:"post",data:a})}function f(){return Object(u["a"])({url:"/api/wms/area/getCode",method:"post"})}function N(a){return Object(u["a"])({url:"/api/wms/area/deletelocation",method:"post",data:{id:a}})}var $=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("el-dialog",{attrs:{title:a._f("i18nFilter")(a.dataForm.id?"btn.edit":"btn.add"),visible:a.visible},on:{"update:visible":function(t){a.visible=t}}},[e("el-form",{ref:"dataForm",attrs:{model:a.dataForm,rules:a.dataRule,"label-width":"130px"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&a._k(t.keyCode,"enter",13,t.key,"Enter")?null:a.dataFormSubmit()}}},[e("el-form-item",{attrs:{label:a.$t("module.basicData.cache.LocationName"),prop:"locationName"}},[e("el-input",{attrs:{placeholder:a.$i18nForm(["placeholder.input",a.$t("module.basicData.cache.LocationName")]),clearable:""},model:{value:a.dataForm.locationName,callback:function(t){a.$set(a.dataForm,"locationName",t)},expression:"dataForm.locationName"}})],1),a._v(" "),e("el-form-item",{attrs:{label:a.$t("module.basicData.cache.LocationCode"),prop:"code"}},[e("el-input",{attrs:{placeholder:a.$i18nForm(["placeholder.input",a.$t("module.basicData.cache.LocationCode")]),clearable:""},model:{value:a.dataForm.code,callback:function(t){a.$set(a.dataForm,"code",t)},expression:"dataForm.code"}})],1),a._v(" "),e("el-form-item",{attrs:{label:a.$t("module.basicData.cache.anotherName"),prop:"locationNameAlias"}},[e("el-input",{attrs:{placeholder:a.$i18nForm(["placeholder.input",a.$t("module.basicData.cache.anotherName")]),clearable:""},model:{value:a.dataForm.locationNameAlias,callback:function(t){a.$set(a.dataForm,"locationNameAlias",t)},expression:"dataForm.locationNameAlias"}})],1),a._v(" "),e("el-form-item",{attrs:{label:a.$t("module.basicData.cache.rowMark"),prop:"layers"}},[e("el-input-number",{attrs:{step:1,placeholder:a.$i18nForm(["placeholder.input",a.$t("module.basicData.cache.rowMark")]),clearable:""},model:{value:a.dataForm.layers,callback:function(t){a.$set(a.dataForm,"layers",t)},expression:"dataForm.layers"}})],1),a._v(" "),e("el-form-item",{attrs:{label:a.$t("module.basicData.cache.columnMark"),prop:"columns"}},[e("el-input-number",{attrs:{step:1,placeholder:a.$i18nForm(["placeholder.input",a.$t("module.basicData.cache.columnMark")]),clearable:""},model:{value:a.dataForm.columns,callback:function(t){a.$set(a.dataForm,"columns",t)},expression:"dataForm.columns"}})],1),a._v(" "),e("el-form-item",{attrs:{label:a.$t("module.basicData.cache.locationNumber"),prop:"locationNumber"}},[e("el-input",{attrs:{step:1,placeholder:a.$i18nForm(["placeholder.input",a.$t("module.basicData.cache.locationNumber")]),clearable:""},model:{value:a.dataForm.locationNumber,callback:function(t){a.$set(a.dataForm,"locationNumber",t)},expression:"dataForm.locationNumber"}})],1)],1),a._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(t){a.visible=!1}}},[a._v(a._s(a._f("i18nFilter")("btn.cancel")))]),a._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:function(t){return a.dataFormSubmit()}}},[a._v(a._s(a._f("i18nFilter")("btn.confirm")))])],1)],1)},g=[],F={props:{shelfId:{type:String,default:function(){return""}}},data:function(){return{visible:!1,dataForm:{id:0,locationName:"",code:"",locationNameAlias:"",rowNum:"",status:null,locationType:"",locationNumber:0},options:[{value:1,label:"Working Port"},{value:2,label:"Buffer Port"},{value:3,label:"Exception Port"}],dataRule:{name:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.cache.LocationName")]),trigger:"blur"}],code:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.cache.LocationCode")]),trigger:"blur"}],layers:[{required:!0,pattern:/^[1-9]\d*$/,message:this.$t("module.basicData.cache.warning"),trigger:"blur"}],columns:[{required:!0,pattern:/^[1-9]\d*$/,message:this.$t("module.basicData.cache.warning"),trigger:"blur"}],locationNumber:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.cache.locationNumber")]),trigger:"blur"}]}}},methods:{init:function(a){var t=this;this.dataForm.id=a||"",this.visible=!0,this.$nextTick((function(){t.$refs["dataForm"].resetFields(),t.dataForm.id?h(t.dataForm.id).then((function(a){t.dataForm=a.data})):f().then((function(a){t.dataForm.code=a.data}))}))},dataFormSubmit:function(){var a=this;this.$refs["dataForm"].validate((function(t){if(t){var e={locationName:a.dataForm.locationName,code:a.dataForm.code,locationNameAlias:a.dataForm.locationNameAlias,columns:a.dataForm.columns,layers:a.dataForm.layers,shelfId:a.shelfId,id:a.dataForm.id,status:a.dataForm.status,locationType:a.dataForm.locationType,locationNumber:a.dataForm.locationNumber};a.dataForm.id?b(e).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.visible=!1,a.$emit("refreshDataList")}})})):p(e).then((function(t){console.log(e),console.log(t),a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.visible=!1,a.$emit("refreshDataList")}})}))}}))}}},v=F,y=e("2877"),D=Object(y["a"])(v,$,g,!1,null,null,null),k=D.exports,_=e("c0ee"),w=e("ebe9"),L=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],C=[{prop:"locationName",label:c["a"].t("module.basicData.cache.LocationName"),align:"center"},{prop:"code",label:c["a"].t("module.basicData.cache.LocationCode"),align:"center"},{prop:"locationNameAlias",label:c["a"].t("module.basicData.cache.anotherName"),align:"center"},{prop:"layers",label:c["a"].t("module.basicData.cache.rowMark"),align:"center"},{prop:"columns",label:c["a"].t("module.basicData.cache.columnMark"),align:"center"},{prop:"statusName",label:c["a"].t("module.basicData.cache.status"),align:"center"},{prop:"locationNumber",label:c["a"].t("module.basicData.cache.locationNumber"),align:"center"}],x={name:"Location",components:{BaseTable:_["a"],MethodBtn:w["a"],locationAttrAdd:k,HeadForm:d["a"]},filters:{statusFilter:function(a){var t={published:"success",draft:"info",deleted:"danger"};return t[a]}},data:function(){return{shCode:"",shName:"",num:0,addOrUpdateVisible:!1,keyNameAdd:c["a"].t("module.basicData.visual.keyword"),placeholderName:this.$t("module.basicData.cache.LocationName"),tableBtn:L,trueWidth:200,tableProps:C,list:[{statusName:""}],listLoading:!0,listQuery:{name:"",current:1,size:20},sheCode:this.$t("module.basicData.cache.sheCode"),sheName:this.$t("module.basicData.cache.sheName"),locaNum:this.$t("module.basicData.cache.locaNum")}},created:function(){this.listQuery.shelfId=this.$route.query.id,this.shCode=this.$route.query.code,this.shName=this.$route.query.shelfName,this.num=this.$route.query.total,this.getList()},methods:{handleClick:function(a){var t,e=this;"delete"===a.type?(console.log(a.data),this.$confirm(s()(t="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(t,a.data.locationName,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){N(a.data.id).then((function(a){e.$message({message:e.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){e.getList()}})}))}))["catch"]((function(){}))):this.addNew(a.data.id)},getList:function(a){var t=this;this.listLoading=!0,this.listQuery.name=a,console.log(this.listQuery),this.listQuery.id=this.listQuery.shelfId,m(this.listQuery).then((function(a){if(a.data.records){t.list=a.data.records,console.log(t.list);for(var e=0;e=0?s("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-plus"},on:{click:function(t){return e.addProcessItem(t,n)}}},[e._v(e._s(e._f("i18nFilter")("btn.add")))]):e._e(),e._v(" "),s("el-button",{attrs:{type:"danger",size:"mini",icon:"el-icon-delete"},on:{click:function(t){return e.delProcess(t,n)}}},[e._v(e._s(e._f("i18nFilter")("btn.delete")))])],1)])]),e._v(" "),e._l(t.processFlowEquipmentParams,(function(i,o){return s("el-row",{key:"item"+n+o,staticClass:"process-table-main-item",attrs:{gutter:20}},[s("el-col",{staticClass:"process-table-main-item-item",attrs:{span:4}},[s("el-button",{attrs:{icon:"el-icon-edit"},on:{click:function(s){return e.choiceEquipment(n,o,i.equipmentId,t.workSequenceId)}}},[e._v("\n "+e._s(i.equipmentId?e.equipmentObj[i.equipmentId]:e.$t("module.art.eqName"))+"\n ")])],1),e._v(" "),s("el-col",{staticClass:"process-table-main-item-item",attrs:{span:4}},[s("el-input",{attrs:{placeholder:e.$t("module.art.processList.description")},on:{change:function(t){return e.changeDescription(n,o)}},model:{value:i.description,callback:function(t){e.$set(i,"description",t)},expression:"i.description"}})],1),e._v(" "),s("el-col",{staticClass:"process-table-main-item-item",attrs:{span:4}},[s("el-input",{attrs:{placeholder:e.$t("module.art.remark")},on:{change:function(t){return e.changeRemark(n,o)}},model:{value:i.remark,callback:function(t){e.$set(i,"remark",t)},expression:"i.remark"}})],1),e._v(" "),s("el-col",{staticClass:"process-table-main-item-item",attrs:{span:3}},[s("el-button",{attrs:{type:"danger",icon:"el-icon-delete"},on:{click:function(t){return e.delProcessItem(n,o)}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.delete"))+"\n ")])],1)],1)}))],2)})),1)],1),e._v(" "),s("process-table-add",{ref:"processtableadd",attrs:{"process-list":e.processList},on:{handleProcess:e.handleProcess}}),e._v(" "),s("process-table-select",{ref:"processtableselect",on:{handleSelect:e.handleSelect}})],1)},q=[],$=s("a3e3"),k=s.n($),L=s("3393"),E=s.n(L),g=s("5b1a"),y=s.n(g),j=s("2b0e"),F=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-dialog",{attrs:{"close-on-click-modal":!1,width:"60%",top:"50px",title:e.$t("module.art.processName"),visible:e.visible},on:{"update:visible":function(t){e.visible=t},close:function(t){e.value=null}}},[s("el-row",[e._v("\n "+e._s(e.$t(e.typeList[e.stype]))+":\n "),s("el-select",{attrs:{filterable:""},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.list,(function(e){return s("el-option",{key:e.id,attrs:{value:e.id,label:e.name}})})),1)],1),e._v(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.visible=!1}}},[e._v(e._s(e._f("i18nFilter")("btn.cancel")))]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.handleConfirm()}}},[e._v(e._s(e._f("i18nFilter")("btn.confirm")))])],1)],1)},P=[],I={data:function(){return{visible:!1,value:null,first:0,second:0,stype:null,list:[],typeList:{equipmentId:"module.art.eqName",equipmentRecipeId:"module.art.recipeName",nodeType:"module.art.artType"}}},watch:{},mounted:function(){},methods:{init:function(e,t,s,n,i){this.visible=!0,this.stype=e,this.list=i,this.first=t,this.second=s,this.value=n},handleConfirm:function(){this.$emit("handleSelect",this.stype,this.first,this.second,this.value)},closed:function(){this.visible=!1}}},O=I,T=Object(v["a"])(O,F,P,!1,null,null,null),x=T.exports,C=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-dialog",{attrs:{"close-on-click-modal":!1,width:"60%",top:"50px",title:e.$t("module.art.processName"),visible:e.visible},on:{"update:visible":function(t){e.visible=t},close:function(t){e.process=null}}},[s("el-row",[e._v("\n "+e._s(e.$t("module.art.processName"))+":\n "),s("el-select",{attrs:{filterable:""},model:{value:e.process,callback:function(t){e.process=t},expression:"process"}},e._l(e.processList,(function(e){return s("el-option",{key:e.id,attrs:{value:e.id,label:e.name}})})),1)],1),e._v(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.visible=!1}}},[e._v(e._s(e._f("i18nFilter")("btn.cancel")))]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.handleConfirm()}}},[e._v(e._s(e._f("i18nFilter")("btn.confirm")))])],1)],1)},S=[],D={props:{processList:{type:Array,default:function(){return[]}}},data:function(){return{visible:!1,process:null}},watch:{},mounted:function(){},methods:{init:function(){this.visible=!0},handleConfirm:function(){this.$emit("handleProcess",this.process)},closeDialog:function(){this.visible=!1}}},A=D,B=Object(v["a"])(A,C,S,!1,null,null,null),N=B.exports,R=s("1980"),z=s.n(R),V={name:"ProcessTable",components:{vuedraggable:z.a,processTableAdd:N,processTableSelect:x},props:{processFlowId:{type:String,default:null}},data:function(){return{dataList:[],processList:[],processObj:{},processPortObj:{},equipmentRecipeList:[],equipmentList:[],equipmentObj:{},showAddList:[],nodeTypes:[{id:1,name:"上片设备"},{id:2,name:"加工设备"},{id:3,name:"下片设备"}],nodeTypesObj:{1:"上片设备",2:"加工设备",3:"下片设备"}}},created:function(){this.init(),this.$bus.on("on-process-save",this.save)},beforeDestroy:function(){this.$bus.off("on-process-save",this.save)},mounted:function(){},methods:{init:function(){var e=Object(r["a"])(l.a.mark((function e(){var t,s,n,i,o,a,r=this;return l.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(p["j"])({});case 2:return i=e.sent,this.processList=i.data,d()(t=i.data).call(t,(function(e){r.processObj[e.id]=e,1===e.type&&(r.processPortObj[e.id]=e.name)})),console.log(this.processList),console.log(this.processObj),e.next=9,Object(m["a"])();case 9:return o=e.sent,this.equipmentList=o.data,d()(s=o.data).call(s,(function(e){r.equipmentObj[e.id]=e.name})),console.log(this.equipmentList),e.next=15,Object(p["k"])({processFlowId:this.processFlowId});case 15:a=e.sent,console.log(a),this.dataList=d()(n=a.data).call(n,(function(e){var t;return delete e.id,d()(t=e.processFlowEquipmentParams).call(t,(function(t){return delete t.id,t.workSequenceId=e.workSequenceId,t.processFlowId=e.processFlowId,t})),e})),console.log(this.dataList);case 19:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),addProcess:function(){this.$refs.processtableadd.init()},handleProcess:function(e){this.dataList.push({processFlowId:this.processFlowId,workSequenceId:e,processFlowEquipmentParams:[{equipmentId:"",equipmentRecipeId:"",nodeType:"",processFlowId:this.processFlowId,workSequenceId:e,description:"",remark:""}]}),this.$refs.processtableadd.closeDialog()},addProcessItem:function(e,t){this.dataList[t].processFlowEquipmentParams.push({equipmentId:"",equipmentRecipeId:"",nodeType:"",processFlowId:this.processFlowId,workSequenceId:this.dataList[t].workSequenceId,description:this.dataList[t].processFlowEquipmentParams[0].description?this.dataList[t].processFlowEquipmentParams[0].description:"",remark:this.dataList[t].processFlowEquipmentParams[0].remark?this.dataList[t].processFlowEquipmentParams[0].remark:""}),e.stopPropagation()},delProcess:function(e,t){var s,n,i=this;this.$confirm(k()(s=k()(n="".concat(this.$t("deleteTip.header"))).call(n,this.processObj[this.dataList[t].workSequenceId].name)).call(s,this.$t("deleteTip.footer")),this.$t("deleteTip.tip"),{confirmButtonText:this.$t("deleteTip.confirm"),cancelButtonText:this.$t("deleteTip.cancel"),type:"warning"}).then((function(){var e;E()(e=i.dataList).call(e,t,1)}))["catch"]((function(){})),e.stopPropagation()},delProcessItem:function(e,t){var s,n,i=this;this.$confirm(k()(s=k()(n="".concat(this.$t("deleteTip.header"))).call(n,this.dataList[e].processFlowEquipmentParams[t].equipmentId?this.equipmentObj[this.dataList[e].processFlowEquipmentParams[t].equipmentId]:this.$t("deleteTip.this"))).call(s,this.$t("deleteTip.footer")),this.$t("deleteTip.tip"),{confirmButtonText:this.$t("deleteTip.confirm"),cancelButtonText:this.$t("deleteTip.cancel"),type:"warning"}).then((function(){var s;E()(s=i.dataList[e].processFlowEquipmentParams).call(s,t,1)}))["catch"]((function(){}))},handleChange:function(e){this.showAddList=e},choiceEquipment:function(e,t,s,n){this.$refs.processtableselect.init("equipmentId",e,t,s,this.processObj[n].equipments)},choiceArtType:function(e,t,s){this.dataList[e].processFlowEquipmentParams[t].equipmentId?this.$refs.processtableselect.init("nodeType",e,t,s,this.nodeTypes):this.$message.error(this.$t("module.art.choiceEqError"))},handleSelect:function(e,t,s,n){var i,o=!0;"equipmentId"===e&&d()(i=this.dataList[t].processFlowEquipmentParams).call(i,(function(e,t){n===e.equipmentId&&t!==s&&(o=!1)}));o?(j["default"].set(this.dataList[t].processFlowEquipmentParams[s],e,n),this.$refs.processtableselect.closed()):this.$message.error(this.$t("module.art.sameEqError")),console.log(this.dataList)},changeDescription:function(e,t){var s,n,i=this;0===t&&this.dataList[e].processFlowEquipmentParams.length>1&&this.$confirm(k()(s=k()(n="".concat(this.$t("module.art.changeTipHeaderDes"))).call(n,this.processObj[this.dataList[e].workSequenceId].name)).call(s,this.$t("module.art.changeTipFooter")),this.$t("deleteTip.tip"),{confirmButtonText:this.$t("deleteTip.confirm"),cancelButtonText:this.$t("deleteTip.cancel"),type:"info"}).then((function(){var t;d()(t=i.dataList[e].processFlowEquipmentParams).call(t,(function(t){j["default"].set(t,"description",i.dataList[e].processFlowEquipmentParams[0].description)}))}))["catch"]((function(){}))},changeRemark:function(e,t){var s,n,i=this;0===t&&this.dataList[e].processFlowEquipmentParams.length>1&&this.$confirm(k()(s=k()(n="".concat(this.$t("module.art.changeTipHeaderRemark"))).call(n,this.processObj[this.dataList[e].workSequenceId].name)).call(s,this.$t("module.art.changeTipFooter")),this.$t("deleteTip.tip"),{confirmButtonText:this.$t("deleteTip.confirm"),cancelButtonText:this.$t("deleteTip.cancel"),type:"info"}).then((function(){var t;d()(t=i.dataList[e].processFlowEquipmentParams).call(t,(function(t){j["default"].set(t,"remark",i.dataList[e].processFlowEquipmentParams[0].remark)}))}))["catch"]((function(){}))},save:function(){var e,t=this,s=this,n=!1;d()(e=this.dataList).call(e,(function(e){var s;(0===e.processFlowEquipmentParams.length&&(n=!0),t.processPortObj[e.workSequenceId])&&d()(s=e.processFlowEquipmentParams).call(s,(function(e){e.equipmentId||(n=!0)}))})),n?s.$message.error(this.$t("module.art.hasNull")):s.handleSave(s)},handleSave:function(e){var t=this,s={processFlowSequenceEquipmentParams:e.dataList};console.log(y()(s)),Object(p["b"])(s).then((function(e){t.$emit("on-save-success")}))}}},H=V,J=(s("bd7f"),Object(v["a"])(H,w,q,!1,null,null,null)),G=J.exports,K=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:e.$style.container},[s("div",{class:e.$style.content},[s("el-divider",[s("span",[e._v("设备信息")])]),e._v(" "),e._m(0),e._v(" "),e._m(1),e._v(" "),e._m(2)],1),e._v(" "),s("div",{class:e.$style.content},[s("el-divider",[s("span",[e._v("配方清单")])]),e._v(" "),e._m(3),e._v(" "),e._m(4),e._v(" "),e._m(5)],1),e._v(" "),s("div",{class:e.$style.content},[s("el-divider",[s("span",[e._v("物料清单")])]),e._v(" "),e._m(6),e._v(" "),e._m(7),e._v(" "),e._m(8)],1)])},Q=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",[e._v("设备名称:")]),e._v(" "),s("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",[e._v("设备名称:")]),e._v(" "),s("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",[e._v("设备名称:")]),e._v(" "),s("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",[e._v("设备名称:")]),e._v(" "),s("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",[e._v("设备名称:")]),e._v(" "),s("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",[e._v("设备名称:")]),e._v(" "),s("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",[e._v("设备名称:")]),e._v(" "),s("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",[e._v("设备名称:")]),e._v(" "),s("span",[e._v("设备A")])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",[e._v("设备名称:")]),e._v(" "),s("span",[e._v("设备A")])])}],Z={name:"Demo",components:{},props:{visible:{type:Boolean,default:!1}},data:function(){return{}},methods:{}},M=Z,U=s("1977");function W(e){this["$style"]=U["default"].locals||U["default"]}var X=Object(v["a"])(M,K,Q,!1,W,null,null),Y=X.exports,ee=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:e.$style.container},[s("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-arrow-left"},on:{click:function(t){return e.$emit("on-back")}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.back"))+"\n ")]),e._v(" "),s("el-button",{directives:[{name:"show",rawName:"v-show",value:!e.isEdit,expression:"!isEdit"}],attrs:{type:"primary",size:"mini",icon:"el-icon-edit"},on:{click:function(t){return e.$emit("on-edit")}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.edit"))+"\n ")]),e._v(" "),s("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isEdit,expression:"isEdit"}],attrs:{type:"success",size:"mini",icon:"el-icon-s-promotion"},on:{click:function(t){return e.$bus.emit("on-process-save")}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.save"))+"\n ")]),e._v(" "),s("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isEdit,expression:"isEdit"}],attrs:{icon:"el-icon-close",size:"mini"},on:{click:function(t){return e.$emit("on-cancel")}}},[e._v("\n "+e._s(e._f("i18nFilter")("btn.cancel"))+"\n ")]),e._v(" "),e._t("default")],2)},te=[],se={props:{isEdit:{type:Boolean,default:!1}},data:function(){return{}},methods:{}},ne=se,ie=s("2ab1");function oe(e){this["$style"]=ie["default"].locals||ie["default"]}var ae=Object(v["a"])(ne,ee,te,!1,oe,null,null),re=ae.exports,ce={name:"ProcessDrawer",components:{ProcessChart:_,ProcessTable:G,ProcessNodePanel:Y,ProcessEditBar:re},props:{},data:function(){return{innerDrawer:!1,isEdit:!1,processFlowId:""}},created:function(){this.processFlowId=this.$route.query.id},methods:{handleDetail:function(){this.innerDrawer=!0},handleSubmit:function(){console.log("保存成功"),this.isEdit=!1},handleSuccess:function(){this.isEdit=!1},goback:function(){this.$router.go(-1)}}},le=ce,ue=s("5117");function de(e){this["$style"]=ue["default"].locals||ue["default"]}var pe=Object(v["a"])(le,n,i,!1,de,null,null);t["default"]=pe.exports},"7d3f":function(e,t,s){"use strict";s.d(t,"a",(function(){return i}));var n=s("b775");function i(e){return Object(n["a"])({url:"api/process/process-flow-equipment/equipmentList",method:"post",data:e})}},8936:function(e,t,s){e.exports={container:"list_container_1CdVu",input:"list_input_1gETR",select:"list_select_3iZGL"}},bd7f:function(e,t,s){"use strict";s("2f8d")},c007:function(e,t,s){e.exports={container:"process-node-panel_container_xVoVF",content:"process-node-panel_content_6Qtl9"}},e242:function(e,t,s){"use strict";s.d(t,"g",(function(){return i})),s.d(t,"f",(function(){return o})),s.d(t,"d",(function(){return a})),s.d(t,"c",(function(){return r})),s.d(t,"l",(function(){return c})),s.d(t,"a",(function(){return l})),s.d(t,"h",(function(){return u})),s.d(t,"i",(function(){return d})),s.d(t,"b",(function(){return p})),s.d(t,"k",(function(){return m})),s.d(t,"j",(function(){return f})),s.d(t,"e",(function(){return h}));var n=s("b775");function i(e){return Object(n["a"])({url:"/api/process/process-flow/page",method:"post",data:e})}function o(e){return Object(n["a"])({url:"/api/process/process-flow/get",method:"post",data:e})}function a(e){return Object(n["a"])({url:"/api/process/process-flow/enabled",method:"post",data:e})}function r(e){return Object(n["a"])({url:"/api/process/process-flow/delete",method:"post",data:e})}function c(e){return Object(n["a"])({url:"/api/process/process-flow/update",method:"post",data:e})}function l(e){return Object(n["a"])({url:"/api/process/process-flow/add",method:"post",data:e})}function u(e){return Object(n["a"])({url:"/api/process/process-flow-equipment/allEquipmentBomList",method:"post",data:e})}function d(e){return Object(n["a"])({url:"/api/process/process-flow-equipment/allEquipmentRecipeList",method:"post",data:e})}function p(e){return Object(n["a"])({url:"/api/process/process-flow-equipment/add",method:"post",data:e})}function m(e){return Object(n["a"])({url:"/api/process/process-flow-equipment/list",method:"post",data:e})}function f(e){return Object(n["a"])({url:"/api/process/work-sequence/list",method:"post",data:e})}function h(){return Object(n["a"])({url:"/api/process/process-flow/getCode",method:"post"})}}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-6b9ab80e.c44d6fe1.js b/dist/static/js/chunk-6b9ab80e.c44d6fe1.js new file mode 100644 index 0000000..47d428a --- /dev/null +++ b/dist/static/js/chunk-6b9ab80e.c44d6fe1.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6b9ab80e"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return l}));var o=a("2b0b"),i=a.n(o);Math.easeInOutQuad=function(t,e,a,o){return t/=o/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){i()(t,1e3/60)}}();function r(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(t,e,a){var o=s(),i=t-o,l=20,d=0;e="undefined"===typeof e?500:e;var u=function t(){d+=l;var s=Math.easeInOutQuad(d,o,i,e);r(s),d0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),t._v(" "),t.addOrUpdateVisible?a("PositionDetailInfo-add",{ref:"addOrUpdate",attrs:{"cache-id":t.listQuery.cacheId},on:{refreshDataList:t.getList}}):t._e()],1)},i=[],n=a("3393"),r=a.n(n),s=a("9923"),l=a("c0ee"),d=a("333d"),u=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")(t.dataForm.id?"btn.edit":"btn.add"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"140px"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.storageBox.PositionCode"),prop:"code"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.storageBox.PositionCode")]),clearable:""},model:{value:t.dataForm.code,callback:function(e){t.$set(t.dataForm,"code",e)},expression:"dataForm.code"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.storageBox.PositionCodeAlias"),prop:"aliasName"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.storageBox.PositionCodeAlias")]),clearable:""},model:{value:t.dataForm.aliasName,callback:function(e){t.$set(t.dataForm,"aliasName",e)},expression:"dataForm.aliasName"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.storageBox.PositionNo"),prop:"serial"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.storageBox.PositionNo")]),clearable:""},model:{value:t.dataForm.serial,callback:function(e){t.$set(t.dataForm,"serial",e)},expression:"dataForm.serial"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.confirm")))])],1)],1)},c=[],m=a("a19e"),b={data:function(){return{visible:!1,dataForm:{storageTankId:0,code:"",aliasName:"",serial:""},dataRule:{code:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.storageBox.PositionCode")]),trigger:"blur"}]}}},methods:{init:function(t,e){var a=this;this.dataForm.storageTankId=t||"",this.visible=!0,this.$nextTick((function(){a.$refs["dataForm"].resetFields(),a.dataForm.code=e}))},dataFormSubmit:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var a=t.dataForm;Object(m["a"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})}))}}))}}},p=b,f=a("2877"),g=Object(f["a"])(p,u,c,!1,null,null,null),h=g.exports,v=[{prop:"serial",label:s["a"].t("module.basicData.storageBox.PositionNo"),align:"center"},{prop:"code",label:s["a"].t("module.basicData.storageBox.PositionCode"),align:"center"},{prop:"aliasName",label:s["a"].t("module.basicData.storageBox.PositionCodeAlias"),align:"center"}],_={components:{Pagination:d["a"],BaseTable:l["a"],PositionDetailInfoAdd:h},data:function(){return{injectData:{},addOrUpdateVisible:!1,tableProps:v,list:[],total:0,listLoading:!0,listQuery:{current:1,size:10}}},created:function(){this.injectData=this.$route.query,this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(m["b"])(this.listQuery).then((function(e){var a;e.data.records?t.list=e.data.records:r()(a=t.list).call(a,0,t.list.length);t.total=e.data.total,t.listLoading=!1}))},addNew:function(){var t=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){t.$refs.addOrUpdate.init(t.injectData.id,t.injectData.code)}))},goback:function(){this.$router.go(-1)}}},F=_,x=(a("6941"),Object(f["a"])(F,o,i,!1,null,"239f8dce",null));e["default"]=x.exports}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-6c5eaa2e.f31440cd.js b/dist/static/js/chunk-6c5eaa2e.f31440cd.js new file mode 100644 index 0000000..750763d --- /dev/null +++ b/dist/static/js/chunk-6c5eaa2e.f31440cd.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6c5eaa2e"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return n}));var r=a("2b0b"),o=a.n(r);Math.easeInOutQuad=function(t,e,a,r){return t/=r/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){o()(t,1e3/60)}}();function l(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function n(t,e,a){var r=s(),o=t-r,n=20,d=0;e="undefined"===typeof e?500:e;var u=function t(){d+=n;var s=Math.easeInOutQuad(d,r,o,e);l(s),d0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),t._v(" "),t.addOrUpdateVisible?a("Factory-add",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e()],1)},o=[],i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")("btn.see"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-row",{attrs:{gutter:10}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,size:"medium","label-width":"110px","label-position":"left"}},[a("el-col",{attrs:{span:8}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.OrderName"),prop:"name"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.OrderName"),readonly:""},model:{value:t.dataForm.name,callback:function(e){t.$set(t.dataForm,"name",e)},expression:"dataForm.name"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.IssueOrderTime"),prop:"createTime"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.IssueOrderTime"),readonly:""},model:{value:t.dataForm.createTime,callback:function(e){t.$set(t.dataForm,"createTime",e)},expression:"dataForm.createTime"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.PlanProcessQuantity"),prop:"planQuantity"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.PlanProcessQuantity"),readonly:""},model:{value:t.dataForm.planQuantity,callback:function(e){t.$set(t.dataForm,"planQuantity",e)},expression:"dataForm.planQuantity"}})],1)],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.OrderCode"),prop:"taskCode"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.OrderCode"),readonly:""},model:{value:t.dataForm.taskCode,callback:function(e){t.$set(t.dataForm,"taskCode",e)},expression:"dataForm.taskCode"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.OrderStatus"),prop:"taskType"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.OrderStatus"),readonly:""},model:{value:t.dataForm.taskType,callback:function(e){t.$set(t.dataForm,"taskType",e)},expression:"dataForm.taskType"}})],1)],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TotalProcessName"),prop:"craftName"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.TotalProcessName"),readonly:""},model:{value:t.dataForm.craftName,callback:function(e){t.$set(t.dataForm,"craftName",e)},expression:"dataForm.craftName"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.SubProcessName"),prop:"subProccessName"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.SubProcessName"),readonly:""},model:{value:t.dataForm.subProccessName,callback:function(e){t.$set(t.dataForm,"subProccessName",e)},expression:"dataForm.subProccessName"}})],1)],1)],1)],1)],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))])],1)],1)},l=[],s=a("de20"),n={data:function(){return{visible:!1,dataForm:{id:0,name:void 0,createTime:void 0,taskCode:void 0,taskType:void 0,craftName:void 0,planQuantity:void 0,subProccessName:void 0}}},methods:{init:function(t){var e=this;this.dataForm.id=t||"",this.visible=!0,this.$nextTick((function(){e.$refs["dataForm"].resetFields(),e.dataForm.id&&Object(s["a"])(e.dataForm.id).then((function(t){e.dataForm=t.data}))}))}}},d=n,u=a("2877"),c=Object(u["a"])(d,i,l,!1,null,null,null),m=c.exports,p=a("c0ee"),f=a("333d"),b=a("ebe9"),h=a("8975"),y=a("9923"),v=[{type:"see",btnName:"btn.see"}],w=[{prop:"name",label:y["a"].t("module.quality.QCPplan.QCPcode"),align:"center"},{prop:"createTime",label:y["a"].t("module.quality.QCPplan.getTime"),filter:h["timeFormatter"],align:"center"}],F={name:"ExecutionInfo",components:{Pagination:f["a"],BaseTable:p["a"],MethodBtn:b["a"],FactoryAdd:m},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{addOrUpdateVisible:!1,tableBtn:v,trueWidth:200,tableProps:w,list:[],total:0,listLoading:!0,rules:{},listQuery:{current:1,size:10,timeSlot:[]}}},created:function(){this.getList()},methods:{handleClick:function(t){this.addNew(t.data.id)},getList:function(){this.listQuery.timeSlot?(this.listQuery.startTime=this.listQuery.timeSlot[0],this.listQuery.endTime=this.listQuery.timeSlot[1]):(this.listQuery.startTime="",this.listQuery.endTime=""),this.listLoading=!1},addNew:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t)}))}}},k=F,$=(a("1b7a"),Object(u["a"])(k,r,o,!1,null,"66bd78e1",null));e["default"]=$.exports},beff:function(t,e,a){},de20:function(t,e,a){"use strict";a.d(e,"d",(function(){return o})),a.d(e,"e",(function(){return i})),a.d(e,"c",(function(){return l})),a.d(e,"b",(function(){return s})),a.d(e,"a",(function(){return n}));var r=a("b775");function o(t){return Object(r["a"])({url:"/api/wms/work/order/page",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/api/wms/work/order/update",method:"post",data:t})}function l(t){var e={id:t};return Object(r["a"])({url:"/api/wms/work/order/get",method:"post",data:e})}function s(t){return Object(r["a"])({url:"/api/wms/work/order/execute/page",method:"post",data:t})}function n(t){var e={id:t};return Object(r["a"])({url:"/api/wms/work/order/execute/get",method:"post",data:e})}}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-6de8d2c1.4a76944c.js b/dist/static/js/chunk-6de8d2c1.4a76944c.js new file mode 100644 index 0000000..393a71d --- /dev/null +++ b/dist/static/js/chunk-6de8d2c1.4a76944c.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6de8d2c1"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return s}));var n=a("2b0b"),i=a.n(n);Math.easeInOutQuad=function(t,e,a,n){return t/=n/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var o=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){i()(t,1e3/60)}}();function r(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function c(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(t,e,a){var n=c(),i=t-n,s=20,u=0;e="undefined"===typeof e?500:e;var d=function t(){u+=s;var c=Math.easeInOutQuad(u,n,i,e);r(c),u0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}})],1)},i=[],o=(a("7f7f"),a("a3e3")),r=a.n(o),c=a("3393"),s=a.n(c),u=a("9923"),d=a("93eb"),l=a("bb1e"),m=a("c0ee"),f=a("333d"),h=a("ebe9"),p=a("8975"),b=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"},{type:"detail",btnName:"btn.detail"}],g=[{prop:"createTime",label:u["a"].t("module.basicData.factory.createTime"),filter:p["timeFormatter"],align:"center"},{prop:"tareaName",label:u["a"].t("module.basicData.cache.CacheName"),align:"center"},{prop:"code",label:u["a"].t("module.basicData.cache.CacheCode"),align:"center"},{prop:"enName",label:u["a"].t("module.basicData.visual.EnglishName"),align:"center"}],y={name:"Cache",components:{Pagination:f["a"],BaseTable:m["a"],MethodBtn:h["a"],HeadForm:l["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{keyName:u["a"].t("module.basicData.visual.keyword"),placeholderName:this.$t("module.basicData.cache.CacheName")+this.$t("module.basicData.visual.Or")+this.$t("module.basicData.cache.CacheCode"),tableBtn:b,trueWidth:240,tableProps:g,list:[],total:0,listLoading:!0,listQuery:{current:1,size:10}}},created:function(){this.getList()},methods:{handleClick:function(t){var e,a=this;"delete"===t.type?this.$confirm(r()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.name,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(d["c"])(t.data.id).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getList()}})}))}))["catch"]((function(){})):"edit"===t.type?this.addNew(t.data.id):this.addNew(t.data.id,!0)},getList:function(t){var e=this;this.listLoading=!0,this.listQuery.tareaName=t,this.listQuery.code=t,console.log(this.listQuery),Object(d["e"])(this.listQuery).then((function(t){var a;t.data.records?e.list=t.data.records:s()(a=e.list).call(a,0,e.list.length);e.total=t.data.total,e.listLoading=!1}))},addNew:function(t,e){this.$router.push({name:"cacheAdd",query:{id:t,isdetail:e}})}}},w=y,v=(a("f048"),a("2877")),N=Object(v["a"])(w,n,i,!1,null,"ce6e7c2c",null);e["default"]=N.exports},f048:function(t,e,a){"use strict";a("8425")}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-70414a8d.ffda48ee.js b/dist/static/js/chunk-70414a8d.ffda48ee.js new file mode 100644 index 0000000..c2acf0f --- /dev/null +++ b/dist/static/js/chunk-70414a8d.ffda48ee.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-70414a8d"],{"02e1":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{margin:"20px"}},[a("div",{staticStyle:{"background-color":"#02BCFF","font-size":"1.5em",color:"white",padding:"5px 20px",margin:"20px"},attrs:{slot:"title"},slot:"title"},[t._v(t._s(t._f("i18nFilter")(t.isdetail?"btn.detail":t.listQuery.equipmentId?"btn.edit":"btn.add")))]),t._v(" "),a("div",{staticStyle:{margin:"0 15px"}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.rules,size:"medium","label-width":"220px"}},[a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.equipment.EquipmentName"),prop:"name"}},[a("el-input",{style:{width:"100%"},attrs:{autofocus:"",disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.equipment.EquipmentName")]),clearable:""},model:{value:t.dataForm.name,callback:function(e){t.$set(t.dataForm,"name",e)},expression:"dataForm.name"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.equipment.EquipmentCode"),prop:"code"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.equipment.EquipmentCode")]),clearable:""},model:{value:t.dataForm.code,callback:function(e){t.$set(t.dataForm,"code",e)},expression:"dataForm.code"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.EnglishName"),prop:"enName"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.EnglishName")]),clearable:""},model:{value:t.dataForm.enName,callback:function(e){t.$set(t.dataForm,"enName",e)},expression:"dataForm.enName"}})],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Abbreviation"),prop:"abbr"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Abbreviation")]),clearable:""},model:{value:t.dataForm.abbr,callback:function(e){t.$set(t.dataForm,"abbr",e)},expression:"dataForm.abbr"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.equipment.EquipmentType"),prop:"equipmentType"}},[a("el-select",{attrs:{placeholder:this.$t("module.basicData.cache.logisticsEquipment"),default:""},model:{value:t.dataForm.equipmentType,callback:function(e){t.$set(t.dataForm,"equipmentType",e)},expression:"dataForm.equipmentType"}},t._l(t.options,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.enterTime"),prop:"enterTime"}},[a("el-date-picker",{style:{width:"100%"},attrs:{disabled:t.isdetail,format:"yyyy-MM-dd","value-format":"yyyy-MM-ddT00:00:00",placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.enterTime")]),clearable:""},model:{value:t.dataForm.enterTime,callback:function(e){t.$set(t.dataForm,"enterTime",e)},expression:"dataForm.enterTime"}})],1)],1)],1),t._v(" "),a("el-row"),t._v(" "),a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Manufacturer"),prop:"manufacturer"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Manufacturer")]),clearable:""},model:{value:t.dataForm.manufacturer,callback:function(e){t.$set(t.dataForm,"manufacturer",e)},expression:"dataForm.manufacturer"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Remarks"),prop:"remark"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Remarks")]),clearable:""},model:{value:t.dataForm.remark,callback:function(e){t.$set(t.dataForm,"remark",e)},expression:"dataForm.remark"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Description"),prop:"description"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Description")]),clearable:""},model:{value:t.dataForm.description,callback:function(e){t.$set(t.dataForm,"description",e)},expression:"dataForm.description"}})],1)],1)],1),t._v(" "),a("el-row"),t._v(" "),a("el-row"),t._v(" "),a("el-row",[a("el-col",{attrs:{span:9}},[t.isdetail?a("el-form-item",{attrs:{label:t.$t("module.basicData.equipment.equipmentImg"),prop:"upInfo"}},t._l(t.imgList,(function(e){return a("div",{key:e.id},[t._v("\n "+t._s(e.fileName)+" "),a("el-button",{attrs:{size:"small",type:"primary",icon:"el-icon-upload"},on:{click:function(a){return t.downloadFile(e.fileId)}}},[t._v(t._s(t._f("i18nFilter")("btn.download")))])],1)})),0):t._e()],1),t._v(" "),a("el-col",{attrs:{span:9}},[t.listQuery.equipmentId&&!t.isdetail?a("el-form-item",{attrs:{label:t.$t("module.basicData.equipment.equipmentInfo"),prop:"eInfo"}},[a("el-upload",{ref:"eInfo",attrs:{"on-success":t.saveUpload,name:"files",data:t.typeCode,"file-list":t.eInfofileList,action:t.eInfoAction,multiple:"","before-upload":t.eInfoBeforeUpload}},[a("el-button",{attrs:{size:"small",type:"primary",icon:"el-icon-upload"}},[t._v(t._s(t._f("i18nFilter")("btn.upload")))])],1)],1):t._e(),t._v(" "),t.isdetail?a("el-form-item",{attrs:{label:t.$t("module.basicData.equipment.equipmentInfo"),prop:"upInfo"}},t._l(t.fileList,(function(e){return a("div",{key:e.id},[t._v("\n "+t._s(e.fileName)+" "),a("el-button",{attrs:{size:"small",type:"primary",icon:"el-icon-upload"},on:{click:function(a){return t.downloadFile(e.fileId)}}},[t._v(t._s(t._f("i18nFilter")("btn.download")))])],1)})),0):t._e()],1)],1)],1),t._v(" "),a("div",{staticStyle:{margin:"20px"}},[a("el-button",{attrs:{type:"success"},on:{click:function(e){return t.goback()}}},[t._v(t._s(t._f("i18nFilter")("btn.back")))]),t._v(" "),t.isdetail?a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.goEdit()}}},[t._v(t._s(t._f("i18nFilter")("btn.edit")))]):t._e(),t._v(" "),t.isdetail?t._e():a("span",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.save")))]),t._v(" "),t.listQuery.equipmentId?a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.addNew()}}},[t._v(t._s(t._f("i18nFilter")("btn.addattr")))]):t._e()],1)],1),t._v(" "),a("div",{staticStyle:{overflow:"auto",height:"380px"}},[a("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-config":t.tableProps,"table-data":t.list,"is-loading":t.listLoading}},[t.isdetail?t._e():a("method-btn",{attrs:{slot:"handleBtn","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"})],1)],1)],1),t._v(" "),t.addOrUpdateVisible?a("equipment-info-attr-add",{ref:"addOrUpdate",attrs:{"equipment-id":t.listQuery.equipmentId},on:{refreshDataList:t.getList}}):t._e()],1)},n=[],r=(a("3b2b"),a("7f7f"),a("3393")),l=a.n(r),o=a("a3e3"),s=a.n(o),d=a("52da"),u=a.n(d),c=a("65b8"),m=a.n(c),p=a("9923"),b=a("abd6"),f=a("b775");function h(t){return Object(f["a"])({url:"/api/wms/equipment/attr",method:"post",data:t})}function v(t){return Object(f["a"])({url:"/api/wms/equipment/attrById",method:"post",data:{id:t}})}function F(t){return Object(f["a"])({url:"/api/wms/equipment/updateattr",method:"post",data:t})}function y(t){return Object(f["a"])({url:"/api/wms/equipment/addattr",method:"post",data:t})}function g(t){return Object(f["a"])({url:"/api/wms/equipment/deleteattr",method:"post",data:{id:t}})}var $=a("c0ee"),_=a("ebe9"),q=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-drawer",{attrs:{"append-to-body":!0,"show-close":!1,visible:t.visible,size:"40%"},on:{"update:visible":function(e){t.visible=e}}},[a("div",{staticStyle:{"background-color":"#02BCFF","font-size":"1.5em",color:"white",padding:"5px 20px"},attrs:{slot:"title"},slot:"title"},[t._v("\n "+t._s(t._f("i18nFilter")(t.dataForm.id?"btn.edit":"btn.add"))+"\n ")]),t._v(" "),a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"130px"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.AttributeName"),prop:"attrName"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.AttributeName")]),clearable:""},model:{value:t.dataForm.attrName,callback:function(e){t.$set(t.dataForm,"attrName",e)},expression:"dataForm.attrName"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.AttributeValue"),prop:"attrContent"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.AttributeValue")]),clearable:""},model:{value:t.dataForm.attrContent,callback:function(e){t.$set(t.dataForm,"attrContent",e)},expression:"dataForm.attrContent"}})],1)],1),t._v(" "),a("div",{staticClass:"drawer-footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary",loading:t.btnLoading},on:{click:function(e){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.confirm")))])],1)],1)},w=[],k={props:{equipmentId:{type:String,default:function(){return""}}},data:function(){return{visible:!1,btnLoading:!1,dataForm:{id:0,attrName:"",attrContent:"",remark:""},dataRule:{attrName:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.visual.AttributeName")]),trigger:"blur"}],attrContent:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.visual.AttributeValue")]),trigger:"blur"}]}}},methods:{init:function(t){var e=this;this.dataForm.id=t||"",this.btnLoading=!1,this.visible=!0,this.$nextTick((function(){e.$refs["dataForm"].resetFields(),e.dataForm.id&&v(e.dataForm.id).then((function(t){console.log(t),e.dataForm=t.data}))}))},dataFormSubmit:function(){var t=this;this.btnLoading=!0,this.$refs["dataForm"].validate((function(e){if(e){var a={attrName:t.dataForm.attrName,attrContent:t.dataForm.attrContent,remark:t.dataForm.remark,equipmentId:t.equipmentId,id:t.dataForm.id};t.dataForm.id?F(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})})):y(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})}))}}))}}},D=k,I=(a("637d"),a("2877")),C=Object(I["a"])(D,q,w,!1,null,"55723996",null),x=C.exports,N="/api/common/attachment/uploadFileFormData",T=a("8975");function O(t){return Object(f["a"])({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}var L=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],j=[{prop:"createTime",label:p["a"].t("module.basicData.factory.createTime"),filter:T["timeFormatter"],align:"center"},{prop:"attrName",label:p["a"].t("module.basicData.visual.AttributeName"),align:"center"},{prop:"attrContent",label:p["a"].t("module.basicData.visual.AttributeValue"),align:"center"}],B={components:{BaseTable:$["a"],MethodBtn:_["a"],equipmentInfoAttrAdd:x},data:function(){return{addOrUpdateVisible:!1,tableBtn:L,trueWidth:200,tableProps:j,list:[],listLoading:!1,dataForm:{name:"",code:"",enName:"",abbr:"",equipmentType:"1",spec:"",createTime:"",enterTime:"",debugTime:"",debugPeriod:"",manufacturer:"",intellectualProperty:"",rangeNumber:"",remark:"",description:"",groupId:"",eImg:null,eInfo:null,communication:0,controlStatus:0,plcVersion:"",eapVersion:"",activiation:0,estatus:0,maintenanceTime:"",maintenanceCycle:""},options:[{value:"1",label:this.$t("module.basicData.cache.logisticsEquipment")},{value:"2",label:this.$t("module.basicData.cache.processEquipment")}],rules:{name:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.equipment.EquipmentName")]),trigger:"blur"}],code:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.equipment.EquipmentCode")]),trigger:"blur"}],equipmentType:[{required:!0,message:this.$i18nForm(["placeholder.select",this.$t("module.basicData.equipment.EquipmentType")]),trigger:"blur"}]},typeCode:{},eImgAction:N,eImgfileList:[],eInfoAction:N,eInfofileList:[],equipmentTypeOption:[],equipmentGroupOption:[],listQuery:{current:1,size:990,equipmentId:""},isdetail:!1,downloadList:[],fileList:[],imgList:[]}},created:function(){this.listQuery.equipmentId=this.$route.query.id,this.init(),this.getList()},methods:{init:function(){var t=this;this.isdetail=!1,this.isdetail=Boolean(this.$route.query.isdetail),this.$nextTick((function(){t.$refs["dataForm"].resetFields(),t.listQuery.equipmentId?(t.listLoading=!0,Object(b["d"])(t.listQuery.equipmentId).then((function(e){t.dataForm=e.data,console.log(t.dataForm)})),h(t.listQuery).then((function(e){var a;e.data.records?t.list=e.data.records:l()(a=t.list).call(a,0,t.list.length);t.listLoading=!1}))):Object(b["b"])().then((function(e){t.dataForm.code=e.data}))}))},getList:function(){var t=this;this.listLoading=!0,h(this.listQuery).then((function(e){var a;e.data.records?t.list=e.data.records:l()(a=t.list).call(a,0,t.list.length);t.listLoading=!1}))},handleClick:function(t){var e,a=this;"delete"===t.type?this.$confirm(s()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.name,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){g(t.data.id).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getList()}})}))}))["catch"]((function(){})):this.addNew(t.data.id)},dataFormSubmit:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var a=t.dataForm;a.id=t.listQuery.equipmentId,t.listQuery.equipmentId?Object(b["g"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500})})):(console.log(a),Object(b["a"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500}),t.listQuery.equipmentId=e.data.id})))}}))},addNew:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t)}))},goback:function(){this.$router.go(-1)},goEdit:function(){this.isdetail=!1},eImgBeforeUpload:function(t){this.typeCode.typeCode="equipmentInfoImage";var e=t.size/1024/1024<10;e||this.$message.error(this.$t("upload.picSizeAlarm"));var a=new RegExp("image/*").test(t.type);return a||this.$message.error(this.$t("upload.picAlarm")),e&&a},eInfoBeforeUpload:function(t){this.typeCode.typeCode="equipmentInfoFile";var e=t.size/1024/1024<10;return e||this.$message.error(this.$t("upload.picSizeAlarm")),e},submitUpload:function(){this.$refs["eInfo"].submit()},saveUpload:function(t){var e={equipmentId:this.listQuery.equipmentId,fileId:t.data[0].id,fileName:t.data[0].fileName,fileUrl:t.data[0].fileUrl,typeCode:this.typeCode.typeCode};Object(b["e"])(e).then((function(t){}))},downloadFile:function(t){O({attachmentId:t,type:1}).then((function(t){var e="",a=t.headers["content-disposition"];a&&(e=u()(a).call(a,m()(a).call(a,"filename=")+9));var i=new Blob([t.data]),n=new FileReader;n.readAsDataURL(i),n.onload=function(t){var a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))}}},E=B,A=(a("fc35"),Object(I["a"])(E,i,n,!1,null,"a897ac3c",null));e["default"]=A.exports},"06d9":function(t,e,a){},"377b":function(t,e,a){},"637d":function(t,e,a){"use strict";a("377b")},abd6:function(t,e,a){"use strict";a.d(e,"f",(function(){return n})),a.d(e,"h",(function(){return r})),a.d(e,"d",(function(){return l})),a.d(e,"g",(function(){return o})),a.d(e,"a",(function(){return s})),a.d(e,"b",(function(){return d})),a.d(e,"c",(function(){return u})),a.d(e,"e",(function(){return c}));var i=a("b775");function n(t){return Object(i["a"])({url:"/api/wms/equipment/page",method:"post",data:t})}function r(t){return Object(i["a"])({url:"/api/process/work-sequence/equipmentlistList",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/api/wms/equipment/get",method:"post",data:{id:t}})}function o(t){return Object(i["a"])({url:"/api/wms/equipment/update",method:"post",data:t})}function s(t){return Object(i["a"])({url:"/api/wms/equipment/add",method:"post",data:t})}function d(){return Object(i["a"])({url:"/api/wms/equipment/getCode",method:"post"})}function u(t){return Object(i["a"])({url:"/api/wms/equipment/delete",method:"post",data:{id:t}})}function c(t){return Object(i["a"])({url:"/api/wms/equipment-file/update-file",method:"post",data:t})}},fc35:function(t,e,a){"use strict";a("06d9")}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-75f75070.9b366c68.js b/dist/static/js/chunk-75f75070.9b366c68.js new file mode 100644 index 0000000..807212f --- /dev/null +++ b/dist/static/js/chunk-75f75070.9b366c68.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-75f75070"],{"04ff":function(t,e,a){var n=a("437b"),i=a("1519"),o=Array.prototype;t.exports=function(t){var e=t.find;return t===o||n(o,t)&&e===o.find?i:e}},"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return c}));var n=a("2b0b"),i=a.n(n);Math.easeInOutQuad=function(t,e,a,n){return t/=n/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var o=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){i()(t,1e3/60)}}();function r(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function l(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function c(t,e,a){var n=l(),i=t-n,c=20,s=0;e="undefined"===typeof e?500:e;var u=function t(){s+=c;var l=Math.easeInOutQuad(s,n,i,e);r(l),s0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),t._v(" "),t.addOrUpdateVisible?a("shelfAttr-add",{ref:"addOrUpdate",attrs:{"cache-id":t.listQuery.cacheId},on:{refreshDataList:t.getList}}):t._e()],1)},i=[],o=(a("7f7f"),a("a3e3")),r=a.n(o),l=a("4573"),c=a.n(l),s=a("fc56"),u=a.n(s),d=a("3393"),m=a.n(d),f=a("9923"),h=a("bb1e"),p=a("c0ee"),b=a("333d"),v=a("ebe9"),g=a("322f"),$=a("b7d9"),F=a("6b45"),N=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],y=[{prop:"shelfName",label:f["a"].t("module.basicData.cache.AreaName"),align:"center"},{prop:"code",label:f["a"].t("module.basicData.cache.AreaCode"),align:"center"},{prop:"total",label:f["a"].t("module.basicData.cache.StorageQuantity"),align:"center"},{prop:"rowNum",label:f["a"].t("module.basicData.cache.rowNum"),align:"center"},{prop:"columnNum",label:f["a"].t("module.basicData.cache.columnNum"),align:"center"},{prop:"shelf",label:f["a"].t("module.basicData.visual.location"),subcomponent:F["a"],align:"center"}],D={name:"Area",components:{Pagination:b["a"],BaseTable:p["a"],MethodBtn:v["a"],HeadForm:h["a"],shelfAttrAdd:$["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{addOrUpdateVisible:!1,keyName:this.$t("module.basicData.cache.ShelfName"),placeholderName:this.$t("module.basicData.cache.ShelfName"),tableBtn:N,trueWidth:200,tableProps:y,list:[],areaList:[],total:0,listLoading:!0,listQuery:{current:1,size:10}}},created:function(){this.getList()},methods:{handleClick:function(t){var e,a=this;"delete"===t.type?this.$confirm(r()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.shelfName,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(g["c"])(t.data.id).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getList()}})}))}))["catch"]((function(){})):"edit"===t.type?this.addNew(t.data.id):this.addNew(t.data.id,!0)},getList:function(t){var e=this;this.listLoading=!0,this.listQuery.shelfName=t,Object(g["e"])(this.listQuery).then((function(t){var a,n;(console.log(t),t.data.records)?(e.list=t.data.records,c()(a=e.list).call(a,(function(t){var a,n=u()(a=e.areaList).call(a,(function(e){if(e.id===t.areaId)return e}));n&&(t.areaName=n.name)}))):m()(n=e.list).call(n,0,e.list.length);e.total=t.data.total,e.listLoading=!1}))},addNew:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t,!0)}))}}},w=D,k=(a("4dfd"),a("2877")),_=Object(k["a"])(w,n,i,!1,null,"534c0526",null);e["default"]=_.exports},"2b1b":function(t,e,a){var n=a("04ff");t.exports=n},"322f":function(t,e,a){"use strict";a.d(e,"e",(function(){return i})),a.d(e,"d",(function(){return o})),a.d(e,"f",(function(){return r})),a.d(e,"a",(function(){return l})),a.d(e,"b",(function(){return c})),a.d(e,"c",(function(){return s}));var n=a("b775");function i(t){return Object(n["a"])({url:"/api/wms/area/shelf",method:"post",data:t})}function o(t){return Object(n["a"])({url:"/api/wms/area/shelfById",method:"post",data:{id:t}})}function r(t){return Object(n["a"])({url:"/api/wms/area/updateshelf",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/api/wms/area/addshelf",method:"post",data:t})}function c(){return Object(n["a"])({url:"/api/wms/area/getCode",method:"post"})}function s(t){return Object(n["a"])({url:"/api/wms/area/deleteshelf",method:"post",data:{id:t}})}},"4d28":function(t,e,a){},"4dfd":function(t,e,a){"use strict";a("4d28")},"6b45":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",[a("el-button",{attrs:{type:"text",size:"small"},on:{click:t.emitClick}},[t._v(t._s(t.$t("module.basicData.cache.addLocation")))])],1)},i=[],o={props:{injectData:{type:Object,default:function(){return{}}}},methods:{emitClick:function(){this.$router.push({name:"locationAdd",query:{id:this.injectData.id,code:this.injectData.code,total:this.injectData.total,shelfName:this.injectData.shelfName}})}}},r=o,l=a("2877"),c=Object(l["a"])(r,n,i,!1,null,null,null);e["a"]=c.exports},b7d9:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")(t.dataForm.id?"btn.edit":"btn.add"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"130px"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.ShelfName"),prop:"name"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.ShelfName")]),clearable:""},model:{value:t.dataForm.shelfName,callback:function(e){t.$set(t.dataForm,"shelfName",e)},expression:"dataForm.shelfName"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.ShelfCode"),prop:"code"}},[a("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.ShelfCode")]),clearable:""},model:{value:t.dataForm.code,callback:function(e){t.$set(t.dataForm,"code",e)},expression:"dataForm.code"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.StorageQuantity"),prop:"total"}},[a("el-input-number",{attrs:{step:1,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.StorageQuantity")]),clearable:""},model:{value:t.dataForm.total,callback:function(e){t.$set(t.dataForm,"total",e)},expression:"dataForm.total"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.rowNum"),prop:"rowNum"}},[a("el-input-number",{attrs:{step:1,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.rowNum")]),clearable:""},model:{value:t.dataForm.rowNum,callback:function(e){t.$set(t.dataForm,"rowNum",e)},expression:"dataForm.rowNum"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.cache.columnNum"),prop:"columnNum"}},[a("el-input-number",{attrs:{step:1,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.cache.columnNum")]),clearable:""},model:{value:t.dataForm.columnNum,callback:function(e){t.$set(t.dataForm,"columnNum",e)},expression:"dataForm.columnNum"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.confirm")))])],1)],1)},i=[],o=a("322f"),r={props:{areaId:{type:String,default:function(){return""}}},data:function(){return{visible:!1,isPage:!1,dataForm:{abbr:"n",id:0,areaId:"",shelfName:"",code:"",shelfNumber:"",total:""},areaArr:[],dataRule:{shelfName:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.cache.ShelfName")]),trigger:"blur"}],code:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.cache.ShelfCode")]),trigger:"blur"}],areaId:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.cache.AreaName")]),trigger:"change"}]}}},methods:{init:function(t){var e=this;this.dataForm.id=t||"",this.visible=!0,this.$nextTick((function(){e.$refs["dataForm"].resetFields(),e.dataForm.id?Object(o["d"])(e.dataForm.id).then((function(t){e.dataForm=t.data})):(e.dataForm.shelfName="",Object(o["b"])().then((function(t){e.dataForm.code=t.data})))}))},dataFormSubmit:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var a=t.dataForm;t.dataForm.id?Object(o["f"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})})):Object(o["a"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})}))}}))}}},l=r,c=a("2877"),s=Object(c["a"])(l,n,i,!1,null,null,null);e["a"]=s.exports},bdf4:function(t,e,a){"use strict";var n=a("a5eb"),i=a("dee0").find,o=a("c44e"),r="find",l=!0;r in[]&&Array(1)[r]((function(){l=!1})),n({target:"Array",proto:!0,forced:l},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(r)},fc56:function(t,e,a){t.exports=a("2b1b")}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-799950e4.27abaab4.js b/dist/static/js/chunk-799950e4.27abaab4.js new file mode 100644 index 0000000..b2e8722 --- /dev/null +++ b/dist/static/js/chunk-799950e4.27abaab4.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-799950e4"],{"09f4":function(t,a,e){"use strict";e.d(a,"a",(function(){return n}));var r=e("2b0b"),o=e.n(r);Math.easeInOutQuad=function(t,a,e,r){return t/=r/2,t<1?e/2*t*t+a:(t--,-e/2*(t*(t-2)-1)+a)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){o()(t,1e3/60)}}();function s(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function l(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function n(t,a,e){var r=l(),o=t-r,n=20,d=0;a="undefined"===typeof a?500:a;var u=function t(){d+=n;var l=Math.easeInOutQuad(d,r,o,a);s(l),d0,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("Factory-add",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e()],1)},o=[],i=e("3393"),s=e.n(i),l=(e("7f7f"),e("de20")),n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("el-dialog",{attrs:{title:t._f("i18nFilter")("btn.see"),visible:t.visible,width:"70%"},on:{"update:visible":function(a){t.visible=a}}},[e("el-row",{attrs:{gutter:10}},[e("el-form",{ref:"dataForm",attrs:{model:t.dataForm,size:"medium","label-width":"180px","label-position":"left"}},[e("el-col",{attrs:{span:8}},[e("el-row",[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.OrderName"),prop:"name"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.OrderName"),readonly:""},model:{value:t.dataForm.name,callback:function(a){t.$set(t.dataForm,"name",a)},expression:"dataForm.name"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.OrderStatus"),prop:"status"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.OrderStatus"),readonly:""},model:{value:t.dataForm.status,callback:function(a){t.$set(t.dataForm,"status",a)},expression:"dataForm.status"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.PlanProcessQuantity"),prop:"planQuantity"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.PlanProcessQuantity"),readonly:""},model:{value:t.dataForm.planQuantity,callback:function(a){t.$set(t.dataForm,"planQuantity",a)},expression:"dataForm.planQuantity"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.Priority"),prop:"priority"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.Priority"),readonly:""},model:{value:t.dataForm.priority,callback:function(a){t.$set(t.dataForm,"priority",a)},expression:"dataForm.priority"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.CompletionTime"),prop:"finishProduceTime"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.CompletionTime"),readonly:""},model:{value:t.dataForm.finishProduceTime,callback:function(a){t.$set(t.dataForm,"finishProduceTime",a)},expression:"dataForm.finishProduceTime"}})],1)],1)],1)],1),t._v(" "),e("el-col",{attrs:{span:8}},[e("el-row",[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.OrderCode"),prop:"code"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.OrderCode"),readonly:""},model:{value:t.dataForm.code,callback:function(a){t.$set(t.dataForm,"code",a)},expression:"dataForm.code"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.startProduceTime"),prop:"startProduceTime"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.startProduceTime"),readonly:""},model:{value:t.dataForm.startProduceTime,callback:function(a){t.$set(t.dataForm,"startProduceTime",a)},expression:"dataForm.startProduceTime"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.actualProcessQuantity"),prop:"actualQuantity"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.actualProcessQuantity"),readonly:""},model:{value:t.dataForm.actualQuantity,callback:function(a){t.$set(t.dataForm,"actualQuantity",a)},expression:"dataForm.actualQuantity"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.triggerOrigin"),prop:"triggerOrigin"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.triggerOrigin"),readonly:""},model:{value:t.dataForm.triggerOrigin,callback:function(a){t.$set(t.dataForm,"triggerOrigin",a)},expression:"dataForm.triggerOrigin"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.ProcessOrNot"),prop:"ProcessOrNot"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.ProcessOrNot"),readonly:""},model:{value:t.dataForm.ProcessOrNot,callback:function(a){t.$set(t.dataForm,"ProcessOrNot",a)},expression:"dataForm.ProcessOrNot"}})],1)],1)],1)],1),t._v(" "),e("el-col",{attrs:{span:8}},[e("el-row",[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.TotalProcessName"),prop:"craftName"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.TotalProcessName"),readonly:""},model:{value:t.dataForm.craftName,callback:function(a){t.$set(t.dataForm,"craftName",a)},expression:"dataForm.craftName"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.SubProcessName"),prop:"subProccessName"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.SubProcessName"),readonly:""},model:{value:t.dataForm.subProccessName,callback:function(a){t.$set(t.dataForm,"subProccessName",a)},expression:"dataForm.subProccessName"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.scrapQuantity"),prop:"scrapQuantity"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.scrapQuantity"),readonly:""},model:{value:t.dataForm.scrapQuantity,callback:function(a){t.$set(t.dataForm,"scrapQuantity",a)},expression:"dataForm.scrapQuantity"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.OrderType"),prop:"type"}},[e("el-input",{style:{width:"100%"},attrs:{placeholder:t.$t("module.basicData.Warehouse.OrderType"),readonly:""},model:{value:t.dataForm.type,callback:function(a){t.$set(t.dataForm,"type",a)},expression:"dataForm.type"}})],1)],1)],1)],1)],1)],1),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(a){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))])],1)],1)},d=[],u=e("8975"),c={data:function(){return{visible:!1,dataForm:{id:0,name:void 0,priority:"",actualQuantity:"",startProduceTime:"",finishProduceTime:"",scrapQuantity:"",triggerOrigin:"",type:"",code:void 0,status:void 0,craftName:void 0,planQuantity:void 0,subProccessName:void 0}}},methods:{init:function(t){var a=this;this.dataForm.id=t||"",this.visible=!0,this.$nextTick((function(){a.$refs["dataForm"].resetFields(),a.dataForm.id&&Object(l["a"])(a.dataForm.id).then((function(t){t.data.status=a.statusfilter("orderStatus",t.data.status),t.data.type=a.statusfilter("orderType",t.data.type),t.data.priority=a.statusfilter("priority",t.data.priority),t.data.triggerOrigin=a.statusfilter("triggerOrigin",t.data.triggerOrigin),t.data.finishProduceTime=Object(u["timeFormatter"])(t.data.finishProduceTime),t.data.startProduceTime=Object(u["timeFormatter"])(t.data.startProduceTime),t.data.ProcessOrNot=t.data.processId?"是":"否",a.dataForm=t.data}))}))},statusfilter:function(t,a){var e,r={orderStatus:{1:"未激活",2:"等待",3:"激活",4:"暂停",9:"完成"},priority:{1:"低",2:"正常",3:"高"},orderType:{1:"生产工单",2:"重工工单",3:"测试工单"},triggerOrigin:{1:"MES",2:"ERP",3:"PID1",4:"00A",5:"00C"}};return null===r||void 0===r||null===(e=r[t])||void 0===e?void 0:e[a]}}},m=c,p=e("2877"),b=Object(p["a"])(m,n,d,!1,null,null,null),f=b.exports,h=e("bb1e"),y=e("c0ee"),F=e("333d"),v=e("ebe9"),g=e("546f"),D=e("9923"),w=[{type:"see",btnName:"btn.see"}],O=[{prop:"name",label:D["a"].t("module.basicData.Warehouse.OrderName"),align:"center"},{prop:"createTime",label:D["a"].t("module.basicData.Warehouse.IssueOrderTime"),filter:u["timeFormatter"],align:"center"},{prop:"craftName",label:D["a"].t("module.basicData.Warehouse.TotalProcessName"),align:"center"},{prop:"priority",label:D["a"].t("module.basicData.Warehouse.Priority"),filter:Object(g["a"])("priority"),align:"center"},{prop:"status",label:D["a"].t("module.basicData.Warehouse.OrderStatus"),filter:Object(g["a"])("workOrderStatus"),align:"center"}],$={name:"ExecutionInfo",components:{Pagination:F["a"],BaseTable:y["a"],MethodBtn:v["a"],HeadForm:h["a"],FactoryAdd:f},filters:{statusFilter:function(t){var a={published:"success",draft:"info",deleted:"danger"};return a[t]}},data:function(){return{keyName:D["a"].t("module.basicData.Warehouse.OrderName"),placeholderName:this.$t("module.basicData.Warehouse.OrderName"),addOrUpdateVisible:!1,tableBtn:w,trueWidth:200,tableProps:O,list:[],total:0,listLoading:!0,listQuery:{current:1,size:10,name:"",code:""}}},created:function(){this.getList()},methods:{handleClick:function(t){this.addNew(t.data.id)},getList:function(t){var a=this;this.listLoading=!0,this.listQuery.name=t,Object(l["b"])(this.listQuery).then((function(t){var e;t.data.records?a.list=t.data.records:s()(e=a.list).call(e,0,a.list.length);a.total=t.data.total,a.listLoading=!1}))},addNew:function(t){var a=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){a.$refs.addOrUpdate.init(t)}))}}},P=$,k=(e("7e31"),Object(p["a"])(P,r,o,!1,null,"206ab25c",null));a["default"]=k.exports},"546f":function(t,a,e){"use strict";var r=e("9923"),o={sex:{0:r["a"].t("basicDataFilter.sex.woman"),1:r["a"].t("basicDataFilter.sex.man")},onDuty:{0:r["a"].t("basicDataFilter.onDuty.no"),1:r["a"].t("basicDataFilter.onDuty.yes")},orderStatus:{1:r["a"].t("basicDataFilter.orderStatus.add"),2:r["a"].t("basicDataFilter.orderStatus.start"),3:r["a"].t("basicDataFilter.orderStatus.stop"),4:r["a"].t("basicDataFilter.orderStatus.issued"),9:r["a"].t("basicDataFilter.orderStatus.complete")},workOrderStatus:{1:r["a"].t("basicDataFilter.workOrderStatus.notactive"),2:r["a"].t("basicDataFilter.workOrderStatus.waiting"),3:r["a"].t("basicDataFilter.workOrderStatus.active"),4:r["a"].t("basicDataFilter.workOrderStatus.stop"),9:r["a"].t("basicDataFilter.workOrderStatus.complete")},source:{1:"MES",2:"ERP",3:"PID1",4:"00A",5:"00C"},priority:{1:r["a"].t("basicDataFilter.priority.low"),2:r["a"].t("basicDataFilter.priority.normal"),3:r["a"].t("basicDataFilter.priority.high")},workStatus:{0:r["a"].t("basicDataFilter.workStatus.fail"),1:r["a"].t("basicDataFilter.workStatus.success")},roleType:{1:"pc",2:"app",3:"wechat",4:"miniapp",5:"pda"},menuType:{0:r["a"].t("basicDataFilter.menuType.catalogue"),1:r["a"].t("basicDataFilter.menuType.menu"),2:r["a"].t("basicDataFilter.menuType.button")},enableState:{0:r["a"].t("basicDataFilter.enableState.disable"),1:r["a"].t("basicDataFilter.enableState.enable")},storage:{0:r["a"].t("basicDataFilter.storage.normal"),1:r["a"].t("basicDataFilter.storage.repairing"),2:r["a"].t("basicDataFilter.storage.scrap")}};a["a"]=function(t){return function(a){var e;return null===o||void 0===o||null===(e=o[t])||void 0===e?void 0:e[a]}}},"6ff6":function(t,a,e){},"7e31":function(t,a,e){"use strict";e("6ff6")},de20:function(t,a,e){"use strict";e.d(a,"d",(function(){return o})),e.d(a,"e",(function(){return i})),e.d(a,"c",(function(){return s})),e.d(a,"b",(function(){return l})),e.d(a,"a",(function(){return n}));var r=e("b775");function o(t){return Object(r["a"])({url:"/api/wms/work/order/page",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/api/wms/work/order/update",method:"post",data:t})}function s(t){var a={id:t};return Object(r["a"])({url:"/api/wms/work/order/get",method:"post",data:a})}function l(t){return Object(r["a"])({url:"/api/wms/work/order/execute/page",method:"post",data:t})}function n(t){var a={id:t};return Object(r["a"])({url:"/api/wms/work/order/execute/get",method:"post",data:a})}}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-799b1311.c48967c8.js b/dist/static/js/chunk-799b1311.c48967c8.js new file mode 100644 index 0000000..4715ddc --- /dev/null +++ b/dist/static/js/chunk-799b1311.c48967c8.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-799b1311"],{"68b8":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"app-container"},[i("el-form",{attrs:{model:t.formData,inline:!0,size:"medium","label-width":"80px"}},[i("el-form-item",[i("el-button",{on:{click:function(e){return t.toE10()}}},[t._v("E10")])],1),t._v(" "),i("el-form-item",[i("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.toOEE()}}},[t._v("OEE")])],1),t._v(" "),i("el-form-item",[i("el-button",{on:{click:function(e){return t.toMTTR()}}},[t._v("MTTR")])],1),t._v(" "),i("el-form-item",[i("el-button",{on:{click:function(e){return t.toMCBF()}}},[t._v("MCBF")])],1),t._v(" "),i("el-form-item",{attrs:{label:t.$t("module.equipmentManager.equipmentVisualization.timeSlot"),"label-width":"100px",prop:"time"}},[i("el-date-picker",{attrs:{type:"datetimerange","start-placeholder":t.$t("module.orderManage.order.StartTime"),"end-placeholder":t.$t("module.orderManage.order.StartTime"),"range-separator":t.$t("module.orderManage.order.To"),clearable:""},model:{value:t.formData.timeSlot,callback:function(e){t.$set(t.formData,"timeSlot",e)},expression:"formData.timeSlot"}})],1),t._v(" "),i("el-form-item",[i("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.getList()}}},[t._v(" "+t._s(t._f("i18nFilter")("btn.search"))+" ")])],1)],1),t._v(" "),t.oeeVisible?i("oeeChart",{ref:"oeeChart",attrs:{time1:t.startTime,time2:t.endTime},on:{equipmentName:t.seeDetail}}):t._e(),t._v(" "),t.oeeDetail?i("oee-detail-chart",{ref:"oeeDetailChart",attrs:{time1:t.startTime,time2:t.endTime,"equipment-name":t.equipmentName}}):t._e()],1)},n=[],o=i("2b0b"),s=i.n(o),r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticStyle:{"margin-left":"10%"},style:{width:"1000px",height:"800px"},attrs:{id:"monitorChart"}})])},l=[],u=(i("7f7f"),i("313e")),m=i.n(u),c={props:{time1:{type:Date,default:function(){return""}},time2:{type:Date,default:function(){return""}}},data:function(){return{chart:null,list:[],xDataList:[],oeeList:[]}},mounted:function(){},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{removeData:function(){this.xDataList=["ACOT1","ACOT2","ACOT-a","ACOT-b"],this.oeeList=[20,30,80,44]},getList:function(){this.removeData(),this.init()},init:function(){this.chart=m.a.init(document.getElementById("monitorChart"));var t=this;t.chart.on("click",(function(e){t.$emit("equipmentName",e.name)})),this.chart.setOption({tooltip:{trigger:"axis",axisPointer:{type:"cross",crossStyle:{color:"#999"}}},toolbox:{feature:{saveAsImage:{show:!0}}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",axisLabel:{interval:0,rotate:-30},max:10,data:this.xDataList},yAxis:[{type:"value",min:0,max:100,axisLabel:{formatter:"{value}%"}},{type:"value",min:0,max:100,axisLabel:{formatter:"{value}%"}}],series:[{name:"oee",type:"bar",stack:"total",label:{show:!0},emphasis:{focus:"series"},barWidth:40,data:this.oeeList},{name:"oee",type:"line",yAxisIndex:1,data:this.oeeList}]})}}},h=c,f=i("2877"),p=Object(f["a"])(h,r,l,!1,null,null,null),b=p.exports,d=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",[i("el-button-group",[i("el-button",{on:{click:t.byYear}},[t._v("年")]),t._v(" "),i("el-button",{on:{click:t.byQuarterly}},[t._v("季度")]),t._v(" "),i("el-button",{on:{click:t.byMonth}},[t._v("月")]),t._v(" "),i("el-button",{on:{click:t.byWeek}},[t._v("周")]),t._v(" "),i("el-button",{on:{click:t.byDay}},[t._v("天")])],1)],1),t._v(" "),i("div",{staticStyle:{"margin-left":"10%"},style:{width:"700px",height:"550px"},attrs:{id:"monitorChart"}}),t._v(" "),t.tableVisible?i("oee-table",{ref:"tableRef",attrs:{"table-data":t.tableData,"equipment-name":t.name}}):t._e()],1)},v=[],g=(i("96cf"),i("1da1")),y=i("6b47"),D=i.n(y),x=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("base-table",{attrs:{"table-config":t.tableProps,"table-data":t.list,"is-loading":t.listLoading}})],1)},T=[],_=i("4573"),L=i.n(_),C=i("9923"),k=i("c0ee"),q=[{prop:"equipmentName",label:C["a"].t("module.equipmentManager.maintainplan.equipmentId"),align:"center"},{prop:"runTime",label:C["a"].t("module.equipmentManager.monitoringInfo.runTime"),align:"center"},{prop:"productiveTime",label:C["a"].t("module.equipmentManager.monitoringInfo.produceTime"),align:"center"},{prop:"productiveCount",label:C["a"].t("module.equipmentManager.monitoringInfo.productiveCount"),align:"center"},{prop:"timeRate",label:C["a"].t("module.equipmentManager.monitoringInfo.timeRate"),align:"center"},{prop:"performanceRate",label:C["a"].t("module.equipmentManager.monitoringInfo.performanceRate"),align:"center"},{prop:"oee",label:C["a"].t("module.equipmentManager.monitoringInfo.oee"),align:"center"}],w={name:"",components:{BaseTable:k["a"]},props:{tableData:{type:Array,default:function(){}},equipmentName:{type:String,default:function(){}}},data:function(){return{total:0,tableProps:q,list:[],listLoading:!1}},mounted:function(){},methods:{init:function(){var t,e=this;(this.list=this.tableData,this.list!==[])&&L()(t=this.list).call(t,(function(t){t.equipmentName=e.equipmentName}))}}},$=w,M=(i("cc65"),Object(f["a"])($,x,T,!1,null,"ff8f9c44",null)),E=M.exports,R={components:{OeeTable:E},props:{time1:{type:Date,default:function(){return""}},time2:{type:Date,default:function(){return""}},equipmentName:{type:String,default:function(){return""}}},data:function(){return{chart:null,tableVisible:!1,equipmentDetail:[],tableData:[],list:[],xDataList:[],oeeList:[],startTime:"",endTime:"",name:""}},mounted:function(){this.startTime=this.time1,this.endTime=this.time2,this.name=this.equipmentName,this.removeData()},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{getDataList:function(t){console.log(t)},byYear:function(){var t=Object(g["a"])(D.a.mark((function t(){var e=this;return D.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:this.removeData(),this.setChart(this.list.年),this.tableData=this.list.年,s()((function(){e.$refs.tableRef.init()}),60);case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),byQuarterly:function(){var t=this;this.removeData(),this.setChart(this.list.季度),this.tableData=this.list.季度,s()((function(){t.$refs.tableRef.init()}),60)},byMonth:function(){var t=this;this.removeData(),this.setChart(this.list.月),this.tableData=this.list.月,s()((function(){t.$refs.tableRef.init()}),60)},byWeek:function(){var t=this;this.removeData(),this.setChart(this.list.周),this.tableData=this.list.周,s()((function(){t.$refs.tableRef.init()}),60)},byDay:function(){var t=this;this.removeData(),this.setChart(this.list.天),this.tableData=this.list.天,s()((function(){t.$refs.tableRef.init()}),60)},setChart:function(t){this.init()},removeData:function(){this.xDataList=[this.name],this.oeeList=[30,40,30,33,44]},getList:function(){this.tableVisible=!0},init:function(){this.chart=m.a.init(document.getElementById("monitorChart")),this.chart.setOption({tooltip:{trigger:"axis",axisPointer:{type:"cross",crossStyle:{color:"#999"}}},toolbox:{feature:{saveAsImage:{show:!0}}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",max:10,axisLabel:{interval:0,rotate:-30},data:this.xDataList},yAxis:{type:"value"},series:[{name:"oee",type:"bar",stack:"total",label:{show:!0},emphasis:{focus:"series"},data:this.oeeList},{name:"performanceRate",type:"bar",stack:"total",label:{show:!0},emphasis:{focus:"series"},data:this.performanceRateList},{name:"productiveCount",type:"bar",stack:"total",label:{show:!0},emphasis:{focus:"series"},data:this.productiveCountList},{name:"productiveTime",type:"bar",stack:"total",label:{show:!0},emphasis:{focus:"series"},data:this.productiveTimeList},{name:"runTime",type:"bar",stack:"total",label:{show:!0},emphasis:{focus:"series"},data:this.runTimeList},{name:"time",type:"bar",stack:"total",label:{show:!0},emphasis:{focus:"series"},data:this.timeList},{name:"timeRate",type:"bar",stack:"total",label:{show:!0},emphasis:{focus:"series"},data:this.timeRateList}]})}}},O=R,S=Object(f["a"])(O,d,v,!1,null,null,null),A=S.exports,I={name:"OEE",components:{oeeChart:b,oeeDetailChart:A},data:function(){return{list:[],startTime:"",endTime:"",formData:{timeSlot:[],current:1,size:10},oeeVisible:!1,oeeDetail:!1,equipmentName:"",eqList:[]}},created:function(){},methods:{toE10:function(){this.$router.push({name:"E10"})},toOEE:function(){this.$router.push({name:"OEE"})},toMTTR:function(){this.$router.push({name:"MTTR"})},toMCBF:function(){this.$router.push({name:"MCBF"})},seeDetail:function(t){var e=this;this.equipmentName=t,this.oeeVisible=!1,this.oeeDetail=!0,s()((function(){e.$refs.oeeDetailChart.getList()}),60)},getList:function(){var t=this;0!==this.formData.timeSlot.length&&(this.startTime=this.formData.timeSlot[0],this.endTime=this.formData.timeSlot[1],this.$nextTick((function(){t.oeeVisible=!0,s()((function(){t.$refs.oeeChart.getList()}),60)})))}}},N=I,V=(i("ae55"),Object(f["a"])(N,a,n,!1,null,"4ca4790c",null));e["default"]=V.exports},ae55:function(t,e,i){"use strict";i("c446")},c446:function(t,e,i){},cc65:function(t,e,i){"use strict";i("ccfa")},ccfa:function(t,e,i){}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-7b74f4e0.797ee908.js b/dist/static/js/chunk-7b74f4e0.797ee908.js new file mode 100644 index 0000000..fbdf37a --- /dev/null +++ b/dist/static/js/chunk-7b74f4e0.797ee908.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7b74f4e0"],{"09f4":function(t,a,e){"use strict";e.d(a,"a",(function(){return l}));var o=e("2b0b"),i=e.n(o);Math.easeInOutQuad=function(t,a,e,o){return t/=o/2,t<1?e/2*t*t+a:(t--,-e/2*(t*(t-2)-1)+a)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){i()(t,1e3/60)}}();function s(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function n(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(t,a,e){var o=n(),i=t-o,l=20,c=0;a="undefined"===typeof a?500:a;var u=function t(){c+=l;var n=Math.easeInOutQuad(c,o,i,a);s(n),c0,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("storageBox-add",{ref:"addOrUpdate",attrs:{"cache-id":t.listQuery.cacheId},on:{refreshDataList:t.getList}}):t._e()],1)},i=[],r=e("a3e3"),s=e.n(r),n=e("3393"),l=e.n(n),c=e("9923"),u=e("bb1e"),d=e("c0ee"),m=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("el-dialog",{attrs:{title:t._f("i18nFilter")(t.dataForm.id?"btn.edit":"btn.add"),visible:t.visible},on:{"update:visible":function(a){t.visible=a}}},[e("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"130px"},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&t._k(a.keyCode,"enter",13,a.key,"Enter")?null:t.dataFormSubmit()}}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.storageBox.name"),prop:"storageBoxName"}},[e("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.storageBox.name")]),clearable:""},model:{value:t.dataForm.storageBoxName,callback:function(a){t.$set(t.dataForm,"storageBoxName",a)},expression:"dataForm.storageBoxName"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("module.basicData.storageBox.code"),prop:"code"}},[e("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.storageBox.code")]),clearable:""},model:{value:t.dataForm.code,callback:function(a){t.$set(t.dataForm,"code",a)},expression:"dataForm.code"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("module.basicData.visual.EnglishName"),prop:"enName"}},[e("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.EnglishName")]),clearable:""},model:{value:t.dataForm.enName,callback:function(a){t.$set(t.dataForm,"enName",a)},expression:"dataForm.enName"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("module.basicData.storageBox.status"),prop:"status"}},[e("el-select",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.storageBox.status")]),clearable:""},model:{value:t.dataForm.status,callback:function(a){t.$set(t.dataForm,"status",a)},expression:"dataForm.status"}},t._l(t.options,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("module.basicData.visual.storageBoxFid"),prop:"storageBoxFid"}},[e("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.storageBoxFid")]),clearable:""},model:{value:t.dataForm.storageBoxFid,callback:function(a){t.$set(t.dataForm,"storageBoxFid",a)},expression:"dataForm.storageBoxFid"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Remarks"),prop:"note"}},[e("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Remarks")]),clearable:""},model:{value:t.dataForm.note,callback:function(a){t.$set(t.dataForm,"note",a)},expression:"dataForm.note"}})],1)],1),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(a){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:function(a){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.confirm")))])],1)],1)},b=[],p=e("a19e"),f={data:function(){return{visible:!1,dataForm:{id:0,storageBoxName:"",code:"",status:"",enName:"",note:"",storageBoxFid:""},options:[{value:0,label:this.$t("module.basicData.storageBox.normal")},{value:1,label:this.$t("module.basicData.storageBox.repairing")},{value:2,label:this.$t("module.basicData.storageBox.scrapped")}],dataRule:{storageBoxName:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.storageBox.name")]),trigger:"blur"}],code:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.storageBox.code")]),trigger:"blur"}]}}},methods:{init:function(t){var a=this;this.dataForm.id=t||"",this.visible=!0,this.$nextTick((function(){a.$refs["dataForm"].resetFields(),a.dataForm.id?Object(p["f"])(a.dataForm.id).then((function(t){a.dataForm=t.data})):Object(p["d"])().then((function(t){a.dataForm.code=t.data}))}))},dataFormSubmit:function(){var t=this;this.$refs["dataForm"].validate((function(a){if(a){var e=t.dataForm;e.id=t.dataForm.id,t.dataForm.id?Object(p["h"])(e).then((function(a){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})})):Object(p["c"])(e).then((function(a){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})}))}}))}}},g=f,h=e("2877"),F=Object(h["a"])(g,m,b,!1,null,null,null),v=F.exports,D=e("333d"),x=e("ebe9"),$=e("8975"),y=e("546f"),B=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],w=[{prop:"createTime",label:c["a"].t("module.basicData.factory.createTime"),filter:$["timeFormatter"],align:"center"},{prop:"code",label:c["a"].t("module.basicData.storageBox.code"),align:"center"},{prop:"storageBoxName",label:c["a"].t("module.basicData.storageBox.name"),align:"center"},{prop:"enName",label:c["a"].t("module.basicData.visual.EnglishName"),align:"center"},{prop:"status",label:c["a"].t("module.basicData.storageBox.status"),filter:Object(y["a"])("storage"),align:"center"},{prop:"storageBoxFid",label:c["a"].t("module.basicData.visual.storageBoxFid"),align:"center"},{prop:"note",label:c["a"].t("module.basicData.storageBox.remark"),align:"center"}],k={name:"Area",components:{Pagination:D["a"],BaseTable:d["a"],MethodBtn:x["a"],HeadForm:u["a"],storageBoxAdd:v},filters:{statusFilter:function(t){var a={published:"success",draft:"info",deleted:"danger"};return a[t]}},data:function(){return{addOrUpdateVisible:!1,keyName:this.$t("module.basicData.storageBox.name"),placeholderName:this.$t("module.basicData.storageBox.name"),tableBtn:B,trueWidth:200,tableProps:w,list:[],areaList:[],total:0,listLoading:!0,listQuery:{current:1,size:10}}},created:function(){this.getList()},methods:{handleClick:function(t){var a,e=this;"delete"===t.type?this.$confirm(s()(a="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(a,t.data.storageBoxName,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(p["e"])(t.data.id).then((function(t){e.$message({message:e.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){e.getList()}})}))}))["catch"]((function(){})):"edit"===t.type?this.addNew(t.data.id):this.addNew(t.data.id,!0)},getList:function(t){var a=this;this.listLoading=!0,this.listQuery.storageBoxName=t,Object(p["g"])(this.listQuery).then((function(t){var e;t.data.records?(a.list=t.data.records,console.log(a.list)):l()(e=a.list).call(e,0,a.list.length);a.total=t.data.total,a.listLoading=!1}))},addNew:function(t){var a=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){a.$refs.addOrUpdate.init(t,!0)}))}}},O=k,N=(e("302f"),Object(h["a"])(O,o,i,!1,null,"49689e8c",null));a["default"]=N.exports},a19e:function(t,a,e){"use strict";e.d(a,"g",(function(){return i})),e.d(a,"f",(function(){return r})),e.d(a,"h",(function(){return s})),e.d(a,"c",(function(){return n})),e.d(a,"d",(function(){return l})),e.d(a,"e",(function(){return c})),e.d(a,"a",(function(){return u})),e.d(a,"b",(function(){return d}));var o=e("b775");function i(t){return Object(o["a"])({url:"/api/wms/storagebox/page",method:"post",data:t})}function r(t){return Object(o["a"])({url:"/api/wms/storagebox/getById",method:"post",data:{id:t}})}function s(t){return Object(o["a"])({url:"/api/wms/storagebox/update",method:"post",data:t})}function n(t){return Object(o["a"])({url:"/api/wms/storagebox/add",method:"post",data:t})}function l(){return Object(o["a"])({url:"/api/wms/storagebox/getCode",method:"post"})}function c(t){return Object(o["a"])({url:"/api/wms/storagebox/delete",method:"post",data:{id:t}})}function u(t){return Object(o["a"])({url:"/api/wms/storagebox/add",method:"post",data:t})}function d(t){return Object(o["a"])({url:"/api/wms/storagebox-site/page",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-9feea084.ee5d3943.js b/dist/static/js/chunk-9feea084.ee5d3943.js new file mode 100644 index 0000000..9fdf73f --- /dev/null +++ b/dist/static/js/chunk-9feea084.ee5d3943.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9feea084"],{"09f4":function(t,a,e){"use strict";e.d(a,"a",(function(){return c}));var r=e("2b0b"),n=e.n(r);Math.easeInOutQuad=function(t,a,e,r){return t/=r/2,t<1?e/2*t*t+a:(t--,-e/2*(t*(t-2)-1)+a)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){n()(t,1e3/60)}}();function o(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function c(t,a,e){var r=s(),n=t-r,c=20,l=0;a="undefined"===typeof a?500:a;var d=function t(){l+=c;var s=Math.easeInOutQuad(l,r,n,a);o(s),l0,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("ScrapInfo-add",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e()],1)},n=[],i=e("a3e3"),o=e.n(i),s=e("3393"),c=e.n(s),l=e("b775");function d(t){return Object(l["a"])({url:"/api/wms/scrap-information/page",method:"post",data:t})}function u(t){var a={id:t};return Object(l["a"])({url:"/api/wms/scrap-information/get",method:"post",data:a})}function p(t){return Object(l["a"])({url:"/api/wms/scrap-information/update",method:"post",data:t})}function m(t){return Object(l["a"])({url:"/api/wms/scrap-information/add",method:"post",data:t})}function f(){return Object(l["a"])({url:"/api/wms/scrap-information/get-code",method:"post"})}function b(t){return Object(l["a"])({url:"/api/wms/scrap-information/delete",method:"post",data:{id:t}})}var h=e("30dd"),y=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("el-dialog",{attrs:{title:t._f("i18nFilter")(t.dataForm.id?"btn.edit":"btn.add"),visible:t.visible},on:{"update:visible":function(a){t.visible=a}}},[e("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"110px"},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&t._k(a.keyCode,"enter",13,a.key,"Enter")?null:t.dataFormSubmit()}}},[e("el-form-item",{attrs:{label:t.$t("module.basicData.ScrapInfo.cause"),prop:"scrap"}},[e("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.ScrapInfo.cause")]),clearable:""},model:{value:t.dataForm.scrap,callback:function(a){t.$set(t.dataForm,"scrap",a)},expression:"dataForm.scrap"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("module.basicData.ScrapInfo.causeCode"),prop:"code"}},[e("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.ScrapInfo.causeCode")]),clearable:""},model:{value:t.dataForm.code,callback:function(a){t.$set(t.dataForm,"code",a)},expression:"dataForm.code"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("module.basicData.ScrapInfo.scrapType"),prop:"scrapTypeInfo"}},[e("el-select",{attrs:{"value-key":"id",filterable:"",placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.ScrapInfo.scrapType")]),clearable:""},on:{change:function(a){return t.$forceUpdate()}},model:{value:t.dataForm.scrapTypeInfo,callback:function(a){t.$set(t.dataForm,"scrapTypeInfo",a)},expression:"dataForm.scrapTypeInfo"}},t._l(t.scrapTypeArr,(function(t){return e("el-option",{key:t.id,attrs:{label:t.scrapType,value:{id:t.id,name:t.scrapType}}})})),1)],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Remarks"),prop:"remark"}},[e("el-input",{attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Remarks")]),clearable:""},model:{value:t.dataForm.remark,callback:function(a){t.$set(t.dataForm,"remark",a)},expression:"dataForm.remark"}})],1)],1),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(a){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:function(a){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.confirm")))])],1)],1)},v=[],F=(e("7f7f"),{data:function(){return{visible:!1,scrapTypeArr:[],dataForm:{id:0,scrap:"",code:"",scrapTypeInfo:"",scrapId:"",scrapType:"",remark:""},listQuery:{current:1,size:999},dataRule:{scrap:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.ScrapInfo.cause")]),trigger:"blur"}],code:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.ScrapInfo.causeCode")]),trigger:"blur"}],scrapTypeInfo:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.ScrapInfo.scrapType")]),trigger:"change"}]}}},methods:{init:function(t){var a=this;Object(h["e"])(this.listQuery).then((function(t){var e;t.data.records?a.scrapTypeArr=t.data.records:c()(e=a.scrapTypeArr).call(e,0,a.list.length)})),this.dataForm.id=t||"",this.visible=!0,this.$nextTick((function(){a.$refs["dataForm"].resetFields(),a.dataForm.id?u(a.dataForm.id).then((function(t){a.dataForm=t.data,a.dataForm.scrapTypeInfo={id:a.dataForm.scrapId,name:a.dataForm.scrapType}})):f().then((function(t){a.dataForm.code=t.data}))}))},dataFormSubmit:function(){var t=this;this.$refs["dataForm"].validate((function(a){if(a){t.dataForm.scrapId=t.dataForm.scrapTypeInfo.id,t.dataForm.scrapType=t.dataForm.scrapTypeInfo.name;var e={scrap:t.dataForm.scrap,code:t.dataForm.code,scrapId:t.dataForm.scrapId,scrapType:t.dataForm.scrapType,remark:t.dataForm.remark,id:t.dataForm.id};t.dataForm.id?p(e).then((function(a){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})})):m(e).then((function(a){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})}))}}))},setValue:function(t){console.log(t)}}}),g=F,$=e("2877"),T=Object($["a"])(g,y,v,!1,null,null,null),I=T.exports,k=e("c0ee"),w=e("333d"),_=e("ebe9"),D=e("8975"),O=e("9923"),S=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],Q=[{prop:"createTime",label:O["a"].t("module.basicData.factory.createTime"),align:"center",filter:D["timeFormatter"]},{prop:"scrap",label:O["a"].t("module.basicData.ScrapInfo.cause"),align:"center"},{prop:"code",label:O["a"].t("module.basicData.ScrapInfo.causeCode"),align:"center"},{prop:"scrapType",label:O["a"].t("module.basicData.ScrapInfo.scrapType"),align:"center"},{prop:"remark",label:O["a"].t("module.basicData.visual.Remarks"),align:"center"}],x={name:"ScrapInfo",components:{Pagination:w["a"],BaseTable:k["a"],MethodBtn:_["a"],ScrapInfoAdd:I},filters:{statusFilter:function(t){var a={published:"success",draft:"info",deleted:"danger"};return a[t]}},data:function(){return{addOrUpdateVisible:!1,tableBtn:S,trueWidth:200,tableProps:Q,list:[],total:0,listLoading:!0,scrapTypeArr:[],listQuery:{current:1,size:10,scrap:"",scrapId:""}}},created:function(){this.getList()},methods:{handleClick:function(t){var a,e=this;(console.log(t),"delete"===t.type)?this.$confirm(o()(a="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(a,t.data.scrap,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){b(t.data.id).then((function(t){e.$message({message:e.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){e.getList()}})}))}))["catch"]((function(){})):this.addNew(t.data.id)},getList:function(){var t=this;Object(h["e"])(this.listQuery).then((function(a){var e;a.data.records?t.scrapTypeArr=a.data.records:c()(e=t.scrapTypeArr).call(e,0,t.list.length)})),this.listLoading=!0,d(this.listQuery).then((function(a){var e;a.data.records?t.list=a.data.records:c()(e=t.list).call(e,0,t.list.length);t.total=a.data.total,t.listLoading=!1}))},addNew:function(t){var a=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){a.$refs.addOrUpdate.init(t)}))}}},j=x,L=(e("c50b"),Object($["a"])(j,r,n,!1,null,"e8895f3c",null));a["default"]=L.exports},c50b:function(t,a,e){"use strict";e("3003")}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-a375c554.c047bdcf.js b/dist/static/js/chunk-a375c554.c047bdcf.js new file mode 100644 index 0000000..35c144a --- /dev/null +++ b/dist/static/js/chunk-a375c554.c047bdcf.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a375c554"],{"09f4":function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("2b0b"),a=i.n(n);Math.easeInOutQuad=function(t,e,i,n){return t/=n/2,t<1?i/2*t*t+e:(t--,-i/2*(t*(t-2)-1)+e)};var s=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){a()(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 l(t,e,i){var n=r(),a=t-n,l=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=l;var r=Math.easeInOutQuad(u,n,a,e);o(r),u0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}})],1)],1)},o=[],r=a("3393"),i=a.n(r),u=a("fe12"),s=a("c0ee"),c=a("333d"),l=a("cac5"),d=a("9923"),f=[{prop:"storageCode",label:d["a"].t("module.basicData.Warehouse.StorageBoxNumber"),align:"center"},{prop:"status",label:d["a"].t("module.basicData.Warehouse.BoxStatus"),filter:Object(l["a"])("enableState"),align:"center"},{prop:"currLocation",label:d["a"].t("module.basicData.Warehouse.CurrentLocation"),align:"center"},{prop:"isEmpty",label:d["a"].t("module.basicData.Warehouse.IsEmpty"),filter:Object(l["a"])("yesOrNo"),align:"center"}],b={name:"ScrapInfo",components:{Pagination:c["a"],BaseTable:s["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{keyName:d["a"].t("module.basicData.Warehouse.StorageBoxNumber"),placeholderName:this.$t("module.basicData.Warehouse.StorageBoxNumber"),trueWidth:200,tableProps:f,list:[],storageBoxList:[],total:0,listLoading:!0,listQuery:{current:1,size:10,code:""}}},created:function(){this.getList(),this.init()},methods:{init:function(){var t=this,e={current:1,size:100};Object(u["c"])(e).then((function(e){t.storageBoxList=e.data.records}))},getList:function(){var t=this;this.listLoading=!0,Object(u["a"])(this.listQuery).then((function(e){var a;e.data.records?t.list=e.data.records:i()(a=t.list).call(a,0,t.list.length);t.total=e.data.total,t.listLoading=!1}))}}},p=b,m=(a("8114"),a("2877")),h=Object(m["a"])(p,n,o,!1,null,"7b0427da",null);e["default"]=h.exports},"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return s}));var n=a("2b0b"),o=a.n(n);Math.easeInOutQuad=function(t,e,a,n){return t/=n/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){o()(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function u(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(t,e,a){var n=u(),o=t-n,s=20,c=0;e="undefined"===typeof e?500:e;var l=function t(){c+=s;var u=Math.easeInOutQuad(c,n,o,e);i(u),c0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}})],1)},a=[],o=n("3393"),i=n.n(o),s=n("3d6f"),u=n("c0ee"),l=n("333d"),c=n("ebe9"),d=n("9923"),p=n("8975"),f=[{type:"see",btnName:d["a"].t("module.basicData.Warehouse.processStorageLink")}],m=[{prop:"code",label:d["a"].t("module.art.processList.processCode"),align:"center"},{prop:"name",label:d["a"].t("module.art.processList.processName"),align:"center"},{prop:"createTime",label:d["a"].t("module.art.eqName"),filter:p["timeFormatter"],align:"center"}],b={name:"ExecutionInfo",components:{Pagination:l["a"],BaseTable:u["a"],MethodBtn:c["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{tableBtn:f,trueWidth:200,tableProps:m,list:[],processArr:[],total:0,listLoading:!0,rules:{},listQuery:{current:1,size:10,key:""}}},created:function(){this.getList(),this.init()},methods:{handleClick:function(t){this.addNew(t.data.id)},init:function(){var t=this,e={current:1,size:999};Object(s["d"])(e).then((function(e){var n;e.data.records?t.processArr=e.data.records:i()(n=t.processArr).call(n,0,t.list.length);t.total=e.data.total}))},getList:function(){var t=this;this.listLoading=!0,Object(s["d"])(this.listQuery).then((function(e){var n;e.data.records?t.list=e.data.records:i()(n=t.list).call(n,0,t.list.length);t.total=e.data.total,t.listLoading=!1}))},addNew:function(t){this.$router.push({name:"ProcessStorageManagementInfo",query:{id:t}})}}},h=b,y=(n("9782"),n("2877")),g=Object(y["a"])(h,r,a,!1,null,"44977cf9",null);e["default"]=g.exports}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-b04bb9b0.4056340c.js b/dist/static/js/chunk-b04bb9b0.4056340c.js new file mode 100644 index 0000000..6a7799d --- /dev/null +++ b/dist/static/js/chunk-b04bb9b0.4056340c.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b04bb9b0"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var r=a("2b0b"),o=a.n(r);Math.easeInOutQuad=function(e,t,a,r){return e/=r/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){o()(e,1e3/60)}}();function i(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function l(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(e,t,a){var r=l(),o=e-r,s=20,c=0;t="undefined"===typeof t?500:t;var d=function e(){c+=s;var l=Math.easeInOutQuad(c,r,o,t);i(l),c0,expression:"total > 0"}],attrs:{total:e.total,page:e.formData.current,limit:e.formData.size},on:{"update:page":function(t){return e.$set(e.formData,"current",t)},"update:limit":function(t){return e.$set(e.formData,"size",t)},pagination:function(t){return e.getList()}}}),e._v(" "),e.addOrUpdateVisible?a("ScrapInfo-add",{ref:"addOrUpdate",on:{refreshDataList:e.getList}}):e._e()],1)},o=[],n=(a("96cf"),a("1da1")),i=a("6b47"),l=a.n(i),s=a("3393"),c=a.n(s),d=a("b775");function u(e){return Object(d["a"])({url:"/api/wms/scrap/page",method:"post",data:e})}function m(e){return Object(d["a"])({url:"/api/wms/scrap/delete",method:"post",data:e})}function p(e){return Object(d["a"])({url:"/api/wms/scrap/update",method:"post",data:e})}function f(e){return Object(d["a"])({url:"/api/wms/scrap/create",method:"post",data:e})}function b(e){return Object(d["a"])({url:"/api/wms/scrap/findById",method:"post",data:e})}a("5530"),a("7f7f");var h=a("14b1"),v=a.n(h);function g(){return Object(d["b"])({url:"/api/wms/worker/page",method:"post",data:{current:1,size:999}}).then((function(e){var t;return 0===e.code?v()(t=e.data.records).call(t,(function(e){return{id:e.id,name:e.name,telephone:e.telephone?e.telephone:""}})):[]}))}function I(e){return Object(d["b"])({url:"/api/wms/scrap-information/page",method:"post",data:{current:1,size:999}}).then((function(e){var t;return 0===e.code?v()(t=e.data.records).call(t,(function(e){return{id:e.id,name:e.scrap}})):[]}))}var $=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e._f("i18nFilter")(e.dataForm.id?"btn.edit":"btn.add"),"close-on-click-modal":!1,visible:e.visible},on:{"update:visible":function(t){e.visible=t},close:e.onClose}},[a("el-row",{staticStyle:{padding:"0 20px"},attrs:{gutter:15}},[a("el-form",{ref:"dataForm",attrs:{model:e.dataForm,rules:e.rules,size:"medium","label-width":"150px","label-position":"right"}},[a("el-form-item",{attrs:{label:e.$t("module.basicData.ScrapInfo.updateTime"),prop:"registerTime"}},[a("el-date-picker",{style:{width:"100%"},attrs:{format:"yyyy-MM-dd",placeholder:e.$i18nForm(["placeholder.input",e.$t("module.basicData.ScrapInfo.updateTime")]),clearable:""},model:{value:e.dataForm.registerTime,callback:function(t){e.$set(e.dataForm,"registerTime",t)},expression:"dataForm.registerTime"}})],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("module.basicData.ScrapInfo.RegisterPerson"),prop:"registerPerson"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:e.$i18nForm(["placeholder.input",e.$t("module.basicData.ScrapInfo.RegisterPerson")]),clearable:""},model:{value:e.dataForm.registerPerson,callback:function(t){e.$set(e.dataForm,"registerPerson",t)},expression:"dataForm.registerPerson"}},e._l(e.dict.worker,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("module.basicData.ScrapInfo.entryType"),prop:"entryType"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:e.$i18nForm(["placeholder.input",e.$t("module.basicData.ScrapInfo.entryType")]),clearable:""},model:{value:e.dataForm.entryType,callback:function(t){e.$set(e.dataForm,"entryType",t)},expression:"dataForm.entryType"}},e._l(e.entryType,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("module.basicData.ScrapInfo.workOrderName"),prop:"workOrderId"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:e.$i18nForm(["placeholder.input",e.$t("module.basicData.ScrapInfo.workOrderName")]),clearable:""},model:{value:e.dataForm.workOrderId,callback:function(t){e.$set(e.dataForm,"workOrderId",t)},expression:"dataForm.workOrderId"}},e._l(e.dict.orderList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("module.basicData.ScrapInfo.source"),prop:"source"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:e.$i18nForm(["placeholder.input",e.$t("module.basicData.ScrapInfo.source")]),clearable:""},model:{value:e.dataForm.source,callback:function(t){e.$set(e.dataForm,"source",t)},expression:"dataForm.source"}})],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("module.basicData.ScrapInfo.PlateId"),prop:"substrateId"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:e.$i18nForm(["placeholder.input",e.$t("module.basicData.ScrapInfo.PlateId")]),clearable:""},model:{value:e.dataForm.substrateId,callback:function(t){e.$set(e.dataForm,"substrateId",t)},expression:"dataForm.substrateId"}})],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("module.basicData.ScrapInfo.name"),prop:"equipmentId"}},[a("el-select",{style:{width:"100%"},attrs:{filterable:"",placeholder:e.$i18nForm(["placeholder.input",e.$t("module.basicData.ScrapInfo.name")]),clearable:""},model:{value:e.dataForm.equipmentId,callback:function(t){e.$set(e.dataForm,"equipmentId",t)},expression:"dataForm.equipmentId"}},e._l(e.device,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("module.basicData.ScrapInfo.cause"),prop:"scrapReasonId"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:e.$i18nForm(["placeholder.input",e.$t("module.basicData.ScrapInfo.cause")]),clearable:""},model:{value:e.dataForm.scrapReasonId,callback:function(t){e.$set(e.dataForm,"scrapReasonId",t)},expression:"dataForm.scrapReasonId"}},e._l(e.dict.scrapReason,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("module.basicData.ScrapInfo.registrationPlace"),prop:"placeOfRegis"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:e.$i18nForm(["placeholder.input",e.$t("module.basicData.ScrapInfo.registrationPlace")]),clearable:""},model:{value:e.dataForm.placeOfRegis,callback:function(t){e.$set(e.dataForm,"placeOfRegis",t)},expression:"dataForm.placeOfRegis"}})],1),e._v(" "),a("el-form-item",{attrs:{label:e.$t("module.basicData.ScrapInfo.remark"),prop:"remark"}},[a("el-input",{style:{width:"100%"},attrs:{placeholder:e.$i18nForm(["placeholder.input",e.$t("module.basicData.ScrapInfo.remark")]),clearable:""},model:{value:e.dataForm.remark,callback:function(t){e.$set(e.dataForm,"remark",t)},expression:"dataForm.remark"}})],1)],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.visible=!1}}},[e._v(e._s(e._f("i18nFilter")("btn.cancel")))]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.dataFormSubmit()}}},[e._v(e._s(e._f("i18nFilter")("btn.confirm")))])],1)],1)},w=[],D=a("c1df"),F=a.n(D),k=a("9923");function y(e){return Object(d["a"])({url:"/api/wms/equipment/page",method:"post",data:e})}function S(e){return Object(d["a"])({url:"/api/wms/work/order/page",method:"post",data:e})}var O=[{value:"加工可用",label:k["a"].t("module.basicData.ScrapInfo.completeWaste")},{value:"完全废品",label:k["a"].t("module.basicData.ScrapInfo.CanBeUsedAfterProcessing")}],_=[{value:"2",label:k["a"].t("module.basicData.ScrapInfo.manual")},{value:"1",label:k["a"].t("module.basicData.ScrapInfo.automatic")}],x={data:function(){return{visible:!1,moment:F.a,dataForm:{id:0,source:void 0,registerTime:void 0,registerPerson:void 0,scrapGrade:void 0,description:void 0,substrateId:void 0,placeOfRegis:"00A",remark:void 0},wasteGradeArr:O,entryType:_,rules:{equipmentId:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.ScrapInfo.name")]),trigger:"change"}],substrateId:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.ScrapInfo.PlateId")]),trigger:"blur"}],registerPerson:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.ScrapInfo.registerPerson")]),trigger:"change"}],scrapReasonId:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.ScrapInfo.cause")]),trigger:"change"}]},dict:{worker:[],scrapReason:[],orderList:[]},device:[],tag:!1}},mounted:function(){this.getDict()},methods:{onClose:function(){this.$refs["dataForm"].resetFields()},init:function(e){var t=this;this.dataForm.id=e||"",this.visible=!0,this.$nextTick((function(){t.dataForm.id?b({id:t.dataForm.id}).then((function(e){t.dataForm=e.data})):t.dataForm.registerTime=t.moment()}))},dataFormSubmit:function(){var e=this;this.$refs["dataForm"].validate((function(t){t&&(e.dataForm.id?(console.log(e.device),p(e.dataForm).then((function(t){e.$message({message:e.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){e.visible=!1,e.$emit("refreshDataList")}})}))):f(e.dataForm).then((function(t){e.$message({message:e.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){e.visible=!1,e.$emit("refreshDataList")}})})))}))},getDict:function(){var e=Object(n["a"])(l.a.mark((function e(){var t,a,r,o;return l.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,S({current:1,size:999});case 2:return t=e.sent,console.log(t),this.dict.orderList=t.data.records,e.next=7,y({current:1,size:999});case 7:return a=e.sent,0===a.code&&(this.device=a.data.records),e.next=11,g();case 11:return r=e.sent,this.dict.worker=r,e.next=15,I();case 15:o=e.sent,this.dict.scrapReason=o;case 17:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}},T=x,P=a("2877"),R=Object(P["a"])(T,$,w,!1,null,null,null),j=R.exports,q=a("c0ee"),L=a("333d"),N=a("ebe9"),z=a("8975"),B=a("de20"),C=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],M=[{prop:"substrateId",label:k["a"].t("module.basicData.ScrapInfo.PlateId"),align:"center"},{prop:"workOrderName",label:k["a"].t("module.basicData.ScrapInfo.workOrderName"),align:"center"},{prop:"equipmentName",label:k["a"].t("module.basicData.ScrapInfo.name"),align:"center"},{prop:"registerPersonName",label:k["a"].t("module.basicData.ScrapInfo.RegisterPerson"),align:"center"},{prop:"updateTime",label:k["a"].t("module.basicData.ScrapInfo.updateTime"),filter:z["timeFormatter"],align:"center"},{prop:"placeOfRegis",label:k["a"].t("module.basicData.ScrapInfo.registrationPlace"),align:"center"},{prop:"scrapReason",label:k["a"].t("module.basicData.ScrapInfo.cause"),align:"center"}],A={name:"ScrapInfo",components:{Pagination:L["a"],BaseTable:q["a"],MethodBtn:N["a"],ScrapInfoAdd:j},data:function(){return{addOrUpdateVisible:!1,tableBtn:C,trueWidth:200,tableProps:M,list:[],total:0,listLoading:!0,formData:{timeSlot:null,substrateId:"",workOrderId:"",equipmentId:"",current:1,size:10,id:""},listQuery:{current:1,size:10},dict:{scrap:[]},orderList:[],device:[]}},created:function(){this.getDict(),this.getList()},methods:{handleClick:function(e){var t=this;"delete"===e.type?this.$confirm(k["a"].t("deleteMsgBox.content"),k["a"].t("deleteMsgBox.hint"),{confirmButtonText:k["a"].t("btn.confirm"),cancelButtonText:k["a"].t("btn.cancel"),type:"warning"}).then((function(){m({id:e.data.id}).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.getList()}})}))}))["catch"]((function(){})):this.addNew(e.data.id)},getList:function(){var e=this;this.listLoading=!0,this.formData.timeSlot?(this.formData.startTime=this.formData.timeSlot[0],this.formData.endTime=this.formData.timeSlot[1]):(this.formData.startTime="",this.formData.endTime=""),u(this.formData).then((function(t){var a;t.data.records?(e.list=t.data.records,console.log(e.list)):c()(a=e.list).call(a,0,e.list.length);e.total=t.data.total,e.listLoading=!1}))},getDict:function(){var e=Object(n["a"])(l.a.mark((function e(){var t,a,r;return l.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,y({current:1,size:999});case 2:return t=e.sent,0===t.code&&(this.device=t.data.records),e.next=6,Object(B["d"])({current:1,size:999});case 6:return a=e.sent,0===a.code&&(this.orderList=a.data.records),e.next=10,I();case 10:r=e.sent,this.dict.scrap=r;case 12:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),addNew:function(e){var t=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){t.$refs.addOrUpdate.init(e)}))}}},U=A,E=(a("fd8c"),Object(P["a"])(U,r,o,!1,null,"5a807358",null));t["default"]=E.exports},de20:function(e,t,a){"use strict";a.d(t,"d",(function(){return o})),a.d(t,"e",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"b",(function(){return l})),a.d(t,"a",(function(){return s}));var r=a("b775");function o(e){return Object(r["a"])({url:"/api/wms/work/order/page",method:"post",data:e})}function n(e){return Object(r["a"])({url:"/api/wms/work/order/update",method:"post",data:e})}function i(e){var t={id:e};return Object(r["a"])({url:"/api/wms/work/order/get",method:"post",data:t})}function l(e){return Object(r["a"])({url:"/api/wms/work/order/execute/page",method:"post",data:e})}function s(e){var t={id:e};return Object(r["a"])({url:"/api/wms/work/order/execute/get",method:"post",data:t})}},fd8c:function(e,t,a){"use strict";a("1bc2")}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-c182234c.06aef4fe.js b/dist/static/js/chunk-c182234c.06aef4fe.js new file mode 100644 index 0000000..fb1b699 --- /dev/null +++ b/dist/static/js/chunk-c182234c.06aef4fe.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c182234c"],{"0cc4":function(t,e,s){"use strict";s("d563")},"5a6c":function(t,e,s){"use strict";s.d(e,"c",(function(){return i})),s.d(e,"b",(function(){return n})),s.d(e,"d",(function(){return r})),s.d(e,"a",(function(){return o})),s.d(e,"e",(function(){return u}));var a=s("b775");function i(t){return Object(a["a"])({url:"/api/report/report-storage-box/list",method:"post",data:t})}function n(t){return Object(a["a"])({url:"/api/report/report-storage-box/excel-download",method:"post",data:t,responseType:"blob",timeout:6e4})}function r(t){return Object(a["a"])({url:"/api/report/report-substrate/list",method:"post",data:t})}function o(t){return Object(a["a"])({url:"/api/report/report-substrate/delete",method:"post",data:t})}function u(t){return Object(a["a"])({url:"/api/report/report-substrate/update",method:"post",data:t})}},"5fd4":function(t,e,s){"use strict";s.d(e,"b",(function(){return i})),s.d(e,"a",(function(){return n}));var a=s("b775");function i(t){return Object(a["a"])({url:"/api/wms/location/shelfList",method:"post",data:t})}function n(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/getByLocationId",method:"post",data:{id:t}})}},9406:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"dashboard-container"},[s("el-card",{staticClass:"dashboard-main"},[s("el-row",{staticClass:"dashboard-title"},[s("div",{staticClass:"dashboard-header-line"}),t._v(" "),s("div",{staticClass:"dashboard-header-title"},[t._v(t._s(t.$t("module.dashboard.title")))])]),t._v(" "),s("el-row",{staticClass:"dashboard-legend"},[t._l(t.cassetteStatusList,(function(e){return s("div",{key:"cassette"+e.id,staticClass:"dashboard-legend-cassette"},[s("div",{staticClass:"dashboard-legend-cassette-cricle",style:{background:e.color}}),t._v("\n "+t._s(e.name)+"\n ")])})),t._v("\n |\n "),t._l(t.portAttributeList,(function(e){return s("div",{key:"port"+e.id,staticClass:"dashboard-legend-port",style:{background:e.color}},[t._v("\n "+t._s(e.name)+"\n ")])})),t._v(" "),s("div",{staticClass:"dashboard-legend-search"},[s("el-select",{attrs:{size:"mini"},on:{change:t.handleChange},model:{value:t.current,callback:function(e){t.current=e},expression:"current"}},t._l(t.totalPage,(function(e){return s("el-option",{key:"select"+e,attrs:{label:t.$t("module.dashboard.pageHeader")+e+t.$t("module.dashboard.pageFooter"),value:e}})})),1),t._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:t.refresh}},[t._v(t._s(t._f("i18nFilter")("btn.refresh")))])],1)],2),t._v(" "),80*t.current0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),t._v(" "),t.addOrUpdateVisible?a("Factory-add",{ref:"addOrUpdate",on:{refreshDataList:t.getList}}):t._e()],1)},i=[],r=a("a3e3"),n=a.n(r),s=a("3393"),c=a.n(s),l=a("fe12"),u=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t._f("i18nFilter")(t.dataForm.id?"btn.edit":"btn.add"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.LocationName"),prop:"currLocationId"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.Warehouse.LocationName")]),clearable:"",filterable:""},on:{change:t.selectGetLabel1},model:{value:t.dataForm.currLocationId,callback:function(e){t.$set(t.dataForm,"currLocationId",e)},expression:"dataForm.currLocationId"}},t._l(t.LocationList,(function(t,e){return a("el-option",{key:e,attrs:{label:t.locationName,value:t.id}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.StorageBoxNumber"),prop:"storageBoxId"}},[a("el-select",{style:{width:"100%"},attrs:{placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.Warehouse.StorageBoxNumber")]),clearable:"",filterable:""},on:{change:t.selectGetLabel2},model:{value:t.dataForm.storageBoxId,callback:function(e){t.$set(t.dataForm,"storageBoxId",e)},expression:"dataForm.storageBoxId"}},t._l(t.storageBoxList,(function(t,e){return a("el-option",{key:e,attrs:{label:t.code,value:t.id}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.BoxStatus"),prop:"status"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#AAAAAA"},model:{value:t.dataForm.status,callback:function(e){t.$set(t.dataForm,"status",e)},expression:"dataForm.status"}})],1),t._v(" "),a("el-form-item",{attrs:{label:t.$t("module.basicData.Warehouse.IsEmptyBox"),prop:"isEmpty"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-color":"#13ce66","inactive-color":"#AAAAAA"},model:{value:t.dataForm.isEmpty,callback:function(e){t.$set(t.dataForm,"isEmpty",e)},expression:"dataForm.isEmpty"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.dataFormSubmit()}}},[t._v(t._s(t._f("i18nFilter")("btn.confirm")))])],1)],1)},d=[],m=a("fc56"),f=a.n(m),b={data:function(){return{visible:!1,dataForm:{id:0,code:"",locationName:"",currLocationId:"",storageBoxId:"",status:"",isEmpty:""},LocationList:[],storageBoxList:[],dataRule:{currLocationId:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.Warehouse.LocationName")]),trigger:"blur"}],storageBoxId:[{required:!0,message:this.$i18nForm(["placeholder.input",this.$t("module.basicData.Warehouse.StorageBoxNumber")]),trigger:"blur"}]}}},methods:{init:function(t){var e=this;this.dataForm.id=t||"",this.visible=!0;var a={current:1,size:100};Object(l["j"])(a).then((function(t){e.LocationList=t.data})),Object(l["c"])(a).then((function(t){e.storageBoxList=t.data.records})),this.$nextTick((function(){e.$refs["dataForm"].resetFields(),e.dataForm.id&&Object(l["e"])(e.dataForm.id).then((function(t){e.dataForm=t.data}))}))},selectGetLabel1:function(t){var e,a={};a=f()(e=this.LocationList).call(e,(function(e){return e.id===t})),this.dataForm.locationName=a.locationName},selectGetLabel2:function(t){var e,a={};a=f()(e=this.storageBoxList).call(e,(function(e){return e.id===t})),this.dataForm.code=a.code},dataFormSubmit:function(){var t=this;this.$refs["dataForm"].validate((function(e){if(e){var a=t.dataForm;t.dataForm.id?Object(l["g"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})})):Object(l["b"])(a).then((function(e){t.$message({message:t.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}})}))}}))}}},p=b,h=a("2877"),v=Object(h["a"])(p,u,d,!1,null,null,null),g=v.exports,y=a("c0ee"),L=a("333d"),x=a("ebe9"),F=a("8975"),$=a("cac5"),B=a("9923"),O=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],w=[{prop:"createTime",label:B["a"].t("module.basicData.factory.createTime"),filter:F["timeFormatter"],align:"center"},{prop:"code",label:B["a"].t("module.basicData.Warehouse.StorageBoxNumber"),align:"center"},{prop:"status",label:B["a"].t("module.basicData.Warehouse.BoxStatus"),filter:Object($["a"])("enableState"),align:"center"},{prop:"currLocation",label:B["a"].t("module.basicData.Warehouse.LocationName"),align:"center"},{prop:"currLocationName",label:B["a"].t("module.basicData.Warehouse.LocationCode"),align:"center"},{prop:"isEmpty",label:B["a"].t("module.basicData.Warehouse.IsEmptyBox"),filter:Object($["a"])("yesOrNo"),align:"center"}],_={name:"StorageBoxInfo",components:{Pagination:L["a"],BaseTable:y["a"],MethodBtn:x["a"],FactoryAdd:g},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{keyName:B["a"].t("module.basicData.Warehouse.StorageBoxNumber"),placeholderName:this.$t("module.basicData.Warehouse.StorageBoxNumber"),addOrUpdateVisible:!1,tableBtn:O,trueWidth:200,tableProps:w,list:[],total:0,LocationList:[],storageBoxList:[],listLoading:!0,listQuery:{current:1,size:10,storageBoxId:"",currLocationId:""}}},created:function(){var t=this;this.getList();var e={current:1,size:100};Object(l["j"])(e).then((function(e){t.LocationList=e.data})),Object(l["c"])(e).then((function(e){t.storageBoxList=e.data.records}))},methods:{handleClick:function(t){var e,a=this;(console.log(t),"delete"===t.type)?this.$confirm(n()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.code,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(l["d"])(t.data.id).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getList()}})}))}))["catch"]((function(){})):this.addNew(t.data.id)},getList:function(){var t=this;this.listLoading=!0,Object(l["f"])(this.listQuery).then((function(e){var a;e.data.records?t.list=e.data.records:c()(a=t.list).call(a,0,t.list.length);t.total=e.data.total,t.listLoading=!1}))},addNew:function(t){var e=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){e.$refs.addOrUpdate.init(t)}))}}},k=_,D=(a("7975"),Object(h["a"])(k,o,i,!1,null,"be3f5ace",null));e["default"]=D.exports},bdf4:function(t,e,a){"use strict";var o=a("a5eb"),i=a("dee0").find,r=a("c44e"),n="find",s=!0;n in[]&&Array(1)[n]((function(){s=!1})),o({target:"Array",proto:!0,forced:s},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)},bf5f:function(t,e,a){},cac5:function(t,e,a){"use strict";var o=a("9923"),i={yesOrNo:{0:o["a"].t("baseDict.yesOrNo.no"),1:o["a"].t("baseDict.yesOrNo.yes")},enableState:{0:o["a"].t("basicDataFilter.enableState.disable"),1:o["a"].t("basicDataFilter.enableState.enable")}};e["a"]=function(t){return function(e){var a;return null===i||void 0===i||null===(a=i[t])||void 0===a?void 0:a[e]}}},fc56:function(t,e,a){t.exports=a("2b1b")},fe12:function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"f",(function(){return r})),a.d(e,"j",(function(){return n})),a.d(e,"e",(function(){return s})),a.d(e,"g",(function(){return c})),a.d(e,"b",(function(){return l})),a.d(e,"c",(function(){return u})),a.d(e,"d",(function(){return d})),a.d(e,"h",(function(){return m})),a.d(e,"i",(function(){return f}));var o=a("b775");function i(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/his/page/by/code",method:"post",data:t})}function r(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/page/for/bind",method:"post",data:t})}function n(t){return Object(o["a"])({url:"/api/wms/location/list",method:"post",data:t})}function s(t){var e={id:t};return Object(o["a"])({url:"/api/wms/storage/box/circ/info/get",method:"post",data:e})}function c(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/update",method:"post",data:t})}function l(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/add",method:"post",data:t})}function u(t){return Object(o["a"])({url:"/api/wms/storagebox/page",method:"post",data:t})}function d(t){return Object(o["a"])({url:"/api/wms/storage/box/circ/info/delete",method:"post",data:{id:t}})}function m(t){return Object(o["a"])({url:"/api/wms/processlocation/batchList",method:"post",data:t})}function f(t){return Object(o["a"])({url:"/api/wms/processlocation/locationByProcess",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-c81a1604.61c4f872.js b/dist/static/js/chunk-c81a1604.61c4f872.js new file mode 100644 index 0000000..36123a4 --- /dev/null +++ b/dist/static/js/chunk-c81a1604.61c4f872.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c81a1604"],{"09f4":function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var a=n("2b0b"),r=n.n(a);Math.easeInOutQuad=function(t,e,n,a){return t/=a/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){r()(t,1e3/60)}}();function o(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function u(t,e,n){var a=s(),r=t-a,u=20,d=0;e="undefined"===typeof e?500:e;var c=function t(){d+=u;var s=Math.easeInOutQuad(d,a,r,e);o(s),d1&&void 0!==arguments[1]?arguments[1]:function(e){return e};return t(e)}},props:{tableData:{type:Array,required:!0,validator:function(e){return 0===l()(e).call(e,(function(e){return!Object(m["isObject"])(e)})).length}},tableConfig:{type:Array,required:!0,validator:function(e){return 0===l()(e).call(e,(function(e){return!Object(m["isString"])(e.prop)||!Object(m["isString"])(e.label)})).length}},isLoading:{type:Boolean,required:!1},page:{type:Number,required:!1,default:0},limit:{type:Number,required:!1,default:0}},data:function(){var e;return{tableConfigBak:[],selectedBox:u()(e=new Array(20)).call(e,!0)}},computed:{renderData:function(){var e,t=this;return d()(e=this.tableData).call(e,(function(e,a){return Object(i["a"])(Object(i["a"])({},e),{},{_pageIndex:(t.page-1)*t.limit+a+1})}))},renderTableHeadList:function(){var e,t=this;return l()(e=this.tableConfig).call(e,(function(e,a){return t.selectedBox[a]}))}},beforeMount:function(){var e;this.selectedBox=u()(e=new Array(20)).call(e,!0)},methods:{emitData:function(e){this.$emit("emitFun",e)}}},f=p,h=(a("9305"),a("2877")),g=Object(h["a"])(f,n,r,!1,null,null,null);t["a"]=g.exports},ebe9:function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.methodList.length>0?a("el-table-column",{attrs:{slot:"handleBtn",prop:"operation",label:e._f("i18nFilter")("tableHeader.operation"),width:e.trueWidth,align:"center",fixed:!!e.isFixed&&"right"},slot:"handleBtn",scopedSlots:e._u([{key:"default",fn:function(t){return e._l(e.methodList,(function(n,r){return a("span",{key:"btn"+r},[a("el-button",{directives:[{name:"show",rawName:"v-show",value:!n.showParam||("unequal"===n.showParam.type?t.row[n.showParam.name]!==n.showParam.value:"equal"===n.showParam.type?t.row[n.showParam.name]===n.showParam.value:"more"===n.showParam.type?t.row[n.showParam.name]>n.showParam.value:"less"===n.showParam.type?t.row[n.showParam.name]=0),expression:"item.showParam ? (item.showParam.type === 'unequal' ?\n scope.row[item.showParam.name] !== item.showParam.value : item.showParam.type === 'equal' ?\n scope.row[item.showParam.name] === item.showParam.value : item.showParam.type === 'more' ?\n scope.row[item.showParam.name] > item.showParam.value : item.showParam.type === 'less' ?\n scope.row[item.showParam.name] < item.showParam.value : item.showParam.type === 'indexof' ?\n item.showParam.value.indexof(scope.row[item.showParam.name]) >= 0 : false\n ) : true"}],staticStyle:{"font-size":"14px"},style:{color:"delete"===n.type?"#D40000":"#1990FF"},attrs:{type:"text",size:"mini"},on:{click:function(a){return e.clickButton({data:t.row,type:n.type})}}},[e._v(e._s(e._f("i18nFilter")(n.btnName)))]),e._v(" "),r0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.current,limit:t.listQuery.size},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}})],1)},n=[],o=(a("7f7f"),a("a3e3")),r=a.n(o),l=a("3393"),s=a.n(l),u=a("9923"),c=a("6d16"),d=a("bb1e"),m=a("c0ee"),p=a("333d"),b=a("ebe9"),f=a("8975"),h=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"},{type:"detail",btnName:"btn.detail"}],g=[{prop:"createTime",label:u["a"].t("module.basicData.factory.createTime"),filter:f["timeFormatter"],align:"center"},{prop:"name",label:u["a"].t("module.basicData.material.MaterialName"),align:"center"},{prop:"code",label:u["a"].t("module.basicData.material.MaterialCoding"),align:"center"},{prop:"enName",label:u["a"].t("module.basicData.visual.EnglishName"),align:"center"},{prop:"abbr",label:u["a"].t("module.basicData.visual.Abbreviation"),align:"center"},{prop:"category",label:u["a"].t("module.basicData.material.MaterialType"),align:"center"},{prop:"description",label:u["a"].t("module.basicData.visual.Description"),align:"center"},{prop:"remark",label:u["a"].t("module.basicData.visual.Remarks"),align:"center"}],y={name:"Material",components:{Pagination:p["a"],BaseTable:m["a"],MethodBtn:b["a"],HeadForm:d["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{keyName:u["a"].t("module.basicData.visual.keyword"),placeholderName:this.$t("module.basicData.material.MaterialName")+this.$t("module.basicData.visual.Or")+this.$t("module.basicData.material.MaterialCoding"),tableBtn:h,trueWidth:240,tableProps:g,list:[],total:0,listLoading:!0,listQuery:{current:1,size:10}}},created:function(){this.getList()},methods:{handleClick:function(t){var e,a=this;(console.log(t),"delete"===t.type)?this.$confirm(r()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.name,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(c["c"])(t.data.id).then((function(t){a.$message({message:a.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){a.getList()}})}))}))["catch"]((function(){})):"edit"===t.type?this.addNew(t.data.id):this.addNew(t.data.id,!0)},getList:function(t){var e=this;this.listLoading=!0,this.listQuery.name=t,this.listQuery.code=t,console.log(this.listQuery),Object(c["e"])(this.listQuery).then((function(t){var a;t.data.records?e.list=t.data.records:s()(a=e.list).call(a,0,e.list.length);e.total=t.data.total,e.listLoading=!1}))},addNew:function(t,e){this.$router.push({name:"MaterialAdd",query:{id:t,isdetail:e}})}}},v=y,w=(a("5657"),a("2877")),D=Object(w["a"])(v,i,n,!1,null,"87371a6e",null);e["default"]=D.exports},2:function(t,e){},2053:function(t,e,a){},5657:function(t,e,a){"use strict";a("2053")},"6d16":function(t,e,a){"use strict";a.d(e,"e",(function(){return n})),a.d(e,"d",(function(){return o})),a.d(e,"f",(function(){return r})),a.d(e,"a",(function(){return l})),a.d(e,"b",(function(){return s})),a.d(e,"c",(function(){return u}));var i=a("b775");function n(t){return Object(i["a"])({url:"/api/wms/material/page",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/api/wms/material/get",method:"post",data:{id:t}})}function r(t){return Object(i["a"])({url:"/api/wms/material/update",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/api/wms/material/add",method:"post",data:t})}function s(){return Object(i["a"])({url:"/api/wms/material/get-code",method:"post"})}function u(t){return Object(i["a"])({url:"/api/wms/material/delete",method:"post",data:{id:t}})}}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-ee59210a.e8b98629.js b/dist/static/js/chunk-ee59210a.e8b98629.js new file mode 100644 index 0000000..fd9257a --- /dev/null +++ b/dist/static/js/chunk-ee59210a.e8b98629.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ee59210a"],{"16c3":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticStyle:{margin:"10px 50px"}},[n("el-button",{attrs:{type:"success"},on:{click:function(e){return t.goback()}}},[t._v(t._s(t._f("i18nFilter")("btn.back")))]),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.addNew()}}},[t._v(t._s(t._f("i18nFilter")("btn.add")))])],1),t._v(" "),n("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-config":t.tableProps,"table-data":t.list,"is-loading":t.listLoading}})],1)},i=[],o=(n("7f7f"),n("a3e3")),r=n.n(o),c=n("3393"),s=n.n(c),u=n("fe12"),l=n("9923"),d=n("c0ee"),f=[{prop:"code",label:l["a"].t("module.basicData.cache.LocationCode"),align:"center"},{prop:"locationName",label:l["a"].t("module.basicData.cache.LocationName"),align:"center"}],p={name:"Shelf",components:{BaseTable:d["a"]},filters:{statusFilter:function(t){var e={published:"success",draft:"info",deleted:"danger"};return e[t]}},data:function(){return{trueWidth:200,tableProps:f,list:[],listLoading:!0,listQuery:{current:1,size:990,workSequenId:""}}},created:function(){this.listQuery.workSequenId=this.$route.query.id,this.getList()},methods:{handleClick:function(t){var e;"delete"===t.type&&this.$confirm(r()(e="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(e,t.data.name,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){}))["catch"]((function(){}))},getList:function(){var t=this;this.listLoading=!0,Object(u["i"])(this.listQuery).then((function(e){var n;e.data.records?t.list=e.data.records:s()(n=t.list).call(n,0,t.list.length);t.listLoading=!1}))},addNew:function(){this.$router.push({name:"ProcessStorageLink",query:{id:this.listQuery.workSequenId}})},goback:function(){this.$router.go(-1)}}},b=p,h=(n("f7eb"),n("2877")),m=Object(h["a"])(b,a,i,!1,null,"417a3860",null);e["default"]=m.exports},6664:function(t,e,n){},f7eb:function(t,e,n){"use strict";n("6664")},fe12:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"f",(function(){return o})),n.d(e,"j",(function(){return r})),n.d(e,"e",(function(){return c})),n.d(e,"g",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return d})),n.d(e,"h",(function(){return f})),n.d(e,"i",(function(){return p}));var a=n("b775");function i(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/his/page/by/code",method:"post",data:t})}function o(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/page/for/bind",method:"post",data:t})}function r(t){return Object(a["a"])({url:"/api/wms/location/list",method:"post",data:t})}function c(t){var e={id:t};return Object(a["a"])({url:"/api/wms/storage/box/circ/info/get",method:"post",data:e})}function s(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/update",method:"post",data:t})}function u(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/add",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/api/wms/storagebox/page",method:"post",data:t})}function d(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/delete",method:"post",data:{id:t}})}function f(t){return Object(a["a"])({url:"/api/wms/processlocation/batchList",method:"post",data:t})}function p(t){return Object(a["a"])({url:"/api/wms/processlocation/locationByProcess",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/static/js/chunk-ff677954.a3813890.js b/dist/static/js/chunk-ff677954.a3813890.js new file mode 100644 index 0000000..3555732 --- /dev/null +++ b/dist/static/js/chunk-ff677954.a3813890.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ff677954"],{"09f4":function(t,a,e){"use strict";e.d(a,"a",(function(){return u}));var i=e("2b0b"),r=e.n(i);Math.easeInOutQuad=function(t,a,e,i){return t/=i/2,t<1?e/2*t*t+a:(t--,-e/2*(t*(t-2)-1)+a)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){r()(t,1e3/60)}}();function o(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function u(t,a,e){var i=s(),r=t-i,u=20,c=0;a="undefined"===typeof a?500:a;var l=function t(){c+=u;var s=Math.easeInOutQuad(c,i,r,a);o(s),c0,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()}}})],1)},r=[],n=e("a3e3"),o=e.n(n),s=e("3393"),u=e.n(s),c=e("9923"),l=e("bb1e"),d=e("c0ee"),b=e("333d"),m=e("ebe9"),p=e("a19e"),f=e("8975"),g=e("546f"),h=[{type:"edit",btnName:"btn.edit"},{type:"delete",btnName:"btn.delete"}],D=[{prop:"createTime",label:c["a"].t("module.basicData.factory.createTime"),filter:f["timeFormatter"],align:"center"},{prop:"storageBoxName",label:c["a"].t("module.basicData.storageBox.name"),align:"center"},{prop:"code",label:c["a"].t("module.basicData.storageBox.code"),align:"center"},{prop:"enName",label:c["a"].t("module.basicData.visual.EnglishName"),align:"center"},{prop:"status",label:c["a"].t("module.basicData.storageBox.status"),filter:Object(g["a"])("storage"),align:"center"},{prop:"note",label:c["a"].t("module.basicData.storageBox.remark"),align:"center"}],w={name:"Area",components:{Pagination:b["a"],BaseTable:d["a"],MethodBtn:m["a"],HeadForm:l["a"]},filters:{statusFilter:function(t){var a={published:"success",draft:"info",deleted:"danger"};return a[t]}},data:function(){return{addOrUpdateVisible:!1,keyName:c["a"].t("module.basicData.visual.keyword"),placeholderName:this.$t("module.basicData.storageBox.name")+this.$t("module.basicData.visual.Or")+this.$t("module.basicData.storageBox.code"),tableBtn:h,trueWidth:200,tableProps:D,list:[],areaList:[],total:0,listLoading:!0,listQuery:{current:1,size:10}}},created:function(){this.getList()},methods:{handleClick:function(t){var a,e=this;"delete"===t.type?this.$confirm(o()(a="".concat(this.$t("module.basicData.visual.TipsBefore"),"[")).call(a,t.data.storageBoxName,"]?"),this.$t("module.basicData.visual.Tips"),{confirmButtonText:this.$t("module.basicData.visual.confirmButtonText"),cancelButtonText:this.$t("module.basicData.visual.cancelButtonText"),type:"warning"}).then((function(){Object(p["e"])(t.data.id).then((function(t){e.$message({message:e.$t("module.basicData.visual.success"),type:"success",duration:1500,onClose:function(){e.getList()}})}))}))["catch"]((function(){})):"edit"===t.type?this.addNew(t.data.id):this.addNew(t.data.id,!0)},getList:function(t){var a=this;this.listLoading=!0,this.listQuery.storageBoxName=t,Object(p["g"])(this.listQuery).then((function(t){var e;t.data.records?a.list=t.data.records:u()(e=a.list).call(e,0,a.list.length);a.total=t.data.total,a.listLoading=!1}))},addNew:function(t){var a=this;this.addOrUpdateVisible=!0,this.$nextTick((function(){a.$refs.addOrUpdate.init(t,!0)}))}}},y=w,v=(e("84ea"),e("2877")),F=Object(v["a"])(y,i,r,!1,null,"16271d56",null);a["default"]=F.exports}}]); \ No newline at end of file