tft-fe/dist/js/3058.30864938.js

1 line
10 KiB
JavaScript
Raw Normal View History

2023-05-24 10:37:01 +08:00
"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[3058],{3058:function(t,e,a){a.r(e),a.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",{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:100,label:"工艺流程","method-list":t.tableBtn,fixed:"right"},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()}}}),t.processFlowVisible?e("process-flow-detail",{ref:"processFlowDetail"}):t._e()],1)},n=[],i=function(){var t=this,e=t._self._c;return e("el-drawer",{attrs:{title:"工艺流程",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"box"},[e("base-table",{attrs:{page:1,limit:1e3,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:100,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("el-drawer",{attrs:{title:"工艺参数","append-to-body":!0,visible:t.processParametersVisible,size:"50%"},on:{"update:visible":function(e){t.processParametersVisible=e}}},[e("base-table",{attrs:{page:1,limit:1e3,"table-props":t.tablePropsP,"table-data":t.tableDataP,"max-height":t.tableH}})],1)],1)])},l=[],o=a(475),s=a(2334);const u=[{prop:"unitName",label:"工序名称",minWidth:120},{prop:"eqName",label:"设备名称",minWidth:120},{prop:"glassId",label:"玻璃ID",minWidth:150},{prop:"inEquipmentTime",label:"设备上片时间",filter:o.g6,minWidth:160},{prop:"outEquipmentTime",label:"设备下片时间",filter:o.g6,minWidth:160},{prop:"palletId",label:"面磨托盘ID",minWidth:150}],p=[{type:"processParameters",btnName:"工艺参数"}],d=[{prop:"paramName",label:"工艺"},{prop:"value",label:"参数值"},{prop:"createTime",label:"参数记录时间"}],c=[{prop:"device",label:"设备"},{prop:"status",label:"状态"},{prop:"changeTime",label:"变更时间"}];var m={name:"processFlowDetail",data(){return{visible:!1,tableProps:u,tableData:[],tableBtn:p,tableH:(0,o.NC)(115),processParametersVisible:!1,deviceParametersVisible:!1,tablePropsP:d,tablePropsD:c,tableDataP:[],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(t){this.visible=!0,window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(115)})),(0,s.gP)({current:1,glassId:t,size:500}).then((t=>{0===t.code?this.tableData=t.data.records:this.tableData=[]}))},handleClick(t){console.log(t),this.processParametersVisible=!0,(0,s.qn)({unitName:t.unitName,eqName:t.eqName,startTime:t.inEquipmentTime,endTime:t.outEquipmentTime}).then((t=>{console.log(t)}))},handleCloseProcess(){},handleCloseDevice(){}}},h=m,b=a(1001),f=(0,b.Z)(h,i,l,!1,null,"831fd0b0",null),y=f.exports,g=a(381),T=a.n(g);const q=[{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:o.g6,minWidth:160},{prop:"unloadTime",label:"产品下片时间",filter:o.g6,minWidth:160},{prop:"grade",label:"玻璃等级",minWidth:100},{prop:"palletId",label:"面磨<EFBFBD><EFBFBD>