(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c046e5b2"],{"22d7":function(t,r,e){},6276:function(t,r,e){"use strict";e("22d7")},"779a":function(t,r,e){"use strict";e.d(r,"d",(function(){return o})),e.d(r,"a",(function(){return s})),e.d(r,"c",(function(){return n})),e.d(r,"b",(function(){return i})),e.d(r,"e",(function(){return d})),e.d(r,"f",(function(){return l})),e.d(r,"g",(function(){return u}));var a=e("66df"),o=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.WorkOrder_WorkOrder.LstWorkOrder",data:t})},s=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.WorkOrder_WorkOrder.AddWorkOrder",data:t})},n=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.WorkOrder_WorkOrder.GetModuleLst",data:t})},i=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.WorkOrder_WorkOrder.DetailWorkOrder",data:t})},d=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.WorkOrder_WorkOrder.UpdateChatRecodeWorkOrder",data:t})},l=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.File.Upload",data:t})},u=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.File.UploadType",data:t})}},7998:function(t,r,e){"use strict";e.r(r);var a=function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("div",{staticClass:"workorder"},[e("div",{staticClass:"workorder__h"},[e("p",{staticClass:"workorder__h--p"},[t._v(" "+t._s(t.$t("workorderlist1")))])]),e("div",{staticClass:"workorder__table"},[e("div",{staticClass:"workorder__table__header"},[e("div",{staticClass:"workorder__table__header-status"},[e("p",[t._v(t._s(t.$t("workorderlist2")))]),e("RadioGroup",{attrs:{type:"button"},on:{"on-change":t.changeStatus},model:{value:t.status,callback:function(r){t.status=r},expression:"status"}},t._l(t.statusArr,(function(r){return e("Radio",{key:r.value,attrs:{label:r.value,value:r.value}},[t._v(t._s(r.label))])})),1)],1),e("span",{staticClass:"workorder__table__header-line"}),e("Input",{staticStyle:{width:"auto"},attrs:{value:t.keyword,search:"",placeholder:""},on:{"on-change":t.getKeyWord,"on-search":t.getLstWorkOrder}})],1),e("Button",{staticClass:"workorder__table__header-reset",attrs:{icon:"ios-refresh"},on:{click:t.refresh}},[t._v(t._s(t.$t("workorderlist3")))]),e("Button",{staticClass:"workorder__table__add",attrs:{type:"primary"},on:{click:t.goAddWorkOrder}},[t._v(t._s(t.$t("workorderlist4")))])],1),e("div",{staticClass:"workorder__table__list"},[e("Table",{staticClass:"ListTab",attrs:{border:"",loading:t.disabledTab,columns:t.columnsList,data:t.dataList},scopedSlots:t._u([{key:"title",fn:function(r){var a=r.row;return[e("router-link",{attrs:{to:{name:"apiUsbWorkOrderInfo",query:{id:a.id}}}},[e("p",{staticStyle:{color:"#486dbe"}},[t._v(t._s(a.title))])])]}},{key:"status",fn:function(r){var a=r.row;return[e("p",{staticStyle:{color:"red"}},[t._v(t._s(t.statusArr[a.status].label))])]}},{key:"serviceName",fn:function(r){var a=r.row;return[e("p",[t._v(t._s(""==a.accept_service_name?"-":a.accept_service_name))])]}},{key:"operation",fn:function(r){var a=r.row;return[e("router-link",{attrs:{to:{name:"apiUsbWorkOrderInfo",query:{id:a.id}}}},[e("p",{staticStyle:{color:"#486DBE"}},[t._v(t._s(t.$t("workorderlist5")))])])]}}])})],1),e("div",{staticClass:"pagination"},[e("Page",{attrs:{total:t.total,"show-elevator":"","show-sizer":""},on:{"on-page-size-change":t.changeSize,"on-change":t.changePage}})],1)])},o=[],s=e("779a"),n=e("c276"),i={name:"",data:function(){return{token:Object(n["g"])(),keyword:"",total:0,status:0,page:1,perpage:10,disabledTab:!1,statusArr:[{label:this.$t("workorderlist6"),value:0},{label:this.$t("workorderlist7"),value:1},{label:this.$t("workorderlist71"),value:2},{label:this.$t("workorderlist8"),value:3},{label:this.$t("workorderlist9"),value:4}],columnsList:[{title:this.$t("workorderlist11"),key:"order_no",align:"center"},{title:this.$t("workorderlist12"),key:"title",slot:"title",align:"center"},{title:this.$t("workorderlist13"),key:"module_name",align:"center"},{title:this.$t("workorderlist14"),key:"add_time",align:"center"},{title:this.$t("workorderlist15"),key:"status",align:"center",slot:"status"},{title:this.$t("workorderlist16"),key:"accept_service_name",slot:"serviceName",align:"center"},{title:this.$t("workorderlist17"),slot:"operation",width:260,align:"center"}],dataList:[]}},created:function(){this.getLstWorkOrder()},methods:{getLstWorkOrder:function(){var t=this;t.disabledTab=!0;var r=new FormData;r.append("access_token",t.token),r.append("page",t.page),r.append("perpage",t.perpage),t.keyword&&r.append("title",t.keyword),""!==t.status&&r.append("status",t.status),Object(s["d"])(r).then((function(r){200===r.ret&&(t.dataList=r.data.items,t.total=r.data.total),t.disabledTab=!1}))},getKeyWord:function(t){this.keyword=t.data},changeSize:function(t){this.perpage=t,this.getLstWorkOrder()},changePage:function(t){this.page=t,this.getLstWorkOrder()},changeStatus:function(t){this.status=t,this.getLstWorkOrder()},refresh:function(){this.status=0,this.keyword="",this.getLstWorkOrder()},goAddWorkOrder:function(){this.$router.push({name:"apiUsbWorkOrderAdd"})}}},d=i,l=(e("6276"),e("4ac2")),u=Object(l["a"])(d,a,o,!1,null,null,null);r["default"]=u.exports}}]);