diff --git a/dist/css/2407.1f6aa78f.css b/dist/css/2407.1f6aa78f.css new file mode 100644 index 0000000..a6ff9e0 --- /dev/null +++ b/dist/css/2407.1f6aa78f.css @@ -0,0 +1 @@ +@media screen and (max-width:2104px){.searchStyle[data-v-018c1e50]{width:1000px}}@media screen and (min-width:2105px){.searchStyle[data-v-018c1e50]{width:100%}} \ No newline at end of file diff --git a/dist/css/2581.fa424ad2.css b/dist/css/2581.fa424ad2.css new file mode 100644 index 0000000..6c937be --- /dev/null +++ b/dist/css/2581.fa424ad2.css @@ -0,0 +1 @@ +.tableInner .el-input__inner{border:none;padding:0;height:33px}.samplingAdd .form-box[data-v-2adb9530]{height:100%;padding:0 32px;position:relative}.samplingAdd .form-box .first-line[data-v-2adb9530]{border-bottom:1px solid #e9e9e9;margin-bottom:23px}.samplingAdd .bottom[data-v-2adb9530]{position:absolute;bottom:0;right:32px}.standardSetting .form-box[data-v-fbc9d82a]{height:100%;padding:0 32px;position:relative}.standardSetting .bottom[data-v-fbc9d82a]{position:absolute;bottom:0;right:32px} \ No newline at end of file diff --git a/dist/css/299.450cca55.css b/dist/css/299.450cca55.css new file mode 100644 index 0000000..9f3fa74 --- /dev/null +++ b/dist/css/299.450cca55.css @@ -0,0 +1 @@ +.box[data-v-6ad9120b]{padding:0 32px} \ No newline at end of file diff --git a/dist/css/4941.cb8dd88e.css b/dist/css/4941.cb8dd88e.css deleted file mode 100644 index 1a2cd89..0000000 --- a/dist/css/4941.cb8dd88e.css +++ /dev/null @@ -1 +0,0 @@ -.finalInspectionData[data-v-1932e535]{width:100%}.finalInspectionData .box-top[data-v-1932e535]{width:100%;padding:8px 16px 0}.finalInspectionData .box-top .search-box[data-v-1932e535]{height:62px;padding:10px 16px;box-sizing:border-box;border-radius:8px;background-color:#fff}.finalInspectionData .box[data-v-1932e535]{width:100%;padding:8px 8px 0 16px}.finalInspectionData .box .left-box[data-v-1932e535],.finalInspectionData .box .right-box[data-v-1932e535]{height:calc(100vh - 220px);padding:16px;border-radius:8px;background-color:#fff}.finalInspectionData .box .left-box .table-box[data-v-1932e535],.finalInspectionData .box .right-box .table-box[data-v-1932e535]{margin-top:16px;height:calc(100vh - 290px);overflow:auto}.finalInspectionData .box .left-box .table-button[data-v-1932e535]{display:inline-block;height:30px;width:100%;text-align:center;padding-top:4px;margin-bottom:16px;font-size:14px;color:#0b58ff;border-radius:4px;border:1px dotted #0b58ff;cursor:pointer}.finalInspectionData .box .right-box .title[data-v-1932e535]:before{content:"";display:inline-block;width:4px;height:16px;background:#0b58ff;border-radius:1px;margin-right:8px;vertical-align:middle} \ No newline at end of file diff --git a/dist/css/4329.dee1a347.css b/dist/css/5304.95c8a4ad.css similarity index 80% rename from dist/css/4329.dee1a347.css rename to dist/css/5304.95c8a4ad.css index fb4875b..23e68af 100644 --- a/dist/css/4329.dee1a347.css +++ b/dist/css/5304.95c8a4ad.css @@ -1 +1 @@ -.device-add .device-uploader{width:178px;height:178px;display:block}.device-add .device-uploader .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.device-add .device-uploader .el-upload:hover{border-color:#409eff}.device-add .device-uploader .avatar-uploader-icon{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.img-box[data-v-170526ff]{border:1px dashed #d9d9d9}.img-box .avatar[data-v-170526ff]{width:100%;cursor:pointer}.img-box .avatar-close-icon[data-v-170526ff]{font-size:24px;position:absolute;right:-10px;top:-10px;cursor:pointer}.main-box[data-v-50aec75c]{width:100%;padding:0 6px 0 16px}.main-box .left-box[data-v-50aec75c],.main-box .right-box[data-v-50aec75c]{border-radius:8px;background-color:#fff;overflow-y:auto;height:calc(100vh - 147px);margin-top:8px}.main-box .left-box[data-v-50aec75c]{padding:16px 0 0}.main-box .right-box[data-v-50aec75c]{padding:16px 10px 0} \ No newline at end of file +.device-add .device-uploader{width:178px;height:178px;display:block}.device-add .device-uploader .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.device-add .device-uploader .el-upload:hover{border-color:#409eff}.device-add .device-uploader .avatar-uploader-icon{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.img-box[data-v-0a02c89e]{border:1px dashed #d9d9d9}.img-box .avatar[data-v-0a02c89e]{width:100%;cursor:pointer}.img-box .avatar-close-icon[data-v-0a02c89e]{font-size:24px;position:absolute;right:-10px;top:-10px;cursor:pointer}.main-box[data-v-50aec75c]{width:100%;padding:0 6px 0 16px}.main-box .left-box[data-v-50aec75c],.main-box .right-box[data-v-50aec75c]{border-radius:8px;background-color:#fff;overflow-y:auto;height:calc(100vh - 147px);margin-top:8px}.main-box .left-box[data-v-50aec75c]{padding:16px 0 0}.main-box .right-box[data-v-50aec75c]{padding:16px 10px 0} \ No newline at end of file diff --git a/dist/css/8865.c4e5dd1b.css b/dist/css/5705.c4e5dd1b.css similarity index 100% rename from dist/css/8865.c4e5dd1b.css rename to dist/css/5705.c4e5dd1b.css diff --git a/dist/css/2948.a65c814e.css b/dist/css/5886.a65c814e.css similarity index 100% rename from dist/css/2948.a65c814e.css rename to dist/css/5886.a65c814e.css diff --git a/dist/css/6234.3ff852d9.css b/dist/css/6234.3ff852d9.css new file mode 100644 index 0000000..df2e121 --- /dev/null +++ b/dist/css/6234.3ff852d9.css @@ -0,0 +1 @@ +.finalInspectionData[data-v-6863655e]{width:100%}.finalInspectionData .box-top[data-v-6863655e]{width:100%;padding:8px 16px 0}.finalInspectionData .box-top .search-box[data-v-6863655e]{height:62px;padding:10px 16px;box-sizing:border-box;border-radius:8px;background-color:#fff}.finalInspectionData .box[data-v-6863655e]{width:100%;padding:8px 8px 0 16px}.finalInspectionData .box .left-box[data-v-6863655e],.finalInspectionData .box .right-box[data-v-6863655e]{height:calc(100vh - 220px);padding:16px;border-radius:8px;background-color:#fff}.finalInspectionData .box .left-box .table-box[data-v-6863655e],.finalInspectionData .box .right-box .table-box[data-v-6863655e]{margin-top:16px;height:calc(100vh - 290px);overflow:auto}.finalInspectionData .box .left-box .table-button[data-v-6863655e]{display:inline-block;height:30px;width:100%;text-align:center;padding-top:4px;margin-bottom:16px;font-size:14px;color:#0b58ff;border-radius:4px;border:1px dotted #0b58ff;cursor:pointer}.finalInspectionData .box .right-box .title[data-v-6863655e]:before{content:"";display:inline-block;width:4px;height:16px;background:#0b58ff;border-radius:1px;margin-right:8px;vertical-align:middle} \ No newline at end of file diff --git a/dist/css/640.056a6a05.css b/dist/css/640.056a6a05.css deleted file mode 100644 index 0a3d0fe..0000000 --- a/dist/css/640.056a6a05.css +++ /dev/null @@ -1 +0,0 @@ -.tableInner .el-input__inner{border:none;padding:0;height:33px}.samplingAdd .form-box[data-v-7b3115e1]{height:100%;padding:0 32px;position:relative}.samplingAdd .form-box .first-line[data-v-7b3115e1]{border-bottom:1px solid #e9e9e9;margin-bottom:23px}.samplingAdd .bottom[data-v-7b3115e1]{position:absolute;bottom:0;right:32px}.standardSetting .form-box[data-v-fbc9d82a]{height:100%;padding:0 32px;position:relative}.standardSetting .bottom[data-v-fbc9d82a]{position:absolute;bottom:0;right:32px} \ No newline at end of file diff --git a/dist/css/6781.770b0df0.css b/dist/css/6781.770b0df0.css deleted file mode 100644 index c1889b5..0000000 --- a/dist/css/6781.770b0df0.css +++ /dev/null @@ -1 +0,0 @@ -@media screen and (max-width:2104px){.searchStyle[data-v-09b450c4]{width:1000px}}@media screen and (min-width:2105px){.searchStyle[data-v-09b450c4]{width:100%}} \ No newline at end of file diff --git a/dist/css/7802.25e37ece.css b/dist/css/7802.25e37ece.css deleted file mode 100644 index 7833930..0000000 --- a/dist/css/7802.25e37ece.css +++ /dev/null @@ -1 +0,0 @@ -.box[data-v-0592f1fa]{padding:0 32px} \ No newline at end of file diff --git a/dist/css/6746.2b3c2c89.css b/dist/css/8017.2b3c2c89.css similarity index 100% rename from dist/css/6746.2b3c2c89.css rename to dist/css/8017.2b3c2c89.css diff --git a/dist/index.html b/dist/index.html index 050f96e..1fe12c3 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -tft-mes
\ No newline at end of file +tft-mes
\ No newline at end of file diff --git a/dist/js/1456.ae21a94b.js b/dist/js/1456.6414c34e.js similarity index 54% rename from dist/js/1456.ae21a94b.js rename to dist/js/1456.6414c34e.js index 4fddbc4..6491095 100644 --- a/dist/js/1456.ae21a94b.js +++ b/dist/js/1456.6414c34e.js @@ -1 +1 @@ -(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[1456],{1456:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return T}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"self-maintenance"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addAndEdit,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("self-maintenance-add",{ref:"selfMaintenanceAdd",on:{successSubmit:t.successSubmit}})],1)],1)},a=[],i=n(475),o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护工单号",prop:"code"}},[e("el-input",{attrs:{placeholder:"维护工单号",disabled:t.isEdit},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"equipmentId"}},[e("el-cascader",{staticStyle:{width:"100%"},attrs:{options:t.cascaderOptions,props:{value:"id",label:"name"}},on:{change:t.selectEq},model:{value:t.form.equipmentId,callback:function(e){t.$set(t.form,"equipmentId",e)},expression:"form.equipmentId"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"sparePartModel"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.sparePartModel,callback:function(e){t.$set(t.form,"sparePartModel",e)},expression:"form.sparePartModel"}},t._l(t.sparePartsSpecList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"更换数量",prop:"replaceNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:10,label:"更换数量"},model:{value:t.form.replaceNum,callback:function(e){t.$set(t.form,"replaceNum",e)},expression:"form.replaceNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护人员",prop:"maintainStaff"}},[e("el-input",{attrs:{placeholder:"维护人员"},model:{value:t.form.maintainStaff,callback:function(e){t.$set(t.form,"maintainStaff",e)},expression:"form.maintainStaff"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际开始时间",prop:"startTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际开始时间"},model:{value:t.form.startTime,callback:function(e){t.$set(t.form,"startTime",e)},expression:"form.startTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际结束时间",prop:"endTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际结束时间"},model:{value:t.form.endTime,callback:function(e){t.$set(t.form,"endTime",e)},expression:"form.endTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"完成情况",prop:"complete"}},[e("el-input",{attrs:{placeholder:"完成情况"},model:{value:t.form.complete,callback:function(e){t.$set(t.form,"complete",e)},expression:"form.complete"}})],1)],1)],1)],1)},u=[],s=n(3126),d=n.n(s),m=n(5591),l=n(910),c=n(381),p=n.n(c),f=n(147),h={name:"SelfMaintenanceAdd",data(){return{form:{id:"",code:"",equipmentId:"",sparePartName:"",sparePartModel:"",replaceNum:null,maintainStaff:"",startTime:"",endTime:"",complete:""},cascaderOptions:[],rules:{code:[{required:!0,message:"请输入维护工单号",trigger:"blur"}],equipmentId:[{required:!0,message:"请选择设备名称",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],sparePartModel:[{required:!0,message:"请选择备件型号",trigger:"change"}],replaceNum:[{required:!0,message:"请输入更换数量",trigger:"blur"}],maintainStaff:[{required:!0,message:"请输入执行人员",trigger:"blur"}],startTime:[{required:!0,message:"请选择实际开始时间",trigger:"change"}],endTime:[{required:!0,message:"请选择实际结束时间",trigger:"change"}]},productionLineList:d().productionLineList,sparePartsTypeList:d().sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[],isEdit:!1}},methods:{init(t){this.getTree(),this.getNameList(),t?(this.form.id=t,this.isEdit=!0,(0,f.yx)({id:t}).then((t=>{this.form.code=t.data.code,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.form.sparePartModel=t.data.model,this.form.replaceNum=t.data.replaceNum,this.form.maintainStaff=t.data.maintainStaff,this.form.startTime=t.data.startTime,this.form.endTime=t.data.endTime,this.form.complete=t.data.complete}))):(this.form.startTime=p()().format("yyyy-MM-DDTHH:mm:ss"),this.form.endTime=p()().format("yyyy-MM-DDTHH:mm:ss"),this.isEdit=!1,this.form.id="")},getTree(){(0,m.SI)().then((t=>{this.cascaderOptions=t.data}))},selectEq(t){this.form.equipmentId=t[2],this.form.proLineId=t[0]},getNameList(){(0,l.dN)().then((t=>{this.sparePartsList=t.data}))},selectModel(t){(0,l.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.sparePartModel=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,f.KK)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")})):(0,f.h)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[],this.form.proLineId="",this.form.id=""}}},g=h,b=n(1001),y=(0,b.Z)(g,o,u,!1,null,null,null),Z=y.exports;const M=[{prop:"code",label:"维护工单号",minWidth:150},{prop:"proLineName",label:"产线",minWidth:120},{prop:"unitName",label:"单元",minWidth:150},{prop:"equName",label:"设备名称",minWidth:150},{prop:"maintainStaff",label:"维护人员",minWidth:140},{prop:"sparePartName",label:"备件名称",minWidth:150},{prop:"model",label:"备件型号",minWidth:150},{prop:"replaceNum",label:"更换数量",minWidth:140},{prop:"complete",label:"完成情况",minWidth:140},{prop:"startTime",label:"开始时间",filter:i.g6,minWidth:160},{prop:"endTime",label:"结束时间",filter:i.g6,minWidth:160},{prop:"creatorName",label:"登记人",minWidth:140},{prop:"createTime",label:"登记时间",filter:i.g6,minWidth:160}],P=[{type:"edit",btnName:"编辑"},{type:"delete",btnName:"删除"}];var q={name:"selfMaintenance",components:{SelfMaintenanceAdd:Z},data(){return{formConfig:[{type:"datePicker",label:"开始时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"cascader",label:"产线/单元/设备",selectOptions:[],param:"keyword",cascaderProps:{checkStrictly:!0,value:"name",label:"name"},width:250},{type:"input",label:"维护工单号",placeholder:"维护工单号",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:M,tableData:[],tableBtn:P,tableH:(0,i.NC)(320),total:0,listQuery:{current:1,size:20},addAndEdit:"",centervisible:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(320)})),this.getTree(),this.getList()},methods:{getTree(){(0,m.SI)().then((t=>{this.formConfig[1].selectOptions=t.data}))},getList(){(0,f.$N)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){"edit"===t.type?(this.addAndEdit="编辑",this.centervisible=!0,this.$nextTick((()=>{this.$refs.selfMaintenanceAdd.init(t.data.id)}))):this.$confirm('确认删除工单号"'+t.data.code+'"吗?',{type:"warning"}).then((()=>{(0,f.jL)({id:t.data.id}).then((t=>{console.log(t),this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.proLineName=t.keyword[0],this.listQuery.unitName=t.keyword[1],this.listQuery.equName=t.keyword[2],this.listQuery.code=t.code,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.proLineName="",this.listQuery.unitName="",this.listQuery.equName="",this.listQuery.code="",this.getList();break;case"add":this.addAndEdit="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.selfMaintenanceAdd.init()}));break;default:(0,f.$7)({...this.listQuery}).then((t=>{let e="";const n=t.headers["content-disposition"];n&&(e=decodeURIComponent(n.slice(n.indexOf("filename=")+9)));const r=new Blob([t.data]),a=new FileReader;a.readAsDataURL(r),a.onload=t=>{const n=document.createElement("a");n.download=e,n.href=t.target.result,document.body.appendChild(n),n.click(),document.body.removeChild(n)}}))}},handleCancel(){this.$refs.selfMaintenanceAdd.formClear(),this.addAndEdit="",this.centervisible=!1},handleConfirm(){this.$refs.selfMaintenanceAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},S=q,L=(0,b.Z)(S,r,a,!1,null,"7f3d9a89",null),T=L.exports},5591:function(t,e,n){"use strict";n.d(e,{FH:function(){return u},Hp:function(){return s},JQ:function(){return o},SI:function(){return i},WQ:function(){return l},b6:function(){return d},iv:function(){return a},m:function(){return m}});var r=n(8859);function a(){return(0,r.Z)({url:"/common/getList",method:"post"})}function i(){return(0,r.Z)({url:"/common/getTreeData",method:"post"})}function o(t){return(0,r.Z)({url:"/common/updateEqSeq",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}function s(t){return(0,r.Z)({url:"/common/getAlarmData",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/common/getProductData",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/common/getMaterialData",method:"post",data:t})}const l="/api/common/attachment/uploadFileFormData"},910:function(t,e,n){"use strict";n.d(e,{$0:function(){return T},A0:function(){return L},D0:function(){return o},ER:function(){return A},Hg:function(){return W},J_:function(){return $},Kl:function(){return S},ME:function(){return m},Or:function(){return b},P4:function(){return d},Py:function(){return l},QL:function(){return H},Qj:function(){return P},Sc:function(){return h},W0:function(){return F},WZ:function(){return f},Wj:function(){return s},Zs:function(){return a},_:function(){return v},_1:function(){return y},a:function(){return E},ag:function(){return k},b8:function(){return g},dN:function(){return c},fZ:function(){return p},gz:function(){return Z},jF:function(){return i},kB:function(){return w},m3:function(){return I},oW:function(){return N},qT:function(){return M},sU:function(){return u},sy:function(){return x},tb:function(){return q},wy:function(){return Q},xf:function(){return C},yk:function(){return D}});var r=n(8859);function a(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function A(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function H(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function W(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function F(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},147:function(t,e,n){"use strict";n.d(e,{$7:function(){return w},$F:function(){return g},$N:function(){return N},$d:function(){return c},A5:function(){return S},Ah:function(){return o},Dr:function(){return f},HJ:function(){return d},Im:function(){return P},KK:function(){return A},KQ:function(){return T},Ko:function(){return x},Ku:function(){return h},OP:function(){return s},OT:function(){return b},UP:function(){return Z},Uw:function(){return Q},YG:function(){return C},bO:function(){return l},co:function(){return y},fK:function(){return q},h:function(){return v},jL:function(){return $},lJ:function(){return p},lZ:function(){return u},pl:function(){return k},rd:function(){return m},uN:function(){return i},yx:function(){return M},zG:function(){return L},zh:function(){return a}});var r=n(8859);function a(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/get",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/getPlan",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/updatePlan",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/equipment/PalletIndicatorAnalysis/page",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/equipment/PalletIndicatorAnalysis/getType",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/equipment/SparePartStock/page",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/equipment/SparePartStock/inStock",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/equipment/SparePartStock/get",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/equipment/SparePartStock/update",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/equipment/SparePartStock/outStock",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/equipment/SparePartStock/stockDetail",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/equipment/SparePartStock/getBatchList",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/equipment/SparePartStock/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function b(t){return(0,r.Z)({url:"/equipment/SparePartStock/PageHis",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/equipment/SparePartStock/exportHis",method:"post",responseType:"blob",data:t,timeout:6e4})}function Z(t){return(0,r.Z)({url:"/equipment/MaintainManage/pageSelect",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/equipment/MaintainManage/unDistributeGet",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/equipment/MaintainManage/create",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/equipment/MaintainManage/unDistribute",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/equipment/MaintainManage/completedDistribute",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/equipment/MaintainManage/dispatch",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/equipment/MaintainManage/confirm",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/equipment/MaintainManage/PlainMaintainDelete",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/equipment/MaintainManage/PlanMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function N(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainPageSelect",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainAdd",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainModify",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/equipment/MaintainManage/AUtoMaintainDelete",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function x(t){return(0,r.Z)({url:"/equipment/AlarmMessage/nowAlertSelect",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/equipment/AlarmMessage/historyAlertSelect",method:"post",data:t})}},3126:function(t){t.exports={roleList:[{id:"1",name:"加工人员"},{id:"2",name:"质检人员"}],productionLineList:[{id:"1",name:"产线1"},{id:"2",name:"产线2"}],sparePartsTypeList:[{id:"1",name:"边磨备品备件"},{id:"2",name:"清洗机备品备件"},{id:"3",name:"前清洗备品备件"},{id:"4",name:"后清洗备品备件"},{id:"5",name:"面磨区备品备件"},{id:"6",name:"终检区备品备件"},{id:"7",name:"动力区备品备件"},{id:"8",name:"辅材备品备件"}],statusList:[{id:"1",name:"正常"},{id:"2",name:"禁用"}],unitModuleList:[{id:"1",name:"精切磨边"},{id:"2",name:"磨边后清洗"},{id:"3",name:"边检"},{id:"4",name:"面研磨"},{id:"5",name:"面研磨辅助设备"},{id:"6",name:"面研磨后清洗"},{id:"7",name:"终检"},{id:"8",name:"内包区"},{id:"9",name:"外包区"}],testItemList:[{id:"1",name:"研磨幅"},{id:"2",name:"外观尺寸"},{id:"3",name:"角尺寸"},{id:"4",name:"直线性"},{id:"5",name:"翘曲"},{id:"6",name:"成品厚度"},{id:"7",name:"应力"},{id:"8",name:"条纹/磨痕度数"}],orderTypeList:[{id:"1",name:"全部"},{id:"2",name:"正常"},{id:"3",name:"待再加工"}],orderStatusList:[{id:"1",name:"全部"},{id:"2",name:"已下发"},{id:"3",name:"未下发"},{id:"4",name:"已结束"}],planTypeList:[{id:"1",name:"全部"},{id:"2",name:"年计划"},{id:"3",name:"月计划"},{id:"4",name:"日计划"}],regrindList:[{id:"1",name:"无"},{id:"2",name:"锡面"},{id:"3",name:"空气面"}],productionSpecList:[{id:"1",name:"G8.5"},{id:"2",name:"G8.6"}]}}}]); \ No newline at end of file +(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[1456],{1456:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return T}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"self-maintenance"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addAndEdit,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("self-maintenance-add",{ref:"selfMaintenanceAdd",on:{successSubmit:t.successSubmit}})],1)],1)},a=[],i=n(475),o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护工单号",prop:"code"}},[e("el-input",{attrs:{placeholder:"维护工单号",disabled:t.isEdit},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"equipmentId"}},[e("el-cascader",{staticStyle:{width:"100%"},attrs:{options:t.cascaderOptions,props:{value:"id",label:"name"}},on:{change:t.selectEq},model:{value:t.form.equipmentId,callback:function(e){t.$set(t.form,"equipmentId",e)},expression:"form.equipmentId"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"sparePartModel"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.sparePartModel,callback:function(e){t.$set(t.form,"sparePartModel",e)},expression:"form.sparePartModel"}},t._l(t.sparePartsSpecList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"更换数量",prop:"replaceNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:10,label:"更换数量"},model:{value:t.form.replaceNum,callback:function(e){t.$set(t.form,"replaceNum",e)},expression:"form.replaceNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护人员",prop:"maintainStaff"}},[e("el-input",{attrs:{placeholder:"维护人员"},model:{value:t.form.maintainStaff,callback:function(e){t.$set(t.form,"maintainStaff",e)},expression:"form.maintainStaff"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际开始时间",prop:"startTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际开始时间"},model:{value:t.form.startTime,callback:function(e){t.$set(t.form,"startTime",e)},expression:"form.startTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际结束时间",prop:"endTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际结束时间"},model:{value:t.form.endTime,callback:function(e){t.$set(t.form,"endTime",e)},expression:"form.endTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"完成情况",prop:"complete"}},[e("el-input",{attrs:{placeholder:"完成情况"},model:{value:t.form.complete,callback:function(e){t.$set(t.form,"complete",e)},expression:"form.complete"}})],1)],1)],1)],1)},u=[],s=n(3126),d=n.n(s),m=n(5591),l=n(910),c=n(381),p=n.n(c),f=n(147),h={name:"SelfMaintenanceAdd",data(){return{form:{id:"",code:"",equipmentId:"",sparePartName:"",sparePartModel:"",replaceNum:null,maintainStaff:"",startTime:"",endTime:"",complete:""},cascaderOptions:[],rules:{code:[{required:!0,message:"请输入维护工单号",trigger:"blur"}],equipmentId:[{required:!0,message:"请选择设备名称",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],sparePartModel:[{required:!0,message:"请选择备件型号",trigger:"change"}],replaceNum:[{required:!0,message:"请输入更换数量",trigger:"blur"}],maintainStaff:[{required:!0,message:"请输入执行人员",trigger:"blur"}],startTime:[{required:!0,message:"请选择实际开始时间",trigger:"change"}],endTime:[{required:!0,message:"请选择实际结束时间",trigger:"change"}]},productionLineList:d().productionLineList,sparePartsTypeList:d().sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[],isEdit:!1}},methods:{init(t){this.getTree(),this.getNameList(),t?(this.form.id=t,this.isEdit=!0,(0,f.yx)({id:t}).then((t=>{this.form.code=t.data.code,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.form.sparePartModel=t.data.model,this.form.replaceNum=t.data.replaceNum,this.form.maintainStaff=t.data.maintainStaff,this.form.startTime=t.data.startTime,this.form.endTime=t.data.endTime,this.form.complete=t.data.complete}))):(this.form.startTime=p()().format("yyyy-MM-DDTHH:mm:ss"),this.form.endTime=p()().format("yyyy-MM-DDTHH:mm:ss"),this.isEdit=!1,this.form.id="")},getTree(){(0,m.SI)().then((t=>{this.cascaderOptions=t.data}))},selectEq(t){this.form.equipmentId=t[2],this.form.proLineId=t[0]},getNameList(){(0,l.dN)().then((t=>{this.sparePartsList=t.data}))},selectModel(t){(0,l.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.sparePartModel=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,f.KK)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")})):(0,f.h)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[],this.form.proLineId="",this.form.id=""}}},g=h,b=n(1001),y=(0,b.Z)(g,o,u,!1,null,null,null),Z=y.exports;const M=[{prop:"code",label:"维护工单号",minWidth:150},{prop:"proLineName",label:"产线",minWidth:120},{prop:"unitName",label:"单元",minWidth:150},{prop:"equName",label:"设备名称",minWidth:150},{prop:"maintainStaff",label:"维护人员",minWidth:140},{prop:"sparePartName",label:"备件名称",minWidth:150},{prop:"model",label:"备件型号",minWidth:150},{prop:"replaceNum",label:"更换数量",minWidth:140},{prop:"complete",label:"完成情况",minWidth:140},{prop:"startTime",label:"开始时间",filter:i.g6,minWidth:160},{prop:"endTime",label:"结束时间",filter:i.g6,minWidth:160},{prop:"creatorName",label:"登记人",minWidth:140},{prop:"createTime",label:"登记时间",filter:i.g6,minWidth:160}],P=[{type:"edit",btnName:"编辑"},{type:"delete",btnName:"删除"}];var q={name:"selfMaintenance",components:{SelfMaintenanceAdd:Z},data(){return{formConfig:[{type:"datePicker",label:"开始时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"cascader",label:"产线/单元/设备",selectOptions:[],param:"keyword",cascaderProps:{checkStrictly:!0,value:"name",label:"name"},width:250},{type:"input",label:"维护工单号",placeholder:"维护工单号",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:M,tableData:[],tableBtn:P,tableH:(0,i.NC)(320),total:0,listQuery:{current:1,size:20},addAndEdit:"",centervisible:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(320)})),this.getTree(),this.getList()},methods:{getTree(){(0,m.SI)().then((t=>{this.formConfig[1].selectOptions=t.data}))},getList(){(0,f.$N)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){"edit"===t.type?(this.addAndEdit="编辑",this.centervisible=!0,this.$nextTick((()=>{this.$refs.selfMaintenanceAdd.init(t.data.id)}))):this.$confirm('确认删除工单号"'+t.data.code+'"吗?',{type:"warning"}).then((()=>{(0,f.jL)({id:t.data.id}).then((t=>{console.log(t),this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.proLineName=t.keyword[0],this.listQuery.unitName=t.keyword[1],this.listQuery.equName=t.keyword[2],this.listQuery.code=t.code,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.proLineName="",this.listQuery.unitName="",this.listQuery.equName="",this.listQuery.code="",this.getList();break;case"add":this.addAndEdit="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.selfMaintenanceAdd.init()}));break;default:(0,f.$7)({...this.listQuery}).then((t=>{let e="";const n=t.headers["content-disposition"];n&&(e=decodeURIComponent(n.slice(n.indexOf("filename=")+9)));const r=new Blob([t.data]),a=new FileReader;a.readAsDataURL(r),a.onload=t=>{const n=document.createElement("a");n.download=e,n.href=t.target.result,document.body.appendChild(n),n.click(),document.body.removeChild(n)}}))}},handleCancel(){this.$refs.selfMaintenanceAdd.formClear(),this.addAndEdit="",this.centervisible=!1},handleConfirm(){this.$refs.selfMaintenanceAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},S=q,L=(0,b.Z)(S,r,a,!1,null,"7f3d9a89",null),T=L.exports},5591:function(t,e,n){"use strict";n.d(e,{FH:function(){return u},Hp:function(){return s},JQ:function(){return o},SI:function(){return i},WQ:function(){return l},b6:function(){return d},iv:function(){return a},m:function(){return m}});var r=n(8859);function a(){return(0,r.Z)({url:"/common/getList",method:"post"})}function i(){return(0,r.Z)({url:"/common/getTreeData",method:"post"})}function o(t){return(0,r.Z)({url:"/common/updateEqSeq",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}function s(t){return(0,r.Z)({url:"/common/getAlarmData",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/common/getProductData",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/common/getMaterialData",method:"post",data:t})}const l="/api/common/attachment/uploadFileFormData"},910:function(t,e,n){"use strict";n.d(e,{$0:function(){return C},A0:function(){return T},D0:function(){return o},ER:function(){return $},Hg:function(){return F},J_:function(){return w},Kl:function(){return L},ME:function(){return m},Or:function(){return b},P4:function(){return d},Py:function(){return l},QL:function(){return D},Qj:function(){return q},Sc:function(){return h},Sl:function(){return y},W0:function(){return B},WZ:function(){return f},Wj:function(){return s},Zs:function(){return a},_:function(){return A},_1:function(){return Z},a:function(){return W},ag:function(){return k},b8:function(){return g},dN:function(){return c},fZ:function(){return p},gz:function(){return M},jF:function(){return i},kB:function(){return x},m3:function(){return E},oW:function(){return v},qT:function(){return P},sU:function(){return u},sy:function(){return Q},tb:function(){return S},wy:function(){return H},xf:function(){return N},yk:function(){return I}});var r=n(8859);function a(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function $(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function H(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function W(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function F(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function B(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},147:function(t,e,n){"use strict";n.d(e,{$7:function(){return w},$F:function(){return g},$N:function(){return N},$d:function(){return c},A5:function(){return S},Ah:function(){return o},Dr:function(){return f},HJ:function(){return d},Im:function(){return P},KK:function(){return A},KQ:function(){return T},Ko:function(){return x},Ku:function(){return h},OP:function(){return s},OT:function(){return b},UP:function(){return Z},Uw:function(){return Q},YG:function(){return k},bO:function(){return l},co:function(){return y},fK:function(){return q},h:function(){return v},jL:function(){return $},lJ:function(){return p},lZ:function(){return u},pl:function(){return C},rd:function(){return m},uN:function(){return i},yx:function(){return M},zG:function(){return L},zh:function(){return a}});var r=n(8859);function a(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/get",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/getPlan",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/updatePlan",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/equipment/PalletIndicatorAnalysis/page",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/equipment/PalletIndicatorAnalysis/getType",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/equipment/SparePartStock/page",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/equipment/SparePartStock/inStock",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/equipment/SparePartStock/get",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/equipment/SparePartStock/update",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/equipment/SparePartStock/outStock",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/equipment/SparePartStock/stockDetail",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/equipment/SparePartStock/getBatchList",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/equipment/SparePartStock/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function b(t){return(0,r.Z)({url:"/equipment/SparePartStock/PageHis",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/equipment/SparePartStock/exportHis",method:"post",responseType:"blob",data:t,timeout:6e4})}function Z(t){return(0,r.Z)({url:"/equipment/MaintainManage/pageSelect",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/equipment/MaintainManage/unDistributeGet",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/equipment/MaintainManage/create",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/equipment/MaintainManage/unDistribute",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/equipment/MaintainManage/completedDistribute",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/equipment/MaintainManage/dispatch",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/equipment/MaintainManage/confirm",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/equipment/MaintainManage/PlainMaintainDelete",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/equipment/MaintainManage/PlanMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function N(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainPageSelect",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainAdd",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainModify",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/equipment/MaintainManage/AUtoMaintainDelete",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function x(t){return(0,r.Z)({url:"/equipment/AlarmMessage/nowAlertSelect",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/equipment/AlarmMessage/historyAlertSelect",method:"post",data:t})}},3126:function(t){t.exports={roleList:[{id:"1",name:"加工人员"},{id:"2",name:"质检人员"}],productionLineList:[{id:"1",name:"产线1"},{id:"2",name:"产线2"}],sparePartsTypeList:[{id:"1",name:"边磨备品备件"},{id:"2",name:"清洗机备品备件"},{id:"3",name:"前清洗备品备件"},{id:"4",name:"后清洗备品备件"},{id:"5",name:"面磨区备品备件"},{id:"6",name:"终检区备品备件"},{id:"7",name:"动力区备品备件"},{id:"8",name:"辅材备品备件"}],statusList:[{id:"1",name:"正常"},{id:"2",name:"禁用"}],unitModuleList:[{id:"1",name:"精切磨边"},{id:"2",name:"磨边后清洗"},{id:"3",name:"边检"},{id:"4",name:"面研磨"},{id:"5",name:"面研磨辅助设备"},{id:"6",name:"面研磨后清洗"},{id:"7",name:"终检"},{id:"8",name:"内包区"},{id:"9",name:"外包区"}],testItemList:[{id:"1",name:"研磨幅"},{id:"2",name:"外观尺寸"},{id:"3",name:"角尺寸"},{id:"4",name:"直线性"},{id:"5",name:"翘曲"},{id:"6",name:"成品厚度"},{id:"7",name:"应力"},{id:"8",name:"条纹/磨痕度数"}],orderTypeList:[{id:"1",name:"全部"},{id:"2",name:"正常"},{id:"3",name:"待再加工"}],orderStatusList:[{id:"1",name:"全部"},{id:"2",name:"已下发"},{id:"3",name:"未下发"},{id:"4",name:"已结束"}],planTypeList:[{id:"1",name:"全部"},{id:"2",name:"年计划"},{id:"3",name:"月计划"},{id:"4",name:"日计划"}],regrindList:[{id:"1",name:"无"},{id:"2",name:"锡面"},{id:"3",name:"空气面"}],productionSpecList:[{id:"1",name:"G8.5"},{id:"2",name:"G8.6"}]}}}]); \ No newline at end of file diff --git a/dist/js/1487.07bf8c47.js b/dist/js/1487.bf0760e7.js similarity index 64% rename from dist/js/1487.07bf8c47.js rename to dist/js/1487.bf0760e7.js index 882979a..52f347e 100644 --- a/dist/js/1487.07bf8c47.js +++ b/dist/js/1487.bf0760e7.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[1487],{1487:function(t,e,r){r.r(e),r.d(e,{default:function(){return C}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("account-add",{ref:"accountList",on:{successSubmit:t.successSubmit}})],1)],1)},n=[],i=r(475),o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-form-item",{attrs:{label:"用户名",prop:"account"}},[e("el-input",{attrs:{placeholder:"只能输入字母或数字,不可输入汉字",disabled:t.isEdit},model:{value:t.form.account,callback:function(e){t.$set(t.form,"account",e)},expression:"form.account"}})],1),e("el-form-item",{attrs:{label:"密码",prop:"password"}},[e("el-input",{model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),e("el-form-item",{attrs:{label:"姓名",prop:"name"}},[e("el-input",{model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{attrs:{label:"所属产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"所属产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.lineList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.id}})})),1)],1),e("el-form-item",{attrs:{label:"角色",prop:"role"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"角色"},model:{value:t.form.role,callback:function(e){t.$set(t.form,"role",e)},expression:"form.role"}},t._l(t.roleList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},s=[],u=r(910),l={name:"AccountAdd",data(){return{form:{id:"",account:"",password:"123456",name:"",proLineId:"",role:"",enabled:1},isEdit:!1,lineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,roleList:JSON.parse(localStorage.getItem("publicList")).roleVoList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,rules:{account:[{required:!0,message:"请输入用户名",trigger:"blur"},{min:3,max:18,message:"长度在 3 到 18 个字符",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}],name:[{required:!0,message:"请输入姓名",trigger:"blur"}],proLineId:[{required:!0,message:"请选择所属产线",trigger:"change"}],role:[{required:!0,message:"请选择角色",trigger:"change"}]}}},methods:{init(t){t?(this.isEdit=!0,this.form.id=t,(0,u.D0)({id:t}).then((t=>{0===t.code&&(this.form.account=t.data.account,this.form.password=t.data.password,this.form.name=t.data.name,this.form.proLineId=t.data.proLineId,this.form.role=t.data.role,this.form.enabled=t.data.enabled)}))):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;{let t=/^[\da-z]+$/i,e=new RegExp(t);e.test(this.form.account)?this.isEdit?(0,u.sU)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,u.jF)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):this.$message({message:"用户名格式不正确应为数字或者字母,请检查",type:"error",duration:1500})}}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},c=l,d=r(1001),p=(0,d.Z)(c,o,s,!1,null,null,null),m=p.exports,f=r(8027);const h=[{prop:"account",label:"用户名"},{prop:"name",label:"姓名"},{prop:"role",label:"角色"},{prop:"proLineName",label:"所属产线"},{prop:"enabled",label:"状态",width:120,subcomponent:f.Z}],b=[{type:"edit",btnName:"编辑"}];var g={name:"AccountConfig",components:{AccountAdd:m},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"",width:120},{type:"select",label:"角色",selectOptions:JSON.parse(localStorage.getItem("publicList")).roleVoList,labelField:"dataName",valueField:"dataName",param:"role",defaultSelect:"",width:150},{type:"input",label:"用户名",placeholder:"用户名",param:"account"},{type:"input",label:"姓名",placeholder:"姓名",param:"name",width:150},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:h,tableData:[],tableBtn:b,tableH:(0,i.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(265)})),this.getList()},methods:{getList(){(0,u.Zs)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.accountList.init(t.data.id)})),this.centervisible=!0},buttonClick(t){switch(t.btnName){case"search":this.listQuery.proLineId=t.proLineId,this.listQuery.role=t.role,this.listQuery.account=t.account,this.listQuery.name=t.name,this.listQuery.enabled=t.enabled,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.proLineId="",this.listQuery.role="",this.listQuery.account="",this.listQuery.name="",this.listQuery.enabled=null,this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.accountList.init()}))}},handleCancel(){this.$refs.accountList.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.accountList.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},y=g,L=(0,d.Z)(y,a,n,!1,null,null,null),C=L.exports},8027:function(t,e,r){r.d(e,{Z:function(){return l}});var a=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},n=[],i={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},o=i,s=r(1001),u=(0,s.Z)(o,a,n,!1,null,null,null),l=u.exports},910:function(t,e,r){r.d(e,{$0:function(){return S},A0:function(){return N},D0:function(){return o},ER:function(){return x},Hg:function(){return j},J_:function(){return E},Kl:function(){return v},ME:function(){return c},Or:function(){return g},P4:function(){return l},Py:function(){return d},QL:function(){return q},Qj:function(){return Z},Sc:function(){return h},W0:function(){return D},WZ:function(){return f},Wj:function(){return u},Zs:function(){return n},_:function(){return I},_1:function(){return y},a:function(){return P},ag:function(){return k},b8:function(){return b},dN:function(){return p},fZ:function(){return m},gz:function(){return L},jF:function(){return i},kB:function(){return O},m3:function(){return B},oW:function(){return Q},qT:function(){return C},sU:function(){return s},sy:function(){return _},tb:function(){return w},wy:function(){return T},xf:function(){return $},yk:function(){return F}});var a=r(8859);function n(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function x(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function E(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function B(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function j(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[1487],{1487:function(t,e,r){r.r(e),r.d(e,{default:function(){return C}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("account-add",{ref:"accountList",on:{successSubmit:t.successSubmit}})],1)],1)},n=[],i=r(475),o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-form-item",{attrs:{label:"用户名",prop:"account"}},[e("el-input",{attrs:{placeholder:"只能输入字母或数字,不可输入汉字",disabled:t.isEdit},model:{value:t.form.account,callback:function(e){t.$set(t.form,"account",e)},expression:"form.account"}})],1),e("el-form-item",{attrs:{label:"密码",prop:"password"}},[e("el-input",{model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),e("el-form-item",{attrs:{label:"姓名",prop:"name"}},[e("el-input",{model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{attrs:{label:"所属产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"所属产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.lineList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.id}})})),1)],1),e("el-form-item",{attrs:{label:"角色",prop:"role"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"角色"},model:{value:t.form.role,callback:function(e){t.$set(t.form,"role",e)},expression:"form.role"}},t._l(t.roleList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},s=[],u=r(910),l={name:"AccountAdd",data(){return{form:{id:"",account:"",password:"123456",name:"",proLineId:"",role:"",enabled:1},isEdit:!1,lineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,roleList:JSON.parse(localStorage.getItem("publicList")).roleVoList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,rules:{account:[{required:!0,message:"请输入用户名",trigger:"blur"},{min:3,max:18,message:"长度在 3 到 18 个字符",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}],name:[{required:!0,message:"请输入姓名",trigger:"blur"}],proLineId:[{required:!0,message:"请选择所属产线",trigger:"change"}],role:[{required:!0,message:"请选择角色",trigger:"change"}]}}},methods:{init(t){t?(this.isEdit=!0,this.form.id=t,(0,u.D0)({id:t}).then((t=>{0===t.code&&(this.form.account=t.data.account,this.form.password=t.data.password,this.form.name=t.data.name,this.form.proLineId=t.data.proLineId,this.form.role=t.data.role,this.form.enabled=t.data.enabled)}))):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;{let t=/^[\da-z]+$/i,e=new RegExp(t);e.test(this.form.account)?this.isEdit?(0,u.sU)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,u.jF)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):this.$message({message:"用户名格式不正确应为数字或者字母,请检查",type:"error",duration:1500})}}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},c=l,d=r(1001),p=(0,d.Z)(c,o,s,!1,null,null,null),m=p.exports,f=r(8027);const h=[{prop:"account",label:"用户名"},{prop:"name",label:"姓名"},{prop:"role",label:"角色"},{prop:"proLineName",label:"所属产线"},{prop:"enabled",label:"状态",width:120,subcomponent:f.Z}],b=[{type:"edit",btnName:"编辑"}];var g={name:"AccountConfig",components:{AccountAdd:m},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"",width:120},{type:"select",label:"角色",selectOptions:JSON.parse(localStorage.getItem("publicList")).roleVoList,labelField:"dataName",valueField:"dataName",param:"role",defaultSelect:"",width:150},{type:"input",label:"用户名",placeholder:"用户名",param:"account"},{type:"input",label:"姓名",placeholder:"姓名",param:"name",width:150},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:h,tableData:[],tableBtn:b,tableH:(0,i.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(265)})),this.getList()},methods:{getList(){(0,u.Zs)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.accountList.init(t.data.id)})),this.centervisible=!0},buttonClick(t){switch(t.btnName){case"search":this.listQuery.proLineId=t.proLineId,this.listQuery.role=t.role,this.listQuery.account=t.account,this.listQuery.name=t.name,this.listQuery.enabled=t.enabled,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.proLineId="",this.listQuery.role="",this.listQuery.account="",this.listQuery.name="",this.listQuery.enabled=null,this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.accountList.init()}))}},handleCancel(){this.$refs.accountList.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.accountList.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},y=g,L=(0,d.Z)(y,a,n,!1,null,null,null),C=L.exports},8027:function(t,e,r){r.d(e,{Z:function(){return l}});var a=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},n=[],i={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},o=i,s=r(1001),u=(0,s.Z)(o,a,n,!1,null,null,null),l=u.exports},910:function(t,e,r){r.d(e,{$0:function(){return k},A0:function(){return S},D0:function(){return o},ER:function(){return E},Hg:function(){return D},J_:function(){return O},Kl:function(){return N},ME:function(){return c},Or:function(){return g},P4:function(){return l},Py:function(){return d},QL:function(){return F},Qj:function(){return w},Sc:function(){return h},Sl:function(){return y},W0:function(){return z},WZ:function(){return f},Wj:function(){return u},Zs:function(){return n},_:function(){return x},_1:function(){return L},a:function(){return j},ag:function(){return $},b8:function(){return b},dN:function(){return p},fZ:function(){return m},gz:function(){return C},jF:function(){return i},kB:function(){return _},m3:function(){return P},oW:function(){return I},qT:function(){return Z},sU:function(){return s},sy:function(){return T},tb:function(){return v},wy:function(){return q},xf:function(){return Q},yk:function(){return B}});var a=r(8859);function n(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function E(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function B(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function j(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function z(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/2033.71d18a4b.js b/dist/js/2033.71d18a4b.js new file mode 100644 index 0000000..d1e421e --- /dev/null +++ b/dist/js/2033.71d18a4b.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2033],{2033:function(t,e,r){r.r(e),r.d(e,{default:function(){return h}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectChanged}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}}),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:t.getList}})],1)},n=[],i=r(475),o=r(4770),u=r(910),l=r(381),s=r.n(l);const c=[{prop:"type",label:"类型",minWidth:120,filter:(0,i.fW)("materialVoList")},{prop:"line",label:"产线",minWidth:120},{prop:"sidelibraryName",label:"所属线边库",minWidth:120},{prop:"materialName",label:"耗材名称",minWidth:150},{prop:"spec",label:"规格",minWidth:150},{prop:"batchCode",label:"批次编码",minWidth:140},{prop:"num",label:"数量",minWidth:100},{prop:"unit",label:"单位",minWidth:100},{prop:"supplier",label:"供应商",minWidth:140},{prop:"recipient",label:"领取人",minWidth:140},{prop:"creatorName",label:"登记人",minWidth:140},{prop:"createTime",label:"登记时间",filter:i.g6,minWidth:160},{prop:"remark",label:"备注",minWidth:150}];var d={name:"InAndOutRecords",data(){return{activeName:"stock",formConfig:[{type:"datePicker",label:"登记时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"select",label:"类型",selectOptions:JSON.parse(localStorage.getItem("publicList")).materialVoList,labelField:"dataName",valueField:"dataCode",param:"type",defaultSelect:"",width:100},{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,labelField:"dataName",valueField:"dataName",onchange:!0,param:"line",defaultSelect:"",width:100},{type:"select",label:"线边库名称",selectOptions:[],param:"sidelibraryName",labelField:"name",valueField:"name",defaultSelect:"",width:180},{type:"select",label:"耗材名称",selectOptions:[],param:"materialName",labelField:"name",valueField:"name",defaultSelect:"",width:180},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"}],tableProps:c,tableData:[],tableH:(0,i.NC)(275),total:0,listQuery:{current:1,size:20}}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(275)})),this.formConfig[0].defaultSelect=[s()().format("yyyy-MM-DD")+"T00:00:00",s()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=s()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=s()().format("yyyy-MM-DD")+"T23:59:59",this.getMaterialList(),this.getList()},methods:{getList(){(0,o.jp)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},selectChanged(t){if(t.value){let e=null,r=JSON.parse(localStorage.getItem("publicList")).proLineVoList;r&&r.map((r=>{r.dataName===t.value&&(e=r.dataCode)})),(0,u.A0)({id:e}).then((t=>{0===t.code&&(this.formConfig[0].defaultSelect=this.$refs.searchBarForm.formInline.timeVal,this.formConfig[3].selectOptions=t.data,this.formConfig[3].defaultSelect=null)}))}},getMaterialList(){(0,u._1)().then((t=>{0===t.code&&(this.formConfig[4].selectOptions=t.data)}))},buttonClick(t){"search"===t.btnName?(this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.type=t.type,this.listQuery.line=t.line,this.listQuery.sidelibraryName=t.sidelibraryName,this.listQuery.materialName=t.materialName,this.listQuery.current=1,this.getList()):"reset"===t.btnName&&(this.formConfig[0].defaultSelect=[],this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.type="",this.listQuery.line="",this.listQuery.sidelibraryName="",this.listQuery.materialName="",this.getList())}}},m=d,p=r(1001),f=(0,p.Z)(m,a,n,!1,null,null,null),h=f.exports},910:function(t,e,r){r.d(e,{$0:function(){return W},A0:function(){return S},D0:function(){return o},ER:function(){return P},Hg:function(){return A},J_:function(){return V},Kl:function(){return Q},ME:function(){return c},Or:function(){return g},P4:function(){return s},Py:function(){return d},QL:function(){return q},Qj:function(){return L},Sc:function(){return h},Sl:function(){return y},W0:function(){return I},WZ:function(){return f},Wj:function(){return l},Zs:function(){return n},_:function(){return k},_1:function(){return Z},a:function(){return z},ag:function(){return v},b8:function(){return b},dN:function(){return m},fZ:function(){return p},gz:function(){return C},jF:function(){return i},kB:function(){return D},m3:function(){return _},oW:function(){return F},qT:function(){return M},sU:function(){return u},sy:function(){return O},tb:function(){return N},wy:function(){return w},xf:function(){return T},yk:function(){return H}});var a=r(8859);function n(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function M(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function W(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function P(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function V(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function H(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function z(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function A(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},4770:function(t,e,r){r.d(e,{Gn:function(){return c},MX:function(){return i},VJ:function(){return s},jp:function(){return o},nK:function(){return f},oR:function(){return m},oz:function(){return p},p0:function(){return n},ql:function(){return d},qw:function(){return l},vN:function(){return u}});var a=r(8859);function n(t){return(0,a.Z)({url:"/material/MaterialManage/selectAll",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/material/MaterialManage/detail",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/material/OutInRecord/record",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/material/MaterialManage/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function l(t){return(0,a.Z)({url:"/material/MaterialManage/updateGet",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/material/MaterialManage/update",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/material/MaterialManage/insert",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/material/MaterialManage/delete",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/material/MaterialManage/SetAlarmValueGet",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/material/MaterialManage/SetAlarmValue",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/material/MaterialManage/onlineMaterialTrackSelect",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/2033.e713058b.js b/dist/js/2033.e713058b.js deleted file mode 100644 index 5addadf..0000000 --- a/dist/js/2033.e713058b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2033],{2033:function(t,e,r){r.r(e),r.d(e,{default:function(){return h}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectChanged}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}}),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:t.getList}})],1)},n=[],i=r(475),o=r(4770),u=r(910),l=r(381),s=r.n(l);const c=[{prop:"type",label:"类型",minWidth:120,filter:(0,i.fW)("materialVoList")},{prop:"line",label:"产线",minWidth:120},{prop:"sidelibraryName",label:"所属线边库",minWidth:120},{prop:"materialName",label:"耗材名称",minWidth:150},{prop:"spec",label:"规格",minWidth:150},{prop:"batchCode",label:"批次编码",minWidth:140},{prop:"num",label:"数量",minWidth:100},{prop:"unit",label:"单位",minWidth:100},{prop:"supplier",label:"供应商",minWidth:140},{prop:"recipient",label:"领取人",minWidth:140},{prop:"creatorName",label:"登记人",minWidth:140},{prop:"createTime",label:"登记时间",filter:i.g6,minWidth:160},{prop:"remark",label:"备注",minWidth:150}];var d={name:"InAndOutRecords",data(){return{activeName:"stock",formConfig:[{type:"datePicker",label:"登记时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"select",label:"类型",selectOptions:JSON.parse(localStorage.getItem("publicList")).materialVoList,labelField:"dataName",valueField:"dataCode",param:"type",defaultSelect:"",width:100},{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,labelField:"dataName",valueField:"dataName",onchange:!0,param:"line",defaultSelect:"",width:100},{type:"select",label:"线边库名称",selectOptions:[],param:"sidelibraryName",labelField:"name",valueField:"name",defaultSelect:"",width:180},{type:"select",label:"耗材名称",selectOptions:[],param:"materialName",labelField:"name",valueField:"name",defaultSelect:"",width:180},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"}],tableProps:c,tableData:[],tableH:(0,i.NC)(275),total:0,listQuery:{current:1,size:20}}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(275)})),this.formConfig[0].defaultSelect=[s()().format("yyyy-MM-DD")+"T00:00:00",s()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=s()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=s()().format("yyyy-MM-DD")+"T23:59:59",this.getMaterialList(),this.getList()},methods:{getList(){(0,o.jp)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},selectChanged(t){if(t.value){let e=null,r=JSON.parse(localStorage.getItem("publicList")).proLineVoList;r&&r.map((r=>{r.dataName===t.value&&(e=r.dataCode)})),(0,u.A0)({id:e}).then((t=>{0===t.code&&(this.formConfig[0].defaultSelect=this.$refs.searchBarForm.formInline.timeVal,this.formConfig[3].selectOptions=t.data,this.formConfig[3].defaultSelect=null)}))}},getMaterialList(){(0,u._1)().then((t=>{0===t.code&&(this.formConfig[4].selectOptions=t.data)}))},buttonClick(t){"search"===t.btnName?(this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.type=t.type,this.listQuery.line=t.line,this.listQuery.sidelibraryName=t.sidelibraryName,this.listQuery.materialName=t.materialName,this.listQuery.current=1,this.getList()):"reset"===t.btnName&&(this.formConfig[0].defaultSelect=[],this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.type="",this.listQuery.line="",this.listQuery.sidelibraryName="",this.listQuery.materialName="",this.getList())}}},p=d,m=r(1001),f=(0,m.Z)(p,a,n,!1,null,null,null),h=f.exports},910:function(t,e,r){r.d(e,{$0:function(){return S},A0:function(){return Q},D0:function(){return o},ER:function(){return k},Hg:function(){return z},J_:function(){return P},Kl:function(){return L},ME:function(){return c},Or:function(){return g},P4:function(){return s},Py:function(){return d},QL:function(){return w},Qj:function(){return M},Sc:function(){return h},W0:function(){return A},WZ:function(){return f},Wj:function(){return l},Zs:function(){return n},_:function(){return F},_1:function(){return y},a:function(){return _},ag:function(){return W},b8:function(){return b},dN:function(){return p},fZ:function(){return m},gz:function(){return Z},jF:function(){return i},kB:function(){return V},m3:function(){return H},oW:function(){return T},qT:function(){return C},sU:function(){return u},sy:function(){return D},tb:function(){return N},wy:function(){return O},xf:function(){return v},yk:function(){return q}});var a=r(8859);function n(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function M(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function W(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function k(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function V(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function H(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function z(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function A(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},4770:function(t,e,r){r.d(e,{Gn:function(){return c},MX:function(){return i},VJ:function(){return s},jp:function(){return o},nK:function(){return f},oR:function(){return p},oz:function(){return m},p0:function(){return n},ql:function(){return d},qw:function(){return l},vN:function(){return u}});var a=r(8859);function n(t){return(0,a.Z)({url:"/material/MaterialManage/selectAll",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/material/MaterialManage/detail",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/material/OutInRecord/record",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/material/MaterialManage/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function l(t){return(0,a.Z)({url:"/material/MaterialManage/updateGet",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/material/MaterialManage/update",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/material/MaterialManage/insert",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/material/MaterialManage/delete",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/material/MaterialManage/SetAlarmValueGet",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/material/MaterialManage/SetAlarmValue",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/material/MaterialManage/onlineMaterialTrackSelect",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/6781.1b52db89.js b/dist/js/2407.938a0c15.js similarity index 54% rename from dist/js/6781.1b52db89.js rename to dist/js/2407.938a0c15.js index e43bac7..08b1f7f 100644 --- a/dist/js/6781.1b52db89.js +++ b/dist/js/2407.938a0c15.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[6781],{6781:function(e,t,r){r.r(t),r.d(t,{default:function(){return L}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"page-box"},[t("search-bar",{ref:"searchBarForm",staticClass:"searchStyle",attrs:{formConfigs:e.formConfig},on:{headBtnClick:e.buttonClick}},[t("div",{staticStyle:{display:"inline-block"}},[t("el-upload",{staticStyle:{display:"inline-block"},attrs:{data:e.dataObj,name:"excel","on-success":e.importFile,"on-error":e.importFileError,action:e.uploadApi,"show-file-list":!1,headers:{token:e.token}}},[t("el-button",{attrs:{type:"primary",size:"small",plain:""}},[e._v("导入")])],1)],1)]),t("base-table",{attrs:{page:e.listQuery.current,limit:e.listQuery.size,"table-props":e.tableProps,"table-data":e.tableData,"max-height":e.tableH}},[e.tableBtn.length?t("method-btn",{attrs:{slot:"handleBtn",width:165,label:"操作",fixed:"right","method-list":e.tableBtn},on:{clickBtn:e.handleClick},slot:"handleBtn"}):e._e()],1),t("pagination",{attrs:{page:e.listQuery.current,limit:e.listQuery.size,total:e.total},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()}}}),t("base-dialog",{attrs:{dialogTitle:e.addOrEditTitle,dialogVisible:e.centervisible,"before-close":e.handleCancel},on:{cancel:e.handleCancel,confirm:e.handleConfirm}},[t("work-order-add",{ref:"workOrderAdd",on:{successSubmit:e.successSubmit}})],1)],1)},o=[],i=r(475),l=function(){var e=this,t=e._self._c;return t("el-form",{ref:"form",attrs:{rules:e.rules,"label-width":"110px",model:e.form}},[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"产线",prop:"productionLineId"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:e.form.productionLineId,callback:function(t){e.$set(e.form,"productionLineId",t)},expression:"form.productionLineId"}},e._l(e.productionLineList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"工单编号",prop:"code"}},[t("el-input",{attrs:{placeholder:"工单编号"},model:{value:e.form.code,callback:function(t){e.$set(e.form,"code",t)},expression:"form.code"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"工单类型",prop:"type"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"工单类型"},on:{change:e.selectType},model:{value:e.form.type,callback:function(t){e.$set(e.form,"type",t)},expression:"form.type"}},e._l(e.orderTypeList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.dataName,value:e.dataCode}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"复磨面",prop:"regrind"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"复磨面",disabled:e.isDisabled},model:{value:e.form.regrind,callback:function(t){e.$set(e.form,"regrind",t)},expression:"form.regrind"}},e._l(e.regrindList,(function(e){return t("el-option",{key:e.dataName,attrs:{label:e.dataName,value:e.dataName}})})),1)],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划类型",prop:"planType"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"计划类型"},model:{value:e.form.planType,callback:function(t){e.$set(e.form,"planType",t)},expression:"form.planType"}},e._l(e.planTypeList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.dataName,value:e.dataCode}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划数量",prop:"planNum"}},[t("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"计划数量",min:1,max:999999999999,precision:0},model:{value:e.form.planNum,callback:function(t){e.$set(e.form,"planNum",t)},expression:"form.planNum"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"产品型号",prop:"productSpec"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产品型号"},model:{value:e.form.productSpec,callback:function(t){e.$set(e.form,"productSpec",t)},expression:"form.productSpec"}},e._l(e.productionSpecList,(function(e){return t("el-option",{key:e.dataName,attrs:{label:e.dataName,value:e.dataName}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"预交货期",prop:"planDeliveryTime"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"预交货期"},model:{value:e.form.planDeliveryTime,callback:function(t){e.$set(e.form,"planDeliveryTime",t)},expression:"form.planDeliveryTime"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划开始时间",prop:"planStartTime"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划开始时间"},model:{value:e.form.planStartTime,callback:function(t){e.$set(e.form,"planStartTime",t)},expression:"form.planStartTime"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划结束时间",prop:"planEndTime"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划结束时间"},model:{value:e.form.planEndTime,callback:function(t){e.$set(e.form,"planEndTime",t)},expression:"form.planEndTime"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"备注",prop:"remark"}},[t("el-input",{attrs:{placeholder:"备注"},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1)],1)],1)],1)},n=[],s=r(5093),d=r(381),u=r.n(d),p={name:"WorkOrderAdd",data(){return{form:{id:"",productionLineId:"",code:"",type:"",regrind:"无",planType:"",planNum:"",productSpec:"",planDeliveryTime:"",planStartTime:"",planEndTime:"",remark:""},rules:{productionLineId:[{required:!0,message:"请选择产线",trigger:"change"}],code:[{required:!0,message:"请输入工单编号",trigger:"blur"}],type:[{required:!0,message:"请选择工单类型",trigger:"change"}],regrind:[{required:!0,message:"请选择复磨面",trigger:"change"}],planType:[{required:!0,message:"请选择计划类型",trigger:"change"}],planNum:[{required:!0,message:"请输入计划数量",trigger:"blur"}],productSpec:[{required:!0,message:"请选择产品型号",trigger:"change"}],planDeliveryTime:[{required:!0,message:"请选择预交货期",trigger:"change"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,orderTypeList:JSON.parse(localStorage.getItem("publicList")).orderTypeVoList,regrindList:JSON.parse(localStorage.getItem("publicList")).regrindVoList,planTypeList:JSON.parse(localStorage.getItem("publicList")).planTypeVoList,productionSpecList:JSON.parse(localStorage.getItem("publicList")).productModelVoList,isDisabled:!0}},methods:{init(e){e?(this.form.id=e,(0,s.w3)({id:e}).then((e=>{0===e.code&&(this.form.productionLineId=e.data.productionLineId,this.form.code=e.data.code,this.form.type=e.data.type,0!==this.form.type?this.isDisabled=!1:this.isDisabled=!0,this.form.regrind=e.data.regrind,this.form.planType=e.data.planType,this.form.planNum=e.data.planNum,this.form.productSpec=e.data.productSpec,this.form.planDeliveryTime=e.data.planDeliveryTime,this.form.planStartTime=e.data.planStartTime,this.form.planEndTime=e.data.planEndTime,this.form.remark=e.data.remark)}))):(this.form.planStartTime=u()().format("yyyy-MM-DDTHH:mm:ss"),this.form.id="",this.isDisabled=!0,this.form.regrind="无")},selectType(e){0!==e?this.isDisabled=!1:(this.isDisabled=!0,this.form.regrind="无")},submitForm(){this.$refs["form"].validate((e=>{if(!e)return!1;this.form.id?(0,s.lb)({...this.form}).then((e=>{0===e.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.To)({...this.form}).then((e=>{0===e.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields()}}},c=p,m=r(1001),h=(0,m.Z)(c,l,n,!1,null,null,null),f=h.exports,y=r(5591),g=r(1836);const b=[{prop:"proLineName",label:"产线名称",width:100},{prop:"planType",label:"计划类型",filter:(0,i.fW)("planTypeVoList"),width:100},{prop:"status",label:"工单状态",filter:(0,i.fW)("orderStatusVoList"),width:100},{prop:"code",label:"工单编号",width:150},{prop:"type",label:"工单类型",filter:(0,i.fW)("orderTypeVoList"),width:100},{prop:"productSpec",label:"产品型号",width:120},{prop:"regrind",label:"复磨面",width:100},{prop:"planStartTime",label:"计划开始时间",filter:i.g6,width:160},{prop:"planEndTime",label:"计划结束时间",filter:i.g6,width:160},{prop:"planNum",label:"计划数量",width:100},{prop:"planDeliveryTime",label:"交货期",filter:i.g6,width:160},{prop:"releaseTime",label:"下发时间",filter:i.g6,width:160},{prop:"startTime",label:"实际开始时间",filter:i.g6,width:160},{prop:"endTime",label:"实际结束时间",filter:i.g6,width:160},{prop:"finishNum",label:"完成数量",width:100},{prop:"okNum",label:"成品数量",width:100},{prop:"wasteNum",label:"废品数量",width:100},{prop:"reprocessNum",label:"待再加工数量",width:150},{prop:"creatorName",label:"创建人",width:100},{prop:"createTime",label:"创建时间",filter:i.g6,width:160},{prop:"remark",label:"备注",width:150,showOverflowtooltip:!0}],w=[{type:"start",btnName:"下发",showParam:{type:"&",data:[{type:"equal",name:"status",value:0}]}},{type:"end",btnName:"结束",showParam:{type:"&",data:[{type:"equal",name:"status",value:1}]}},{type:"edit",btnName:"编辑",showParam:{type:"&",data:[{type:"equal",name:"status",value:0}]}},{type:"delete",btnName:"删除",showParam:{type:"&",data:[{type:"less",name:"status",value:1}]}}];var T={name:"WorkOrderManagement",components:{WorkOrderAdd:f},data(){return{formConfig:[{type:"datePicker",label:"计划开始时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"select",label:"工单类型",selectOptions:JSON.parse(localStorage.getItem("publicList")).orderTypeVoList,labelField:"dataName",valueField:"dataCode",param:"type",defaultSelect:"",width:100},{type:"select",label:"工单状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).orderStatusVoList,labelField:"dataName",valueField:"dataCode",param:"status",defaultSelect:"",width:100},{type:"select",label:"计划类型",selectOptions:JSON.parse(localStorage.getItem("publicList")).planTypeVoList,labelField:"dataName",valueField:"dataCode",param:"planType",defaultSelect:"",width:100},{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"",width:120},{type:"input",label:"工单编号",placeholder:"工单编号",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0},{type:"button",btnName:"模板下载",name:"export",color:"primary",plain:!0}],tableProps:b,tableData:[],tableBtn:w,tableH:(0,i.NC)(315),total:0,listQuery:{current:1,size:20},uploadApi:s.Tp,centervisible:!1,addOrEditTitle:"",token:(0,g.LP)(),dataObj:{typeCode:"importWorkCode"}}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(315)})),this.getList()},methods:{getList(){(0,s.W9)({...this.listQuery}).then((e=>{console.log(e),0===e.code&&(this.total=e.data.total,this.tableData=e.data.records)}))},buttonClick(e){switch(e.btnName){case"search":this.listQuery.startTime=e.timeVal?e.timeVal[0]:"",this.listQuery.endTime=e.timeVal?e.timeVal[1]:"",this.listQuery.type=e.type,this.listQuery.status=e.status,this.listQuery.planType=e.planType,this.listQuery.proLineId=e.proLineId,this.listQuery.code=e.code,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.type=null,this.listQuery.status=null,this.listQuery.planType=null,this.listQuery.proLineId=null,this.listQuery.code="",this.listQuery.current=1,this.getList();break;case"add":this.addOrEditTitle="新增",this.$nextTick((()=>{this.$refs.workOrderAdd.init()})),this.centervisible=!0;break;default:console.log("模板下载"),(0,s.zz)().then((e=>{(0,y.FH)({attachmentId:e.data.id,type:1}).then((e=>{let t="";const r=e.headers["content-disposition"];r&&(t=decodeURIComponent(r.slice(r.indexOf("filename=")+9)));const a=new Blob([e.data]),o=new FileReader;o.readAsDataURL(a),o.onload=e=>{const r=document.createElement("a");r.download=t,r.href=e.target.result,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}))}))}},handleClick(e){"edit"===e.type?(this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.workOrderAdd.init(e.data.id)})),this.centervisible=!0):"start"===e.type?this.$confirm('确认下发工单"'+e.data.code+'"吗?',{type:"warning"}).then((()=>{(0,s.EM)({id:e.data.id}).then((()=>{this.$message({message:"工单下发成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{})):"end"===e.type?this.$confirm('确认结束工单"'+e.data.code+'"吗?',{type:"warning"}).then((()=>{(0,s.EO)({id:e.data.id}).then((()=>{this.$message({message:"工单结束成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{})):"delete"===e.type&&this.$confirm('确认删除工单"'+e.data.code+'"吗?',{type:"warning"}).then((()=>{(0,s.Xe)({id:e.data.id}).then((()=>{this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))},handleCancel(){this.$refs.workOrderAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.workOrderAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()},importFile(e){0===e.code&&(this.$message({message:"工单导入成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList())},importFileError(e){e&&this.$message({message:"工单导入失败,请检查格式是否正确",type:"error",duration:1500,onClose:()=>{}})}}},k=T,S=(0,m.Z)(k,a,o,!1,null,"09b450c4",null),L=S.exports},5591:function(e,t,r){r.d(t,{FH:function(){return n},Hp:function(){return s},JQ:function(){return l},SI:function(){return i},WQ:function(){return p},b6:function(){return d},iv:function(){return o},m:function(){return u}});var a=r(8859);function o(){return(0,a.Z)({url:"/common/getList",method:"post"})}function i(){return(0,a.Z)({url:"/common/getTreeData",method:"post"})}function l(e){return(0,a.Z)({url:"/common/updateEqSeq",method:"post",data:e})}function n(e){return(0,a.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:e,timeout:6e4})}function s(e){return(0,a.Z)({url:"/common/getAlarmData",method:"post",data:e})}function d(e){return(0,a.Z)({url:"/common/getProductData",method:"post",data:e})}function u(e){return(0,a.Z)({url:"/common/getMaterialData",method:"post",data:e})}const p="/api/common/attachment/uploadFileFormData"},5093:function(e,t,r){r.d(t,{EM:function(){return m},EO:function(){return h},F7:function(){return T},Hq:function(){return $},Mk:function(){return o},Nm:function(){return O},SN:function(){return v},To:function(){return d},Tp:function(){return y},W9:function(){return s},Xe:function(){return u},YV:function(){return i},a1:function(){return w},ag:function(){return S},dg:function(){return N},j4:function(){return L},k5:function(){return n},lb:function(){return p},n8:function(){return C},nG:function(){return b},nn:function(){return g},sq:function(){return l},w3:function(){return c},wM:function(){return Z},xz:function(){return k},zz:function(){return f}});var a=r(8859);function o(e){return(0,a.Z)({url:"/order/workOrderProcess/getProcessInfo",method:"post",data:e})}function i(e){return(0,a.Z)({url:"/order/workOrderProcess/lineGlassCount",method:"post",data:e})}function l(e){return(0,a.Z)({url:"/order/workOrderProcess/grindGlassCount",method:"post",data:e})}function n(e){return(0,a.Z)({url:"/order/workOrderProcess/FinalClassCount",method:"post",data:e})}function s(e){return(0,a.Z)({url:"/order/workOrder/page",method:"post",data:e})}function d(e){return(0,a.Z)({url:"/order/workOrder/add",method:"post",data:e})}function u(e){return(0,a.Z)({url:"/order/workOrder/delete",method:"post",data:e})}function p(e){return(0,a.Z)({url:"/order/workOrder/update",method:"post",data:e})}function c(e){return(0,a.Z)({url:"/order/workOrder/get",method:"post",data:e})}function m(e){return(0,a.Z)({url:"/order/workOrder/release",method:"post",data:e})}function h(e){return(0,a.Z)({url:"/order/workOrder/finish",method:"post",data:e})}function f(e){return(0,a.Z)({url:"/order/workOrder/importTemplate",method:"post",data:e})}const y="/api/order/workOrder/import";function g(e){return(0,a.Z)({url:"/order/proReport/pageThickness",method:"post",data:e})}function b(e){return(0,a.Z)({url:"/order/proReport/genTable",method:"post",formState:!0,data:e})}function w(e){return(0,a.Z)({url:"/order/unloadPallet/page",method:"post",data:e})}function T(e){return(0,a.Z)({url:"/order/unloadPallet/add",method:"post",data:e})}function k(e){return(0,a.Z)({url:"/order/unloadPallet/get",method:"post",data:e})}function S(e){return(0,a.Z)({url:"/order/unloadPallet/update",method:"post",data:e})}function L(e){return(0,a.Z)({url:"/order/unloadPallet/verify",method:"post",formState:!0,data:e})}function v(e){return(0,a.Z)({url:"/order/unloadPallet/finish",method:"post",data:e})}function N(e){return(0,a.Z)({url:"/order/unloadPallet/continuePack",method:"post",data:e})}function O(e){return(0,a.Z)({url:"/order/unloadPallet/getDetail",method:"post",data:e})}function C(e){return(0,a.Z)({url:"/order/unloadPallet/glassIdTrace",method:"post",formState:!0,data:e})}function Z(e){return(0,a.Z)({url:"/order/reloadRack/reload",method:"post",data:e})}function $(e){return(0,a.Z)({url:"/order/reloadRack/end",method:"post",data:e})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2407],{2407:function(e,t,r){r.r(t),r.d(t,{default:function(){return L}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"page-box"},[t("search-bar",{ref:"searchBarForm",staticClass:"searchStyle",attrs:{formConfigs:e.formConfig},on:{headBtnClick:e.buttonClick}},[t("div",{staticStyle:{display:"inline-block"}},[t("el-upload",{staticStyle:{display:"inline-block"},attrs:{data:e.dataObj,name:"excel","on-success":e.importFile,"on-error":e.importFileError,action:e.uploadApi,"show-file-list":!1,headers:{token:e.token}}},[t("el-button",{attrs:{type:"primary",size:"small",plain:""}},[e._v("导入")])],1)],1)]),t("base-table",{attrs:{page:e.listQuery.current,limit:e.listQuery.size,"table-props":e.tableProps,"table-data":e.tableData,"max-height":e.tableH}},[e.tableBtn.length?t("method-btn",{attrs:{slot:"handleBtn",width:165,label:"操作",fixed:"right","method-list":e.tableBtn},on:{clickBtn:e.handleClick},slot:"handleBtn"}):e._e()],1),t("pagination",{attrs:{page:e.listQuery.current,limit:e.listQuery.size,total:e.total},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()}}}),t("base-dialog",{attrs:{dialogTitle:e.addOrEditTitle,dialogVisible:e.centervisible,"before-close":e.handleCancel},on:{cancel:e.handleCancel,confirm:e.handleConfirm}},[t("work-order-add",{ref:"workOrderAdd",on:{successSubmit:e.successSubmit}})],1)],1)},o=[],i=r(475),l=function(){var e=this,t=e._self._c;return t("el-form",{ref:"form",attrs:{rules:e.rules,"label-width":"110px",model:e.form}},[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"产线",prop:"productionLineId"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:e.form.productionLineId,callback:function(t){e.$set(e.form,"productionLineId",t)},expression:"form.productionLineId"}},e._l(e.productionLineList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"工单编号",prop:"code"}},[t("el-input",{attrs:{placeholder:"工单编号"},model:{value:e.form.code,callback:function(t){e.$set(e.form,"code",t)},expression:"form.code"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"工单类型",prop:"type"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"工单类型"},on:{change:e.selectType},model:{value:e.form.type,callback:function(t){e.$set(e.form,"type",t)},expression:"form.type"}},e._l(e.orderTypeList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.dataName,value:e.dataCode}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"复磨面",prop:"regrind"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"复磨面",disabled:e.isDisabled},model:{value:e.form.regrind,callback:function(t){e.$set(e.form,"regrind",t)},expression:"form.regrind"}},e._l(e.regrindList,(function(e){return t("el-option",{key:e.dataName,attrs:{label:e.dataName,value:e.dataName}})})),1)],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划类型",prop:"planType"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"计划类型"},model:{value:e.form.planType,callback:function(t){e.$set(e.form,"planType",t)},expression:"form.planType"}},e._l(e.planTypeList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.dataName,value:e.dataCode}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划数量",prop:"planNum"}},[t("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"计划数量",min:1,max:999999999999,precision:0},model:{value:e.form.planNum,callback:function(t){e.$set(e.form,"planNum",t)},expression:"form.planNum"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"产品型号",prop:"productSpec"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产品型号"},model:{value:e.form.productSpec,callback:function(t){e.$set(e.form,"productSpec",t)},expression:"form.productSpec"}},e._l(e.productionSpecList,(function(e){return t("el-option",{key:e.dataName,attrs:{label:e.dataName,value:e.dataName}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"预交货期",prop:"planDeliveryTime"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"预交货期"},model:{value:e.form.planDeliveryTime,callback:function(t){e.$set(e.form,"planDeliveryTime",t)},expression:"form.planDeliveryTime"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划开始时间",prop:"planStartTime"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划开始时间"},model:{value:e.form.planStartTime,callback:function(t){e.$set(e.form,"planStartTime",t)},expression:"form.planStartTime"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划结束时间",prop:"planEndTime"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划结束时间"},model:{value:e.form.planEndTime,callback:function(t){e.$set(e.form,"planEndTime",t)},expression:"form.planEndTime"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"备注",prop:"remark"}},[t("el-input",{attrs:{placeholder:"备注"},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1)],1)],1)],1)},n=[],s=r(5093),d=r(381),u=r.n(d),p={name:"WorkOrderAdd",data(){return{form:{id:"",productionLineId:"",code:"",type:"",regrind:"无",planType:"",planNum:"",productSpec:"",planDeliveryTime:"",planStartTime:"",planEndTime:"",remark:""},rules:{productionLineId:[{required:!0,message:"请选择产线",trigger:"change"}],code:[{required:!0,message:"请输入工单编号",trigger:"blur"}],type:[{required:!0,message:"请选择工单类型",trigger:"change"}],regrind:[{required:!0,message:"请选择复磨面",trigger:"change"}],planType:[{required:!0,message:"请选择计划类型",trigger:"change"}],planNum:[{required:!0,message:"请输入计划数量",trigger:"blur"}],productSpec:[{required:!0,message:"请选择产品型号",trigger:"change"}],planDeliveryTime:[{required:!0,message:"请选择预交货期",trigger:"change"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,orderTypeList:JSON.parse(localStorage.getItem("publicList")).orderTypeVoList,regrindList:JSON.parse(localStorage.getItem("publicList")).regrindVoList,planTypeList:JSON.parse(localStorage.getItem("publicList")).planTypeVoList,productionSpecList:JSON.parse(localStorage.getItem("publicList")).productModelVoList,isDisabled:!0}},methods:{init(e){e?(this.form.id=e,(0,s.w3)({id:e}).then((e=>{0===e.code&&(this.form.productionLineId=e.data.productionLineId,this.form.code=e.data.code,this.form.type=e.data.type,0!==this.form.type?this.isDisabled=!1:this.isDisabled=!0,this.form.regrind=e.data.regrind,this.form.planType=e.data.planType,this.form.planNum=e.data.planNum,this.form.productSpec=e.data.productSpec,this.form.planDeliveryTime=e.data.planDeliveryTime,this.form.planStartTime=e.data.planStartTime,this.form.planEndTime=e.data.planEndTime,this.form.remark=e.data.remark)}))):(this.form.planStartTime=u()().format("yyyy-MM-DDTHH:mm:ss"),this.form.id="",this.isDisabled=!0,this.form.regrind="无")},selectType(e){0!==e?this.isDisabled=!1:(this.isDisabled=!0,this.form.regrind="无")},submitForm(){this.$refs["form"].validate((e=>{if(!e)return!1;this.form.id?(0,s.lb)({...this.form}).then((e=>{0===e.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.To)({...this.form}).then((e=>{0===e.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields()}}},c=p,m=r(1001),h=(0,m.Z)(c,l,n,!1,null,null,null),f=h.exports,y=r(5591),g=r(1836);const b=[{prop:"proLineName",label:"产线名称",width:100},{prop:"planType",label:"计划类型",filter:(0,i.fW)("planTypeVoList"),width:100},{prop:"status",label:"工单状态",filter:(0,i.fW)("orderStatusVoList"),width:100},{prop:"code",label:"工单编号",width:150},{prop:"type",label:"工单类型",filter:(0,i.fW)("orderTypeVoList"),width:100},{prop:"productSpec",label:"产品型号",width:120},{prop:"regrind",label:"复磨面",width:100},{prop:"planStartTime",label:"计划开始时间",filter:i.g6,width:160},{prop:"planEndTime",label:"计划结束时间",filter:i.g6,width:160},{prop:"planNum",label:"计划数量",width:100},{prop:"planDeliveryTime",label:"交货期",filter:i.g6,width:160},{prop:"releaseTime",label:"下发时间",filter:i.g6,width:160},{prop:"startTime",label:"实际开始时间",filter:i.g6,width:160},{prop:"endTime",label:"实际结束时间",filter:i.g6,width:160},{prop:"finishNum",label:"完成数量",width:100},{prop:"okNum",label:"成品数量",width:100},{prop:"wasteNum",label:"废品数量",width:100},{prop:"reprocessNum",label:"待再加工数量",width:150},{prop:"creatorName",label:"创建人",width:100},{prop:"createTime",label:"创建时间",filter:i.g6,width:160},{prop:"remark",label:"备注",width:150,showOverflowtooltip:!0}],w=[{type:"start",btnName:"下发",showParam:{type:"&",data:[{type:"equal",name:"status",value:0}]}},{type:"end",btnName:"结束",showParam:{type:"&",data:[{type:"equal",name:"status",value:1}]}},{type:"edit",btnName:"编辑",showParam:{type:"&",data:[{type:"equal",name:"status",value:0}]}},{type:"delete",btnName:"删除",showParam:{type:"&",data:[{type:"equal",name:"status",value:0}]}}];var T={name:"WorkOrderManagement",components:{WorkOrderAdd:f},data(){return{formConfig:[{type:"datePicker",label:"计划开始时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"select",label:"工单类型",selectOptions:JSON.parse(localStorage.getItem("publicList")).orderTypeVoList,labelField:"dataName",valueField:"dataCode",param:"type",defaultSelect:"",width:100},{type:"select",label:"工单状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).orderStatusVoList,labelField:"dataName",valueField:"dataCode",param:"status",defaultSelect:"",width:100},{type:"select",label:"计划类型",selectOptions:JSON.parse(localStorage.getItem("publicList")).planTypeVoList,labelField:"dataName",valueField:"dataCode",param:"planType",defaultSelect:"",width:100},{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"",width:120},{type:"input",label:"工单编号",placeholder:"工单编号",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0},{type:"button",btnName:"模板下载",name:"export",color:"primary",plain:!0}],tableProps:b,tableData:[],tableBtn:w,tableH:(0,i.NC)(315),total:0,listQuery:{current:1,size:20},uploadApi:s.Tp,centervisible:!1,addOrEditTitle:"",token:(0,g.LP)(),dataObj:{typeCode:"importWorkCode"}}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(315)})),this.getList()},methods:{getList(){(0,s.W9)({...this.listQuery}).then((e=>{console.log(e),0===e.code&&(this.total=e.data.total,this.tableData=e.data.records)}))},buttonClick(e){switch(e.btnName){case"search":this.listQuery.startTime=e.timeVal?e.timeVal[0]:"",this.listQuery.endTime=e.timeVal?e.timeVal[1]:"",this.listQuery.type=e.type,this.listQuery.status=e.status,this.listQuery.planType=e.planType,this.listQuery.proLineId=e.proLineId,this.listQuery.code=e.code,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.type=null,this.listQuery.status=null,this.listQuery.planType=null,this.listQuery.proLineId=null,this.listQuery.code="",this.listQuery.current=1,this.getList();break;case"add":this.addOrEditTitle="新增",this.$nextTick((()=>{this.$refs.workOrderAdd.init()})),this.centervisible=!0;break;default:console.log("模板下载"),(0,s.zz)().then((e=>{(0,y.FH)({attachmentId:e.data.id,type:1}).then((e=>{let t="";const r=e.headers["content-disposition"];r&&(t=decodeURIComponent(r.slice(r.indexOf("filename=")+9)));const a=new Blob([e.data]),o=new FileReader;o.readAsDataURL(a),o.onload=e=>{const r=document.createElement("a");r.download=t,r.href=e.target.result,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}))}))}},handleClick(e){"edit"===e.type?(this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.workOrderAdd.init(e.data.id)})),this.centervisible=!0):"start"===e.type?this.$confirm('确认下发工单"'+e.data.code+'"吗?',{type:"warning"}).then((()=>{(0,s.EM)({id:e.data.id}).then((()=>{this.$message({message:"工单下发成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{})):"end"===e.type?this.$confirm('确认结束工单"'+e.data.code+'"吗?',{type:"warning"}).then((()=>{(0,s.EO)({id:e.data.id}).then((()=>{this.$message({message:"工单结束成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{})):"delete"===e.type&&this.$confirm('确认删除工单"'+e.data.code+'"吗?',{type:"warning"}).then((()=>{(0,s.Xe)({id:e.data.id}).then((()=>{this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))},handleCancel(){this.$refs.workOrderAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.workOrderAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()},importFile(e){0===e.code&&(this.$message({message:"工单导入成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList())},importFileError(e){e&&this.$message({message:"工单导入失败,请检查格式是否正确",type:"error",duration:1500,onClose:()=>{}})}}},k=T,S=(0,m.Z)(k,a,o,!1,null,"018c1e50",null),L=S.exports},5591:function(e,t,r){r.d(t,{FH:function(){return n},Hp:function(){return s},JQ:function(){return l},SI:function(){return i},WQ:function(){return p},b6:function(){return d},iv:function(){return o},m:function(){return u}});var a=r(8859);function o(){return(0,a.Z)({url:"/common/getList",method:"post"})}function i(){return(0,a.Z)({url:"/common/getTreeData",method:"post"})}function l(e){return(0,a.Z)({url:"/common/updateEqSeq",method:"post",data:e})}function n(e){return(0,a.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:e,timeout:6e4})}function s(e){return(0,a.Z)({url:"/common/getAlarmData",method:"post",data:e})}function d(e){return(0,a.Z)({url:"/common/getProductData",method:"post",data:e})}function u(e){return(0,a.Z)({url:"/common/getMaterialData",method:"post",data:e})}const p="/api/common/attachment/uploadFileFormData"},5093:function(e,t,r){r.d(t,{EM:function(){return m},EO:function(){return h},F7:function(){return T},Hq:function(){return $},Mk:function(){return o},Nm:function(){return O},SN:function(){return v},To:function(){return d},Tp:function(){return y},W9:function(){return s},Xe:function(){return u},YV:function(){return i},a1:function(){return w},ag:function(){return S},dg:function(){return N},j4:function(){return L},k5:function(){return n},lb:function(){return p},n8:function(){return C},nG:function(){return b},nn:function(){return g},sq:function(){return l},w3:function(){return c},wM:function(){return Z},xz:function(){return k},zz:function(){return f}});var a=r(8859);function o(e){return(0,a.Z)({url:"/order/workOrderProcess/getProcessInfo",method:"post",data:e})}function i(e){return(0,a.Z)({url:"/order/workOrderProcess/lineGlassCount",method:"post",data:e})}function l(e){return(0,a.Z)({url:"/order/workOrderProcess/grindGlassCount",method:"post",data:e})}function n(e){return(0,a.Z)({url:"/order/workOrderProcess/FinalClassCount",method:"post",data:e})}function s(e){return(0,a.Z)({url:"/order/workOrder/page",method:"post",data:e})}function d(e){return(0,a.Z)({url:"/order/workOrder/add",method:"post",data:e})}function u(e){return(0,a.Z)({url:"/order/workOrder/delete",method:"post",data:e})}function p(e){return(0,a.Z)({url:"/order/workOrder/update",method:"post",data:e})}function c(e){return(0,a.Z)({url:"/order/workOrder/get",method:"post",data:e})}function m(e){return(0,a.Z)({url:"/order/workOrder/release",method:"post",data:e})}function h(e){return(0,a.Z)({url:"/order/workOrder/finish",method:"post",data:e})}function f(e){return(0,a.Z)({url:"/order/workOrder/importTemplate",method:"post",data:e})}const y="/api/order/workOrder/import";function g(e){return(0,a.Z)({url:"/order/proReport/pageThickness",method:"post",data:e})}function b(e){return(0,a.Z)({url:"/order/proReport/genTable",method:"post",formState:!0,data:e})}function w(e){return(0,a.Z)({url:"/order/unloadPallet/page",method:"post",data:e})}function T(e){return(0,a.Z)({url:"/order/unloadPallet/add",method:"post",data:e})}function k(e){return(0,a.Z)({url:"/order/unloadPallet/get",method:"post",data:e})}function S(e){return(0,a.Z)({url:"/order/unloadPallet/update",method:"post",data:e})}function L(e){return(0,a.Z)({url:"/order/unloadPallet/verify",method:"post",formState:!0,data:e})}function v(e){return(0,a.Z)({url:"/order/unloadPallet/finish",method:"post",data:e})}function N(e){return(0,a.Z)({url:"/order/unloadPallet/continuePack",method:"post",data:e})}function O(e){return(0,a.Z)({url:"/order/unloadPallet/getDetail",method:"post",data:e})}function C(e){return(0,a.Z)({url:"/order/unloadPallet/glassIdTrace",method:"post",formState:!0,data:e})}function Z(e){return(0,a.Z)({url:"/order/reloadRack/reload",method:"post",data:e})}function $(e){return(0,a.Z)({url:"/order/reloadRack/end",method:"post",data:e})}}}]); \ No newline at end of file diff --git a/dist/js/2413.d31f52c3.js b/dist/js/2413.80fdfff2.js similarity index 58% rename from dist/js/2413.d31f52c3.js rename to dist/js/2413.80fdfff2.js index 1fce4b1..cf36c1b 100644 --- a/dist/js/2413.d31f52c3.js +++ b/dist/js/2413.80fdfff2.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2413],{8027:function(t,e,n){n.d(e,{Z:function(){return l}});var r=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},i=[],a={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},o=a,s=n(1001),u=(0,s.Z)(o,r,i,!1,null,null,null),l=u.exports},2413:function(t,e,n){n.r(e),n.d(e,{default:function(){return C}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("line-side-library-add",{ref:"lineSideLibraryAdd",on:{successSubmit:t.successSubmit}})],1)],1)},i=[],a=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.name,value:t.id}})})),1)],1),e("el-form-item",{attrs:{label:"线边库",prop:"name"}},[e("el-input",{attrs:{placeholder:"线边库"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},o=[],s=n(910),u={name:"LineSideLibraryConfigAdd",data(){return{form:{id:"",proLineId:"",name:"",enabled:1},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],name:[{required:!0,message:"请输入线边库",trigger:"blur"}]},isEdit:!1}},methods:{init(t){t?(this.isEdit=!0,this.form.id=t,(0,s.tb)({id:t}).then((t=>{0===t.code&&(this.form.proLineId=t.data.proLineId,this.form.name=t.data.name,this.form.enabled=t.data.enabled)}))):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,s.Kl)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.Qj)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},l=u,d=n(1001),c=(0,d.Z)(l,a,o,!1,null,null,null),p=c.exports,f=n(475),m=n(8027);const h=[{prop:"proLineId",filter:(0,f.fW)("proLineVoList"),label:"产线"},{prop:"name",label:"线边库"},{prop:"enabled",label:"状态",width:120,subcomponent:m.Z}],b=[{type:"edit",btnName:"编辑"}];var g={name:"LineSideLibraryConfig",components:{LineSideLibraryAdd:p},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"",width:120},{type:"input",label:"线边库",placeholder:"线边库",param:"name"},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:h,tableData:[],tableBtn:b,tableH:(0,f.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,f.NC)(265)})),this.getList()},methods:{getList(){(0,s.qT)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.proLineId=t.proLineId,this.listQuery.name=t.name,this.listQuery.enabled=t.enabled,this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.lineSideLibraryAdd.init()}))}},handleClick(t){this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.lineSideLibraryAdd.init(t.data.id)})),this.centervisible=!0},handleCancel(){this.$refs.lineSideLibraryAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.lineSideLibraryAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},L=g,y=(0,d.Z)(L,r,i,!1,null,null,null),C=y.exports},910:function(t,e,n){n.d(e,{$0:function(){return k},A0:function(){return w},D0:function(){return o},ER:function(){return _},Hg:function(){return B},J_:function(){return Q},Kl:function(){return v},ME:function(){return d},Or:function(){return g},P4:function(){return l},Py:function(){return c},QL:function(){return q},Qj:function(){return Z},Sc:function(){return h},W0:function(){return D},WZ:function(){return m},Wj:function(){return u},Zs:function(){return i},_:function(){return E},_1:function(){return L},a:function(){return A},ag:function(){return N},b8:function(){return b},dN:function(){return p},fZ:function(){return f},gz:function(){return y},jF:function(){return a},kB:function(){return T},m3:function(){return j},oW:function(){return I},qT:function(){return C},sU:function(){return s},sy:function(){return O},tb:function(){return S},wy:function(){return x},xf:function(){return $},yk:function(){return P}});var r=n(8859);function i(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function a(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function _(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function O(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function j(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function B(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2413],{8027:function(t,e,n){n.d(e,{Z:function(){return l}});var r=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},i=[],a={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},o=a,s=n(1001),u=(0,s.Z)(o,r,i,!1,null,null,null),l=u.exports},2413:function(t,e,n){n.r(e),n.d(e,{default:function(){return C}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("line-side-library-add",{ref:"lineSideLibraryAdd",on:{successSubmit:t.successSubmit}})],1)],1)},i=[],a=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.name,value:t.id}})})),1)],1),e("el-form-item",{attrs:{label:"线边库",prop:"name"}},[e("el-input",{attrs:{placeholder:"线边库"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},o=[],s=n(910),u={name:"LineSideLibraryConfigAdd",data(){return{form:{id:"",proLineId:"",name:"",enabled:1},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],name:[{required:!0,message:"请输入线边库",trigger:"blur"}]},isEdit:!1}},methods:{init(t){t?(this.isEdit=!0,this.form.id=t,(0,s.tb)({id:t}).then((t=>{0===t.code&&(this.form.proLineId=t.data.proLineId,this.form.name=t.data.name,this.form.enabled=t.data.enabled)}))):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,s.Kl)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.Qj)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},l=u,d=n(1001),c=(0,d.Z)(l,a,o,!1,null,null,null),p=c.exports,f=n(475),m=n(8027);const h=[{prop:"proLineId",filter:(0,f.fW)("proLineVoList"),label:"产线"},{prop:"name",label:"线边库"},{prop:"enabled",label:"状态",width:120,subcomponent:m.Z}],b=[{type:"edit",btnName:"编辑"}];var g={name:"LineSideLibraryConfig",components:{LineSideLibraryAdd:p},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"",width:120},{type:"input",label:"线边库",placeholder:"线边库",param:"name"},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:h,tableData:[],tableBtn:b,tableH:(0,f.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,f.NC)(265)})),this.getList()},methods:{getList(){(0,s.qT)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.proLineId=t.proLineId,this.listQuery.name=t.name,this.listQuery.enabled=t.enabled,this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.lineSideLibraryAdd.init()}))}},handleClick(t){this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.lineSideLibraryAdd.init(t.data.id)})),this.centervisible=!0},handleCancel(){this.$refs.lineSideLibraryAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.lineSideLibraryAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},L=g,y=(0,d.Z)(L,r,i,!1,null,null,null),C=y.exports},910:function(t,e,n){n.d(e,{$0:function(){return N},A0:function(){return k},D0:function(){return o},ER:function(){return Q},Hg:function(){return D},J_:function(){return T},Kl:function(){return w},ME:function(){return d},Or:function(){return g},P4:function(){return l},Py:function(){return c},QL:function(){return P},Qj:function(){return S},Sc:function(){return h},Sl:function(){return L},W0:function(){return z},WZ:function(){return m},Wj:function(){return u},Zs:function(){return i},_:function(){return _},_1:function(){return y},a:function(){return B},ag:function(){return $},b8:function(){return b},dN:function(){return p},fZ:function(){return f},gz:function(){return C},jF:function(){return a},kB:function(){return O},m3:function(){return A},oW:function(){return E},qT:function(){return Z},sU:function(){return s},sy:function(){return x},tb:function(){return v},wy:function(){return q},xf:function(){return I},yk:function(){return j}});var r=n(8859);function i(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function a(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function _(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function Q(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function O(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function j(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function B(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function z(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/2581.2315967d.js b/dist/js/2581.2315967d.js new file mode 100644 index 0000000..e53f1de --- /dev/null +++ b/dist/js/2581.2315967d.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2581],{2581:function(t,e,a){a.r(e),a.d(e,{default:function(){return $}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectType}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}}),e("pagination",{attrs:{limit:t.listQuery.size,total:t.total}}),t.centervisible?e("sampling-add",{ref:"samplingList",on:{successSubmit:t.getList}}):t._e(),t.centervisible2?e("standar-setting",{ref:"standardList",on:{successSubmit:t.getList}}):t._e()],1)},o=[],l=a(475),s=function(){var t=this,e=t._self._c;return e("el-drawer",{staticClass:"samplingAdd",attrs:{title:"抽检录入",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("el-form",{ref:"form",staticClass:"form-box",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-row",{staticClass:"first-line",attrs:{gutter:20}},[e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"抽检人",prop:"detector"}},[e("el-input",{model:{value:t.form.detector,callback:function(e){t.$set(t.form,"detector",e)},expression:"form.detector"}})],1)],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"玻璃ID",prop:"glassId"}},[e("el-input",{model:{value:t.form.glassId,callback:function(e){t.$set(t.form,"glassId",e)},expression:"form.glassId"}})],1)],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"抽检时间",prop:"detectTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",placeholder:"选择抽检时间","value-format":"yyyy-MM-DDTHH:mm:ss"},model:{value:t.form.detectTime,callback:function(e){t.$set(t.form,"detectTime",e)},expression:"form.detectTime"}})],1)],1)],1),e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticStyle:{display:"inline-block","margin-right":"10px"}},[e("el-form-item",{attrs:{label:"型号",prop:"model"}},[e("el-radio-group",{on:{change:t.selectStandard},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.productModelVoList,(function(a){return e("el-radio-button",{key:a.dataCode,attrs:{label:a.dataName}},[t._v(t._s(a.dataName))])})),1)],1)],1),e("div",{staticStyle:{display:"inline-block"}},[e("el-form-item",{attrs:{label:"检验项目",prop:"detectItem"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"检验项目"},on:{change:t.selectItem},model:{value:t.form.detectItem,callback:function(e){t.$set(t.form,"detectItem",e)},expression:"form.detectItem"}},t._l(t.testItemList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)])],1),e("el-row",[e("el-col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:24}},[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"highlight-current-row":""},on:{emitFun:t.inputChange}})],1)],1),e("el-row",{staticClass:"bottom"},[e("el-col",{staticStyle:{"text-align":"right"},attrs:{span:24}},[e("el-form-item",[e("el-button",{on:{click:t.closeForm}},[t._v("取消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("保存")])],1)],1)],1)],1)],1)},i=[],n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"tableInner"},[e("el-input",{on:{blur:t.changeInput},model:{value:t.list[t.itemProp],callback:function(e){t.$set(t.list,t.itemProp,e)},expression:"list[itemProp]"}})],1)},d=[],m={name:"InputArea",props:{injectData:{type:Object,default:()=>({})},itemProp:{type:String}},data(){return{list:this.injectData}},methods:{changeInput(){console.log(this.list),this.$emit("emitData",this.list)}}},c=m,u=a(1001),p=(0,u.Z)(c,n,d,!1,null,null,null),f=p.exports,h=a(2334),b=a(381),g=a.n(b);const y=[{prop:"detectItem",label:"检验项目"},{prop:"detectPoint",label:"检测点"},{prop:"detectStandard",label:"检验标准"},{prop:"value",label:"实测值",subcomponent:f},{prop:"result",label:"抽检结果",subcomponent:f},{prop:"remark",label:"备注",subcomponent:f}];var I={name:"SamplingAdd",data(){return{visible:!1,form:{model:"",detectItem:"",detector:"",glassId:"",detectTime:""},testItemList:JSON.parse(localStorage.getItem("publicList")).checkItemVoList,productModelVoList:JSON.parse(localStorage.getItem("publicList")).productModelVoList,rules:{model:[{required:!0,message:"请输入选择型号",trigger:"blur"}],detectItem:[{required:!0,message:"请选择检验项目",trigger:"change"}],detector:[{required:!0,message:"请输入抽检人",trigger:"blur"}],glassId:[{required:!0,message:"请选择玻璃ID",trigger:"change"}],detectTime:[{required:!0,message:"请选择抽检时间",trigger:"change"}]},tableProps:y,tableData:[],tableH:(0,l.NC)(250)}},methods:{init(){this.visible=!0,window.addEventListener("resize",(()=>{this.tableH=(0,l.NC)(250)})),this.form.model="G8.5",this.form.detectTime=g()().format("yyyy-MM-DD HH:mm:ss")},selectItem(){this.getStandard()},selectStandard(){this.form.detectItem&&this.getStandard()},getStandard(){(0,h.jA)({productSpec:this.form.model,detectItem:this.form.detectItem}).then((t=>{console.log(t),0===t.code?this.tableData=t.data:this.tableData=[]}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return console.log("error submit!!"),!1;{if(0===this.tableData.length)return this.$message({message:"请先到标准设置中添加该检测项目的检测点",type:"error",duration:2e3}),!1;let t=[];for(let e of this.tableData){let a={};a.detectStandardId=e.id,a.detectTime=g()(this.form.detectTime).format("yyyy-MM-DDTHH:mm:ss"),a.detector=this.form.detector,a.glassId=this.form.glassId,a.remark=e.remark?e.remark:"",a.result=e.result?e.result:"",a.value=e.value?e.value:"",t.push(a)}(0,h.Af)(t).then((t=>{0===t.code&&(this.$message({message:"保存成功",type:"success",duration:1500,onClose:()=>{}}),this.$emit("successSubmit"),this.formClear(),this.visible=!1)}))}}))},closeForm(){this.formClear(),this.visible=!1},formClear(){this.$refs.form.resetFields(),this.tableData=[]},inputChange(t){this.tableData[t._pageIndex-1][t.prop]=t[t.prop]}}},C=I,v=(0,u.Z)(C,s,i,!1,null,"2adb9530",null),S=v.exports,D=function(){var t=this,e=t._self._c;return e("el-drawer",{staticClass:"standardSetting",attrs:{title:"标准值设置",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("el-form",{ref:"form",staticClass:"form-box",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticStyle:{display:"inline-block","margin-right":"10px"}},[e("el-form-item",{attrs:{label:"型号",prop:"model"}},[e("el-radio-group",{on:{change:t.selectStandard},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.productModelVoList,(function(a){return e("el-radio-button",{key:a.dataCode,attrs:{label:a.dataName}},[t._v(t._s(a.dataName))])})),1)],1)],1),e("div",{staticStyle:{display:"inline-block"}},[e("el-form-item",{attrs:{label:"检验项目",prop:"detectItem"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"检验项目"},on:{change:t.selectItem},model:{value:t.form.detectItem,callback:function(e){t.$set(t.form,"detectItem",e)},expression:"form.detectItem"}},t._l(t.testItemList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)])],1),e("el-row",[e("el-col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:24}},[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"add-button-show":t.addButtonShow,"highlight-current-row":""},on:{emitFun:t.inputChange,emitButtonClick:t.addNew}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1)],1)],1),e("el-row",{staticClass:"bottom"},[e("el-col",{staticStyle:{"text-align":"right"},attrs:{span:24}},[e("el-form-item",[e("el-button",{on:{click:t.closeForm}},[t._v("取消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("保存")])],1)],1)],1)],1)],1)},k=[];const T=[{prop:"detectItem",label:"检验项目",subcomponent:f},{prop:"detectPoint",label:"检测点",subcomponent:f},{prop:"detectStandard",label:"检验标准",subcomponent:f}],w=[{type:"delete",btnName:"编辑"}];var x={name:"StandarSetting",data(){return{visible:!1,form:{model:"",detectItem:""},testItemList:JSON.parse(localStorage.getItem("publicList")).checkItemVoList,productModelVoList:JSON.parse(localStorage.getItem("publicList")).productModelVoList,rules:{model:[{required:!0,message:"请输入选择型号",trigger:"blur"}],detectItem:[{required:!0,message:"请选择检验项目",trigger:"change"}]},tableProps:T,tableData:[],tableBtn:w,addButtonShow:"新增",tableH:(0,l.NC)(250)}},methods:{init(){this.visible=!0,window.addEventListener("resize",(()=>{this.tableH=(0,l.NC)(250)})),this.form.model="G8.5"},selectItem(){this.getStandard()},selectStandard(){this.form.detectItem&&this.getStandard()},getStandard(){(0,h.jA)({productSpec:this.form.model,detectItem:this.form.detectItem}).then((t=>{console.log(t),0===t.code?this.tableData=t.data:this.tableData=[]}))},handleClick(t){this.tableData.splice(t._pageIndex,1)},submitForm(){this.$refs["form"].validate((t=>{if(!t)return console.log("error submit!!"),!1;if(0===this.tableData.length)return this.$message({message:"请点击新增按钮添加标准值后再保存",type:"error",duration:1500}),!1;for(let e of this.tableData)if(!e.detectItem||!e.detectPoint||!e.detectStandard)return this.$message({message:"表格中有数据空缺,请检查",type:"error",duration:1500}),!1;for(let e of this.tableData)e.productSpec=this.form.model;(0,h.QI)(this.tableData).then((t=>{0===t.code&&(this.$message({message:"保存成功",type:"success",duration:1500,onClose:()=>{}}),this.$emit("successSubmit"),this.formClear(),this.visible=!1)}))}))},closeForm(){this.formClear(),this.visible=!1},formClear(){this.$refs.form.resetFields(),this.tableData=[]},inputChange(t){this.tableData[t._pageIndex-1][t.prop]=t[t.prop]},addNew(){if(!this.form.detectItem)return this.$message({message:"请先选择检验项目",type:"error",duration:1500}),!1;let t={};t.detectItem=this.form.detectItem,t.detectPoint="",t.detectStandard="",this.tableData.push(t)}}},q=x,L=(0,u.Z)(q,D,k,!1,null,"fbc9d82a",null),N=L.exports;const P=[{prop:"glassId",label:"玻璃ID",minWidth:100},{prop:"detectItem",label:"检验项目",minWidth:100},{prop:"detectPoint",label:"检测点",minWidth:100},{prop:"detectStandard",label:"检验标准",minWidth:100},{prop:"value",label:"实测值",minWidth:100},{prop:"result",label:"抽检结果",minWidth:100},{prop:"detector",label:"抽检人",minWidth:100},{prop:"detectTime",label:"抽检时间",filter:l.g6,minWidth:150},{prop:"remark",label:"备注",minWidth:150}];var Z={name:"ProcessSampling",components:{SamplingAdd:S,StandarSetting:N},data(){return{formConfig:[{type:"select",label:"查询方式",selectOptions:[{id:1,name:"玻璃ID"},{id:2,name:"抽检人"},{id:3,name:"检验项目"}],param:"type",defaultSelect:"",onchange:!0,width:150},{type:"",label:"",placeholder:"玻璃ID",param:"glassId"},{type:"",label:"",placeholder:"抽检人",param:"detector",width:150},{type:"",label:"",selectOptions:JSON.parse(localStorage.getItem("publicList")).checkItemVoList,param:"detectItem",labelField:"dataName",valueField:"dataName",defaultSelect:"",width:150},{type:"datePicker",label:"抽检时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"录入",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0},{type:"button",btnName:"标准设置",name:"settings",color:"primary",plain:!0}],tableProps:P,tableData:[],tableH:(0,l.NC)(270),total:0,listQuery:{current:1,size:20,glassId:"",detector:"",detectItem:"",startTime:"",endTime:""},centervisible:!1,addOrEditTitle:"",standardSetting:"标准设置",centervisible2:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,l.NC)(270)})),this.formConfig[4].defaultSelect=[g()().format("yyyy-MM-DD")+"T00:00:00",g()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=g()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=g()().format("yyyy-MM-DD")+"T23:59:59",this.formConfig[0].defaultSelect=1,this.formConfig[1].type="input",this.formConfig[1].label="玻璃ID",this.getList()},methods:{getList(){(0,h.v)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.glassId=1===t.type?t.glassId:"",this.listQuery.detector=2===t.type?t.detector:"",this.listQuery.detectItem=3===t.type?t.detectItem:"",this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.getList();break;case"add":this.addOrEditTitle="抽检录入",this.centervisible=!0,this.$nextTick((()=>{this.$refs.samplingList.init()}));break;case"export":(0,h.pS)({...this.listQuery}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),o=new FileReader;o.readAsDataURL(r),o.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}));break;default:this.centervisible2=!0,this.$nextTick((()=>{this.$refs.standardList.init()}))}},selectType(t){1===t.value?(this.formConfig[0].defaultSelect=1,this.formConfig[1].type="input",this.formConfig[1].label="玻璃ID",this.formConfig[2].type="",this.formConfig[2].label="",this.formConfig[3].type="",this.formConfig[3].label=""):2===t.value?(this.formConfig[0].defaultSelect=2,this.formConfig[1].type="",this.formConfig[1].label="",this.formConfig[2].type="input",this.formConfig[2].label="抽检人",this.formConfig[3].type="",this.formConfig[3].label=""):3===t.value&&(this.formConfig[0].defaultSelect=3,this.formConfig[1].type="",this.formConfig[1].label="",this.formConfig[2].type="",this.formConfig[2].label="",this.formConfig[3].type="select",this.formConfig[3].label="检验项目"),this.formConfig[4].defaultSelect=this.$refs.searchBarForm.formInline.timeVal}}},_=Z,F=(0,u.Z)(_,r,o,!1,null,null,null),$=F.exports},2334:function(t,e,a){a.d(e,{AT:function(){return T},Af:function(){return i},F0:function(){return f},ON:function(){return d},QI:function(){return s},Qd:function(){return h},YU:function(){return p},an:function(){return k},bu:function(){return D},dy:function(){return y},eT:function(){return c},fL:function(){return w},gP:function(){return q},iF:function(){return m},jA:function(){return l},kT:function(){return x},oR:function(){return S},pS:function(){return n},pw:function(){return u},r5:function(){return b},uW:function(){return C},uX:function(){return I},uj:function(){return v},v:function(){return o},vD:function(){return g}});var r=a(8859);function o(t){return(0,r.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function i(t){return(0,r.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function n(t){return(0,r.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function d(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function p(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function C(t){return(0,r.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function D(t){return(0,r.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function T(t){return(0,r.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/2948.3c5a6a87.js b/dist/js/2948.3c5a6a87.js deleted file mode 100644 index 603451a..0000000 --- a/dist/js/2948.3c5a6a87.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2948],{2948:function(t,e,a){a.r(e),a.d(e,{default:function(){return H}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"plan-maintenance"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:170,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addAndEdit,dialogVisible:t.centervisibleAdd,"before-close":t.handleCancelAdd},on:{cancel:t.handleCancelAdd,confirm:t.handleConfirmAdd}},[e("planned-maintenance-add",{ref:"plannedMaintenanceAdd",on:{successSubmit:t.successSubmitAdd}})],1),e("base-dialog",{attrs:{dialogTitle:t.sureAndEdit,dialogVisible:t.centervisibleSure,"before-close":t.handleCancelSure},on:{cancel:t.handleCancelSure,confirm:t.handleConfirmSure}},[e("planned-maintenance-edit",{ref:"plannedMaintenanceEdit",on:{successSubmit:t.successSubmitEdit}})],1)],1)},n=[],i=a(475),o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护工单号",prop:"code"}},[e("el-input",{attrs:{placeholder:"维护工单号",disabled:t.isEdit},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划开始时间",prop:"planStartTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划开始时间"},model:{value:t.form.planStartTime,callback:function(e){t.$set(t.form,"planStartTime",e)},expression:"form.planStartTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划结束时间",prop:"planEndTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划结束时间"},model:{value:t.form.planEndTime,callback:function(e){t.$set(t.form,"planEndTime",e)},expression:"form.planEndTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"equipmentId"}},[e("el-cascader",{staticStyle:{width:"100%"},attrs:{options:t.cascaderOptions,props:{value:"id",label:"name"}},on:{change:t.selectEq},model:{value:t.form.equipmentId,callback:function(e){t.$set(t.form,"equipmentId",e)},expression:"form.equipmentId"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"sparePartModel"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.sparePartModel,callback:function(e){t.$set(t.form,"sparePartModel",e)},expression:"form.sparePartModel"}},t._l(t.sparePartsSpecList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"维护内容",prop:"maintainContent"}},[e("el-input",{attrs:{placeholder:"维护内容"},model:{value:t.form.maintainContent,callback:function(e){t.$set(t.form,"maintainContent",e)},expression:"form.maintainContent"}})],1)],1)],1)],1)},s=[],l=a(910),u=a(147),d=a(381),m=a.n(d),c=a(5591),p={name:"SparePartsAdd",data(){return{form:{id:"",code:"",planStartTime:"",planEndTime:"",proLineId:"",equipmentId:"",sparePartName:"",sparePartModel:"",maintainContent:""},cascaderOptions:[],rules:{code:[{required:!0,message:"请输入维护工单号",trigger:"blur"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}],equipmentId:[{required:!0,message:"请选择设备名称",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],sparePartModel:[{required:!0,message:"请选择备件型号",trigger:"change"}]},sparePartsList:[],sparePartsSpecList:[],isEdit:!1}},mounted(){},methods:{init(t){this.getTree(),this.getNameList(),t?(this.form.id=t,this.isEdit=!0,(0,u.yx)({id:t}).then((t=>{console.log(t),this.form.code=t.data.code,this.form.planStartTime=t.data.planStartTime,this.form.planEndTime=t.data.planEndTime,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.selectModel(this.form.sparePartName,"noClear"),this.form.sparePartModel=t.data.model,this.form.maintainContent=t.data.maintainContent}))):(this.form.planStartTime=m()().format("yyyy-MM-DDTHH:mm:ss"),this.form.planEndTime=m()().add(2,"days").format("yyyy-MM-DDTHH:mm:ss"),this.form.id="",this.isEdit=!1)},getTree(){(0,c.SI)().then((t=>{this.cascaderOptions=t.data}))},selectEq(t){this.form.equipmentId=t[2],this.form.proLineId=t[0]},getNameList(){(0,l.dN)().then((t=>{console.log(t),this.sparePartsList=t.data,this.sparePartsSpecList=[]}))},selectModel(t,e){(0,l.fZ)({name:t}).then((t=>{console.log(t),this.sparePartsSpecList=t.data,"noClear"!==e&&(this.form.sparePartModel="")}))},submitForm(){this.$refs["form"].validate((t=>{if(console.log(this.form),!t)return!1;this.isEdit?(0,u.fK)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,u.Im)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[]}}},f=p,h=a(1001),g=(0,h.Z)(f,o,s,!1,null,null,null),b=g.exports,y=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护工单号",prop:"code"}},[e("el-input",{attrs:{placeholder:"维护工单号",disabled:""},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划开始时间",prop:"planStartTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划开始时间"},model:{value:t.form.planStartTime,callback:function(e){t.$set(t.form,"planStartTime",e)},expression:"form.planStartTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划结束时间",prop:"planEndTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划结束时间"},model:{value:t.form.planEndTime,callback:function(e){t.$set(t.form,"planEndTime",e)},expression:"form.planEndTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"equipmentId"}},[e("el-cascader",{staticStyle:{width:"100%"},attrs:{options:t.cascaderOptions,props:{value:"id",label:"name"}},on:{change:t.selectEq},model:{value:t.form.equipmentId,callback:function(e){t.$set(t.form,"equipmentId",e)},expression:"form.equipmentId"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"sparePartModel"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.sparePartModel,callback:function(e){t.$set(t.form,"sparePartModel",e)},expression:"form.sparePartModel"}},t._l(t.sparePartsSpecList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"维护内容",prop:"maintainContent"}},[e("el-input",{attrs:{placeholder:"维护内容"},model:{value:t.form.maintainContent,callback:function(e){t.$set(t.form,"maintainContent",e)},expression:"form.maintainContent"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"更换数量",prop:"replaceNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:99999999,label:"更换数量"},model:{value:t.form.replaceNum,callback:function(e){t.$set(t.form,"replaceNum",e)},expression:"form.replaceNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"执行人员",prop:"executeStaff"}},[e("el-input",{attrs:{placeholder:"执行人员"},model:{value:t.form.executeStaff,callback:function(e){t.$set(t.form,"executeStaff",e)},expression:"form.executeStaff"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际开始时间",prop:"startTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际开始时间"},model:{value:t.form.startTime,callback:function(e){t.$set(t.form,"startTime",e)},expression:"form.startTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际结束时间",prop:"endTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际结束时间"},model:{value:t.form.endTime,callback:function(e){t.$set(t.form,"endTime",e)},expression:"form.endTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"完成情况",prop:"complete"}},[e("el-input",{attrs:{placeholder:"完成情况"},model:{value:t.form.complete,callback:function(e){t.$set(t.form,"complete",e)},expression:"form.complete"}})],1)],1)],1)],1)},S=[],M={name:"PlannedMaintenanceEdit",data(){return{form:{id:"",code:"",planStartTime:"",planEndTime:"",equipmentId:"",proLineId:"",sparePartName:"",sparePartModel:"",maintainContent:"",replaceNum:null,executeStaff:"",startTime:"",endTime:"",complete:""},cascaderOptions:[],rules:{code:[{required:!0,message:"请输入维护工单号",trigger:"blur"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}],equipmentId:[{required:!0,message:"请选择设备名称",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],replaceNum:[{required:!0,message:"请输入更换数量",trigger:"blur"}],executeStaff:[{required:!0,message:"请输入执行人员",trigger:"blur"}],startTime:[{required:!0,message:"请选择实际开始时间",trigger:"change"}],endTime:[{required:!0,message:"请选择实际结束时间",trigger:"change"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsList:[],sparePartsSpecList:[],isSure:!1}},methods:{init(t){this.getNameList(),this.getTree(),this.form.id=t.id,"edit"===t.type?(this.isSure=!1,(0,u.yx)({id:t.id}).then((t=>{this.form.code=t.data.code,this.form.planStartTime=t.data.planStartTime,this.form.planEndTime=t.data.planEndTime,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.selectModel(this.form.sparePartName,"noClear"),this.form.sparePartModel=t.data.model,this.form.maintainContent=t.data.maintainContent,this.form.replaceNum=t.data.replaceNum,this.form.executeStaff=t.data.executeStaff,this.form.startTime=t.data.startTime,this.form.endTime=t.data.endTime,this.form.complete=t.data.complete}))):(this.isSure=!0,(0,u.yx)({id:t.id}).then((t=>{this.form.code=t.data.code,this.form.planStartTime=t.data.planStartTime,this.form.planEndTime=t.data.planEndTime,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.form.sparePartModel=t.data.model,this.form.executeStaff=t.data.executeStaff,this.form.replaceNum=t.data.replaceNum,this.form.maintainContent=t.data.maintainContent,this.form.complete=t.data.complete})),this.form.startTime=m()().format("yyyy-MM-DDTHH:mm:ss"),this.form.endTime=m()().format("yyyy-MM-DDTHH:mm:ss"))},getTree(){(0,c.SI)().then((t=>{this.cascaderOptions=t.data}))},selectEq(t){this.form.equipmentId=t[2],this.form.proLineId=t[0]},getNameList(){(0,l.dN)().then((t=>{this.sparePartsList=t.data}))},selectModel(t,e){(0,l.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,"noClear"!==e&&(this.form.sparePartModel="")}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return console.log("error submit!!"),!1;this.isSure?(0,u.KQ)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")})):(0,u.A5)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")}))}))},formClear(){this.$refs.form.resetFields(),this.form.proLineId="",this.form.id="",this.sparePartsList=[],this.sparePartsSpecList=[]}}},T=M,P=(0,h.Z)(T,y,S,!1,null,null,null),q=P.exports,Z=function(){var t=this,e=t._self._c;return e("div",[t.injectData.status?e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.injectData.status))]):t._e()],1)},C=[],k={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:""}},mounted(){this.init()},methods:{init(){"未派工"===this.injectData.status?this.tagType="info":"未完成"===this.injectData.status?this.tagType="warning":this.tagType="success"}},watch:{injectData(t,e){e.status!==t.status&&this.init()}}},N=k,L=(0,h.Z)(N,Z,C,!1,null,null,null),v=L.exports;const E=[{prop:"code",label:"维护工单号",minWidth:150},{prop:"status",label:"状态",width:100,subcomponent:v},{prop:"remainTime",label:"剩余时间",minWidth:150},{prop:"planStartTime",label:"计划开始时间",filter:i.g6,minWidth:160},{prop:"planEndTime",label:"计划结束时间",filter:i.g6,minWidth:160},{prop:"proLineName",label:"产线",minWidth:150},{prop:"unitName",label:"单元",minWidth:150},{prop:"equName",label:"设备名称",minWidth:150},{prop:"sparePartName",label:"备件名称",width:150},{prop:"model",label:"备件型号",minWidth:150},{prop:"replaceNum",label:"更换数量",minWidth:140},{prop:"maintainContent",label:"维护内容",minWidth:180},{prop:"executeStaff",label:"执行人员",minWidth:140},{prop:"startTime",label:"实际开始时间",filter:i.g6,minWidth:160},{prop:"endTime",label:"实际结束时间",filter:i.g6,minWidth:160},{prop:"complete",label:"完成情况",minWidth:140},{prop:"creatorName",label:"创建人员",minWidth:150},{prop:"createTime",label:"创建时间",filter:i.g6,minWidth:160}],w=[{type:"edit",btnName:"编辑",showParam:{type:"&",data:[{type:"unequal",name:"status",value:"未完成"}]}},{type:"dispatch",btnName:"派工",showParam:{type:"&",data:[{type:"equal",name:"status",value:"未派工"}]}},{type:"sure",btnName:"确认",showParam:{type:"&",data:[{type:"unequal",name:"status",value:"已完成"}]}},{type:"delete",btnName:"删除"}];var $={name:"plannedMaintenance",components:{PlannedMaintenanceAdd:b,PlannedMaintenanceEdit:q},data(){return{formConfig:[{type:"datePicker",label:"计划开始时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).maintainStatusVoList,labelField:"dataName",valueField:"dataName",param:"status",defaultSelect:"",width:100},{type:"cascader",label:"产线/单元/设备",selectOptions:[],param:"keyword",cascaderProps:{checkStrictly:!0,value:"name",label:"name"},width:250},{type:"input",label:"维护工单号",placeholder:"维护工单号",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:E,tableData:[],tableBtn:w,tableH:(0,i.NC)(320),total:0,listQuery:{current:1,size:20},addAndEdit:"",centervisibleAdd:!1,sureAndEdit:"",centervisibleSure:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(320)})),this.getTree(),this.getList()},methods:{getTree(){(0,c.SI)().then((t=>{this.formConfig[2].selectOptions=t.data}))},getList(){(0,u.UP)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){switch(console.log(t),t.type){case"edit":"未派工"===t.data.status?(this.addAndEdit="编辑",this.centervisibleAdd=!0,this.$nextTick((()=>{this.$refs.plannedMaintenanceAdd.init(t.data.id)}))):"已完成"===t.data.status&&(this.sureAndEdit="编辑",this.centervisibleSure=!0,this.$nextTick((()=>{let e={id:t.data.id,type:"edit"};this.$refs.plannedMaintenanceEdit.init(e)})));break;case"dispatch":this.$confirm('确认派工"'+t.data.code+'"吗?',{type:"warning"}).then((()=>{(0,u.zG)({id:t.data.id}).then((t=>{console.log(t),this.$message({message:"派工成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{}));break;case"sure":this.sureAndEdit="确认",this.centervisibleSure=!0,this.$nextTick((()=>{let e={id:t.data.id,type:"sure"};this.$refs.plannedMaintenanceEdit.init(e)}));break;default:this.$confirm('确认删除工单"'+t.data.code+'"吗?',{type:"warning"}).then((()=>{(0,u.pl)({id:t.data.id}).then((t=>{console.log(t),this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))}},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.planStartTime=t.timeVal?t.timeVal[0]:"",this.listQuery.planEndTime=t.timeVal?t.timeVal[1]:"",this.listQuery.status=t.status,this.listQuery.proLineName=t.keyword[0],this.listQuery.unitName=t.keyword[1],this.listQuery.equName=t.keyword[2],this.listQuery.code=t.code,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.planStartTime="",this.listQuery.planEndTime="",this.listQuery.status="",this.listQuery.proLineName="",this.listQuery.unitName="",this.listQuery.equName="",this.listQuery.code="",this.listQuery.current=1,this.getList();break;case"add":this.addAndEdit="新增",this.centervisibleAdd=!0,this.$nextTick((()=>{this.$refs.plannedMaintenanceAdd.init()}));break;default:(0,u.YG)({...this.listQuery}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),n=new FileReader;n.readAsDataURL(r),n.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))}},handleCancelAdd(){this.$refs.plannedMaintenanceAdd.formClear(),this.addAndEdit="",this.centervisibleAdd=!1},handleConfirmAdd(){this.$refs.plannedMaintenanceAdd.submitForm()},successSubmitAdd(){this.handleCancelAdd(),this.getList()},handleCancelSure(){this.$refs.plannedMaintenanceEdit.formClear(),this.sureAndEdit="",this.centervisibleSure=!1},handleConfirmSure(){this.$refs.plannedMaintenanceEdit.submitForm()},successSubmitEdit(){this.handleCancelSure(),this.getList()}}},x=$,A=(0,h.Z)(x,r,n,!1,null,"bf7ad0ae",null),H=A.exports},5591:function(t,e,a){a.d(e,{FH:function(){return s},Hp:function(){return l},JQ:function(){return o},SI:function(){return i},WQ:function(){return m},b6:function(){return u},iv:function(){return n},m:function(){return d}});var r=a(8859);function n(){return(0,r.Z)({url:"/common/getList",method:"post"})}function i(){return(0,r.Z)({url:"/common/getTreeData",method:"post"})}function o(t){return(0,r.Z)({url:"/common/updateEqSeq",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}function l(t){return(0,r.Z)({url:"/common/getAlarmData",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/common/getProductData",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/common/getMaterialData",method:"post",data:t})}const m="/api/common/attachment/uploadFileFormData"},910:function(t,e,a){a.d(e,{$0:function(){return C},A0:function(){return Z},D0:function(){return o},ER:function(){return E},Hg:function(){return W},J_:function(){return w},Kl:function(){return q},ME:function(){return d},Or:function(){return b},P4:function(){return u},Py:function(){return m},QL:function(){return H},Qj:function(){return T},Sc:function(){return h},W0:function(){return _},WZ:function(){return f},Wj:function(){return l},Zs:function(){return n},_:function(){return v},_1:function(){return y},a:function(){return D},ag:function(){return k},b8:function(){return g},dN:function(){return c},fZ:function(){return p},gz:function(){return S},jF:function(){return i},kB:function(){return $},m3:function(){return Q},oW:function(){return L},qT:function(){return M},sU:function(){return s},sy:function(){return x},tb:function(){return P},wy:function(){return A},xf:function(){return N},yk:function(){return I}});var r=a(8859);function n(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function E(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function H(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function W(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function _(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},147:function(t,e,a){a.d(e,{$7:function(){return $},$F:function(){return g},$N:function(){return L},$d:function(){return c},A5:function(){return q},Ah:function(){return o},Dr:function(){return f},HJ:function(){return u},Im:function(){return T},KK:function(){return E},KQ:function(){return C},Ko:function(){return x},Ku:function(){return h},OP:function(){return l},OT:function(){return b},UP:function(){return S},Uw:function(){return A},YG:function(){return N},bO:function(){return m},co:function(){return y},fK:function(){return P},h:function(){return v},jL:function(){return w},lJ:function(){return p},lZ:function(){return s},pl:function(){return k},rd:function(){return d},uN:function(){return i},yx:function(){return M},zG:function(){return Z},zh:function(){return n}});var r=a(8859);function n(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/get",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/getPlan",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/updatePlan",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/equipment/PalletIndicatorAnalysis/page",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/equipment/PalletIndicatorAnalysis/getType",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/equipment/SparePartStock/page",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/equipment/SparePartStock/inStock",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/equipment/SparePartStock/get",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/equipment/SparePartStock/update",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/equipment/SparePartStock/outStock",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/equipment/SparePartStock/stockDetail",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/equipment/SparePartStock/getBatchList",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/equipment/SparePartStock/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function b(t){return(0,r.Z)({url:"/equipment/SparePartStock/PageHis",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/equipment/SparePartStock/exportHis",method:"post",responseType:"blob",data:t,timeout:6e4})}function S(t){return(0,r.Z)({url:"/equipment/MaintainManage/pageSelect",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/equipment/MaintainManage/unDistributeGet",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/equipment/MaintainManage/create",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/equipment/MaintainManage/unDistribute",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/equipment/MaintainManage/completedDistribute",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/equipment/MaintainManage/dispatch",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/equipment/MaintainManage/confirm",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/equipment/MaintainManage/PlainMaintainDelete",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/equipment/MaintainManage/PlanMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function L(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainPageSelect",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainAdd",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainModify",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/equipment/MaintainManage/AUtoMaintainDelete",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function x(t){return(0,r.Z)({url:"/equipment/AlarmMessage/nowAlertSelect",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/equipment/AlarmMessage/historyAlertSelect",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/2949.2b4c9508.js b/dist/js/2949.2b4c9508.js deleted file mode 100644 index 330fe55..0000000 --- a/dist/js/2949.2b4c9508.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2949],{2949:function(t,r,n){n.r(r),n.d(r,{default:function(){return d}});var e=function(){var t=this,r=t._self._c;return r("div",{staticClass:"reoprtManager"},[r("div",{staticClass:"report"},[t._m(0),r("div",{staticClass:"numBox"},[r("div",[r("div",{staticClass:"reportNum"},[r("div",{staticClass:"num"},[t._v(t._s(t.totalReports))]),t._m(1)]),r("div",{staticClass:"detail",on:{click:function(r){return t.toDetail()}}},[t._v("了解详情")])])])]),t._l(t.reportList,(function(n,e){return r("div",{key:e,staticClass:"reportDesc"},[r("div",[r("div",{staticClass:"reportNum"},[r("div",{staticClass:"num"},[t._v(t._s(n.quantity))]),r("div",{staticClass:"text"},[r("p",{staticClass:"font"},[t._v(t._s(n.name))]),r("p",{staticClass:"letter"},[t._v("Reports")])])]),r("div",{staticClass:"detail",on:{click:function(r){return t.toDetail(n.id)}}},[t._v("了解详情")])])])}))],2)},o=[function(){var t=this,r=t._self._c;return r("div",{staticClass:"imgBox"},[r("img",{attrs:{src:n(2070),alt:"",width:"355px",height:"314px"}})])},function(){var t=this,r=t._self._c;return r("div",{staticClass:"text"},[r("p",{staticClass:"font"},[t._v("全部报表")]),r("p",{staticClass:"letter"},[t._v("Reports")])])}],u=n(910),a={name:"ReportList",data(){return{totalReports:0,reportList:[]}},mounted(){this.getList()},methods:{getList(){(0,u.J_)({}).then((t=>{if(0===t.code&&t.data.length>0){this.totalReports=0;for(let r=0;r{if(0===t.code&&t.data.length>0){this.totalReports=0;for(let r=0;r{this.tableH=(0,s.NC)(115)})),(0,o.gP)({current:1,glassId:t,size:500}).then((t=>{0===t.code?this.tableData=t.data.records:this.tableData=[]}))},handleClick(t){console.log(t),"processParameters"===t.type?this.processParametersVisible=!0:"deviceParameters"===t.type&&(this.deviceParametersVisible=!0)},handleCloseProcess(){},handleCloseDevice(){}}},b=m,h=a(1001),y=(0,h.Z)(b,l,n,!1,null,"6ad9120b",null),f=y.exports,g=a(381),D=a.n(g);const P=[{prop:"proLineName",label:"产线",minWidth:120},{prop:"workOrderNo",label:"工单编号",minWidth:120},{prop:"glassId",label:"玻璃ID",minWidth:150},{prop:"rackId",label:"成品架ID",minWidth:150},{prop:"loadTime",label:"产品上片时间",filter:s.g6,minWidth:160},{prop:"unloadTime",label:"产品下片时间",filter:s.g6,minWidth:160},{prop:"grade",label:"玻璃等级",minWidth:100},{prop:"palletId",label:"面磨托盘ID",minWidth:150},{prop:"glassLength",label:"玻璃长度",minWidth:100},{prop:"glassWidth",label:"玻璃宽度",minWidth:100},{prop:"glassHeight",label:"玻璃厚度",minWidth:100}],T=[{type:"view",btnName:"点击查看"}];var v={name:"ProductTraceability",components:{ProcessFlowDetail:f},data(){return{formConfig:[{type:"datePicker",label:"产品上片时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"lineName",labelField:"dataName",valueField:"dataName",defaultSelect:"",onchange:!0,width:150},{type:"select",label:"查询方式",selectOptions:[{id:"rackId",name:"成品架ID"},{id:"glassId",name:"玻璃ID"},{id:"palletId",name:"托盘ID"}],param:"inquiryMode",defaultSelect:"",width:150},{type:"input",label:"查询内容",placeholder:"查询内容",param:"queryContent"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"}],tableProps:P,tableData:[],tableBtn:T,tableH:(0,s.NC)(270),total:0,listQuery:{startTime:"",endTime:"",current:1,size:20},processFlowVisible:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,s.NC)(270)})),this.formConfig[0].defaultSelect=[D()().format("yyyy-MM-DD")+"T00:00:00",D()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=D()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=D()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,o.kT)({...this.listQuery}).then((t=>{0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){"search"===t.btnName?(this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.proLineName=t.lineName,this.listQuery.rackId="rackId"===t.inquiryMode?t.queryContent:"",this.listQuery.glassId="glassId"===t.inquiryMode?t.queryContent:"",this.listQuery.palletId="palletId"===t.inquiryMode?t.queryContent:"",this.getList()):"reset"===t.btnName&&(this.$refs.searchBarForm.resetForm(),this.listQuery.startTime=D()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=D()().format("yyyy-MM-DD")+"T23:59:59",this.$nextTick((()=>{this.getList()})))},handleClick(t){this.processFlowVisible=!0;let e=t.data.glassId;this.$nextTick((()=>{this.$refs.processFlowDetail.init(e)}))}}},q=v,I=(0,h.Z)(q,r,i,!1,null,null,null),C=I.exports},2334:function(t,e,a){a.d(e,{AT:function(){return C},Af:function(){return s},F0:function(){return b},ON:function(){return u},QI:function(){return n},Qd:function(){return h},YU:function(){return m},an:function(){return I},bu:function(){return q},dy:function(){return g},eT:function(){return d},fL:function(){return k},gP:function(){return Z},iF:function(){return p},jA:function(){return l},kT:function(){return w},oR:function(){return v},pS:function(){return o},pw:function(){return c},r5:function(){return y},uW:function(){return P},uX:function(){return D},uj:function(){return T},v:function(){return i},vD:function(){return f}});var r=a(8859);function i(t){return(0,r.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function n(t){return(0,r.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function s(t){return(0,r.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function o(t){return(0,r.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function u(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function m(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function P(t){return(0,r.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function q(t){return(0,r.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function C(t){return(0,r.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/3813.ab202fcc.js b/dist/js/3813.9ee396fc.js similarity index 56% rename from dist/js/3813.ab202fcc.js rename to dist/js/3813.9ee396fc.js index 45de992..e06ac5c 100644 --- a/dist/js/3813.ab202fcc.js +++ b/dist/js/3813.9ee396fc.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[3813],{3813:function(t,e,r){r.r(e),r.d(e,{default:function(){return y}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"particleLine-chart"},[e("div",{staticStyle:{"margin-bottom":"30px"}},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}})],1),e("div",{staticStyle:{width:"100%"},style:{height:t.chartHeight+"px"},attrs:{id:"particleLineChart"}})])},a=[],o=r(7171),i=r(475),s=r(5468),u=r(2334),l=r(381),c=r.n(l),p={name:"particleLineChart",mixins:[s.Z],data(){return{formConfig:[{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"input",label:"合格上线",placeholder:"合格上线",param:"maxLine"},{type:"button",btnName:"确认",name:"search",color:"primary"}],chartDom:"",chart:"",chartHeight:(0,i.NC)(320),listQuery:{startTime:"",endTime:""},checkOutTime:"",maxLine:""}},mounted(){this.chartDom=document.getElementById("particleLineChart"),this.chart=o.S1(this.chartDom),window.addEventListener("resize",(()=>{this.chartHeight=(0,i.NC)(320)})),this.formConfig[0].defaultSelect=[c()().format("yyyy-MM-DD")+"T00:00:00",c()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=c()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=c()().format("yyyy-MM-DD")+"T23:59:59",this.getMsg()},methods:{buttonClick(t){console.log(t),"search"===t.btnName&&(this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.maxLine=t.maxLine,this.getMsg())},getMsg(){let t=[],e=[],r=[],n=[],a=[],o=[],i={};(0,u.vD)({...this.listQuery}).then((s=>{console.log(s),0===s.code&&s.data.length>0&&(s.data.map((i=>{console.log(i),t.push(c()(i.hour).format("YY-MM-DD HH:mm:ss")),e.push(i.s),r.push(i.m),n.push(i.l),a.push(i.xl),o.push(i.sum)})),i.time=t,i.sList=e,i.mList=r,i.lList=n,i.xlList=a,i.sumList=o,this.getChart(i))}))},getChart1(t){var e={color:["#5AD8A6","#5B8FF9","#5D7092","#F6BD16","#E8684A"],title:{text:"时间段玻璃颗粒数"},tooltip:{trigger:"axis"},legend:{data:["Total","M","L","S","XL"],right:"4%"},grid:{left:"3%",right:"4%",bottom:"3%"},xAxis:{type:"category",boundaryGap:!1,data:t.time},yAxis:{type:"value"},series:[{name:"Total",type:"line",data:t.sumList,markLine:{show:!1,Symbol:"none",label:{position:"end",formatter:"合格线\n"+this.maxLine},data:[{silent:!1,lineStyle:{type:"dashed",color:"#0B58FF"},yAxis:this.maxLine}]}},{name:"M",type:"line",data:t.mList},{name:"L",type:"line",data:t.lList},{name:"S",type:"line",data:t.sList},{name:"XL",type:"line",data:t.xlList}]};e&&this.chart.setOption(e)},getChart(t){console.log(t);var e={color:["#5AD8A6","#5B8FF9","#5D7092","#F6BD16","#E8684A"],title:{text:"时间段玻璃颗粒数",left:"1%"},tooltip:{trigger:"axis"},legend:{data:["Total","M","L","S","XL"],right:"4%"},grid:{left:"4%",right:"4%",bottom:"10%"},xAxis:{type:"category",boundaryGap:!1,data:t.time},yAxis:{type:"value"},dataZoom:[{startValue:"2023-02-014"},{type:"inside"}],series:[{name:"Total",type:"line",data:t.sumList,markLine:{show:!1,Symbol:"none",label:{position:"end",formatter:"合格线\n"+this.maxLine},data:[{silent:!1,lineStyle:{type:"dashed",color:"#0B58FF"},yAxis:this.maxLine}]}},{name:"M",type:"line",data:t.mList},{name:"L",type:"line",data:t.lList},{name:"S",type:"line",data:t.sList},{name:"XL",type:"line",data:t.xlList}]};e&&this.chart.setOption(e)}}},m=p,d=r(1001),h=(0,d.Z)(m,n,a,!1,null,"ecee4654",null),y=h.exports},2334:function(t,e,r){r.d(e,{AT:function(){return C},Af:function(){return s},F0:function(){return h},ON:function(){return l},QI:function(){return i},Qd:function(){return y},YU:function(){return d},an:function(){return q},bu:function(){return Z},dy:function(){return L},eT:function(){return p},fL:function(){return M},iF:function(){return c},jA:function(){return o},oR:function(){return T},pS:function(){return u},pw:function(){return m},r5:function(){return f},uW:function(){return D},uX:function(){return x},uj:function(){return b},v:function(){return a},vD:function(){return g}});var n=r(8859);function a(t){return(0,n.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function o(t){return(0,n.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function i(t){return(0,n.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function s(t){return(0,n.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function u(t){return(0,n.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function l(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function p(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function m(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function d(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function f(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function L(t){return(0,n.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function x(t){return(0,n.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function D(t){return(0,n.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function b(t){return(0,n.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function T(t){return(0,n.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function Z(t){return(0,n.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function q(t){return(0,n.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function C(t){return(0,n.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function M(t){return(0,n.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[3813],{3813:function(t,e,r){r.r(e),r.d(e,{default:function(){return y}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"particleLine-chart"},[e("div",{staticStyle:{"margin-bottom":"30px"}},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}})],1),e("div",{staticStyle:{width:"100%"},style:{height:t.chartHeight+"px"},attrs:{id:"particleLineChart"}})])},a=[],o=r(7171),i=r(475),s=r(5468),u=r(2334),l=r(381),c=r.n(l),p={name:"particleLineChart",mixins:[s.Z],data(){return{formConfig:[{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"input",label:"合格上线",placeholder:"合格上线",param:"maxLine"},{type:"button",btnName:"确认",name:"search",color:"primary"}],chartDom:"",chart:"",chartHeight:(0,i.NC)(320),listQuery:{startTime:"",endTime:""},checkOutTime:"",maxLine:""}},mounted(){this.chartDom=document.getElementById("particleLineChart"),this.chart=o.S1(this.chartDom),window.addEventListener("resize",(()=>{this.chartHeight=(0,i.NC)(320)})),this.formConfig[0].defaultSelect=[c()().format("yyyy-MM-DD")+"T00:00:00",c()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=c()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=c()().format("yyyy-MM-DD")+"T23:59:59",this.getMsg()},methods:{buttonClick(t){console.log(t),"search"===t.btnName&&(this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.maxLine=t.maxLine,this.getMsg())},getMsg(){let t=[],e=[],r=[],n=[],a=[],o=[],i={};(0,u.vD)({...this.listQuery}).then((s=>{console.log(s),0===s.code&&s.data.length>0&&(s.data.map((i=>{console.log(i),t.push(c()(i.hour).format("YY-MM-DD HH:mm:ss")),e.push(i.s),r.push(i.m),n.push(i.l),a.push(i.xl),o.push(i.sum)})),i.time=t,i.sList=e,i.mList=r,i.lList=n,i.xlList=a,i.sumList=o,this.getChart(i))}))},getChart1(t){var e={color:["#5AD8A6","#5B8FF9","#5D7092","#F6BD16","#E8684A"],title:{text:"时间段玻璃颗粒数"},tooltip:{trigger:"axis"},legend:{data:["Total","M","L","S","XL"],right:"4%"},grid:{left:"3%",right:"4%",bottom:"3%"},xAxis:{type:"category",boundaryGap:!1,data:t.time},yAxis:{type:"value"},series:[{name:"Total",type:"line",data:t.sumList,markLine:{show:!1,Symbol:"none",label:{position:"end",formatter:"合格线\n"+this.maxLine},data:[{silent:!1,lineStyle:{type:"dashed",color:"#0B58FF"},yAxis:this.maxLine}]}},{name:"M",type:"line",data:t.mList},{name:"L",type:"line",data:t.lList},{name:"S",type:"line",data:t.sList},{name:"XL",type:"line",data:t.xlList}]};e&&this.chart.setOption(e)},getChart(t){console.log(t);var e={color:["#5AD8A6","#5B8FF9","#5D7092","#F6BD16","#E8684A"],title:{text:"时间段玻璃颗粒数",left:"1%"},tooltip:{trigger:"axis"},legend:{data:["Total","M","L","S","XL"],right:"4%"},grid:{left:"4%",right:"4%",bottom:"10%"},xAxis:{type:"category",boundaryGap:!1,data:t.time},yAxis:{type:"value"},dataZoom:[{startValue:"2023-02-014"},{type:"inside"}],series:[{name:"Total",type:"line",data:t.sumList,markLine:{show:!1,Symbol:"none",label:{position:"end",formatter:"合格线\n"+this.maxLine},data:[{silent:!1,lineStyle:{type:"dashed",color:"#0B58FF"},yAxis:this.maxLine}]}},{name:"M",type:"line",data:t.mList},{name:"L",type:"line",data:t.lList},{name:"S",type:"line",data:t.sList},{name:"XL",type:"line",data:t.xlList}]};e&&this.chart.setOption(e)}}},d=p,m=r(1001),h=(0,m.Z)(d,n,a,!1,null,"ecee4654",null),y=h.exports},2334:function(t,e,r){r.d(e,{AT:function(){return C},Af:function(){return s},F0:function(){return h},ON:function(){return l},QI:function(){return i},Qd:function(){return y},YU:function(){return m},an:function(){return q},bu:function(){return Z},dy:function(){return L},eT:function(){return p},fL:function(){return M},gP:function(){return S},iF:function(){return c},jA:function(){return o},kT:function(){return F},oR:function(){return b},pS:function(){return u},pw:function(){return d},r5:function(){return f},uW:function(){return D},uX:function(){return x},uj:function(){return T},v:function(){return a},vD:function(){return g}});var n=r(8859);function a(t){return(0,n.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function o(t){return(0,n.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function i(t){return(0,n.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function s(t){return(0,n.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function u(t){return(0,n.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function l(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function p(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function d(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function m(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function f(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function L(t){return(0,n.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function x(t){return(0,n.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function D(t){return(0,n.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function T(t){return(0,n.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function b(t){return(0,n.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function Z(t){return(0,n.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function q(t){return(0,n.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function C(t){return(0,n.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function M(t){return(0,n.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function F(t){return(0,n.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function S(t){return(0,n.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/3899.665c3a49.js b/dist/js/3899.0748e11f.js similarity index 52% rename from dist/js/3899.665c3a49.js rename to dist/js/3899.0748e11f.js index 0b5c68b..deeb9f7 100644 --- a/dist/js/3899.665c3a49.js +++ b/dist/js/3899.0748e11f.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[3899],{8795:function(t,e,l){l.d(e,{Z:function(){return u}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bottom-box"},[e("div",{staticClass:"bottom-left"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("颗粒数据")]),t._l(t.leftList,(function(l,n){return e("li",{key:n},[e("p",{staticClass:"tabHead"},[t._v(t._s(l.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(l.value))])])}))],2)]),e("div",{staticClass:"bottom-right"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("面检数据")]),t._l(t.rightList,(function(l,n){return e("li",{key:n},[e("p",{staticClass:"tabHead"},[t._v(t._s(l.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(l.value))])])}))],2)])])},a=[],r={name:"DefectScatterPlot",data(){return{leftList:[{name:"S",value:null,key:"s"},{name:"M",value:null,key:"m"},{name:"L",value:null,key:"l"},{name:"XL",value:null,key:"xl"}],rightList:[{name:"气泡",value:null,key:"bl"},{name:"变形",value:null,key:"distortion"},{name:"纤维",value:null,key:"fiber"},{name:"划伤",value:null,key:"scratch"},{name:"点状缺陷",value:null,key:"tin"},{name:"结石",value:null,key:"stone"},{name:"铂金",value:null,key:"pt"},{name:"结节",value:null,key:"knot"},{name:"拖尾",value:null,key:"tail"},{name:"ADG",value:null,key:"adg"},{name:"锡缺陷(顶部)",value:null,key:"top"},{name:"锡缺陷(底部)",value:null,key:"bottom"},{name:"无法识别",value:null,key:"iisrest"}]}},methods:{init(t){console.log(t);for(let e=0;e{this.tableH=(0,r.NC)(425)})),this.getListType(),this.getList()},methods:{getDetail(t,e,l){(0,s.iF)({virtualcode:t,time:l,defectType:decodeURIComponent(e)}).then((t=>{console.log(t),this.detailObj=t.data,this.$nextTick((()=>{this.$refs.fullInspectionDetailPlot.init(this.detailObj)}))}))},getListType(){(0,s.eT)({size:500,current:1}).then((t=>{this.formConfig[0].selectOptions=t.data}))},getList(){(0,s.YU)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.defectType=t.defectType,this.listQuery.current=1,this.getList();break;default:this.$router.push({path:"/qualityManagement/processFullInspection/fullInspection"})}},handleClick(t){"viewPic"===t.type&&(t.data.defectid?this.centervisible=!0:this.$message({message:"暂无图片",type:"warning"}))},handleCancel(){this.centervisible=!1}}},p=c,d=l(1001),f=(0,d.Z)(p,n,a,!1,null,"7f728e52",null),h=f.exports},2334:function(t,e,l){l.d(e,{AT:function(){return L},Af:function(){return i},F0:function(){return h},ON:function(){return u},QI:function(){return s},Qd:function(){return m},YU:function(){return f},an:function(){return T},bu:function(){return q},dy:function(){return g},eT:function(){return p},fL:function(){return D},iF:function(){return c},jA:function(){return r},oR:function(){return Z},pS:function(){return o},pw:function(){return d},r5:function(){return y},uW:function(){return k},uX:function(){return v},uj:function(){return C},v:function(){return a},vD:function(){return b}});var n=l(8859);function a(t){return(0,n.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function r(t){return(0,n.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function s(t){return(0,n.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function i(t){return(0,n.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function o(t){return(0,n.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function u(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function p(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function d(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function f(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function m(t){return(0,n.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,n.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function v(t){return(0,n.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function k(t){return(0,n.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function C(t){return(0,n.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function Z(t){return(0,n.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function q(t){return(0,n.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function T(t){return(0,n.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function L(t){return(0,n.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function D(t){return(0,n.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[3899],{8795:function(t,e,n){n.d(e,{Z:function(){return u}});var l=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bottom-box"},[e("div",{staticClass:"bottom-left"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("颗粒数据")]),t._l(t.leftList,(function(n,l){return e("li",{key:l},[e("p",{staticClass:"tabHead"},[t._v(t._s(n.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(n.value))])])}))],2)]),e("div",{staticClass:"bottom-right"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("面检数据")]),t._l(t.rightList,(function(n,l){return e("li",{key:l},[e("p",{staticClass:"tabHead"},[t._v(t._s(n.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(n.value))])])}))],2)])])},a=[],r={name:"DefectScatterPlot",data(){return{leftList:[{name:"S",value:null,key:"s"},{name:"M",value:null,key:"m"},{name:"L",value:null,key:"l"},{name:"XL",value:null,key:"xl"}],rightList:[{name:"气泡",value:null,key:"bl"},{name:"变形",value:null,key:"distortion"},{name:"纤维",value:null,key:"fiber"},{name:"划伤",value:null,key:"scratch"},{name:"点状缺陷",value:null,key:"tin"},{name:"结石",value:null,key:"stone"},{name:"铂金",value:null,key:"pt"},{name:"结节",value:null,key:"knot"},{name:"拖尾",value:null,key:"tail"},{name:"ADG",value:null,key:"adg"},{name:"锡缺陷(顶部)",value:null,key:"top"},{name:"锡缺陷(底部)",value:null,key:"bottom"},{name:"无法识别",value:null,key:"iisrest"}]}},methods:{init(t){console.log(t);for(let e=0;e{this.tableH=(0,r.NC)(425)})),this.getListType(),this.getList()},methods:{getDetail(t,e,n){(0,s.iF)({virtualcode:t,time:n,defectType:decodeURIComponent(e)}).then((t=>{console.log(t),this.detailObj=t.data,this.$nextTick((()=>{this.$refs.fullInspectionDetailPlot.init(this.detailObj)}))}))},getListType(){(0,s.eT)({size:500,current:1}).then((t=>{this.formConfig[0].selectOptions=t.data}))},getList(){(0,s.YU)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.defectType=t.defectType,this.listQuery.current=1,this.getList();break;default:this.$router.push({path:"/qualityManagement/processFullInspection/fullInspection"})}},handleClick(t){"viewPic"===t.type&&(t.data.defectid?this.centervisible=!0:this.$message({message:"暂无图片",type:"warning"}))},handleCancel(){this.centervisible=!1}}},p=c,d=n(1001),f=(0,d.Z)(p,l,a,!1,null,"7f728e52",null),h=f.exports},2334:function(t,e,n){n.d(e,{AT:function(){return L},Af:function(){return i},F0:function(){return h},ON:function(){return u},QI:function(){return s},Qd:function(){return m},YU:function(){return f},an:function(){return T},bu:function(){return q},dy:function(){return g},eT:function(){return p},fL:function(){return D},gP:function(){return P},iF:function(){return c},jA:function(){return r},kT:function(){return _},oR:function(){return Z},pS:function(){return o},pw:function(){return d},r5:function(){return y},uW:function(){return k},uX:function(){return v},uj:function(){return C},v:function(){return a},vD:function(){return b}});var l=n(8859);function a(t){return(0,l.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function r(t){return(0,l.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function s(t){return(0,l.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function i(t){return(0,l.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function o(t){return(0,l.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function u(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function p(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function d(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function f(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function h(t){return(0,l.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function m(t){return(0,l.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function y(t){return(0,l.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,l.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function g(t){return(0,l.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function v(t){return(0,l.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function k(t){return(0,l.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function C(t){return(0,l.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function Z(t){return(0,l.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function q(t){return(0,l.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function T(t){return(0,l.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function L(t){return(0,l.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function D(t){return(0,l.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function _(t){return(0,l.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function P(t){return(0,l.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/4112.b247d5bc.js b/dist/js/4112.bf1953c5.js similarity index 74% rename from dist/js/4112.b247d5bc.js rename to dist/js/4112.bf1953c5.js index c30b13f..d9a1777 100644 --- a/dist/js/4112.b247d5bc.js +++ b/dist/js/4112.bf1953c5.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[4112],{8795:function(t,e,a){a.d(e,{Z:function(){return u}});var l=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bottom-box"},[e("div",{staticClass:"bottom-left"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("颗粒数据")]),t._l(t.leftList,(function(a,l){return e("li",{key:l},[e("p",{staticClass:"tabHead"},[t._v(t._s(a.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(a.value))])])}))],2)]),e("div",{staticClass:"bottom-right"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("面检数据")]),t._l(t.rightList,(function(a,l){return e("li",{key:l},[e("p",{staticClass:"tabHead"},[t._v(t._s(a.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(a.value))])])}))],2)])])},s=[],i={name:"DefectScatterPlot",data(){return{leftList:[{name:"S",value:null,key:"s"},{name:"M",value:null,key:"m"},{name:"L",value:null,key:"l"},{name:"XL",value:null,key:"xl"}],rightList:[{name:"气泡",value:null,key:"bl"},{name:"变形",value:null,key:"distortion"},{name:"纤维",value:null,key:"fiber"},{name:"划伤",value:null,key:"scratch"},{name:"点状缺陷",value:null,key:"tin"},{name:"结石",value:null,key:"stone"},{name:"铂金",value:null,key:"pt"},{name:"结节",value:null,key:"knot"},{name:"拖尾",value:null,key:"tail"},{name:"ADG",value:null,key:"adg"},{name:"锡缺陷(顶部)",value:null,key:"top"},{name:"锡缺陷(底部)",value:null,key:"bottom"},{name:"无法识别",value:null,key:"iisrest"}]}},methods:{init(t){console.log(t);for(let e=0;e{this.chartHeight=(0,i.NC)(446)})),setTimeout((()=>{this.getChart()}),20)},methods:{getChart(){null!==this.chart&&""!==this.chart&&void 0!==this.chart&&this.chart.dispose(),this.chartDom=document.getElementById("defectScatterPlotChart"),this.chart=u.S1(this.chartDom);const t=[[1,55],[2,25],[3,56],[4,33],[5,42],[6,82],[7,74],[8,78],[9,267],[10,185],[11,39],[12,41],[13,64],[14,108],[15,108],[16,33],[17,94],[18,186],[19,57],[20,22],[21,39],[22,94],[23,99],[24,31],[25,42],[26,154],[27,234],[28,160],[29,134],[30,52],[31,46]],e=[[1,26],[2,85],[3,78],[4,21],[5,41],[6,56],[7,64],[8,55],[9,76],[10,91],[11,84],[12,64],[13,70],[14,77],[15,109],[16,73],[17,54],[18,51],[19,91],[20,73],[21,73],[22,84],[23,93],[24,99],[25,146],[26,113],[27,81],[28,56],[29,82],[30,106],[31,118]],a=[[1,91],[2,65],[3,83],[4,109],[5,106],[6,109],[7,106],[8,89],[9,53],[10,80],[11,117],[12,99],[13,95],[14,116],[15,108],[16,134],[17,79],[18,71],[19,97],[20,84],[21,87],[22,104],[23,87],[24,168],[25,65],[26,39],[27,39],[28,93],[29,188],[30,174],[31,187]];var l={color:["#5d7ab7","#ec795f","#925041","#fb5099","#f6bd16","#E8684A","#6DC8EC","#9270CA","#FF9D4D","#269A99","#FF99C3","#BDD2FD","#5AD8A6","#FDABAB","#BDEFDB","#5B8FF9","#404E67"],legend:{top:10,left:0,data:["S","M","L"],textStyle:{fontSize:9},itemWidth:10},grid:{x:60,y:60,x2:10,y2:60,borderWidth:1},xAxis:{type:"value",nameGap:16,nameTextStyle:{fontSize:16},max:31,splitLine:{show:!0,lineStyle:{color:"rgba(0, 0, 0, 0.15)"}}},yAxis:{type:"value",nameLocation:"end",nameGap:20,nameTextStyle:{fontSize:16},splitLine:{show:!0,lineStyle:{color:"rgba(0, 0, 0, 0.15)"}}},series:[{name:"S",type:"scatter",data:t,symbolSize:5},{name:"M",type:"scatter",data:e,symbolSize:5},{name:"L",type:"scatter",data:a,symbolSize:5}]};l&&this.chart.setOption(l)}}},p=d,h=a(1001),m=(0,h.Z)(p,r,o,!1,null,"51a1dc14",null),f=m.exports,y=a(2334),b=a(381),v=a.n(b);const g=[{prop:"glassId",label:"ID",fixed:"left",minWidth:120},{prop:"testTime",label:"检验时间",fixed:"left",filter:i.g6,minWidth:160},{prop:"grindType",label:"研磨类型"},{prop:"electricity",label:"总电流"},{prop:"particleSum",label:"颗粒总数"},{prop:"surfaceSum",label:"面检总数"}];var C={name:"defectScatterPlot",components:{defectScatterPlotTotal:n.Z,defectScatterPlotChart:f},data(){return{split1:.4,formConfig:[{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"button",btnName:"查询",name:"search",color:"primary"}],searchTime:"",listQuery:{startTime:"",endTime:""},tableProps:g,tableData:[],tableH:(0,i.NC)(290),total:0,type:"pellet",selectList:[{label:"1",value:"1"},{label:"2",value:"2"},{label:"3",value:"3"},{label:"4",value:"4"}],checkItem:"",checkList:["s","m","l","xl"],list:[{label:"S",value:"s"},{label:"M",value:"m"},{label:"L",value:"l"},{label:"XL",value:"xl"},{label:"气泡",value:"bl"},{label:"变形",value:"distortion"},{label:"纤维",value:"fiber"},{label:"划伤",value:"scratch"},{label:"结节",value:"knot"},{label:"结石",value:"stone"},{label:"铂金",value:"pt"},{label:"拖尾",value:"tail"},{label:"ADG",value:"adg"},{label:"点状缺陷",value:"tin"},{label:"锡缺陷(顶部)",value:"top"},{label:"锡缺陷(底部)",value:"bottom"},{label:"无法识别",value:"iisrest"}],selectedGlassId:[],detailMsg:{}}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(290)})),this.formConfig[0].defaultSelect=[v()().format("yyyy-MM-DD")+"T00:00:00",v()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=v()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=v()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,y.F0)({...this.listQuery}).then((t=>{console.log(t),this.tableData=t.data}))},drawPic(){if(0===this.selectedGlassId.length)return this.$message({message:"请先勾选左侧的玻璃",type:"error",duration:1500,onClose:()=>{}}),!1;this.getDetail(),(0,y.Qd)({startTime:this.listQuery.startTime,endTime:this.listQuery.endTime,glassId:this.selectedGlassId}).then((t=>{console.log(t)}))},getDetail(){(0,y.r5)({startTime:this.listQuery.startTime,endTime:this.listQuery.endTime,glassId:this.selectedGlassId}).then((t=>{0===t.code&&(this.detailMsg=t.data[0]||{},this.$refs.plotTotal.init(this.detailMsg))}))},buttonClick(t){this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.getList()},selectChange(t){console.log(t);let e=[];if(t.length>0){for(let a=0;a{this.chartHeight=(0,i.NC)(446)})),setTimeout((()=>{this.getChart()}),20)},methods:{getChart(){null!==this.chart&&""!==this.chart&&void 0!==this.chart&&this.chart.dispose(),this.chartDom=document.getElementById("defectScatterPlotChart"),this.chart=u.S1(this.chartDom);const t=[[1,55],[2,25],[3,56],[4,33],[5,42],[6,82],[7,74],[8,78],[9,267],[10,185],[11,39],[12,41],[13,64],[14,108],[15,108],[16,33],[17,94],[18,186],[19,57],[20,22],[21,39],[22,94],[23,99],[24,31],[25,42],[26,154],[27,234],[28,160],[29,134],[30,52],[31,46]],e=[[1,26],[2,85],[3,78],[4,21],[5,41],[6,56],[7,64],[8,55],[9,76],[10,91],[11,84],[12,64],[13,70],[14,77],[15,109],[16,73],[17,54],[18,51],[19,91],[20,73],[21,73],[22,84],[23,93],[24,99],[25,146],[26,113],[27,81],[28,56],[29,82],[30,106],[31,118]],a=[[1,91],[2,65],[3,83],[4,109],[5,106],[6,109],[7,106],[8,89],[9,53],[10,80],[11,117],[12,99],[13,95],[14,116],[15,108],[16,134],[17,79],[18,71],[19,97],[20,84],[21,87],[22,104],[23,87],[24,168],[25,65],[26,39],[27,39],[28,93],[29,188],[30,174],[31,187]];var l={color:["#5d7ab7","#ec795f","#925041","#fb5099","#f6bd16","#E8684A","#6DC8EC","#9270CA","#FF9D4D","#269A99","#FF99C3","#BDD2FD","#5AD8A6","#FDABAB","#BDEFDB","#5B8FF9","#404E67"],legend:{top:10,left:0,data:["S","M","L"],textStyle:{fontSize:9},itemWidth:10},grid:{x:60,y:60,x2:10,y2:60,borderWidth:1},xAxis:{type:"value",nameGap:16,nameTextStyle:{fontSize:16},max:31,splitLine:{show:!0,lineStyle:{color:"rgba(0, 0, 0, 0.15)"}}},yAxis:{type:"value",nameLocation:"end",nameGap:20,nameTextStyle:{fontSize:16},splitLine:{show:!0,lineStyle:{color:"rgba(0, 0, 0, 0.15)"}}},series:[{name:"S",type:"scatter",data:t,symbolSize:5},{name:"M",type:"scatter",data:e,symbolSize:5},{name:"L",type:"scatter",data:a,symbolSize:5}]};l&&this.chart.setOption(l)}}},p=d,h=a(1001),m=(0,h.Z)(p,n,o,!1,null,"51a1dc14",null),f=m.exports,y=a(2334),b=a(381),v=a.n(b);const g=[{prop:"glassId",label:"ID",fixed:"left",minWidth:120},{prop:"testTime",label:"检验时间",fixed:"left",filter:i.g6,minWidth:160},{prop:"grindType",label:"研磨类型"},{prop:"electricity",label:"总电流"},{prop:"particleSum",label:"颗粒总数"},{prop:"surfaceSum",label:"面检总数"}];var C={name:"defectScatterPlot",components:{defectScatterPlotTotal:r.Z,defectScatterPlotChart:f},data(){return{split1:.4,formConfig:[{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"button",btnName:"查询",name:"search",color:"primary"}],searchTime:"",listQuery:{startTime:"",endTime:""},tableProps:g,tableData:[],tableH:(0,i.NC)(290),total:0,type:"pellet",selectList:[{label:"1",value:"1"},{label:"2",value:"2"},{label:"3",value:"3"},{label:"4",value:"4"}],checkItem:"",checkList:["s","m","l","xl"],list:[{label:"S",value:"s"},{label:"M",value:"m"},{label:"L",value:"l"},{label:"XL",value:"xl"},{label:"气泡",value:"bl"},{label:"变形",value:"distortion"},{label:"纤维",value:"fiber"},{label:"划伤",value:"scratch"},{label:"结节",value:"knot"},{label:"结石",value:"stone"},{label:"铂金",value:"pt"},{label:"拖尾",value:"tail"},{label:"ADG",value:"adg"},{label:"点状缺陷",value:"tin"},{label:"锡缺陷(顶部)",value:"top"},{label:"锡缺陷(底部)",value:"bottom"},{label:"无法识别",value:"iisrest"}],selectedGlassId:[],detailMsg:{}}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(290)})),this.formConfig[0].defaultSelect=[v()().format("yyyy-MM-DD")+"T00:00:00",v()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=v()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=v()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,y.F0)({...this.listQuery}).then((t=>{console.log(t),this.tableData=t.data}))},drawPic(){if(0===this.selectedGlassId.length)return this.$message({message:"请先勾选左侧的玻璃",type:"error",duration:1500,onClose:()=>{}}),!1;this.getDetail(),(0,y.Qd)({startTime:this.listQuery.startTime,endTime:this.listQuery.endTime,glassId:this.selectedGlassId}).then((t=>{console.log(t)}))},getDetail(){(0,y.r5)({startTime:this.listQuery.startTime,endTime:this.listQuery.endTime,glassId:this.selectedGlassId}).then((t=>{0===t.code&&(this.detailMsg=t.data[0]||{},this.$refs.plotTotal.init(this.detailMsg))}))},buttonClick(t){this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.getList()},selectChange(t){console.log(t);let e=[];if(t.length>0){for(let a=0;a({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},o=i,s=n(1001),u=(0,s.Z)(o,r,a,!1,null,null,null),l=u.exports},4337:function(t,e,n){n.r(e),n.d(e,{default:function(){return Z}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("consumables-add",{ref:"consumablesAdd",on:{successSubmit:t.successSubmit}})],1)],1)},a=[],i=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-form-item",{attrs:{label:"耗材名称",prop:"name"}},[e("el-input",{attrs:{placeholder:"耗材名称"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{attrs:{label:"耗材规格",prop:"spec"}},[e("el-input",{attrs:{placeholder:"耗材规格"},model:{value:t.form.spec,callback:function(e){t.$set(t.form,"spec",e)},expression:"form.spec"}})],1),e("el-form-item",{attrs:{label:"耗材单位",prop:"unit"}},[e("el-input",{attrs:{placeholder:"耗材单位"},model:{value:t.form.unit,callback:function(e){t.$set(t.form,"unit",e)},expression:"form.unit"}})],1),e("el-form-item",{attrs:{label:"基础消耗量",prop:"basicConsume"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999,precision:2,step:1},model:{value:t.form.basicConsume,callback:function(e){t.$set(t.form,"basicConsume",e)},expression:"form.basicConsume"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},o=[],s=n(910),u={name:"ConsumablesAdd",data(){return{form:{id:"",name:"",spec:"",unit:"",basicConsume:"",enabled:1},rules:{name:[{required:!0,message:"请输入耗材名称",trigger:"blur"}],spec:[{required:!0,message:"请输入耗材规格",trigger:"blur"}]},stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,isEdit:!1}},methods:{init(t){t?(this.form.id=t.id,(0,s.b8)({id:t.id}).then((e=>{0===e.code&&(console.log(e),this.form.name=e.data.name,this.form.spec="copy"===t.type?"":e.data.spec,this.form.unit=e.data.unit,this.form.basicConsume=e.data.basicConsume,this.form.enabled=e.data.enabled)})),"edit"===t.type?this.isEdit=!0:(this.isEdit=!1,this.form.id="")):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,s.Or)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.Sc)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},l=u,c=n(1001),d=(0,c.Z)(l,i,o,!1,null,null,null),m=d.exports,p=n(475),f=n(8027);const h=[{prop:"name",label:"耗材名称"},{prop:"spec",label:"耗材规格"},{prop:"unit",label:"耗材单位"},{prop:"basicConsume",label:"基础消耗量"},{prop:"enabled",label:"状态",width:120,subcomponent:f.Z}],b=[{type:"edit",btnName:"编辑"},{type:"copy",btnName:"复制"}];var g={name:"ConsumablesConfig",components:{ConsumablesAdd:m},data(){return{formConfig:[{type:"input",label:"耗材名称",placeholder:"耗材名称",param:"name"},{type:"input",label:"耗材规格",placeholder:"耗材规格",param:"spec"},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:h,tableData:[],tableBtn:b,tableH:(0,p.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,p.NC)(265)})),this.getList()},methods:{getList(){(0,s.WZ)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.enabled=t.enabled,this.listQuery.spec=t.spec,this.listQuery.name=t.name,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.enabled="",this.listQuery.spec="",this.listQuery.name="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.consumablesAdd.init()}))}},handleClick(t){if("edit"===t.type){this.addOrEditTitle="编辑";const e={id:t.data.id,type:"edit"};this.$nextTick((()=>{this.$refs.consumablesAdd.init(e)})),this.centervisible=!0}else if("copy"===t.type){this.addOrEditTitle="新增";const e={id:t.data.id,type:"copy"};this.$nextTick((()=>{this.$refs.consumablesAdd.init(e)})),this.centervisible=!0}},handleCancel(){this.$refs.consumablesAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.consumablesAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},y=g,C=(0,c.Z)(y,r,a,!1,null,null,null),Z=C.exports},910:function(t,e,n){n.d(e,{$0:function(){return w},A0:function(){return $},D0:function(){return o},ER:function(){return S},Hg:function(){return j},J_:function(){return T},Kl:function(){return k},ME:function(){return c},Or:function(){return g},P4:function(){return l},Py:function(){return d},QL:function(){return A},Qj:function(){return v},Sc:function(){return h},W0:function(){return D},WZ:function(){return f},Wj:function(){return u},Zs:function(){return a},_:function(){return x},_1:function(){return y},a:function(){return F},ag:function(){return N},b8:function(){return b},dN:function(){return m},fZ:function(){return p},gz:function(){return C},jF:function(){return i},kB:function(){return _},m3:function(){return P},oW:function(){return Q},qT:function(){return Z},sU:function(){return s},sy:function(){return O},tb:function(){return L},wy:function(){return q},xf:function(){return E},yk:function(){return B}});var r=n(8859);function a(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function S(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function _(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function O(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function B(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function F(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function j(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[4337],{8027:function(t,e,n){n.d(e,{Z:function(){return l}});var r=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},a=[],i={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},o=i,s=n(1001),u=(0,s.Z)(o,r,a,!1,null,null,null),l=u.exports},4337:function(t,e,n){n.r(e),n.d(e,{default:function(){return Z}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("consumables-add",{ref:"consumablesAdd",on:{successSubmit:t.successSubmit}})],1)],1)},a=[],i=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-form-item",{attrs:{label:"耗材名称",prop:"name"}},[e("el-input",{attrs:{placeholder:"耗材名称"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{attrs:{label:"耗材规格",prop:"spec"}},[e("el-input",{attrs:{placeholder:"耗材规格"},model:{value:t.form.spec,callback:function(e){t.$set(t.form,"spec",e)},expression:"form.spec"}})],1),e("el-form-item",{attrs:{label:"耗材单位",prop:"unit"}},[e("el-input",{attrs:{placeholder:"耗材单位"},model:{value:t.form.unit,callback:function(e){t.$set(t.form,"unit",e)},expression:"form.unit"}})],1),e("el-form-item",{attrs:{label:"基础消耗量",prop:"basicConsume"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999,precision:2,step:1},model:{value:t.form.basicConsume,callback:function(e){t.$set(t.form,"basicConsume",e)},expression:"form.basicConsume"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},o=[],s=n(910),u={name:"ConsumablesAdd",data(){return{form:{id:"",name:"",spec:"",unit:"",basicConsume:"",enabled:1},rules:{name:[{required:!0,message:"请输入耗材名称",trigger:"blur"}],spec:[{required:!0,message:"请输入耗材规格",trigger:"blur"}]},stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,isEdit:!1}},methods:{init(t){t?(this.form.id=t.id,(0,s.b8)({id:t.id}).then((e=>{0===e.code&&(console.log(e),this.form.name=e.data.name,this.form.spec="copy"===t.type?"":e.data.spec,this.form.unit=e.data.unit,this.form.basicConsume=e.data.basicConsume,this.form.enabled=e.data.enabled)})),"edit"===t.type?this.isEdit=!0:(this.isEdit=!1,this.form.id="")):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,s.Or)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.Sc)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},l=u,c=n(1001),d=(0,c.Z)(l,i,o,!1,null,null,null),m=d.exports,p=n(475),f=n(8027);const h=[{prop:"name",label:"耗材名称"},{prop:"spec",label:"耗材规格"},{prop:"unit",label:"耗材单位"},{prop:"basicConsume",label:"基础消耗量"},{prop:"enabled",label:"状态",width:120,subcomponent:f.Z}],b=[{type:"edit",btnName:"编辑"},{type:"copy",btnName:"复制"}];var g={name:"ConsumablesConfig",components:{ConsumablesAdd:m},data(){return{formConfig:[{type:"input",label:"耗材名称",placeholder:"耗材名称",param:"name"},{type:"input",label:"耗材规格",placeholder:"耗材规格",param:"spec"},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:h,tableData:[],tableBtn:b,tableH:(0,p.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,p.NC)(265)})),this.getList()},methods:{getList(){(0,s.WZ)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.enabled=t.enabled,this.listQuery.spec=t.spec,this.listQuery.name=t.name,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.enabled="",this.listQuery.spec="",this.listQuery.name="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.consumablesAdd.init()}))}},handleClick(t){if("edit"===t.type){this.addOrEditTitle="编辑";const e={id:t.data.id,type:"edit"};this.$nextTick((()=>{this.$refs.consumablesAdd.init(e)})),this.centervisible=!0}else if("copy"===t.type){this.addOrEditTitle="新增";const e={id:t.data.id,type:"copy"};this.$nextTick((()=>{this.$refs.consumablesAdd.init(e)})),this.centervisible=!0}},handleCancel(){this.$refs.consumablesAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.consumablesAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},y=g,C=(0,c.Z)(y,r,a,!1,null,null,null),Z=C.exports},910:function(t,e,n){n.d(e,{$0:function(){return N},A0:function(){return w},D0:function(){return o},ER:function(){return T},Hg:function(){return D},J_:function(){return _},Kl:function(){return $},ME:function(){return c},Or:function(){return g},P4:function(){return l},Py:function(){return d},QL:function(){return B},Qj:function(){return L},Sc:function(){return h},Sl:function(){return y},W0:function(){return z},WZ:function(){return f},Wj:function(){return u},Zs:function(){return a},_:function(){return x},_1:function(){return C},a:function(){return j},ag:function(){return E},b8:function(){return b},dN:function(){return m},fZ:function(){return p},gz:function(){return Z},jF:function(){return i},kB:function(){return O},m3:function(){return F},oW:function(){return S},qT:function(){return v},sU:function(){return s},sy:function(){return q},tb:function(){return k},wy:function(){return A},xf:function(){return Q},yk:function(){return P}});var r=n(8859);function a(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function T(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function _(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function O(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function B(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function F(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function j(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function z(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/5096.25cdde84.js b/dist/js/5096.2f89e25f.js similarity index 52% rename from dist/js/5096.25cdde84.js rename to dist/js/5096.2f89e25f.js index bbf7c0e..48d3b01 100644 --- a/dist/js/5096.25cdde84.js +++ b/dist/js/5096.2f89e25f.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5096],{5096:function(t,e,r){r.r(e),r.d(e,{default:function(){return y}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"fullInspection"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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=r(475),l=r(2334),i=r(381),u=r.n(i);const s=[{prop:"virtualcode",label:"玻璃ID"},{prop:"filetype",label:"全检类型"},{prop:"glassLength",label:"长/mm"},{prop:"glassWidth",label:"宽/mm"},{prop:"glassHeight",label:"厚/mm"},{prop:"grade",label:"产品质量"},{prop:"line",label:"产线"},{prop:"time",label:"检验时间",filter:o.g6,minWidth:160}],p=[{type:"detail",btnName:"详情"}];var c={name:"fullInspection",data(){return{formConfig:[{type:"input",label:"玻璃ID",placeholder:"玻璃ID",param:"glassId"},{type:"select",label:"全检类型",selectOptions:[{id:"精切后边检",name:"精切后边检"},{id:"终检边检",name:"终检边检"},{id:"面检",name:"面检"},{id:"复检",name:"复检"}],param:"grindType",defaultSelect:"",width:150},{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:s,tableData:[],tableH:(0,o.NC)(330),tableBtn:p,total:0,listQuery:{current:1,size:20}}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(330)})),this.formConfig[2].defaultSelect=[u()().format("yyyy-MM-DD")+"T00:00:00",u()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=u()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=u()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,l.ON)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&t.data&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.grindType=t.grindType,this.listQuery.glassId=t.glassId,this.listQuery.current=1,this.getList();break;default:(0,l.pw)({...this.listQuery}).then((t=>{console.log(t);let e="";const r=t.headers["content-disposition"];r&&(e=decodeURIComponent(r.slice(r.indexOf("filename=")+9)));const n=new Blob([t.data]),a=new FileReader;a.readAsDataURL(n),a.onload=t=>{const r=document.createElement("a");r.download=e,r.href=t.target.result,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}))}},handleClick(t){console.log(t),"detail"===t.type&&this.$router.push({path:"/qualityManagement/processFullInspection/fullInspectionDetail",query:{virtualcode:t.data.virtualcode,filetype:encodeURIComponent(t.data.filetype),time:t.data.time}})}}},d=c,m=r(1001),f=(0,m.Z)(d,n,a,!1,null,null,null),y=f.exports},2334:function(t,e,r){r.d(e,{AT:function(){return k},Af:function(){return i},F0:function(){return f},ON:function(){return s},QI:function(){return l},Qd:function(){return y},YU:function(){return m},an:function(){return I},bu:function(){return T},dy:function(){return g},eT:function(){return c},fL:function(){return Q},iF:function(){return p},jA:function(){return o},oR:function(){return Z},pS:function(){return u},pw:function(){return d},r5:function(){return h},uW:function(){return D},uX:function(){return q},uj:function(){return C},v:function(){return a},vD:function(){return b}});var n=r(8859);function a(t){return(0,n.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function o(t){return(0,n.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function l(t){return(0,n.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function i(t){return(0,n.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function u(t){return(0,n.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function s(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function p(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function d(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function m(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function f(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,n.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function q(t){return(0,n.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function D(t){return(0,n.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function C(t){return(0,n.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function Z(t){return(0,n.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function T(t){return(0,n.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function I(t){return(0,n.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function k(t){return(0,n.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function Q(t){return(0,n.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5096],{5096:function(t,e,r){r.r(e),r.d(e,{default:function(){return y}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"fullInspection"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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=r(475),l=r(2334),u=r(381),i=r.n(u);const s=[{prop:"virtualcode",label:"玻璃ID"},{prop:"filetype",label:"全检类型"},{prop:"glassLength",label:"长/mm"},{prop:"glassWidth",label:"宽/mm"},{prop:"glassHeight",label:"厚/mm"},{prop:"grade",label:"产品质量"},{prop:"line",label:"产线"},{prop:"time",label:"检验时间",filter:o.g6,minWidth:160}],p=[{type:"detail",btnName:"详情"}];var c={name:"fullInspection",data(){return{formConfig:[{type:"input",label:"玻璃ID",placeholder:"玻璃ID",param:"glassId"},{type:"select",label:"全检类型",selectOptions:[{id:"精切后边检",name:"精切后边检"},{id:"终检边检",name:"终检边检"},{id:"面检",name:"面检"},{id:"复检",name:"复检"}],param:"grindType",defaultSelect:"",width:150},{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:s,tableData:[],tableH:(0,o.NC)(330),tableBtn:p,total:0,listQuery:{current:1,size:20}}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(330)})),this.formConfig[2].defaultSelect=[i()().format("yyyy-MM-DD")+"T00:00:00",i()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=i()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=i()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,l.ON)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&t.data&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.grindType=t.grindType,this.listQuery.glassId=t.glassId,this.listQuery.current=1,this.getList();break;default:(0,l.pw)({...this.listQuery}).then((t=>{console.log(t);let e="";const r=t.headers["content-disposition"];r&&(e=decodeURIComponent(r.slice(r.indexOf("filename=")+9)));const n=new Blob([t.data]),a=new FileReader;a.readAsDataURL(n),a.onload=t=>{const r=document.createElement("a");r.download=e,r.href=t.target.result,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}))}},handleClick(t){console.log(t),"detail"===t.type&&this.$router.push({path:"/qualityManagement/processFullInspection/fullInspectionDetail",query:{virtualcode:t.data.virtualcode,filetype:encodeURIComponent(t.data.filetype),time:t.data.time}})}}},d=c,m=r(1001),f=(0,m.Z)(d,n,a,!1,null,null,null),y=f.exports},2334:function(t,e,r){r.d(e,{AT:function(){return k},Af:function(){return u},F0:function(){return f},ON:function(){return s},QI:function(){return l},Qd:function(){return y},YU:function(){return m},an:function(){return I},bu:function(){return C},dy:function(){return g},eT:function(){return c},fL:function(){return Q},gP:function(){return w},iF:function(){return p},jA:function(){return o},kT:function(){return P},oR:function(){return T},pS:function(){return i},pw:function(){return d},r5:function(){return h},uW:function(){return Z},uX:function(){return q},uj:function(){return D},v:function(){return a},vD:function(){return b}});var n=r(8859);function a(t){return(0,n.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function o(t){return(0,n.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function l(t){return(0,n.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function u(t){return(0,n.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function i(t){return(0,n.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function s(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function p(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function d(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function m(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function f(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,n.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function q(t){return(0,n.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function Z(t){return(0,n.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function D(t){return(0,n.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function T(t){return(0,n.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function C(t){return(0,n.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function I(t){return(0,n.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function k(t){return(0,n.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function Q(t){return(0,n.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function P(t){return(0,n.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function w(t){return(0,n.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/5286.1c513d99.js b/dist/js/5286.5ab86fbe.js similarity index 55% rename from dist/js/5286.1c513d99.js rename to dist/js/5286.5ab86fbe.js index 19ce563..8ac3755 100644 --- a/dist/js/5286.1c513d99.js +++ b/dist/js/5286.5ab86fbe.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5286],{5286:function(t,e,r){r.r(e),r.d(e,{default:function(){return v}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"report-classification"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH},on:{emitFun:t.categoryChange}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:180,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("report-name-edit",{ref:"reportNameEdit",on:{successSubmit:t.successSubmit}})],1)],1)},n=[],i=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-form-item",{attrs:{label:"报表名称",prop:"fileName"}},[e("el-input",{model:{value:t.form.fileName,callback:function(e){t.$set(t.form,"fileName",e)},expression:"form.fileName"}})],1)],1)},o=[],u=r(910),s={name:"ReportNameEdit",data(){return{form:{id:"",fileName:""},rules:{fileName:[{required:!0,message:"请输入报表分类名",trigger:"blur"}]}}},methods:{init(t){t&&(this.form.id=t,(0,u.QL)({id:t}).then((t=>{0===t.code&&(this.form.fileName=t.data.fileName)})))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,u.sy)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})),this.$emit("successSubmit")}))},formClear(){this.$refs.form.resetFields()}}},c=s,l=r(1001),d=(0,l.Z)(c,i,o,!1,null,null,null),f=d.exports,m=r(475),p=function(){var t=this,e=t._self._c;return e("div",[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择"},on:{change:t.changeCategory},model:{value:t.categoryId,callback:function(e){t.categoryId=e},expression:"categoryId"}},t._l(t.list,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)},h=[],g={name:"categorySelect",props:{injectData:{type:Object,default:()=>({})}},data(){return{categoryId:"",list:JSON.parse(localStorage.getItem("reportCategory"))}},mounted(){this.init()},methods:{init(){this.categoryId=this.injectData.category},changeCategory(){this.$emit("emitData",{categoryId:this.categoryId,injectData:this.injectData})}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},b=g,y=(0,l.Z)(b,p,h,!1,null,null,null),C=y.exports;const Z=[{prop:"fileName",label:"报表名称"},{prop:"category",label:"报表分类",subcomponent:C},{prop:"createTime",label:"添加时间",filter:m.g6}],N=[{type:"view",btnName:"预览"},{type:"design",btnName:"设计"},{type:"edit",btnName:"编辑"},{type:"delete",btnName:"删除"}];var $={name:"ReportListDetail",components:{ReportNameEdit:f},data(){return{formConfig:[{type:"input",label:"关键字",placeholder:"报表名称",param:"name",width:200},{type:"select",label:"报表分类",selectOptions:[],param:"category",labelField:"name",valueField:"id",defaultSelect:"",width:200},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:Z,tableData:[],tableBtn:N,tableH:(0,m.NC)(330),total:0,listQuery:{current:1,size:20,name:"",category:""},typeList:[],centervisible:!1,addOrEditTitle:""}},created(){this.getCategorylist()},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,m.NC)(265)})),this.formConfig[1].defaultSelect=this.$route.params.categoryId||"",this.listQuery.category=this.$route.params.categoryId||""},methods:{getList(){(0,u.kB)({...this.listQuery}).then((t=>{0===t.code&&t.data?(this.tableData=t.data.records,this.total=t.data.total):(this.tableData=[],this.total=0)}))},getCategorylist(){(0,u.J_)({}).then((t=>{0===t.code&&t.data.length>0?(localStorage.setItem("reportCategory",JSON.stringify(t.data)),this.formConfig[1].selectOptions=t.data):localStorage.setItem("reportCategory",""),this.getList()}))},handleClick(t){switch(t.type){case"view":this.$router.push({name:"reportView",params:{name:t.data.name}});break;case"design":this.$router.push({name:"reportDesign",params:{name:t.data.name}});break;case"edit":this.addOrEditTitle="编辑",this.centervisible=!0,this.$nextTick((()=>{this.$refs.reportNameEdit.init(t.data.id)}));break;default:this.$confirm('确认删除报表"'+t.data.name+'"吗?',{type:"warning"}).then((()=>{(0,u.wy)({id:t.data.id}).then((()=>{this.$message({message:"报表删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))}},buttonClick(t){switch(t.btnName){case"search":this.listQuery.name=t.name,this.listQuery.category=t.category,this.listQuery.current=1,this.getList();break;default:this.$router.push({path:"/basicConfig/reportManagement/reportDesign"})}},handleCancel(){this.$refs.reportNameEdit.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.reportNameEdit.submitForm()},successSubmit(){this.handleCancel(),this.getList()},categoryChange(t){(0,u.sy)({fileName:t.injectData.fileName,id:t.injectData.id,category:t.categoryId}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.getList())}))}}},k=$,L=(0,l.Z)(k,a,n,!1,null,null,null),v=L.exports},910:function(t,e,r){r.d(e,{$0:function(){return v},A0:function(){return L},D0:function(){return o},ER:function(){return E},Hg:function(){return F},J_:function(){return _},Kl:function(){return k},ME:function(){return l},Or:function(){return b},P4:function(){return c},Py:function(){return d},QL:function(){return O},Qj:function(){return N},Sc:function(){return h},W0:function(){return T},WZ:function(){return p},Wj:function(){return s},Zs:function(){return n},_:function(){return S},_1:function(){return y},a:function(){return x},ag:function(){return w},b8:function(){return g},dN:function(){return f},fZ:function(){return m},gz:function(){return C},jF:function(){return i},kB:function(){return I},m3:function(){return q},oW:function(){return Q},qT:function(){return Z},sU:function(){return u},sy:function(){return j},tb:function(){return $},wy:function(){return B},xf:function(){return D},yk:function(){return P}});var a=r(8859);function n(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function E(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function j(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function B(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5286],{5286:function(t,e,r){r.r(e),r.d(e,{default:function(){return v}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"report-classification"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH},on:{emitFun:t.categoryChange}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:180,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("report-name-edit",{ref:"reportNameEdit",on:{successSubmit:t.successSubmit}})],1)],1)},n=[],i=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-form-item",{attrs:{label:"报表名称",prop:"fileName"}},[e("el-input",{model:{value:t.form.fileName,callback:function(e){t.$set(t.form,"fileName",e)},expression:"form.fileName"}})],1)],1)},o=[],u=r(910),s={name:"ReportNameEdit",data(){return{form:{id:"",fileName:""},rules:{fileName:[{required:!0,message:"请输入报表分类名",trigger:"blur"}]}}},methods:{init(t){t&&(this.form.id=t,(0,u.QL)({id:t}).then((t=>{0===t.code&&(this.form.fileName=t.data.fileName)})))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,u.sy)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})),this.$emit("successSubmit")}))},formClear(){this.$refs.form.resetFields()}}},c=s,l=r(1001),d=(0,l.Z)(c,i,o,!1,null,null,null),f=d.exports,m=r(475),p=function(){var t=this,e=t._self._c;return e("div",[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择"},on:{change:t.changeCategory},model:{value:t.categoryId,callback:function(e){t.categoryId=e},expression:"categoryId"}},t._l(t.list,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)},h=[],g={name:"categorySelect",props:{injectData:{type:Object,default:()=>({})}},data(){return{categoryId:"",list:JSON.parse(localStorage.getItem("reportCategory"))}},mounted(){this.init()},methods:{init(){this.categoryId=this.injectData.category},changeCategory(){this.$emit("emitData",{categoryId:this.categoryId,injectData:this.injectData})}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},b=g,y=(0,l.Z)(b,p,h,!1,null,null,null),C=y.exports;const Z=[{prop:"fileName",label:"报表名称"},{prop:"category",label:"报表分类",subcomponent:C},{prop:"createTime",label:"添加时间",filter:m.g6}],N=[{type:"view",btnName:"预览"},{type:"design",btnName:"设计"},{type:"edit",btnName:"编辑"},{type:"delete",btnName:"删除"}];var L={name:"ReportListDetail",components:{ReportNameEdit:f},data(){return{formConfig:[{type:"input",label:"关键字",placeholder:"报表名称",param:"name",width:200},{type:"select",label:"报表分类",selectOptions:[],param:"category",labelField:"name",valueField:"id",defaultSelect:"",width:200},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:Z,tableData:[],tableBtn:N,tableH:(0,m.NC)(330),total:0,listQuery:{current:1,size:20,name:"",category:""},typeList:[],centervisible:!1,addOrEditTitle:""}},created(){this.getCategorylist()},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,m.NC)(265)})),this.formConfig[1].defaultSelect=this.$route.params.categoryId||"",this.listQuery.category=this.$route.params.categoryId||""},methods:{getList(){(0,u.kB)({...this.listQuery}).then((t=>{0===t.code&&t.data?(this.tableData=t.data.records,this.total=t.data.total):(this.tableData=[],this.total=0)}))},getCategorylist(){(0,u.J_)({}).then((t=>{0===t.code&&t.data.length>0?(localStorage.setItem("reportCategory",JSON.stringify(t.data)),this.formConfig[1].selectOptions=t.data):localStorage.setItem("reportCategory",""),this.getList()}))},handleClick(t){switch(t.type){case"view":this.$router.push({name:"reportView",params:{name:t.data.name}});break;case"design":this.$router.push({name:"reportDesign",params:{name:t.data.name}});break;case"edit":this.addOrEditTitle="编辑",this.centervisible=!0,this.$nextTick((()=>{this.$refs.reportNameEdit.init(t.data.id)}));break;default:this.$confirm('确认删除报表"'+t.data.name+'"吗?',{type:"warning"}).then((()=>{(0,u.wy)({id:t.data.id}).then((()=>{this.$message({message:"报表删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))}},buttonClick(t){switch(t.btnName){case"search":this.listQuery.name=t.name,this.listQuery.category=t.category,this.listQuery.current=1,this.getList();break;default:this.$router.push({path:"/basicConfig/reportManagement/reportDesign"})}},handleCancel(){this.$refs.reportNameEdit.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.reportNameEdit.submitForm()},successSubmit(){this.handleCancel(),this.getList()},categoryChange(t){(0,u.sy)({fileName:t.injectData.fileName,id:t.injectData.id,category:t.categoryId}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.getList())}))}}},$=L,k=(0,l.Z)($,a,n,!1,null,null,null),v=k.exports},910:function(t,e,r){r.d(e,{$0:function(){return w},A0:function(){return v},D0:function(){return o},ER:function(){return _},Hg:function(){return T},J_:function(){return I},Kl:function(){return k},ME:function(){return l},Or:function(){return b},P4:function(){return c},Py:function(){return d},QL:function(){return P},Qj:function(){return L},Sc:function(){return h},Sl:function(){return y},W0:function(){return z},WZ:function(){return p},Wj:function(){return s},Zs:function(){return n},_:function(){return E},_1:function(){return C},a:function(){return F},ag:function(){return S},b8:function(){return g},dN:function(){return f},fZ:function(){return m},gz:function(){return Z},jF:function(){return i},kB:function(){return j},m3:function(){return x},oW:function(){return Q},qT:function(){return N},sU:function(){return u},sy:function(){return B},tb:function(){return $},wy:function(){return O},xf:function(){return D},yk:function(){return q}});var a=r(8859);function n(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function E(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function _(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function j(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function B(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function z(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/4329.012a1ef3.js b/dist/js/5304.94b88658.js similarity index 51% rename from dist/js/4329.012a1ef3.js rename to dist/js/5304.94b88658.js index 27a4c8e..d3880a6 100644 --- a/dist/js/4329.012a1ef3.js +++ b/dist/js/5304.94b88658.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[4329],{8027:function(t,e,r){r.d(e,{Z:function(){return u}});var a=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},i=[],o={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},n=o,s=r(1001),l=(0,s.Z)(n,a,i,!1,null,null,null),u=l.exports},4329:function(t,e,r){r.r(e),r.d(e,{default:function(){return Z}});var a=function(){var t=this,e=t._self._c;return e("div",[e("el-row",{staticClass:"main-box",attrs:{gutter:10}},[e("el-col",{attrs:{span:4}},[e("div",{staticClass:"left-box"},[e("el-tree",{attrs:{data:t.treeData,"node-key":"id",props:t.defaultProps,"default-expand-all":"",draggable:"","allow-drop":t.allowDrop,"allow-drag":t.allowDrag,"highlight-current":!0},on:{"node-drag-end":t.handleDragEnd,"node-click":t.clickDevice}})],1)]),e("el-col",{attrs:{span:20}},[e("div",{staticClass:"right-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("device-add",{ref:"deviceAdd",on:{successSubmit:t.successSubmit}})],1)],1)],1)],1)},i=[],o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",staticClass:"device-add",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},on:{change:t.getUnitModule},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"单元",prop:"unitId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"单元"},on:{change:t.getEqCode},model:{value:t.form.unitId,callback:function(e){t.$set(t.form,"unitId",e)},expression:"form.unitId"}},t._l(t.unitModuleList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"name"}},[e("el-input",{attrs:{placeholder:"设备名称"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备规格",prop:"spec"}},[e("el-input",{attrs:{placeholder:"设备规格"},model:{value:t.form.spec,callback:function(e){t.$set(t.form,"spec",e)},expression:"form.spec"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备编码",prop:"code"}},[e("el-input",{attrs:{placeholder:"设备编码",disabled:""},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"基础寿命",prop:"baseLife"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"基础寿命",min:0,max:999999999,precision:2},model:{value:t.form.baseLife,callback:function(e){t.$set(t.form,"baseLife",e)},expression:"form.baseLife"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"购买价格/万元",prop:"price"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"购买价格/万元",min:0,max:999999999,precision:2},model:{value:t.form.price,callback:function(e){t.$set(t.form,"price",e)},expression:"form.price"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{placeholder:"供应商"},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"采购日期",prop:"purchaseDate"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",placeholder:"采购日期"},model:{value:t.form.purchaseDate,callback:function(e){t.$set(t.form,"purchaseDate",e)},expression:"form.purchaseDate"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"生产日期",prop:"productDate"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"生产日期",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd"},model:{value:t.form.productDate,callback:function(e){t.$set(t.form,"productDate",e)},expression:"form.productDate"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备图片",prop:"imgId"}},[t.deviceImg?e("div",{staticClass:"img-box",staticStyle:{position:"relative"}},[e("el-image",{staticClass:"avatar",attrs:{src:t.deviceImg,"preview-src-list":t.srcList}}),e("i",{staticClass:"el-icon-circle-close avatar-close-icon",on:{click:function(e){return t.clearImg()}}})],1):e("el-upload",{staticClass:"device-uploader",attrs:{data:t.dataObj,name:"files",action:t.uploadApi,"show-file-list":!1,"on-success":t.handleAvatarSuccess,"before-upload":t.beforeAvatarUpload,headers:{token:t.token}}},[e("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1)],1)],1)],1)},n=[],s=r(910),l=r(5591),u=r(1836),d=r(381),c=r.n(d),p={name:"ConsumablesAdd",data(){return{form:{id:"",proLineId:"",unitId:"",name:"",spec:"",code:"",baseLife:"",price:"",imgId:"",supplier:"",purchaseDate:c()().format("YYYY-MM-DD"),productDate:c()().format("YYYY-MM-DD"),remark:"",enabled:1},deviceImg:"",srcList:[],rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],unitId:[{required:!0,message:"请选择单元",trigger:"change"}],name:[{required:!0,message:"请输入设备名称",trigger:"blur"}],spec:[{required:!0,message:"请输入设备规格",trigger:"blur"}],code:[{required:!0,message:"请输入设备编码",trigger:"blur"}]},isEdit:!1,productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,unitModuleList:[],uploadApi:l.WQ,token:(0,u.LP)(),dataObj:{typeCode:"equipmentImage"}}},methods:{init(t){t?(this.form.id=t,this.isEdit=!0,(0,s.xf)({id:t}).then((t=>{0===t.code&&(this.form.proLineId=t.data.proLineId,(0,s._)(this.form.proLineId).then((t=>{this.unitModuleList=t.data||[]})),this.form.unitId=t.data.unitId,this.form.name=t.data.name,this.form.spec=t.data.spec,this.form.code=t.data.code,this.form.baseLife=t.data.baseLife,this.form.price=t.data.price,this.form.imgId=t.data.imgId,t.data.imgId&&(this.deviceImg="http://tft.mes.picaiba.com/api/common/attachment/downloadFile?type=0&attachmentId="+t.data.imgId,this.srcList=[this.deviceImg]),this.form.supplier=t.data.supplier,this.form.purchaseDate=t.data.purchaseDate?t.data.purchaseDate:"",this.form.productDate=t.data.productDate?t.data.productDate:"",this.form.remark=t.data.remark,this.form.enabled=t.data.enabled)}))):(this.form.id="",this.isEdit=!1)},getUnitModule(t){(0,s._)(t).then((t=>{this.unitModuleList=t.data||[],this.form.unitId="",this.form.code=""}))},getEqCode(){if(this.form.proLineId&&this.form.unitId){let t="";this.unitModuleList&&this.unitModuleList.map((e=>{e.id===this.form.unitId&&(t=e.sequence)})),(0,s.ER)({proLineId:this.form.proLineId,sequence:t}).then((t=>{this.form.code=t.data}))}},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,s.oW)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.ag)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.deviceImg="",this.srcList=[]},handleAvatarSuccess(t){this.form.imgId=t.data[0].id,this.deviceImg="http://tft.mes.picaiba.com/api/common/attachment/downloadFile?type=0&attachmentId="+t.data[0].id,this.srcList=[this.deviceImg]},clearImg(){this.deviceImg="",this.srcList=[],this.form.imgId=""},beforeAvatarUpload(t){const e="image/jpeg"===t.type,r=t.size/1024/1024<2;return e||this.$message.error("上传头像图片只能是 JPG / PNG格式!"),r||this.$message.error("上传头像图片大小不能超过 2MB!"),e&&r}}},m=p,f=r(1001),h=(0,f.Z)(m,o,n,!1,null,"170526ff",null),b=h.exports,g=r(475),y=r(8027);const v=[{prop:"proLineId",label:"产线",filter:(0,g.fW)("proLineVoList"),width:100},{prop:"unitName",label:"单元",width:150},{prop:"name",label:"设备名称",width:150},{prop:"spec",label:"设备规格",width:150},{prop:"code",label:"设备编码",width:150},{prop:"status",label:"设备状态",width:120,subcomponent:y.Z},{prop:"baseLife",label:"基础寿命",width:100},{prop:"price",label:"购买价格/万元",width:140},{prop:"supplier",label:"供应商",width:150},{prop:"purchaseDate",label:"采购日期",minWidth:120},{prop:"productDate",label:"生产日期",minWidth:120},{prop:"creatorName",label:"登记人",width:120},{prop:"createTime",label:"登记时间",filter:g.g6,minWidth:160},{prop:"remark",label:"备注",width:150}],L=[{type:"edit",btnName:"编辑"}];var C={name:"DeviceConfig",components:{DeviceAdd:b},data(){return{treeData:[],defaultProps:{children:"children",label:"name"},formConfig:[{type:"input",label:"设备规格",placeholder:"设备规格",param:"spec"},{type:"input",label:"设备编码",placeholder:"设备编码",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:v,tableData:[],tableBtn:L,tableH:(0,g.NC)(275),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,g.NC)(275)})),this.getTree(),this.getList()},methods:{getTree(){(0,l.SI)().then((t=>{this.treeData=t.data}))},getList(){(0,s.$0)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleDragEnd(t){let e=t.data.parent,r=[];for(let a=0;a{this.$message({message:"操作成功",type:"success",duration:1500,onClose:()=>{}}),this.getTree()}))},allowDrop(t,e,r){return t.data.parent===e.data.parent&&3===e.level&&"inner"!==r},allowDrag(t){return t.data.isAllowDrag},clickDevice(t){t.children||(this.$refs.searchBarForm.resetForm(),this.listQuery.spec="",this.listQuery.code="",this.listQuery.id=t.id,this.listQuery.current=1,this.getList())},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.spec=t.spec,this.listQuery.code=t.code,this.listQuery.id="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.deviceAdd.init()}))}},handleClick(t){"edit"===t.type&&(this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.deviceAdd.init(t.data.id)})),this.centervisible=!0)},handleCancel(){this.$refs.deviceAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.deviceAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList(),this.getTree()}}},w=C,D=(0,f.Z)(w,a,i,!1,null,"50aec75c",null),Z=D.exports},5591:function(t,e,r){r.d(e,{FH:function(){return s},Hp:function(){return l},JQ:function(){return n},SI:function(){return o},WQ:function(){return c},b6:function(){return u},iv:function(){return i},m:function(){return d}});var a=r(8859);function i(){return(0,a.Z)({url:"/common/getList",method:"post"})}function o(){return(0,a.Z)({url:"/common/getTreeData",method:"post"})}function n(t){return(0,a.Z)({url:"/common/updateEqSeq",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}function l(t){return(0,a.Z)({url:"/common/getAlarmData",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/common/getProductData",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/common/getMaterialData",method:"post",data:t})}const c="/api/common/attachment/uploadFileFormData"},910:function(t,e,r){r.d(e,{$0:function(){return I},A0:function(){return Z},D0:function(){return n},ER:function(){return M},Hg:function(){return F},J_:function(){return Q},Kl:function(){return D},ME:function(){return d},Or:function(){return g},P4:function(){return u},Py:function(){return c},QL:function(){return N},Qj:function(){return C},Sc:function(){return h},W0:function(){return O},WZ:function(){return f},Wj:function(){return l},Zs:function(){return i},_:function(){return S},_1:function(){return y},a:function(){return P},ag:function(){return k},b8:function(){return b},dN:function(){return p},fZ:function(){return m},gz:function(){return v},jF:function(){return o},kB:function(){return E},m3:function(){return A},oW:function(){return x},qT:function(){return L},sU:function(){return s},sy:function(){return T},tb:function(){return w},wy:function(){return q},xf:function(){return $},yk:function(){return _}});var a=r(8859);function i(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function n(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function M(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function E(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function A(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5304],{8027:function(t,e,r){r.d(e,{Z:function(){return u}});var a=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},i=[],o={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},n=o,s=r(1001),l=(0,s.Z)(n,a,i,!1,null,null,null),u=l.exports},5304:function(t,e,r){r.r(e),r.d(e,{default:function(){return Z}});var a=function(){var t=this,e=t._self._c;return e("div",[e("el-row",{staticClass:"main-box",attrs:{gutter:10}},[e("el-col",{attrs:{span:4}},[e("div",{staticClass:"left-box"},[e("el-tree",{attrs:{data:t.treeData,"node-key":"id",props:t.defaultProps,"default-expand-all":"",draggable:"","allow-drop":t.allowDrop,"allow-drag":t.allowDrag,"highlight-current":!0},on:{"node-drag-end":t.handleDragEnd,"node-click":t.clickDevice}})],1)]),e("el-col",{attrs:{span:20}},[e("div",{staticClass:"right-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("device-add",{ref:"deviceAdd",on:{successSubmit:t.successSubmit}})],1)],1)],1)],1)},i=[],o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",staticClass:"device-add",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},on:{change:t.getUnitModule},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"单元",prop:"unitId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"单元"},on:{change:t.getEqCode},model:{value:t.form.unitId,callback:function(e){t.$set(t.form,"unitId",e)},expression:"form.unitId"}},t._l(t.unitModuleList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"name"}},[e("el-input",{attrs:{placeholder:"设备名称"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备规格",prop:"spec"}},[e("el-input",{attrs:{placeholder:"设备规格"},model:{value:t.form.spec,callback:function(e){t.$set(t.form,"spec",e)},expression:"form.spec"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备编码",prop:"code"}},[e("el-input",{attrs:{placeholder:"设备编码",disabled:""},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"基础寿命",prop:"baseLife"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"基础寿命",min:0,max:999999999,precision:2},model:{value:t.form.baseLife,callback:function(e){t.$set(t.form,"baseLife",e)},expression:"form.baseLife"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"购买价格/万元",prop:"price"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"购买价格/万元",min:0,max:999999999,precision:2},model:{value:t.form.price,callback:function(e){t.$set(t.form,"price",e)},expression:"form.price"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{placeholder:"供应商"},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"采购日期",prop:"purchaseDate"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",placeholder:"采购日期"},model:{value:t.form.purchaseDate,callback:function(e){t.$set(t.form,"purchaseDate",e)},expression:"form.purchaseDate"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"生产日期",prop:"productDate"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"生产日期",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd"},model:{value:t.form.productDate,callback:function(e){t.$set(t.form,"productDate",e)},expression:"form.productDate"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备图片",prop:"imgId"}},[t.deviceImg?e("div",{staticClass:"img-box",staticStyle:{position:"relative"}},[e("el-image",{staticClass:"avatar",attrs:{src:t.deviceImg,"preview-src-list":t.srcList}}),e("i",{staticClass:"el-icon-circle-close avatar-close-icon",on:{click:function(e){return t.clearImg()}}})],1):e("el-upload",{staticClass:"device-uploader",attrs:{data:t.dataObj,name:"files",action:t.uploadApi,"show-file-list":!1,"on-success":t.handleAvatarSuccess,"before-upload":t.beforeAvatarUpload,headers:{token:t.token}}},[e("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1)],1)],1)],1)},n=[],s=r(910),l=r(5591),u=r(1836),d=r(381),c=r.n(d),p={name:"ConsumablesAdd",data(){return{form:{id:"",proLineId:"",unitId:"",name:"",spec:"",code:"",baseLife:"",price:"",imgId:"",supplier:"",purchaseDate:c()().format("YYYY-MM-DD"),productDate:c()().format("YYYY-MM-DD"),remark:"",enabled:1},deviceImg:"",srcList:[],rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],unitId:[{required:!0,message:"请选择单元",trigger:"change"}],name:[{required:!0,message:"请输入设备名称",trigger:"blur"}],spec:[{required:!0,message:"请输入设备规格",trigger:"blur"}],code:[{required:!0,message:"请输入设备编码",trigger:"blur"}]},isEdit:!1,productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,unitModuleList:[],uploadApi:l.WQ,token:(0,u.LP)(),dataObj:{typeCode:"equipmentImage"}}},methods:{init(t){t?(this.form.id=t,this.isEdit=!0,(0,s.xf)({id:t}).then((t=>{0===t.code&&(this.form.proLineId=t.data.proLineId,(0,s._)(this.form.proLineId).then((t=>{this.unitModuleList=t.data||[]})),this.form.unitId=t.data.unitId,this.form.name=t.data.name,this.form.spec=t.data.spec,this.form.code=t.data.code,this.form.baseLife=t.data.baseLife,this.form.price=t.data.price,this.form.imgId=t.data.imgId,t.data.imgId&&(this.deviceImg="http://tft.mes.picaiba.com/api/common/attachment/downloadFile?type=0&attachmentId="+t.data.imgId,this.srcList=[this.deviceImg]),this.form.supplier=t.data.supplier,this.form.purchaseDate=t.data.purchaseDate?t.data.purchaseDate:"",this.form.productDate=t.data.productDate?t.data.productDate:"",this.form.remark=t.data.remark,this.form.enabled=t.data.enabled)}))):(this.form.id="",this.isEdit=!1)},getUnitModule(t){(0,s._)(t).then((t=>{this.unitModuleList=t.data||[],this.form.unitId="",this.form.code=""}))},getEqCode(){if(this.form.proLineId&&this.form.unitId){let t="";this.unitModuleList&&this.unitModuleList.map((e=>{e.id===this.form.unitId&&(t=e.sequence)})),(0,s.ER)({proLineId:this.form.proLineId,sequence:t}).then((t=>{this.form.code=t.data}))}},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,s.oW)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.ag)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.deviceImg="",this.srcList=[],this.unitModuleList=[]},handleAvatarSuccess(t){this.form.imgId=t.data[0].id,this.deviceImg="http://tft.mes.picaiba.com/api/common/attachment/downloadFile?type=0&attachmentId="+t.data[0].id,this.srcList=[this.deviceImg]},clearImg(){this.deviceImg="",this.srcList=[],this.form.imgId=""},beforeAvatarUpload(t){const e="image/jpeg"===t.type,r=t.size/1024/1024<2;return e||this.$message.error("上传头像图片只能是 JPG / PNG格式!"),r||this.$message.error("上传头像图片大小不能超过 2MB!"),e&&r}}},m=p,f=r(1001),h=(0,f.Z)(m,o,n,!1,null,"0a02c89e",null),b=h.exports,g=r(475),y=r(8027);const v=[{prop:"proLineId",label:"产线",filter:(0,g.fW)("proLineVoList"),width:100},{prop:"unitName",label:"单元",width:150},{prop:"name",label:"设备名称",width:150},{prop:"spec",label:"设备规格",width:150},{prop:"code",label:"设备编码",width:150},{prop:"status",label:"设备状态",width:120,subcomponent:y.Z},{prop:"baseLife",label:"基础寿命",width:100},{prop:"price",label:"购买价格/万元",width:140},{prop:"supplier",label:"供应商",width:150},{prop:"purchaseDate",label:"采购日期",minWidth:120},{prop:"productDate",label:"生产日期",minWidth:120},{prop:"creatorName",label:"登记人",width:120},{prop:"createTime",label:"登记时间",filter:g.g6,minWidth:160},{prop:"remark",label:"备注",width:150}],L=[{type:"edit",btnName:"编辑"}];var C={name:"DeviceConfig",components:{DeviceAdd:b},data(){return{treeData:[],defaultProps:{children:"children",label:"name"},formConfig:[{type:"input",label:"设备规格",placeholder:"设备规格",param:"spec"},{type:"input",label:"设备编码",placeholder:"设备编码",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:v,tableData:[],tableBtn:L,tableH:(0,g.NC)(275),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,g.NC)(275)})),this.getTree(),this.getList()},methods:{getTree(){(0,l.SI)().then((t=>{this.treeData=t.data}))},getList(){(0,s.$0)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleDragEnd(t){let e=t.data.parent,r=[];for(let a=0;a{this.$message({message:"操作成功",type:"success",duration:1500,onClose:()=>{}}),this.getTree()}))},allowDrop(t,e,r){return t.data.parent===e.data.parent&&3===e.level&&"inner"!==r},allowDrag(t){return t.data.isAllowDrag},clickDevice(t){t.children||(this.$refs.searchBarForm.resetForm(),this.listQuery.spec="",this.listQuery.code="",this.listQuery.id=t.id,this.listQuery.current=1,this.getList())},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.spec=t.spec,this.listQuery.code=t.code,this.listQuery.id="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.deviceAdd.init()}))}},handleClick(t){"edit"===t.type&&(this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.deviceAdd.init(t.data.id)})),this.centervisible=!0)},handleCancel(){this.$refs.deviceAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.deviceAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList(),this.getTree()}}},w=C,D=(0,f.Z)(w,a,i,!1,null,"50aec75c",null),Z=D.exports},5591:function(t,e,r){r.d(e,{FH:function(){return s},Hp:function(){return l},JQ:function(){return n},SI:function(){return o},WQ:function(){return c},b6:function(){return u},iv:function(){return i},m:function(){return d}});var a=r(8859);function i(){return(0,a.Z)({url:"/common/getList",method:"post"})}function o(){return(0,a.Z)({url:"/common/getTreeData",method:"post"})}function n(t){return(0,a.Z)({url:"/common/updateEqSeq",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}function l(t){return(0,a.Z)({url:"/common/getAlarmData",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/common/getProductData",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/common/getMaterialData",method:"post",data:t})}const c="/api/common/attachment/uploadFileFormData"},910:function(t,e,r){r.d(e,{$0:function(){return k},A0:function(){return I},D0:function(){return n},ER:function(){return Q},Hg:function(){return O},J_:function(){return E},Kl:function(){return Z},ME:function(){return d},Or:function(){return g},P4:function(){return u},Py:function(){return c},QL:function(){return _},Qj:function(){return w},Sc:function(){return h},Sl:function(){return y},W0:function(){return j},WZ:function(){return f},Wj:function(){return l},Zs:function(){return i},_:function(){return M},_1:function(){return v},a:function(){return F},ag:function(){return $},b8:function(){return b},dN:function(){return p},fZ:function(){return m},gz:function(){return L},jF:function(){return o},kB:function(){return T},m3:function(){return P},oW:function(){return S},qT:function(){return C},sU:function(){return s},sy:function(){return q},tb:function(){return D},wy:function(){return N},xf:function(){return x},yk:function(){return A}});var a=r(8859);function i(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function n(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function M(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function Q(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function E(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function A(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function j(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/8865.2cded0bb.js b/dist/js/5705.efe96667.js similarity index 69% rename from dist/js/8865.2cded0bb.js rename to dist/js/5705.efe96667.js index 9140ff6..bc7c8b6 100644 --- a/dist/js/8865.2cded0bb.js +++ b/dist/js/5705.efe96667.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[8865],{8865:function(t,e,a){a.r(e),a.d(e,{default:function(){return x}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectChanged}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"row-class-name":t.tableRowClassName}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:t.getList}}),e("base-dialog",{attrs:{dialogTitle:t.addAndEdit,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("in-and-out-management-add",{ref:"inAndOutManagementAdd",on:{successSubmit:t.successSubmit}})],1)],1)},n=[],i=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线",disabled:t.showEdit||t.showOutput},on:{change:t.getSideLibaryList},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.proLineIdList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"所属线边库",prop:"sideLibaryId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"所属线边库",disabled:t.showEdit||t.showOutput},model:{value:t.form.sideLibaryId,callback:function(e){t.$set(t.form,"sideLibaryId",e)},expression:"form.sideLibaryId"}},t._l(t.sideLibaryIdList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.sideLibaryId}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"耗材名称",prop:"name"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{filterable:"",placeholder:"耗材名称",disabled:t.showEdit||t.showOutput},on:{change:t.selectMeta},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}},t._l(t.consumablesNameList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"规格",prop:"spec"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"规格",disabled:t.showEdit||t.showOutput},model:{value:t.form.spec,callback:function(e){t.$set(t.form,"spec",e)},expression:"form.spec"}},t._l(t.consumablesSpecList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.spec,value:t.spec}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[t.showEdit?t._e():e("el-form-item",{attrs:{label:"批次编码",prop:"batchCode"}},[t.showOutput?t._e():e("el-input",{attrs:{disabled:t.showEdit,placeholder:"批次编码"},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}}),t.showOutput?e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"批次编码"},on:{change:t.toggleSupplier},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}},t._l(t.batchCodeList,(function(t){return e("el-option",{key:t.batchCode,attrs:{label:t.batchCode,value:t.batchCode}})})),1):t._e()],1)],1),e("el-col",{attrs:{span:12}},[t.showEdit?t._e():e("el-form-item",{attrs:{label:t.showOutput?"出库数量":"入库数量",prop:"num"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999,disabled:t.showEdit},model:{value:t.form.num,callback:function(e){t.$set(t.form,"num",e)},expression:"form.num"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[t.showEdit?t._e():e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{disabled:t.showEdit||t.showOutput,placeholder:"供应商"},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"单位",prop:"unit"}},[e("el-input",{attrs:{placeholder:"单位",disabled:""},model:{value:t.form.unit,callback:function(e){t.$set(t.form,"unit",e)},expression:"form.unit"}})],1)],1)],1),t.showEdit?e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最低安全库存",prop:"minNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999},model:{value:t.form.minNum,callback:function(e){t.$set(t.form,"minNum",e)},expression:"form.minNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最高安全库存",prop:"maxNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:9999999999},model:{value:t.form.maxNum,callback:function(e){t.$set(t.form,"maxNum",e)},expression:"form.maxNum"}})],1)],1)],1):t._e(),t.showOutput?e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"领取人",prop:"recipient"}},[e("el-input",{attrs:{placeholder:"领取人"},model:{value:t.form.recipient,callback:function(e){t.$set(t.form,"recipient",e)},expression:"form.recipient"}})],1)],1)],1):t._e(),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},o=[],s=a(4770),l=a(910),u={name:"inAndOutManagementAdd",data(){return{form:{id:"",proLineId:"",sideLibaryId:"",name:"",spec:"",batchCode:"",num:"",supplier:"",unit:"",remark:"",minNum:"",maxNum:"",recipient:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],sideLibaryId:[{required:!0,message:"请选择所属线边库",trigger:"change"}],name:[{required:!0,message:"请选择耗材名称",trigger:"change"}],spec:[{required:!0,message:"请选择规格",trigger:"change"}],batchCode:[{required:!0,message:"请输入批次编码",trigger:"blur"}],num:[{required:!0,message:"请输入入库数量",trigger:"blur"}],minNum:[{required:!0,message:"请输入最低安全库存",trigger:"blur"}],maxNum:[{required:!0,message:"请输入最高安全库存",trigger:"blur"}]},proLineIdList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sideLibaryIdList:[],consumablesNameList:[],consumablesSpecList:[],showEdit:!1,showOutput:!1,batchCodeList:[]}},methods:{init(t){this.getMaterialList(),t?(this.form.id=t.id,(0,s.qw)({id:this.form.id}).then((t=>{this.form.proLineId="1",this.getSideLibaryList(this.form.proLineId),this.form.sideLibaryId=t.data.sideLibaryId,this.form.name=t.data.materialName,this.selectMeta(this.form.name),this.form.spec=t.data.spec,this.form.minNum=t.data.minNum?t.data.minNum:0,this.form.maxNum=t.data.maxNum?t.data.maxNum:0,this.form.remark=t.data.remark,this.form.recipient=this.$store.getters.username?this.$store.getters.username:""})),"edit"===t.type?(this.showEdit=!0,this.showOutput=!1,console.log("编辑")):(this.showOutput=!0,this.showEdit=!1,this.getBatch(this.form.id),console.log("出库"))):this.form.id=""},getSideLibaryList(t){this.form.sideLibaryId="",(0,l.A0)({id:t}).then((t=>{0===t.code&&(this.sideLibaryIdList=t.data)}))},getMaterialList(){(0,l._1)().then((t=>{0===t.code&&(this.consumablesNameList=t.data)}))},selectMeta(t){this.consumablesNameList&&this.consumablesNameList.map((e=>{e.name===t&&(this.form.unit=e.unit)})),(0,l.gz)({name:t}).then((t=>{console.log(t),0===t.code&&(this.consumablesSpecList=t.data,this.showEdit||this.showOutput||(this.form.spec=""))}))},getBatch(t){(0,s.MX)({id:t}).then((t=>{0===t.code&&(this.batchCodeList=t.data)}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.form.id?this.showEdit?(0,s.VJ)({id:this.form.id,minNum:this.form.minNum,maxNum:this.form.maxNum,remark:this.form.remark}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.ql)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.Gn)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.showEdit=!1,this.showOutput=!1,this.batchCodeList=[],this.$refs.form.resetFields()},toggleSupplier(t){this.batchCodeList&&this.batchCodeList.map((e=>{t===e.batchCode&&(this.form.supplier=e.supplier)}))}}},d=u,c=a(1001),m=(0,c.Z)(d,i,o,!1,null,null,null),p=m.exports,h=function(){var t=this,e=t._self._c;return e("el-popover",{attrs:{placement:"right",width:"500",trigger:"click"}},[e("el-table",{attrs:{data:t.tableData}},[e("el-table-column",{attrs:{prop:"batchCode",label:"批次编码",width:"160"}}),e("el-table-column",{attrs:{prop:"supplier",label:"供应商",width:"220"}}),e("el-table-column",{attrs:{prop:"num",label:"当前库存"}})],1),e("el-button",{staticClass:"tableInnerButton",attrs:{slot:"reference",type:"text"},on:{click:function(e){return t.showInnerTable(t.injectData)}},slot:"reference"},[t._v("详情")])],1)},f=[],b={name:"InnerTable",props:{injectData:{type:Object,default:()=>({})},itemProp:{type:String}},data(){return{list:this.injectData,tableData:[]}},methods:{showInnerTable(t){(0,s.MX)({id:t.id}).then((t=>{0===t.code&&(this.tableData=t.data)}))}}},g=b,y=(0,c.Z)(g,h,f,!1,null,null,null),L=y.exports,C=a(475);const w=[{prop:"line",label:"产线",minWidth:120},{prop:"sideLibraryName",label:"所属线边库",minWidth:150},{prop:"materialName",label:"耗材名称",minWidth:150},{prop:"spec",label:"规格",minWidth:150},{prop:"unit",label:"单位",minWidth:150},{prop:"stockNum",label:"库存数量/个",sortable:!0,minWidth:150},{prop:"details",label:"库存详情",minWidth:100,subcomponent:L},{prop:"minNum",label:"最低安全库存",width:150},{prop:"maxNum",label:"最高安全库存",width:150},{prop:"remark",label:"备注",minWidth:150}],N=[{type:"edit",btnName:"编辑"},{type:"output",btnName:"出库"}];var Z={name:"InAndOutManagement",components:{InAndOutManagementAdd:p},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"lineName",labelField:"dataName",valueField:"dataName",defaultSelect:"",onchange:!0,width:150},{type:"select",label:"线边库名称",selectOptions:[],param:"libraryName",labelField:"name",valueField:"name",defaultSelect:"",width:200},{type:"select",label:"耗材名称",selectOptions:[],param:"materialName",labelField:"name",valueField:"name",defaultSelect:"",width:150},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"入库",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:w,tableData:[],tableBtn:N,tableH:(0,C.NC)(275),total:0,listQuery:{current:1,size:20},addAndEdit:"",centervisible:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,C.NC)(275)})),this.getMaterialList(),this.getList()},methods:{getList(){(0,s.p0)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},selectChanged(t){if(console.log(t),t.value){let e=null,a=JSON.parse(localStorage.getItem("publicList")).proLineVoList;a&&a.map((a=>{a.dataName===t.value&&(e=a.dataCode)})),(0,l.A0)({id:e}).then((t=>{0===t.code&&(this.formConfig[1].selectOptions=t.data,this.formConfig[1].defaultSelect=null)}))}},getMaterialList(){(0,l._1)().then((t=>{console.log(t),0===t.code&&(this.formConfig[2].selectOptions=t.data)}))},handleClick(t){if(console.log(t),"edit"===t.type){this.centervisible=!0,this.addAndEdit="编辑";const e={id:t.data.id,type:"edit"};this.$nextTick((()=>{this.$refs.inAndOutManagementAdd.init(e)}))}else if("output"===t.type){this.centervisible=!0,this.addAndEdit="出库";const e={id:t.data.id,type:"output"};this.$nextTick((()=>{this.$refs.inAndOutManagementAdd.init(e)}))}},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.lineName=t.lineName,this.listQuery.libraryName=t.libraryName,this.listQuery.materialName=t.materialName,this.listQuery.current=1,this.getList();break;case"add":this.centervisible=!0,this.addAndEdit="入库",this.$nextTick((()=>{this.$refs.inAndOutManagementAdd.init()}));break;default:(0,s.vN)({...this.listQuery}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),n=new FileReader;n.readAsDataURL(r),n.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))}},tableRowClassName({row:t}){return t.flag&&t.flag>0?"danger-row":""},handleCancel(){this.$refs.inAndOutManagementAdd.formClear(),this.addAndEdit="",this.centervisible=!1},handleConfirm(){this.$refs.inAndOutManagementAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},k=Z,v=(0,c.Z)(k,r,n,!1,null,null,null),x=v.exports},910:function(t,e,a){a.d(e,{$0:function(){return v},A0:function(){return k},D0:function(){return o},ER:function(){return I},Hg:function(){return W},J_:function(){return $},Kl:function(){return Z},ME:function(){return d},Or:function(){return g},P4:function(){return u},Py:function(){return c},QL:function(){return q},Qj:function(){return w},Sc:function(){return f},W0:function(){return D},WZ:function(){return h},Wj:function(){return l},Zs:function(){return n},_:function(){return O},_1:function(){return y},a:function(){return F},ag:function(){return x},b8:function(){return b},dN:function(){return m},fZ:function(){return p},gz:function(){return L},jF:function(){return i},kB:function(){return A},m3:function(){return B},oW:function(){return S},qT:function(){return C},sU:function(){return s},sy:function(){return E},tb:function(){return N},wy:function(){return _},xf:function(){return M},yk:function(){return Q}});var r=a(8859);function n(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function O(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function I(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function _(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function B(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function F(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function W(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},4770:function(t,e,a){a.d(e,{Gn:function(){return d},MX:function(){return i},VJ:function(){return u},jp:function(){return o},nK:function(){return h},oR:function(){return m},oz:function(){return p},p0:function(){return n},ql:function(){return c},qw:function(){return l},vN:function(){return s}});var r=a(8859);function n(t){return(0,r.Z)({url:"/material/MaterialManage/selectAll",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/material/MaterialManage/detail",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/material/OutInRecord/record",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/material/MaterialManage/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function l(t){return(0,r.Z)({url:"/material/MaterialManage/updateGet",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/material/MaterialManage/update",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/material/MaterialManage/insert",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/material/MaterialManage/delete",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/material/MaterialManage/SetAlarmValueGet",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/material/MaterialManage/SetAlarmValue",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/material/MaterialManage/onlineMaterialTrackSelect",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5705],{5705:function(t,e,a){a.r(e),a.d(e,{default:function(){return x}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectChanged}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"row-class-name":t.tableRowClassName}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:t.getList}}),e("base-dialog",{attrs:{dialogTitle:t.addAndEdit,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("in-and-out-management-add",{ref:"inAndOutManagementAdd",on:{successSubmit:t.successSubmit}})],1)],1)},n=[],i=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线",disabled:t.showEdit||t.showOutput},on:{change:t.getSideLibaryList},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.proLineIdList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"所属线边库",prop:"sideLibaryId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"所属线边库",disabled:t.showEdit||t.showOutput},model:{value:t.form.sideLibaryId,callback:function(e){t.$set(t.form,"sideLibaryId",e)},expression:"form.sideLibaryId"}},t._l(t.sideLibaryIdList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.sideLibaryId}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"耗材名称",prop:"name"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{filterable:"",placeholder:"耗材名称",disabled:t.showEdit||t.showOutput},on:{change:t.selectMeta},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}},t._l(t.consumablesNameList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"规格",prop:"spec"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"规格",disabled:t.showEdit||t.showOutput},model:{value:t.form.spec,callback:function(e){t.$set(t.form,"spec",e)},expression:"form.spec"}},t._l(t.consumablesSpecList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.spec,value:t.spec}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[t.showEdit?t._e():e("el-form-item",{attrs:{label:"批次编码",prop:"batchCode"}},[t.showOutput?t._e():e("el-input",{attrs:{disabled:t.showEdit,placeholder:"批次编码"},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}}),t.showOutput?e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"批次编码"},on:{change:t.toggleSupplier},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}},t._l(t.batchCodeList,(function(t){return e("el-option",{key:t.batchCode,attrs:{label:t.batchCode,value:t.batchCode}})})),1):t._e()],1)],1),e("el-col",{attrs:{span:12}},[t.showEdit?t._e():e("el-form-item",{attrs:{label:t.showOutput?"出库数量":"入库数量",prop:"num"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999,disabled:t.showEdit},model:{value:t.form.num,callback:function(e){t.$set(t.form,"num",e)},expression:"form.num"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[t.showEdit?t._e():e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{disabled:t.showEdit||t.showOutput,placeholder:"供应商"},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"单位",prop:"unit"}},[e("el-input",{attrs:{placeholder:"单位",disabled:""},model:{value:t.form.unit,callback:function(e){t.$set(t.form,"unit",e)},expression:"form.unit"}})],1)],1)],1),t.showEdit?e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最低安全库存",prop:"minNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999},model:{value:t.form.minNum,callback:function(e){t.$set(t.form,"minNum",e)},expression:"form.minNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最高安全库存",prop:"maxNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:9999999999},model:{value:t.form.maxNum,callback:function(e){t.$set(t.form,"maxNum",e)},expression:"form.maxNum"}})],1)],1)],1):t._e(),t.showOutput?e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"领取人",prop:"recipient"}},[e("el-input",{attrs:{placeholder:"领取人"},model:{value:t.form.recipient,callback:function(e){t.$set(t.form,"recipient",e)},expression:"form.recipient"}})],1)],1)],1):t._e(),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},o=[],s=a(4770),l=a(910),u={name:"inAndOutManagementAdd",data(){return{form:{id:"",proLineId:"",sideLibaryId:"",name:"",spec:"",batchCode:"",num:"",supplier:"",unit:"",remark:"",minNum:"",maxNum:"",recipient:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],sideLibaryId:[{required:!0,message:"请选择所属线边库",trigger:"change"}],name:[{required:!0,message:"请选择耗材名称",trigger:"change"}],spec:[{required:!0,message:"请选择规格",trigger:"change"}],batchCode:[{required:!0,message:"请输入批次编码",trigger:"blur"}],num:[{required:!0,message:"请输入入库数量",trigger:"blur"}],minNum:[{required:!0,message:"请输入最低安全库存",trigger:"blur"}],maxNum:[{required:!0,message:"请输入最高安全库存",trigger:"blur"}]},proLineIdList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sideLibaryIdList:[],consumablesNameList:[],consumablesSpecList:[],showEdit:!1,showOutput:!1,batchCodeList:[]}},methods:{init(t){this.getMaterialList(),t?(this.form.id=t.id,(0,s.qw)({id:this.form.id}).then((t=>{this.form.proLineId="1",this.getSideLibaryList(this.form.proLineId),this.form.sideLibaryId=t.data.sideLibaryId,this.form.name=t.data.materialName,this.selectMeta(this.form.name),this.form.spec=t.data.spec,this.form.minNum=t.data.minNum?t.data.minNum:0,this.form.maxNum=t.data.maxNum?t.data.maxNum:0,this.form.remark=t.data.remark,this.form.recipient=this.$store.getters.username?this.$store.getters.username:""})),"edit"===t.type?(this.showEdit=!0,this.showOutput=!1,console.log("编辑")):(this.showOutput=!0,this.showEdit=!1,this.getBatch(this.form.id),console.log("出库"))):this.form.id=""},getSideLibaryList(t){this.form.sideLibaryId="",(0,l.A0)({id:t}).then((t=>{0===t.code&&(this.sideLibaryIdList=t.data)}))},getMaterialList(){(0,l.Sl)().then((t=>{0===t.code&&(this.consumablesNameList=t.data)}))},selectMeta(t){this.consumablesNameList&&this.consumablesNameList.map((e=>{e.name===t&&(this.form.unit=e.unit)})),(0,l.gz)({name:t}).then((t=>{console.log(t),0===t.code&&(this.consumablesSpecList=t.data,this.showEdit||this.showOutput||(this.form.spec=""))}))},getBatch(t){(0,s.MX)({id:t}).then((t=>{0===t.code&&(this.batchCodeList=t.data)}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.form.id?this.showEdit?(0,s.VJ)({id:this.form.id,minNum:this.form.minNum,maxNum:this.form.maxNum,remark:this.form.remark}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.ql)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.Gn)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.showEdit=!1,this.showOutput=!1,this.batchCodeList=[],this.$refs.form.resetFields()},toggleSupplier(t){this.batchCodeList&&this.batchCodeList.map((e=>{t===e.batchCode&&(this.form.supplier=e.supplier)}))}}},d=u,c=a(1001),m=(0,c.Z)(d,i,o,!1,null,null,null),p=m.exports,h=function(){var t=this,e=t._self._c;return e("el-popover",{attrs:{placement:"right",width:"500",trigger:"click"}},[e("el-table",{attrs:{data:t.tableData}},[e("el-table-column",{attrs:{prop:"batchCode",label:"批次编码",width:"160"}}),e("el-table-column",{attrs:{prop:"supplier",label:"供应商",width:"220"}}),e("el-table-column",{attrs:{prop:"num",label:"当前库存"}})],1),e("el-button",{staticClass:"tableInnerButton",attrs:{slot:"reference",type:"text"},on:{click:function(e){return t.showInnerTable(t.injectData)}},slot:"reference"},[t._v("详情")])],1)},f=[],b={name:"InnerTable",props:{injectData:{type:Object,default:()=>({})},itemProp:{type:String}},data(){return{list:this.injectData,tableData:[]}},methods:{showInnerTable(t){(0,s.MX)({id:t.id}).then((t=>{0===t.code&&(this.tableData=t.data)}))}}},g=b,y=(0,c.Z)(g,h,f,!1,null,null,null),L=y.exports,C=a(475);const w=[{prop:"line",label:"产线",minWidth:120},{prop:"sideLibraryName",label:"所属线边库",minWidth:150},{prop:"materialName",label:"耗材名称",minWidth:150},{prop:"spec",label:"规格",minWidth:150},{prop:"unit",label:"单位",minWidth:150},{prop:"stockNum",label:"库存数量/个",sortable:!0,minWidth:150},{prop:"details",label:"库存详情",minWidth:100,subcomponent:L},{prop:"minNum",label:"最低安全库存",width:150},{prop:"maxNum",label:"最高安全库存",width:150},{prop:"remark",label:"备注",minWidth:150}],N=[{type:"edit",btnName:"编辑"},{type:"output",btnName:"出库"}];var Z={name:"InAndOutManagement",components:{InAndOutManagementAdd:p},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"lineName",labelField:"dataName",valueField:"dataName",defaultSelect:"",onchange:!0,width:150},{type:"select",label:"线边库名称",selectOptions:[],param:"libraryName",labelField:"name",valueField:"name",defaultSelect:"",width:200},{type:"select",label:"耗材名称",selectOptions:[],param:"materialName",labelField:"name",valueField:"name",defaultSelect:"",width:150},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"入库",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:w,tableData:[],tableBtn:N,tableH:(0,C.NC)(275),total:0,listQuery:{current:1,size:20},addAndEdit:"",centervisible:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,C.NC)(275)})),this.getMaterialList(),this.getList()},methods:{getList(){(0,s.p0)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},selectChanged(t){if(console.log(t),t.value){let e=null,a=JSON.parse(localStorage.getItem("publicList")).proLineVoList;a&&a.map((a=>{a.dataName===t.value&&(e=a.dataCode)})),(0,l.A0)({id:e}).then((t=>{0===t.code&&(this.formConfig[1].selectOptions=t.data,this.formConfig[1].defaultSelect=null)}))}},getMaterialList(){(0,l._1)().then((t=>{console.log(t),0===t.code&&(this.formConfig[2].selectOptions=t.data)}))},handleClick(t){if(console.log(t),"edit"===t.type){this.centervisible=!0,this.addAndEdit="编辑";const e={id:t.data.id,type:"edit"};this.$nextTick((()=>{this.$refs.inAndOutManagementAdd.init(e)}))}else if("output"===t.type){this.centervisible=!0,this.addAndEdit="出库";const e={id:t.data.id,type:"output"};this.$nextTick((()=>{this.$refs.inAndOutManagementAdd.init(e)}))}},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.lineName=t.lineName,this.listQuery.libraryName=t.libraryName,this.listQuery.materialName=t.materialName,this.listQuery.current=1,this.getList();break;case"add":this.centervisible=!0,this.addAndEdit="入库",this.$nextTick((()=>{this.$refs.inAndOutManagementAdd.init()}));break;default:(0,s.vN)({...this.listQuery}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),n=new FileReader;n.readAsDataURL(r),n.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))}},tableRowClassName({row:t}){return t.flag&&t.flag>0?"danger-row":""},handleCancel(){this.$refs.inAndOutManagementAdd.formClear(),this.addAndEdit="",this.centervisible=!1},handleConfirm(){this.$refs.inAndOutManagementAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},k=Z,v=(0,c.Z)(k,r,n,!1,null,null,null),x=v.exports},910:function(t,e,a){a.d(e,{$0:function(){return x},A0:function(){return v},D0:function(){return o},ER:function(){return $},Hg:function(){return D},J_:function(){return A},Kl:function(){return k},ME:function(){return d},Or:function(){return g},P4:function(){return u},Py:function(){return c},QL:function(){return Q},Qj:function(){return N},Sc:function(){return f},Sl:function(){return y},W0:function(){return P},WZ:function(){return h},Wj:function(){return l},Zs:function(){return n},_:function(){return I},_1:function(){return L},a:function(){return W},ag:function(){return M},b8:function(){return b},dN:function(){return m},fZ:function(){return p},gz:function(){return C},jF:function(){return i},kB:function(){return E},m3:function(){return F},oW:function(){return O},qT:function(){return w},sU:function(){return s},sy:function(){return _},tb:function(){return Z},wy:function(){return q},xf:function(){return S},yk:function(){return B}});var r=a(8859);function n(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function O(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function $(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function _(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function B(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function F(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function W(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},4770:function(t,e,a){a.d(e,{Gn:function(){return d},MX:function(){return i},VJ:function(){return u},jp:function(){return o},nK:function(){return h},oR:function(){return m},oz:function(){return p},p0:function(){return n},ql:function(){return c},qw:function(){return l},vN:function(){return s}});var r=a(8859);function n(t){return(0,r.Z)({url:"/material/MaterialManage/selectAll",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/material/MaterialManage/detail",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/material/OutInRecord/record",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/material/MaterialManage/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function l(t){return(0,r.Z)({url:"/material/MaterialManage/updateGet",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/material/MaterialManage/update",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/material/MaterialManage/insert",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/material/MaterialManage/delete",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/material/MaterialManage/SetAlarmValueGet",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/material/MaterialManage/SetAlarmValue",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/material/MaterialManage/onlineMaterialTrackSelect",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/5886.6413af75.js b/dist/js/5886.6413af75.js new file mode 100644 index 0000000..41cbc62 --- /dev/null +++ b/dist/js/5886.6413af75.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5886],{5886:function(t,e,a){a.r(e),a.d(e,{default:function(){return H}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"plan-maintenance"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:170,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addAndEdit,dialogVisible:t.centervisibleAdd,"before-close":t.handleCancelAdd},on:{cancel:t.handleCancelAdd,confirm:t.handleConfirmAdd}},[e("planned-maintenance-add",{ref:"plannedMaintenanceAdd",on:{successSubmit:t.successSubmitAdd}})],1),e("base-dialog",{attrs:{dialogTitle:t.sureAndEdit,dialogVisible:t.centervisibleSure,"before-close":t.handleCancelSure},on:{cancel:t.handleCancelSure,confirm:t.handleConfirmSure}},[e("planned-maintenance-edit",{ref:"plannedMaintenanceEdit",on:{successSubmit:t.successSubmitEdit}})],1)],1)},n=[],i=a(475),o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护工单号",prop:"code"}},[e("el-input",{attrs:{placeholder:"维护工单号",disabled:t.isEdit},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划开始时间",prop:"planStartTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划开始时间"},model:{value:t.form.planStartTime,callback:function(e){t.$set(t.form,"planStartTime",e)},expression:"form.planStartTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划结束时间",prop:"planEndTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划结束时间"},model:{value:t.form.planEndTime,callback:function(e){t.$set(t.form,"planEndTime",e)},expression:"form.planEndTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"equipmentId"}},[e("el-cascader",{staticStyle:{width:"100%"},attrs:{options:t.cascaderOptions,props:{value:"id",label:"name"}},on:{change:t.selectEq},model:{value:t.form.equipmentId,callback:function(e){t.$set(t.form,"equipmentId",e)},expression:"form.equipmentId"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"sparePartModel"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.sparePartModel,callback:function(e){t.$set(t.form,"sparePartModel",e)},expression:"form.sparePartModel"}},t._l(t.sparePartsSpecList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"维护内容",prop:"maintainContent"}},[e("el-input",{attrs:{placeholder:"维护内容"},model:{value:t.form.maintainContent,callback:function(e){t.$set(t.form,"maintainContent",e)},expression:"form.maintainContent"}})],1)],1)],1)],1)},s=[],l=a(910),u=a(147),d=a(381),m=a.n(d),c=a(5591),p={name:"SparePartsAdd",data(){return{form:{id:"",code:"",planStartTime:"",planEndTime:"",proLineId:"",equipmentId:"",sparePartName:"",sparePartModel:"",maintainContent:""},cascaderOptions:[],rules:{code:[{required:!0,message:"请输入维护工单号",trigger:"blur"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}],equipmentId:[{required:!0,message:"请选择设备名称",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],sparePartModel:[{required:!0,message:"请选择备件型号",trigger:"change"}]},sparePartsList:[],sparePartsSpecList:[],isEdit:!1}},mounted(){},methods:{init(t){this.getTree(),this.getNameList(),t?(this.form.id=t,this.isEdit=!0,(0,u.yx)({id:t}).then((t=>{console.log(t),this.form.code=t.data.code,this.form.planStartTime=t.data.planStartTime,this.form.planEndTime=t.data.planEndTime,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.selectModel(this.form.sparePartName,"noClear"),this.form.sparePartModel=t.data.model,this.form.maintainContent=t.data.maintainContent}))):(this.form.planStartTime=m()().format("yyyy-MM-DDTHH:mm:ss"),this.form.planEndTime=m()().add(2,"days").format("yyyy-MM-DDTHH:mm:ss"),this.form.id="",this.isEdit=!1)},getTree(){(0,c.SI)().then((t=>{this.cascaderOptions=t.data}))},selectEq(t){this.form.equipmentId=t[2],this.form.proLineId=t[0]},getNameList(){(0,l.dN)().then((t=>{console.log(t),this.sparePartsList=t.data,this.sparePartsSpecList=[]}))},selectModel(t,e){(0,l.fZ)({name:t}).then((t=>{console.log(t),this.sparePartsSpecList=t.data,"noClear"!==e&&(this.form.sparePartModel="")}))},submitForm(){this.$refs["form"].validate((t=>{if(console.log(this.form),!t)return!1;this.isEdit?(0,u.fK)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,u.Im)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[]}}},f=p,h=a(1001),g=(0,h.Z)(f,o,s,!1,null,null,null),b=g.exports,y=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护工单号",prop:"code"}},[e("el-input",{attrs:{placeholder:"维护工单号",disabled:""},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划开始时间",prop:"planStartTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划开始时间"},model:{value:t.form.planStartTime,callback:function(e){t.$set(t.form,"planStartTime",e)},expression:"form.planStartTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划结束时间",prop:"planEndTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划结束时间"},model:{value:t.form.planEndTime,callback:function(e){t.$set(t.form,"planEndTime",e)},expression:"form.planEndTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"equipmentId"}},[e("el-cascader",{staticStyle:{width:"100%"},attrs:{options:t.cascaderOptions,props:{value:"id",label:"name"}},on:{change:t.selectEq},model:{value:t.form.equipmentId,callback:function(e){t.$set(t.form,"equipmentId",e)},expression:"form.equipmentId"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"sparePartModel"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.sparePartModel,callback:function(e){t.$set(t.form,"sparePartModel",e)},expression:"form.sparePartModel"}},t._l(t.sparePartsSpecList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"维护内容",prop:"maintainContent"}},[e("el-input",{attrs:{placeholder:"维护内容"},model:{value:t.form.maintainContent,callback:function(e){t.$set(t.form,"maintainContent",e)},expression:"form.maintainContent"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"更换数量",prop:"replaceNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:99999999,label:"更换数量"},model:{value:t.form.replaceNum,callback:function(e){t.$set(t.form,"replaceNum",e)},expression:"form.replaceNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"执行人员",prop:"executeStaff"}},[e("el-input",{attrs:{placeholder:"执行人员"},model:{value:t.form.executeStaff,callback:function(e){t.$set(t.form,"executeStaff",e)},expression:"form.executeStaff"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际开始时间",prop:"startTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际开始时间"},model:{value:t.form.startTime,callback:function(e){t.$set(t.form,"startTime",e)},expression:"form.startTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际结束时间",prop:"endTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际结束时间"},model:{value:t.form.endTime,callback:function(e){t.$set(t.form,"endTime",e)},expression:"form.endTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"完成情况",prop:"complete"}},[e("el-input",{attrs:{placeholder:"完成情况"},model:{value:t.form.complete,callback:function(e){t.$set(t.form,"complete",e)},expression:"form.complete"}})],1)],1)],1)],1)},S=[],M={name:"PlannedMaintenanceEdit",data(){return{form:{id:"",code:"",planStartTime:"",planEndTime:"",equipmentId:"",proLineId:"",sparePartName:"",sparePartModel:"",maintainContent:"",replaceNum:null,executeStaff:"",startTime:"",endTime:"",complete:""},cascaderOptions:[],rules:{code:[{required:!0,message:"请输入维护工单号",trigger:"blur"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}],equipmentId:[{required:!0,message:"请选择设备名称",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],replaceNum:[{required:!0,message:"请输入更换数量",trigger:"blur"}],executeStaff:[{required:!0,message:"请输入执行人员",trigger:"blur"}],startTime:[{required:!0,message:"请选择实际开始时间",trigger:"change"}],endTime:[{required:!0,message:"请选择实际结束时间",trigger:"change"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsList:[],sparePartsSpecList:[],isSure:!1}},methods:{init(t){this.getNameList(),this.getTree(),this.form.id=t.id,"edit"===t.type?(this.isSure=!1,(0,u.yx)({id:t.id}).then((t=>{this.form.code=t.data.code,this.form.planStartTime=t.data.planStartTime,this.form.planEndTime=t.data.planEndTime,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.selectModel(this.form.sparePartName,"noClear"),this.form.sparePartModel=t.data.model,this.form.maintainContent=t.data.maintainContent,this.form.replaceNum=t.data.replaceNum,this.form.executeStaff=t.data.executeStaff,this.form.startTime=t.data.startTime,this.form.endTime=t.data.endTime,this.form.complete=t.data.complete}))):(this.isSure=!0,(0,u.yx)({id:t.id}).then((t=>{this.form.code=t.data.code,this.form.planStartTime=t.data.planStartTime,this.form.planEndTime=t.data.planEndTime,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.form.sparePartModel=t.data.model,this.form.executeStaff=t.data.executeStaff,this.form.replaceNum=t.data.replaceNum,this.form.maintainContent=t.data.maintainContent,this.form.complete=t.data.complete})),this.form.startTime=m()().format("yyyy-MM-DDTHH:mm:ss"),this.form.endTime=m()().format("yyyy-MM-DDTHH:mm:ss"))},getTree(){(0,c.SI)().then((t=>{this.cascaderOptions=t.data}))},selectEq(t){this.form.equipmentId=t[2],this.form.proLineId=t[0]},getNameList(){(0,l.dN)().then((t=>{this.sparePartsList=t.data}))},selectModel(t,e){(0,l.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,"noClear"!==e&&(this.form.sparePartModel="")}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return console.log("error submit!!"),!1;this.isSure?(0,u.KQ)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")})):(0,u.A5)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")}))}))},formClear(){this.$refs.form.resetFields(),this.form.proLineId="",this.form.id="",this.sparePartsList=[],this.sparePartsSpecList=[]}}},T=M,P=(0,h.Z)(T,y,S,!1,null,null,null),q=P.exports,Z=function(){var t=this,e=t._self._c;return e("div",[t.injectData.status?e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.injectData.status))]):t._e()],1)},C=[],k={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:""}},mounted(){this.init()},methods:{init(){"未派工"===this.injectData.status?this.tagType="info":"未完成"===this.injectData.status?this.tagType="warning":"已超时"===this.injectData.status?this.tagType="danger":this.tagType="success"}},watch:{injectData(t,e){e.status!==t.status&&this.init()}}},L=k,N=(0,h.Z)(L,Z,C,!1,null,null,null),v=N.exports;const E=[{prop:"code",label:"维护工单号",minWidth:150},{prop:"status",label:"状态",width:100,subcomponent:v},{prop:"remainTime",label:"剩余时间",minWidth:150},{prop:"planStartTime",label:"计划开始时间",filter:i.g6,minWidth:160},{prop:"planEndTime",label:"计划结束时间",filter:i.g6,minWidth:160},{prop:"proLineName",label:"产线",minWidth:150},{prop:"unitName",label:"单元",minWidth:150},{prop:"equName",label:"设备名称",minWidth:150},{prop:"sparePartName",label:"备件名称",width:150},{prop:"model",label:"备件型号",minWidth:150},{prop:"replaceNum",label:"更换数量",minWidth:140},{prop:"maintainContent",label:"维护内容",minWidth:180},{prop:"executeStaff",label:"执行人员",minWidth:140},{prop:"startTime",label:"实际开始时间",filter:i.g6,minWidth:160},{prop:"endTime",label:"实际结束时间",filter:i.g6,minWidth:160},{prop:"complete",label:"完成情况",minWidth:140},{prop:"creatorName",label:"创建人员",minWidth:150},{prop:"createTime",label:"创建时间",filter:i.g6,minWidth:160}],w=[{type:"edit",btnName:"编辑",showParam:{type:"&",data:[{type:"unequal",name:"status",value:"未完成"}]}},{type:"dispatch",btnName:"派工",showParam:{type:"&",data:[{type:"equal",name:"status",value:"未派工"}]}},{type:"sure",btnName:"确认",showParam:{type:"&",data:[{type:"unequal",name:"status",value:"已完成"}]}},{type:"delete",btnName:"删除"}];var $={name:"plannedMaintenance",components:{PlannedMaintenanceAdd:b,PlannedMaintenanceEdit:q},data(){return{formConfig:[{type:"datePicker",label:"计划开始时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).maintainStatusVoList,labelField:"dataName",valueField:"dataName",param:"status",defaultSelect:"",width:100},{type:"cascader",label:"产线/单元/设备",selectOptions:[],param:"keyword",cascaderProps:{checkStrictly:!0,value:"name",label:"name"},width:250},{type:"input",label:"维护工单号",placeholder:"维护工单号",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:E,tableData:[],tableBtn:w,tableH:(0,i.NC)(320),total:0,listQuery:{current:1,size:20},addAndEdit:"",centervisibleAdd:!1,sureAndEdit:"",centervisibleSure:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(320)})),this.getTree(),this.getList()},methods:{getTree(){(0,c.SI)().then((t=>{this.formConfig[2].selectOptions=t.data}))},getList(){(0,u.UP)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){switch(console.log(t),t.type){case"edit":"未派工"===t.data.status?(this.addAndEdit="编辑",this.centervisibleAdd=!0,this.$nextTick((()=>{this.$refs.plannedMaintenanceAdd.init(t.data.id)}))):"已完成"===t.data.status&&(this.sureAndEdit="编辑",this.centervisibleSure=!0,this.$nextTick((()=>{let e={id:t.data.id,type:"edit"};this.$refs.plannedMaintenanceEdit.init(e)})));break;case"dispatch":this.$confirm('确认派工"'+t.data.code+'"吗?',{type:"warning"}).then((()=>{(0,u.zG)({id:t.data.id}).then((t=>{console.log(t),this.$message({message:"派工成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{}));break;case"sure":this.sureAndEdit="确认",this.centervisibleSure=!0,this.$nextTick((()=>{let e={id:t.data.id,type:"sure"};this.$refs.plannedMaintenanceEdit.init(e)}));break;default:this.$confirm('确认删除工单"'+t.data.code+'"吗?',{type:"warning"}).then((()=>{(0,u.pl)({id:t.data.id}).then((t=>{console.log(t),this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))}},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.planStartTime=t.timeVal?t.timeVal[0]:"",this.listQuery.planEndTime=t.timeVal?t.timeVal[1]:"",this.listQuery.status=t.status,this.listQuery.proLineName=t.keyword[0],this.listQuery.unitName=t.keyword[1],this.listQuery.equName=t.keyword[2],this.listQuery.code=t.code,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.planStartTime="",this.listQuery.planEndTime="",this.listQuery.status="",this.listQuery.proLineName="",this.listQuery.unitName="",this.listQuery.equName="",this.listQuery.code="",this.listQuery.current=1,this.getList();break;case"add":this.addAndEdit="新增",this.centervisibleAdd=!0,this.$nextTick((()=>{this.$refs.plannedMaintenanceAdd.init()}));break;default:(0,u.YG)({...this.listQuery}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),n=new FileReader;n.readAsDataURL(r),n.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))}},handleCancelAdd(){this.$refs.plannedMaintenanceAdd.formClear(),this.addAndEdit="",this.centervisibleAdd=!1},handleConfirmAdd(){this.$refs.plannedMaintenanceAdd.submitForm()},successSubmitAdd(){this.handleCancelAdd(),this.getList()},handleCancelSure(){this.$refs.plannedMaintenanceEdit.formClear(),this.sureAndEdit="",this.centervisibleSure=!1},handleConfirmSure(){this.$refs.plannedMaintenanceEdit.submitForm()},successSubmitEdit(){this.handleCancelSure(),this.getList()}}},x=$,A=(0,h.Z)(x,r,n,!1,null,"bf7ad0ae",null),H=A.exports},5591:function(t,e,a){a.d(e,{FH:function(){return s},Hp:function(){return l},JQ:function(){return o},SI:function(){return i},WQ:function(){return m},b6:function(){return u},iv:function(){return n},m:function(){return d}});var r=a(8859);function n(){return(0,r.Z)({url:"/common/getList",method:"post"})}function i(){return(0,r.Z)({url:"/common/getTreeData",method:"post"})}function o(t){return(0,r.Z)({url:"/common/updateEqSeq",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}function l(t){return(0,r.Z)({url:"/common/getAlarmData",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/common/getProductData",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/common/getMaterialData",method:"post",data:t})}const m="/api/common/attachment/uploadFileFormData"},910:function(t,e,a){a.d(e,{$0:function(){return k},A0:function(){return C},D0:function(){return o},ER:function(){return w},Hg:function(){return _},J_:function(){return $},Kl:function(){return Z},ME:function(){return d},Or:function(){return b},P4:function(){return u},Py:function(){return m},QL:function(){return I},Qj:function(){return P},Sc:function(){return h},Sl:function(){return y},W0:function(){return F},WZ:function(){return f},Wj:function(){return l},Zs:function(){return n},_:function(){return E},_1:function(){return S},a:function(){return W},ag:function(){return L},b8:function(){return g},dN:function(){return c},fZ:function(){return p},gz:function(){return M},jF:function(){return i},kB:function(){return x},m3:function(){return Q},oW:function(){return v},qT:function(){return T},sU:function(){return s},sy:function(){return A},tb:function(){return q},wy:function(){return H},xf:function(){return N},yk:function(){return D}});var r=a(8859);function n(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function w(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function H(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function W(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function _(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function F(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},147:function(t,e,a){a.d(e,{$7:function(){return $},$F:function(){return g},$N:function(){return N},$d:function(){return c},A5:function(){return q},Ah:function(){return o},Dr:function(){return f},HJ:function(){return u},Im:function(){return T},KK:function(){return E},KQ:function(){return C},Ko:function(){return x},Ku:function(){return h},OP:function(){return l},OT:function(){return b},UP:function(){return S},Uw:function(){return A},YG:function(){return L},bO:function(){return m},co:function(){return y},fK:function(){return P},h:function(){return v},jL:function(){return w},lJ:function(){return p},lZ:function(){return s},pl:function(){return k},rd:function(){return d},uN:function(){return i},yx:function(){return M},zG:function(){return Z},zh:function(){return n}});var r=a(8859);function n(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/get",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/getPlan",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/updatePlan",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/equipment/PalletIndicatorAnalysis/page",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/equipment/PalletIndicatorAnalysis/getType",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/equipment/SparePartStock/page",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/equipment/SparePartStock/inStock",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/equipment/SparePartStock/get",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/equipment/SparePartStock/update",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/equipment/SparePartStock/outStock",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/equipment/SparePartStock/stockDetail",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/equipment/SparePartStock/getBatchList",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/equipment/SparePartStock/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function b(t){return(0,r.Z)({url:"/equipment/SparePartStock/PageHis",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/equipment/SparePartStock/exportHis",method:"post",responseType:"blob",data:t,timeout:6e4})}function S(t){return(0,r.Z)({url:"/equipment/MaintainManage/pageSelect",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/equipment/MaintainManage/unDistributeGet",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/equipment/MaintainManage/create",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/equipment/MaintainManage/unDistribute",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/equipment/MaintainManage/completedDistribute",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/equipment/MaintainManage/dispatch",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/equipment/MaintainManage/confirm",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/equipment/MaintainManage/PlainMaintainDelete",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/equipment/MaintainManage/PlanMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function N(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainPageSelect",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainAdd",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainModify",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/equipment/MaintainManage/AUtoMaintainDelete",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function x(t){return(0,r.Z)({url:"/equipment/AlarmMessage/nowAlertSelect",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/equipment/AlarmMessage/historyAlertSelect",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/4941.49331b44.js b/dist/js/6234.60dc5848.js similarity index 51% rename from dist/js/4941.49331b44.js rename to dist/js/6234.60dc5848.js index b8a47c1..2fdfaeb 100644 --- a/dist/js/4941.49331b44.js +++ b/dist/js/6234.60dc5848.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[4941],{4941:function(t,e,a){a.r(e),a.d(e,{default:function(){return F}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"finalInspectionData"},[e("el-row",{staticClass:"box-top"},[e("el-col",[e("div",{staticClass:"search-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectChanged}})],1)])],1),e("el-row",{staticClass:"box",attrs:{gutter:8}},[e("el-col",{attrs:{span:9}},[e("div",{staticClass:"left-box"},[e("span",{staticClass:"table-button",on:{click:t.generateReport}},[t._v("生成表格")]),e("base-table",{attrs:{selectWidth:40,"table-props":t.tablePropsL,"table-data":t.tableDataL,"max-height":t.tableHL},on:{"selection-change":t.selectChange}})],1)]),e("el-col",{attrs:{span:15}},[e("div",{staticClass:"right-box"},[t.reportTitle?e("div",[e("span",{staticClass:"title"},[t._v(t._s(t.reportTitle))])]):t._e(),"单片玻璃基板缺陷统计"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-quality-report",{attrs:{tableData:t.glassQualityArr}})],1):t._e(),"厚度汇总报表"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-thick-report",{attrs:{tableData:t.thickReportArr}})],1):t._e(),"终检下片包装"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-pack-report",{attrs:{tableData1:t.packClaReportArr,tableData2:t.packReportArr}})],1):t._e()])])],1)],1)},l=[],i=a(475),o=a(2334),n=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}})],1)},s=[];const p=[{prop:"time",label:"检测时间",filter:i.g6,minWidth:160},{prop:"virtualcode",label:"玻璃ID",minWidth:120},{prop:"lineA",label:"加工条件",children:[{prop:"palletId",label:"托盘ID"},{prop:"grindtype",label:"研磨类型"}]},{prop:"lineB",label:"检测数据",children:[{prop:"sums",label:"颗粒总数"},{prop:"distortion",label:"变形"},{prop:"tail",label:"拖尾"},{prop:"bl",label:"气泡"},{prop:"stone",label:"结石"},{prop:"scratch",label:"划伤"},{prop:"surfaceSum",label:"面检总数"}]},{prop:"lineC",label:"研磨电流(A)",children:[{prop:"ae",label:"A机台"},{prop:"be",label:"B机台"},{prop:"ce",label:"C机台"},{prop:"alle",label:"总电流"}]},{prop:"eletricityConform",label:"工艺符合性",minWidth:100},{prop:"lineD",label:"研磨时间(S)",children:[{prop:"ae",label:"A机台"},{prop:"be",label:"B机台"},{prop:"ce",label:"C机台"},{prop:"allt",label:"总研磨时间",minWidth:100}]}];var u={name:"glassQualityReport",data(){return{tableProps:p,tableH:(0,i.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}}},d=u,c=a(1001),m=(0,c.Z)(d,n,s,!1,null,null,null),h=m.exports,b=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}})],1)},f=[];const g=[{prop:"glassId",label:"玻璃ID",minWidth:120},{prop:"testTime",label:"检测时间",filter:i.g6,minWidth:160},{prop:"palletId",label:"托盘ID",minWidth:120},{prop:"grindType",label:"研磨类型",minWidth:120},{prop:"maxValue",label:"最大值",minWidth:120},{prop:"minValue",label:"最小值",minWidth:120},{prop:"avgValue",label:"平均值",minWidth:120},{prop:"ttvValue",label:"厚薄差",minWidth:120}];var y={name:"glassThickReport",data(){return{tableProps:g,tableH:(0,i.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}}},W=y,v=(0,c.Z)(W,b,f,!1,null,null,null),A=v.exports,C=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps1,"table-data":t.tableData1,"max-height":t.tableH}}),e("base-table",{attrs:{"table-props":t.tableProps2,"table-data":t.tableData2,"max-height":t.tableH}})],1)},T=[];const D=[{prop:"grindType",label:"研磨类型",minWidth:120},{prop:"glassNum",label:"数量",minWidth:160},{prop:"surfaceAvg",label:"颗粒均值",minWidth:120},{prop:"surfaceMin",label:"最小值",minWidth:120},{prop:"surfaceMax",label:"最大值",minWidth:120},{prop:"savg",label:"S均值<1um",minWidth:120},{prop:"mavg",label:"M均值1-3um",minWidth:120},{prop:"lavg",label:"L均值3-5um",minWidth:120},{prop:"xlAvg",label:"XL均值5-10um",minWidth:120},{prop:"defectAvg",label:"缺陷均值",minWidth:120},{prop:"defectMin",label:"最小值",minWidth:120},{prop:"defectMax",label:"最大值",minWidth:120},{prop:"blAvg",label:"气泡均值",minWidth:120},{prop:"distortionAvg",label:"变形均值",minWidth:120},{prop:"fiberAvg",label:"纤维均值",minWidth:120},{prop:"iisrestAvg",label:"无法识别均值",minWidth:120},{prop:"knotAvg",label:"结节均值",minWidth:120},{prop:"ptAvg",label:"铂金欠点均值",minWidth:120},{prop:"scratchAvg",label:"划伤均值",minWidth:120},{prop:"stoneAvg",label:"结石均值",minWidth:120},{prop:"tailAvg",label:"拖尾均值",minWidth:120},{prop:"tinAvg",label:"点状缺陷均值",minWidth:120},{prop:"bottomAvg",label:"锡(锡面)均值",minWidth:120},{prop:"topAvg",label:"锡(空气面)均值",minWidth:120}],k=[{prop:"glassId",label:"玻璃ID",minWidth:120},{prop:"rackNum",label:"包装架号",minWidth:120},{prop:"testTime",label:"包装时间",filter:i.g6,minWidth:160},{prop:"num",label:"包装数量",minWidth:120},{prop:"particleSum",label:"颗粒Sum",minWidth:120},{prop:"s",label:"S<1um",minWidth:120},{prop:"m",label:"M1-3um",minWidth:120},{prop:"l",label:"L3-5um",minWidth:120},{prop:"xl",label:"XL5-10um",minWidth:120},{prop:"defectSum",label:"缺陷Sum",minWidth:120},{prop:"bl",label:"气泡",minWidth:120},{prop:"distortion",label:"变形",minWidth:120},{prop:"fiber",label:"纤维",minWidth:120},{prop:"iisrest",label:"无法识别",minWidth:120},{prop:"knot",label:"结节",minWidth:120},{prop:"pt",label:"铂金欠点",minWidth:120},{prop:"scratch",label:"划伤",minWidth:120},{prop:"stone",label:"结石",minWidth:120},{prop:"tail",label:"拖尾",minWidth:120},{prop:"tin",label:"点状缺陷",minWidth:120},{prop:"bottom",label:"锡(锡面)",minWidth:120},{prop:"top",label:"锡(空气面)",minWidth:120},{prop:"adg",label:"ADG",minWidth:120},{prop:"allSum",label:"合计",minWidth:120},{prop:"grindType",label:"研磨类型",minWidth:120}];var R={name:"glassPackReport",data(){return{tableProps1:D,tableProps2:k,tableH:(0,i.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(292)}))},props:{tableData1:{type:Array,required:!0,default:()=>[]},tableData2:{type:Array,required:!0,default:()=>[]}}},I=R,x=(0,c.Z)(I,C,T,!1,null,null,null),w=x.exports,q=a(381),Z=a.n(q);const L=[{prop:"glassId",label:"ID",minWidth:100},{prop:"unloadTime",label:"检测时间",minWidth:120,filter:i.g6},{prop:"grindtype",label:"研磨类型",minWidth:80}];var P={name:"FinalInspectionData",components:{glassQualityReport:h,glassThickReport:A,glassPackReport:w},data(){return{formConfig:[{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"select",label:"玻璃架",selectOptions:[],param:"glassFrame",defaultSelect:"全部",width:150,clearable:!1},{type:"select",label:"报表类型",selectOptions:[{id:"单片玻璃基板缺陷统计",name:"单片玻璃基板缺陷统计"},{id:"终检下片包装",name:"终检下片包装"},{id:"厚度汇总报表",name:"厚度汇总报表"}],param:"fullInspectionType1",defaultSelect:"",onchange:!0,width:150},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tablePropsL:L,tableDataL:[],tableHL:(0,i.NC)(300),reportTitle:"",listQuery:{startTime:"2020-07-06T16:59:23",endTime:"2023-07-06T16:59:23",glassFrame:"",current:1,size:500},selectArr:[],glassQualityArr:[],thickReportArr:[],packReportArr:[],packClaReportArr:[]}},mounted(){this.getOption(),window.addEventListener("resize",(()=>{this.tableHL=(0,i.NC)(300)})),this.formConfig[0].defaultSelect=[Z()().format("yyyy-MM-DD")+"T00:00:00",Z()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=Z()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=Z()().format("yyyy-MM-DD")+"T23:59:59",this.listQuery.glassFrame="全部",this.getList()},methods:{getList(){(0,o.uW)({...this.listQuery}).then((t=>{0===t.code?this.tableDataL=t.data:this.tableDataL=[]}))},getOption(){let t=JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,e=t.map((t=>({id:t.dataName,name:t.dataName})));e.push({id:"全部",name:"全部"},{id:"废片",name:"废片"}),this.formConfig[1].selectOptions=e,console.log(e)},buttonClick(t){let e=[];switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.glassFrame=t.glassFrame,this.getList();break;default:if(0===this.selectArr.length)return this.$message({message:"请勾选左侧表格数据",type:"warning"}),!1;if(""===this.reportTitle)return this.$message({message:"请选择报表类型",type:"warning"}),!1;console.log(this.selectArr);for(let t of this.selectArr)e.push(t.glassId);"单片玻璃基板缺陷统计"===this.reportTitle?this.exportGlassReport(e):"厚度汇总报表"===this.reportTitle&&this.exportThickReport(e)}},selectChanged(t){this.reportTitle=t.value,this.glassQualityArr=[],this.thickReportArr=[],this.packReportArr=[],this.packClaReportArr=[]},selectChange(t){this.selectArr=t},generateReport(){if(0===this.selectArr.length)return this.$message({message:"请勾选左侧表格数据",type:"warning"}),!1;if(""===this.reportTitle)return this.$message({message:"请选择报表类型",type:"warning"}),!1;let t=[];for(let e of this.selectArr)t.push(e.glassId);switch(this.reportTitle){case"单片玻璃基板缺陷统计":this.getGlassReport(t);break;case"厚度汇总报表":this.getThickReport(t);break;default:this.getGlassData(t)}},getGlassReport(t){(0,o.uj)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t),this.glassQualityArr=t.data}))},exportGlassReport(t){(0,o.oR)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),l=new FileReader;l.readAsDataURL(r),l.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))},getThickReport(t){(0,o.bu)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t),this.thickReportArr=t.data}))},exportThickReport(t){(0,o.an)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),l=new FileReader;l.readAsDataURL(r),l.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))},getGlassData(t){(0,o.AT)({glassId:t}).then((t=>{console.log(t),this.packReportArr=t.data})),(0,o.fL)({glassId:t}).then((t=>{console.log(t),this.packClaReportArr=t.data}))}}},S=P,M=(0,c.Z)(S,r,l,!1,null,"1932e535",null),F=M.exports},2334:function(t,e,a){a.d(e,{AT:function(){return k},Af:function(){return n},F0:function(){return h},ON:function(){return p},QI:function(){return o},Qd:function(){return b},YU:function(){return m},an:function(){return D},bu:function(){return T},dy:function(){return y},eT:function(){return d},fL:function(){return R},iF:function(){return u},jA:function(){return i},oR:function(){return C},pS:function(){return s},pw:function(){return c},r5:function(){return f},uW:function(){return v},uX:function(){return W},uj:function(){return A},v:function(){return l},vD:function(){return g}});var r=a(8859);function l(t){return(0,r.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function n(t){return(0,r.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function s(t){return(0,r.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function p(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function m(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function W(t){return(0,r.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function v(t){return(0,r.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function T(t){return(0,r.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function k(t){return(0,r.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function R(t){return(0,r.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[6234],{6234:function(t,e,a){a.r(e),a.d(e,{default:function(){return F}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"finalInspectionData"},[e("el-row",{staticClass:"box-top"},[e("el-col",[e("div",{staticClass:"search-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectChanged}})],1)])],1),e("el-row",{staticClass:"box",attrs:{gutter:8}},[e("el-col",{attrs:{span:9}},[e("div",{staticClass:"left-box"},[e("span",{staticClass:"table-button",on:{click:t.generateReport}},[t._v("生成表格")]),e("base-table",{attrs:{selectWidth:40,"table-props":t.tablePropsL,"table-data":t.tableDataL,"max-height":t.tableHL},on:{"selection-change":t.selectChange}})],1)]),e("el-col",{attrs:{span:15}},[e("div",{staticClass:"right-box"},[t.reportTitle?e("div",[e("span",{staticClass:"title"},[t._v(t._s(t.reportTitle))])]):t._e(),"单片玻璃基板缺陷统计"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-quality-report",{attrs:{tableData:t.glassQualityArr}})],1):t._e(),"厚度汇总报表"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-thick-report",{attrs:{tableData:t.thickReportArr}})],1):t._e(),"终检下片包装"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-pack-report",{attrs:{tableData1:t.packClaReportArr,tableData2:t.packReportArr}})],1):t._e()])])],1)],1)},l=[],i=a(475),o=a(2334),n=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}})],1)},s=[];const p=[{prop:"time",label:"检测时间",filter:i.g6,minWidth:160},{prop:"virtualcode",label:"玻璃ID",minWidth:120},{prop:"lineA",label:"加工条件",children:[{prop:"palletId",label:"托盘ID"},{prop:"grindtype",label:"研磨类型"}]},{prop:"lineB",label:"检测数据",children:[{prop:"sums",label:"颗粒总数"},{prop:"distortion",label:"变形"},{prop:"tail",label:"拖尾"},{prop:"bl",label:"气泡"},{prop:"stone",label:"结石"},{prop:"scratch",label:"划伤"},{prop:"surfaceSum",label:"面检总数"}]},{prop:"lineC",label:"研磨电流(A)",children:[{prop:"ae",label:"A机台"},{prop:"be",label:"B机台"},{prop:"ce",label:"C机台"},{prop:"alle",label:"总电流"}]},{prop:"eletricityConform",label:"工艺符合性",minWidth:100},{prop:"lineD",label:"研磨时间(S)",children:[{prop:"ae",label:"A机台"},{prop:"be",label:"B机台"},{prop:"ce",label:"C机台"},{prop:"allt",label:"总研磨时间",minWidth:100}]}];var u={name:"glassQualityReport",data(){return{tableProps:p,tableH:(0,i.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}}},d=u,c=a(1001),m=(0,c.Z)(d,n,s,!1,null,null,null),h=m.exports,b=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}})],1)},f=[];const g=[{prop:"glassId",label:"玻璃ID",minWidth:120},{prop:"testTime",label:"检测时间",filter:i.g6,minWidth:160},{prop:"palletId",label:"托盘ID",minWidth:120},{prop:"grindType",label:"研磨类型",minWidth:120},{prop:"maxValue",label:"最大值",minWidth:120},{prop:"minValue",label:"最小值",minWidth:120},{prop:"avgValue",label:"平均值",minWidth:120},{prop:"ttvValue",label:"厚薄差",minWidth:120}];var y={name:"glassThickReport",data(){return{tableProps:g,tableH:(0,i.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}}},W=y,v=(0,c.Z)(W,b,f,!1,null,null,null),A=v.exports,C=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps1,"table-data":t.tableData1,"max-height":t.tableH}}),e("base-table",{attrs:{"table-props":t.tableProps2,"table-data":t.tableData2,"max-height":t.tableH}})],1)},T=[];const k=[{prop:"grindType",label:"研磨类型",minWidth:120},{prop:"glassNum",label:"数量",minWidth:160},{prop:"surfaceAvg",label:"颗粒均值",minWidth:120},{prop:"surfaceMin",label:"最小值",minWidth:120},{prop:"surfaceMax",label:"最大值",minWidth:120},{prop:"savg",label:"S均值<1um",minWidth:120},{prop:"mavg",label:"M均值1-3um",minWidth:120},{prop:"lavg",label:"L均值3-5um",minWidth:120},{prop:"xlAvg",label:"XL均值5-10um",minWidth:120},{prop:"defectAvg",label:"缺陷均值",minWidth:120},{prop:"defectMin",label:"最小值",minWidth:120},{prop:"defectMax",label:"最大值",minWidth:120},{prop:"blAvg",label:"气泡均值",minWidth:120},{prop:"distortionAvg",label:"变形均值",minWidth:120},{prop:"fiberAvg",label:"纤维均值",minWidth:120},{prop:"iisrestAvg",label:"无法识别均值",minWidth:120},{prop:"knotAvg",label:"结节均值",minWidth:120},{prop:"ptAvg",label:"铂金欠点均值",minWidth:120},{prop:"scratchAvg",label:"划伤均值",minWidth:120},{prop:"stoneAvg",label:"结石均值",minWidth:120},{prop:"tailAvg",label:"拖尾均值",minWidth:120},{prop:"tinAvg",label:"点状缺陷均值",minWidth:120},{prop:"bottomAvg",label:"锡(锡面)均值",minWidth:120},{prop:"topAvg",label:"锡(空气面)均值",minWidth:120}],D=[{prop:"glassId",label:"玻璃ID",minWidth:120},{prop:"rackNum",label:"包装架号",minWidth:120},{prop:"testTime",label:"包装时间",filter:i.g6,minWidth:160},{prop:"num",label:"包装数量",minWidth:120},{prop:"particleSum",label:"颗粒Sum",minWidth:120},{prop:"s",label:"S<1um",minWidth:120},{prop:"m",label:"M1-3um",minWidth:120},{prop:"l",label:"L3-5um",minWidth:120},{prop:"xl",label:"XL5-10um",minWidth:120},{prop:"defectSum",label:"缺陷Sum",minWidth:120},{prop:"bl",label:"气泡",minWidth:120},{prop:"distortion",label:"变形",minWidth:120},{prop:"fiber",label:"纤维",minWidth:120},{prop:"iisrest",label:"无法识别",minWidth:120},{prop:"knot",label:"结节",minWidth:120},{prop:"pt",label:"铂金欠点",minWidth:120},{prop:"scratch",label:"划伤",minWidth:120},{prop:"stone",label:"结石",minWidth:120},{prop:"tail",label:"拖尾",minWidth:120},{prop:"tin",label:"点状缺陷",minWidth:120},{prop:"bottom",label:"锡(锡面)",minWidth:120},{prop:"top",label:"锡(空气面)",minWidth:120},{prop:"adg",label:"ADG",minWidth:120},{prop:"allSum",label:"合计",minWidth:120},{prop:"grindType",label:"研磨类型",minWidth:120}];var R={name:"glassPackReport",data(){return{tableProps1:k,tableProps2:D,tableH:(0,i.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(292)}))},props:{tableData1:{type:Array,required:!0,default:()=>[]},tableData2:{type:Array,required:!0,default:()=>[]}}},I=R,x=(0,c.Z)(I,C,T,!1,null,null,null),q=x.exports,w=a(381),Z=a.n(w);const L=[{prop:"glassId",label:"ID",minWidth:100},{prop:"unloadTime",label:"检测时间",minWidth:120,filter:i.g6},{prop:"grindtype",label:"研磨类型",minWidth:80}];var P={name:"FinalInspectionData",components:{glassQualityReport:h,glassThickReport:A,glassPackReport:q},data(){return{formConfig:[{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"select",label:"玻璃架",selectOptions:[],param:"glassFrame",defaultSelect:"全部",width:150,clearable:!1},{type:"select",label:"报表类型",selectOptions:[{id:"单片玻璃基板缺陷统计",name:"单片玻璃基板缺陷统计"},{id:"终检下片包装",name:"终检下片包装"},{id:"厚度汇总报表",name:"厚度汇总报表"}],param:"fullInspectionType1",defaultSelect:"",onchange:!0,width:150},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tablePropsL:L,tableDataL:[],tableHL:(0,i.NC)(300),reportTitle:"",listQuery:{startTime:"",endTime:"",glassFrame:"",current:1,size:500},selectArr:[],glassQualityArr:[],thickReportArr:[],packReportArr:[],packClaReportArr:[]}},mounted(){this.getOption(),window.addEventListener("resize",(()=>{this.tableHL=(0,i.NC)(300)})),this.formConfig[0].defaultSelect=[Z()().format("yyyy-MM-DD")+"T00:00:00",Z()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=Z()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=Z()().format("yyyy-MM-DD")+"T23:59:59",this.listQuery.glassFrame="全部",this.getList()},methods:{getList(){(0,o.uW)({...this.listQuery}).then((t=>{0===t.code?this.tableDataL=t.data:this.tableDataL=[]}))},getOption(){let t=JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,e=t.map((t=>({id:t.dataName,name:t.dataName})));e.push({id:"全部",name:"全部"},{id:"废片",name:"废片"}),this.formConfig[1].selectOptions=e,console.log(e)},buttonClick(t){let e=[];switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.glassFrame=t.glassFrame,this.getList();break;default:if(0===this.selectArr.length)return this.$message({message:"请勾选左侧表格数据",type:"warning"}),!1;if(""===this.reportTitle)return this.$message({message:"请选择报表类型",type:"warning"}),!1;console.log(this.selectArr);for(let t of this.selectArr)e.push(t.glassId);"单片玻璃基板缺陷统计"===this.reportTitle?this.exportGlassReport(e):"厚度汇总报表"===this.reportTitle&&this.exportThickReport(e)}},selectChanged(t){this.reportTitle=t.value,this.glassQualityArr=[],this.thickReportArr=[],this.packReportArr=[],this.packClaReportArr=[]},selectChange(t){this.selectArr=t},generateReport(){if(0===this.selectArr.length)return this.$message({message:"请勾选左侧表格数据",type:"warning"}),!1;if(""===this.reportTitle)return this.$message({message:"请选择报表类型",type:"warning"}),!1;let t=[];for(let e of this.selectArr)t.push(e.glassId);switch(this.reportTitle){case"单片玻璃基板缺陷统计":this.getGlassReport(t);break;case"厚度汇总报表":this.getThickReport(t);break;default:this.getGlassData(t)}},getGlassReport(t){(0,o.uj)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t),this.glassQualityArr=t.data}))},exportGlassReport(t){(0,o.oR)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),l=new FileReader;l.readAsDataURL(r),l.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))},getThickReport(t){(0,o.bu)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t),this.thickReportArr=t.data}))},exportThickReport(t){(0,o.an)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),l=new FileReader;l.readAsDataURL(r),l.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))},getGlassData(t){(0,o.AT)({glassId:t}).then((t=>{console.log(t),this.packReportArr=t.data})),(0,o.fL)({glassId:t}).then((t=>{console.log(t),this.packClaReportArr=t.data}))}}},S=P,M=(0,c.Z)(S,r,l,!1,null,"6863655e",null),F=M.exports},2334:function(t,e,a){a.d(e,{AT:function(){return D},Af:function(){return n},F0:function(){return h},ON:function(){return p},QI:function(){return o},Qd:function(){return b},YU:function(){return m},an:function(){return k},bu:function(){return T},dy:function(){return y},eT:function(){return d},fL:function(){return R},gP:function(){return x},iF:function(){return u},jA:function(){return i},kT:function(){return I},oR:function(){return C},pS:function(){return s},pw:function(){return c},r5:function(){return f},uW:function(){return v},uX:function(){return W},uj:function(){return A},v:function(){return l},vD:function(){return g}});var r=a(8859);function l(t){return(0,r.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function n(t){return(0,r.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function s(t){return(0,r.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function p(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function m(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function W(t){return(0,r.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function v(t){return(0,r.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function T(t){return(0,r.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function D(t){return(0,r.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function R(t){return(0,r.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/640.fef43f27.js b/dist/js/640.fef43f27.js deleted file mode 100644 index d79fa55..0000000 --- a/dist/js/640.fef43f27.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[640],{640:function(t,e,a){a.r(e),a.d(e,{default:function(){return $}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectType}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}}),e("pagination",{attrs:{limit:t.listQuery.size,total:t.total}}),t.centervisible?e("sampling-add",{ref:"samplingList",on:{successSubmit:t.getList}}):t._e(),t.centervisible2?e("standar-setting",{ref:"standardList",on:{successSubmit:t.getList}}):t._e()],1)},s=[],o=a(475),l=function(){var t=this,e=t._self._c;return e("el-drawer",{staticClass:"samplingAdd",attrs:{title:"抽检录入",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("el-form",{ref:"form",staticClass:"form-box",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-row",{staticClass:"first-line",attrs:{gutter:20}},[e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"抽检人",prop:"detector"}},[e("el-input",{model:{value:t.form.detector,callback:function(e){t.$set(t.form,"detector",e)},expression:"form.detector"}})],1)],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"玻璃ID",prop:"glassId"}},[e("el-input",{model:{value:t.form.glassId,callback:function(e){t.$set(t.form,"glassId",e)},expression:"form.glassId"}})],1)],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"抽检时间",prop:"detectTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",placeholder:"选择抽检时间","value-format":"yyyy-MM-DDTHH:mm:ss"},model:{value:t.form.detectTime,callback:function(e){t.$set(t.form,"detectTime",e)},expression:"form.detectTime"}})],1)],1)],1),e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticStyle:{display:"inline-block","margin-right":"10px"}},[e("el-form-item",{attrs:{label:"型号",prop:"model"}},[e("el-radio-group",{on:{change:t.selectStandard},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.productModelVoList,(function(a){return e("el-radio-button",{key:a.dataCode,attrs:{label:a.dataName}},[t._v(t._s(a.dataName))])})),1)],1)],1),e("div",{staticStyle:{display:"inline-block"}},[e("el-form-item",{attrs:{label:"检验项目",prop:"detectItem"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"检验项目"},on:{change:t.selectItem},model:{value:t.form.detectItem,callback:function(e){t.$set(t.form,"detectItem",e)},expression:"form.detectItem"}},t._l(t.testItemList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)])],1),e("el-row",[e("el-col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:24}},[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"highlight-current-row":""},on:{emitFun:t.inputChange}})],1)],1),e("el-row",{staticClass:"bottom"},[e("el-col",{staticStyle:{"text-align":"right"},attrs:{span:24}},[e("el-form-item",[e("el-button",{on:{click:t.closeForm}},[t._v("取消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("保存")])],1)],1)],1)],1)],1)},i=[],n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"tableInner"},[e("el-input",{on:{blur:t.changeInput},model:{value:t.list[t.itemProp],callback:function(e){t.$set(t.list,t.itemProp,e)},expression:"list[itemProp]"}})],1)},d=[],c={name:"InputArea",props:{injectData:{type:Object,default:()=>({})},itemProp:{type:String}},data(){return{list:this.injectData}},methods:{changeInput(){console.log(this.list),this.$emit("emitData",this.list)}}},m=c,u=a(1001),p=(0,u.Z)(m,n,d,!1,null,null,null),f=p.exports,h=a(2334),b=a(381),g=a.n(b);const y=[{prop:"detectItem",label:"检验项目"},{prop:"detectPoint",label:"检测点"},{prop:"detectStandard",label:"检验标准"},{prop:"value",label:"实测值",subcomponent:f},{prop:"result",label:"抽检结果",subcomponent:f},{prop:"remark",label:"备注",subcomponent:f}];var I={name:"SamplingAdd",data(){return{visible:!1,form:{model:"",detectItem:"",detector:"",glassId:"",detectTime:""},testItemList:JSON.parse(localStorage.getItem("publicList")).checkItemVoList,productModelVoList:JSON.parse(localStorage.getItem("publicList")).productModelVoList,rules:{model:[{required:!0,message:"请输入选择型号",trigger:"blur"}],detectItem:[{required:!0,message:"请选择检验项目",trigger:"change"}],detector:[{required:!0,message:"请输入抽检人",trigger:"blur"}],glassId:[{required:!0,message:"请选择玻璃ID",trigger:"change"}],detectTime:[{required:!0,message:"请选择抽检时间",trigger:"change"}]},tableProps:y,tableData:[],tableH:(0,o.NC)(250)}},methods:{init(){this.visible=!0,window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(250)})),this.form.model="G8.5",this.form.detectTime=g()().format("yyyy-MM-DDTHH:mm:ss")},selectItem(){this.getStandard()},selectStandard(){this.form.detectItem&&this.getStandard()},getStandard(){(0,h.jA)({productSpec:this.form.model,detectItem:this.form.detectItem}).then((t=>{console.log(t),0===t.code?this.tableData=t.data:this.tableData=[]}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return console.log("error submit!!"),!1;{if(0===this.tableData.length)return this.$message({message:"请先到标准设置中添加该检测项目的检测点",type:"error",duration:2e3}),!1;let t=[];for(let e of this.tableData){let a={};a.detectStandardId=e.id,a.detectTime=this.form.detectTime,a.detector=this.form.detector,a.glassId=this.form.glassId,a.remark=e.remark?e.remark:"",a.result=e.result?e.result:"",a.value=e.value?e.value:"",t.push(a)}(0,h.Af)(t).then((t=>{0===t.code&&(this.$message({message:"保存成功",type:"success",duration:1500,onClose:()=>{}}),this.$emit("successSubmit"),this.formClear(),this.visible=!1)}))}}))},closeForm(){this.formClear(),this.visible=!1},formClear(){this.$refs.form.resetFields(),this.tableData=[]},inputChange(t){this.tableData[t._pageIndex-1][t.prop]=t[t.prop]}}},C=I,v=(0,u.Z)(C,l,i,!1,null,"7b3115e1",null),S=v.exports,k=function(){var t=this,e=t._self._c;return e("el-drawer",{staticClass:"standardSetting",attrs:{title:"标准值设置",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("el-form",{ref:"form",staticClass:"form-box",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticStyle:{display:"inline-block","margin-right":"10px"}},[e("el-form-item",{attrs:{label:"型号",prop:"model"}},[e("el-radio-group",{on:{change:t.selectStandard},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.productModelVoList,(function(a){return e("el-radio-button",{key:a.dataCode,attrs:{label:a.dataName}},[t._v(t._s(a.dataName))])})),1)],1)],1),e("div",{staticStyle:{display:"inline-block"}},[e("el-form-item",{attrs:{label:"检验项目",prop:"detectItem"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"检验项目"},on:{change:t.selectItem},model:{value:t.form.detectItem,callback:function(e){t.$set(t.form,"detectItem",e)},expression:"form.detectItem"}},t._l(t.testItemList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)])],1),e("el-row",[e("el-col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:24}},[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"add-button-show":t.addButtonShow,"highlight-current-row":""},on:{emitFun:t.inputChange,emitButtonClick:t.addNew}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1)],1)],1),e("el-row",{staticClass:"bottom"},[e("el-col",{staticStyle:{"text-align":"right"},attrs:{span:24}},[e("el-form-item",[e("el-button",{on:{click:t.closeForm}},[t._v("取消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("保存")])],1)],1)],1)],1)],1)},D=[];const w=[{prop:"detectItem",label:"检验项目",subcomponent:f},{prop:"detectPoint",label:"检测点",subcomponent:f},{prop:"detectStandard",label:"检验标准",subcomponent:f}],x=[{type:"delete",btnName:"编辑"}];var T={name:"StandarSetting",data(){return{visible:!1,form:{model:"",detectItem:""},testItemList:JSON.parse(localStorage.getItem("publicList")).checkItemVoList,productModelVoList:JSON.parse(localStorage.getItem("publicList")).productModelVoList,rules:{model:[{required:!0,message:"请输入选择型号",trigger:"blur"}],detectItem:[{required:!0,message:"请选择检验项目",trigger:"change"}]},tableProps:w,tableData:[],tableBtn:x,addButtonShow:"新增",tableH:(0,o.NC)(250)}},methods:{init(){this.visible=!0,window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(250)})),this.form.model="G8.5"},selectItem(){this.getStandard()},selectStandard(){this.form.detectItem&&this.getStandard()},getStandard(){(0,h.jA)({productSpec:this.form.model,detectItem:this.form.detectItem}).then((t=>{console.log(t),0===t.code?this.tableData=t.data:this.tableData=[]}))},handleClick(t){this.tableData.splice(t._pageIndex,1)},submitForm(){this.$refs["form"].validate((t=>{if(!t)return console.log("error submit!!"),!1;if(0===this.tableData.length)return this.$message({message:"请点击新增按钮添加标准值后再保存",type:"error",duration:1500}),!1;for(let e of this.tableData)if(!e.detectItem||!e.detectPoint||!e.detectStandard)return this.$message({message:"表格中有数据空缺,请检查",type:"error",duration:1500}),!1;for(let e of this.tableData)e.productSpec=this.form.model;(0,h.QI)(this.tableData).then((t=>{0===t.code&&(this.$message({message:"保存成功",type:"success",duration:1500,onClose:()=>{}}),this.$emit("successSubmit"),this.formClear(),this.visible=!1)}))}))},closeForm(){this.formClear(),this.visible=!1},formClear(){this.$refs.form.resetFields(),this.tableData=[]},inputChange(t){this.tableData[t._pageIndex-1][t.prop]=t[t.prop]},addNew(){if(!this.form.detectItem)return this.$message({message:"请先选择检验项目",type:"error",duration:1500}),!1;let t={};t.detectItem=this.form.detectItem,t.detectPoint="",t.detectStandard="",this.tableData.push(t)}}},L=T,q=(0,u.Z)(L,k,D,!1,null,"fbc9d82a",null),N=q.exports;const P=[{prop:"glassId",label:"玻璃ID",minWidth:100},{prop:"detectItem",label:"检验项目",minWidth:100},{prop:"detectPoint",label:"检测点",minWidth:100},{prop:"detectStandard",label:"检验标准",minWidth:100},{prop:"value",label:"实测值",minWidth:100},{prop:"result",label:"抽检结果",minWidth:100},{prop:"detector",label:"抽检人",minWidth:100},{prop:"detectTime",label:"抽检时间",filter:o.g6,minWidth:150},{prop:"remark",label:"备注",minWidth:150}];var _={name:"ProcessSampling",components:{SamplingAdd:S,StandarSetting:N},data(){return{formConfig:[{type:"select",label:"查询方式",selectOptions:[{id:1,name:"玻璃ID"},{id:2,name:"抽检人"},{id:3,name:"检验项目"}],param:"type",defaultSelect:"",onchange:!0,width:150},{type:"",label:"",placeholder:"玻璃ID",param:"glassId"},{type:"",label:"",placeholder:"抽检人",param:"detector",width:150},{type:"",label:"",selectOptions:JSON.parse(localStorage.getItem("publicList")).checkItemVoList,param:"detectItem",labelField:"dataName",valueField:"dataName",defaultSelect:"",width:150},{type:"datePicker",label:"抽检时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"录入",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0},{type:"button",btnName:"标准设置",name:"settings",color:"primary",plain:!0}],tableProps:P,tableData:[],tableH:(0,o.NC)(270),total:0,listQuery:{current:1,size:20,glassId:"",detector:"",detectItem:"",startTime:"",endTime:""},centervisible:!1,addOrEditTitle:"",standardSetting:"标准设置",centervisible2:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(270)})),this.formConfig[0].defaultSelect=1,this.formConfig[1].type="input",this.formConfig[1].label="玻璃ID",this.getList()},methods:{getList(){(0,h.v)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.glassId=1===t.type?t.glassId:"",this.listQuery.detector=2===t.type?t.detector:"",this.listQuery.detectItem=3===t.type?t.detectItem:"",this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.glassId="",this.listQuery.detector="",this.listQuery.detectItem="",this.listQuery.startTime="",this.listQuery.endTime="",this.$nextTick((()=>{this.getList()}));break;case"add":this.addOrEditTitle="抽检录入",this.centervisible=!0,this.$nextTick((()=>{this.$refs.samplingList.init()}));break;case"export":(0,h.pS)({...this.listQuery}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),s=new FileReader;s.readAsDataURL(r),s.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}));break;default:this.centervisible2=!0,this.$nextTick((()=>{this.$refs.standardList.init()}))}},selectType(t){1===t.value?(this.formConfig[0].defaultSelect=1,this.formConfig[1].type="input",this.formConfig[1].label="玻璃ID",this.formConfig[2].type="",this.formConfig[2].label="",this.formConfig[3].type="",this.formConfig[3].label=""):2===t.value?(this.formConfig[0].defaultSelect=2,this.formConfig[1].type="",this.formConfig[1].label="",this.formConfig[2].type="input",this.formConfig[2].label="抽检人",this.formConfig[3].type="",this.formConfig[3].label=""):3===t.value&&(this.formConfig[0].defaultSelect=3,this.formConfig[1].type="",this.formConfig[1].label="",this.formConfig[2].type="",this.formConfig[2].label="",this.formConfig[3].type="select",this.formConfig[3].label="检验项目")}}},F=_,Z=(0,u.Z)(F,r,s,!1,null,null,null),$=Z.exports},2334:function(t,e,a){a.d(e,{AT:function(){return w},Af:function(){return i},F0:function(){return f},ON:function(){return d},QI:function(){return l},Qd:function(){return h},YU:function(){return p},an:function(){return D},bu:function(){return k},dy:function(){return y},eT:function(){return m},fL:function(){return x},iF:function(){return c},jA:function(){return o},oR:function(){return S},pS:function(){return n},pw:function(){return u},r5:function(){return b},uW:function(){return C},uX:function(){return I},uj:function(){return v},v:function(){return s},vD:function(){return g}});var r=a(8859);function s(t){return(0,r.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function i(t){return(0,r.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function n(t){return(0,r.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function d(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function p(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function C(t){return(0,r.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function k(t){return(0,r.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function w(t){return(0,r.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/698.9c53c5c7.js b/dist/js/698.1ef9e99e.js similarity index 61% rename from dist/js/698.9c53c5c7.js rename to dist/js/698.1ef9e99e.js index ccdf261..18c5c8b 100644 --- a/dist/js/698.9c53c5c7.js +++ b/dist/js/698.1ef9e99e.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[698],{8027:function(t,e,r){r.d(e,{Z:function(){return l}});var a=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},n=[],i={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},o=i,s=r(1001),u=(0,s.Z)(o,a,n,!1,null,null,null),l=u.exports},698:function(t,e,r){r.r(e),r.d(e,{default:function(){return Z}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("spare-parts-add",{ref:"sparePartsAdd",on:{successSubmit:t.successSubmit}})],1)],1)},n=[],i=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-form-item",{attrs:{label:"备件类别",prop:"type"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别"},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1),e("el-form-item",{attrs:{label:"备件名称",prop:"name"}},[e("el-input",{attrs:{placeholder:"备件名称"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-input",{attrs:{placeholder:"无型号请填写为 /"},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},o=[],s=r(910),u={name:"SparePartsAdd",data(){return{form:{id:"",type:"",name:"",model:"",enabled:1},sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,rules:{type:[{required:!0,message:"请选择备件类别",trigger:"change"}],name:[{required:!0,message:"请输入备件名称",trigger:"blur"}],model:[{required:!0,message:"请输入备件型号",trigger:"blur"}]},isEdit:!1}},methods:{init(t){t?(this.form.id=t.id,(0,s.ME)({id:t.id}).then((e=>{0===e.code&&(this.form.type=e.data.type,this.form.name=e.data.name,this.form.model="copy"===t.type?"":e.data.model,this.form.enabled=e.data.enabled)})),"edit"===t.type?this.isEdit=!0:(this.isEdit=!1,this.form.id="")):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,s.Py)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.P4)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},l=u,d=r(1001),c=(0,d.Z)(l,i,o,!1,null,null,null),p=c.exports,m=r(475),f=r(8027);const h=[{prop:"type",label:"备件类别"},{prop:"name",label:"备件名称"},{prop:"model",label:"备件型号"},{prop:"enabled",label:"状态",width:120,subcomponent:f.Z}],b=[{type:"edit",btnName:"编辑"},{type:"copy",btnName:"复制"}];var g={name:"SparePartsConfig",components:{SparePartsAdd:p},data(){return{formConfig:[{type:"select",label:"备件类别",selectOptions:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,param:"type",labelField:"dataName",valueField:"dataName",defaultSelect:""},{type:"input",label:"备件名称",placeholder:"备件名称",param:"name"},{type:"input",label:"备件型号",placeholder:"备件型号",param:"model"},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:h,tableData:[],tableBtn:b,tableH:(0,m.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,m.NC)(265)})),this.getList()},methods:{getList(){(0,s.Wj)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.type=t.type,this.listQuery.name=t.name,this.listQuery.model=t.model,this.listQuery.enabled=t.enabled,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.type="",this.listQuery.name="",this.listQuery.model="",this.listQuery.enabled="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.sparePartsAdd.init()}))}},handleClick(t){if("edit"===t.type){this.addOrEditTitle="编辑";const e={id:t.data.id,type:"edit"};this.$nextTick((()=>{this.$refs.sparePartsAdd.init(e)})),this.centervisible=!0}else if("copy"===t.type){this.addOrEditTitle="新增";const e={id:t.data.id,type:"copy"};this.$nextTick((()=>{this.$refs.sparePartsAdd.init(e)})),this.centervisible=!0}},handleCancel(){this.$refs.sparePartsAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.sparePartsAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},y=g,C=(0,d.Z)(y,a,n,!1,null,null,null),Z=C.exports},910:function(t,e,r){r.d(e,{$0:function(){return S},A0:function(){return P},D0:function(){return o},ER:function(){return T},Hg:function(){return j},J_:function(){return E},Kl:function(){return N},ME:function(){return d},Or:function(){return g},P4:function(){return l},Py:function(){return c},QL:function(){return q},Qj:function(){return L},Sc:function(){return h},W0:function(){return D},WZ:function(){return f},Wj:function(){return u},Zs:function(){return n},_:function(){return Q},_1:function(){return y},a:function(){return B},ag:function(){return k},b8:function(){return b},dN:function(){return p},fZ:function(){return m},gz:function(){return C},jF:function(){return i},kB:function(){return _},m3:function(){return A},oW:function(){return w},qT:function(){return Z},sU:function(){return s},sy:function(){return x},tb:function(){return v},wy:function(){return O},xf:function(){return $},yk:function(){return F}});var a=r(8859);function n(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function T(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function E(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function A(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function B(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function j(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[698],{8027:function(t,e,r){r.d(e,{Z:function(){return l}});var a=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},n=[],i={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},o=i,s=r(1001),u=(0,s.Z)(o,a,n,!1,null,null,null),l=u.exports},698:function(t,e,r){r.r(e),r.d(e,{default:function(){return Z}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("spare-parts-add",{ref:"sparePartsAdd",on:{successSubmit:t.successSubmit}})],1)],1)},n=[],i=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-form-item",{attrs:{label:"备件类别",prop:"type"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别"},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1),e("el-form-item",{attrs:{label:"备件名称",prop:"name"}},[e("el-input",{attrs:{placeholder:"备件名称"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-input",{attrs:{placeholder:"无型号请填写为 /"},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},o=[],s=r(910),u={name:"SparePartsAdd",data(){return{form:{id:"",type:"",name:"",model:"",enabled:1},sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,rules:{type:[{required:!0,message:"请选择备件类别",trigger:"change"}],name:[{required:!0,message:"请输入备件名称",trigger:"blur"}],model:[{required:!0,message:"请输入备件型号",trigger:"blur"}]},isEdit:!1}},methods:{init(t){t?(this.form.id=t.id,(0,s.ME)({id:t.id}).then((e=>{0===e.code&&(this.form.type=e.data.type,this.form.name=e.data.name,this.form.model="copy"===t.type?"":e.data.model,this.form.enabled=e.data.enabled)})),"edit"===t.type?this.isEdit=!0:(this.isEdit=!1,this.form.id="")):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,s.Py)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.P4)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},l=u,d=r(1001),c=(0,d.Z)(l,i,o,!1,null,null,null),p=c.exports,m=r(475),f=r(8027);const h=[{prop:"type",label:"备件类别"},{prop:"name",label:"备件名称"},{prop:"model",label:"备件型号"},{prop:"enabled",label:"状态",width:120,subcomponent:f.Z}],b=[{type:"edit",btnName:"编辑"},{type:"copy",btnName:"复制"}];var g={name:"SparePartsConfig",components:{SparePartsAdd:p},data(){return{formConfig:[{type:"select",label:"备件类别",selectOptions:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,param:"type",labelField:"dataName",valueField:"dataName",defaultSelect:""},{type:"input",label:"备件名称",placeholder:"备件名称",param:"name"},{type:"input",label:"备件型号",placeholder:"备件型号",param:"model"},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:h,tableData:[],tableBtn:b,tableH:(0,m.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,m.NC)(265)})),this.getList()},methods:{getList(){(0,s.Wj)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.type=t.type,this.listQuery.name=t.name,this.listQuery.model=t.model,this.listQuery.enabled=t.enabled,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.type="",this.listQuery.name="",this.listQuery.model="",this.listQuery.enabled="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.sparePartsAdd.init()}))}},handleClick(t){if("edit"===t.type){this.addOrEditTitle="编辑";const e={id:t.data.id,type:"edit"};this.$nextTick((()=>{this.$refs.sparePartsAdd.init(e)})),this.centervisible=!0}else if("copy"===t.type){this.addOrEditTitle="新增";const e={id:t.data.id,type:"copy"};this.$nextTick((()=>{this.$refs.sparePartsAdd.init(e)})),this.centervisible=!0}},handleCancel(){this.$refs.sparePartsAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.sparePartsAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},y=g,C=(0,d.Z)(y,a,n,!1,null,null,null),Z=C.exports},910:function(t,e,r){r.d(e,{$0:function(){return k},A0:function(){return S},D0:function(){return o},ER:function(){return E},Hg:function(){return D},J_:function(){return _},Kl:function(){return P},ME:function(){return d},Or:function(){return g},P4:function(){return l},Py:function(){return c},QL:function(){return F},Qj:function(){return v},Sc:function(){return h},Sl:function(){return y},W0:function(){return z},WZ:function(){return f},Wj:function(){return u},Zs:function(){return n},_:function(){return T},_1:function(){return C},a:function(){return j},ag:function(){return $},b8:function(){return b},dN:function(){return p},fZ:function(){return m},gz:function(){return Z},jF:function(){return i},kB:function(){return x},m3:function(){return B},oW:function(){return Q},qT:function(){return L},sU:function(){return s},sy:function(){return O},tb:function(){return N},wy:function(){return q},xf:function(){return w},yk:function(){return A}});var a=r(8859);function n(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function E(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function A(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function B(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function j(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function z(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/7802.1470f15e.js b/dist/js/7802.1470f15e.js deleted file mode 100644 index 57dc0b2..0000000 --- a/dist/js/7802.1470f15e.js +++ /dev/null @@ -1 +0,0 @@ -(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[7802],{7802:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return C}});var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"page-box"},[t("search-bar",{ref:"searchBarForm",attrs:{formConfigs:e.formConfig},on:{headBtnClick:e.buttonClick}}),t("base-table",{attrs:{page:e.listQuery.current,limit:e.listQuery.size,"table-props":e.tableProps,"table-data":e.tableData,"max-height":e.tableH}},[e.tableBtn.length?t("method-btn",{attrs:{slot:"handleBtn",width:100,label:"工艺流程","method-list":e.tableBtn,fixed:"right"},on:{clickBtn:e.handleClick},slot:"handleBtn"}):e._e()],1),t("pagination",{attrs:{limit:e.listQuery.size,total:e.total}}),e.processFlowVisible?t("process-flow-detail",{ref:"processFlowDetail"}):e._e()],1)},l=[],s=function(){var e=this,t=e._self._c;return t("el-drawer",{attrs:{title:"工艺流程",visible:e.visible,size:"70%"},on:{"update:visible":function(t){e.visible=t}}},[t("div",{staticClass:"box"},[t("base-table",{attrs:{page:1,limit:1e3,"table-props":e.tableProps,"table-data":e.tableData,"max-height":e.tableH}},[e.tableBtn.length?t("method-btn",{attrs:{slot:"handleBtn",width:180,label:"操作","method-list":e.tableBtn},on:{clickBtn:e.handleClick},slot:"handleBtn"}):e._e()],1),t("el-drawer",{attrs:{title:"工艺参数","append-to-body":!0,visible:e.processParametersVisible,size:"50%"},on:{"update:visible":function(t){e.processParametersVisible=t}}},[t("base-table",{attrs:{page:1,limit:1e3,"table-props":e.tablePropsP,"table-data":e.tableDataP,"max-height":e.tableH}})],1),t("el-drawer",{attrs:{title:"设备参数","append-to-body":!0,visible:e.deviceParametersVisible,size:"50%"},on:{"update:visible":function(t){e.deviceParametersVisible=t}}},[t("div",{staticClass:"box"},[t("base-table",{attrs:{page:1,limit:1e3,"table-props":e.tablePropsD,"table-data":e.tableDataD,"max-height":e.tableH}})],1)])],1)])},n=[],r=a(475);const d=[{prop:"processName",label:"工序名称",minWidth:120},{prop:"deviceName",label:"设备名称",minWidth:120},{prop:"glassId",label:"玻璃ID",minWidth:150},{prop:"deviceLaunchTime",label:"设备上片时间",minWidth:160},{prop:"deviceUnloadingTime",label:"设备下片时间",minWidth:160},{prop:"grindingTrayId",label:"面磨托盘ID",minWidth:150}],o=[{type:"processParameters",btnName:"工艺参数"},{type:"deviceParameters",btnName:"设备参数"}],m=[{prop:"process",label:"工艺"},{prop:"currentValue",label:"当前值"}],p=[{prop:"device",label:"设备"},{prop:"status",label:"状态"},{prop:"changeTime",label:"变更时间"}];var c={name:"processFlowDetail",data(){return{visible:!1,tableProps:d,tableData:[],tableBtn:o,tableH:(0,r.NC)(115),processParametersVisible:!1,deviceParametersVisible:!1,tablePropsP:m,tablePropsD:p,tableDataP:[{process:"X切刀工作时的高度",currentValue:"20"},{process:"X方向划线速度",currentValue:"6"}],tableDataD:[{device:"面研磨上片工位_取纸机器人",status:"生产",changeTime:"2022-04-02 00:00:00 000"},{device:"面研磨上片工位_取纸机器人",status:"生产",changeTime:"2022-04-02 00:00:00 000"},{device:"面研磨上片工位_取纸机器人",status:"生产",changeTime:"2022-04-02 00:00:00 000"},{device:"面研磨上片工位_取纸机器人",status:"待料",changeTime:"2022-04-02 00:00:00 000"}]}},methods:{init(){this.visible=!0,window.addEventListener("resize",(()=>{this.tableH=(0,r.NC)(115)}));for(let e=0;e<30;e++){let t={processName:"1"};t.deviceName="设备名称"+e,t.glassId="玻璃ID"+e,t.deviceLaunchTime="2022-08-22 08:12:15",t.deviceUnloadingTime="2022-08-22 08:12:15",t.grindingTrayId="面磨托盘ID"+e,this.tableData.push(t)}},handleClick(e){console.log(e),"processParameters"===e.type?this.processParametersVisible=!0:"deviceParameters"===e.type&&(this.deviceParametersVisible=!0)},handleCloseProcess(){},handleCloseDevice(){}}},b=c,h=a(1001),u=(0,h.Z)(b,s,n,!1,null,"0592f1fa",null),g=u.exports,v=a(3126),f=a.n(v);const y=[{prop:"productionLine",label:"产线",minWidth:120},{prop:"orderCode",label:"工单编号",minWidth:120},{prop:"glassId",label:"玻璃ID",minWidth:150},{prop:"finishedRackId",label:"成品架ID",minWidth:150},{prop:"productLaunchTime",label:"产品上片时间",minWidth:160},{prop:"productUnloadingTime",label:"产品下片时间",minWidth:160},{prop:"glassGrade",label:"玻璃等级",minWidth:100},{prop:"grindingTrayId",label:"面磨托盘ID",minWidth:150},{prop:"supplier",label:"玻璃长度",minWidth:100},{prop:"glassWidth",label:"玻璃宽度",minWidth:100},{prop:"glassThickness",label:"玻璃厚度",minWidth:100}],D=[{type:"edit",btnName:"点击查看"}];var P={name:"ProductTraceability",components:{ProcessFlowDetail:g},data(){return{formConfig:[{type:"datePicker",label:"产品上片时间",dateType:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss",placeholder:"产品上片时间",param:"testTime",defaultSelect:"2022-08-17 08:20:10",width:200},{type:"select",label:"产线",selectOptions:f().productionLineList,param:"productionLine",defaultSelect:"",width:100},{type:"select",label:"查询方式",selectOptions:[{id:1,name:"成品架ID"},{id:2,name:"时间查询"},{id:3,name:"玻璃ID"},{id:4,name:"托盘ID"}],param:"inquiryMode",defaultSelect:"",width:150},{type:"input",label:"查询内容",placeholder:"查询内容",param:"queryContent"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"}],tableProps:y,tableData:[],tableBtn:D,tableH:(0,r.NC)(270),total:0,listQuery:{current:1,size:20},processFlowVisible:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,r.NC)(270)}));for(let e=0;e<30;e++){let t={productionLine:"产线1"};t.orderCode="工单编号"+e,t.glassId="玻璃ID"+e,t.finishedRackId="成品架ID"+e,t.productLaunchTime="2022-08-22 08:12:15",t.productUnloadingTime="2022-08-22 08:12:15",t.glassGrade=e,t.grindingTrayId="面磨托盘ID"+e,t.supplier=2600,t.glassWidth=2250,t.glassThickness=5,t.remark="备注"+e,this.tableData.push(t)}},methods:{getList(){},buttonClick(e){console.log(e),"search"===e.btnName?this.getList():"reset"===e.btnName&&(this.$refs.searchBarForm.resetForm(),this.$nextTick((()=>{this.getList()})))},handleClick(){this.processFlowVisible=!0;let e=1;this.$nextTick((()=>{this.$refs.processFlowDetail.init(e)}))},handleClose(){console.log("========")}}},T=P,L=(0,h.Z)(T,i,l,!1,null,null,null),C=L.exports},3126:function(e){e.exports={roleList:[{id:"1",name:"加工人员"},{id:"2",name:"质检人员"}],productionLineList:[{id:"1",name:"产线1"},{id:"2",name:"产线2"}],sparePartsTypeList:[{id:"1",name:"边磨备品备件"},{id:"2",name:"清洗机备品备件"},{id:"3",name:"前清洗备品备件"},{id:"4",name:"后清洗备品备件"},{id:"5",name:"面磨区备品备件"},{id:"6",name:"终检区备品备件"},{id:"7",name:"动力区备品备件"},{id:"8",name:"辅材备品备件"}],statusList:[{id:"1",name:"正常"},{id:"2",name:"禁用"}],unitModuleList:[{id:"1",name:"精切磨边"},{id:"2",name:"磨边后清洗"},{id:"3",name:"边检"},{id:"4",name:"面研磨"},{id:"5",name:"面研磨辅助设备"},{id:"6",name:"面研磨后清洗"},{id:"7",name:"终检"},{id:"8",name:"内包区"},{id:"9",name:"外包区"}],testItemList:[{id:"1",name:"研磨幅"},{id:"2",name:"外观尺寸"},{id:"3",name:"角尺寸"},{id:"4",name:"直线性"},{id:"5",name:"翘曲"},{id:"6",name:"成品厚度"},{id:"7",name:"应力"},{id:"8",name:"条纹/磨痕度数"}],orderTypeList:[{id:"1",name:"全部"},{id:"2",name:"正常"},{id:"3",name:"待再加工"}],orderStatusList:[{id:"1",name:"全部"},{id:"2",name:"已下发"},{id:"3",name:"未下发"},{id:"4",name:"已结束"}],planTypeList:[{id:"1",name:"全部"},{id:"2",name:"年计划"},{id:"3",name:"月计划"},{id:"4",name:"日计划"}],regrindList:[{id:"1",name:"无"},{id:"2",name:"锡面"},{id:"3",name:"空气面"}],productionSpecList:[{id:"1",name:"G8.5"},{id:"2",name:"G8.6"}]}}}]); \ No newline at end of file diff --git a/dist/js/6746.c7b86dac.js b/dist/js/8017.892d4e4c.js similarity index 53% rename from dist/js/6746.c7b86dac.js rename to dist/js/8017.892d4e4c.js index 8201311..09d3275 100644 --- a/dist/js/6746.c7b86dac.js +++ b/dist/js/8017.892d4e4c.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[6746],{6746:function(t,e,r){r.r(e),r.d(e,{default:function(){return Q}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"spare-parts-stock"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"row-class-name":t.tableRowClassName}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:"入库",dialogVisible:t.centervisibleIn,"before-close":t.handleCancelIn},on:{cancel:t.handleCancelIn,confirm:t.handleConfirmIn}},[e("spare-parts-add",{ref:"sparePartsAdd",on:{successSubmit:t.successSubmitIn}})],1),e("base-dialog",{attrs:{dialogTitle:"编辑",dialogVisible:t.centervisibleEdit,"before-close":t.handleCancelEdit},on:{cancel:t.handleCancelEdit,confirm:t.handleConfirmEdit}},[e("spare-parts-edit",{ref:"sparePartsEdit",on:{successSubmit:t.successSubmitEdit}})],1),e("base-dialog",{attrs:{dialogTitle:"出库",dialogVisible:t.centervisibleOut,"before-close":t.handleCancelOut},on:{cancel:t.handleCancelOut,confirm:t.handleConfirmOut}},[e("spare-parts-out",{ref:"sparePartsOut",on:{successSubmit:t.successSubmitOut}})],1)],1)},n=[],o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件类别",prop:"type"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别"},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.sparePartsSpecList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"批次编码",prop:"batchCode"}},[e("el-input",{attrs:{placeholder:"批次编码"},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"入库数量",prop:"inNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:9999999999},model:{value:t.form.inNum,callback:function(e){t.$set(t.form,"inNum",e)},expression:"form.inNum"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{placeholder:"供应商"},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"库位",prop:"stockPosition"}},[e("el-input",{attrs:{placeholder:"库位"},model:{value:t.form.stockPosition,callback:function(e){t.$set(t.form,"stockPosition",e)},expression:"form.stockPosition"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},i=[],s=r(910),l=r(147),u={name:"SparePartsAdd",data(){return{form:{proLineId:"",type:"",sparePartName:"",model:"",batchCode:"",inNum:"",supplier:"",stockPosition:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],type:[{required:!0,message:"请选择备件类型",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],batchCode:[{required:!0,message:"请输入批次编码",trigger:"blur"}],inNum:[{required:!0,message:"请输入入库数量",trigger:"blur"}],stockPosition:[{required:!0,message:"请输入库位",trigger:"blur"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[]}},methods:{init(){this.getNameList()},getNameList(){(0,s.dN)().then((t=>{this.sparePartsList=t.data,this.sparePartsSpecList=[]}))},selectModel(t){(0,s.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.model=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,l.rd)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[]}}},p=u,m=r(1001),c=(0,m.Z)(p,o,i,!1,null,null,null),d=c.exports,f=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线",disabled:""},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件类别",prop:"sparePartType"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别",disabled:""},model:{value:t.form.sparePartType,callback:function(e){t.$set(t.form,"sparePartType",e)},expression:"form.sparePartType"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称",disabled:""},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号",disabled:""},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.sparePartsSpecList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"库位",prop:"stockPosition"}},[e("el-input",{attrs:{placeholder:"库位"},model:{value:t.form.stockPosition,callback:function(e){t.$set(t.form,"stockPosition",e)},expression:"form.stockPosition"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最低安全库存",prop:"minNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999},model:{value:t.form.minNum,callback:function(e){t.$set(t.form,"minNum",e)},expression:"form.minNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最高安全库存",prop:"maxNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:9999999999},model:{value:t.form.maxNum,callback:function(e){t.$set(t.form,"maxNum",e)},expression:"form.maxNum"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},h=[],b={name:"SparePartsEdit",data(){return{form:{id:"",proLineId:"",sparePartType:"",sparePartName:"",model:"",supplier:"",stockPosition:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],sparePartType:[{required:!0,message:"请选择备件类型",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],stockPosition:[{required:!0,message:"请输入库位",trigger:"blur"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[{id:1,name:"1mm"}]}},methods:{init(t){t&&(this.form.id=t,(0,l.bO)({id:t}).then((t=>{console.log(t),this.form.proLineId=t.data.proLineId,this.form.sparePartType=t.data.sparePartType,this.form.sparePartName=t.data.sparePartName,this.form.model=t.data.model,this.form.maxNum=t.data.maxNum,this.form.minNum=t.data.minNum,this.form.stockPosition=t.data.stockPosition,this.form.remark=t.data.remark})))},getNameList(){(0,s.dN)().then((t=>{this.sparePartsList=t.data,this.sparePartsSpecList=[]}))},selectModel(t){(0,s.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.model=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,l.$d)({id:this.form.id,maxNum:this.form.maxNum,minNum:this.form.minNum,remark:this.form.remark,stockPosition:this.form.stockPosition}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[]}}},g=b,P=(0,m.Z)(g,f,h,!1,null,null,null),y=P.exports,L=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线",disabled:""},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件类别",prop:"sparePartType"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别",disabled:""},model:{value:t.form.sparePartType,callback:function(e){t.$set(t.form,"sparePartType",e)},expression:"form.sparePartType"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称",disabled:""},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号",disabled:""},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.sparePartsSpecList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"批次编码",prop:"batchCode"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"批次编码"},on:{change:t.batchChange},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}},t._l(t.batchCodeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.batchCode,value:t.batchCode}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{placeholder:"供应商",disabled:""},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"出库数量",prop:"outNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999},model:{value:t.form.outNum,callback:function(e){t.$set(t.form,"outNum",e)},expression:"form.outNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"领用人",prop:"recipient"}},[e("el-input",{attrs:{placeholder:"领用人"},model:{value:t.form.recipient,callback:function(e){t.$set(t.form,"recipient",e)},expression:"form.recipient"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},k=[],N={name:"SparePartsOut",data(){return{form:{id:"",proLineId:"",sparePartType:"",sparePartName:"",model:"",batchCode:"",supplier:"",outNum:"",recipient:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],sparePartType:[{required:!0,message:"请选择备件类型",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],batchCode:[{required:!0,message:"请选择批次编码",trigger:"change"}],outNum:[{required:!0,message:"请输入出库数量",trigger:"blur"}],recipient:[{required:!0,message:"请输入领用人",trigger:"blur"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[],batchCodeList:[]}},methods:{init(t){t&&(this.form.id=t,this.getBatchList(t),(0,l.bO)({id:t}).then((t=>{this.form.proLineId=t.data.proLineId,this.form.sparePartType=t.data.sparePartType,this.form.sparePartName=t.data.sparePartName,this.form.model=t.data.model,this.form.maxNum=t.data.maxNum,this.form.minNum=t.data.minNum,this.form.stockPosition=t.data.stockPosition,this.form.remark=t.data.remark})))},getBatchList(t){(0,l.Ku)({id:t}).then((t=>{this.batchCodeList=t.data}))},getNameList(){(0,s.dN)().then((t=>{this.sparePartsList=t.data,this.sparePartsSpecList=[]}))},selectModel(t){(0,s.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.model=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,l.lJ)({id:this.form.id,batchCode:this.form.batchCode,outNum:this.form.outNum,recipient:this.form.recipient,remark:this.form.remark}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[],this.batchCodeList=[]},batchChange(t){this.batchCodeList&&this.batchCodeList.map((e=>{e.batchCode===t&&(this.form.supplier=e.supplier)}))}}},S=N,C=(0,m.Z)(S,L,k,!1,null,null,null),Z=C.exports,v=function(){var t=this,e=t._self._c;return e("el-popover",{attrs:{placement:"right",width:"500",trigger:"click"}},[e("el-table",{attrs:{data:t.tableData}},[e("el-table-column",{attrs:{prop:"batchCode",label:"批次编码",width:"160"}}),e("el-table-column",{attrs:{prop:"supplier",label:"供应商",width:"220"}}),e("el-table-column",{attrs:{prop:"num",label:"当前库存"}})],1),e("el-button",{staticClass:"tableInnerButton",attrs:{slot:"reference",type:"text"},on:{click:function(e){return t.showInnerTable(t.injectData.id)}},slot:"reference"},[t._v("详情")])],1)},x=[],w={name:"InnerTable",props:{injectData:{type:Object,default:()=>({})},itemProp:{type:String}},data(){return{list:this.injectData,tableData:[]}},methods:{showInnerTable(t){console.log(t),(0,l.Dr)({id:t}).then((t=>{0===t.code&&(this.tableData=t.data)}))}}},q=w,$=(0,m.Z)(q,v,x,!1,null,null,null),I=$.exports,M=r(475);const T=[{prop:"proLineName",label:"产线",minWidth:120},{prop:"sparePartType",label:"备件类别",minWidth:150},{prop:"sparePartName",label:"备件名称",minWidth:150},{prop:"model",label:"备件型号",minWidth:150},{prop:"num",label:"库存数量/个",sortable:!0,minWidth:150},{prop:"inventoryDetails",label:"库存详情",minWidth:100,subcomponent:I},{prop:"minNum",label:"最低安全库存",width:150},{prop:"maxNum",label:"最高安全库存",width:150},{prop:"stockPosition",label:"库位",minWidth:140},{prop:"remark",label:"备注",minWidth:150}],O=[{type:"edit",btnName:"编辑"},{type:"output",btnName:"出库"}];var _={name:"SparePartsStock",components:{SparePartsAdd:d,SparePartsEdit:y,SparePartsOut:Z},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",labelField:"dataName",valueField:"dataCode",defaultSelect:"",width:150},{type:"select",label:"备件类别",selectOptions:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,param:"type",labelField:"dataName",valueField:"dataName",defaultSelect:"",width:150},{type:"input",label:"备件名称",placeholder:"备件名称",param:"sparePartName"},{type:"input",label:"备件型号",placeholder:"备件型号",param:"model"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"入库",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:T,tableData:[],tableBtn:O,tableH:(0,M.NC)(320),total:0,listQuery:{current:1,size:20},centervisibleIn:!1,centervisibleEdit:!1,centervisibleOut:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,M.NC)(320)})),this.getList()},methods:{getList(){(0,l.HJ)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){console.log(t),"edit"===t.type?(this.centervisibleEdit=!0,this.$nextTick((()=>{this.$refs.sparePartsEdit.init(t.data.id)}))):"output"===t.type&&(this.centervisibleOut=!0,this.$nextTick((()=>{this.$refs.sparePartsOut.init(t.data.id)})))},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.proLineId=t.proLineId,this.listQuery.type=t.type,this.listQuery.sparePartName=t.sparePartName,this.listQuery.model=t.model,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.proLineId="",this.listQuery.type="",this.listQuery.sparePartName="",this.listQuery.model="",this.listQuery.current=1,this.getList();break;case"add":this.centervisibleIn=!0,this.$nextTick((()=>{this.$refs.sparePartsAdd.init()}));break;default:this.listQuery.proLineId=t.proLineId,this.listQuery.type=t.type,this.listQuery.sparePartName=t.sparePartName,this.listQuery.model=t.model,(0,l.$F)({...this.listQuery}).then((t=>{let e="";const r=t.headers["content-disposition"];r&&(e=decodeURIComponent(r.slice(r.indexOf("filename=")+9)));const a=new Blob([t.data]),n=new FileReader;n.readAsDataURL(a),n.onload=t=>{const r=document.createElement("a");r.download=e,r.href=t.target.result,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}))}},tableRowClassName({row:t}){return t.flag&&t.flag>0?"danger-row":""},handleCancelIn(){this.$refs.sparePartsAdd.formClear(),this.centervisibleIn=!1},handleConfirmIn(){this.$refs.sparePartsAdd.submitForm()},successSubmitIn(){this.handleCancelIn(),this.getList()},handleCancelEdit(){this.$refs.sparePartsEdit.formClear(),this.centervisibleEdit=!1},handleConfirmEdit(){this.$refs.sparePartsEdit.submitForm()},successSubmitEdit(){this.handleCancelEdit(),this.getList()},handleCancelOut(){this.$refs.sparePartsOut.formClear(),this.centervisibleOut=!1},handleConfirmOut(){this.$refs.sparePartsOut.submitForm()},successSubmitOut(){this.handleCancelOut(),this.getList()}}},A=_,E=(0,m.Z)(A,a,n,!1,null,"10587646",null),Q=E.exports},910:function(t,e,r){r.d(e,{$0:function(){return Z},A0:function(){return C},D0:function(){return i},ER:function(){return $},Hg:function(){return D},J_:function(){return I},Kl:function(){return S},ME:function(){return p},Or:function(){return g},P4:function(){return u},Py:function(){return m},QL:function(){return _},Qj:function(){return k},Sc:function(){return h},W0:function(){return F},WZ:function(){return f},Wj:function(){return l},Zs:function(){return n},_:function(){return q},_1:function(){return P},a:function(){return Q},ag:function(){return v},b8:function(){return b},dN:function(){return c},fZ:function(){return d},gz:function(){return y},jF:function(){return o},kB:function(){return M},m3:function(){return E},oW:function(){return w},qT:function(){return L},sU:function(){return s},sy:function(){return T},tb:function(){return N},wy:function(){return O},xf:function(){return x},yk:function(){return A}});var a=r(8859);function n(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function $(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function M(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function A(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function E(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},147:function(t,e,r){r.d(e,{$7:function(){return M},$F:function(){return b},$N:function(){return w},$d:function(){return c},A5:function(){return S},Ah:function(){return i},Dr:function(){return f},HJ:function(){return u},Im:function(){return k},KK:function(){return $},KQ:function(){return Z},Ko:function(){return T},Ku:function(){return h},OP:function(){return l},OT:function(){return g},UP:function(){return y},Uw:function(){return O},YG:function(){return x},bO:function(){return m},co:function(){return P},fK:function(){return N},h:function(){return q},jL:function(){return I},lJ:function(){return d},lZ:function(){return s},pl:function(){return v},rd:function(){return p},uN:function(){return o},yx:function(){return L},zG:function(){return C},zh:function(){return n}});var a=r(8859);function n(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/get",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/getPlan",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/updatePlan",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/equipment/PalletIndicatorAnalysis/page",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/equipment/PalletIndicatorAnalysis/getType",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/equipment/SparePartStock/page",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/equipment/SparePartStock/inStock",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/equipment/SparePartStock/get",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/equipment/SparePartStock/update",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/equipment/SparePartStock/outStock",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/equipment/SparePartStock/stockDetail",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/equipment/SparePartStock/getBatchList",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/equipment/SparePartStock/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function g(t){return(0,a.Z)({url:"/equipment/SparePartStock/PageHis",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/equipment/SparePartStock/exportHis",method:"post",responseType:"blob",data:t,timeout:6e4})}function y(t){return(0,a.Z)({url:"/equipment/MaintainManage/pageSelect",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/equipment/MaintainManage/unDistributeGet",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/equipment/MaintainManage/create",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/equipment/MaintainManage/unDistribute",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/equipment/MaintainManage/completedDistribute",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/equipment/MaintainManage/dispatch",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/equipment/MaintainManage/confirm",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/equipment/MaintainManage/PlainMaintainDelete",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/equipment/MaintainManage/PlanMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function w(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainPageSelect",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainAdd",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainModify",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/equipment/MaintainManage/AUtoMaintainDelete",method:"post",data:t})}function M(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function T(t){return(0,a.Z)({url:"/equipment/AlarmMessage/nowAlertSelect",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/equipment/AlarmMessage/historyAlertSelect",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[8017],{8017:function(t,e,r){r.r(e),r.d(e,{default:function(){return Q}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"spare-parts-stock"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"row-class-name":t.tableRowClassName}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:"入库",dialogVisible:t.centervisibleIn,"before-close":t.handleCancelIn},on:{cancel:t.handleCancelIn,confirm:t.handleConfirmIn}},[e("spare-parts-add",{ref:"sparePartsAdd",on:{successSubmit:t.successSubmitIn}})],1),e("base-dialog",{attrs:{dialogTitle:"编辑",dialogVisible:t.centervisibleEdit,"before-close":t.handleCancelEdit},on:{cancel:t.handleCancelEdit,confirm:t.handleConfirmEdit}},[e("spare-parts-edit",{ref:"sparePartsEdit",on:{successSubmit:t.successSubmitEdit}})],1),e("base-dialog",{attrs:{dialogTitle:"出库",dialogVisible:t.centervisibleOut,"before-close":t.handleCancelOut},on:{cancel:t.handleCancelOut,confirm:t.handleConfirmOut}},[e("spare-parts-out",{ref:"sparePartsOut",on:{successSubmit:t.successSubmitOut}})],1)],1)},n=[],o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件类别",prop:"type"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别"},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.sparePartsSpecList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"批次编码",prop:"batchCode"}},[e("el-input",{attrs:{placeholder:"批次编码"},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"入库数量",prop:"inNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:9999999999},model:{value:t.form.inNum,callback:function(e){t.$set(t.form,"inNum",e)},expression:"form.inNum"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{placeholder:"供应商"},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"库位",prop:"stockPosition"}},[e("el-input",{attrs:{placeholder:"库位"},model:{value:t.form.stockPosition,callback:function(e){t.$set(t.form,"stockPosition",e)},expression:"form.stockPosition"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},i=[],s=r(910),l=r(147),u={name:"SparePartsAdd",data(){return{form:{proLineId:"",type:"",sparePartName:"",model:"",batchCode:"",inNum:"",supplier:"",stockPosition:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],type:[{required:!0,message:"请选择备件类型",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],batchCode:[{required:!0,message:"请输入批次编码",trigger:"blur"}],inNum:[{required:!0,message:"请输入入库数量",trigger:"blur"}],stockPosition:[{required:!0,message:"请输入库位",trigger:"blur"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[]}},methods:{init(){this.getNameList()},getNameList(){(0,s.dN)().then((t=>{this.sparePartsList=t.data,this.sparePartsSpecList=[]}))},selectModel(t){(0,s.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.model=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,l.rd)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[]}}},p=u,m=r(1001),c=(0,m.Z)(p,o,i,!1,null,null,null),d=c.exports,f=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线",disabled:""},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件类别",prop:"sparePartType"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别",disabled:""},model:{value:t.form.sparePartType,callback:function(e){t.$set(t.form,"sparePartType",e)},expression:"form.sparePartType"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称",disabled:""},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号",disabled:""},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.sparePartsSpecList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"库位",prop:"stockPosition"}},[e("el-input",{attrs:{placeholder:"库位"},model:{value:t.form.stockPosition,callback:function(e){t.$set(t.form,"stockPosition",e)},expression:"form.stockPosition"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最低安全库存",prop:"minNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999},model:{value:t.form.minNum,callback:function(e){t.$set(t.form,"minNum",e)},expression:"form.minNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最高安全库存",prop:"maxNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:9999999999},model:{value:t.form.maxNum,callback:function(e){t.$set(t.form,"maxNum",e)},expression:"form.maxNum"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},h=[],b={name:"SparePartsEdit",data(){return{form:{id:"",proLineId:"",sparePartType:"",sparePartName:"",model:"",supplier:"",stockPosition:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],sparePartType:[{required:!0,message:"请选择备件类型",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],stockPosition:[{required:!0,message:"请输入库位",trigger:"blur"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[{id:1,name:"1mm"}]}},methods:{init(t){t&&(this.form.id=t,(0,l.bO)({id:t}).then((t=>{console.log(t),this.form.proLineId=t.data.proLineId,this.form.sparePartType=t.data.sparePartType,this.form.sparePartName=t.data.sparePartName,this.form.model=t.data.model,this.form.maxNum=t.data.maxNum,this.form.minNum=t.data.minNum,this.form.stockPosition=t.data.stockPosition,this.form.remark=t.data.remark})))},getNameList(){(0,s.dN)().then((t=>{this.sparePartsList=t.data,this.sparePartsSpecList=[]}))},selectModel(t){(0,s.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.model=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,l.$d)({id:this.form.id,maxNum:this.form.maxNum,minNum:this.form.minNum,remark:this.form.remark,stockPosition:this.form.stockPosition}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[]}}},g=b,P=(0,m.Z)(g,f,h,!1,null,null,null),y=P.exports,L=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线",disabled:""},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件类别",prop:"sparePartType"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别",disabled:""},model:{value:t.form.sparePartType,callback:function(e){t.$set(t.form,"sparePartType",e)},expression:"form.sparePartType"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称",disabled:""},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号",disabled:""},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.sparePartsSpecList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"批次编码",prop:"batchCode"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"批次编码"},on:{change:t.batchChange},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}},t._l(t.batchCodeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.batchCode,value:t.batchCode}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{placeholder:"供应商",disabled:""},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"出库数量",prop:"outNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999},model:{value:t.form.outNum,callback:function(e){t.$set(t.form,"outNum",e)},expression:"form.outNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"领用人",prop:"recipient"}},[e("el-input",{attrs:{placeholder:"领用人"},model:{value:t.form.recipient,callback:function(e){t.$set(t.form,"recipient",e)},expression:"form.recipient"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},k=[],N={name:"SparePartsOut",data(){return{form:{id:"",proLineId:"",sparePartType:"",sparePartName:"",model:"",batchCode:"",supplier:"",outNum:"",recipient:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],sparePartType:[{required:!0,message:"请选择备件类型",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],batchCode:[{required:!0,message:"请选择批次编码",trigger:"change"}],outNum:[{required:!0,message:"请输入出库数量",trigger:"blur"}],recipient:[{required:!0,message:"请输入领用人",trigger:"blur"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[],batchCodeList:[]}},methods:{init(t){t&&(this.form.id=t,this.getBatchList(t),(0,l.bO)({id:t}).then((t=>{this.form.proLineId=t.data.proLineId,this.form.sparePartType=t.data.sparePartType,this.form.sparePartName=t.data.sparePartName,this.form.model=t.data.model,this.form.maxNum=t.data.maxNum,this.form.minNum=t.data.minNum,this.form.stockPosition=t.data.stockPosition,this.form.remark=t.data.remark}))),this.form.recipient=this.$store.getters.username?this.$store.getters.username:""},getBatchList(t){(0,l.Ku)({id:t}).then((t=>{this.batchCodeList=t.data}))},getNameList(){(0,s.dN)().then((t=>{this.sparePartsList=t.data,this.sparePartsSpecList=[]}))},selectModel(t){(0,s.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.model=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,l.lJ)({id:this.form.id,batchCode:this.form.batchCode,outNum:this.form.outNum,recipient:this.form.recipient,remark:this.form.remark}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[],this.batchCodeList=[]},batchChange(t){this.batchCodeList&&this.batchCodeList.map((e=>{e.batchCode===t&&(this.form.supplier=e.supplier)}))}}},S=N,C=(0,m.Z)(S,L,k,!1,null,null,null),Z=C.exports,v=function(){var t=this,e=t._self._c;return e("el-popover",{attrs:{placement:"right",width:"500",trigger:"click"}},[e("el-table",{attrs:{data:t.tableData}},[e("el-table-column",{attrs:{prop:"batchCode",label:"批次编码",width:"160"}}),e("el-table-column",{attrs:{prop:"supplier",label:"供应商",width:"220"}}),e("el-table-column",{attrs:{prop:"num",label:"当前库存"}})],1),e("el-button",{staticClass:"tableInnerButton",attrs:{slot:"reference",type:"text"},on:{click:function(e){return t.showInnerTable(t.injectData.id)}},slot:"reference"},[t._v("详情")])],1)},x=[],$={name:"InnerTable",props:{injectData:{type:Object,default:()=>({})},itemProp:{type:String}},data(){return{list:this.injectData,tableData:[]}},methods:{showInnerTable(t){console.log(t),(0,l.Dr)({id:t}).then((t=>{0===t.code&&(this.tableData=t.data)}))}}},w=$,q=(0,m.Z)(w,v,x,!1,null,null,null),I=q.exports,M=r(475);const T=[{prop:"proLineName",label:"产线",minWidth:120},{prop:"sparePartType",label:"备件类别",minWidth:150},{prop:"sparePartName",label:"备件名称",minWidth:150},{prop:"model",label:"备件型号",minWidth:150},{prop:"num",label:"库存数量/个",sortable:!0,minWidth:150},{prop:"inventoryDetails",label:"库存详情",minWidth:100,subcomponent:I},{prop:"minNum",label:"最低安全库存",width:150},{prop:"maxNum",label:"最高安全库存",width:150},{prop:"stockPosition",label:"库位",minWidth:140},{prop:"remark",label:"备注",minWidth:150}],O=[{type:"edit",btnName:"编辑"},{type:"output",btnName:"出库"}];var _={name:"SparePartsStock",components:{SparePartsAdd:d,SparePartsEdit:y,SparePartsOut:Z},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",labelField:"dataName",valueField:"dataCode",defaultSelect:"",width:150},{type:"select",label:"备件类别",selectOptions:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,param:"type",labelField:"dataName",valueField:"dataName",defaultSelect:"",width:150},{type:"input",label:"备件名称",placeholder:"备件名称",param:"sparePartName"},{type:"input",label:"备件型号",placeholder:"备件型号",param:"model"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"入库",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:T,tableData:[],tableBtn:O,tableH:(0,M.NC)(320),total:0,listQuery:{current:1,size:20},centervisibleIn:!1,centervisibleEdit:!1,centervisibleOut:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,M.NC)(320)})),this.getList()},methods:{getList(){(0,l.HJ)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){console.log(t),"edit"===t.type?(this.centervisibleEdit=!0,this.$nextTick((()=>{this.$refs.sparePartsEdit.init(t.data.id)}))):"output"===t.type&&(this.centervisibleOut=!0,this.$nextTick((()=>{this.$refs.sparePartsOut.init(t.data.id)})))},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.proLineId=t.proLineId,this.listQuery.type=t.type,this.listQuery.sparePartName=t.sparePartName,this.listQuery.model=t.model,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.proLineId="",this.listQuery.type="",this.listQuery.sparePartName="",this.listQuery.model="",this.listQuery.current=1,this.getList();break;case"add":this.centervisibleIn=!0,this.$nextTick((()=>{this.$refs.sparePartsAdd.init()}));break;default:this.listQuery.proLineId=t.proLineId,this.listQuery.type=t.type,this.listQuery.sparePartName=t.sparePartName,this.listQuery.model=t.model,(0,l.$F)({...this.listQuery}).then((t=>{let e="";const r=t.headers["content-disposition"];r&&(e=decodeURIComponent(r.slice(r.indexOf("filename=")+9)));const a=new Blob([t.data]),n=new FileReader;n.readAsDataURL(a),n.onload=t=>{const r=document.createElement("a");r.download=e,r.href=t.target.result,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}))}},tableRowClassName({row:t}){return t.flag&&t.flag>0?"danger-row":""},handleCancelIn(){this.$refs.sparePartsAdd.formClear(),this.centervisibleIn=!1},handleConfirmIn(){this.$refs.sparePartsAdd.submitForm()},successSubmitIn(){this.handleCancelIn(),this.getList()},handleCancelEdit(){this.$refs.sparePartsEdit.formClear(),this.centervisibleEdit=!1},handleConfirmEdit(){this.$refs.sparePartsEdit.submitForm()},successSubmitEdit(){this.handleCancelEdit(),this.getList()},handleCancelOut(){this.$refs.sparePartsOut.formClear(),this.centervisibleOut=!1},handleConfirmOut(){this.$refs.sparePartsOut.submitForm()},successSubmitOut(){this.handleCancelOut(),this.getList()}}},A=_,E=(0,m.Z)(A,a,n,!1,null,"10587646",null),Q=E.exports},910:function(t,e,r){r.d(e,{$0:function(){return v},A0:function(){return Z},D0:function(){return i},ER:function(){return I},Hg:function(){return F},J_:function(){return M},Kl:function(){return C},ME:function(){return p},Or:function(){return g},P4:function(){return u},Py:function(){return m},QL:function(){return A},Qj:function(){return N},Sc:function(){return h},Sl:function(){return P},W0:function(){return B},WZ:function(){return f},Wj:function(){return l},Zs:function(){return n},_:function(){return q},_1:function(){return y},a:function(){return D},ag:function(){return x},b8:function(){return b},dN:function(){return c},fZ:function(){return d},gz:function(){return L},jF:function(){return o},kB:function(){return T},m3:function(){return Q},oW:function(){return w},qT:function(){return k},sU:function(){return s},sy:function(){return O},tb:function(){return S},wy:function(){return _},xf:function(){return $},yk:function(){return E}});var a=r(8859);function n(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function I(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function M(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function A(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function E(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function B(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},147:function(t,e,r){r.d(e,{$7:function(){return M},$F:function(){return b},$N:function(){return $},$d:function(){return c},A5:function(){return S},Ah:function(){return i},Dr:function(){return f},HJ:function(){return u},Im:function(){return k},KK:function(){return q},KQ:function(){return Z},Ko:function(){return T},Ku:function(){return h},OP:function(){return l},OT:function(){return g},UP:function(){return y},Uw:function(){return O},YG:function(){return x},bO:function(){return m},co:function(){return P},fK:function(){return N},h:function(){return w},jL:function(){return I},lJ:function(){return d},lZ:function(){return s},pl:function(){return v},rd:function(){return p},uN:function(){return o},yx:function(){return L},zG:function(){return C},zh:function(){return n}});var a=r(8859);function n(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/get",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/getPlan",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/updatePlan",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/equipment/PalletIndicatorAnalysis/page",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/equipment/PalletIndicatorAnalysis/getType",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/equipment/SparePartStock/page",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/equipment/SparePartStock/inStock",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/equipment/SparePartStock/get",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/equipment/SparePartStock/update",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/equipment/SparePartStock/outStock",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/equipment/SparePartStock/stockDetail",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/equipment/SparePartStock/getBatchList",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/equipment/SparePartStock/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function g(t){return(0,a.Z)({url:"/equipment/SparePartStock/PageHis",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/equipment/SparePartStock/exportHis",method:"post",responseType:"blob",data:t,timeout:6e4})}function y(t){return(0,a.Z)({url:"/equipment/MaintainManage/pageSelect",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/equipment/MaintainManage/unDistributeGet",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/equipment/MaintainManage/create",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/equipment/MaintainManage/unDistribute",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/equipment/MaintainManage/completedDistribute",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/equipment/MaintainManage/dispatch",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/equipment/MaintainManage/confirm",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/equipment/MaintainManage/PlainMaintainDelete",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/equipment/MaintainManage/PlanMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function $(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainPageSelect",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainAdd",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainModify",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/equipment/MaintainManage/AUtoMaintainDelete",method:"post",data:t})}function M(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function T(t){return(0,a.Z)({url:"/equipment/AlarmMessage/nowAlertSelect",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/equipment/AlarmMessage/historyAlertSelect",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/8311.80ae8f55.js b/dist/js/8311.80ae8f55.js new file mode 100644 index 0000000..885260d --- /dev/null +++ b/dist/js/8311.80ae8f55.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[8311],{8311:function(t,e,r){r.r(e),r.d(e,{default:function(){return Z}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"report-classification"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("report-class-add",{ref:"reportClass",on:{successSubmit:t.successSubmit}})],1)],1)},i=[],a=r(475),o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-form-item",{attrs:{label:"报表分类名",prop:"name"}},[e("el-input",{model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1)],1)},s=[],u=r(910),c={name:"ReportClassAdd",data(){return{form:{id:"",name:""},isEdit:!1,rules:{name:[{required:!0,message:"请输入报表分类名",trigger:"blur"}]}}},methods:{init(t){t?(this.isEdit=!0,this.form.id=t,(0,u.Hg)({id:t}).then((t=>{0===t.code&&(this.form.name=t.data.name)}))):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?((0,u.a)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})),this.$emit("successSubmit")):(console.log(this.form),(0,u.m3)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})),this.$emit("successSubmit"))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},d=c,l=r(1001),f=(0,l.Z)(d,o,s,!1,null,null,null),m=f.exports;const p=[{prop:"name",label:"报表分类名"}],h=[{type:"edit",btnName:"编辑"},{type:"delete",btnName:"删除"}];var b={name:"ReportClassification",components:{ReportClassAdd:m},data(){return{formConfig:[{type:"input",label:"关键字",placeholder:"报表分类名",param:"name",width:300},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:p,tableData:[],tableBtn:h,tableH:(0,a.NC)(330),total:0,listQuery:{current:1,size:20,name:""},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,a.NC)(265)})),this.getList()},methods:{getList(){(0,u.yk)({...this.listQuery}).then((t=>{0===t.code&&t.data?(this.tableData=t.data.records,this.total=t.data.total):(this.tableData=[],this.total=0)}))},handleClick(t){"edit"===t.type?(this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.reportClass.init(t.data.id)})),this.centervisible=!0):this.$confirm('确认删除报表分类名"'+t.data.name+'"吗?',{type:"warning"}).then((()=>{(0,u.W0)({id:t.data.id}).then((()=>{this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.name=t.name,this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.reportClass.init()}))}},handleCancel(){this.$refs.reportClass.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.reportClass.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},g=b,C=(0,l.Z)(g,n,i,!1,null,null,null),Z=C.exports},910:function(t,e,r){r.d(e,{$0:function(){return Q},A0:function(){return E},D0:function(){return o},ER:function(){return q},Hg:function(){return H},J_:function(){return B},Kl:function(){return v},ME:function(){return d},Or:function(){return g},P4:function(){return c},Py:function(){return l},QL:function(){return z},Qj:function(){return L},Sc:function(){return h},Sl:function(){return C},W0:function(){return W},WZ:function(){return p},Wj:function(){return u},Zs:function(){return i},_:function(){return _},_1:function(){return Z},a:function(){return F},ag:function(){return w},b8:function(){return b},dN:function(){return f},fZ:function(){return m},gz:function(){return y},jF:function(){return a},kB:function(){return N},m3:function(){return D},oW:function(){return S},qT:function(){return $},sU:function(){return s},sy:function(){return T},tb:function(){return k},wy:function(){return x},xf:function(){return P},yk:function(){return O}});var n=r(8859);function i(t){return(0,n.Z)({url:"/basic/account/page",method:"post",data:t})}function a(t){return(0,n.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,n.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,n.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function l(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function f(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function p(t){return(0,n.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,n.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function C(t){return(0,n.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function Z(t){return(0,n.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function $(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function L(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function k(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function v(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function E(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function Q(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function w(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function P(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function S(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function _(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function q(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function B(t){return(0,n.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function N(t){return(0,n.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function T(t){return(0,n.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function x(t){return(0,n.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function z(t){return(0,n.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function O(t){return(0,n.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function D(t){return(0,n.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function F(t){return(0,n.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function H(t){return(0,n.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function W(t){return(0,n.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/8311.a2fa96fb.js b/dist/js/8311.a2fa96fb.js deleted file mode 100644 index 4fc5663..0000000 --- a/dist/js/8311.a2fa96fb.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[8311],{8311:function(t,e,r){r.r(e),r.d(e,{default:function(){return Z}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"report-classification"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},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()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("report-class-add",{ref:"reportClass",on:{successSubmit:t.successSubmit}})],1)],1)},i=[],a=r(475),o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-form-item",{attrs:{label:"报表分类名",prop:"name"}},[e("el-input",{model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1)],1)},s=[],u=r(910),c={name:"ReportClassAdd",data(){return{form:{id:"",name:""},isEdit:!1,rules:{name:[{required:!0,message:"请输入报表分类名",trigger:"blur"}]}}},methods:{init(t){t?(this.isEdit=!0,this.form.id=t,(0,u.Hg)({id:t}).then((t=>{0===t.code&&(this.form.name=t.data.name)}))):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?((0,u.a)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})),this.$emit("successSubmit")):(console.log(this.form),(0,u.m3)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})),this.$emit("successSubmit"))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},d=c,l=r(1001),f=(0,l.Z)(d,o,s,!1,null,null,null),m=f.exports;const p=[{prop:"name",label:"报表分类名"}],h=[{type:"edit",btnName:"编辑"},{type:"delete",btnName:"删除"}];var b={name:"ReportClassification",components:{ReportClassAdd:m},data(){return{formConfig:[{type:"input",label:"关键字",placeholder:"报表分类名",param:"name",width:300},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:p,tableData:[],tableBtn:h,tableH:(0,a.NC)(330),total:0,listQuery:{current:1,size:20,name:""},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,a.NC)(265)})),this.getList()},methods:{getList(){(0,u.yk)({...this.listQuery}).then((t=>{0===t.code&&t.data?(this.tableData=t.data.records,this.total=t.data.total):(this.tableData=[],this.total=0)}))},handleClick(t){"edit"===t.type?(this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.reportClass.init(t.data.id)})),this.centervisible=!0):this.$confirm('确认删除报表分类名"'+t.data.name+'"吗?',{type:"warning"}).then((()=>{(0,u.W0)({id:t.data.id}).then((()=>{this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.name=t.name,this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.reportClass.init()}))}},handleCancel(){this.$refs.reportClass.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.reportClass.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},g=b,C=(0,l.Z)(g,n,i,!1,null,null,null),Z=C.exports},910:function(t,e,r){r.d(e,{$0:function(){return E},A0:function(){return v},D0:function(){return o},ER:function(){return q},Hg:function(){return F},J_:function(){return B},Kl:function(){return L},ME:function(){return d},Or:function(){return g},P4:function(){return c},Py:function(){return l},QL:function(){return x},Qj:function(){return $},Sc:function(){return h},W0:function(){return H},WZ:function(){return p},Wj:function(){return u},Zs:function(){return i},_:function(){return _},_1:function(){return C},a:function(){return D},ag:function(){return Q},b8:function(){return b},dN:function(){return f},fZ:function(){return m},gz:function(){return Z},jF:function(){return a},kB:function(){return N},m3:function(){return O},oW:function(){return P},qT:function(){return y},sU:function(){return s},sy:function(){return S},tb:function(){return k},wy:function(){return T},xf:function(){return w},yk:function(){return z}});var n=r(8859);function i(t){return(0,n.Z)({url:"/basic/account/page",method:"post",data:t})}function a(t){return(0,n.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,n.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,n.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function l(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function f(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function p(t){return(0,n.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,n.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function C(t){return(0,n.Z)({url:"/basic/consumableConfiguration/materialAndUnit",method:"post",data:t})}function Z(t){return(0,n.Z)({url:"/basic/consumableConfiguration/specList",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function $(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function k(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function L(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function v(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function E(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function Q(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function w(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function P(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function _(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function q(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function B(t){return(0,n.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function N(t){return(0,n.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function S(t){return(0,n.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function T(t){return(0,n.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function x(t){return(0,n.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function z(t){return(0,n.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function O(t){return(0,n.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function D(t){return(0,n.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function F(t){return(0,n.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function H(t){return(0,n.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/889.bb07ee09.js b/dist/js/889.24917c8e.js similarity index 51% rename from dist/js/889.bb07ee09.js rename to dist/js/889.24917c8e.js index 249cedc..8fb65ae 100644 --- a/dist/js/889.bb07ee09.js +++ b/dist/js/889.24917c8e.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[889],{889:function(t,e,r){r.r(e),r.d(e,{default:function(){return k}});var a=function(){var t=this,e=t._self._c;return e("el-row",{staticClass:"thicknessDistributionMap",attrs:{gutter:8}},[e("el-col",{attrs:{span:10}},[e("div",{staticClass:"left-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{ref:"thicknessDistributionTable",attrs:{id:"thicknessDistributionTable1","table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"highlight-current-row":""},on:{"current-change":t.handleCurrentChange}})],1)]),e("el-col",{attrs:{span:14}},[e("div",{staticClass:"right-box"},[e("thickness-distribution-chart")],1)])],1)},s=[],n=r(475),i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"thicknessDistributionChart"},[t._m(0),t._m(1),e("div",{staticStyle:{width:"100%"},style:{height:t.chartHeight+"px"},attrs:{id:"thicknessChart"}})])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"top-table"},[e("ul",[e("li",[t._v("转换速度:32654654")]),e("li",[t._v("配方类型:G8.5-0943")]),e("li",[t._v("玻璃索引:56565")]),e("li",[t._v("等级:G1")]),e("li")]),e("ul",[e("li",{staticClass:"red-tip"},[t._v("最大值:235454")]),e("li",{staticClass:"blue-tip"},[t._v("最小值:5652356")]),e("li",{staticClass:"purple-tip"},[t._v("平均值:6856532656")]),e("li",{staticClass:"green-tip"},[t._v("厚度差:656413212")]),e("li",{staticClass:"yellow-tip"},[t._v("研磨类型:4ABC")])])])},function(){var t=this,e=t._self._c;return e("div",[e("span",{staticClass:"title"},[t._v("玻璃ID:46745386415274874")])])}],l=r(7171),u=r(5468),c={name:"thicknessDistributionChart",mixins:[u.Z],data(){return{chartDom:"",chart:"",chartHeight:(0,n.NC)(320)}},mounted(){this.chartDom=document.getElementById("thicknessChart"),this.chart=l.S1(this.chartDom),this.getChart(),window.addEventListener("resize",(()=>{this.chartHeight=(0,n.NC)(320)}))},methods:{getChart(){let t=[];for(let s=1;s<=21;s++)t.push(s);let e=[];for(let s=1;s<=7;s++)e.push(s);const r=[];for(let s=0;s{this.tableH=(0,n.NC)(350)})),this.formConfig[0].defaultSelect=[b()().format("yyyy-MM-DD")+"T00:00:00",b()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=b()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=b()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,m.dy)({...this.listQuery}).then((t=>{if(console.log(t),0===t.code&&t.data.length>0){let e=this;e.tableData=t.data,e.$nextTick((()=>{e.$refs.thicknessDistributionTable.setCurrent("thicknessDistributionTable1",0)})),e.drawGlassId=e.tableData[0].id}else this.tableData=[],this.drawGlassId=""}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.glassId=t.glassId,this.getList();break;default:(0,m.uX)(this.drawGlassId).then((t=>{console.log(t)}))}},handleCurrentChange(t){this.drawGlassId=t.newVal.id}}},D=C,v=(0,d.Z)(D,a,s,!1,null,"f61202a6",null),k=v.exports},2334:function(t,e,r){r.d(e,{AT:function(){return Z},Af:function(){return o},F0:function(){return f},ON:function(){return u},QI:function(){return i},Qd:function(){return m},YU:function(){return h},an:function(){return w},bu:function(){return T},dy:function(){return g},eT:function(){return p},fL:function(){return I},iF:function(){return c},jA:function(){return n},oR:function(){return k},pS:function(){return l},pw:function(){return d},r5:function(){return y},uW:function(){return D},uX:function(){return C},uj:function(){return v},v:function(){return s},vD:function(){return b}});var a=r(8859);function s(t){return(0,a.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function n(t){return(0,a.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function o(t){return(0,a.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function l(t){return(0,a.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function u(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function h(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function D(t){return(0,a.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function T(t){return(0,a.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function Z(t){return(0,a.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[889],{889:function(t,e,r){r.r(e),r.d(e,{default:function(){return v}});var a=function(){var t=this,e=t._self._c;return e("el-row",{staticClass:"thicknessDistributionMap",attrs:{gutter:8}},[e("el-col",{attrs:{span:10}},[e("div",{staticClass:"left-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{ref:"thicknessDistributionTable",attrs:{id:"thicknessDistributionTable1","table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"highlight-current-row":""},on:{"current-change":t.handleCurrentChange}})],1)]),e("el-col",{attrs:{span:14}},[e("div",{staticClass:"right-box"},[e("thickness-distribution-chart")],1)])],1)},n=[],s=r(475),i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"thicknessDistributionChart"},[t._m(0),t._m(1),e("div",{staticStyle:{width:"100%"},style:{height:t.chartHeight+"px"},attrs:{id:"thicknessChart"}})])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"top-table"},[e("ul",[e("li",[t._v("转换速度:32654654")]),e("li",[t._v("配方类型:G8.5-0943")]),e("li",[t._v("玻璃索引:56565")]),e("li",[t._v("等级:G1")]),e("li")]),e("ul",[e("li",{staticClass:"red-tip"},[t._v("最大值:235454")]),e("li",{staticClass:"blue-tip"},[t._v("最小值:5652356")]),e("li",{staticClass:"purple-tip"},[t._v("平均值:6856532656")]),e("li",{staticClass:"green-tip"},[t._v("厚度差:656413212")]),e("li",{staticClass:"yellow-tip"},[t._v("研磨类型:4ABC")])])])},function(){var t=this,e=t._self._c;return e("div",[e("span",{staticClass:"title"},[t._v("玻璃ID:46745386415274874")])])}],l=r(7171),u=r(5468),c={name:"thicknessDistributionChart",mixins:[u.Z],data(){return{chartDom:"",chart:"",chartHeight:(0,s.NC)(320)}},mounted(){this.chartDom=document.getElementById("thicknessChart"),this.chart=l.S1(this.chartDom),this.getChart(),window.addEventListener("resize",(()=>{this.chartHeight=(0,s.NC)(320)}))},methods:{getChart(){let t=[];for(let n=1;n<=21;n++)t.push(n);let e=[];for(let n=1;n<=7;n++)e.push(n);const r=[];for(let n=0;n{this.tableH=(0,s.NC)(350)})),this.formConfig[0].defaultSelect=[b()().format("yyyy-MM-DD")+"T00:00:00",b()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=b()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=b()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,m.dy)({...this.listQuery}).then((t=>{if(console.log(t),0===t.code&&t.data.length>0){let e=this;e.tableData=t.data,e.$nextTick((()=>{e.$refs.thicknessDistributionTable.setCurrent("thicknessDistributionTable1",0)})),e.drawGlassId=e.tableData[0].id}else this.tableData=[],this.drawGlassId=""}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.glassId=t.glassId,this.getList();break;default:(0,m.uX)(this.drawGlassId).then((t=>{console.log(t)}))}},handleCurrentChange(t){this.drawGlassId=t.newVal.id}}},D=C,T=(0,d.Z)(D,a,n,!1,null,"f61202a6",null),v=T.exports},2334:function(t,e,r){r.d(e,{AT:function(){return w},Af:function(){return o},F0:function(){return f},ON:function(){return u},QI:function(){return i},Qd:function(){return m},YU:function(){return h},an:function(){return Z},bu:function(){return k},dy:function(){return g},eT:function(){return p},fL:function(){return q},gP:function(){return _},iF:function(){return c},jA:function(){return s},kT:function(){return I},oR:function(){return v},pS:function(){return l},pw:function(){return d},r5:function(){return y},uW:function(){return D},uX:function(){return C},uj:function(){return T},v:function(){return n},vD:function(){return b}});var a=r(8859);function n(t){return(0,a.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function o(t){return(0,a.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function l(t){return(0,a.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function u(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function h(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function D(t){return(0,a.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function k(t){return(0,a.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function w(t){return(0,a.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/app.8c6c63a4.js b/dist/js/app.8ddc6159.js similarity index 96% rename from dist/js/app.8c6c63a4.js rename to dist/js/app.8ddc6159.js index c928e46..2595658 100644 --- a/dist/js/app.8c6c63a4.js +++ b/dist/js/app.8ddc6159.js @@ -1 +1 @@ -(function(){var e={4966:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=function(){var e=this,t=e._self._c;return t("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[t("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(n,i){return t("el-breadcrumb-item",{key:n.path},["noRedirect"===n.redirect||i==e.levelList.length-1?t("span",{staticClass:"isredirect"},[e._v(e._s(n.meta.title))]):t("span",{staticClass:"no-redirect"},[e._v(e._s(n.meta.title))])])})),1)],1)},o=[],s=n(4779),a=n.n(s),r={name:"BreadCrumb",data(){return{levelList:null}},watch:{$route(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},created(){this.getBreadcrumb()},methods:{getBreadcrumb(){const e=this.$route.matched.filter((e=>e.meta&&e.meta.title));this.levelList=e.filter((e=>e.meta&&e.meta.title&&!1!==e.meta.breadcrumb))},isDashboard(e){const t=e&&e.name;return!!t&&t.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile(e){const{params:t}=this.$route;var n=a().compile(e);return n(t)},handleLink(e){const{redirect:t,path:n}=e;t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},l=r,A=n(1001),c=(0,A.Z)(l,i,o,!1,null,"ef7651b6",null),d=c.exports},2610:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var i=function(){var e=this,t=e._self._c;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}})])},o=[],s=n(475),a={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal(){return(0,s.b9)(this.iconClass)},iconName(){return`#icon-${this.iconClass}`},svgClass(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon(){return{mask:`url(${this.iconClass}) no-repeat 50% 50%`,"-webkit-mask":`url(${this.iconClass}) no-repeat 50% 50%`}}}},r=a,l=n(1001),A=(0,l.Z)(r,i,o,!1,null,"60e838ce",null),c=A.exports},6700:function(e,t,n){var i={"./af":2786,"./af.js":2786,"./ar":867,"./ar-dz":4130,"./ar-dz.js":4130,"./ar-kw":6135,"./ar-kw.js":6135,"./ar-ly":6440,"./ar-ly.js":6440,"./ar-ma":7702,"./ar-ma.js":7702,"./ar-sa":6040,"./ar-sa.js":6040,"./ar-tn":7100,"./ar-tn.js":7100,"./ar.js":867,"./az":1083,"./az.js":1083,"./be":9808,"./be.js":9808,"./bg":8338,"./bg.js":8338,"./bm":7438,"./bm.js":7438,"./bn":8905,"./bn-bd":6225,"./bn-bd.js":6225,"./bn.js":8905,"./bo":1560,"./bo.js":1560,"./br":1278,"./br.js":1278,"./bs":622,"./bs.js":622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":877,"./cv.js":877,"./cy":7373,"./cy.js":7373,"./da":4780,"./da.js":4780,"./de":9740,"./de-at":217,"./de-at.js":217,"./de-ch":894,"./de-ch.js":894,"./de.js":9740,"./dv":5300,"./dv.js":5300,"./el":837,"./el.js":837,"./en-au":8348,"./en-au.js":8348,"./en-ca":7925,"./en-ca.js":7925,"./en-gb":2243,"./en-gb.js":2243,"./en-ie":6436,"./en-ie.js":6436,"./en-il":7207,"./en-il.js":7207,"./en-in":4175,"./en-in.js":4175,"./en-nz":6319,"./en-nz.js":6319,"./en-sg":1662,"./en-sg.js":1662,"./eo":2915,"./eo.js":2915,"./es":5655,"./es-do":5251,"./es-do.js":5251,"./es-mx":6112,"./es-mx.js":6112,"./es-us":3939,"./es-us.js":3939,"./es.js":5655,"./et":5603,"./et.js":5603,"./eu":7763,"./eu.js":7763,"./fa":6959,"./fa.js":6959,"./fi":1897,"./fi.js":1897,"./fil":2549,"./fil.js":2549,"./fo":4694,"./fo.js":4694,"./fr":4470,"./fr-ca":3049,"./fr-ca.js":3049,"./fr-ch":2330,"./fr-ch.js":2330,"./fr.js":4470,"./fy":5044,"./fy.js":5044,"./ga":9295,"./ga.js":9295,"./gd":2101,"./gd.js":2101,"./gl":8794,"./gl.js":8794,"./gom-deva":7884,"./gom-deva.js":7884,"./gom-latn":3168,"./gom-latn.js":3168,"./gu":5349,"./gu.js":5349,"./he":4206,"./he.js":4206,"./hi":94,"./hi.js":94,"./hr":316,"./hr.js":316,"./hu":2138,"./hu.js":2138,"./hy-am":1423,"./hy-am.js":1423,"./id":9218,"./id.js":9218,"./is":135,"./is.js":135,"./it":626,"./it-ch":150,"./it-ch.js":150,"./it.js":626,"./ja":9183,"./ja.js":9183,"./jv":4286,"./jv.js":4286,"./ka":2105,"./ka.js":2105,"./kk":7772,"./kk.js":7772,"./km":8758,"./km.js":8758,"./kn":9282,"./kn.js":9282,"./ko":3730,"./ko.js":3730,"./ku":1408,"./ku.js":1408,"./ky":3291,"./ky.js":3291,"./lb":6841,"./lb.js":6841,"./lo":5466,"./lo.js":5466,"./lt":7010,"./lt.js":7010,"./lv":7595,"./lv.js":7595,"./me":9861,"./me.js":9861,"./mi":5493,"./mi.js":5493,"./mk":5966,"./mk.js":5966,"./ml":7341,"./ml.js":7341,"./mn":5115,"./mn.js":5115,"./mr":370,"./mr.js":370,"./ms":9847,"./ms-my":1237,"./ms-my.js":1237,"./ms.js":9847,"./mt":2126,"./mt.js":2126,"./my":6165,"./my.js":6165,"./nb":4924,"./nb.js":4924,"./ne":6744,"./ne.js":6744,"./nl":3901,"./nl-be":9814,"./nl-be.js":9814,"./nl.js":3901,"./nn":3877,"./nn.js":3877,"./oc-lnc":2135,"./oc-lnc.js":2135,"./pa-in":5858,"./pa-in.js":5858,"./pl":4495,"./pl.js":4495,"./pt":9520,"./pt-br":7971,"./pt-br.js":7971,"./pt.js":9520,"./ro":6459,"./ro.js":6459,"./ru":1793,"./ru.js":1793,"./sd":950,"./sd.js":950,"./se":490,"./se.js":490,"./si":124,"./si.js":124,"./sk":4249,"./sk.js":4249,"./sl":4985,"./sl.js":4985,"./sq":1104,"./sq.js":1104,"./sr":9131,"./sr-cyrl":9915,"./sr-cyrl.js":9915,"./sr.js":9131,"./ss":5893,"./ss.js":5893,"./sv":8760,"./sv.js":8760,"./sw":1172,"./sw.js":1172,"./ta":7333,"./ta.js":7333,"./te":3110,"./te.js":3110,"./tet":2095,"./tet.js":2095,"./tg":7321,"./tg.js":7321,"./th":9041,"./th.js":9041,"./tk":9005,"./tk.js":9005,"./tl-ph":5768,"./tl-ph.js":5768,"./tlh":9444,"./tlh.js":9444,"./tr":2397,"./tr.js":2397,"./tzl":8254,"./tzl.js":8254,"./tzm":1106,"./tzm-latn":699,"./tzm-latn.js":699,"./tzm.js":1106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":7691,"./uk.js":7691,"./ur":3795,"./ur.js":3795,"./uz":6791,"./uz-latn":588,"./uz-latn.js":588,"./uz.js":6791,"./vi":5666,"./vi.js":5666,"./x-pseudo":4378,"./x-pseudo.js":4378,"./yo":5805,"./yo.js":5805,"./zh-cn":3839,"./zh-cn.js":3839,"./zh-hk":5726,"./zh-hk.js":5726,"./zh-mo":9807,"./zh-mo.js":9807,"./zh-tw":4152,"./zh-tw.js":4152};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=6700},803:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-device_edit",use:"icon-device_edit-usage",viewBox:"0 0 14 14",content:'\n icon/编辑_蓝\n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},3869:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_alarm",use:"icon-home_alarm-usage",viewBox:"0 0 32 37",content:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},3270:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_plan",use:"icon-home_plan-usage",viewBox:"0 0 32 32",content:'\n 编组 8\n \n \n \n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},1966:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_product",use:"icon-home_product-usage",viewBox:"0 0 32 32",content:'\n 编组 8\n \n \n \n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},4186:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_title1",use:"icon-home_title1-usage",viewBox:"0 0 24 24",content:'\n 编组 6\n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},2896:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_title2",use:"icon-home_title2-usage",viewBox:"0 0 24 24",content:'\n 当前位置\n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},5467:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_title3",use:"icon-home_title3-usage",viewBox:"0 0 24 24",content:'\n 列表\n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},4400:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_title4",use:"icon-home_title4-usage",viewBox:"0 0 24 24",content:'\n 信息、语音信息、提示信息-08\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},8859:function(e,t,n){"use strict";n(1703);var i=n(9669),o=n.n(i),s=n(4720),a=n(5842),r=n(1192),l=n(1836);const A=o().create({baseURL:"/api",timeout:15e3});let c=null;function d(){c=s.Loading.service({fullscreen:!1,text:"拼命加载中......",background:"rgba(0, 0, 0, 0.1)"})}function m(){c.close()}let u=0;function g(){0===u&&d(),u++}function p(){u<=0||(u--,0===u&&m())}A.interceptors.request.use((e=>(g(),a.Z.getters.token&&(e.headers["token"]=(0,l.LP)()),e.formState&&(e.headers["Content-Type"]="application/json; charset=utf-8"),e)),(e=>(p(),console.log(e),Promise.reject(e)))),A.interceptors.response.use((e=>{p();const t=e.data;return"blob"===e.config.responseType?e:(401===t.code&&(console.log("111"),s.MessageBox.confirm("登录信息失效,请重新登录","提示",{confirmButtonText:"去登录",cancelButtonText:"取消",type:"warning"}).then((()=>{a.Z.dispatch("user/logout").then((()=>{r.Z.push({path:"/login"})}))}))),0!==t.code&&401!==t.code?((0,s.Message)({message:t.msg||"Error",type:"error",duration:5e3}),Promise.reject(new Error(t.message||"Error"))):t)}),(e=>(p(),console.log("err"+e),"err"+e==="errError: timeout of 15000ms exceeded"?(0,s.Message)({message:"网络连接超时",type:"error",duration:5e3}):(0,s.Message)({message:e.message,type:"error",duration:5e3}),Promise.reject(e)))),t["Z"]=A},3123:function(e,t,n){"use strict";var i=n(144),o=n(4720),s=n.n(o),a=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},r=[],l=n(1001),A={},c=(0,l.Z)(A,a,r,!1,null,null,null),d=c.exports,m=n(1192),u=n(5842);const g=n(7886),p=e=>e.keys().map(e);p(g);var h=n(4865),f=n.n(h),C=n(1836);m.Z.beforeEach((async(e,t,n)=>{f().start();const i=(0,C.LP)();if(i)if("/login"===e.path)n(),f().done();else{let t=e.path.split("/"),i={activeModule:t[1],activeMenu:t[2]};u.Z.dispatch("menu/setActiveModule",i),n(),f().done()}else"/login"===e.path?(n(),f().done()):(n(`/login?redirect=${e.path}`),f().done())}));var w=n(9439);function L(e){return e.charAt(0).toUpperCase()+e.slice(1)}const v=n(9364);v.keys().forEach((e=>{const t=v(e);let n="";-1===e.indexOf("subcomponents")?n=L(e.substring(e.indexOf("/")+1,e.indexOf("/",2))):(n=L(e.substring(e.indexOf("/subcomponents")+15,e.indexOf(".",2))),console.log(n,"组件名")),i["default"].component(n,t.default||t)})),i["default"].config.productionTip=!1,i["default"].use(s()),i["default"].use(w.Z),new i["default"]({router:m.Z,store:u.Z,render:e=>e(d)}).$mount("#app")},1192:function(e,t,n){"use strict";n.d(t,{Z:function(){return ne},_:function(){return ee}});var i=n(144),o=n(8345),s=function(){var e=this,t=e._self._c;return t("el-container",{staticClass:"itemContainer"},[t("el-aside",{directives:[{name:"show",rawName:"v-show",value:"home"!==e.activeModule,expression:"activeModule !== 'home'"}],staticStyle:{"background-color":"rgb(238, 241, 246)"},attrs:{width:"248px"}},[t("menu-list")],1),t("el-container",{staticClass:"sectionBox"},[t("el-header",[t("navbar")],1),t("el-container",[t("div",{staticClass:"app-container"},[t("tags-view",{directives:[{name:"show",rawName:"v-show",value:"home"!==e.activeModule,expression:"activeModule !== 'home'"}]}),t("app-main",{staticClass:"app-main"})],1),t("el-footer",{attrs:{height:"30px"}},[t("div",{staticClass:"footerFont"},[e._v("©中建材智能自动化研究院有限公司")])])],1)],1)],1)},a=[],r=function(){var e=this,t=e._self._c;return t("section",[t("router-view")],1)},l=[],A={name:"AppMain"},c=A,d=n(1001),m=(0,d.Z)(c,r,l,!1,null,null,null),u=m.exports,g=function(){var e=this,t=e._self._c;return t("div",{staticClass:"menu-container"},[t("logo-vue"),t("el-menu",{attrs:{"default-active":e.activeMenu}},[e._l(e.leftMenuList,(function(n,i){return["offShelfPackaging"===n.name&&"加工人员"===e.role||"reLaunching"===n.name&&"质检人员"===e.role?e._e():t("el-menu-item",{key:n.name+i,attrs:{index:n.name},on:{click:function(t){return e.toggleMenu(n)}}},[t("i",{staticClass:"el-icon-s-operation"}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(n.meta.title))])])]}))],2)],1)},p=[],h={navbarHeight:"60px",menuWidth:"160px",footerHeight:"30px"},f=function(){var e=this;e._self._c;return e._m(0)},C=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"logo-box"},[t("img",{staticClass:"logo-img",attrs:{src:n(6949),alt:"中建材"}}),t("div",{staticClass:"title"},[t("p",[e._v("G8.5 TFT-LCD")]),t("p",[e._v("玻璃基板后工程段制造执行系统")])])])}],w={name:"LogoVue"},L=w,v=(0,d.Z)(L,f,C,!1,null,"8402ed2e",null),b=v.exports,B={name:"MenuList",computed:{variables(){return h},leftMenuList(){return this.$store.state.menu.leftMenuList},activeModule(){return this.$store.state.menu.activeModule},activeMenu:{get:function(){return this.$store.getters.activeMenu},set:function(){}},role(){return this.$store.getters.roles}},components:{LogoVue:b},mounted(){},methods:{toggleMenu(e){this.$store.dispatch("menu/setActiveMenu",e.name)}},watch:{activeModule:function(e,t){console.log(e),console.log(t)},activeMenu:function(e){this.$router.push({name:e})}}},M=B,V=(0,d.Z)(M,g,p,!1,null,"27f2221e",null),k=V.exports,x=function(){var e=this,t=e._self._c;return t("div",{staticClass:"navbar-container"},[t("div",{directives:[{name:"show",rawName:"v-show",value:"home"===e.activeModule,expression:"activeModule === 'home'"}],staticClass:"logo-box"},[t("img",{staticClass:"logo-img",attrs:{src:n(6949),alt:"中建材"}}),t("span",{staticClass:"title"},[e._v("G8.5 TFT-LCD 玻璃基板后工程段制造执行系统")])]),t("breadcrumb",{directives:[{name:"show",rawName:"v-show",value:"home"!==e.activeModule,expression:"activeModule !== 'home'"}]}),t("div",{staticClass:"fr"},[t("div",{staticClass:"fr avatar-area"},[t("el-dropdown",[t("div",{staticStyle:{cursor:"pointer"}},[t("img",{attrs:{src:n(4480),alt:""}}),t("p",[e._v(e._s(e.userName))])]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{nativeOn:{click:function(t){return e.logout.apply(null,arguments)}}},[e._v("退出")])],1)],1)],1),t("div",{staticClass:"top-time fr"},[t("p",[e._v(e._s(e.topDate))]),t("p",[e._v(e._s(e.topTime))])]),t("ul",{staticClass:"topMenu-box"},e._l(e.topModuleList,(function(i,o){return t("li",{key:o,on:{click:function(t){return e.toggleModule(i)}}},[t("div",{staticClass:"icon"},[t("img",{attrs:{src:n(4457)("./"+i.name+".png"),alt:i.label}})]),t("span",{staticClass:"module",class:{active:e.activeModule===i.name}},[e._v(e._s(i.label))])])})),0)])],1)},Q=[],S=n(629),D=n(381),E=n.n(D),y={name:"NavbarPage",data(){return{topDate:"",topTime:"",timer:"",userName:this.$store.getters.username}},computed:{...(0,S.Se)(["topModuleList"]),activeModule:{get:function(){return this.$store.getters.activeModule},set:function(){}}},mounted(){this.$store.dispatch("menu/getTopModuleList"),this.getTime()},beforeDestroy(){clearInterval(this.timer)},methods:{getTime(){let e=this;this.timer=setInterval((function(){e.topDate=E()().format("YYYY.MM.DD"),e.topTime=E()().format("HH : mm : ss")}),1e3)},toggleModule(e){const t={activeModule:e.name,activeMenu:""};this.$store.dispatch("menu/setActiveModule",t)},logout(){this.$store.dispatch("user/logout").then((()=>{this.$router.push({path:"/login"})}))}}},j=y,G=(0,d.Z)(j,x,Q,!1,null,null,null),I=G.exports,R=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tags-view-container"},[t("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper"},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}}},[e._v(" "+e._s(n.title)+" "),t("span",{staticClass:"el-icon-close",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.closeSelectedTag(n)}}})])})),1)],1)},P=[],U=function(){var e=this,t=e._self._c;return t("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll.apply(null,arguments)}}},[e._t("default")],2)},K=[];const O=4;var T={name:"ScrollPane",data(){return{left:0}},computed:{scrollWrapper(){return this.$refs.scrollContainer.$refs.wrap}},mounted(){this.scrollWrapper.addEventListener("scroll",this.emitScroll,!0)},beforeDestroy(){this.scrollWrapper.removeEventListener("scroll",this.emitScroll)},methods:{handleScroll(e){const t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},emitScroll(){this.$emit("scroll")},moveToTarget(e){const t=this.$refs.scrollContainer.$el,n=t.offsetWidth,i=this.scrollWrapper,o=this.$parent.$refs.tag;let s=null,a=null;if(o.length>0&&(s=o[0],a=o[o.length-1]),s===e)i.scrollLeft=0;else if(a===e)i.scrollLeft=i.scrollWidth-n;else{const t=o.findIndex((t=>t===e)),s=o[t-1],a=o[t+1],r=a.$el.offsetLeft+a.$el.offsetWidth+O,l=s.$el.offsetLeft-O;r>i.scrollLeft+n?i.scrollLeft=r-n:l{for(const t of e)if(t.to.path===this.$route.path){this.$refs.scrollPane.moveToTarget(t),t.to.fullPath!==this.$route.fullPath&&this.$store.dispatch("tagsView/updateVisitedView",this.$route);break}}))},closeSelectedTag(e){this.$store.dispatch("tagsView/delView",e).then((({visitedViews:t})=>{this.isActive(e)&&this.toLastView(t,e)}))}}},z=q,Z=(0,d.Z)(z,R,P,!1,null,"291d2ee4",null),N=Z.exports,J={name:"LayoutPage",data(){return{sHome:!0}},computed:{...(0,S.Se)(["activeModule"])},components:{AppMain:u,MenuList:k,Navbar:I,TagsView:N}},W=J,X=(0,d.Z)(W,s,a,!1,null,"186010b6",null),_=X.exports;i["default"].use(o.Z);const $=o.Z.prototype.push;o.Z.prototype.push=function(e){return $.call(this,e).catch((e=>e))};const ee=[{path:"/login",name:"login",hidden:!0,meta:{title:"登录"},component:()=>n.e(2162).then(n.bind(n,2162))},{path:"/home",component:_,name:"home",meta:{title:"首页"},children:[{path:"index",name:"index",meta:{title:"产线状态"},component:()=>Promise.all([n.e(8750),n.e(7572)]).then(n.bind(n,7572))}]},{path:"/siteMonitoring",component:_,name:"siteMonitoring",meta:{title:"现场监控"},children:[{path:"productionLineStatus",name:"productionLineStatus",meta:{title:"产线状态"},component:()=>n.e(551).then(n.bind(n,551))},{path:"deviceStatus",name:"deviceStatus",meta:{title:"设备状态"},component:()=>n.e(6389).then(n.bind(n,6389))}]},{path:"/productionScheduling",component:_,name:"productionScheduling",meta:{title:"生产调度"},children:[{path:"workOrderProgress",name:"workOrderProgress",meta:{title:"工单进度"},component:()=>Promise.all([n.e(8750),n.e(8995)]).then(n.bind(n,8995))},{path:"workOrderManagement",name:"workOrderManagement",meta:{title:"工单管理"},component:()=>n.e(6781).then(n.bind(n,6781))},{path:"generateReports",name:"generateReports",meta:{title:"生产报表"},component:()=>n.e(868).then(n.bind(n,868)),redirect:"/productionScheduling/generateReports/productionReport",children:[{path:"productionReport",name:"productionReport",meta:{title:"生产报表"},component:()=>n.e(7364).then(n.bind(n,7364))},{path:"substrateGlassQuality",name:"substrateGlassQuality",meta:{title:"基板玻璃品质"},component:()=>n.e(2801).then(n.bind(n,2801))},{path:"thicknessDetection",name:"thicknessDetection",meta:{title:"厚度检测"},component:()=>n.e(4093).then(n.bind(n,4093))}]},{path:"productionData",name:"productionData",meta:{title:"生产数据"},component:()=>n.e(6354).then(n.bind(n,6354))},{path:"offShelfPackaging",name:"offShelfPackaging",meta:{title:"下架包装"},component:()=>n.e(9796).then(n.bind(n,9796))},{path:"reLaunching",name:"reLaunching",meta:{title:"复投上架"},component:()=>n.e(9705).then(n.bind(n,9705))}]},{path:"/deviceManagement",component:_,name:"deviceManagement",meta:{title:"设备管理"},children:[{path:"performanceAnalysis",name:"performanceAnalysis",meta:{title:"绩效分析"},component:()=>n.e(7378).then(n.bind(n,7378)),redirect:"/deviceManagement/performanceAnalysis/devicePage",children:[{path:"devicePage",name:"devicePage",meta:{title:"设备OEE"},component:()=>Promise.all([n.e(8750),n.e(3101)]).then(n.bind(n,3101))},{path:"utilizationRateAnalysis",name:"utilizationRateAnalysis",meta:{title:"利用率分析"},component:()=>Promise.all([n.e(8750),n.e(4344)]).then(n.bind(n,4344))},{path:"mtbrf",name:"mtbrf",meta:{title:"MTBR-F"},component:()=>Promise.all([n.e(8750),n.e(5323)]).then(n.bind(n,5323))},{path:"analysisOfPallet",name:"analysisOfPallet",meta:{title:"托盘指标分析"},component:()=>Promise.all([n.e(8750),n.e(5067)]).then(n.bind(n,5067))}]},{path:"spareParts",name:"spareParts",meta:{title:"备品备件"},component:()=>n.e(1082).then(n.bind(n,1082)),redirect:"/deviceManagement/spareParts/sparePartsStock",children:[{path:"sparePartsStock",name:"sparePartsStock",meta:{title:"备件库存"},component:()=>n.e(6746).then(n.bind(n,6746))},{path:"sparePartsRecord",name:"sparePartsRecord",meta:{title:"备件记录"},component:()=>n.e(919).then(n.bind(n,919))}]},{path:"maintenanceManagement",name:"maintenanceManagement",meta:{title:"维护管理"},component:()=>n.e(2765).then(n.bind(n,2765)),redirect:"/deviceManagement/maintenanceManagement/plannedMaintenance",children:[{path:"plannedMaintenance",name:"plannedMaintenance",meta:{title:"计划维护"},component:()=>n.e(2948).then(n.bind(n,2948))},{path:"selfMaintenance",name:"selfMaintenance",meta:{title:"自主维护"},component:()=>n.e(1456).then(n.bind(n,1456))}]},{path:"alarmInformation",name:"alarmInformation",meta:{title:"报警信息"},component:()=>n.e(1738).then(n.bind(n,9460)),redirect:"/deviceManagement/alarmInformation/realTimeAlarm",children:[{path:"realTimeAlarm",name:"realTimeAlarm",meta:{title:"实时报警"},component:()=>n.e(2792).then(n.bind(n,2792))},{path:"historyAlarm",name:"historyAlarm",meta:{title:"历史报警"},component:()=>n.e(4362).then(n.bind(n,4362))}]}]},{path:"/consumablesManagement",component:_,name:"consumablesManagement",meta:{title:"耗材管理"},children:[{path:"inAndOutManagement",name:"inAndOutManagement",meta:{title:"出入库管理"},component:()=>n.e(8865).then(n.bind(n,8865))},{path:"inAndOutRecords",name:"inAndOutRecords",meta:{title:"出入库记录"},component:()=>n.e(2033).then(n.bind(n,2033))},{path:"materialTracking",name:"materialTracking",meta:{title:"在线耗材跟踪"},component:()=>n.e(2312).then(n.bind(n,9568))}]},{path:"/processManagement",component:_,name:"processManagement",meta:{title:"工艺管理"},children:[{path:"processMonitoring",name:"processMonitoring",meta:{title:"工艺监测"},component:()=>Promise.all([n.e(8750),n.e(4750)]).then(n.bind(n,4750))},{path:"abnormalAlert",name:"abnormalAlert",meta:{title:"异常警示"},component:()=>n.e(9881).then(n.bind(n,9881))},{path:"processConfiguration",name:"processConfiguration",meta:{title:"工艺配置"},component:()=>n.e(9809).then(n.bind(n,9809))}]},{path:"/qualityManagement",component:_,name:"qualityManagement",meta:{title:"质量管理"},children:[{path:"processSampling",name:"processSampling",meta:{title:"过程抽检"},component:()=>n.e(640).then(n.bind(n,640))},{path:"processFullInspection",name:"processFullInspection",meta:{title:"过程全检"},component:()=>n.e(3790).then(n.bind(n,3790)),redirect:"/qualityManagement/processFullInspection/fullInspection",children:[{path:"fullInspection",name:"fullInspection",meta:{title:"过程全检"},component:()=>n.e(5096).then(n.bind(n,5096))},{path:"fullInspectionDetail",name:"fullInspectionDetail",meta:{title:"全检详情"},component:()=>n.e(3899).then(n.bind(n,3899))},{path:"defectScatterPlot",name:"defectScatterPlot",meta:{title:"缺陷散点图"},component:()=>Promise.all([n.e(8750),n.e(4112)]).then(n.bind(n,4112))},{path:"particleLineChart",name:"particleLineChart",meta:{title:"颗粒折线图"},component:()=>Promise.all([n.e(8750),n.e(3813)]).then(n.bind(n,3813))},{path:"thicknessDistributionMap",name:"thicknessDistributionMap",meta:{title:"厚度分布图"},component:()=>Promise.all([n.e(8750),n.e(889)]).then(n.bind(n,889))}]},{path:"productTraceability",name:"productTraceability",meta:{title:"产品追溯"},component:()=>n.e(7802).then(n.bind(n,7802))},{path:"finalInspectionData",name:"finalInspectionData",meta:{title:"终检数据"},component:()=>n.e(4941).then(n.bind(n,4941))},{path:"finalInspectionDailyReport",name:"finalInspectionDailyReport",meta:{title:"终检日报表"},component:()=>n.e(4591).then(n.bind(n,4591))}]},{path:"/basicConfig",component:_,name:"basicConfig",meta:{title:"基础配置"},children:[{path:"accountConfig",name:"accountConfig",meta:{title:"账号配置"},component:()=>n.e(1487).then(n.bind(n,1487))},{path:"sparePartsConfig",name:"sparePartsConfig",meta:{title:"备件配置"},component:()=>n.e(698).then(n.bind(n,698))},{path:"consumablesConfig",name:"consumablesConfig",meta:{title:"耗材配置"},component:()=>n.e(4337).then(n.bind(n,4337))},{path:"lineSideLibraryConfig",name:"lineSideLibraryConfig",meta:{title:"线边库配置"},component:()=>n.e(2413).then(n.bind(n,2413))},{path:"deviceConfig",name:"deviceConfig",meta:{title:"设备配置"},component:()=>n.e(4329).then(n.bind(n,4329))},{path:"reportManagement",name:"reportManagement",meta:{title:"报表管理"},component:()=>n.e(7552).then(n.bind(n,7552)),redirect:"/basicConfig/reportManagement/reportList",children:[{path:"reportList",name:"reportList",meta:{title:"报表列表"},component:()=>n.e(2949).then(n.bind(n,2949))},{path:"reportListDetail",name:"reportListDetail",hidden:!0,meta:{title:"报表列表明细"},component:()=>n.e(5286).then(n.bind(n,5286))},{path:"reportView",name:"reportView",meta:{title:"报表预览"},component:()=>n.e(3366).then(n.bind(n,3366))},{path:"reportDesign",name:"reportDesign",meta:{title:"报表设计"},component:()=>n.e(4238).then(n.bind(n,4238))},{path:"reportClassification",name:"reportClassification",meta:{title:"报表分类"},component:()=>n.e(8311).then(n.bind(n,8311))}]}]},{path:"*",redirect:"/home/index",hidden:!0}],te=new o.Z({mode:"hash",base:"/",routes:ee});var ne=te},5842:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(144),o=n(629);const s={topModuleList:e=>e.menu.topModuleList,leftMenuList:e=>e.menu.leftMenuList,activeModule:e=>e.menu.activeModule,activeMenu:e=>e.menu.activeMenu,token:e=>e.user.token,visitedViews:e=>e.tagsView.visitedViews,cachedViews:e=>e.tagsView.cachedViews,username:e=>e.user.username,roles:e=>e.user.roles};var a=s;i["default"].use(o.ZP);const r=n(2645),l=r.keys().reduce(((e,t)=>{const n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),i=r(t);return e[n]=i.default,e}),{}),A=new o.ZP.Store({modules:l,getters:a});var c=A},1811:function(e,t,n){"use strict";n.r(t);var i=n(1192);const o={topModuleList:sessionStorage.getItem("topModuleList")&&"undefined"!==sessionStorage.getItem("topModuleList")?JSON.parse(sessionStorage.getItem("topModuleList")):[],leftMenuList:sessionStorage.getItem("leftMenuList")&&"undefined"!==sessionStorage.getItem("leftMenuList")?JSON.parse(sessionStorage.getItem("leftMenuList")):[],activeModule:sessionStorage.getItem("activeModule"),activeMenu:sessionStorage.getItem("activeMenu")},s={SET_TOPMODULE:(e,t)=>{e.topModuleList=t,sessionStorage.setItem("topModuleList",JSON.stringify(t))},SET_LEFTMENU:(e,t)=>{e.leftMenuList=t,sessionStorage.setItem("leftMenuList",JSON.stringify(t))},SET_ACTIVEMODULE:(e,t)=>{e.activeModule=t,sessionStorage.setItem("activeModule",t)},SET_ACTIVEMENU:(e,t)=>{e.activeMenu=t||(e.leftMenuList[0]?e.leftMenuList[0].name:""),sessionStorage.setItem("activeMenu",e.activeMenu)}},a={getTopModuleList({commit:e}){let t=[];i._&&i._.map((e=>{if(e.hidden)return!0;let n={};n.name=e.name,n.label=e.meta.title,t.push(n)})),e("SET_TOPMODULE",t)},setActiveModule({commit:e,dispatch:t},n){const{activeModule:i}=n;t("getLeftMenuList",n),e("SET_ACTIVEMODULE",i)},getLeftMenuList({commit:e,dispatch:t},n){const{activeModule:o,activeMenu:s}=n;let a=[];for(let r=0;r{e.visitedViews.some((e=>e.path===t.path))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:(e,t)=>{e.cachedViews.includes(t.name)||t.meta.noCache||e.cachedViews.push(t.name)},DEL_VISITED_VIEW:(e,t)=>{for(const[n,i]of e.visitedViews.entries())if(i.path===t.path){e.visitedViews.splice(n,1);break}},DEL_CACHED_VIEW:(e,t)=>{const n=e.cachedViews.indexOf(t.name);n>-1&&e.cachedViews.splice(n,1)}},s={addView({dispatch:e},t){e("addVisitedView",t),e("addCachedView",t)},addVisitedView({commit:e},t){e("ADD_VISITED_VIEW",t)},addCachedView({commit:e},t){e("ADD_CACHED_VIEW",t)},delView({dispatch:e,state:t},n){return new Promise((i=>{e("delVisitedView",n),e("delCachedView",n),i({visitedViews:[...t.visitedViews],cachedViews:[...t.cachedViews]})}))},delVisitedView({commit:e,state:t},n){return new Promise((i=>{e("DEL_VISITED_VIEW",n),i([...t.visitedViews])}))},delCachedView({commit:e,state:t},n){return new Promise((i=>{e("DEL_CACHED_VIEW",n),i([...t.cachedViews])}))}};t["default"]={namespaced:!0,state:i,mutations:o,actions:s}},9535:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=n(8859);function o(e){const t=Object.assign(e,{appType:1,userType:1});return(0,i.Z)({url:"/passport/login",method:"post",data:t})}function s(){return(0,i.Z)({url:"/passport/getLoginUser",method:"post"})}var a=n(1836),r=n(4858);const l={token:(0,a.LP)(),name:"",avatar:"",introduction:"",roles:JSON.parse(localStorage.getItem("roles")),menus:[],username:r.Z.get("username")||""},A={SET_TOKEN:(e,t)=>{e.token=t},SET_USERNAME:(e,t)=>{e.username=t},SET_INTRODUCTION:(e,t)=>{e.introduction=t},SET_NAME:(e,t)=>{e.name=t},SET_AVATAR:(e,t)=>{e.avatar=t},SET_MENUS:(e,t)=>{e.menus=t},SET_ROLES:(e,t)=>{e.roles=t}},c={login({commit:e},t){const{mobile:n,password:i}=t;return new Promise(((t,s)=>{o({mobile:n.trim(),password:i}).then((n=>{if(console.log(n),0===n.code){const{token:i,name:o}=n.data;e("SET_TOKEN",i),e("SET_USERNAME",o),r.Z.set("username",o),(0,a.o4)(i),t()}else s(n)})).catch((e=>{s(e)}))}))},getInfo({commit:e}){return new Promise(((t,n)=>{s().then((i=>{console.log(i);const{data:o}=i;o||n("获取用户信息失败,重新登录");const{role:s}=o;e("SET_ROLES",s||""),localStorage.setItem("roles",JSON.stringify(s)),t(o)})).catch((e=>{n(e)}))}))},logout(){return new Promise((e=>{(0,a.gy)(),e()}))}};var d={namespaced:!0,state:l,mutations:A,actions:c}},1836:function(e,t,n){"use strict";n.d(t,{LP:function(){return s},gy:function(){return r},o4:function(){return a}});var i=n(4858);const o="Admin-Token";function s(){return i.Z.get(o)}function a(e){return i.Z.set(o,e)}function r(){return i.Z.remove(o)}},475:function(e,t,n){"use strict";n.d(t,{oJ:function(){return c},b9:function(){return d},fW:function(){return A},NC:function(){return a},g6:function(){return r}});var i=n(381),o=n.n(i),s={packageState:[{dataCode:0,dataName:"包装中"},{dataCode:1,dataName:"复投中"},{dataCode:2,dataName:"已下架"}]};function a(e){return window.innerHeight-e}function r(e){return e?o()(e).format("YYYY-MM-DD HH:mm:ss"):"-"}const l=JSON.parse(localStorage.getItem("publicList"));function A(e){return function(t){const n={},i=l?.[e];return i.map((e=>{n[e.dataCode]=e.dataName})),n?.[t]}}function c(e){return function(t){const n={},i=s?.[e];return i.map((e=>{n[e.dataCode]=e.dataName})),n?.[t]}}function d(e){return/^(https?:|mailto:|tel:)/.test(e)}},4457:function(e,t,n){var i={"./avatar.png":4480,"./basicConfig.png":9504,"./consumablesManagement.png":8011,"./deviceManagement.png":4489,"./home.png":1056,"./processManagement.png":9198,"./productionScheduling.png":9353,"./qualityManagement.png":336,"./siteMonitoring.png":1714};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=4457},9364:function(e,t,n){var i={"./Breadcrumb/index.vue":4966,"./SvgIcon/index.vue":2610};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=9364},7886:function(e,t,n){var i={"./device_edit.svg":803,"./home_alarm.svg":3869,"./home_plan.svg":3270,"./home_product.svg":1966,"./home_title1.svg":4186,"./home_title2.svg":2896,"./home_title3.svg":5467,"./home_title4.svg":4400};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=7886},2645:function(e,t,n){var i={"./menu.js":1811,"./tagsView.js":6941,"./user.js":9535};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=2645},4480:function(e,t,n){"use strict";e.exports=n.p+"img/avatar.7d43196d.png"},9504:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAAGVn0euAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAAQzElEQVR4Ae0dCXQURfb3TDI5CUm4QQhgODQG5VhF1JVVFMQDlCsIi4q4Ki7C6kNUXDbKc/HAfaLwUHQX8ORSEUEILHLoyuUuch9yakgEDCF3Mlfv/z3pnj6qe7pnMpMAU+9NuurXv+rXXf2rAxDuwIkCknJ4XozrPSsWcVyMOrP8Uz8keaQ/LsZsYkT+bN1/kZCUE4v5CgJH9U8Cv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j/Jfcppqu6qxenBNargraERbxu7kvdX8HzH2N4dOsyXxuloReE1cvRSA3XOY19auV+mqqo2qmslHi3xVzcgKZYPsatLlMPXCL8icj6H8G6T0I4JHDo+KHg92chrck9VZqeUyo5NLaH58X7iQD5PJM4lvziqgzBMgvq9V9RSErzznVra2q4PRJ+SvlwLQKLB7qI8VNXNWC1LeflseLzfuxA6ZaoYKXa7hlVbSvW0IGHYeVWvr/H/wtLtPjZOrWx7uR3UyGJDdsWAn507lMuVVVHMW9jWZFfs44jlgGElRPZHhIkAfy1FTV68FYCRO/jVSarSD9x6EqpkM1kJVzYhKkFuIhMGje3OGHGH+Lmv7s1eq6/uizqTTzSzfzbuVOfSpOrks+ctF6BVUT5XODopKNJappt+XlQDCiaWaKT/EmrpXnxFrMD7bFfBkU81ktKQet2BAD3WHSy6dkFmzok6kdQWpE0nry2jCoWVnju1baKhq9Z2IACLUpVotXwzkVAfO9sqjAfIPGxS1JcPJLJ4S5/xNcZ+cymR19sPJzr26X+WiGs/my6ippp2pln9tvhMQAM+4XyLny8jnxR63gUN6xclQU+YPUuOlw63MbKc8se7OqLvix8+ruAXgqNi9ozKjeY9YV7TUBZEBq4MdZhflqYv8EsqDLVJ4FW+aoOWo6EkyKs8V5l1ciAwvx3FpZ8oB4Y3CI/LKFMAkMO4WoKSldLOLOMwQx7G8z9qQN25Q+16OJmkqFTX75XRehrY2P9dWyBvdJcCPxASg50APM1SufbtkPUNwYS5ff9wq6PIlsX6XPG4BBDjUrt+k1J/SJcKruAVgg/VP1PVphRNLzuSRwqtYcFXxcQvg2PJRB1zWPBfTce0w7SJwYLXwSHgVIT4s2BIWEmdA15HzHYVuaw+/338l/IG4BRkn+ssDzGrxW63WUw1c/i07F4xKq+jLQ2rpUqY5kOZAmgNpDqQ5oHLgn4cc8L+0q4tNAAAAAElFTkSuQmCC"},4489:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGMAAABgCAYAAAF+qPytAAAAAXNSR0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rK7LZ7BzIGtKO9GRaaZW6ltV1/ez0huyho12roiG60vwXyRtZILJAZIHIAlPbAv8HLGfzgNUDg+8AAAAASUVORK5CYII="},9198:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAAGVn0euAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAASG0lEQVR4Ae1dCZhU1ZX+a+2lunpjp2VvZJNGbAUGcAmQRCVEQGiW0THGSZx8aiCOEiQk04nOZxh0guGbqCjRRAUEZFFkFwGJiIB8QBMEWgRZuoGm9+6qrnXOea9fdS23ql9t3TTU+b567757z73n3HP3c8+9BcQbNAoB03S3W3EHe9et0Gi0/oG1ywH+BYOACN6I598MjBwQYXeRHTUWOVqKwekdX3Lr/X2WrjuBNUX9kV6xGr0mANXZ031QAjJ9fokNmWYj0mb44EkfnOkACgOnrJEx/VJWogdE8GdBQVTengjp5SsUv6DvuqAhrRogiVVNPWIug9alUFkIqBqVXqIQVcKACAatw0OAI6dVbfB8s8NTDopveS2glEm3x6bAnfEjJUh6B0QY/tDqgArnHSOApbHDuniHB7ilCAoLHLq2+O4AJPZQcDwsKR5C7Gva09NCmcu0Ge6d1DmJMx1GNrp0QHLxYk0DR/EphVgkzomWXIGV3ww+BGSvpmdaMnDu9QapxETVtgkzuCskgVriY/ysbTizYSq6/tC3R2GCXDPGdt6Ok/8XnICnGgVDefU3d+PJBftQ8INeWPSfvlgaKsH9/yzDzU/4+nt/+RSyqN9QRMOdf5efekcN7ea+hTFCikhJYs9xwJyifIX3blZEogElHBI+BGLZnJV+00dEj4+crguHu2C4JVtn+JRtMLyEf8tIwKcwRA0tEjaURsZxPbXIPMP9ciSJNRfHQ4C6amNzyJGEewiIIs+dLM9SuT/q0UGE0byfpyXr7CWjHAbfIX/+VHi66Ytbpgvnoc2R8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95fhQGNEy/MyItO/OmmtuIQu8+nrJRnvP7UqoDm5Wfks0Sq6lnnYFQux8iOa7nSForCyQ6lXfoK2BWbPW48R0xbnTfnMjoRYcvGo8ubV0/MeECkeSVPBkQjI9JVuglsvrzWp1fM3RJEvcMujtGDiQENOqKIKxw8dgsbmCPbVbUMg+j+lrOtve8kYJEI0PHkcEjQUypJuP9tDep4bQOU9Qct7BOnXFdpLxyIaHga6AJdsQp9HywlEG7ZhB/046F9OcRoG2ulG9iSOrvpHyiNvBhApLHlXOd0Ew5fzh6K7EKAr74OJFuojIdqNLEvuz8QN3/OKsBzeeT1qAE11dHAbDQ+lcYl+R1nQ9/Q0ovN9J35wpgHnunJsgHDkky08TvshjQZIR0ldpQFTix0boCB6oLG84Q062dqn1vWfJg2wbpI6Il2ZiiyT7t4BZN2SpjUKMpo2xgN9afVK0zV2vjkaA00epEQHTRwakrM4TQUu9OHOABoFipAxgvGDvMXuhyw04HgIyoKGX9VGA44NQOtX2qnxgxMNuNGVYwMEEXiGxnp/wElnAdJRUlfp4LrKHRtg14prPy8NlLObAHnY+MFCA++xjlhXFuXdsjOevoy8ZmG4sTVweiKROBYJ2bEhu3FwOGcEpEQgENhbUZrYuHXRtf4QfTjb0ufd14CvAV8DvgaOPg38H2oK84p0sURaAAAAAElFTkSuQmCC"},336:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAAGVn0euAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAAQiUlEQVR4Ae0dCXQURfbPhGSSkItbwimEW44g4gqCFwiyKIhIgoI+d0WUJ4LyEB7ikvUEXRCe+BBBn4IHyi2KIAILrmiAlUOOIAEjBBAI5CDHZJKZ2f9r6J7p7upjZjoMrF3vTbrq169/1dHVVfUrADUdbAKD2plerxBXe5Yts9nsvM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s9+EVMcZk93ePxNAKP13BFyulc02m7zWO3288m1/bsObh8hDVEX9OVaQlvWcCygGUBywJ/Ogv8D1iz8/nKGmiLAAAAAElFTkSuQmCC"},1714:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAAGVn0euAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAAPtklEQVR4Ae0dCXQURfbPhJmckwORQ1h8KIgaFgXBKD4WQQVUZBdxISDoc3nuqisiuIq6HkF9rChkQVxvZD0WUASRS4JCBBUWueQSVFwUw5EQAslkJjOZo/f/7ume7pnqme7MkQl0vTfpql+//llV3V39qwKQ6GQSGWQXc5yYV7s6FplMZlZl/UIWVICFNSDkOQv3qbcQa2rsHEe/tZsrOBKPEl3HzxbgVEe4rcQGhSMX8dm61sX89Z7pm/DaD/55pwsKRy4T0SCi0iRezhg/IguSqyotkjtvCHFVqqksiZiBqyieHCzpkFsj6CCvDM07QgGpUebNqqUfkbhMs0bqR9QozKxPv7YDIjXizfrrm9QWoCCHPNsb/P7tWLqCh4l1VGiNlud16DB4oTQWRGeJXARv823h2NoxJlWlh3RaD8/d1xv6Pp4vYONfUlq1gYQly0hW0tItRBxdfUnGLIWyvJFEeXLGcF/gSB8glpt67XAuZByca3JTe0VPigdxInrsBLjoSknBQAAp/5pRR+pUYsdS1kYvSV5WQ61bACD21vqyYuz6aphsuMIHmw4obw8etx2KH14F4vCgvncUmeSPA/D6BIKk2aYDQl7o9kK+38VCScFAy7whMml/F8Dx+YJ2ogByHWjUUDmqD+SNKE/EyGSRiMvb6NZA3jhSXtRA4WRxfEdqqLVOvIUoTPSXfsVpWglEwqN5MVK9UZdcCyicoWWgaRFP7KKEK/Ui2xhulpbGenEkBjgLWdUa52So1USHSwzUUHMzhTlHrT4aXGKQ5jl2DQv56NsAew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RDMCIZoRCNGMQIhmBEI0gwuJK0xScKZemHiY1mzqUxThYgBLHO7zQOAzGnMBPOdwn8WC4rbDNjaSWVajQaEUp9wBsB7ALY/hLAVwHsB89VmwRXrhuGwf0q/xIl/z6f6105qVyxIKQ1cZjdlV/HI79V6N1yjk/dxlAMtc7LuM9lXZVzqhIXdxtvxR1kCxZUynkbl0o2ihgyQspH3mapqn7flrSE427O3TuKbwGZI/AlhuY9vltO08Belyw6T99lTnIQN2VmGeJqppskGhpfoW0DbVmuahaarVVQudGPZo3tH/RCOnfJbSbzp34D1T/VjsTL3X6esWFMJngJwDsCgnykX0P+mzQ1yyq9jqqtnzkGI0a7wgPz9pfJm+/6ZxB77bzus+7L7pkwdkarr8OBdwJee7jjQVaqZysVtDsuwK3j3lmGYnb5hwerW3S+PRl440OX3dh5vL7z0iXzXqY/bYbaZycXs/5KDdV/iUKc1URo7xcoOqq0yfui1Gq5e3EoUava1qzS/aJQGs8xKIj2jx+gCoVyGcoUBKGs8yIEgIAiliZEDwJAehL3ovIYS+2F9UDckyRH/fFhmoxuwTvdaJaCGc7+gyi9+br1YZSzTJEAIaffHrZG/JCFwDpK16JEsI5yK9uMdvzVe7zAUxZQrhXKKBwxqZkSikQ8aiZbnIFgKS4oea0i5bBhQJgQ+kKJEBhUJAUkqxo+cduJqVrQH8B6xBgBhvJFNDAAAAAElFTkSuQmCC"}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var s=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(s.exports,s,s.exports,n),s.loaded=!0,s.exports}n.m=e,function(){var e=[];n.O=function(t,i,o,s){if(!i){var a=1/0;for(c=0;c=s)&&Object.keys(n.O).every((function(e){return n.O[e](i[l])}))?i.splice(l--,1):(r=!1,s0&&e[c-1][2]>s;c--)e[c]=e[c-1];e[c]=[i,o,s]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,i){return n.f[i](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{551:"a20e6180",640:"fef43f27",698:"9c53c5c7",868:"2820c60e",889:"bb07ee09",919:"4ed474aa",1082:"a5699b5a",1456:"ae21a94b",1487:"07bf8c47",1738:"9f169ad3",2033:"e713058b",2162:"d4c19cb6",2312:"895c96ce",2413:"d31f52c3",2765:"4d18b560",2792:"29278c33",2801:"7cc1950e",2948:"3c5a6a87",2949:"2b4c9508",3101:"d040dc0a",3366:"fddfab50",3790:"3a99ab78",3813:"ab202fcc",3899:"665c3a49",4093:"94763922",4112:"b247d5bc",4238:"ef96ed59",4329:"012a1ef3",4337:"9eaffe06",4344:"788bebe9",4362:"954ff80f",4591:"fd241a34",4750:"10fe98ea",4941:"49331b44",5067:"beaa119f",5096:"25cdde84",5286:"1c513d99",5323:"90b7d9c4",6354:"04b01f2e",6389:"09106c34",6746:"c7b86dac",6781:"1b52db89",7364:"63902e51",7378:"45fc1dd5",7552:"caf1693c",7572:"13f4b99b",7802:"1470f15e",8311:"a2fa96fb",8750:"b8e81c1b",8865:"2cded0bb",8995:"16c3f5b4",9705:"2f82f16f",9796:"d66f9ab1",9809:"1735a343",9881:"b110795d"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{551:"aacf299b",640:"056a6a05",868:"775f6802",889:"20426fed",919:"16921f1d",1082:"acf35185",1456:"38e37843",1738:"5e5f5611",2162:"6470fb2d",2765:"53194d3a",2792:"cb7289f3",2801:"5bbc94e4",2948:"a65c814e",2949:"049013c2",3101:"e4d7b530",3366:"7459e497",3790:"2ef8ea22",3813:"c8c00575",3899:"6e01028f",4093:"abe04878",4112:"61ebb694",4238:"05a640eb",4329:"dee1a347",4344:"30b50fa7",4362:"63e90ebd",4750:"572b21b0",4941:"cb8dd88e",5067:"0b4115dc",5096:"5db09865",5286:"d55bbb50",5323:"9421f1cc",6354:"776e0649",6389:"7d5e9ba4",6746:"2b3c2c89",6781:"770b0df0",7364:"0642eca0",7378:"adb3a5b7",7552:"4dd461e8",7572:"8e7ab012",7802:"25e37ece",8311:"d55bbb50",8865:"c4e5dd1b",8995:"25c30150",9881:"9c17623c"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="tft-mes:";n.l=function(i,o,s,a){if(e[i])e[i].push(o);else{var r,l;if(void 0!==s)for(var A=document.getElementsByTagName("script"),c=0;ce.meta&&e.meta.title));this.levelList=e.filter((e=>e.meta&&e.meta.title&&!1!==e.meta.breadcrumb))},isDashboard(e){const t=e&&e.name;return!!t&&t.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile(e){const{params:t}=this.$route;var n=a().compile(e);return n(t)},handleLink(e){const{redirect:t,path:n}=e;t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},l=r,A=n(1001),c=(0,A.Z)(l,i,o,!1,null,"ef7651b6",null),d=c.exports},2610:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var i=function(){var e=this,t=e._self._c;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}})])},o=[],s=n(475),a={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal(){return(0,s.b9)(this.iconClass)},iconName(){return`#icon-${this.iconClass}`},svgClass(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon(){return{mask:`url(${this.iconClass}) no-repeat 50% 50%`,"-webkit-mask":`url(${this.iconClass}) no-repeat 50% 50%`}}}},r=a,l=n(1001),A=(0,l.Z)(r,i,o,!1,null,"60e838ce",null),c=A.exports},6700:function(e,t,n){var i={"./af":2786,"./af.js":2786,"./ar":867,"./ar-dz":4130,"./ar-dz.js":4130,"./ar-kw":6135,"./ar-kw.js":6135,"./ar-ly":6440,"./ar-ly.js":6440,"./ar-ma":7702,"./ar-ma.js":7702,"./ar-sa":6040,"./ar-sa.js":6040,"./ar-tn":7100,"./ar-tn.js":7100,"./ar.js":867,"./az":1083,"./az.js":1083,"./be":9808,"./be.js":9808,"./bg":8338,"./bg.js":8338,"./bm":7438,"./bm.js":7438,"./bn":8905,"./bn-bd":6225,"./bn-bd.js":6225,"./bn.js":8905,"./bo":1560,"./bo.js":1560,"./br":1278,"./br.js":1278,"./bs":622,"./bs.js":622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":877,"./cv.js":877,"./cy":7373,"./cy.js":7373,"./da":4780,"./da.js":4780,"./de":9740,"./de-at":217,"./de-at.js":217,"./de-ch":894,"./de-ch.js":894,"./de.js":9740,"./dv":5300,"./dv.js":5300,"./el":837,"./el.js":837,"./en-au":8348,"./en-au.js":8348,"./en-ca":7925,"./en-ca.js":7925,"./en-gb":2243,"./en-gb.js":2243,"./en-ie":6436,"./en-ie.js":6436,"./en-il":7207,"./en-il.js":7207,"./en-in":4175,"./en-in.js":4175,"./en-nz":6319,"./en-nz.js":6319,"./en-sg":1662,"./en-sg.js":1662,"./eo":2915,"./eo.js":2915,"./es":5655,"./es-do":5251,"./es-do.js":5251,"./es-mx":6112,"./es-mx.js":6112,"./es-us":3939,"./es-us.js":3939,"./es.js":5655,"./et":5603,"./et.js":5603,"./eu":7763,"./eu.js":7763,"./fa":6959,"./fa.js":6959,"./fi":1897,"./fi.js":1897,"./fil":2549,"./fil.js":2549,"./fo":4694,"./fo.js":4694,"./fr":4470,"./fr-ca":3049,"./fr-ca.js":3049,"./fr-ch":2330,"./fr-ch.js":2330,"./fr.js":4470,"./fy":5044,"./fy.js":5044,"./ga":9295,"./ga.js":9295,"./gd":2101,"./gd.js":2101,"./gl":8794,"./gl.js":8794,"./gom-deva":7884,"./gom-deva.js":7884,"./gom-latn":3168,"./gom-latn.js":3168,"./gu":5349,"./gu.js":5349,"./he":4206,"./he.js":4206,"./hi":94,"./hi.js":94,"./hr":316,"./hr.js":316,"./hu":2138,"./hu.js":2138,"./hy-am":1423,"./hy-am.js":1423,"./id":9218,"./id.js":9218,"./is":135,"./is.js":135,"./it":626,"./it-ch":150,"./it-ch.js":150,"./it.js":626,"./ja":9183,"./ja.js":9183,"./jv":4286,"./jv.js":4286,"./ka":2105,"./ka.js":2105,"./kk":7772,"./kk.js":7772,"./km":8758,"./km.js":8758,"./kn":9282,"./kn.js":9282,"./ko":3730,"./ko.js":3730,"./ku":1408,"./ku.js":1408,"./ky":3291,"./ky.js":3291,"./lb":6841,"./lb.js":6841,"./lo":5466,"./lo.js":5466,"./lt":7010,"./lt.js":7010,"./lv":7595,"./lv.js":7595,"./me":9861,"./me.js":9861,"./mi":5493,"./mi.js":5493,"./mk":5966,"./mk.js":5966,"./ml":7341,"./ml.js":7341,"./mn":5115,"./mn.js":5115,"./mr":370,"./mr.js":370,"./ms":9847,"./ms-my":1237,"./ms-my.js":1237,"./ms.js":9847,"./mt":2126,"./mt.js":2126,"./my":6165,"./my.js":6165,"./nb":4924,"./nb.js":4924,"./ne":6744,"./ne.js":6744,"./nl":3901,"./nl-be":9814,"./nl-be.js":9814,"./nl.js":3901,"./nn":3877,"./nn.js":3877,"./oc-lnc":2135,"./oc-lnc.js":2135,"./pa-in":5858,"./pa-in.js":5858,"./pl":4495,"./pl.js":4495,"./pt":9520,"./pt-br":7971,"./pt-br.js":7971,"./pt.js":9520,"./ro":6459,"./ro.js":6459,"./ru":1793,"./ru.js":1793,"./sd":950,"./sd.js":950,"./se":490,"./se.js":490,"./si":124,"./si.js":124,"./sk":4249,"./sk.js":4249,"./sl":4985,"./sl.js":4985,"./sq":1104,"./sq.js":1104,"./sr":9131,"./sr-cyrl":9915,"./sr-cyrl.js":9915,"./sr.js":9131,"./ss":5893,"./ss.js":5893,"./sv":8760,"./sv.js":8760,"./sw":1172,"./sw.js":1172,"./ta":7333,"./ta.js":7333,"./te":3110,"./te.js":3110,"./tet":2095,"./tet.js":2095,"./tg":7321,"./tg.js":7321,"./th":9041,"./th.js":9041,"./tk":9005,"./tk.js":9005,"./tl-ph":5768,"./tl-ph.js":5768,"./tlh":9444,"./tlh.js":9444,"./tr":2397,"./tr.js":2397,"./tzl":8254,"./tzl.js":8254,"./tzm":1106,"./tzm-latn":699,"./tzm-latn.js":699,"./tzm.js":1106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":7691,"./uk.js":7691,"./ur":3795,"./ur.js":3795,"./uz":6791,"./uz-latn":588,"./uz-latn.js":588,"./uz.js":6791,"./vi":5666,"./vi.js":5666,"./x-pseudo":4378,"./x-pseudo.js":4378,"./yo":5805,"./yo.js":5805,"./zh-cn":3839,"./zh-cn.js":3839,"./zh-hk":5726,"./zh-hk.js":5726,"./zh-mo":9807,"./zh-mo.js":9807,"./zh-tw":4152,"./zh-tw.js":4152};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=6700},803:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-device_edit",use:"icon-device_edit-usage",viewBox:"0 0 14 14",content:'\n icon/编辑_蓝\n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},3869:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_alarm",use:"icon-home_alarm-usage",viewBox:"0 0 32 37",content:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},3270:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_plan",use:"icon-home_plan-usage",viewBox:"0 0 32 32",content:'\n 编组 8\n \n \n \n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},1966:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_product",use:"icon-home_product-usage",viewBox:"0 0 32 32",content:'\n 编组 8\n \n \n \n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},4186:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_title1",use:"icon-home_title1-usage",viewBox:"0 0 24 24",content:'\n 编组 6\n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},2896:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_title2",use:"icon-home_title2-usage",viewBox:"0 0 24 24",content:'\n 当前位置\n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},5467:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_title3",use:"icon-home_title3-usage",viewBox:"0 0 24 24",content:'\n 列表\n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},4400:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_title4",use:"icon-home_title4-usage",viewBox:"0 0 24 24",content:'\n 信息、语音信息、提示信息-08\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},8859:function(e,t,n){"use strict";n(1703);var i=n(9669),o=n.n(i),s=n(4720),a=n(5842),r=n(1192),l=n(1836);const A=o().create({baseURL:"/api",timeout:15e3});let c=null;function d(){c=s.Loading.service({fullscreen:!1,text:"拼命加载中......",background:"rgba(0, 0, 0, 0.1)"})}function m(){c.close()}let u=0;function g(){0===u&&d(),u++}function p(){u<=0||(u--,0===u&&m())}A.interceptors.request.use((e=>(g(),a.Z.getters.token&&(e.headers["token"]=(0,l.LP)()),e.formState&&(e.headers["Content-Type"]="application/json; charset=utf-8"),e)),(e=>(p(),console.log(e),Promise.reject(e)))),A.interceptors.response.use((e=>{p();const t=e.data;return"blob"===e.config.responseType?e:(401===t.code&&(console.log("111"),s.MessageBox.confirm("登录信息失效,请重新登录","提示",{confirmButtonText:"去登录",cancelButtonText:"取消",type:"warning"}).then((()=>{a.Z.dispatch("user/logout").then((()=>{r.Z.push({path:"/login"})}))}))),0!==t.code&&401!==t.code?((0,s.Message)({message:t.msg||"Error",type:"error",duration:5e3}),Promise.reject(new Error(t.message||"Error"))):t)}),(e=>(p(),console.log("err"+e),"err"+e==="errError: timeout of 15000ms exceeded"?(0,s.Message)({message:"网络连接超时",type:"error",duration:5e3}):(0,s.Message)({message:e.message,type:"error",duration:5e3}),Promise.reject(e)))),t["Z"]=A},3123:function(e,t,n){"use strict";var i=n(144),o=n(4720),s=n.n(o),a=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},r=[],l=n(1001),A={},c=(0,l.Z)(A,a,r,!1,null,null,null),d=c.exports,m=n(1192),u=n(5842);const g=n(7886),p=e=>e.keys().map(e);p(g);var h=n(4865),f=n.n(h),C=n(1836);m.Z.beforeEach((async(e,t,n)=>{f().start();const i=(0,C.LP)();if(i)if("/login"===e.path)n(),f().done();else{let t=e.path.split("/"),i={activeModule:t[1],activeMenu:t[2]};u.Z.dispatch("menu/setActiveModule",i),n(),f().done()}else"/login"===e.path?(n(),f().done()):(n(`/login?redirect=${e.path}`),f().done())}));var w=n(9439);function L(e){return e.charAt(0).toUpperCase()+e.slice(1)}const v=n(9364);v.keys().forEach((e=>{const t=v(e);let n="";-1===e.indexOf("subcomponents")?n=L(e.substring(e.indexOf("/")+1,e.indexOf("/",2))):(n=L(e.substring(e.indexOf("/subcomponents")+15,e.indexOf(".",2))),console.log(n,"组件名")),i["default"].component(n,t.default||t)})),i["default"].config.productionTip=!1,i["default"].use(s()),i["default"].use(w.Z),new i["default"]({router:m.Z,store:u.Z,render:e=>e(d)}).$mount("#app")},1192:function(e,t,n){"use strict";n.d(t,{Z:function(){return ne},_:function(){return ee}});var i=n(144),o=n(8345),s=function(){var e=this,t=e._self._c;return t("el-container",{staticClass:"itemContainer"},[t("el-aside",{directives:[{name:"show",rawName:"v-show",value:"home"!==e.activeModule,expression:"activeModule !== 'home'"}],staticStyle:{"background-color":"rgb(238, 241, 246)"},attrs:{width:"248px"}},[t("menu-list")],1),t("el-container",{staticClass:"sectionBox"},[t("el-header",[t("navbar")],1),t("el-container",[t("div",{staticClass:"app-container"},[t("tags-view",{directives:[{name:"show",rawName:"v-show",value:"home"!==e.activeModule,expression:"activeModule !== 'home'"}]}),t("app-main",{staticClass:"app-main"})],1),t("el-footer",{attrs:{height:"30px"}},[t("div",{staticClass:"footerFont"},[e._v("©中建材智能自动化研究院有限公司")])])],1)],1)],1)},a=[],r=function(){var e=this,t=e._self._c;return t("section",[t("router-view")],1)},l=[],A={name:"AppMain"},c=A,d=n(1001),m=(0,d.Z)(c,r,l,!1,null,null,null),u=m.exports,g=function(){var e=this,t=e._self._c;return t("div",{staticClass:"menu-container"},[t("logo-vue"),t("el-menu",{attrs:{"default-active":e.activeMenu}},[e._l(e.leftMenuList,(function(n,i){return["offShelfPackaging"===n.name&&"加工人员"===e.role||"reLaunching"===n.name&&"质检人员"===e.role?e._e():t("el-menu-item",{key:n.name+i,attrs:{index:n.name},on:{click:function(t){return e.toggleMenu(n)}}},[t("i",{staticClass:"el-icon-s-operation"}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(n.meta.title))])])]}))],2)],1)},p=[],h={navbarHeight:"60px",menuWidth:"160px",footerHeight:"30px"},f=function(){var e=this;e._self._c;return e._m(0)},C=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"logo-box"},[t("img",{staticClass:"logo-img",attrs:{src:n(6949),alt:"中建材"}}),t("div",{staticClass:"title"},[t("p",[e._v("G8.5 TFT-LCD")]),t("p",[e._v("玻璃基板后工程段制造执行系统")])])])}],w={name:"LogoVue"},L=w,v=(0,d.Z)(L,f,C,!1,null,"8402ed2e",null),b=v.exports,B={name:"MenuList",computed:{variables(){return h},leftMenuList(){return this.$store.state.menu.leftMenuList},activeModule(){return this.$store.state.menu.activeModule},activeMenu:{get:function(){return this.$store.getters.activeMenu},set:function(){}},role(){return this.$store.getters.roles}},components:{LogoVue:b},mounted(){},methods:{toggleMenu(e){this.$store.dispatch("menu/setActiveMenu",e.name)}},watch:{activeModule:function(e,t){console.log(e),console.log(t)},activeMenu:function(e){this.$router.push({name:e})}}},M=B,V=(0,d.Z)(M,g,p,!1,null,"27f2221e",null),k=V.exports,x=function(){var e=this,t=e._self._c;return t("div",{staticClass:"navbar-container"},[t("div",{directives:[{name:"show",rawName:"v-show",value:"home"===e.activeModule,expression:"activeModule === 'home'"}],staticClass:"logo-box"},[t("img",{staticClass:"logo-img",attrs:{src:n(6949),alt:"中建材"}}),t("span",{staticClass:"title"},[e._v("G8.5 TFT-LCD 玻璃基板后工程段制造执行系统")])]),t("breadcrumb",{directives:[{name:"show",rawName:"v-show",value:"home"!==e.activeModule,expression:"activeModule !== 'home'"}]}),t("div",{staticClass:"fr"},[t("div",{staticClass:"fr avatar-area"},[t("el-dropdown",[t("div",{staticStyle:{cursor:"pointer"}},[t("img",{attrs:{src:n(4480),alt:""}}),t("p",[e._v(e._s(e.userName))])]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{nativeOn:{click:function(t){return e.logout.apply(null,arguments)}}},[e._v("退出")])],1)],1)],1),t("div",{staticClass:"top-time fr"},[t("p",[e._v(e._s(e.topDate))]),t("p",[e._v(e._s(e.topTime))])]),t("ul",{staticClass:"topMenu-box"},e._l(e.topModuleList,(function(i,o){return t("li",{key:o,on:{click:function(t){return e.toggleModule(i)}}},[t("div",{staticClass:"icon"},[t("img",{attrs:{src:n(4457)("./"+i.name+".png"),alt:i.label}})]),t("span",{staticClass:"module",class:{active:e.activeModule===i.name}},[e._v(e._s(i.label))])])})),0)])],1)},Q=[],S=n(629),D=n(381),E=n.n(D),y={name:"NavbarPage",data(){return{topDate:"",topTime:"",timer:"",userName:this.$store.getters.username}},computed:{...(0,S.Se)(["topModuleList"]),activeModule:{get:function(){return this.$store.getters.activeModule},set:function(){}}},mounted(){this.$store.dispatch("menu/getTopModuleList"),this.getTime()},beforeDestroy(){clearInterval(this.timer)},methods:{getTime(){let e=this;this.timer=setInterval((function(){e.topDate=E()().format("YYYY.MM.DD"),e.topTime=E()().format("HH : mm : ss")}),1e3)},toggleModule(e){const t={activeModule:e.name,activeMenu:""};this.$store.dispatch("menu/setActiveModule",t)},logout(){this.$store.dispatch("user/logout").then((()=>{this.$router.push({path:"/login"})}))}}},j=y,G=(0,d.Z)(j,x,Q,!1,null,null,null),I=G.exports,R=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tags-view-container"},[t("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper"},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}}},[e._v(" "+e._s(n.title)+" "),t("span",{staticClass:"el-icon-close",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.closeSelectedTag(n)}}})])})),1)],1)},P=[],U=function(){var e=this,t=e._self._c;return t("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll.apply(null,arguments)}}},[e._t("default")],2)},K=[];const O=4;var T={name:"ScrollPane",data(){return{left:0}},computed:{scrollWrapper(){return this.$refs.scrollContainer.$refs.wrap}},mounted(){this.scrollWrapper.addEventListener("scroll",this.emitScroll,!0)},beforeDestroy(){this.scrollWrapper.removeEventListener("scroll",this.emitScroll)},methods:{handleScroll(e){const t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},emitScroll(){this.$emit("scroll")},moveToTarget(e){const t=this.$refs.scrollContainer.$el,n=t.offsetWidth,i=this.scrollWrapper,o=this.$parent.$refs.tag;let s=null,a=null;if(o.length>0&&(s=o[0],a=o[o.length-1]),s===e)i.scrollLeft=0;else if(a===e)i.scrollLeft=i.scrollWidth-n;else{const t=o.findIndex((t=>t===e)),s=o[t-1],a=o[t+1],r=a.$el.offsetLeft+a.$el.offsetWidth+O,l=s.$el.offsetLeft-O;r>i.scrollLeft+n?i.scrollLeft=r-n:l{for(const t of e)if(t.to.path===this.$route.path){this.$refs.scrollPane.moveToTarget(t),t.to.fullPath!==this.$route.fullPath&&this.$store.dispatch("tagsView/updateVisitedView",this.$route);break}}))},closeSelectedTag(e){this.$store.dispatch("tagsView/delView",e).then((({visitedViews:t})=>{this.isActive(e)&&this.toLastView(t,e)}))}}},z=q,Z=(0,d.Z)(z,R,P,!1,null,"291d2ee4",null),N=Z.exports,J={name:"LayoutPage",data(){return{sHome:!0}},computed:{...(0,S.Se)(["activeModule"])},components:{AppMain:u,MenuList:k,Navbar:I,TagsView:N}},W=J,X=(0,d.Z)(W,s,a,!1,null,"186010b6",null),_=X.exports;i["default"].use(o.Z);const $=o.Z.prototype.push;o.Z.prototype.push=function(e){return $.call(this,e).catch((e=>e))};const ee=[{path:"/login",name:"login",hidden:!0,meta:{title:"登录"},component:()=>n.e(2162).then(n.bind(n,2162))},{path:"/home",component:_,name:"home",meta:{title:"首页"},children:[{path:"index",name:"index",meta:{title:"产线状态"},component:()=>Promise.all([n.e(8750),n.e(7572)]).then(n.bind(n,7572))}]},{path:"/siteMonitoring",component:_,name:"siteMonitoring",meta:{title:"现场监控"},children:[{path:"productionLineStatus",name:"productionLineStatus",meta:{title:"产线状态"},component:()=>n.e(551).then(n.bind(n,551))},{path:"deviceStatus",name:"deviceStatus",meta:{title:"设备状态"},component:()=>n.e(6389).then(n.bind(n,6389))}]},{path:"/productionScheduling",component:_,name:"productionScheduling",meta:{title:"生产调度"},children:[{path:"workOrderProgress",name:"workOrderProgress",meta:{title:"工单进度"},component:()=>Promise.all([n.e(8750),n.e(8995)]).then(n.bind(n,8995))},{path:"workOrderManagement",name:"workOrderManagement",meta:{title:"工单管理"},component:()=>n.e(2407).then(n.bind(n,2407))},{path:"generateReports",name:"generateReports",meta:{title:"生产报表"},component:()=>n.e(868).then(n.bind(n,868)),redirect:"/productionScheduling/generateReports/productionReport",children:[{path:"productionReport",name:"productionReport",meta:{title:"生产报表"},component:()=>n.e(7364).then(n.bind(n,7364))},{path:"substrateGlassQuality",name:"substrateGlassQuality",meta:{title:"基板玻璃品质"},component:()=>n.e(2801).then(n.bind(n,2801))},{path:"thicknessDetection",name:"thicknessDetection",meta:{title:"厚度检测"},component:()=>n.e(4093).then(n.bind(n,4093))}]},{path:"productionData",name:"productionData",meta:{title:"生产数据"},component:()=>n.e(6354).then(n.bind(n,6354))},{path:"offShelfPackaging",name:"offShelfPackaging",meta:{title:"下架包装"},component:()=>n.e(9796).then(n.bind(n,9796))},{path:"reLaunching",name:"reLaunching",meta:{title:"复投上架"},component:()=>n.e(9705).then(n.bind(n,9705))}]},{path:"/deviceManagement",component:_,name:"deviceManagement",meta:{title:"设备管理"},children:[{path:"performanceAnalysis",name:"performanceAnalysis",meta:{title:"绩效分析"},component:()=>n.e(7378).then(n.bind(n,7378)),redirect:"/deviceManagement/performanceAnalysis/devicePage",children:[{path:"devicePage",name:"devicePage",meta:{title:"设备OEE"},component:()=>Promise.all([n.e(8750),n.e(3101)]).then(n.bind(n,3101))},{path:"utilizationRateAnalysis",name:"utilizationRateAnalysis",meta:{title:"利用率分析"},component:()=>Promise.all([n.e(8750),n.e(4344)]).then(n.bind(n,4344))},{path:"mtbrf",name:"mtbrf",meta:{title:"MTBR-F"},component:()=>Promise.all([n.e(8750),n.e(5323)]).then(n.bind(n,5323))},{path:"analysisOfPallet",name:"analysisOfPallet",meta:{title:"托盘指标分析"},component:()=>Promise.all([n.e(8750),n.e(5067)]).then(n.bind(n,5067))}]},{path:"spareParts",name:"spareParts",meta:{title:"备品备件"},component:()=>n.e(1082).then(n.bind(n,1082)),redirect:"/deviceManagement/spareParts/sparePartsStock",children:[{path:"sparePartsStock",name:"sparePartsStock",meta:{title:"备件库存"},component:()=>n.e(8017).then(n.bind(n,8017))},{path:"sparePartsRecord",name:"sparePartsRecord",meta:{title:"备件记录"},component:()=>n.e(919).then(n.bind(n,919))}]},{path:"maintenanceManagement",name:"maintenanceManagement",meta:{title:"维护管理"},component:()=>n.e(2765).then(n.bind(n,2765)),redirect:"/deviceManagement/maintenanceManagement/plannedMaintenance",children:[{path:"plannedMaintenance",name:"plannedMaintenance",meta:{title:"计划维护"},component:()=>n.e(5886).then(n.bind(n,5886))},{path:"selfMaintenance",name:"selfMaintenance",meta:{title:"自主维护"},component:()=>n.e(1456).then(n.bind(n,1456))}]},{path:"alarmInformation",name:"alarmInformation",meta:{title:"报警信息"},component:()=>n.e(1738).then(n.bind(n,9460)),redirect:"/deviceManagement/alarmInformation/realTimeAlarm",children:[{path:"realTimeAlarm",name:"realTimeAlarm",meta:{title:"实时报警"},component:()=>n.e(2792).then(n.bind(n,2792))},{path:"historyAlarm",name:"historyAlarm",meta:{title:"历史报警"},component:()=>n.e(4362).then(n.bind(n,4362))}]}]},{path:"/consumablesManagement",component:_,name:"consumablesManagement",meta:{title:"耗材管理"},children:[{path:"inAndOutManagement",name:"inAndOutManagement",meta:{title:"出入库管理"},component:()=>n.e(5705).then(n.bind(n,5705))},{path:"inAndOutRecords",name:"inAndOutRecords",meta:{title:"出入库记录"},component:()=>n.e(2033).then(n.bind(n,2033))},{path:"materialTracking",name:"materialTracking",meta:{title:"在线耗材跟踪"},component:()=>n.e(2312).then(n.bind(n,9568))}]},{path:"/processManagement",component:_,name:"processManagement",meta:{title:"工艺管理"},children:[{path:"processMonitoring",name:"processMonitoring",meta:{title:"工艺监测"},component:()=>Promise.all([n.e(8750),n.e(4750)]).then(n.bind(n,4750))},{path:"abnormalAlert",name:"abnormalAlert",meta:{title:"异常警示"},component:()=>n.e(9881).then(n.bind(n,9881))},{path:"processConfiguration",name:"processConfiguration",meta:{title:"工艺配置"},component:()=>n.e(9809).then(n.bind(n,9809))}]},{path:"/qualityManagement",component:_,name:"qualityManagement",meta:{title:"质量管理"},children:[{path:"processSampling",name:"processSampling",meta:{title:"过程抽检"},component:()=>n.e(2581).then(n.bind(n,2581))},{path:"processFullInspection",name:"processFullInspection",meta:{title:"过程全检"},component:()=>n.e(3790).then(n.bind(n,3790)),redirect:"/qualityManagement/processFullInspection/fullInspection",children:[{path:"fullInspection",name:"fullInspection",meta:{title:"过程全检"},component:()=>n.e(5096).then(n.bind(n,5096))},{path:"fullInspectionDetail",name:"fullInspectionDetail",meta:{title:"全检详情"},component:()=>n.e(3899).then(n.bind(n,3899))},{path:"defectScatterPlot",name:"defectScatterPlot",meta:{title:"缺陷散点图"},component:()=>Promise.all([n.e(8750),n.e(4112)]).then(n.bind(n,4112))},{path:"particleLineChart",name:"particleLineChart",meta:{title:"颗粒折线图"},component:()=>Promise.all([n.e(8750),n.e(3813)]).then(n.bind(n,3813))},{path:"thicknessDistributionMap",name:"thicknessDistributionMap",meta:{title:"厚度分布图"},component:()=>Promise.all([n.e(8750),n.e(889)]).then(n.bind(n,889))}]},{path:"productTraceability",name:"productTraceability",meta:{title:"产品追溯"},component:()=>n.e(299).then(n.bind(n,299))},{path:"finalInspectionData",name:"finalInspectionData",meta:{title:"终检数据"},component:()=>n.e(6234).then(n.bind(n,6234))},{path:"finalInspectionDailyReport",name:"finalInspectionDailyReport",meta:{title:"终检日报表"},component:()=>n.e(4591).then(n.bind(n,4591))}]},{path:"/basicConfig",component:_,name:"basicConfig",meta:{title:"基础配置"},children:[{path:"accountConfig",name:"accountConfig",meta:{title:"账号配置"},component:()=>n.e(1487).then(n.bind(n,1487))},{path:"sparePartsConfig",name:"sparePartsConfig",meta:{title:"备件配置"},component:()=>n.e(698).then(n.bind(n,698))},{path:"consumablesConfig",name:"consumablesConfig",meta:{title:"耗材配置"},component:()=>n.e(4337).then(n.bind(n,4337))},{path:"lineSideLibraryConfig",name:"lineSideLibraryConfig",meta:{title:"线边库配置"},component:()=>n.e(2413).then(n.bind(n,2413))},{path:"deviceConfig",name:"deviceConfig",meta:{title:"设备配置"},component:()=>n.e(5304).then(n.bind(n,5304))},{path:"reportManagement",name:"reportManagement",meta:{title:"报表管理"},component:()=>n.e(7552).then(n.bind(n,7552)),redirect:"/basicConfig/reportManagement/reportList",children:[{path:"reportList",name:"reportList",meta:{title:"报表列表"},component:()=>n.e(2949).then(n.bind(n,2949))},{path:"reportListDetail",name:"reportListDetail",hidden:!0,meta:{title:"报表列表明细"},component:()=>n.e(5286).then(n.bind(n,5286))},{path:"reportView",name:"reportView",meta:{title:"报表预览"},component:()=>n.e(3366).then(n.bind(n,3366))},{path:"reportDesign",name:"reportDesign",meta:{title:"报表设计"},component:()=>n.e(4238).then(n.bind(n,4238))},{path:"reportClassification",name:"reportClassification",meta:{title:"报表分类"},component:()=>n.e(8311).then(n.bind(n,8311))}]}]},{path:"*",redirect:"/home/index",hidden:!0}],te=new o.Z({mode:"hash",base:"/",routes:ee});var ne=te},5842:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(144),o=n(629);const s={topModuleList:e=>e.menu.topModuleList,leftMenuList:e=>e.menu.leftMenuList,activeModule:e=>e.menu.activeModule,activeMenu:e=>e.menu.activeMenu,token:e=>e.user.token,visitedViews:e=>e.tagsView.visitedViews,cachedViews:e=>e.tagsView.cachedViews,username:e=>e.user.username,roles:e=>e.user.roles};var a=s;i["default"].use(o.ZP);const r=n(2645),l=r.keys().reduce(((e,t)=>{const n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),i=r(t);return e[n]=i.default,e}),{}),A=new o.ZP.Store({modules:l,getters:a});var c=A},1811:function(e,t,n){"use strict";n.r(t);var i=n(1192);const o={topModuleList:sessionStorage.getItem("topModuleList")&&"undefined"!==sessionStorage.getItem("topModuleList")?JSON.parse(sessionStorage.getItem("topModuleList")):[],leftMenuList:sessionStorage.getItem("leftMenuList")&&"undefined"!==sessionStorage.getItem("leftMenuList")?JSON.parse(sessionStorage.getItem("leftMenuList")):[],activeModule:sessionStorage.getItem("activeModule"),activeMenu:sessionStorage.getItem("activeMenu")},s={SET_TOPMODULE:(e,t)=>{e.topModuleList=t,sessionStorage.setItem("topModuleList",JSON.stringify(t))},SET_LEFTMENU:(e,t)=>{e.leftMenuList=t,sessionStorage.setItem("leftMenuList",JSON.stringify(t))},SET_ACTIVEMODULE:(e,t)=>{e.activeModule=t,sessionStorage.setItem("activeModule",t)},SET_ACTIVEMENU:(e,t)=>{e.activeMenu=t||(e.leftMenuList[0]?e.leftMenuList[0].name:""),sessionStorage.setItem("activeMenu",e.activeMenu)}},a={getTopModuleList({commit:e}){let t=[];i._&&i._.map((e=>{if(e.hidden)return!0;let n={};n.name=e.name,n.label=e.meta.title,t.push(n)})),e("SET_TOPMODULE",t)},setActiveModule({commit:e,dispatch:t},n){const{activeModule:i}=n;t("getLeftMenuList",n),e("SET_ACTIVEMODULE",i)},getLeftMenuList({commit:e,dispatch:t},n){const{activeModule:o,activeMenu:s}=n;let a=[];for(let r=0;r{e.visitedViews.some((e=>e.path===t.path))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:(e,t)=>{e.cachedViews.includes(t.name)||t.meta.noCache||e.cachedViews.push(t.name)},DEL_VISITED_VIEW:(e,t)=>{for(const[n,i]of e.visitedViews.entries())if(i.path===t.path){e.visitedViews.splice(n,1);break}},DEL_CACHED_VIEW:(e,t)=>{const n=e.cachedViews.indexOf(t.name);n>-1&&e.cachedViews.splice(n,1)}},s={addView({dispatch:e},t){e("addVisitedView",t),e("addCachedView",t)},addVisitedView({commit:e},t){e("ADD_VISITED_VIEW",t)},addCachedView({commit:e},t){e("ADD_CACHED_VIEW",t)},delView({dispatch:e,state:t},n){return new Promise((i=>{e("delVisitedView",n),e("delCachedView",n),i({visitedViews:[...t.visitedViews],cachedViews:[...t.cachedViews]})}))},delVisitedView({commit:e,state:t},n){return new Promise((i=>{e("DEL_VISITED_VIEW",n),i([...t.visitedViews])}))},delCachedView({commit:e,state:t},n){return new Promise((i=>{e("DEL_CACHED_VIEW",n),i([...t.cachedViews])}))}};t["default"]={namespaced:!0,state:i,mutations:o,actions:s}},9535:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=n(8859);function o(e){const t=Object.assign(e,{appType:1,userType:1});return(0,i.Z)({url:"/passport/login",method:"post",data:t})}function s(){return(0,i.Z)({url:"/passport/getLoginUser",method:"post"})}var a=n(1836),r=n(4858);const l={token:(0,a.LP)(),name:"",avatar:"",introduction:"",roles:JSON.parse(localStorage.getItem("roles")),menus:[],username:r.Z.get("username")||""},A={SET_TOKEN:(e,t)=>{e.token=t},SET_USERNAME:(e,t)=>{e.username=t},SET_INTRODUCTION:(e,t)=>{e.introduction=t},SET_NAME:(e,t)=>{e.name=t},SET_AVATAR:(e,t)=>{e.avatar=t},SET_MENUS:(e,t)=>{e.menus=t},SET_ROLES:(e,t)=>{e.roles=t}},c={login({commit:e},t){const{mobile:n,password:i}=t;return new Promise(((t,s)=>{o({mobile:n.trim(),password:i}).then((n=>{if(console.log(n),0===n.code){const{token:i,name:o}=n.data;e("SET_TOKEN",i),e("SET_USERNAME",o),r.Z.set("username",o),(0,a.o4)(i),t()}else s(n)})).catch((e=>{s(e)}))}))},getInfo({commit:e}){return new Promise(((t,n)=>{s().then((i=>{console.log(i);const{data:o}=i;o||n("获取用户信息失败,重新登录");const{role:s}=o;e("SET_ROLES",s||""),localStorage.setItem("roles",JSON.stringify(s)),t(o)})).catch((e=>{n(e)}))}))},logout(){return new Promise((e=>{(0,a.gy)(),e()}))}};var d={namespaced:!0,state:l,mutations:A,actions:c}},1836:function(e,t,n){"use strict";n.d(t,{LP:function(){return s},gy:function(){return r},o4:function(){return a}});var i=n(4858);const o="Admin-Token";function s(){return i.Z.get(o)}function a(e){return i.Z.set(o,e)}function r(){return i.Z.remove(o)}},475:function(e,t,n){"use strict";n.d(t,{oJ:function(){return c},b9:function(){return d},fW:function(){return A},NC:function(){return a},g6:function(){return r}});var i=n(381),o=n.n(i),s={packageState:[{dataCode:0,dataName:"包装中"},{dataCode:1,dataName:"复投中"},{dataCode:2,dataName:"已下架"}]};function a(e){return window.innerHeight-e}function r(e){return e?o()(e).format("YYYY-MM-DD HH:mm:ss"):"-"}const l=JSON.parse(localStorage.getItem("publicList"));function A(e){return function(t){const n={},i=l?.[e];return i.map((e=>{n[e.dataCode]=e.dataName})),n?.[t]}}function c(e){return function(t){const n={},i=s?.[e];return i.map((e=>{n[e.dataCode]=e.dataName})),n?.[t]}}function d(e){return/^(https?:|mailto:|tel:)/.test(e)}},4457:function(e,t,n){var i={"./avatar.png":4480,"./basicConfig.png":9504,"./consumablesManagement.png":8011,"./deviceManagement.png":4489,"./home.png":1056,"./processManagement.png":9198,"./productionScheduling.png":9353,"./qualityManagement.png":336,"./siteMonitoring.png":1714};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=4457},9364:function(e,t,n){var i={"./Breadcrumb/index.vue":4966,"./SvgIcon/index.vue":2610};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=9364},7886:function(e,t,n){var i={"./device_edit.svg":803,"./home_alarm.svg":3869,"./home_plan.svg":3270,"./home_product.svg":1966,"./home_title1.svg":4186,"./home_title2.svg":2896,"./home_title3.svg":5467,"./home_title4.svg":4400};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=7886},2645:function(e,t,n){var i={"./menu.js":1811,"./tagsView.js":6941,"./user.js":9535};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=2645},4480:function(e,t,n){"use strict";e.exports=n.p+"img/avatar.7d43196d.png"},9504:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAAGVn0euAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAAQzElEQVR4Ae0dCXQURfb3TDI5CUm4QQhgODQG5VhF1JVVFMQDlCsIi4q4Ki7C6kNUXDbKc/HAfaLwUHQX8ORSEUEILHLoyuUuch9yakgEDCF3Mlfv/z3pnj6qe7pnMpMAU+9NuurXv+rXXf2rAxDuwIkCknJ4XozrPSsWcVyMOrP8Uz8keaQ/LsZsYkT+bN1/kZCUE4v5CgJH9U8CvDQ9R8zXPBUEzvhOAoKcszxOmQoCAjTKcQLpLqr16ZpjBJaCptA85xAySS2RCNI76hNIORhhlUWSkHLOZxk5gTpeoQY0jLTQlsy0I1I39LYk1qpkf4YVNDVNOKL97Z5SDYmCQGzOoqSSJSnQJl1JoyCgLFKHCGetBGh29zY4NEdJYGglqv3StOEAnI8vWUmI6TULoSy1yCKOpbakVK6hpKRhiRRKHslvxMHp5lCVa9UM4o+8zdUQH0W16TE/Pd8v8swCf1wvVngWqsU8RQlYn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FtQ+9PzkKB14/A/8+TftaAK6Y3wi3XDcXmhOl2Q5Syk4TqgNwCVMZxtNZaL1/H7x69LwnjxuWzYSun66Eqni4D7enUB6VFSHl2//9Hyy8c2dB45Oe5CDCJZpKgIpwwHO7exy2NHDn2Xj1QhitXWZelKYyFtw0bF05pUMdglQVT+PwQ1tihhMrIROf6ckmlj4PDcl9kKPxRC2LylCfgMM9av/lgU4apz2YhYxPFiUcwlU9nVxVRlVvhuqATduOwaPP/dO3rJkq717PY6hCQ7KRjGFC6EPQY785CnQtnNcId968AK5e1AQtcxvx30iI4dygr1gnkxHRHDrxnpApTch6zwzBkZ4B2P3nU/COuVUbC2PNQppSVITqANolGsv0m3qQwrIb6XN7eP2p//JfhmDP3tf8ESE2yRgmhDoEpRquh9G6D4epn6+2SDaSMUzw8QQE844+WodTR7z0zBDEx0/h+umAmfYagwxwTjFlDEQ0mfhlYlQcg7KxRsRpwiPfF5hpMbLfGnlbSTugevT4kfH4vBVQxO52Vg1Sfiy2hC0KND1e04L/eq0lUJ5SzPA/IpOtpHARSXoIio+/N5h4fxfE0+dkeU85PLKNaSO0lazy0k+AyRC9W48vOSbgk5DRZ4Ch15b+tEdZbcLGw49bWjYFsSyu8tP/ArfAx1dHfw6wGqA7NmjOaCrgCzMrdrmlpYegchP8UpFH2gE4aRCeSn2pGCMoPfzYStoBMdCfxJN9owGnkJfQRqatCuFN1Es74FT3qp4GPYFHt8J+Sd5TEW0/2YhsJau81ycYTx7LWndWDw7rK7LZ7BzIGtKO9GRaaZW6ltV1/ez0huyho12roiG60vwXyRtZILJAZIHIAlPbAv8HLGfzgNUDg+8AAAAASUVORK5CYII="},9198:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAAGVn0euAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAAC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vBhApLHlXOd0Ew5fzh6K7EKAr74OJFuojIdqNLEvuz8QN3/OKsBzeeT1qAE11dHAbDQ+lcYl+R1nQ9/Q0ovN9J35wpgHnunJsgHDkky08TvshjQZIR0ldpQFTix0boCB6oLG84Q062dqn1vWfJg2wbpI6Il2ZiiyT7t4BZN2SpjUKMpo2xgN9afVK0zV2vjkaA00epEQHTRwakrM4TQUu9OHOABoFipAxgvGDvMXuhyw04HgIyoKGX9VGA44NQOtX2qnxgxMNuNGVYwMEEXiGxnp/wElnAdJRUlfp4LrKHRtg14prPy8NlLObAHnY+MFCA++xjlhXFuXdsjOevoy8ZmG4sTVweiKROBYJ2bEhu3FwOGcEpEQgENhbUZrYuHXRtf4QfTjb0ufd14CvAV8DvgaOPg38H2oK84p0sURaAAAAAElFTkSuQmCC"},336:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAAGVn0euAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAAQiUlEQVR4Ae0dCXQURfbPhGSSkItbwimEW44g4gqCFwiyKIhIgoI+d0WUJ4LyEB7ikvUEXRCe+BBBn4IHyi2KIAILrmiAlUOOIAEjBBAI5CDHZJKZ2f9r6J7p7upjZjoMrF3vTbrq169/1dHVVfUrADUdbAKD2plerxBXe5Yts9nsvMzOLQBKP+PlANSSgwMRhXjCSD8Wl0PqgM8ZRuqAZX7MyzFugerGGTBt/m7Y8kGmooBCpMYDV8G5DcMQsQdDTsysBrD50RQcLtUZBiTKGx/9gs/l4A1AJgpBm1XklXRRqSCTKeBPWUD8KooypY20I5JZtS1RkxCahVw5RT0EIgbGhYKKAkKG2pNboP9TG1ht8wqJFReYuWnBQJbMP0tVVTswS9kfqO0LtV5SV9lamUgCgkCKEOXIAo4okgAQCl07T7H/kMgJI73/xsHptnDFb9w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muahaarVVQudGPZo3tH/RCOnfJbSbzp34D1T/VjsTL3X6esWFMJngJwDsCgnykX0P+mzQ1yyq9jqqtnzkGI0a7wgPz9pfJm+/6ZxB77bzus+7L7pkwdkarr8OBdwJee7jjQVaqZysVtDsuwK3j3lmGYnb5hwerW3S+PRl440OX3dh5vL7z0iXzXqY/bYbaZycXs/5KDdV/iUKc1URo7xcoOqq0yfui1Gq5e3EoUava1qzS/aJQGs8xKIj2jx+gCoVyGcoUBKGs8yIEgIAiliZEDwJAehL3ovIYS+2F9UDckyRH/fFhmoxuwTvdaJaCGc7+gyi9+br1YZSzTJEAIaffHrZG/JCFwDpK16JEsI5yK9uMdvzVe7zAUxZQrhXKKBwxqZkSikQ8aiZbnIFgKS4oea0i5bBhQJgQ+kKJEBhUJAUkqxo+cduJqVrQH8B6xBgBhvJFNDAAAAAElFTkSuQmCC"}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var s=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(s.exports,s,s.exports,n),s.loaded=!0,s.exports}n.m=e,function(){var e=[];n.O=function(t,i,o,s){if(!i){var a=1/0;for(c=0;c=s)&&Object.keys(n.O).every((function(e){return n.O[e](i[l])}))?i.splice(l--,1):(r=!1,s0&&e[c-1][2]>s;c--)e[c]=e[c-1];e[c]=[i,o,s]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,i){return n.f[i](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{299:"4bb8fb60",551:"a20e6180",698:"1ef9e99e",868:"2820c60e",889:"24917c8e",919:"4ed474aa",1082:"a5699b5a",1456:"6414c34e",1487:"bf0760e7",1738:"9f169ad3",2033:"71d18a4b",2162:"d4c19cb6",2312:"895c96ce",2407:"938a0c15",2413:"80fdfff2",2581:"2315967d",2765:"4d18b560",2792:"29278c33",2801:"7cc1950e",2949:"d593e2e8",3101:"d040dc0a",3366:"fddfab50",3790:"3a99ab78",3813:"9ee396fc",3899:"0748e11f",4093:"94763922",4112:"bf1953c5",4238:"ef96ed59",4337:"5530d5ef",4344:"788bebe9",4362:"954ff80f",4591:"fd241a34",4750:"10fe98ea",5067:"beaa119f",5096:"2f89e25f",5286:"5ab86fbe",5304:"94b88658",5323:"90b7d9c4",5705:"efe96667",5886:"6413af75",6234:"60dc5848",6354:"04b01f2e",6389:"09106c34",7364:"63902e51",7378:"45fc1dd5",7552:"caf1693c",7572:"13f4b99b",8017:"892d4e4c",8311:"80ae8f55",8750:"b8e81c1b",8995:"16c3f5b4",9705:"2f82f16f",9796:"d66f9ab1",9809:"1735a343",9881:"b110795d"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{299:"450cca55",551:"aacf299b",868:"775f6802",889:"20426fed",919:"16921f1d",1082:"acf35185",1456:"38e37843",1738:"5e5f5611",2162:"6470fb2d",2407:"1f6aa78f",2581:"fa424ad2",2765:"53194d3a",2792:"cb7289f3",2801:"5bbc94e4",2949:"049013c2",3101:"e4d7b530",3366:"7459e497",3790:"2ef8ea22",3813:"c8c00575",3899:"6e01028f",4093:"abe04878",4112:"61ebb694",4238:"05a640eb",4344:"30b50fa7",4362:"63e90ebd",4750:"572b21b0",5067:"0b4115dc",5096:"5db09865",5286:"d55bbb50",5304:"95c8a4ad",5323:"9421f1cc",5705:"c4e5dd1b",5886:"a65c814e",6234:"3ff852d9",6354:"776e0649",6389:"7d5e9ba4",7364:"0642eca0",7378:"adb3a5b7",7552:"4dd461e8",7572:"8e7ab012",8017:"2b3c2c89",8311:"d55bbb50",8995:"25c30150",9881:"9c17623c"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="tft-mes:";n.l=function(i,o,s,a){if(e[i])e[i].push(o);else{var r,l;if(void 0!==s)for(var A=document.getElementsByTagName("script"),c=0;c { + getMaterialArr().then((res) => { if (res.code === 0) { this.consumablesNameList = res.data } diff --git a/src/views/deviceManagement/maintenanceManagement/statusTag.vue b/src/views/deviceManagement/maintenanceManagement/statusTag.vue index 0d34435..801ecd2 100644 --- a/src/views/deviceManagement/maintenanceManagement/statusTag.vue +++ b/src/views/deviceManagement/maintenanceManagement/statusTag.vue @@ -28,6 +28,8 @@ export default { this.tagType = 'info' } else if (this.injectData.status === '未完成') { this.tagType = 'warning' + } else if (this.injectData.status === '已超时') { + this.tagType = 'danger' } else { this.tagType = 'success' } diff --git a/src/views/deviceManagement/spareParts/sparePartsOut.vue b/src/views/deviceManagement/spareParts/sparePartsOut.vue index 1694a08..1e3252d 100644 --- a/src/views/deviceManagement/spareParts/sparePartsOut.vue +++ b/src/views/deviceManagement/spareParts/sparePartsOut.vue @@ -198,6 +198,9 @@ export default { this.form.remark = res.data.remark }) } + this.form.recipient = this.$store.getters.username + ? this.$store.getters.username + : '' }, getBatchList(id) { getBatchList({ id }).then((res) => { diff --git a/src/views/productionScheduling/workOrderManagement.vue b/src/views/productionScheduling/workOrderManagement.vue index feaf90e..6cad7d8 100644 --- a/src/views/productionScheduling/workOrderManagement.vue +++ b/src/views/productionScheduling/workOrderManagement.vue @@ -238,9 +238,9 @@ const tableBtn = [ type: '&', data: [ { - type: 'less', + type: 'equal', name: 'status', - value: 1 + value: 0 } ] } diff --git a/src/views/qualityManagement/components/processFlowDetail.vue b/src/views/qualityManagement/components/processFlowDetail.vue index b778ac4..a85ae57 100644 --- a/src/views/qualityManagement/components/processFlowDetail.vue +++ b/src/views/qualityManagement/components/processFlowDetail.vue @@ -52,14 +52,16 @@