(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7fe400a6"],{"02f9":function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("div",{staticClass:"hxjx_root"},[e("div",[e("div",{staticStyle:{width:"60%"}},[e("span",[t._v("产品信息:")]),e("table",{staticClass:"table table-hover table-bordered table-striped table-condensed text-nowrap"},[t._m(0),e("tbody",t._l(t.dataList,(function(a,s){return t.dataList.length>0?e("tr",{on:{click:function(a){return t.getTechnologyInfo(s)}}},[e("td",{staticClass:"hxjx_table_btnColumn",class:{table_td_select:s===t.indexSelect&&null!=a.id}},[t._v(t._s(s+1)+" ")]),e("td",{staticClass:"hxjx_table_btnColumn",class:{table_td_select:s===t.indexSelect&&null!=a.id}},[t._v(t._s(a.id)+" ")]),e("td",{staticClass:"hxjx_table_btnColumn",class:{table_td_select:s===t.indexSelect&&null!=a.id}},[t._v(t._s(a.specification)+" ")]),e("td",{staticClass:"hxjx_table_btnColumn",class:{table_td_select:s===t.indexSelect&&null!=a.id}},[t._v(t._s(a.technology)+" ")]),e("td",{staticClass:"hxjx_table_btnColumn",class:{table_td_select:s===t.indexSelect&&null!=a.id}},[t._v(t._s(a.diameter)+" ")])]):t._e()})),0)])])]),e("div",{staticStyle:{width:"60%","margin-left":"1%"},attrs:{id:"rollingpass"}},[e("span",[t._v("粗轧道次表:")]),e("table",{staticClass:"table table-hover table-bordered table-striped table-condensed text-nowrap",staticStyle:{"vertical-align":"middle"}},[e("thead",[e("tr",[e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"5",rowspan:"2"}},[e("span",{attrs:{id:"hxjx-table-title"}}),t._v(" "+t._s(t.technologyId)+"轧制工艺单 ")]),e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"4"}})]),t._m(1),t._m(2),t._m(3)]),e("tbody",{attrs:{id:"hxjx-tbody-one"}},t._l(t.technologyInfoList,(function(a,s){return e("tr",[e("td",{staticClass:"hxjx_table_btnColumn table_tdth"},[t._v(t._s(a.step))]),e("td",{staticClass:"hxjx_table_btnColumn table_tdth"},[t._v(t._s(a.reduction))]),e("td",{staticClass:"hxjx_table_btnColumn table_tdth"},[t._v(t._s(a.thicknessFront))]),e("td",{staticClass:"hxjx_table_btnColumn table_tdth"},[t._v(t._s(a.thicknessBehind))]),e("td",{staticClass:"hxjx_table_btnColumn table_tdth"},[t._v(t._s(a.angle))]),e("td",{staticClass:"hxjx_table_btnColumn table_tdth"},[t._v(t._s(a.setValue))]),e("td",{staticClass:"hxjx_table_btnColumn table_tdth"}),e("td",{staticClass:"hxjx_table_btnColumn table_tdth"}),e("td",{staticClass:"hxjx_table_btnColumn table_tdth"})])})),0),t._m(4)]),e("table",{staticClass:"table table-hover table-bordered table-striped table-condensed text-nowrap",staticStyle:{"vertical-align":"middle"}},[t._m(5),e("tbody",{attrs:{id:"hxjx-tbody-two"}},t._l(t.technologyInfoListByFour,(function(a,s){return e("tr",[e("td",{staticClass:"hxjx_table_btnColumn table_tdth"},[t._v(t._s(a.step))]),e("td",{staticClass:"hxjx_table_btnColumn table_tdth",attrs:{colspan:"2"}},[t._v(t._s(a.setValue))]),e("td",{staticClass:"hxjx_table_btnColumn table_tdth",attrs:{colspan:"2"}}),e("td",{staticClass:"hxjx_table_btnColumn table_tdth"}),e("td",{staticClass:"hxjx_table_btnColumn table_tdth",attrs:{colspan:"2"}}),e("td",{staticClass:"hxjx_table_btnColumn table_tdth"}),e("td",{staticClass:"hxjx_table_btnColumn table_tdth"})])})),0),t._m(6)]),t._m(7)])]),e("div",{staticStyle:{display:"flex","justify-content":"center"}},[e("el-button",{staticStyle:{"margin-right":"0"},on:{click:t.success}},[t._v("确定")]),e("el-button",{staticStyle:{"margin-left":"20px"},on:{click:t.clear}},[t._v("初始化")])],1),t.showFault?e("div",{staticClass:"hxjx_popup",attrs:{id:"hxjx_popup"}},[t._m(8),e("div",{staticClass:"hxjx_popup_body_danger"},[e("div",{staticStyle:{width:"100%",height:"227px"}},[e("table",{staticClass:"table table-borderless hxjx_table_text_left"},[e("tbody",[e("tr",[e("td",{staticClass:"hxjx_table_label_format hxjx_table_label",staticStyle:{padding:"0.25rem"}},[t._v("时间:")]),e("td",{staticClass:"hxjx_table_label_format hxjx_table_text",staticStyle:{padding:"0.25rem"}},[t._v(t._s(t.messageData.createTime)+" ")]),e("td",{staticClass:"hxjx_table_label_format hxjx_table_text_rule",staticStyle:{padding:"0.25rem","vertical-align":"middle"}})]),e("tr",[e("td",{staticClass:"hxjx_table_label_format hxjx_table_label",staticStyle:{padding:"0.25rem"}},[t._v("故障名称:")]),e("td",{staticClass:"hxjx_table_label_format hxjx_table_text",staticStyle:{padding:"0.25rem"}},[t._v(t._s(t.messageData.faultName)+" ")]),e("td",{staticClass:"hxjx_table_label_format hxjx_table_text_rule",staticStyle:{padding:"0.25rem","vertical-align":"middle"}})]),e("tr",[e("td",{staticClass:"hxjx_table_label_format hxjx_table_label",staticStyle:{padding:"0.25rem"}},[t._v("故障信息:")]),e("td",{staticClass:"hxjx_table_label_format hxjx_table_text",staticStyle:{padding:"0.25rem"}},[t._v(" "+t._s(t.messageData.faultMessage)+" ")]),e("td",{staticClass:"hxjx_table_label_format hxjx_table_text_rule",staticStyle:{padding:"0.25rem","vertical-align":"middle"}})])])])]),e("table",{staticClass:"table"},[e("tr",[e("td",{staticStyle:{padding:"20px 0 0 0","text-align":"right","border-top":"0px solid #dc3545"}},[e("div",{staticClass:"btn-group btn-group-sm"},[e("a",{staticClass:"hxjx-button-ensure btn btn-danger btn-sm custom hxjx_foot_btn_custom",staticStyle:{"margin-right":"0"},attrs:{href:"#"},on:{click:t.ensure}},[t._v("确定")])])])])])])]):t._e()])},l=[function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("thead",{staticClass:"hxjx_table_th"},[e("tr",[e("th",{staticClass:"hxjx_table_th_width"},[t._v("序号")]),e("th",{staticClass:"hxjx_table_th_width"},[t._v("钽靶批号")]),e("th",{staticClass:"hxjx_table_th_width"},[t._v("规格")]),e("th",{staticClass:"hxjx_table_th_width"},[t._v("工艺")]),e("th",{staticClass:"hxjx_table_th_width"},[t._v("直径")])])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("tr",[e("th",{staticClass:"hxjx_table_th_width table_tdth"},[t._v("制作人:")]),e("th",{staticClass:"hxjx_table_th_width table_tdth"}),e("th",{staticClass:"hxjx_table_th_width table_tdth"},[t._v("审核人:")]),e("th",{staticClass:"hxjx_table_th_width table_tdth"})])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("tr",[e("th",{staticClass:"hxjx_table_th_width table_tdth",staticStyle:{"vertical-align":"middle"},attrs:{rowspan:"2"}},[t._v("道次")]),e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"3"}},[t._v("粗轧工艺设计")]),e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"3"}},[t._v("检移票号码:")]),e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"2"}},[t._v("粗轧操作记录")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("tr",[e("th",{staticClass:"hxjx_table_th_width table_tdth"},[t._v("压下量")]),e("th",{staticClass:"hxjx_table_th_width table_tdth"},[t._v("轧前厚度")]),e("th",{staticClass:"hxjx_table_th_width table_tdth"},[t._v("轧后厚度")]),e("th",{staticClass:"hxjx_table_th_width table_tdth"},[t._v("喂料角度")]),e("th",{staticClass:"hxjx_table_th_width table_tdth"},[t._v("设定值")]),e("th",{staticClass:"hxjx_table_th_width table_tdth"},[t._v("判定确认")]),e("th",{staticClass:"hxjx_table_th_width table_tdth"},[t._v("程序设定员")]),e("th",{staticClass:"hxjx_table_th_width table_tdth"},[t._v("备注")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("thead",[e("tr",[e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"2"}},[t._v("粗轧后厚度:")]),e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"2"}}),e("th",{staticClass:"hxjx_table_th_width table_tdth"}),e("th",{staticClass:"hxjx_table_th_width table_tdth"},[t._v("轧制员:")]),e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"3"}})])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("thead",[e("tr",[e("th",{staticClass:"hxjx_table_th_width table_tdth",staticStyle:{"vertical-align":"middle"},attrs:{rowspan:"2"}},[t._v("道次")]),e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"5"}},[t._v("四辊精轧记录")]),e("th",{staticClass:"hxjx_table_th_width table_tdth",staticStyle:{"vertical-align":"middle"},attrs:{colspan:"3",rowspan:"2"}},[t._v(" 程序设定员 ")]),e("th",{staticClass:"hxjx_table_th_width table_tdth",staticStyle:{"vertical-align":"middle"},attrs:{rowspan:"2"}},[t._v("备注")])]),e("tr",[e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"2"}},[t._v("设定值范围(±0.2)")]),e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"2"}},[t._v("辊缝设定")]),e("th",{staticClass:"hxjx_table_th_width table_tdth"},[t._v("判定")])])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("thead",[e("tr",[e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"3"}},[t._v(" 厚度标准值: "),e("span",{attrs:{id:"hxjx-table-thickness"}})]),e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"2"}},[t._v("精轧后厚度值:")]),e("th",{staticClass:"hxjx_table_th_width table_tdth"}),e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"2"}},[t._v("OK □ NG □")]),e("th",{staticClass:"hxjx_table_th_width table_tdth"})]),e("tr",[e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"3"}},[t._v("轧制日期:")]),e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"2"}},[t._v("轧制人员签字确认:")]),e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"5"}})])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("table",{staticClass:"table table-hover table-bordered table-striped table-condensed text-nowrap",staticStyle:{"vertical-align":"middle"}},[e("thead",[e("tr",[e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"9"}},[t._v(" 精轧参数参考设定值,实际压下量根据产品厚度及厚度均匀性进行设定(精轧实际设定值在设定值范围内即可) ")])])])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"hxjx_popup_header_danger"},[e("span",{staticStyle:{float:"left"}},[t._v("故障")])])}],_=e("5a23"),h=e("503a"),i={name:"index",data:function(){return{MessageParams:{state:0},showFault:!1,dataList:[],indexSelect:0,technologyId:"",params:{state:0,pageSize:999},params2:{state:1,pageSize:999},technologyInfoList:[],technologyInfoListByFour:[],messageData:{}}},methods:{success:function(){var t=this;if(0!=this.dataList.length){var a={batchId:this.dataList[0].batchId,state:0};Object(_["f"])(a).then((function(a){1===a.data?(alert("钽靶原料成功提交至轧制"),t.dataList=[]):alert("提交失败,请检查工艺是否相同")}))}else alert("钽靶原料列表为空,不可提交")},getTechnologyInfo:function(t){var a=this;this.indexSelect=t;var e=this.params;if(e.technologyId=this.dataList[t].technology,this.technologyId=e.technologyId,null!=e.technologyId){Object(_["b"])(e).then((function(t){a.technologyInfoList=t.rows}));var s=this.params2;s.technologyId=this.dataList[t].technology,Object(_["b"])(s).then((function(t){a.technologyInfoListByFour=t.rows}))}},getDataList:function(){var t=this,a={state:0};Object(_["a"])(a).then((function(a){t.dataList=a.rows,console.log(a.rows),null!=a.rows[0].id&&0===t.indexSelect&&t.getTechnologyInfo(0)}))},getFault:function(){var t=this;Object(h["a"])().then((function(a){0!==a.data&&(t.showFault=!0,Object(_["d"])(t.MessageParams).then((function(a){t.messageData=a.data})))}))},ensure:function(){var t=this,a={state:1};Object(_["e"])(a).then((function(a){t.showFault=!1}))},clear:function(){Object(_["c"])().then((function(t){alert("初始化成功")}))}},mounted:function(){var t=this;clearInterval(this.intervalTime),this.getDataList(),this.intervalTime=setInterval((function(){Object(h["b"])(),t.getFault(),t.getDataList()}),3e3)},created:function(){}},n=i,c=(e("ef53"),e("2877")),d=Object(c["a"])(n,s,l,!1,null,"452716d0",null);a["default"]=d.exports},"503a":function(t,a,e){"use strict";e.d(a,"b",(function(){return l})),e.d(a,"a",(function(){return _}));var s=e("b775");function l(t){return Object(s["a"])({url:"/work/message/checkNewIP",method:"get",params:t})}function _(t){return Object(s["a"])({url:"/work/message/getFaultMessage",method:"get",params:t})}},"5a23":function(t,a,e){"use strict";e.d(a,"f",(function(){return l})),e.d(a,"b",(function(){return _})),e.d(a,"a",(function(){return h})),e.d(a,"d",(function(){return i})),e.d(a,"e",(function(){return n})),e.d(a,"c",(function(){return c}));var s=e("b775");function l(t){return Object(s["a"])({url:"/work/step/resource",method:"get",params:t})}function _(t){return Object(s["a"])({url:"/work/technology/list",method:"get",params:t})}function h(t){return Object(s["a"])({url:"/work/material/list1",method:"get",params:t})}function i(t){return Object(s["a"])({url:"/work/message/data",method:"get",params:t})}function n(t){return Object(s["a"])({url:"/work/message/update",method:"get",params:t})}function c(){return Object(s["a"])({url:"/work/material/clear",method:"get"})}},"97db":function(t,a,e){},ef53:function(t,a,e){"use strict";e("97db")}}]);