(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1720d4d4"],{"07dd":function(s,e,o){"use strict";var i=o("6f73"),t=o.n(i);t.a},"439e":function(s,e,o){s.exports=o.p+"img/get.613810ef.png"},"4b22":function(s,e,o){"use strict";o.r(e);var i=function(){var s=this,e=s.$createElement,i=s._self._c||e;return i("div",{staticClass:"workDetail headP"},[i("Head",{attrs:{title:s.title}}),i("div",{staticClass:"top"},[i("h4",[s._v(s._s(s.workList.reason)+"("+s._s(s.workList.bike_no)+")")]),i("p",[i("span",[s._v("发生位置:")]),i("span",[s._v(s._s(s.workList.location))])]),i("p",[i("span",[s._v("创建人:")]),i("span",[s._v(s._s(s.workList.created_man))])]),i("p",[i("span",[s._v("处理人:")]),i("span",[s._v(s._s(s.workList.received_name?s.workList.received_name:"暂无"))])]),i("p",[i("span",[s._v("关闭人:")]),i("span",[s._v(s._s(s.workList.work_over_name?s.workList.work_over_name:"暂无"))])]),i("div",{class:{isShow:1==s.isShow},on:{click:s.showIcon}},[i("i",{staticClass:"iconfont"},[s._v("")])])]),i("div",{staticClass:"down"},[i("div",[i("div",{staticClass:"flexCC"},[i("img",{directives:[{name:"show",rawName:"v-show",value:s.oneShow,expression:"oneShow"}],staticClass:"cicle",attrs:{src:o("d215")}}),i("img",{directives:[{name:"show",rawName:"v-show",value:s.twoShow,expression:"twoShow"}],staticClass:"line",attrs:{src:o("dd36")}}),i("img",{directives:[{name:"show",rawName:"v-show",value:s.twoShow,expression:"twoShow"}],staticClass:"cicle",attrs:{src:o("d215")}}),i("img",{directives:[{name:"show",rawName:"v-show",value:s.threeShow,expression:"threeShow"}],staticClass:"line",attrs:{src:o("dd36")}}),i("img",{directives:[{name:"show",rawName:"v-show",value:s.threeShow,expression:"threeShow"}],staticClass:"cicle",attrs:{src:o("d215")}}),i("img",{directives:[{name:"show",rawName:"v-show",value:s.fourShow,expression:"fourShow"}],staticClass:"line",attrs:{src:o("dd36")}}),i("img",{directives:[{name:"show",rawName:"v-show",value:s.fourShow,expression:"fourShow"}],staticClass:"cicle",attrs:{src:o("d215")}})])]),i("ul",[i("li",{directives:[{name:"show",rawName:"v-show",value:s.oneShow,expression:"oneShow"}],staticClass:"flexA"},[i("div",[i("p",{staticClass:"status"},[s._v("待接单")]),i("p",{directives:[{name:"show",rawName:"v-show",value:s.workList.created_man,expression:"workList.created_man"}]},[s._v(s._s(s.workList.created_man))])]),i("div",[i("p",[s._v(s._s(s.workList.created_at))])])]),i("li",{directives:[{name:"show",rawName:"v-show",value:s.twoShow,expression:"twoShow"}],staticClass:"flexA"},[i("div",[i("p",{staticClass:"status"},[s._v("处理中")]),i("p",{directives:[{name:"show",rawName:"v-show",value:s.workList.received_name,expression:"workList.received_name"}]},[s._v(s._s(s.workList.received_name))])]),i("div",[i("p",[s._v(s._s(s.workList.received_at))])])]),i("li",{directives:[{name:"show",rawName:"v-show",value:s.threeShow,expression:"threeShow"}],staticClass:"flexA"},[i("div",[i("p",{staticClass:"status"},[s._v("已处理")]),i("p",{directives:[{name:"show",rawName:"v-show",value:s.workList.work_over_name,expression:"workList.work_over_name"}]},[s._v(s._s(s.workList.work_over_name))])]),i("div",[i("p",[s._v(s._s(s.workList.work_over_time))])])]),i("li",{directives:[{name:"show",rawName:"v-show",value:s.fourShow,expression:"fourShow"}],staticClass:"flexA"},[i("div",[i("p",{staticClass:"status"},[s._v("已完成")]),i("p",{directives:[{name:"show",rawName:"v-show",value:s.workList.work_over_name,expression:"workList.work_over_name"}]},[s._v(s._s(s.workList.work_over_name))])]),i("div",[i("p",[s._v(s._s(s.workList.work_over_time))])])])])]),i("div",{directives:[{name:"show",rawName:"v-show",value:s.isShow,expression:"isShow"}],staticClass:"cover"}),i("div",{directives:[{name:"show",rawName:"v-show",value:s.isShow,expression:"isShow"}],staticClass:"workIcon"},[i("div",{staticClass:"iconCon"},[i("p",{directives:[{name:"show",rawName:"v-show",value:1==this.planned,expression:"this.planned == 1"}]},[i("span",{on:{click:s.getWork}},[s._v("领取工单")]),i("img",{attrs:{src:o("439e")},on:{click:s.getWork}})]),i("p",{directives:[{name:"show",rawName:"v-show",value:2==this.planned,expression:"this.planned == 2"}]},[i("span",{on:{click:s.reported}},[s._v("有故障,报告组长并下线车辆")]),i("img",{attrs:{src:o("ef41")},on:{click:s.reported}})]),i("p",{directives:[{name:"show",rawName:"v-show",value:2==this.planned,expression:"this.planned == 2"}]},[i("span",{on:{click:s.reported}},[s._v("可以上线,但有情况需要上报组长处理")]),i("img",{attrs:{src:o("6d27")},on:{click:s.reported}})]),i("p",{directives:[{name:"show",rawName:"v-show",value:2==this.planned,expression:"this.planned == 2"}]},[i("span",{on:{click:s.finish}},[s._v("已处理好,正常关闭")]),i("img",{attrs:{src:o("62a8")},on:{click:s.finish}})])])]),i("div",{directives:[{name:"show",rawName:"v-show",value:s.popShow,expression:"popShow"}],staticClass:"cover popCover"}),i("div",{directives:[{name:"show",rawName:"v-show",value:s.popShow,expression:"popShow"}],staticClass:"pop"},[i("div",{directives:[{name:"show",rawName:"v-show",value:!s.finishShow,expression:"!finishShow"}],staticClass:"popCon"},[i("p",[s._v("生成组长工单")]),i("input",{directives:[{name:"model",rawName:"v-model",value:s.remarkInp,expression:"remarkInp"}],attrs:{type:"text",placeholder:"请输入报告组长内容"},domProps:{value:s.remarkInp},on:{input:function(e){e.target.composing||(s.remarkInp=e.target.value)}}}),i("div",[i("span",{on:{click:s.close}},[s._v("取消")]),i("span",{on:{click:s.submit}},[s._v("确定")])])]),i("div",{directives:[{name:"show",rawName:"v-show",value:s.finishShow,expression:"finishShow"}],staticClass:"popCon finishCon"},[i("p",[s._v("完成并关闭工单")]),i("p",{staticClass:"normal"},[s._v("已处理好:正常")]),i("div",[i("span",{on:{click:s.close}},[s._v("取消")]),i("span",{on:{click:s.finishBtn}},[s._v("确定")])])])])],1)},t=[],a=o("76a0"),r={data:function(){return{title:"工单详情",isShow:!1,popShow:!1,finishShow:!1,oneShow:!1,twoShow:!1,threeShow:!1,fourShow:!1,planned:1,workId:this.$route.params.work_order_id,remarkInp:"",workList:[]}},created:function(){this.getStatus()},methods:{showIcon:function(){this.isShow=!this.isShow,4!=this.planned&&3!=this.planned||(this.isShow=!1,Object(a["Toast"])("订单已处理完毕"))},getStatus:function(){var s=this;this.axios.get(config.url.workOrderDetail+this.workId).then(function(e){if(200==e.status){console.log(e),s.workList=e.data,s.planned=e.data.planned;var o=e.data.planned;switch(o){case 1:s.oneShow=!0;break;case 2:s.oneShow=!0,s.twoShow=!0;break;case 3:s.oneShow=!0,s.twoShow=!0,s.threeShow=!0;break;case 4:s.oneShow=!0,s.twoShow=!0,s.threeShow=!0,s.fourShow=!0;break;default:}}else console.log(11111)})},getWork:function(){var s=this;this.axios.get(config.url.receive+this.workId).then(function(e){200==e.status&&(s.getStatus(),Object(a["Toast"])(e.data),s.isShow=!1,console.log(e))})},reported:function(){this.popShow=!0},close:function(){console.log(11111),this.popShow=!1},submit:function(){var s=this;this.axios.post(config.url.upgrade,this.qs.stringify({work_order_id:this.workId,remark:this.remarkInp})).then(function(e){200==e.status&&(s.getStatus(),Object(a["Toast"])(e.data),s.popShow=!1,s.isShow=!1)}).catch(function(e){Object(a["Toast"])(e.response.data.message),s.popShow=!1,s.isShow=!1})},finish:function(){this.popShow=this.finishShow=!0},finishBtn:function(){var s=this;this.axios.get(config.url.over+this.workId).then(function(e){200==e.status&&(s.getStatus(),Object(a["Toast"])(e.data),s.isShow=s.popShow=!1)}).catch(function(e){Object(a["Toast"])(e.response.data.message),s.isShow=s.popShow=!1})}}},n=r,w=(o("07dd"),o("2877")),c=Object(w["a"])(n,i,t,!1,null,"220131ff",null);e["default"]=c.exports},"62a8":function(s,e,o){s.exports=o.p+"img/finish.06ca489a.png"},"6d27":function(s,e,o){s.exports=o.p+"img/online.23c293ef.png"},"6f73":function(s,e,o){},d215:function(s,e){s.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAABS2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAA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