(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-743db3e8"],{"0d9e":function(t,e,s){"use strict";s.r(e);var i=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"header"},[e("div",{staticClass:"header_top"},[e("Button",{staticClass:"header_btn",attrs:{type:"primary",ghost:"",icon:t.is_show?"ios-arrow-dropup":"ios-arrow-dropdown"},on:{click:t.handleShow}},[e("div",{staticStyle:{"margin-right":"0.6rem"}},[t._v(" "+t._s(t.is_show?"收起":"展开")+" ")])]),e("div",{staticStyle:{"margin-right":"1rem",color:"#66a9f0"}},[t._v("王小伟")])],1),e("div",{staticClass:"header_middle"},[e("b-dropdown",{staticClass:"m-2",attrs:{size:"sm",text:"Large",disabled:t.is_use}},[e("b-dropdown-item-button",[t._v("Action")]),e("b-dropdown-item-button",[t._v("Another action")]),e("b-dropdown-item-button",[t._v("Something else here")])],1),e("b-dropdown",{staticClass:"m-2",attrs:{size:"sm",text:"Large",disabled:t.is_use}},[e("b-dropdown-item-button",[t._v("Action")]),e("b-dropdown-item-button",[t._v("Another action")]),e("b-dropdown-item-button",[t._v("Something else here")])],1),e("b-dropdown",{staticClass:"m-2",attrs:{size:"sm",text:"Large",disabled:t.is_use}},[e("b-dropdown-item-button",[t._v("Action")]),e("b-dropdown-item-button",[t._v("Another action")]),e("b-dropdown-item-button",[t._v("Something else here")])],1)],1),t._m(0),t._m(1)]),e("div",{staticClass:"bdy"},[e("div",{staticStyle:{"font-size":"1.3rem","font-weight":"bold"}},[t._v("工序")]),e("div",[e("b-form-select",{staticStyle:{"margin-top":"1rem",height:"3.4rem",width:"100%","font-size":"1.5rem","border-radius":"0.6rem",background:"#fff",border:"0.1rem solid"},attrs:{options:t.options},scopedSlots:t._u([{key:"first",fn:function(){return[e("b-form-select-option",{attrs:{value:"",disabled:""}},[t._v("请选择工序")])]},proxy:!0}]),model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}})],1),e("div",{staticClass:"bdy_btn"},[e("Button",{staticClass:"header_btn",staticStyle:{"margin-right":"3rem",height:"2.6rem"},attrs:{type:"primary"},on:{click:t.handleReturn}},[t._v(" 返回")]),e("Button",{staticClass:"header_btn",staticStyle:{"margin-left":"3rem",height:"2.6rem"},attrs:{type:"primary"},on:{click:t.handelGoSure}},[t._v(" 确认")])],1)])])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"header_middle1 ot"},[e("div",{staticClass:"ft"},[t._v("58  ")]),e("div",{staticClass:"ft"},[t._v("12  ")]),e("div",{staticClass:"ft"},[t._v("12  ")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"header_footer"},[e("div",{staticStyle:{"margin-left":"1rem"}},[t._v("已完成56/10")]),e("div",{staticStyle:{"margin-right":"1.4rem"}},[t._v("已完成10%")])])}],r={data(){return{is_show:!0,is_use:!1,selected:"",options:[]}},created(){this.axios.post("/api/processList").then(t=>{this.options=t.data.data,this.options.forEach(t=>{t.value=t.id,t.text=t.title})})},methods:{handelGoSure(){if(!this.selected)return this.$Message.warning("请先选择工序！");this.$router.push({path:"/cms/finish/detail",query:{id:this.selected}})},handleReturn(){this.$router.go(-1)},handleShow(){this.is_show=!this.is_show,console.log(document.getElementsByClassName("header")),this.is_show?(document.getElementsByClassName("header")[0].style="height:7rem;overflow:hidden;transition:all .4s;",setTimeout(()=>{document.getElementsByClassName("header")[0].style="overflow:none;",this.is_use=!1},400)):(this.is_use=!0,document.getElementsByClassName("header")[0].style="height:2.7rem;overflow:hidden;transition:all .4s;")}}},a=r,n=(s("11b7"),s("2877")),d=Object(n["a"])(a,i,o,!1,null,"43c7ffed",null);e["default"]=d.exports},"11b7":function(t,e,s){"use strict";s("d727")},d727:function(t,e,s){}}]);