(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c9156"],{5841:function(e,t,s){"use strict";s.r(t);var n=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("Table",{attrs:{height:"600",border:"",columns:e.demandColumns,data:e.demandList}})},a=[],i=(s("96cf"),s("3b8d")),r=s("7e1e"),u=s("db7f"),c={name:"batchDetails",data:function(){return{demandList:[],demandColumns:[{title:"需求编号",key:"demand_code"},{title:"需求类型",key:"business_type"},{title:"用户名",key:"customer_name"},{title:"联系电话",key:"customer_number"},{title:"区域",key:"service_name"},{title:"需求状态",key:"business_status"},{title:"需求描述",key:"memo_info"},{title:"创建时间",key:"created_at"}]}},watch:{$route:function(e,t){this.initData()}},methods:{initData:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,s,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(r["c"])({id:this.$route.query.id});case 3:t=e.sent,s=u["a"].business_status,n=u["a"].business_type,this.demandList=t.map((function(e){return e.business_type=n[e.business_type]||e.business_type,e.business_status=s[e.business_status]||e.business_status,e})),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),this.$Message.error(e.t0.message);case 11:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}()},created:function(){this.initData()}},o=c,d=s("2877"),l=Object(d["a"])(o,n,a,!1,null,null,null);t["default"]=l.exports}}]);