Files
industry-ui/dist2/static/js/chunk-c0d61014.975a0259.js
2024-11-25 09:33:57 +08:00

1 line
14 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c0d61014"],{"2bfa":function(t,a,e){"use strict";e.d(a,"g",(function(){return l})),e.d(a,"f",(function(){return n})),e.d(a,"a",(function(){return _})),e.d(a,"c",(function(){return i})),e.d(a,"e",(function(){return h})),e.d(a,"k",(function(){return r})),e.d(a,"b",(function(){return c})),e.d(a,"j",(function(){return d})),e.d(a,"d",(function(){return o})),e.d(a,"h",(function(){return b})),e.d(a,"i",(function(){return x}));var s=e("b775");function l(t){return Object(s["a"])({url:"/work/step/abnormal",method:"get",params:t})}function n(t){return Object(s["a"])({url:"/work/material/submit",method:"get",params:t})}function _(t){return Object(s["a"])({url:"/work/material/abnormal_list",method:"get",params:t})}function i(t){return Object(s["a"])({url:"/work/material/checkFlagError",method:"get",params:t})}function h(t){return Object(s["a"])({url:"/work/material/nextStepFlagError",method:"get",params:t})}function r(t){return Object(s["a"])({url:"/work/step/nextError",method:"get",params:t})}function c(t){return Object(s["a"])({url:"/work/material/abnormal_start",method:"get",params:t})}function d(t){return Object(s["a"])({url:"/work/step/finishError/"+t,method:"get"})}function o(t){return Object(s["a"])({url:"/work/material/nextError",method:"get",params:t})}function b(t){return Object(s["a"])({url:"/work/step/check_abnormal/"+t,method:"get"})}function x(t){return Object(s["a"])({url:"/work/step/del",method:"post",data:t})}},"2dcb":function(t,a,e){"use strict";e("e247")},"503a":function(t,a,e){"use strict";e.d(a,"b",(function(){return l})),e.d(a,"a",(function(){return n}));var s=e("b775");function l(t){return Object(s["a"])({url:"/work/message/checkNewIP",method:"get",params:t})}function n(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 n})),e.d(a,"a",(function(){return _})),e.d(a,"d",(function(){return i})),e.d(a,"e",(function(){return h})),e.d(a,"c",(function(){return r}));var s=e("b775");function l(t){return Object(s["a"])({url:"/work/step/resource",method:"get",params:t})}function n(t){return Object(s["a"])({url:"/work/technology/list",method:"get",params:t})}function _(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 h(t){return Object(s["a"])({url:"/work/message/update",method:"get",params:t})}function r(){return Object(s["a"])({url:"/work/material/clear",method:"get"})}},"89c2":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",{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%"},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"}},[t._m(1),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(2)]),e("table",{staticClass:"table table-hover table-bordered table-striped table-condensed text-nowrap",staticStyle:{"vertical-align":"middle"}},[t._m(3),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(4)]),t._m(5)])]),e("div",{staticStyle:{display:"flex","justify-content":"center"}},[e("div",{},[e("el-button",{staticStyle:{"margin-right":"0"},attrs:{href:"#",type:"primary"},on:{click:t.success}},[t._v("确定 ")])],1)]),t.showFault?e("div",{staticClass:"hxjx_popup",attrs:{id:"hxjx_popup"}},[t._m(6),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("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(" 轧制工艺单 ")]),e("th",{staticClass:"hxjx_table_th_width table_tdth",attrs:{colspan:"4"}})]),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"})]),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("粗轧操作记录")])]),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("故障")])])}],n=e("503a"),_=e("5a23"),i=e("2bfa"),h={name:"index",data:function(){return{MessageParams:{state:0},showFault:!1,dataList:[],indexSelect:0,params:{state:0,pageSize:999},params2:{state:1,pageSize:999},technologyInfoList:[],technologyInfoListByFour:[],messageData:{}}},methods:{ensure:function(){var t=this,a={state:1};Object(_["e"])(a).then((function(a){t.showFault=!1}))},success:function(){var t=this;if(0!=this.dataList.length){var a={batchId:this.dataList[0].batchId,state:4};Object(i["f"])(a).then((function(a){0!==a.data?(alert("异常钽靶料成功提交至异常轧制页面"),t.dataList=[]):alert("提交失败,请检查工艺是否相同")}))}else alert("钽靶原料列表为空,不可提交")},getDataList:function(){var t=this,a={state:4,delFlag:1};Object(i["a"])(a).then((function(a){t.dataList=a.rows,t.dataList=a.rows,null!=a.rows[0].id&&0===t.indexSelect&&t.getTechnologyInfo(0)}))},getTechnologyInfo:function(t){var a=this;this.indexSelect=t;var e=this.params;e.technologyId=this.dataList[t].technology,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}))},getFault:function(){var t=this;Object(n["a"])().then((function(a){0!==a.data&&(t.showFault=!0,Object(_["d"])(t.MessageParams).then((function(a){t.messageData=a.data})))}))}},mounted:function(){var t=this;clearInterval(this.intervalTime),this.getDataList(),this.intervalTime=setInterval((function(){t.getFault(),t.getDataList()}),3e3)},created:function(){Object(n["b"])(),this.getFault(),this.getDataList()}},r=h,c=(e("2dcb"),e("2877")),d=Object(c["a"])(r,s,l,!1,null,"38ccd6ce",null);a["default"]=d.exports},e247:function(t,a,e){}}]);