1 line
7.8 KiB
JavaScript
1 line
7.8 KiB
JavaScript
|
(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:"
|