(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-eca8caf6"],{6276:function(t,e,r){"use strict";var a=r("9f37"),s=r.n(a);s.a},"779a":function(t,e,r){"use strict";r.d(e,"b",(function(){return s})),r.d(e,"a",(function(){return o})),r.d(e,"c",(function(){return i})),r.d(e,"d",(function(){return n}));var a=r("66df"),s=function(t){return a["a"].request({method:"post",url:"api/admin.php?s=Admin.WorkOrder_WorkOrder.LstWorkOrder",data:t})},o=function(t){return a["a"].request({method:"post",url:"api/admin.php?s=Admin.WorkOrder_WorkOrder.DetailWorkOrder",data:t})},i=function(t){return a["a"].request({method:"post",url:"api/admin.php?s=Admin.WorkOrder_WorkOrder.UpdateChatRecodeWorkOrder",data:t})},n=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.File.UploadType",data:t})}},7998:function(t,e,r){"use strict";r.r(e);var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"workorder"},[r("div",{staticClass:"workorder__h"},[r("p",{staticClass:"workorder__h--p"},[t._v(" "+t._s(t.$t("workorderlist1")))])]),r("div",{staticStyle:{"background-color":"#fff","border-radius":"10px"}},[r("div",{staticClass:"workorder__table"},[r("div",{staticClass:"workorder__table__header"},[r("div",{staticClass:"workorder__table__header-status"},[r("p",[t._v(t._s(t.$t("workorderlist2")))]),r("RadioGroup",{attrs:{type:"button"},on:{"on-change":t.changeStatus},model:{value:t.status,callback:function(e){t.status=e},expression:"status"}},t._l(t.statusArr,(function(e){return r("Radio",{key:e.value,attrs:{label:e.value,value:e.value}},[t._v(t._s(e.label))])})),1)],1),r("span",{staticClass:"workorder__table__header-line"}),r("Input",{staticStyle:{width:"auto"},attrs:{value:t.keyword,search:"",placeholder:""},on:{"on-change":t.getKeyWord,"on-search":t.getLstWorkOrder}})],1),r("Button",{staticClass:"workorder__table__header-reset",attrs:{icon:"ios-refresh"},on:{click:t.refresh}},[t._v(t._s(t.$t("workorderlist3")))])],1),r("div",{staticClass:"workorder__table__list"},[r("Table",{staticClass:"ListTab",attrs:{border:"",loading:t.disabledTab,columns:t.columnsList,data:t.dataList},scopedSlots:t._u([{key:"title",fn:function(e){var a=e.row;return[r("router-link",{attrs:{to:{name:"apiUsbWorkOrderInfo",query:{id:a.id}}}},[r("p",{staticStyle:{color:"#486dbe"}},[t._v(t._s(a.title))])])]}},{key:"status",fn:function(e){var a=e.row;return[r("p",{staticStyle:{color:"red"}},[t._v(t._s(t.statusArr[a.status].label))])]}},{key:"serviceName",fn:function(e){var a=e.row;return[r("p",[t._v(t._s(""==a.accept_service_name?"-":a.accept_service_name))])]}},{key:"operation",fn:function(e){var a=e.row;return[r("router-link",{attrs:{to:{name:"apiUsbWorkOrderInfo",query:{id:a.id}}}},[r("p",{staticStyle:{color:"#486DBE"}},[t._v(t._s(t.$t("workorderlist5")))])])]}}])}),r("div",{staticClass:"pagination"},[r("Page",{attrs:{total:t.total,"show-elevator":"","show-sizer":""},on:{"on-page-size-change":t.changeSize,"on-change":t.changePage}})],1)],1)])])},s=[],o=r("779a"),i=r("c276"),n={name:"",data:function(){return{token:Object(i["h"])(),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("workorderlist10"),key:"id",align:"center",width:"80"},{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("tel"),key:"phone",align:"center"},{title:this.$t("email"),key:"email",align:"center"},{title:this.$t("workorderlist16"),key:"accept_service_name",slot:"serviceName",align:"center"},{title:this.$t("workorderlist17"),slot:"operation",width:100,align:"center"}],dataList:[]}},created:function(){this.getLstWorkOrder()},methods:{getLstWorkOrder:function(){var t=this;t.disabledTab=!0;var e=new FormData;e.append("access_token",t.token),e.append("page",t.page),e.append("perpage",t.perpage),t.keyword&&e.append("title",t.keyword),""!==t.status&&e.append("status",t.status),Object(o["b"])(e).then((function(e){200===e.ret&&(t.dataList=e.data.items,t.total=e.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()}}},l=n,d=(r("6276"),r("2877")),c=Object(d["a"])(l,a,s,!1,null,null,null);e["default"]=c.exports},"9f37":function(t,e,r){}}]);