Commit 24c1920c authored by hehaiyang's avatar hehaiyang

1

parent f86e0d86
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport><title>途比达后台管理系统</title><link rel="shortcut icon" type=image/x-icon href=static/icon.ico><script src=base.js></script><script src=./static/base.js></script><link href=/css/app.44305c5d178e559b58252f3a6336d2c2.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/js/manifest.9d5196315079ab4290b6.js></script><script type=text/javascript src=/js/app.13a5a02ae85e4acdb479.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport><title>途比达后台管理系统</title><link rel="shortcut icon" type=image/x-icon href=static/icon.ico><script src=base.js></script><script src=./static/base.js></script><link href=/css/app.cfffdf995ab4b4f511b77c6a244250ec.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/js/manifest.a97eb0c3b37526046b23.js></script><script type=text/javascript src=/js/app.a539d20e77b8f28911f2.js></script></body></html>
\ No newline at end of file
webpackJsonp([100],{YipU:function(e,t){},mzJi:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={components:{breadNav:a("RwQt").default},data:function(){return{channelList:"",checkDay:"",checkType:"",channelId:"",tableList:[]}},methods:{query:function(){var e=this;if(""==this.checkDay)return this.$message.error("请选择检测日期");if(""==this.checkType)return this.$message.error("请选择对账类型");if(""==this.channelId)return this.$message.error("请选择渠道类型");var t={checkDay:this.checkDay,checkType:this.checkType,channelId:this.channelId};this.axios.post(this.getReportUrl("money/check/load"),t).then(function(t){"00"==t.data.code?e.tableList=t.data.data.details:e.$message.error(t.data.message)})},inintChannelList:function(){var e=this,t={companyId:this.$store.state.companyId,pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("channel/list"),t).then(function(t){"00"==t.data.code?e.channelList=t.data.data.list:e.$message.error(t.data.message)})}},mounted:function(){this.inintChannelList()}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"bigBox"},[a("breadNav",[e._v("对账明细")]),e._v(" "),a("div",{staticClass:"top"},[a("div",{staticClass:"item"},[a("span",[e._v("对账类型:")]),e._v(" "),a("el-select",{attrs:{clearable:"",filterable:""},model:{value:e.checkType,callback:function(t){e.checkType=t},expression:"checkType"}},[a("el-option",{key:"0",attrs:{label:"对账渠道",value:"0"}}),e._v(" "),a("el-option",{key:"1",attrs:{label:"对账胖丁支付(反扫,自助扫码)",value:"1"}}),e._v(" "),a("el-option",{key:"2",attrs:{label:"对账胖丁押金",value:"2"}})],1),e._v(" "),a("i",[e._v("*")])],1),e._v(" "),a("div",{staticClass:"item"},[a("span",[e._v("\n 渠道类型:\n ")]),e._v(" "),a("el-select",{attrs:{clearable:"",filterable:""},model:{value:e.channelId,callback:function(t){e.channelId=t},expression:"channelId"}},e._l(e.channelList,function(e){return a("el-option",{key:e.channelId,attrs:{label:e.companyName,value:e.channelId}})}),1),e._v(" "),a("i",[e._v("*")])],1),e._v(" "),a("div",{staticClass:"item"},[a("span",[e._v("\n 查询日期:\n ")]),e._v(" "),a("el-date-picker",{attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.checkDay,callback:function(t){e.checkDay=t},expression:"checkDay"}}),e._v(" "),a("i",{staticStyle:{position:"relative",left:"-30px"}},[e._v("*")])],1),e._v(" "),a("a",{staticClass:"btn4 item",on:{click:function(t){return e.query()}}},[e._v("查询")])]),e._v(" "),a("table",[e._m(0),e._v(" "),e._l(e.tableList,function(t,n){return a("tr",{key:n},[a("td",[e._v(e._s(t.channelId))]),e._v(" "),a("td",[e._v(e._s(t.channelOrderId))]),e._v(" "),a("td",[e._v(e._s(t.message))]),e._v(" "),a("td",[e._v(e._s(t.orderId))]),e._v(" "),a("td",[e._v(e._s(t.saleId))]),e._v(" "),a("td",[e._v(e._s(t.otherBuyMoney))]),e._v(" "),a("td",[e._v(e._s(t.otherBuyNum))]),e._v(" "),a("td",[e._v(e._s(t.otherCheckNum))]),e._v(" "),a("td",[e._v(e._s(t.otherRetMoney))]),e._v(" "),a("td",[e._v(e._s(t.otherRetNum))]),e._v(" "),a("td",[e._v(e._s(t.tbdBuyMoney))]),e._v(" "),a("td",[e._v(e._s(t.tbdBuyNum))]),e._v(" "),a("td",[e._v(e._s(t.tbdCheckNum))]),e._v(" "),a("td",[e._v(e._s(t.tbdRetMoney))]),e._v(" "),a("td",[e._v(e._s(t.tbdRetNum))])])})],2)],1)},staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("tr",[a("td",[e._v("渠道Id")]),e._v(" "),a("td",[e._v("渠道订单Id")]),e._v(" "),a("td",[e._v("对账具体错误信息")]),e._v(" "),a("td",[e._v("途比达订单Id")]),e._v(" "),a("td",[e._v("分销Id")]),e._v(" "),a("td",[e._v("第三方下单结算总额")]),e._v(" "),a("td",[e._v("第三方订单数量")]),e._v(" "),a("td",[e._v("第三方核销数量")]),e._v(" "),a("td",[e._v("第三方退票金额")]),e._v(" "),a("td",[e._v("第三方退票数量")]),e._v(" "),a("td",[e._v("途比达下单结算总额")]),e._v(" "),a("td",[e._v("途比达订单数量")]),e._v(" "),a("td",[e._v("途比达核销数量")]),e._v(" "),a("td",[e._v("途比达退票金额")]),e._v(" "),a("td",[e._v("途比达退票数量")])])}]};var v=a("C7Lr")(n,s,!1,function(e){a("YipU")},"data-v-3b3fc896",null);t.default=v.exports}});
\ No newline at end of file
webpackJsonp([101],{"9fYQ":function(t,a){},JFH5:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"total"},[e("ul",[e("router-link",{attrs:{to:"",tag:"li"}},[t._v("分销管理>")]),t._v(" "),e("router-link",{attrs:{to:"",tag:"li"}},[t._v("预存授信>")])],1),t._v(" "),e("div",{staticClass:"box"},[e("div",{staticClass:"head"},[e("span",[t._v("渠道名称:")]),t._v(" "),e("el-select",{attrs:{placeholder:"请选择渠道"}},[e("el-option",{attrs:{label:"区域一",value:"shanghai"}}),t._v(" "),e("el-option",{attrs:{label:"区域二",value:"beijing"}})],1),t._v(" "),e("button",[t._v("查询")])],1),t._v(" "),e("div",{staticClass:"order"},[e("table",[t._m(0),t._v(" "),e("tr",[e("td",[t._v("1")]),t._v(" "),e("td",[t._v("xxx")]),t._v(" "),e("td",[t._v("张三")]),t._v(" "),e("td",[t._v("123123123")]),t._v(" "),e("td",[t._v("22")]),t._v(" "),e("td",[t._v("332")]),t._v(" "),e("td",{staticClass:"exam"},[e("span",{on:{click:t.charge}},[t._v("充值")])])])])])])])},staticRenderFns:[function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("tr",[e("td",{attrs:{width:"133"}},[t._v("序号")]),t._v(" "),e("td",{attrs:{width:"253"}},[t._v("渠道名称")]),t._v(" "),e("td",{attrs:{width:"185"}},[t._v("联系人")]),t._v(" "),e("td",{attrs:{width:"206"}},[t._v("联系电话")]),t._v(" "),e("td",{attrs:{width:"199"}},[t._v("预存余额")]),t._v(" "),e("td",{attrs:{width:"227"}},[t._v("授信余额")]),t._v(" "),e("td",{attrs:{width:"164"}},[t._v("操作")])])}]};var r=e("C7Lr")({methods:{charge:function(){this.$router.push({name:"trecharge"})}}},v,!1,function(t){e("9fYQ")},"data-v-3b03a2f0",null);a.default=r.exports}});
\ No newline at end of file
webpackJsonp([100],{"9YxD":function(e,t){},"N+Q9":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={components:{leftSide:n("FegP").a}},a={render:function(){var e=this.$createElement;return(this._self._c||e)("leftSide")},staticRenderFns:[]};var c=n("C7Lr")(r,a,!1,function(e){n("9YxD")},"data-v-38b619d4",null);t.default=c.exports}});
\ No newline at end of file
webpackJsonp([102],{"9YxD":function(e,t){},"N+Q9":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={components:{leftSide:n("FegP").a}},a={render:function(){var e=this.$createElement;return(this._self._c||e)("leftSide")},staticRenderFns:[]};var c=n("C7Lr")(r,a,!1,function(e){n("9YxD")},"data-v-38b619d4",null);t.default=c.exports}});
\ No newline at end of file
webpackJsonp([101],{KniT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={components:{leftSide:n("FegP").a}},a={render:function(){var e=this.$createElement;return(this._self._c||e)("leftSide")},staticRenderFns:[]};var i=n("C7Lr")(r,a,!1,function(e){n("ZBtv")},"data-v-36a7b6fb",null);t.default=i.exports},ZBtv:function(e,t){}});
\ No newline at end of file
webpackJsonp([103],{KniT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={components:{leftSide:n("FegP").a}},a={render:function(){var e=this.$createElement;return(this._self._c||e)("leftSide")},staticRenderFns:[]};var i=n("C7Lr")(r,a,!1,function(e){n("ZBtv")},"data-v-36a7b6fb",null);t.default=i.exports},ZBtv:function(e,t){}});
\ No newline at end of file
webpackJsonp([102],{"0sDS":function(e,t){},Jq1V:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("hBs9"),l=a("5XGy"),i=a("RwQt"),o={components:{newpagingtwo:l.a,tate:n.a,breadNav:i.default},data:function(){return{valueFroms:[{value:"clearingUnit",name:"清分单价",disabled:!1,valueField:"clearingUnit"},{value:"clearingMoney",name:"清分实际总额",disabled:!1,valueField:"clearingMoney"}],rowFroms:[{value:["productId","productPrice","saleType"],name:"产品",disabled:!1,valueField:[{id:"productName",name:"产品"},{id:"saleTypeName",name:"票种"},{id:"productPrice",name:"面值"},{id:"salePrice",name:"网络售价"},{id:"salePricePay",name:"结算价格"},{id:"clearingNum",name:"售票张数"},{id:"salePricePayTotal",name:"售票收入"}]}],columnFroms:[{value:"toChannelId",name:"目标渠道",disabled:!1,valueField:"toChannelName"},{value:"channelTag",name:"渠道标签",disabled:!1,valueField:"channelTag"}],obj:{toChannelIds:"",pageSize:20,clearingDateBegin:"",clearingDateEnd:"",companyId:this.$store.state.companyId,clearingStatus:"",payType:"",priceTypeId:"",productIds:[],saleType:"",settlementType:"",toChannelId:"",channelIds:[],channelTag:"",rows:[],columns:[],values:[]},settlementType:[{id:0,name:"购买-退票"},{id:1,name:"核销-退票"}],saleType:[],getProdect:[],getqudao:[],getPayment:[],ChannelType:[],clearingStatus:[],hangMap:{},lieMap:{},shijian:[],result:{},list:[],listDataColumn:[],listDataHeads:[[]],targetChannelList:[]}},methods:{query:function(){this.obj.pageIndex=1,this.getData()},page:function(e){this.obj.pageIndex=e,this.getData()},time:function(e){this.shijian=e,this.obj.clearingDateBegin=e[0],this.obj.clearingDateEnd=e[1]},convertRequest:function(e,t){(t=t||[]).length=0,e.forEach(function(e,a){e.disabled||("string"==typeof e.value?t.push(e.value):e.value.forEach(function(e,a){t.push(e)}))})},addValueField:function(e,t){function a(e,a){t&&t(e,a)}e.forEach(function(e,t){e.disabled||("string"==typeof e.valueField?a(e.valueField,e.name):e.valueField.forEach(function(e,t){a(e.id,e.name)}))})},addRowResult:function(e,t,a){var n=[];t.push(n),this.addValueField(a,function(t,a){e.push(t),n.push({name:a,row:1,column:1})})},addColumnResult:function(e,t,a,n,l){var i=1,o=this;!function e(t,a){t=t||[],a++,i=Math.max(i,a),t.forEach(function(t,n){e(t.childs,a)})}(l,0),(t[0]||[]).forEach(function(e,t){e.row=i}),function a(l,s,c){s++,l.forEach(function(l,r){var u={name:l.name,row:1,column:0};(t[s-1]=t[s-1]||[]).push(u),c.push(u);var d=l.childs||[];d.length?a(d,s,c):function(a,l,s){var c=t[l]=t[l]||[],r=i-l;o.addValueField(n,function(t,n){s.forEach(function(e,t){e.column=e.column+1});var l={name:n,row:r,column:1};c.push(l),e.push(a.columnId+t)})}(l,s,c),c.pop()})}(l,0,[])},showData:function(e){(e=this.result=e||this.result).heads=e.heads||[],this.obj.pageIndex=e.pageIndex,this.obj.pageSize=e.pageSize,this.obj.pageTotal=e.pageTotal;var t=[],a=[];this.addRowResult(t,a,this.rowFroms),this.addColumnResult(t,a,this.columnFroms,this.valueFroms,e.heads),this.listDataColumn=t,this.listDataHeads=a,this.list=e.list},getData:function(){var e=this;this.convertRequest(this.rowFroms,this.obj.rows),this.convertRequest(this.columnFroms,this.obj.columns),this.convertRequest(this.valueFroms,this.obj.values),this.result={},this.showData(),this.$api.groupLatitude(this,this.obj).then(function(t){"00"===t.code&&e.showData(t.data)},function(t){alert(t),e.showData()})},exportData:function(){this.convertRequest(this.rowFroms,this.obj.rows),this.convertRequest(this.columnFroms,this.obj.columns),this.convertRequest(this.valueFroms,this.obj.values),this.axios({method:"post",responseType:"blob",url:this.getReportUrl("/clearing/data/exportLatitude"),data:this.obj}).then(function(e){var t=e.headers["content-type"],a=new Blob([e.data],{type:t}),n=document.createElement("a");n.download="统计.xlsx",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)})},getTargetChannel:function(){var e=this,t={companyId:this.$store.state.companyId,pageIndex:1,pageSize:99999};this.axios.post(this.getChanel("channel/list"),t).then(function(t){"00"===t.data.code?e.targetChannelList=t.data.data.list:e.$message.error(t.data.message)})}},created:function(){var e=this;this.$api.getPayment(this,"clearingStatus").then(function(t){"00"===t.code&&(e.clearingStatus=t.data)},function(e){alert(e)}),this.$api.getPayment(this,"saleType").then(function(t){"00"===t.code&&(e.saleType=t.data)},function(e){alert(e)}),this.$api.getProdect(this).then(function(t){"00"===t.code&&(e.getProdect=t.data.list)},function(e){alert(e)}),this.$api.getqudao(this).then(function(t){"00"===t.code&&(e.getqudao=t.data.list)},function(e){alert(e)}),this.$api.getPayment(this,"payType").then(function(t){"00"===t.code&&(e.getPayment=t.data)},function(e){alert(e)}),this.$api.ChannelType(this).then(function(t){"00"===t.code&&(e.ChannelType=t.data)},function(e){alert(e)}),this.getData()}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"bigBox"},[a("breadNav",[e._v("清分结果")]),e._v(" "),a("div",{staticClass:"box"},[a("div",{staticClass:"xl"},[a("span",[e._v("时间:")]),e._v(" "),a("tate",{on:{time:e.time}}),e._v(" "),a("span",[e._v("渠道标签:")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.obj.channelTag,expression:"obj.channelTag"}],domProps:{value:e.obj.channelTag},on:{input:function(t){t.target.composing||e.$set(e.obj,"channelTag",t.target.value)}}}),e._v(" "),a("span",{staticClass:"btn4",staticStyle:{"margin-left":"0.1rem"},on:{click:e.query}},[e._v("查询")])],1)]),e._v(" "),a("div",{staticClass:"div"},[a("div",[a("el-select",{attrs:{placeholder:"--票种--"},model:{value:e.obj.saleType,callback:function(t){e.$set(e.obj,"saleType",t)},expression:"obj.saleType"}},[a("el-option",{attrs:{label:"--票种--",value:""}}),e._v(" "),e._l(e.saleType,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),a("div",[a("el-select",{attrs:{placeholder:"--渠道类型--"},model:{value:e.obj.priceTypeId,callback:function(t){e.$set(e.obj,"priceTypeId",t)},expression:"obj.priceTypeId"}},[a("el-option",{attrs:{label:"--渠道类型--",value:""}}),e._v(" "),e._l(e.ChannelType,function(e){return a("el-option",{key:e.priceTypeId,attrs:{label:e.priceTypeName,value:e.priceTypeId}})})],2)],1),e._v(" "),a("div",[a("el-select",{attrs:{placeholder:"--支付方式--"},model:{value:e.obj.payType,callback:function(t){e.$set(e.obj,"payType",t)},expression:"obj.payType"}},[a("el-option",{attrs:{label:"--支付方式--",value:""}}),e._v(" "),e._l(e.getPayment,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),a("div",[a("el-select",{attrs:{placeholder:"--结算规则--"},model:{value:e.obj.settlementType,callback:function(t){e.$set(e.obj,"settlementType",t)},expression:"obj.settlementType"}},[a("el-option",{attrs:{label:"--结算规则--",value:""}}),e._v(" "),e._l(e.settlementType,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),a("div",[a("el-select",{attrs:{placeholder:"--清分状态--"},model:{value:e.obj.clearingStatus,callback:function(t){e.$set(e.obj,"clearingStatus",t)},expression:"obj.clearingStatus"}},[a("el-option",{attrs:{label:"--清分状态--",value:""}}),e._v(" "),e._l(e.clearingStatus,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1)]),e._v(" "),a("div",{staticClass:"div2",staticStyle:{"margin-top":"0.15rem",position:"relative"}},[a("div",[a("section",[a("el-select",{attrs:{multiple:"",filterable:"",placeholder:"-渠道名称-"},model:{value:e.obj.channelIds,callback:function(t){e.$set(e.obj,"channelIds",t)},expression:"obj.channelIds"}},e._l(e.getqudao,function(e,t){return a("el-option",{key:e.channelId,attrs:{label:e.companyName,value:e.channelId}})}),1)],1)]),e._v(" "),a("div",[a("section",[a("el-select",{attrs:{multiple:"",filterable:"",placeholder:"-产品名称-"},model:{value:e.obj.productIds,callback:function(t){e.$set(e.obj,"productIds",t)},expression:"obj.productIds"}},e._l(e.getProdect,function(e,t){return a("el-option",{key:e.productId,attrs:{label:e.productName,value:e.productId}})}),1)],1)]),e._v(" "),a("div",[a("section",[a("el-select",{attrs:{multiple:"",filterable:"",placeholder:"-目标渠道-"},model:{value:e.obj.toChannelIds,callback:function(t){e.$set(e.obj,"toChannelIds",t)},expression:"obj.toChannelIds"}},e._l(e.getqudao,function(e,t){return a("el-option",{key:e.channelId,attrs:{label:e.companyName,value:e.channelId}})}),1)],1)]),e._v(" "),a("a",{staticClass:"btn4",staticStyle:{position:"absolute",right:"0.2rem"},on:{click:function(t){return e.exportData()}}},[e._v("导出")])]),e._v(" "),a("div",{staticClass:"table"},[a("table",[e._l(e.listDataHeads,function(t,n){return a("tr",{key:n,staticClass:"trr"},e._l(t,function(t,n){return a("td",{key:n,attrs:{rowspan:t.row,colspan:t.column}},[a("span",{staticStyle:{display:"block","text-align":"center"}},[e._v(e._s(t.name))])])}),0)}),e._v(" "),e._l(e.list,function(t,n){return a("tr",{key:n},e._l(e.listDataColumn,function(n,l){return a("td",{key:l},[a("span",{staticStyle:{display:"block",width:"1rem","text-align":"center"}},[e._v(e._s(t[n]))])])}),0)})],2)]),e._v(" "),a("newpagingtwo",{attrs:{pagesize:e.obj.pageSize,total:e.obj.pageTotal,whichpage:e.obj.pageIndex},on:{page:e.page}})],1)},staticRenderFns:[]};var c=a("C7Lr")(o,s,!1,function(e){a("0sDS")},"data-v-35806290",null);t.default=c.exports}});
\ No newline at end of file
webpackJsonp([104],{"0sDS":function(e,t){},Jq1V:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("hBs9"),l=a("5XGy"),i=a("RwQt"),o={components:{newpagingtwo:l.a,tate:n.a,breadNav:i.default},data:function(){return{valueFroms:[{value:"clearingUnit",name:"清分单价",disabled:!1,valueField:"clearingUnit"},{value:"clearingMoney",name:"清分实际总额",disabled:!1,valueField:"clearingMoney"}],rowFroms:[{value:["productId","productPrice","saleType"],name:"产品",disabled:!1,valueField:[{id:"productName",name:"产品"},{id:"saleTypeName",name:"票种"},{id:"productPrice",name:"面值"},{id:"salePrice",name:"网络售价"},{id:"salePricePay",name:"结算价格"},{id:"clearingNum",name:"售票张数"},{id:"salePricePayTotal",name:"售票收入"}]}],columnFroms:[{value:"toChannelId",name:"目标渠道",disabled:!1,valueField:"toChannelName"},{value:"channelTag",name:"渠道标签",disabled:!1,valueField:"channelTag"}],obj:{toChannelIds:"",pageSize:20,clearingDateBegin:"",clearingDateEnd:"",companyId:this.$store.state.companyId,clearingStatus:"",payType:"",priceTypeId:"",productIds:[],saleType:"",settlementType:"",toChannelId:"",channelIds:[],channelTag:"",rows:[],columns:[],values:[]},settlementType:[{id:0,name:"购买-退票"},{id:1,name:"核销-退票"}],saleType:[],getProdect:[],getqudao:[],getPayment:[],ChannelType:[],clearingStatus:[],hangMap:{},lieMap:{},shijian:[],result:{},list:[],listDataColumn:[],listDataHeads:[[]],targetChannelList:[]}},methods:{query:function(){this.obj.pageIndex=1,this.getData()},page:function(e){this.obj.pageIndex=e,this.getData()},time:function(e){this.shijian=e,this.obj.clearingDateBegin=e[0],this.obj.clearingDateEnd=e[1]},convertRequest:function(e,t){(t=t||[]).length=0,e.forEach(function(e,a){e.disabled||("string"==typeof e.value?t.push(e.value):e.value.forEach(function(e,a){t.push(e)}))})},addValueField:function(e,t){function a(e,a){t&&t(e,a)}e.forEach(function(e,t){e.disabled||("string"==typeof e.valueField?a(e.valueField,e.name):e.valueField.forEach(function(e,t){a(e.id,e.name)}))})},addRowResult:function(e,t,a){var n=[];t.push(n),this.addValueField(a,function(t,a){e.push(t),n.push({name:a,row:1,column:1})})},addColumnResult:function(e,t,a,n,l){var i=1,o=this;!function e(t,a){t=t||[],a++,i=Math.max(i,a),t.forEach(function(t,n){e(t.childs,a)})}(l,0),(t[0]||[]).forEach(function(e,t){e.row=i}),function a(l,s,c){s++,l.forEach(function(l,r){var u={name:l.name,row:1,column:0};(t[s-1]=t[s-1]||[]).push(u),c.push(u);var d=l.childs||[];d.length?a(d,s,c):function(a,l,s){var c=t[l]=t[l]||[],r=i-l;o.addValueField(n,function(t,n){s.forEach(function(e,t){e.column=e.column+1});var l={name:n,row:r,column:1};c.push(l),e.push(a.columnId+t)})}(l,s,c),c.pop()})}(l,0,[])},showData:function(e){(e=this.result=e||this.result).heads=e.heads||[],this.obj.pageIndex=e.pageIndex,this.obj.pageSize=e.pageSize,this.obj.pageTotal=e.pageTotal;var t=[],a=[];this.addRowResult(t,a,this.rowFroms),this.addColumnResult(t,a,this.columnFroms,this.valueFroms,e.heads),this.listDataColumn=t,this.listDataHeads=a,this.list=e.list},getData:function(){var e=this;this.convertRequest(this.rowFroms,this.obj.rows),this.convertRequest(this.columnFroms,this.obj.columns),this.convertRequest(this.valueFroms,this.obj.values),this.result={},this.showData(),this.$api.groupLatitude(this,this.obj).then(function(t){"00"===t.code&&e.showData(t.data)},function(t){alert(t),e.showData()})},exportData:function(){this.convertRequest(this.rowFroms,this.obj.rows),this.convertRequest(this.columnFroms,this.obj.columns),this.convertRequest(this.valueFroms,this.obj.values),this.axios({method:"post",responseType:"blob",url:this.getReportUrl("/clearing/data/exportLatitude"),data:this.obj}).then(function(e){var t=e.headers["content-type"],a=new Blob([e.data],{type:t}),n=document.createElement("a");n.download="统计.xlsx",n.style.display="none",n.href=URL.createObjectURL(a),document.body.appendChild(n),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)})},getTargetChannel:function(){var e=this,t={companyId:this.$store.state.companyId,pageIndex:1,pageSize:99999};this.axios.post(this.getChanel("channel/list"),t).then(function(t){"00"===t.data.code?e.targetChannelList=t.data.data.list:e.$message.error(t.data.message)})}},created:function(){var e=this;this.$api.getPayment(this,"clearingStatus").then(function(t){"00"===t.code&&(e.clearingStatus=t.data)},function(e){alert(e)}),this.$api.getPayment(this,"saleType").then(function(t){"00"===t.code&&(e.saleType=t.data)},function(e){alert(e)}),this.$api.getProdect(this).then(function(t){"00"===t.code&&(e.getProdect=t.data.list)},function(e){alert(e)}),this.$api.getqudao(this).then(function(t){"00"===t.code&&(e.getqudao=t.data.list)},function(e){alert(e)}),this.$api.getPayment(this,"payType").then(function(t){"00"===t.code&&(e.getPayment=t.data)},function(e){alert(e)}),this.$api.ChannelType(this).then(function(t){"00"===t.code&&(e.ChannelType=t.data)},function(e){alert(e)}),this.getData()}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"bigBox"},[a("breadNav",[e._v("清分结果")]),e._v(" "),a("div",{staticClass:"box"},[a("div",{staticClass:"xl"},[a("span",[e._v("时间:")]),e._v(" "),a("tate",{on:{time:e.time}}),e._v(" "),a("span",[e._v("渠道标签:")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.obj.channelTag,expression:"obj.channelTag"}],domProps:{value:e.obj.channelTag},on:{input:function(t){t.target.composing||e.$set(e.obj,"channelTag",t.target.value)}}}),e._v(" "),a("span",{staticClass:"btn4",staticStyle:{"margin-left":"0.1rem"},on:{click:e.query}},[e._v("查询")])],1)]),e._v(" "),a("div",{staticClass:"div"},[a("div",[a("el-select",{attrs:{placeholder:"--票种--"},model:{value:e.obj.saleType,callback:function(t){e.$set(e.obj,"saleType",t)},expression:"obj.saleType"}},[a("el-option",{attrs:{label:"--票种--",value:""}}),e._v(" "),e._l(e.saleType,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),a("div",[a("el-select",{attrs:{placeholder:"--渠道类型--"},model:{value:e.obj.priceTypeId,callback:function(t){e.$set(e.obj,"priceTypeId",t)},expression:"obj.priceTypeId"}},[a("el-option",{attrs:{label:"--渠道类型--",value:""}}),e._v(" "),e._l(e.ChannelType,function(e){return a("el-option",{key:e.priceTypeId,attrs:{label:e.priceTypeName,value:e.priceTypeId}})})],2)],1),e._v(" "),a("div",[a("el-select",{attrs:{placeholder:"--支付方式--"},model:{value:e.obj.payType,callback:function(t){e.$set(e.obj,"payType",t)},expression:"obj.payType"}},[a("el-option",{attrs:{label:"--支付方式--",value:""}}),e._v(" "),e._l(e.getPayment,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),a("div",[a("el-select",{attrs:{placeholder:"--结算规则--"},model:{value:e.obj.settlementType,callback:function(t){e.$set(e.obj,"settlementType",t)},expression:"obj.settlementType"}},[a("el-option",{attrs:{label:"--结算规则--",value:""}}),e._v(" "),e._l(e.settlementType,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),a("div",[a("el-select",{attrs:{placeholder:"--清分状态--"},model:{value:e.obj.clearingStatus,callback:function(t){e.$set(e.obj,"clearingStatus",t)},expression:"obj.clearingStatus"}},[a("el-option",{attrs:{label:"--清分状态--",value:""}}),e._v(" "),e._l(e.clearingStatus,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1)]),e._v(" "),a("div",{staticClass:"div2",staticStyle:{"margin-top":"0.15rem",position:"relative"}},[a("div",[a("section",[a("el-select",{attrs:{multiple:"",filterable:"",placeholder:"-渠道名称-"},model:{value:e.obj.channelIds,callback:function(t){e.$set(e.obj,"channelIds",t)},expression:"obj.channelIds"}},e._l(e.getqudao,function(e,t){return a("el-option",{key:e.channelId,attrs:{label:e.companyName,value:e.channelId}})}),1)],1)]),e._v(" "),a("div",[a("section",[a("el-select",{attrs:{multiple:"",filterable:"",placeholder:"-产品名称-"},model:{value:e.obj.productIds,callback:function(t){e.$set(e.obj,"productIds",t)},expression:"obj.productIds"}},e._l(e.getProdect,function(e,t){return a("el-option",{key:e.productId,attrs:{label:e.productName,value:e.productId}})}),1)],1)]),e._v(" "),a("div",[a("section",[a("el-select",{attrs:{multiple:"",filterable:"",placeholder:"-目标渠道-"},model:{value:e.obj.toChannelIds,callback:function(t){e.$set(e.obj,"toChannelIds",t)},expression:"obj.toChannelIds"}},e._l(e.getqudao,function(e,t){return a("el-option",{key:e.channelId,attrs:{label:e.companyName,value:e.channelId}})}),1)],1)]),e._v(" "),a("a",{staticClass:"btn4",staticStyle:{position:"absolute",right:"0.2rem"},on:{click:function(t){return e.exportData()}}},[e._v("导出")])]),e._v(" "),a("div",{staticClass:"table"},[a("table",[e._l(e.listDataHeads,function(t,n){return a("tr",{key:n,staticClass:"trr"},e._l(t,function(t,n){return a("td",{key:n,attrs:{rowspan:t.row,colspan:t.column}},[a("span",{staticStyle:{display:"block","text-align":"center"}},[e._v(e._s(t.name))])])}),0)}),e._v(" "),e._l(e.list,function(t,n){return a("tr",{key:n},e._l(e.listDataColumn,function(n,l){return a("td",{key:l},[a("span",{staticStyle:{display:"block",width:"1rem","text-align":"center"}},[e._v(e._s(t[n]))])])}),0)})],2)]),e._v(" "),a("newpagingtwo",{attrs:{pagesize:e.obj.pageSize,total:e.obj.pageTotal,whichpage:e.obj.pageIndex},on:{page:e.page}})],1)},staticRenderFns:[]};var c=a("C7Lr")(o,s,!1,function(e){a("0sDS")},"data-v-35806290",null);t.default=c.exports}});
\ No newline at end of file
webpackJsonp([103],{OtgW:function(a,t){},nAc9:function(a,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=i("/ZRz"),s=i("MlfH"),d={components:{Head:e.a,bottom:s.default},data:function(){return{title1:"游客数据分析",dataTotal:"",todayGroupScale:"",todayIndividualScale:"",monthGroupScale:"",monthIndividualScale:"",yearGroupScale:"",yearIndividualScale:"",todayAgeList:{data:{columns:["name","value"],rows:[]}},monthAgeList:{data:{columns:["name","value"],rows:[]}},yearAgeList:{data:{columns:["name","value"],rows:[]}},todaySexList:{data:{columns:["name","value"],rows:[]}},monthSexList:{data:{columns:["name","value"],rows:[]}},yearSexList:{data:{columns:["name","value"],rows:[]}},yearVisitorList:{data:{rows:[]},settings:{area:!0,metrics:[],dimension:["name"]}},areaTop24List:{data:{columns:["name","value"],rows:[]}}}},methods:{init:function(){var a=this,t={companyId:this.$store.state.companyId};this.axios.post(this.getReportUrl("reportDataBase/queryReportDatabaseUser"),t).then(function(t){if("00"==t.data.code){a.dataTotal=t.data.data;var i=parseFloat((100*t.data.data.todayGroup/(t.data.data.todayGroup+t.data.data.todayIndividual)).toFixed(1)),e=parseFloat((100*t.data.data.todayIndividual/(t.data.data.todayGroup+t.data.data.todayIndividual)).toFixed(1)),s=parseFloat((100*t.data.data.monthGroup/(t.data.data.monthGroup+t.data.data.monthIndividual)).toFixed(1)),d=parseFloat((100*t.data.data.monthIndividual/(t.data.data.monthGroup+t.data.data.monthIndividual)).toFixed(1)),r=parseFloat((100*t.data.data.yearGroup/(t.data.data.yearGroup+t.data.data.yearIndividual)).toFixed(1)),o=parseFloat((100*t.data.data.yearIndividual/(t.data.data.yearGroup+t.data.data.yearIndividual)).toFixed(1));if(isNaN(i)&&(i=50),isNaN(e)&&(e=50),isNaN(s)&&(s=50),isNaN(d)&&(d=50),isNaN(r)&&(r=50),isNaN(o)&&(o=50),a.todayGroupScale=i+"%",a.todayIndividualScale=e+"%",a.monthGroupScale=s+"%",a.monthIndividualScale=d+"%",a.yearGroupScale=r+"%",a.yearIndividualScale=o+"%",a.$refs.todayGroupScale.style.width=a.todayGroupScale,a.$refs.todayIndividualScale.style.width=a.todayIndividualScale,a.$refs.monthGroupScale.style.width=a.monthGroupScale,a.$refs.monthIndividualScale.style.width=a.monthIndividualScale,a.$refs.yearGroupScale.style.width=a.yearGroupScale,a.$refs.yearIndividualScale.style.width=a.yearIndividualScale,a.todayAgeList.data.rows=t.data.data.todayAgeList,a.monthAgeList.data.rows=t.data.data.monthAgeList,a.yearAgeList.data.rows=t.data.data.yearAgeList,a.todaySexList.data.rows=t.data.data.todaySexList,a.monthSexList.data.rows=t.data.data.monthSexList,a.yearSexList.data.rows=t.data.data.yearSexList,a.yearVisitorList.data.rows=t.data.data.yearVisitorList,a.yearVisitorList.settings.metrics=[],t.data.data.yearVisitorList.length>0){var n=t.data.data.yearVisitorList[0];for(var v in n)a.yearVisitorList.settings.metrics.push(v);var l=a.yearVisitorList.settings.metrics.indexOf("id");a.yearVisitorList.settings.metrics.splice(l,1);var c=a.yearVisitorList.settings.metrics.indexOf("name");a.yearVisitorList.settings.metrics.splice(c,1)}a.areaTop24List.data.rows=t.data.data.areaTop24List}else a.$message({message:t.data.message,type:"error"})})}},mounted:function(){var a=this;this.init(),function t(){var i=setTimeout(function(){a.init(),t()},5e3);a.$once("hook:beforeDestroy",function(){clearTimeout(i)})}()}},r={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"all"},[e("Head",{attrs:{title1:a.title1}}),a._v(" "),e("div",{staticClass:"middle1"},[e("div",[e("p",[e("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":"#iconbili"}})]),a._v(" "),e("span",[a._v("团散比")])]),a._v(" "),e("div",[e("div",{staticClass:"middle1ScaleT"},[e("span",[a._v("本日占比")]),a._v(" "),e("div",{staticClass:"middle1Scale"},[e("div",[e("span",[a._v("散客")]),a._v(" "),e("p",[e("i",{ref:"todayIndividualScale"},[e("b",[a._v(a._s(a.dataTotal.todayIndividual))])])]),a._v(" "),e("span",[a._v(a._s(a.todayIndividualScale))])]),a._v(" "),e("div",[e("span",[a._v("团队")]),a._v(" "),e("p",[e("i",{ref:"todayGroupScale"},[e("b",[a._v(a._s(a.dataTotal.todayGroup))])])]),a._v(" "),e("span",[a._v(a._s(a.todayGroupScale))])])])]),a._v(" "),e("div",{staticClass:"middle1ScaleT"},[e("span",[a._v("本月占比")]),a._v(" "),e("div",{staticClass:"middle1Scale"},[e("div",[e("span",[a._v("散客")]),a._v(" "),e("p",[e("i",{ref:"monthIndividualScale"},[e("b",[a._v(a._s(a.dataTotal.monthIndividual))])])]),a._v(" "),e("span",[a._v(a._s(a.monthIndividualScale))])]),a._v(" "),e("div",[e("span",[a._v("团队")]),a._v(" "),e("p",[e("i",{ref:"monthGroupScale"},[e("b",[a._v(a._s(a.dataTotal.monthGroup))])])]),a._v(" "),e("span",[a._v(a._s(a.monthGroupScale))])])])]),a._v(" "),e("div",{staticClass:"middle1ScaleT"},[e("span",[a._v("本年占比")]),a._v(" "),e("div",{staticClass:"middle1Scale"},[e("div",[e("span",[a._v("散客")]),a._v(" "),e("p",[e("i",{ref:"yearIndividualScale"},[e("b",[a._v(a._s(a.dataTotal.yearIndividual))])])]),a._v(" "),e("span",[a._v(a._s(a.yearIndividualScale))])]),a._v(" "),e("div",[e("span",[a._v("团队")]),a._v(" "),e("p",[e("i",{ref:"yearGroupScale"},[e("b",[a._v(a._s(a.dataTotal.yearGroup))])])]),a._v(" "),e("span",[a._v(a._s(a.yearGroupScale))])])])])])]),a._v(" "),e("div",[e("p",[e("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":"#iconfx"}})]),a._v(" "),e("span",[a._v("年龄占比")])]),a._v(" "),e("div",[e("div",{staticClass:"middle1Age"},[e("span",[a._v("本日占比")]),a._v(" "),e("div",[e("ve-histogram",{attrs:{data:a.todayAgeList.data,extend:this.$bigData.zhuEchart(),height:"1.3rem"}})],1)]),a._v(" "),e("div",{staticClass:"middle1Age"},[e("span",[a._v("本月占比")]),a._v(" "),e("div",[e("ve-histogram",{attrs:{data:a.monthAgeList.data,extend:this.$bigData.zhuEchart(),height:"1.3rem"}})],1)]),a._v(" "),e("div",{staticClass:"middle1Age"},[e("span",[a._v("本年占比")]),a._v(" "),e("div",[e("ve-histogram",{attrs:{data:a.yearAgeList.data,extend:this.$bigData.zhuEchart(),height:"1.3rem"}})],1)])])]),a._v(" "),e("div",[e("p",[e("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":"#iconxingbie"}})]),a._v(" "),e("span",[a._v("性别占比")])]),a._v(" "),e("div",[e("div",{staticClass:"middle1Sex"},[e("span",[a._v("本日占比")]),a._v(" "),e("div",[e("ve-pie",{attrs:{data:a.todaySexList.data,extend:this.$bigData.pieEchart2(),height:"1.3rem"}})],1)]),a._v(" "),e("div",{staticClass:"middle1Sex"},[e("span",[a._v("本月占比")]),a._v(" "),e("div",[e("ve-pie",{attrs:{data:a.monthSexList.data,extend:this.$bigData.pieEchart2(),height:"1.3rem"}})],1)]),a._v(" "),e("div",{staticClass:"middle1Sex"},[e("span",[a._v("本年占比")]),a._v(" "),e("div",[e("ve-pie",{attrs:{data:a.yearSexList.data,extend:this.$bigData.pieEchart2(),height:"1.3rem"}})],1)])])])]),a._v(" "),e("div",{staticClass:"middle2"},[e("p",[e("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":"#iconlishi"}})]),a._v(" "),e("span",[a._v("\n \t年度游客趋势\n ")]),a._v(" "),e("span",[e("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:i("EkAb")}}),a._v("\n\t\t\t\t"+a._s(a.yearVisitorList.settings.metrics[0])+"年\n\t\t\t")]),a._v(" "),e("span",[e("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:i("/vWa")}}),a._v("\n\t\t\t\t"+a._s(a.yearVisitorList.settings.metrics[1])+"年\n\t\t\t")]),a._v(" "),e("span",[e("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:i("kRXi")}}),a._v("\n\t\t\t\t"+a._s(a.yearVisitorList.settings.metrics[2])+"年\n\t\t\t")])]),a._v(" "),e("ve-line",{attrs:{data:a.yearVisitorList.data,extend:this.$bigData.lineEchart(),settings:a.yearVisitorList.settings,height:"1.3rem"}})],1),a._v(" "),e("div",{staticClass:"middle3"},[e("p",[e("svg",{staticClass:"icon",staticStyle:{color:"#00fcff"},attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":"#iconren"}})]),a._v(" "),e("span",[a._v("\n \t游客来源\n ")])]),a._v(" "),e("ve-histogram",{attrs:{data:a.areaTop24List.data,extend:this.$bigData.zhuEchart(),height:"1.3rem"}})],1),a._v(" "),e("bottom")],1)},staticRenderFns:[]};var o=i("C7Lr")(d,r,!1,function(a){i("OtgW")},"data-v-34039928",null);t.default=o.exports}});
\ No newline at end of file
webpackJsonp([105],{OtgW:function(a,t){},nAc9:function(a,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=i("/ZRz"),s=i("MlfH"),d={components:{Head:e.a,bottom:s.default},data:function(){return{title1:"游客数据分析",dataTotal:"",todayGroupScale:"",todayIndividualScale:"",monthGroupScale:"",monthIndividualScale:"",yearGroupScale:"",yearIndividualScale:"",todayAgeList:{data:{columns:["name","value"],rows:[]}},monthAgeList:{data:{columns:["name","value"],rows:[]}},yearAgeList:{data:{columns:["name","value"],rows:[]}},todaySexList:{data:{columns:["name","value"],rows:[]}},monthSexList:{data:{columns:["name","value"],rows:[]}},yearSexList:{data:{columns:["name","value"],rows:[]}},yearVisitorList:{data:{rows:[]},settings:{area:!0,metrics:[],dimension:["name"]}},areaTop24List:{data:{columns:["name","value"],rows:[]}}}},methods:{init:function(){var a=this,t={companyId:this.$store.state.companyId};this.axios.post(this.getReportUrl("reportDataBase/queryReportDatabaseUser"),t).then(function(t){if("00"==t.data.code){a.dataTotal=t.data.data;var i=parseFloat((100*t.data.data.todayGroup/(t.data.data.todayGroup+t.data.data.todayIndividual)).toFixed(1)),e=parseFloat((100*t.data.data.todayIndividual/(t.data.data.todayGroup+t.data.data.todayIndividual)).toFixed(1)),s=parseFloat((100*t.data.data.monthGroup/(t.data.data.monthGroup+t.data.data.monthIndividual)).toFixed(1)),d=parseFloat((100*t.data.data.monthIndividual/(t.data.data.monthGroup+t.data.data.monthIndividual)).toFixed(1)),r=parseFloat((100*t.data.data.yearGroup/(t.data.data.yearGroup+t.data.data.yearIndividual)).toFixed(1)),o=parseFloat((100*t.data.data.yearIndividual/(t.data.data.yearGroup+t.data.data.yearIndividual)).toFixed(1));if(isNaN(i)&&(i=50),isNaN(e)&&(e=50),isNaN(s)&&(s=50),isNaN(d)&&(d=50),isNaN(r)&&(r=50),isNaN(o)&&(o=50),a.todayGroupScale=i+"%",a.todayIndividualScale=e+"%",a.monthGroupScale=s+"%",a.monthIndividualScale=d+"%",a.yearGroupScale=r+"%",a.yearIndividualScale=o+"%",a.$refs.todayGroupScale.style.width=a.todayGroupScale,a.$refs.todayIndividualScale.style.width=a.todayIndividualScale,a.$refs.monthGroupScale.style.width=a.monthGroupScale,a.$refs.monthIndividualScale.style.width=a.monthIndividualScale,a.$refs.yearGroupScale.style.width=a.yearGroupScale,a.$refs.yearIndividualScale.style.width=a.yearIndividualScale,a.todayAgeList.data.rows=t.data.data.todayAgeList,a.monthAgeList.data.rows=t.data.data.monthAgeList,a.yearAgeList.data.rows=t.data.data.yearAgeList,a.todaySexList.data.rows=t.data.data.todaySexList,a.monthSexList.data.rows=t.data.data.monthSexList,a.yearSexList.data.rows=t.data.data.yearSexList,a.yearVisitorList.data.rows=t.data.data.yearVisitorList,a.yearVisitorList.settings.metrics=[],t.data.data.yearVisitorList.length>0){var n=t.data.data.yearVisitorList[0];for(var v in n)a.yearVisitorList.settings.metrics.push(v);var l=a.yearVisitorList.settings.metrics.indexOf("id");a.yearVisitorList.settings.metrics.splice(l,1);var c=a.yearVisitorList.settings.metrics.indexOf("name");a.yearVisitorList.settings.metrics.splice(c,1)}a.areaTop24List.data.rows=t.data.data.areaTop24List}else a.$message({message:t.data.message,type:"error"})})}},mounted:function(){var a=this;this.init(),function t(){var i=setTimeout(function(){a.init(),t()},5e3);a.$once("hook:beforeDestroy",function(){clearTimeout(i)})}()}},r={render:function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"all"},[e("Head",{attrs:{title1:a.title1}}),a._v(" "),e("div",{staticClass:"middle1"},[e("div",[e("p",[e("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":"#iconbili"}})]),a._v(" "),e("span",[a._v("团散比")])]),a._v(" "),e("div",[e("div",{staticClass:"middle1ScaleT"},[e("span",[a._v("本日占比")]),a._v(" "),e("div",{staticClass:"middle1Scale"},[e("div",[e("span",[a._v("散客")]),a._v(" "),e("p",[e("i",{ref:"todayIndividualScale"},[e("b",[a._v(a._s(a.dataTotal.todayIndividual))])])]),a._v(" "),e("span",[a._v(a._s(a.todayIndividualScale))])]),a._v(" "),e("div",[e("span",[a._v("团队")]),a._v(" "),e("p",[e("i",{ref:"todayGroupScale"},[e("b",[a._v(a._s(a.dataTotal.todayGroup))])])]),a._v(" "),e("span",[a._v(a._s(a.todayGroupScale))])])])]),a._v(" "),e("div",{staticClass:"middle1ScaleT"},[e("span",[a._v("本月占比")]),a._v(" "),e("div",{staticClass:"middle1Scale"},[e("div",[e("span",[a._v("散客")]),a._v(" "),e("p",[e("i",{ref:"monthIndividualScale"},[e("b",[a._v(a._s(a.dataTotal.monthIndividual))])])]),a._v(" "),e("span",[a._v(a._s(a.monthIndividualScale))])]),a._v(" "),e("div",[e("span",[a._v("团队")]),a._v(" "),e("p",[e("i",{ref:"monthGroupScale"},[e("b",[a._v(a._s(a.dataTotal.monthGroup))])])]),a._v(" "),e("span",[a._v(a._s(a.monthGroupScale))])])])]),a._v(" "),e("div",{staticClass:"middle1ScaleT"},[e("span",[a._v("本年占比")]),a._v(" "),e("div",{staticClass:"middle1Scale"},[e("div",[e("span",[a._v("散客")]),a._v(" "),e("p",[e("i",{ref:"yearIndividualScale"},[e("b",[a._v(a._s(a.dataTotal.yearIndividual))])])]),a._v(" "),e("span",[a._v(a._s(a.yearIndividualScale))])]),a._v(" "),e("div",[e("span",[a._v("团队")]),a._v(" "),e("p",[e("i",{ref:"yearGroupScale"},[e("b",[a._v(a._s(a.dataTotal.yearGroup))])])]),a._v(" "),e("span",[a._v(a._s(a.yearGroupScale))])])])])])]),a._v(" "),e("div",[e("p",[e("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":"#iconfx"}})]),a._v(" "),e("span",[a._v("年龄占比")])]),a._v(" "),e("div",[e("div",{staticClass:"middle1Age"},[e("span",[a._v("本日占比")]),a._v(" "),e("div",[e("ve-histogram",{attrs:{data:a.todayAgeList.data,extend:this.$bigData.zhuEchart(),height:"1.3rem"}})],1)]),a._v(" "),e("div",{staticClass:"middle1Age"},[e("span",[a._v("本月占比")]),a._v(" "),e("div",[e("ve-histogram",{attrs:{data:a.monthAgeList.data,extend:this.$bigData.zhuEchart(),height:"1.3rem"}})],1)]),a._v(" "),e("div",{staticClass:"middle1Age"},[e("span",[a._v("本年占比")]),a._v(" "),e("div",[e("ve-histogram",{attrs:{data:a.yearAgeList.data,extend:this.$bigData.zhuEchart(),height:"1.3rem"}})],1)])])]),a._v(" "),e("div",[e("p",[e("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":"#iconxingbie"}})]),a._v(" "),e("span",[a._v("性别占比")])]),a._v(" "),e("div",[e("div",{staticClass:"middle1Sex"},[e("span",[a._v("本日占比")]),a._v(" "),e("div",[e("ve-pie",{attrs:{data:a.todaySexList.data,extend:this.$bigData.pieEchart2(),height:"1.3rem"}})],1)]),a._v(" "),e("div",{staticClass:"middle1Sex"},[e("span",[a._v("本月占比")]),a._v(" "),e("div",[e("ve-pie",{attrs:{data:a.monthSexList.data,extend:this.$bigData.pieEchart2(),height:"1.3rem"}})],1)]),a._v(" "),e("div",{staticClass:"middle1Sex"},[e("span",[a._v("本年占比")]),a._v(" "),e("div",[e("ve-pie",{attrs:{data:a.yearSexList.data,extend:this.$bigData.pieEchart2(),height:"1.3rem"}})],1)])])])]),a._v(" "),e("div",{staticClass:"middle2"},[e("p",[e("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":"#iconlishi"}})]),a._v(" "),e("span",[a._v("\n \t年度游客趋势\n ")]),a._v(" "),e("span",[e("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:i("EkAb")}}),a._v("\n\t\t\t\t"+a._s(a.yearVisitorList.settings.metrics[0])+"年\n\t\t\t")]),a._v(" "),e("span",[e("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:i("/vWa")}}),a._v("\n\t\t\t\t"+a._s(a.yearVisitorList.settings.metrics[1])+"年\n\t\t\t")]),a._v(" "),e("span",[e("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:i("kRXi")}}),a._v("\n\t\t\t\t"+a._s(a.yearVisitorList.settings.metrics[2])+"年\n\t\t\t")])]),a._v(" "),e("ve-line",{attrs:{data:a.yearVisitorList.data,extend:this.$bigData.lineEchart(),settings:a.yearVisitorList.settings,height:"1.3rem"}})],1),a._v(" "),e("div",{staticClass:"middle3"},[e("p",[e("svg",{staticClass:"icon",staticStyle:{color:"#00fcff"},attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":"#iconren"}})]),a._v(" "),e("span",[a._v("\n \t游客来源\n ")])]),a._v(" "),e("ve-histogram",{attrs:{data:a.areaTop24List.data,extend:this.$bigData.zhuEchart(),height:"1.3rem"}})],1),a._v(" "),e("bottom")],1)},staticRenderFns:[]};var o=i("C7Lr")(d,r,!1,function(a){i("OtgW")},"data-v-34039928",null);t.default=o.exports}});
\ No newline at end of file
webpackJsonp([104],{OSnK:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("RwQt"),a=n("5XGy"),r=n("KPn7"),s={components:{breadNav:i.default,page:a.a,config:r.a},data:function(){return{configTan:!1,configTitle:"是否删除该打印组",pageTotal:0,pageIndex:1,pageSize:15,search:"",tableList:[],printGroupId:""}},methods:{groupList:function(){var t=this,e={pageIndex:this.pageIndex,pageSize:this.pagesize,search:this.search};this.axios.post(this.getProductUrl("print/groupList"),e).then(function(e){"00"==e.data.code?(t.pageTotal=e.data.data.pageTotal,t.tableList=e.data.data.list):t.$message.error(e.data.message)})},paging:function(t){this.pageIndex=t,this.groupList()},clickDele:function(t){this.configTan=!0,this.printGroupId=t},dele:function(){var t=this,e={printGroupId:this.printGroupId};this.axios.post(this.getProductUrl("print/groupRemove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.groupList()):t.$message.error(e.data.message)})}},mounted:function(){this.groupList()},activated:function(){"true"==this.$store.state.refurbish&&(this.$store.dispatch("getRefurbish","false"),this.search=""),this.groupList()}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bigBox"},[n("breadNav",[t._v("打印组管理")]),t._v(" "),n("div",{staticClass:"div1"},[n("a",{staticClass:"btn4",staticStyle:{"margin-right":"1rem"},on:{click:function(e){return t.$router.push("/scenic/sMymanagement/printGroupEdit")}}},[t._v("\n\t\t\t新增\n\t\t")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.search,expression:"search",modifiers:{trim:!0}}],attrs:{type:"text",placeholder:"请输入打印组名称"},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),n("a",{staticClass:"btn4",staticStyle:{"margin-left":"1rem"},on:{click:function(e){t.pageIndex=1,t.groupList()}}},[t._v("\n\t\t\t查询\n\t\t")])]),t._v(" "),n("table",{staticStyle:{"margin-top":"0.2rem"}},[t._m(0),t._v(" "),t._l(t.tableList,function(e,i){return n("tr",{key:e.printGroupId},[n("td",[t._v(t._s(e.printGroupName))]),t._v(" "),n("td",[t._v(t._s(e.deviceTypeName))]),t._v(" "),n("td",[t._v(t._s(e.printGroupLeft))]),t._v(" "),n("td",[t._v(t._s(e.printGroupTop))]),t._v(" "),n("td",[n("p",[t._v("\n\t\t\t\t\t默认:\n\t\t\t\t\t"+t._s(e.singlePrintName)+",\n\t\t\t\t\t团队默认:\n\t\t\t\t\t"+t._s(e.manyPrintName)+"\n\t\t\t\t")]),t._v(" "),t._l(e.items,function(e,i){return n("p",{key:i},[t._v("\n\t\t\t\t\t"+t._s(e.saleTypeName?e.saleTypeName:"")+":\n\t\t\t\t\t"+t._s(e.singlePrintName?e.singlePrintName:"")+",\n\t\t\t\t\t"+t._s(e.manyPrintName?e.manyPrintName:"")+"\n\t\t\t\t")])})],2),t._v(" "),n("td",[n("span",{on:{click:function(n){return t.$router.push("/scenic/sMymanagement/printGroupEdit?printGroupId="+e.printGroupId)}}},[t._v("\n\t\t\t\t\t修改\n\t\t\t\t")]),t._v(" "),n("span",{staticStyle:{color:"#FF0000"},on:{click:function(n){return t.clickDele(e.printGroupId)}}},[t._v("\n\t\t\t\t\t删除\n\t\t\t\t")])])])})],2),t._v(" "),n("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),n("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan,expression:"configTan"}],attrs:{configTitle:t.configTitle},on:{config:function(e){return t.dele()},cancel:function(e){t.configTan=!1}}})],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",[n("td",[t._v("打印组名称")]),t._v(" "),n("td",[t._v("设备类型")]),t._v(" "),n("td",[t._v("左偏移")]),t._v(" "),n("td",[t._v("上偏移")]),t._v(" "),n("td",[t._v("打印模板")]),t._v(" "),n("td",[t._v("操作")])])}]};var c=n("C7Lr")(s,o,!1,function(t){n("aMrd")},"data-v-33d4c77e",null);e.default=c.exports},aMrd:function(t,e){}});
\ No newline at end of file
webpackJsonp([106],{OSnK:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("RwQt"),a=n("5XGy"),r=n("KPn7"),s={components:{breadNav:i.default,page:a.a,config:r.a},data:function(){return{configTan:!1,configTitle:"是否删除该打印组",pageTotal:0,pageIndex:1,pageSize:15,search:"",tableList:[],printGroupId:""}},methods:{groupList:function(){var t=this,e={pageIndex:this.pageIndex,pageSize:this.pagesize,search:this.search};this.axios.post(this.getProductUrl("print/groupList"),e).then(function(e){"00"==e.data.code?(t.pageTotal=e.data.data.pageTotal,t.tableList=e.data.data.list):t.$message.error(e.data.message)})},paging:function(t){this.pageIndex=t,this.groupList()},clickDele:function(t){this.configTan=!0,this.printGroupId=t},dele:function(){var t=this,e={printGroupId:this.printGroupId};this.axios.post(this.getProductUrl("print/groupRemove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.groupList()):t.$message.error(e.data.message)})}},mounted:function(){this.groupList()},activated:function(){"true"==this.$store.state.refurbish&&(this.$store.dispatch("getRefurbish","false"),this.search=""),this.groupList()}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bigBox"},[n("breadNav",[t._v("打印组管理")]),t._v(" "),n("div",{staticClass:"div1"},[n("a",{staticClass:"btn4",staticStyle:{"margin-right":"1rem"},on:{click:function(e){return t.$router.push("/scenic/sMymanagement/printGroupEdit")}}},[t._v("\n\t\t\t新增\n\t\t")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.search,expression:"search",modifiers:{trim:!0}}],attrs:{type:"text",placeholder:"请输入打印组名称"},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),n("a",{staticClass:"btn4",staticStyle:{"margin-left":"1rem"},on:{click:function(e){t.pageIndex=1,t.groupList()}}},[t._v("\n\t\t\t查询\n\t\t")])]),t._v(" "),n("table",{staticStyle:{"margin-top":"0.2rem"}},[t._m(0),t._v(" "),t._l(t.tableList,function(e,i){return n("tr",{key:e.printGroupId},[n("td",[t._v(t._s(e.printGroupName))]),t._v(" "),n("td",[t._v(t._s(e.deviceTypeName))]),t._v(" "),n("td",[t._v(t._s(e.printGroupLeft))]),t._v(" "),n("td",[t._v(t._s(e.printGroupTop))]),t._v(" "),n("td",[n("p",[t._v("\n\t\t\t\t\t默认:\n\t\t\t\t\t"+t._s(e.singlePrintName)+",\n\t\t\t\t\t团队默认:\n\t\t\t\t\t"+t._s(e.manyPrintName)+"\n\t\t\t\t")]),t._v(" "),t._l(e.items,function(e,i){return n("p",{key:i},[t._v("\n\t\t\t\t\t"+t._s(e.saleTypeName?e.saleTypeName:"")+":\n\t\t\t\t\t"+t._s(e.singlePrintName?e.singlePrintName:"")+",\n\t\t\t\t\t"+t._s(e.manyPrintName?e.manyPrintName:"")+"\n\t\t\t\t")])})],2),t._v(" "),n("td",[n("span",{on:{click:function(n){return t.$router.push("/scenic/sMymanagement/printGroupEdit?printGroupId="+e.printGroupId)}}},[t._v("\n\t\t\t\t\t修改\n\t\t\t\t")]),t._v(" "),n("span",{staticStyle:{color:"#FF0000"},on:{click:function(n){return t.clickDele(e.printGroupId)}}},[t._v("\n\t\t\t\t\t删除\n\t\t\t\t")])])])})],2),t._v(" "),n("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),n("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan,expression:"configTan"}],attrs:{configTitle:t.configTitle},on:{config:function(e){return t.dele()},cancel:function(e){t.configTan=!1}}})],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",[n("td",[t._v("打印组名称")]),t._v(" "),n("td",[t._v("设备类型")]),t._v(" "),n("td",[t._v("左偏移")]),t._v(" "),n("td",[t._v("上偏移")]),t._v(" "),n("td",[t._v("打印模板")]),t._v(" "),n("td",[t._v("操作")])])}]};var c=n("C7Lr")(s,o,!1,function(t){n("aMrd")},"data-v-33d4c77e",null);e.default=c.exports},aMrd:function(t,e){}});
\ No newline at end of file
webpackJsonp([105],{"Pm+J":function(t,e){},"o/hl":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("RwQt"),i=a("ZotE"),s=a("5XGy"),o=a("KPn7"),r={components:{breadNav:n.default,dates:i.a,page:s.a,config:o.a},data:function(){return{configTan2:!1,configTitle2:"是否改为白名单",configTitle:"是否删除该名单",configTan:!1,badDateFrom:"",badDateTo:"",pageIndex:1,pageSize:15,pageTotal:0,search:"",tableList:[],userId:"",userType:""}},methods:{getDate:function(t){t?(this.badDateFrom=t[0],this.badDateTo=t[1]+" 23:59:59"):(this.badDateFrom="",this.badDateTo="")},initTableList:function(){var t=this,e={badDateFrom:this.badDateFrom,badDateTo:this.badDateTo,pageIndex:this.pageIndex,pageSize:this.pageSize,search:this.search};this.axios.post(this.getOrderUrl("bad/query"),e).then(function(e){"00"==e.data.code?(t.tableList=e.data.data.list,t.pageTotal=e.data.data.pageTotal):t.$message.error(e.data.message)})},paging:function(t){this.pageIndex=t,this.initTableList()},clickOpenStop:function(t,e){this.userType=t,this.userId=e,this.configTan2=!0},openStop:function(){var t=this,e={userType:this.userType,userId:this.userId};this.axios.post(this.getOrderUrl("bad/setStatus"),e).then(function(e){"00"==e.data.code?(t.configTan2=!1,t.initTableList()):t.$message.error(e.data.message)})},clickDele:function(t){this.userId=t,this.configTan=!0},dele:function(){var t=this,e={userId:this.userId};this.axios.post(this.getOrderUrl("bad/remove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.initTableList()):t.$message.error(e.data.message)})},goDetail:function(t){this.$router.push({path:"/scenic/sMymanagement/blacklistDetail",query:{userId:t}})}},mounted:function(){this.initTableList()}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bigBox"},[a("breadNav",[t._v("黑名单管理")]),t._v(" "),a("div",{staticClass:"content"},[a("div",[a("span",[t._v("确认黑名单时间:")]),t._v(" "),a("dates",{on:{changeDate:t.getDate}})],1),t._v(" "),a("div",[a("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.search,expression:"search",modifiers:{trim:!0}}],attrs:{type:"text",placeholder:"请输入凭证内容"},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),a("a",{staticClass:"btn4",on:{click:function(e){t.pageIndex=1,t.initTableList()}}},[t._v("查询")])])]),t._v(" "),a("table",[t._m(0),t._v(" "),t._l(t.tableList,function(e,n){return a("tr",{key:e.userId},[a("td",[t._v(t._s(e.scanTypeName))]),t._v(" "),a("td",[t._v(t._s(e.scanCode))]),t._v(" "),a("td",[t._v(t._s(e.buyNum))]),t._v(" "),a("td",[0==e.userType?a("span",[t._v("普通用户")]):t._e(),t._v(" "),1==e.userType?a("span",[t._v("黑名单")]):t._e(),t._v(" "),2==e.userType?a("span",{staticStyle:{color:"#00C305"}},[t._v("白名单")]):t._e()]),t._v(" "),a("td",[t._v(t._s(e.createDate))]),t._v(" "),a("td",[t._v(t._s(e.badDate))]),t._v(" "),a("td",[a("span",[1==e.userType?a("i",{staticStyle:{color:"#00C305"},on:{click:function(a){return t.clickOpenStop(2,e.userId)}}},[t._v("白名单")]):t._e()]),t._v(" "),a("span",{on:{click:function(a){return t.goDetail(e.userId)}}},[t._v("详情")]),t._v(" "),a("span",{staticStyle:{color:"#FF0000"},on:{click:function(a){return t.clickDele(e.userId)}}},[t._v("删除")])])])})],2),t._v(" "),a("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),a("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan,expression:"configTan"}],attrs:{configTitle:t.configTitle},on:{config:function(e){return t.dele()},cancel:function(e){t.configTan=!1}}}),t._v(" "),a("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan2,expression:"configTan2"}],attrs:{configTitle:t.configTitle2},on:{config:function(e){return t.openStop()},cancel:function(e){t.configTan2=!1}}})],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",[t._v("\n\t\t\t\t类型\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t凭证内容\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t黑名单次数\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t状态\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t第一时间\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t确认时间\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t操作\n\t\t\t")])])}]};var d=a("C7Lr")(r,c,!1,function(t){a("Pm+J")},"data-v-33c5f1cf",null);e.default=d.exports}});
\ No newline at end of file
webpackJsonp([107],{"Pm+J":function(t,e){},"o/hl":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("RwQt"),i=a("ZotE"),s=a("5XGy"),o=a("KPn7"),r={components:{breadNav:n.default,dates:i.a,page:s.a,config:o.a},data:function(){return{configTan2:!1,configTitle2:"是否改为白名单",configTitle:"是否删除该名单",configTan:!1,badDateFrom:"",badDateTo:"",pageIndex:1,pageSize:15,pageTotal:0,search:"",tableList:[],userId:"",userType:""}},methods:{getDate:function(t){t?(this.badDateFrom=t[0],this.badDateTo=t[1]+" 23:59:59"):(this.badDateFrom="",this.badDateTo="")},initTableList:function(){var t=this,e={badDateFrom:this.badDateFrom,badDateTo:this.badDateTo,pageIndex:this.pageIndex,pageSize:this.pageSize,search:this.search};this.axios.post(this.getOrderUrl("bad/query"),e).then(function(e){"00"==e.data.code?(t.tableList=e.data.data.list,t.pageTotal=e.data.data.pageTotal):t.$message.error(e.data.message)})},paging:function(t){this.pageIndex=t,this.initTableList()},clickOpenStop:function(t,e){this.userType=t,this.userId=e,this.configTan2=!0},openStop:function(){var t=this,e={userType:this.userType,userId:this.userId};this.axios.post(this.getOrderUrl("bad/setStatus"),e).then(function(e){"00"==e.data.code?(t.configTan2=!1,t.initTableList()):t.$message.error(e.data.message)})},clickDele:function(t){this.userId=t,this.configTan=!0},dele:function(){var t=this,e={userId:this.userId};this.axios.post(this.getOrderUrl("bad/remove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.initTableList()):t.$message.error(e.data.message)})},goDetail:function(t){this.$router.push({path:"/scenic/sMymanagement/blacklistDetail",query:{userId:t}})}},mounted:function(){this.initTableList()}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bigBox"},[a("breadNav",[t._v("黑名单管理")]),t._v(" "),a("div",{staticClass:"content"},[a("div",[a("span",[t._v("确认黑名单时间:")]),t._v(" "),a("dates",{on:{changeDate:t.getDate}})],1),t._v(" "),a("div",[a("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.search,expression:"search",modifiers:{trim:!0}}],attrs:{type:"text",placeholder:"请输入凭证内容"},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),a("a",{staticClass:"btn4",on:{click:function(e){t.pageIndex=1,t.initTableList()}}},[t._v("查询")])])]),t._v(" "),a("table",[t._m(0),t._v(" "),t._l(t.tableList,function(e,n){return a("tr",{key:e.userId},[a("td",[t._v(t._s(e.scanTypeName))]),t._v(" "),a("td",[t._v(t._s(e.scanCode))]),t._v(" "),a("td",[t._v(t._s(e.buyNum))]),t._v(" "),a("td",[0==e.userType?a("span",[t._v("普通用户")]):t._e(),t._v(" "),1==e.userType?a("span",[t._v("黑名单")]):t._e(),t._v(" "),2==e.userType?a("span",{staticStyle:{color:"#00C305"}},[t._v("白名单")]):t._e()]),t._v(" "),a("td",[t._v(t._s(e.createDate))]),t._v(" "),a("td",[t._v(t._s(e.badDate))]),t._v(" "),a("td",[a("span",[1==e.userType?a("i",{staticStyle:{color:"#00C305"},on:{click:function(a){return t.clickOpenStop(2,e.userId)}}},[t._v("白名单")]):t._e()]),t._v(" "),a("span",{on:{click:function(a){return t.goDetail(e.userId)}}},[t._v("详情")]),t._v(" "),a("span",{staticStyle:{color:"#FF0000"},on:{click:function(a){return t.clickDele(e.userId)}}},[t._v("删除")])])])})],2),t._v(" "),a("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),a("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan,expression:"configTan"}],attrs:{configTitle:t.configTitle},on:{config:function(e){return t.dele()},cancel:function(e){t.configTan=!1}}}),t._v(" "),a("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan2,expression:"configTan2"}],attrs:{configTitle:t.configTitle2},on:{config:function(e){return t.openStop()},cancel:function(e){t.configTan2=!1}}})],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",[t._v("\n\t\t\t\t类型\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t凭证内容\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t黑名单次数\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t状态\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t第一时间\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t确认时间\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t操作\n\t\t\t")])])}]};var d=a("C7Lr")(r,c,!1,function(t){a("Pm+J")},"data-v-33c5f1cf",null);e.default=d.exports}});
\ No newline at end of file
webpackJsonp([106],{QxYQ:function(t,e){},a75N:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var c={components:{date:a("hBs9").a},data:function(){return{checked:!1,checkList:[]}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"total"},[t._m(0),t._v(" "),a("div",{staticClass:"box"},[a("textarea",{attrs:{placeholder:"公告编辑"}}),t._v(" "),a("div",{staticClass:"duoxuan"},[a("span",[t._v("渠道选择:")]),t._v(" "),a("el-checkbox-group",{model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},[a("el-checkbox",{attrs:{label:"所有渠道"}}),t._v(" "),a("el-checkbox",{attrs:{label:"渠道"}}),t._v(" "),a("el-checkbox",{attrs:{label:"渠道"}})],1)],1),t._v(" "),a("div",[a("span",[t._v("停运时间:")]),t._v(" "),a("date"),t._v(" "),a("el-checkbox",{model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},[t._v("自动上下架")])],1),t._v(" "),t._m(1)]),t._v(" "),t._m(2)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"phead"},[e("a",[this._v("公告通知>")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"div"},[e("span",{staticClass:"inquire"},[this._v("发布")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"table"},[a("p",[t._v("发布记录")]),t._v(" "),a("table",[a("tr",[a("td",[t._v("发布时间")]),t._v(" "),a("td",[t._v("发布内容")]),t._v(" "),a("td",[t._v("发布渠道")]),t._v(" "),a("td",[t._v("下架时间")]),t._v(" "),a("td",[t._v("上架时间")])]),t._v(" "),a("tr",[a("td",[t._v("发布时间")]),t._v(" "),a("td",[t._v("发布内容")]),t._v(" "),a("td",[t._v("发布渠道")]),t._v(" "),a("td",[t._v("下架时间")]),t._v(" "),a("td",[t._v("上架时间")])])])])}]};var v=a("C7Lr")(c,s,!1,function(t){a("QxYQ")},"data-v-3358a83c",null);e.default=v.exports}});
\ No newline at end of file
webpackJsonp([108],{QxYQ:function(t,e){},a75N:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var c={components:{date:a("hBs9").a},data:function(){return{checked:!1,checkList:[]}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"total"},[t._m(0),t._v(" "),a("div",{staticClass:"box"},[a("textarea",{attrs:{placeholder:"公告编辑"}}),t._v(" "),a("div",{staticClass:"duoxuan"},[a("span",[t._v("渠道选择:")]),t._v(" "),a("el-checkbox-group",{model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},[a("el-checkbox",{attrs:{label:"所有渠道"}}),t._v(" "),a("el-checkbox",{attrs:{label:"渠道"}}),t._v(" "),a("el-checkbox",{attrs:{label:"渠道"}})],1)],1),t._v(" "),a("div",[a("span",[t._v("停运时间:")]),t._v(" "),a("date"),t._v(" "),a("el-checkbox",{model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},[t._v("自动上下架")])],1),t._v(" "),t._m(1)]),t._v(" "),t._m(2)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"phead"},[e("a",[this._v("公告通知>")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"div"},[e("span",{staticClass:"inquire"},[this._v("发布")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"table"},[a("p",[t._v("发布记录")]),t._v(" "),a("table",[a("tr",[a("td",[t._v("发布时间")]),t._v(" "),a("td",[t._v("发布内容")]),t._v(" "),a("td",[t._v("发布渠道")]),t._v(" "),a("td",[t._v("下架时间")]),t._v(" "),a("td",[t._v("上架时间")])]),t._v(" "),a("tr",[a("td",[t._v("发布时间")]),t._v(" "),a("td",[t._v("发布内容")]),t._v(" "),a("td",[t._v("发布渠道")]),t._v(" "),a("td",[t._v("下架时间")]),t._v(" "),a("td",[t._v("上架时间")])])])])}]};var v=a("C7Lr")(c,s,!1,function(t){a("QxYQ")},"data-v-3358a83c",null);e.default=v.exports}});
\ No newline at end of file
webpackJsonp([107],{QMqH:function(t,e){},mpNu:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={components:{breadNav:s("RwQt").default},data:function(){return{groupName:"",initList:""}},methods:{save:function(){var t=this;if(this.groupName)if(this.groupName.length>20)this.$message.error("票种名称不能大于20字符");else{var e={groupName:this.groupName};this.axios.post(this.getProductUrl("product/group/save"),e).then(function(e){"00"==e.data.code?(t.$message.success("保存成功"),t.groupName="",t.list()):t.$message.error(e.data.message)})}else this.$message.error("请填写票种名称")},list:function(){var t=this,e={search:this.search,pageSize:9999,pageIndex:1};this.axios.post(this.getProductUrl("product/group/list"),e).then(function(e){"00"==e.data.code?(console.log(e),t.initList=e.data.data.list):t.$message.error(e.data.message)})}},mounted:function(){this.list()}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"bigBox"},[s("breadNav",[t._v("票种设置>新增票种")]),t._v(" "),s("div",{staticClass:"div1"},[s("span",[t._v("\n\t\t\t票种名称\n\t\t")]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.groupName,expression:"groupName",modifiers:{trim:!0}}],staticStyle:{margin:"0 0.3rem 0 0.1rem"},attrs:{type:"text"},domProps:{value:t.groupName},on:{input:function(e){e.target.composing||(t.groupName=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),s("a",{staticClass:"btn4",on:{click:function(e){return t.save()}}},[t._v("\n\t\t\t新增\n\t\t")])]),t._v(" "),s("div",{staticClass:"div2"},t._l(t.initList,function(e,a){return s("span",{key:a},[t._v("\n\t\t\t"+t._s(e.groupName)+"\n\t\t")])}),0),t._v(" "),s("div",{staticClass:"div3"},[s("a",{staticClass:"btn4",on:{click:function(e){return t.$router.go(-1)}}},[t._v("\n\t\t\t返回\n\t\t")])])],1)},staticRenderFns:[]};var r=s("C7Lr")(a,i,!1,function(t){s("QMqH")},"data-v-327739fd",null);e.default=r.exports}});
\ No newline at end of file
webpackJsonp([109],{QMqH:function(t,e){},mpNu:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={components:{breadNav:s("RwQt").default},data:function(){return{groupName:"",initList:""}},methods:{save:function(){var t=this;if(this.groupName)if(this.groupName.length>20)this.$message.error("票种名称不能大于20字符");else{var e={groupName:this.groupName};this.axios.post(this.getProductUrl("product/group/save"),e).then(function(e){"00"==e.data.code?(t.$message.success("保存成功"),t.groupName="",t.list()):t.$message.error(e.data.message)})}else this.$message.error("请填写票种名称")},list:function(){var t=this,e={search:this.search,pageSize:9999,pageIndex:1};this.axios.post(this.getProductUrl("product/group/list"),e).then(function(e){"00"==e.data.code?(console.log(e),t.initList=e.data.data.list):t.$message.error(e.data.message)})}},mounted:function(){this.list()}},i={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"bigBox"},[s("breadNav",[t._v("票种设置>新增票种")]),t._v(" "),s("div",{staticClass:"div1"},[s("span",[t._v("\n\t\t\t票种名称\n\t\t")]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.groupName,expression:"groupName",modifiers:{trim:!0}}],staticStyle:{margin:"0 0.3rem 0 0.1rem"},attrs:{type:"text"},domProps:{value:t.groupName},on:{input:function(e){e.target.composing||(t.groupName=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),s("a",{staticClass:"btn4",on:{click:function(e){return t.save()}}},[t._v("\n\t\t\t新增\n\t\t")])]),t._v(" "),s("div",{staticClass:"div2"},t._l(t.initList,function(e,a){return s("span",{key:a},[t._v("\n\t\t\t"+t._s(e.groupName)+"\n\t\t")])}),0),t._v(" "),s("div",{staticClass:"div3"},[s("a",{staticClass:"btn4",on:{click:function(e){return t.$router.go(-1)}}},[t._v("\n\t\t\t返回\n\t\t")])])],1)},staticRenderFns:[]};var r=s("C7Lr")(a,i,!1,function(t){s("QMqH")},"data-v-327739fd",null);e.default=r.exports}});
\ No newline at end of file
webpackJsonp([108],{JKP8:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("RwQt"),i=n("ZotE"),a={components:{breadNav:o.default,dates:i.a},data:function(){return{reportId:"",selectList:[],conditions:[],selectChoose:[],dateStart:!1,columns:"",rows:"",conditionData:{}}},methods:{aaa:function(){console.log(12345)},dateClick:function(t){var e=t.currentTarget;this.dateKey=e.getAttribute("data-cindition"),this.dateStart=!0},getDate:function(t){var e=this;if(this.dateStart){var n=this.dateKey+"From",o=this.dateKey+"To";t?(this.conditionData[n]=t[0],this.conditionData[o]=t[1]+"23:59:59"):(this.conditionData[n]="",this.conditionData[o]="")}else this.conditions.forEach(function(n){0!=n.fieldValueType&&(e.conditionData[n.conditionSyncKey+"From"]=t[0],e.conditionData[n.conditionSyncKey+"To"]=t[1]+"23:59:59")})},condiSelectChange:function(t){this.conditionData[this.dateKey]=this.selectChoose[t]},getSelceList:function(){var t=this;this.axios.post(this.getPoollUrl("report/list"),{pageIndex:1,pageSize:99999}).then(function(e){"00"==e.data.code?t.selectList=e.data.data.list:t.$message.error(e.data.message)})},getCondition:function(){var t=this;this.conditionData={},this.dateStart=!1,this.columns="",this.rows="",this.selectChoose=[];var e=this.selectList.find(function(e,n){return t.reportId==e.reportId});e.conditions.forEach(function(t){e.fromSource.fields.forEach(function(e){t.conditionSyncKey==e.fieldSyncKey&&(t.fieldValueType=e.fieldValueType),t.conditionSyncKey==e.fieldSyncKey&&(t.typeId=e.typeId)})}),this.conditions=e.conditions,this.conditions.forEach(function(e,n){e.typeId&&e.conditionSyncKey&&t.enumList(e.typeId,n)})},enumList:function(t,e){var n=this,o={typeId:t,pageIndex:1,pageSize:99999};this.axios.post(this.getPoollUrl("enum/list"),o).then(function(t){"00"==t.data.code?(n.conditions[e].selectList=t.data.data.list,n.$forceUpdate()):n.$message.error(t.data.message)})},query:function(){var t=this;if(""==this.reportId)return this.$message.error("请选择报表名称");var e={reportId:this.reportId,condition:this.conditionData};this.axios.post(this.getPoollUrl("report/data"),e).then(function(e){"00"==e.data.code?(t.columns=e.data.data.columns,t.rows=e.data.data.rows):t.$message.error(e.data.message)})},exportData:function(){if(""==this.reportId)return this.$message.error("请选择报表名称");var t={reportId:this.reportId,condition:this.conditionData};this.axios({method:"post",responseType:"blob",url:this.getPoollUrl("report/export"),data:t}).then(function(t){var e=t.headers["content-type"],n=new Blob([t.data],{type:e}),o=document.createElement("a");o.download="统计.xlsx",o.style.display="none",o.href=URL.createObjectURL(n),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)})}},mounted:function(){this.getSelceList()}},s={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bigBox"},[n("breadNav",[t._v("报表查询")]),t._v(" "),n("div",{staticClass:"report"},[n("span",[t._v("报表名称:")]),t._v(" "),n("el-select",{attrs:{clearable:"",placeholder:"请选择",filterable:""},on:{change:function(e){return t.getCondition()}},model:{value:t.reportId,callback:function(e){t.reportId=e},expression:"reportId"}},t._l(t.selectList,function(t){return n("el-option",{key:t.reportId,attrs:{label:t.reportName,value:t.reportId}})}),1)],1),t._v(" "),n("div",{staticClass:"query"},[n("div",{staticClass:"condition"},t._l(t.conditions,function(e,o){return e.conditionSyncKey?n("div",{key:o},[n("span",[t._v(t._s(e.conditionName)+":")]),t._v(" "),0==e.fieldValueType?n("el-select",{attrs:{clearable:"",placeholder:"请选择",filterable:"","data-cindition":e.conditionSyncKey},on:{change:function(e){return t.condiSelectChange(o)}},nativeOn:{click:function(e){return t.dateClick(e)}},model:{value:t.selectChoose[o],callback:function(e){t.$set(t.selectChoose,o,e)},expression:"selectChoose[index]"}},t._l(e.selectList,function(t){return n("el-option",{key:t.typeDataValue,attrs:{label:t.typeDataName,value:t.typeDataValue}})}),1):n("div",{attrs:{"data-cindition":e.conditionSyncKey},on:{click:function(e){return t.dateClick(e)}}},[n("dates",{on:{changeDate:t.getDate},nativeOn:{click:function(e){return t.aaa()}}})],1)],1):t._e()}),0),t._v(" "),n("a",{staticClass:"btn4",on:{click:function(e){return t.query()}}},[t._v("查询")]),t._v(" "),n("a",{staticClass:"btn4",on:{click:function(e){return t.exportData()}}},[t._v("导出")])]),t._v(" "),n("table",{staticStyle:{"margin-top":"0.3rem"}},[n("tr",t._l(t.columns,function(e,o){return n("td",[t._v(t._s(e.display))])}),0),t._v(" "),t._l(t.rows,function(e,o){return n("tr",{key:o},t._l(t.columns,function(o,i){return n("td",{key:i},[t._v(t._s(e[o.columnName]?e[o.columnName].display:""))])}),0)})],2)],1)},staticRenderFns:[]};var r=n("C7Lr")(a,s,!1,function(t){n("ktYX")},"data-v-30cfba42",null);e.default=r.exports},ktYX:function(t,e){}});
\ No newline at end of file
webpackJsonp([110],{JKP8:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("RwQt"),i=n("ZotE"),a={components:{breadNav:o.default,dates:i.a},data:function(){return{reportId:"",selectList:[],conditions:[],selectChoose:[],dateStart:!1,columns:"",rows:"",conditionData:{}}},methods:{aaa:function(){console.log(12345)},dateClick:function(t){var e=t.currentTarget;this.dateKey=e.getAttribute("data-cindition"),this.dateStart=!0},getDate:function(t){var e=this;if(this.dateStart){var n=this.dateKey+"From",o=this.dateKey+"To";t?(this.conditionData[n]=t[0],this.conditionData[o]=t[1]+"23:59:59"):(this.conditionData[n]="",this.conditionData[o]="")}else this.conditions.forEach(function(n){0!=n.fieldValueType&&(e.conditionData[n.conditionSyncKey+"From"]=t[0],e.conditionData[n.conditionSyncKey+"To"]=t[1]+"23:59:59")})},condiSelectChange:function(t){this.conditionData[this.dateKey]=this.selectChoose[t]},getSelceList:function(){var t=this;this.axios.post(this.getPoollUrl("report/list"),{pageIndex:1,pageSize:99999}).then(function(e){"00"==e.data.code?t.selectList=e.data.data.list:t.$message.error(e.data.message)})},getCondition:function(){var t=this;this.conditionData={},this.dateStart=!1,this.columns="",this.rows="",this.selectChoose=[];var e=this.selectList.find(function(e,n){return t.reportId==e.reportId});e.conditions.forEach(function(t){e.fromSource.fields.forEach(function(e){t.conditionSyncKey==e.fieldSyncKey&&(t.fieldValueType=e.fieldValueType),t.conditionSyncKey==e.fieldSyncKey&&(t.typeId=e.typeId)})}),this.conditions=e.conditions,this.conditions.forEach(function(e,n){e.typeId&&e.conditionSyncKey&&t.enumList(e.typeId,n)})},enumList:function(t,e){var n=this,o={typeId:t,pageIndex:1,pageSize:99999};this.axios.post(this.getPoollUrl("enum/list"),o).then(function(t){"00"==t.data.code?(n.conditions[e].selectList=t.data.data.list,n.$forceUpdate()):n.$message.error(t.data.message)})},query:function(){var t=this;if(""==this.reportId)return this.$message.error("请选择报表名称");var e={reportId:this.reportId,condition:this.conditionData};this.axios.post(this.getPoollUrl("report/data"),e).then(function(e){"00"==e.data.code?(t.columns=e.data.data.columns,t.rows=e.data.data.rows):t.$message.error(e.data.message)})},exportData:function(){if(""==this.reportId)return this.$message.error("请选择报表名称");var t={reportId:this.reportId,condition:this.conditionData};this.axios({method:"post",responseType:"blob",url:this.getPoollUrl("report/export"),data:t}).then(function(t){var e=t.headers["content-type"],n=new Blob([t.data],{type:e}),o=document.createElement("a");o.download="统计.xlsx",o.style.display="none",o.href=URL.createObjectURL(n),document.body.appendChild(o),o.click(),URL.revokeObjectURL(o.href),document.body.removeChild(o)})}},mounted:function(){this.getSelceList()}},s={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bigBox"},[n("breadNav",[t._v("报表查询")]),t._v(" "),n("div",{staticClass:"report"},[n("span",[t._v("报表名称:")]),t._v(" "),n("el-select",{attrs:{clearable:"",placeholder:"请选择",filterable:""},on:{change:function(e){return t.getCondition()}},model:{value:t.reportId,callback:function(e){t.reportId=e},expression:"reportId"}},t._l(t.selectList,function(t){return n("el-option",{key:t.reportId,attrs:{label:t.reportName,value:t.reportId}})}),1)],1),t._v(" "),n("div",{staticClass:"query"},[n("div",{staticClass:"condition"},t._l(t.conditions,function(e,o){return e.conditionSyncKey?n("div",{key:o},[n("span",[t._v(t._s(e.conditionName)+":")]),t._v(" "),0==e.fieldValueType?n("el-select",{attrs:{clearable:"",placeholder:"请选择",filterable:"","data-cindition":e.conditionSyncKey},on:{change:function(e){return t.condiSelectChange(o)}},nativeOn:{click:function(e){return t.dateClick(e)}},model:{value:t.selectChoose[o],callback:function(e){t.$set(t.selectChoose,o,e)},expression:"selectChoose[index]"}},t._l(e.selectList,function(t){return n("el-option",{key:t.typeDataValue,attrs:{label:t.typeDataName,value:t.typeDataValue}})}),1):n("div",{attrs:{"data-cindition":e.conditionSyncKey},on:{click:function(e){return t.dateClick(e)}}},[n("dates",{on:{changeDate:t.getDate},nativeOn:{click:function(e){return t.aaa()}}})],1)],1):t._e()}),0),t._v(" "),n("a",{staticClass:"btn4",on:{click:function(e){return t.query()}}},[t._v("查询")]),t._v(" "),n("a",{staticClass:"btn4",on:{click:function(e){return t.exportData()}}},[t._v("导出")])]),t._v(" "),n("table",{staticStyle:{"margin-top":"0.3rem"}},[n("tr",t._l(t.columns,function(e,o){return n("td",[t._v(t._s(e.display))])}),0),t._v(" "),t._l(t.rows,function(e,o){return n("tr",{key:o},t._l(t.columns,function(o,i){return n("td",{key:i},[t._v(t._s(e[o.columnName]?e[o.columnName].display:""))])}),0)})],2)],1)},staticRenderFns:[]};var r=n("C7Lr")(a,s,!1,function(t){n("ktYX")},"data-v-30cfba42",null);e.default=r.exports},ktYX:function(t,e){}});
\ No newline at end of file
webpackJsonp([109],{edRn:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("aA9S"),l=t.n(n),i=t("hBs9"),s=t("5XGy"),o=t("RwQt"),r={components:{newpagingtwo:s.a,tate:i.a,breadNav:o.default},data:function(){return{whichpage:1,valueData:[{value:"orderCount",name:" 订单次数",check:!0,objField:"valueOrderCount"},{value:"buyNum",name:" 售票张数",check:!0,objField:"valueBuyNum"},{value:"buyMoney",name:" 售票金额",check:!0,objField:"buyMoney"},{value:"checkNum",name:" 核销张数",check:!0,objField:"checkNum"},{value:"checkMoney",name:" 核销金额",check:!0,objField:"checkMoney"},{value:"returnMoney",name:" 退款金额",check:!0,objField:"returnMoney"},{value:"returnNum",name:" 退票张数",check:!0,objField:"returnNum"}],rowDimensionality:[{value:"createDateYear",name:" 创建年",disabled:!1,valueField:"createDateYear"},{value:"createDateMonth",name:" 创建月",disabled:!1,valueField:"createDateMonth"},{value:"createDateDay",name:" 创建日",disabled:!1,valueField:"createDateDay"},{value:"createDateOnlyMonth",name:" 创建整月",disabled:!1,valueField:"createDateOnlyMonth"},{value:"createDateOnlyDay",name:" 创建整日",disabled:!1,valueField:"createDateOnlyDay"},{value:"playDateFromYear",name:" 游玩年",disabled:!1,valueField:"playDateFromYear"},{value:"playDateFromMonth",name:" 游玩月",disabled:!1,valueField:"playDateFromMonth"},{value:"playDateFromDay",name:" 游玩日",disabled:!1,valueField:"playDateFromDay"},{value:"playDateFromOnlyMonth",name:" 游玩整月",disabled:!1,valueField:"playDateFromOnlyMonth"},{value:"playDateFromOnlyDay",name:" 游玩整日",disabled:!1,valueField:"playDateFromOnlyDay"},{value:"priceTypeId",name:"渠道类型",disabled:!1,valueField:"priceTypeName"},{value:"payType",name:" 支付类型",disabled:!1,valueField:"payTypeName"},{value:"saleType",name:" 票种",disabled:!1,valueField:"saleTypeName"},{value:"productId",name:" 产品",disabled:!1,valueField:"productName"},{value:"channelId",name:" 渠道",disabled:!1,valueField:"channelName"},{value:"createUserId",name:" 创建人",disabled:!1,valueField:"createUserName"}],row:[],list:[],dimensionalityLie:[{value:"createDateYear",name:" 创建年",disabled:!1},{value:"createDateMonth",name:" 创建月",disabled:!1},{value:"createDateDay",name:" 创建日",disabled:!1},{value:"createDateOnlyMonth",name:" 创建整月",disabled:!1},{value:"createDateOnlyDay",name:" 创建整日",disabled:!1},{value:"playDateFromYear",name:" 游玩年",disabled:!1},{value:"playDateFromMonth",name:" 游玩月",disabled:!1},{value:"playDateFromDay",name:" 游玩日",disabled:!1},{value:"playDateFromOnlyMonth",name:" 游玩整月",disabled:!1},{value:"playDateFromOnlyDay",name:" 游玩整日",disabled:!1},{value:"priceTypeId",name:" 渠道类型",disabled:!1},{value:"payType",name:" 支付类型",disabled:!1},{value:"saleType",name:" 票种",disabled:!1},{value:"productId",name:" 产品",disabled:!1},{value:"channelId",name:" 渠道",disabled:!1},{value:"createUserId",name:" 创建人",disabled:!1}],obj:{companyId:this.$store.state.companyId,createUserId:"",payType:"",saleType:"",priceTypeId:"",productId:"",channelId:"",playDateFromBegin:"",playDateFromEnd:"",rows:[],columns:[]},inquires:{pageSize:20,companyId:this.$store.state.companyId,createDateBegin:"",createDateEnd:""},values:"",valuess:"",value:"0",userType:[{value:"0",label:"创建时间"},{value:"1",label:"游玩时间"}],getProdect:[],getqudao:[],getPayment:[],saleType:[],ChannelType:[],creator:[],hangMap:{},lieMap:{},shijian:[],lieList:[],hangheads:[],ColumnList:[]}},methods:{query:function(){for(var e=0;e<this.row.length;e++)if(!this.row[e].weidu)return void this.$message.error("不能有空的行或列!");for(var a=0;a<this.list.length;a++)if(!this.list[a].weidu)return void this.$message.error("不能有空的行或列!");this.$delete(this.inquires,"pageIndex"),this.getData(),this.whichpage=1},page:function(e){this.inquires.pageIndex=e,this.whichpage=e,this.getData()},rank:function(e,a){var t=this;this.obj.rows=this.row.map(function(e,a){return e.weidu}),this.obj.rows=this.obj.rows.filter(Boolean),this.rowDimensionality.forEach(function(e,a){e.disabled=!1,t.hangMap[e.value]=e}),this.row.forEach(function(e,a){t.hangMap[e.weidu]&&(t.hangMap[e.weidu].disabled=!0)})},lie:function(){var e=this;this.obj.columns=this.list.map(function(e,a){return e.weidu}),this.obj.columns=this.obj.columns.filter(Boolean),this.dimensionalityLie.forEach(function(a,t){a.disabled=!1,e.lieMap[a.value]=a}),this.list.forEach(function(a,t){e.lieMap[a.weidu]&&(e.lieMap[a.weidu].disabled=!0)})},lieaddRem:function(e){e?this.list.push({weidu:""}):(this.list.splice(this.list.length-1),this.lie())},hangaddRem:function(e){e?this.row.push({weidu:""}):(this.row.splice(this.row.length-1),this.rank())},querySearchAsynccustom:function(e,a){e||(this.obj.channelId=""),this.$commonJs.querySearchAsynccustom(e,a,this.getqudao,"companyName")},handleSelectcustom:function(e){this.obj.channelId=e.channelId},FuzzyQueryProductName:function(e,a){e||(this.obj.productId=""),this.$commonJs.querySearchAsynccustom(e,a,this.getProdect,"productName")},handleSelectcustoms:function(e){this.obj.productId=e.productId},time:function(e){this.shijian=e,this.inquires.createDateBegin=e[0],this.inquires.createDateEnd=e[1]},change:function(){"0"===this.value?(this.obj.createDateBegin=this.shijian[0]||"",this.obj.createDateEnd=this.shijian[1]||"",this.obj.playDateFromBegin="",this.obj.playDateFromEnd=""):(this.obj.playDateFromBegin=this.shijian[0]||"",this.obj.playDateFromEnd=this.shijian[1]||"",this.obj.createDateBegin="",this.obj.createDateEnd="")},getData:function(){var e=this;l()(this.inquires,{},this.obj),this.$api.orderDetails(this,this.inquires).then(function(a){if("00"===a.code){e.inquires.pageSize=a.data.pageSize,e.inquires.pageTotal=a.data.pageTotal,e.inquires.pageIndex=a.data.pageIndex,e.hangheads=a.data.heads,e.ColumnList=a.data.list,e.rowDimensionality.forEach(function(a,t){e.hangMap[a.value]=a});var t=[];e.valueData.forEach(function(e,a){e.check&&t.push(e)});var n=[[]],l=n[0],i=[];e.row.forEach(function(a,t){var n=e.hangMap[a.weidu];l.push({name:n.name,row:(0===e.list.length?1:e.list.length)+1,column:1}),i.push({field:n.valueField})});t.length>0&&function e(a,l){var s=n[a]=n[a]||[];l.forEach(function(l,o){if(s.push({name:l.name,row:1,column:l.columnSize*t.length}),l.columnId){var r=n[a+1]=n[a+1]||[];t.forEach(function(e,a){r.push({name:e.name,row:1,column:1}),i.push({field:l.columnId+e.value})})}else e(a+1,l.childs||[])})}(0,e.hangheads),e.hangheads=n,e.lieList=i}else e.$message.error(a.message)},function(a){e.$message.error(a)})}},created:function(){var e=this;this.$api.getProdect(this).then(function(a){"00"===a.code?e.getProdect=a.data.list:e.$message.error(a.message)},function(a){e.$message.error(a)}),this.$api.getqudao(this).then(function(a){"00"===a.code?e.getqudao=a.data.list:e.$message.error(a.message)},function(a){e.$message.error(a)}),this.$api.getPayment(this,"payType").then(function(a){"00"===a.code?e.getPayment=a.data:e.$message.error(a.message)},function(a){e.$message.error(a)}),this.$api.getPayment(this,"saleType").then(function(a){"00"===a.code?e.saleType=a.data:e.$message.error(a.message)},function(a){e.$message.error(a)}),this.$api.ChannelType(this).then(function(a){"00"===a.code?e.ChannelType=a.data:e.$message.error(a.message)},function(a){e.$message.error(a)}),this.$api.creator(this).then(function(a){"00"===a.code?e.creator=a.data.list:e.$message.error(a.message)},function(a){e.$message.error(a)}),this.getData()}},u={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"bigBox"},[t("breadNav",[e._v("订单分析")]),e._v(" "),t("div",{staticClass:"box"},[t("div",{staticClass:"xl"},[t("el-select",{on:{change:e.change},model:{value:e.value,callback:function(a){e.value=a},expression:"value"}},e._l(e.userType,function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" :\n "),t("tate",{on:{time:e.time}}),e._v(" "),t("span",{staticClass:"btn4",on:{click:e.query}},[e._v("查询")])],1)]),e._v(" "),t("div",{staticClass:"div"},[t("div",[t("el-select",{attrs:{placeholder:"--创建人--"},model:{value:e.obj.createUserId,callback:function(a){e.$set(e.obj,"createUserId",a)},expression:"obj.createUserId"}},[t("el-option",{attrs:{label:"--创建人--",value:""}}),e._v(" "),e._l(e.creator,function(e){return t("el-option",{key:e.userId,attrs:{label:e.userName,value:e.userId}})})],2)],1),e._v(" "),t("div",[t("el-select",{attrs:{placeholder:"--渠道类型--"},model:{value:e.obj.priceTypeId,callback:function(a){e.$set(e.obj,"priceTypeId",a)},expression:"obj.priceTypeId"}},[t("el-option",{attrs:{label:"--渠道类型--",value:""}}),e._v(" "),e._l(e.ChannelType,function(e){return t("el-option",{key:e.priceTypeId,attrs:{label:e.priceTypeName,value:e.priceTypeId}})})],2)],1),e._v(" "),t("div",[t("el-select",{attrs:{placeholder:"--支付方式--"},model:{value:e.obj.payType,callback:function(a){e.$set(e.obj,"payType",a)},expression:"obj.payType"}},[t("el-option",{attrs:{label:"--支付方式--",value:""}}),e._v(" "),e._l(e.getPayment,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),t("div",[t("el-select",{attrs:{placeholder:"--票种--"},model:{value:e.obj.saleType,callback:function(a){e.$set(e.obj,"saleType",a)},expression:"obj.saleType"}},[t("el-option",{attrs:{label:"--票种--",value:""}}),e._v(" "),e._l(e.saleType,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),t("div",[t("el-autocomplete",{attrs:{"fetch-suggestions":e.querySearchAsynccustom,placeholder:"渠道名称"},on:{select:e.handleSelectcustom},model:{value:e.values,callback:function(a){e.values=a},expression:"values"}})],1),e._v(" "),t("div",[t("el-autocomplete",{attrs:{"fetch-suggestions":e.FuzzyQueryProductName,placeholder:"产品名称"},on:{select:e.handleSelectcustoms},model:{value:e.valuess,callback:function(a){e.valuess=a},expression:"valuess"}})],1)]),e._v(" "),t("div",{staticClass:"div s",staticStyle:{display:"block","margin-top":"0.15rem","margin-bottom":"0.15rem"}},[t("span",[e._v("行:")]),e._v(" "),t("span",{staticClass:"inquire",on:{click:function(a){return e.hangaddRem(!0)}}},[e._v("+")]),e._v(" "),t("span",{staticClass:"inquire",on:{click:function(a){return e.hangaddRem(!1)}}},[e._v("-")]),e._v(" "),e._l(e.row,function(a,n){return t("el-select",{key:n,attrs:{placeholder:"--行--"},on:{change:function(t){return e.rank(a,n)}},model:{value:a.weidu,callback:function(t){e.$set(a,"weidu",t)},expression:"ite.weidu"}},[t("el-option",{attrs:{label:"--行--",value:""}}),e._v(" "),e._l(e.rowDimensionality,function(e){return t("el-option",{key:e.value,attrs:{label:e.name,value:e.value,disabled:e.disabled}})})],2)})],2),e._v(" "),t("div",{staticClass:"div s",staticStyle:{display:"block","margin-bottom":"0.15rem"}},[t("span",[e._v("列:")]),e._v(" "),t("span",{staticClass:"inquire",on:{click:function(a){return e.lieaddRem(!0)}}},[e._v("+")]),e._v(" "),t("span",{staticClass:"inquire",on:{click:function(a){return e.lieaddRem(!1)}}},[e._v("-")]),e._v(" "),e._l(e.list,function(a,n){return t("el-select",{key:n,attrs:{placeholder:"--列--"},on:{change:function(t){return e.lie(a,n)}},model:{value:a.weidu,callback:function(t){e.$set(a,"weidu",t)},expression:"ite.weidu"}},[t("el-option",{attrs:{label:"--列--",value:""}}),e._v(" "),e._l(e.dimensionalityLie,function(e){return t("el-option",{key:e.value,attrs:{label:e.name,value:e.value,disabled:e.disabled}})})],2)})],2),e._v(" "),t("div",{staticClass:"div"},[t("span",[e._v("值:")]),e._v(" "),e._l(e.valueData,function(a,n){return t("el-checkbox",{key:n,model:{value:a.check,callback:function(t){e.$set(a,"check",t)},expression:"item.check"}},[e._v(e._s(a.name))])})],2),e._v(" "),t("div",{staticClass:"table"},[t("table",[e._l(e.hangheads,function(a,n){return t("tr",{key:n,staticClass:"trr"},e._l(a,function(a,n){return t("td",{key:n,attrs:{rowspan:a.row,colspan:a.column}},[t("span",{staticStyle:{display:"block","text-align":"center"}},[e._v(e._s(a.name))])])}),0)}),e._v(" "),e._l(e.ColumnList,function(a,n){return t("tr",{key:n+e.hangheads.length+1},e._l(e.lieList,function(n,l){return t("td",{key:l},[t("span",{staticStyle:{display:"block",width:"1rem","text-align":"center"}},[e._v(e._s(a[n.field]))])])}),0)})],2)]),e._v(" "),t("newpagingtwo",{attrs:{pagesize:e.inquires.pageSize,total:e.inquires.pageTotal,whichpage:e.whichpage},on:{page:e.page}})],1)},staticRenderFns:[]};var c=t("C7Lr")(r,u,!1,function(e){t("soV6")},"data-v-30709cb6",null);a.default=c.exports},soV6:function(e,a){}});
\ No newline at end of file
webpackJsonp([111],{edRn:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("aA9S"),l=t.n(n),i=t("hBs9"),s=t("5XGy"),o=t("RwQt"),r={components:{newpagingtwo:s.a,tate:i.a,breadNav:o.default},data:function(){return{whichpage:1,valueData:[{value:"orderCount",name:" 订单次数",check:!0,objField:"valueOrderCount"},{value:"buyNum",name:" 售票张数",check:!0,objField:"valueBuyNum"},{value:"buyMoney",name:" 售票金额",check:!0,objField:"buyMoney"},{value:"checkNum",name:" 核销张数",check:!0,objField:"checkNum"},{value:"checkMoney",name:" 核销金额",check:!0,objField:"checkMoney"},{value:"returnMoney",name:" 退款金额",check:!0,objField:"returnMoney"},{value:"returnNum",name:" 退票张数",check:!0,objField:"returnNum"}],rowDimensionality:[{value:"createDateYear",name:" 创建年",disabled:!1,valueField:"createDateYear"},{value:"createDateMonth",name:" 创建月",disabled:!1,valueField:"createDateMonth"},{value:"createDateDay",name:" 创建日",disabled:!1,valueField:"createDateDay"},{value:"createDateOnlyMonth",name:" 创建整月",disabled:!1,valueField:"createDateOnlyMonth"},{value:"createDateOnlyDay",name:" 创建整日",disabled:!1,valueField:"createDateOnlyDay"},{value:"playDateFromYear",name:" 游玩年",disabled:!1,valueField:"playDateFromYear"},{value:"playDateFromMonth",name:" 游玩月",disabled:!1,valueField:"playDateFromMonth"},{value:"playDateFromDay",name:" 游玩日",disabled:!1,valueField:"playDateFromDay"},{value:"playDateFromOnlyMonth",name:" 游玩整月",disabled:!1,valueField:"playDateFromOnlyMonth"},{value:"playDateFromOnlyDay",name:" 游玩整日",disabled:!1,valueField:"playDateFromOnlyDay"},{value:"priceTypeId",name:"渠道类型",disabled:!1,valueField:"priceTypeName"},{value:"payType",name:" 支付类型",disabled:!1,valueField:"payTypeName"},{value:"saleType",name:" 票种",disabled:!1,valueField:"saleTypeName"},{value:"productId",name:" 产品",disabled:!1,valueField:"productName"},{value:"channelId",name:" 渠道",disabled:!1,valueField:"channelName"},{value:"createUserId",name:" 创建人",disabled:!1,valueField:"createUserName"}],row:[],list:[],dimensionalityLie:[{value:"createDateYear",name:" 创建年",disabled:!1},{value:"createDateMonth",name:" 创建月",disabled:!1},{value:"createDateDay",name:" 创建日",disabled:!1},{value:"createDateOnlyMonth",name:" 创建整月",disabled:!1},{value:"createDateOnlyDay",name:" 创建整日",disabled:!1},{value:"playDateFromYear",name:" 游玩年",disabled:!1},{value:"playDateFromMonth",name:" 游玩月",disabled:!1},{value:"playDateFromDay",name:" 游玩日",disabled:!1},{value:"playDateFromOnlyMonth",name:" 游玩整月",disabled:!1},{value:"playDateFromOnlyDay",name:" 游玩整日",disabled:!1},{value:"priceTypeId",name:" 渠道类型",disabled:!1},{value:"payType",name:" 支付类型",disabled:!1},{value:"saleType",name:" 票种",disabled:!1},{value:"productId",name:" 产品",disabled:!1},{value:"channelId",name:" 渠道",disabled:!1},{value:"createUserId",name:" 创建人",disabled:!1}],obj:{companyId:this.$store.state.companyId,createUserId:"",payType:"",saleType:"",priceTypeId:"",productId:"",channelId:"",playDateFromBegin:"",playDateFromEnd:"",rows:[],columns:[]},inquires:{pageSize:20,companyId:this.$store.state.companyId,createDateBegin:"",createDateEnd:""},values:"",valuess:"",value:"0",userType:[{value:"0",label:"创建时间"},{value:"1",label:"游玩时间"}],getProdect:[],getqudao:[],getPayment:[],saleType:[],ChannelType:[],creator:[],hangMap:{},lieMap:{},shijian:[],lieList:[],hangheads:[],ColumnList:[]}},methods:{query:function(){for(var e=0;e<this.row.length;e++)if(!this.row[e].weidu)return void this.$message.error("不能有空的行或列!");for(var a=0;a<this.list.length;a++)if(!this.list[a].weidu)return void this.$message.error("不能有空的行或列!");this.$delete(this.inquires,"pageIndex"),this.getData(),this.whichpage=1},page:function(e){this.inquires.pageIndex=e,this.whichpage=e,this.getData()},rank:function(e,a){var t=this;this.obj.rows=this.row.map(function(e,a){return e.weidu}),this.obj.rows=this.obj.rows.filter(Boolean),this.rowDimensionality.forEach(function(e,a){e.disabled=!1,t.hangMap[e.value]=e}),this.row.forEach(function(e,a){t.hangMap[e.weidu]&&(t.hangMap[e.weidu].disabled=!0)})},lie:function(){var e=this;this.obj.columns=this.list.map(function(e,a){return e.weidu}),this.obj.columns=this.obj.columns.filter(Boolean),this.dimensionalityLie.forEach(function(a,t){a.disabled=!1,e.lieMap[a.value]=a}),this.list.forEach(function(a,t){e.lieMap[a.weidu]&&(e.lieMap[a.weidu].disabled=!0)})},lieaddRem:function(e){e?this.list.push({weidu:""}):(this.list.splice(this.list.length-1),this.lie())},hangaddRem:function(e){e?this.row.push({weidu:""}):(this.row.splice(this.row.length-1),this.rank())},querySearchAsynccustom:function(e,a){e||(this.obj.channelId=""),this.$commonJs.querySearchAsynccustom(e,a,this.getqudao,"companyName")},handleSelectcustom:function(e){this.obj.channelId=e.channelId},FuzzyQueryProductName:function(e,a){e||(this.obj.productId=""),this.$commonJs.querySearchAsynccustom(e,a,this.getProdect,"productName")},handleSelectcustoms:function(e){this.obj.productId=e.productId},time:function(e){this.shijian=e,this.inquires.createDateBegin=e[0],this.inquires.createDateEnd=e[1]},change:function(){"0"===this.value?(this.obj.createDateBegin=this.shijian[0]||"",this.obj.createDateEnd=this.shijian[1]||"",this.obj.playDateFromBegin="",this.obj.playDateFromEnd=""):(this.obj.playDateFromBegin=this.shijian[0]||"",this.obj.playDateFromEnd=this.shijian[1]||"",this.obj.createDateBegin="",this.obj.createDateEnd="")},getData:function(){var e=this;l()(this.inquires,{},this.obj),this.$api.orderDetails(this,this.inquires).then(function(a){if("00"===a.code){e.inquires.pageSize=a.data.pageSize,e.inquires.pageTotal=a.data.pageTotal,e.inquires.pageIndex=a.data.pageIndex,e.hangheads=a.data.heads,e.ColumnList=a.data.list,e.rowDimensionality.forEach(function(a,t){e.hangMap[a.value]=a});var t=[];e.valueData.forEach(function(e,a){e.check&&t.push(e)});var n=[[]],l=n[0],i=[];e.row.forEach(function(a,t){var n=e.hangMap[a.weidu];l.push({name:n.name,row:(0===e.list.length?1:e.list.length)+1,column:1}),i.push({field:n.valueField})});t.length>0&&function e(a,l){var s=n[a]=n[a]||[];l.forEach(function(l,o){if(s.push({name:l.name,row:1,column:l.columnSize*t.length}),l.columnId){var r=n[a+1]=n[a+1]||[];t.forEach(function(e,a){r.push({name:e.name,row:1,column:1}),i.push({field:l.columnId+e.value})})}else e(a+1,l.childs||[])})}(0,e.hangheads),e.hangheads=n,e.lieList=i}else e.$message.error(a.message)},function(a){e.$message.error(a)})}},created:function(){var e=this;this.$api.getProdect(this).then(function(a){"00"===a.code?e.getProdect=a.data.list:e.$message.error(a.message)},function(a){e.$message.error(a)}),this.$api.getqudao(this).then(function(a){"00"===a.code?e.getqudao=a.data.list:e.$message.error(a.message)},function(a){e.$message.error(a)}),this.$api.getPayment(this,"payType").then(function(a){"00"===a.code?e.getPayment=a.data:e.$message.error(a.message)},function(a){e.$message.error(a)}),this.$api.getPayment(this,"saleType").then(function(a){"00"===a.code?e.saleType=a.data:e.$message.error(a.message)},function(a){e.$message.error(a)}),this.$api.ChannelType(this).then(function(a){"00"===a.code?e.ChannelType=a.data:e.$message.error(a.message)},function(a){e.$message.error(a)}),this.$api.creator(this).then(function(a){"00"===a.code?e.creator=a.data.list:e.$message.error(a.message)},function(a){e.$message.error(a)}),this.getData()}},u={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"bigBox"},[t("breadNav",[e._v("订单分析")]),e._v(" "),t("div",{staticClass:"box"},[t("div",{staticClass:"xl"},[t("el-select",{on:{change:e.change},model:{value:e.value,callback:function(a){e.value=a},expression:"value"}},e._l(e.userType,function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" :\n "),t("tate",{on:{time:e.time}}),e._v(" "),t("span",{staticClass:"btn4",on:{click:e.query}},[e._v("查询")])],1)]),e._v(" "),t("div",{staticClass:"div"},[t("div",[t("el-select",{attrs:{placeholder:"--创建人--"},model:{value:e.obj.createUserId,callback:function(a){e.$set(e.obj,"createUserId",a)},expression:"obj.createUserId"}},[t("el-option",{attrs:{label:"--创建人--",value:""}}),e._v(" "),e._l(e.creator,function(e){return t("el-option",{key:e.userId,attrs:{label:e.userName,value:e.userId}})})],2)],1),e._v(" "),t("div",[t("el-select",{attrs:{placeholder:"--渠道类型--"},model:{value:e.obj.priceTypeId,callback:function(a){e.$set(e.obj,"priceTypeId",a)},expression:"obj.priceTypeId"}},[t("el-option",{attrs:{label:"--渠道类型--",value:""}}),e._v(" "),e._l(e.ChannelType,function(e){return t("el-option",{key:e.priceTypeId,attrs:{label:e.priceTypeName,value:e.priceTypeId}})})],2)],1),e._v(" "),t("div",[t("el-select",{attrs:{placeholder:"--支付方式--"},model:{value:e.obj.payType,callback:function(a){e.$set(e.obj,"payType",a)},expression:"obj.payType"}},[t("el-option",{attrs:{label:"--支付方式--",value:""}}),e._v(" "),e._l(e.getPayment,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),t("div",[t("el-select",{attrs:{placeholder:"--票种--"},model:{value:e.obj.saleType,callback:function(a){e.$set(e.obj,"saleType",a)},expression:"obj.saleType"}},[t("el-option",{attrs:{label:"--票种--",value:""}}),e._v(" "),e._l(e.saleType,function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),t("div",[t("el-autocomplete",{attrs:{"fetch-suggestions":e.querySearchAsynccustom,placeholder:"渠道名称"},on:{select:e.handleSelectcustom},model:{value:e.values,callback:function(a){e.values=a},expression:"values"}})],1),e._v(" "),t("div",[t("el-autocomplete",{attrs:{"fetch-suggestions":e.FuzzyQueryProductName,placeholder:"产品名称"},on:{select:e.handleSelectcustoms},model:{value:e.valuess,callback:function(a){e.valuess=a},expression:"valuess"}})],1)]),e._v(" "),t("div",{staticClass:"div s",staticStyle:{display:"block","margin-top":"0.15rem","margin-bottom":"0.15rem"}},[t("span",[e._v("行:")]),e._v(" "),t("span",{staticClass:"inquire",on:{click:function(a){return e.hangaddRem(!0)}}},[e._v("+")]),e._v(" "),t("span",{staticClass:"inquire",on:{click:function(a){return e.hangaddRem(!1)}}},[e._v("-")]),e._v(" "),e._l(e.row,function(a,n){return t("el-select",{key:n,attrs:{placeholder:"--行--"},on:{change:function(t){return e.rank(a,n)}},model:{value:a.weidu,callback:function(t){e.$set(a,"weidu",t)},expression:"ite.weidu"}},[t("el-option",{attrs:{label:"--行--",value:""}}),e._v(" "),e._l(e.rowDimensionality,function(e){return t("el-option",{key:e.value,attrs:{label:e.name,value:e.value,disabled:e.disabled}})})],2)})],2),e._v(" "),t("div",{staticClass:"div s",staticStyle:{display:"block","margin-bottom":"0.15rem"}},[t("span",[e._v("列:")]),e._v(" "),t("span",{staticClass:"inquire",on:{click:function(a){return e.lieaddRem(!0)}}},[e._v("+")]),e._v(" "),t("span",{staticClass:"inquire",on:{click:function(a){return e.lieaddRem(!1)}}},[e._v("-")]),e._v(" "),e._l(e.list,function(a,n){return t("el-select",{key:n,attrs:{placeholder:"--列--"},on:{change:function(t){return e.lie(a,n)}},model:{value:a.weidu,callback:function(t){e.$set(a,"weidu",t)},expression:"ite.weidu"}},[t("el-option",{attrs:{label:"--列--",value:""}}),e._v(" "),e._l(e.dimensionalityLie,function(e){return t("el-option",{key:e.value,attrs:{label:e.name,value:e.value,disabled:e.disabled}})})],2)})],2),e._v(" "),t("div",{staticClass:"div"},[t("span",[e._v("值:")]),e._v(" "),e._l(e.valueData,function(a,n){return t("el-checkbox",{key:n,model:{value:a.check,callback:function(t){e.$set(a,"check",t)},expression:"item.check"}},[e._v(e._s(a.name))])})],2),e._v(" "),t("div",{staticClass:"table"},[t("table",[e._l(e.hangheads,function(a,n){return t("tr",{key:n,staticClass:"trr"},e._l(a,function(a,n){return t("td",{key:n,attrs:{rowspan:a.row,colspan:a.column}},[t("span",{staticStyle:{display:"block","text-align":"center"}},[e._v(e._s(a.name))])])}),0)}),e._v(" "),e._l(e.ColumnList,function(a,n){return t("tr",{key:n+e.hangheads.length+1},e._l(e.lieList,function(n,l){return t("td",{key:l},[t("span",{staticStyle:{display:"block",width:"1rem","text-align":"center"}},[e._v(e._s(a[n.field]))])])}),0)})],2)]),e._v(" "),t("newpagingtwo",{attrs:{pagesize:e.inquires.pageSize,total:e.inquires.pageTotal,whichpage:e.whichpage},on:{page:e.page}})],1)},staticRenderFns:[]};var c=t("C7Lr")(r,u,!1,function(e){t("soV6")},"data-v-30709cb6",null);a.default=c.exports},soV6:function(e,a){}});
\ No newline at end of file
webpackJsonp([110],{UMhl:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("RwQt"),i=n("5XGy"),s=n("KPn7"),o={components:{breadNav:a.default,page:i.a,config:s.a},data:function(){return{configTan:!1,configTitle:"确定是否删除该票种",pageSize:15,pageIndex:1,pageTotal:0,search:"",initList:"",groupId:""}},methods:{list:function(){var t=this,e={search:this.search,pageSize:this.pageSize,pageIndex:this.pageIndex};this.axios.post(this.getProductUrl("product/group/list"),e).then(function(e){"00"==e.data.code?(t.initList=e.data.data.list,t.pageTotal=e.data.data.pageTotal):t.$message.error(e.data.message)})},paging:function(t){this.pageIndex=t,this.list()},clickDele:function(t){this.configTan=!0,this.groupId=t},dele:function(){var t=this,e={groupId:this.groupId};this.axios.post(this.getProductUrl("product/group/remove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.list()):t.$message.error(e.data.message)})}},mounted:function(){this.list()}},c={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bigBox"},[n("breadNav",[t._v("票种设置")]),t._v(" "),n("div",{staticClass:"btn4",staticStyle:{"margin-top":"0.3rem"},on:{click:function(e){return t.$router.push("/scenic/pOperationCenter/ticketSetPlus")}}},[t._v("\n\t\t新增票种\n\t")]),t._v(" "),n("div",{staticClass:"search"},[n("span",[t._v("\n\t\t\t票种名称\n\t\t")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticStyle:{margin:"0 0.3rem 0 0.1rem"},attrs:{type:"text"},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}}),t._v(" "),n("a",{staticClass:"btn4",on:{click:function(e){t.pageIndex=1,t.list()}}},[t._v("\n\t\t\t查询\n\t\t")])]),t._v(" "),n("table",[t._m(0),t._v(" "),t._l(t.initList,function(e,a){return n("tr",{key:e.groupId},[n("td",[t._v(t._s(a+1))]),t._v(" "),n("td",[t._v(t._s(e.groupName))]),t._v(" "),n("td",[n("span",{staticStyle:{color:"#F20000"},on:{click:function(n){return t.clickDele(e.groupId)}}},[t._v("\n\t\t\t\t\t删除\n\t\t\t\t")])])])})],2),t._v(" "),n("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),n("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan,expression:"configTan"}],attrs:{configTitle:t.configTitle},on:{config:function(e){return t.dele()},cancel:function(e){t.configTan=!1}}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("td",[this._v("\n\t\t\t\t序号\n\t\t\t")]),this._v(" "),e("td",{staticStyle:{width:"80%"}},[this._v("\n\t\t\t\t票种名称\n\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t操作\n\t\t\t")])])}]};var r=n("C7Lr")(o,c,!1,function(t){n("oOXY")},"data-v-2d3d2bc5",null);e.default=r.exports},oOXY:function(t,e){}});
\ No newline at end of file
webpackJsonp([112],{UMhl:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("RwQt"),i=n("5XGy"),s=n("KPn7"),o={components:{breadNav:a.default,page:i.a,config:s.a},data:function(){return{configTan:!1,configTitle:"确定是否删除该票种",pageSize:15,pageIndex:1,pageTotal:0,search:"",initList:"",groupId:""}},methods:{list:function(){var t=this,e={search:this.search,pageSize:this.pageSize,pageIndex:this.pageIndex};this.axios.post(this.getProductUrl("product/group/list"),e).then(function(e){"00"==e.data.code?(t.initList=e.data.data.list,t.pageTotal=e.data.data.pageTotal):t.$message.error(e.data.message)})},paging:function(t){this.pageIndex=t,this.list()},clickDele:function(t){this.configTan=!0,this.groupId=t},dele:function(){var t=this,e={groupId:this.groupId};this.axios.post(this.getProductUrl("product/group/remove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.list()):t.$message.error(e.data.message)})}},mounted:function(){this.list()}},c={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bigBox"},[n("breadNav",[t._v("票种设置")]),t._v(" "),n("div",{staticClass:"btn4",staticStyle:{"margin-top":"0.3rem"},on:{click:function(e){return t.$router.push("/scenic/pOperationCenter/ticketSetPlus")}}},[t._v("\n\t\t新增票种\n\t")]),t._v(" "),n("div",{staticClass:"search"},[n("span",[t._v("\n\t\t\t票种名称\n\t\t")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticStyle:{margin:"0 0.3rem 0 0.1rem"},attrs:{type:"text"},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}}),t._v(" "),n("a",{staticClass:"btn4",on:{click:function(e){t.pageIndex=1,t.list()}}},[t._v("\n\t\t\t查询\n\t\t")])]),t._v(" "),n("table",[t._m(0),t._v(" "),t._l(t.initList,function(e,a){return n("tr",{key:e.groupId},[n("td",[t._v(t._s(a+1))]),t._v(" "),n("td",[t._v(t._s(e.groupName))]),t._v(" "),n("td",[n("span",{staticStyle:{color:"#F20000"},on:{click:function(n){return t.clickDele(e.groupId)}}},[t._v("\n\t\t\t\t\t删除\n\t\t\t\t")])])])})],2),t._v(" "),n("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),n("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan,expression:"configTan"}],attrs:{configTitle:t.configTitle},on:{config:function(e){return t.dele()},cancel:function(e){t.configTan=!1}}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("td",[this._v("\n\t\t\t\t序号\n\t\t\t")]),this._v(" "),e("td",{staticStyle:{width:"80%"}},[this._v("\n\t\t\t\t票种名称\n\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t操作\n\t\t\t")])])}]};var r=n("C7Lr")(o,c,!1,function(t){n("oOXY")},"data-v-2d3d2bc5",null);e.default=r.exports},oOXY:function(t,e){}});
\ No newline at end of file
webpackJsonp([111],{OTlm:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("RwQt"),s=a("5XGy"),i=a("KPn7"),o={components:{breadNav:n.default,page:s.a,config:i.a},data:function(){return{configTitle:"确定是否删除该枚举",configTan:!1,pageIndex:1,pageSize:12,pageTotal:0,tableList:"",typeId:"",search:""}},methods:{query:function(){var e=this,t={pageIndex:this.pageIndex,pageSize:this.pageSize,search:this.search};this.axios.post(this.getPoollUrl("enum/config/list"),t).then(function(t){"00"==t.data.code?(e.tableList=t.data.data.list,e.pageTotal=t.data.data.pageTotal):e.$message.error(t.data.message)})},paging:function(e){this.pageIndex=e,this.query()},dele:function(){var e=this,t={typeId:this.typeId};this.axios.post(this.getPoollUrl("enum/config/remove"),t).then(function(t){"00"==t.data.code?(e.$message.success("删除成功"),e.configTan=!1,e.query()):e.$message.error(t.data.message)})}},mounted:function(){this.query()}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"bigBox"},[a("breadNav",[e._v("\n 枚举配置\n ")]),e._v(" "),a("div",{staticClass:"head"},[a("a",{staticClass:"btn4",on:{click:function(t){return e.$router.push("/scenic/dataCenter/enumerationEditing")}}},[e._v("新增类型")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],attrs:{placeholder:"请输入枚举名称、关键字"},domProps:{value:e.search},on:{input:function(t){t.target.composing||(e.search=t.target.value)}}}),e._v(" "),a("a",{staticClass:"btn4",on:{click:function(t){e.pageIndex=1,e.query()}}},[e._v("查询")])]),e._v(" "),a("table",{staticClass:"bottom"},[e._m(0),e._v(" "),e._l(e.tableList,function(t,n){return a("tr",{key:n},[a("td",[0==t.typeValueType?a("span",[e._v("枚举")]):e._e(),e._v(" "),1==t.typeValueType?a("span",[e._v("时间")]):e._e(),e._v(" "),2==t.typeValueType?a("span",[e._v("日期")]):e._e(),e._v(" "),3==t.typeValueType?a("span",[e._v("次数")]):e._e(),e._v(" "),4==t.typeValueType?a("span",[e._v("金额")]):e._e()]),e._v(" "),a("td",[e._v(e._s(t.typeSyncKey))]),e._v(" "),a("td",[e._v(e._s(t.typeName))]),e._v(" "),a("td",[e._v(e._s(t.type))]),e._v(" "),a("td",[e._v(e._s(t.type))]),e._v(" "),a("td",[e._v(e._s(t.createDate))]),e._v(" "),a("td",[a("span",[e._v("编辑")]),e._v(" "),a("span",[e._v("详情")]),e._v(" "),a("span",{staticStyle:{color:"#FF0000"},on:{click:function(a){e.configTan=!0,e.typeId=t.typeId}}},[e._v("删除")])])])})],2),e._v(" "),a("page",{attrs:{pagesize:e.pageSize,total:e.pageTotal,whichpage:e.pageIndex},on:{page:e.paging}}),e._v(" "),a("config",{directives:[{name:"show",rawName:"v-show",value:e.configTan,expression:"configTan"}],attrs:{configTitle:e.configTitle},on:{config:function(t){return e.dele()},cancel:function(t){e.configTan=!1}}})],1)},staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("tr",[a("td",[e._v("类型")]),e._v(" "),a("td",[e._v("同步关键字")]),e._v(" "),a("td",[e._v("包含名称")]),e._v(" "),a("td",[e._v("父类型")]),e._v(" "),a("td",[e._v("数据源应用")]),e._v(" "),a("td",[e._v("创建时间")]),e._v(" "),a("td",[e._v("操作")])])}]};var r=a("C7Lr")(o,c,!1,function(e){a("zZ4w")},"data-v-2776b235",null);t.default=r.exports},zZ4w:function(e,t){}});
\ No newline at end of file
webpackJsonp([113],{OTlm:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("RwQt"),s=a("5XGy"),i=a("KPn7"),o={components:{breadNav:n.default,page:s.a,config:i.a},data:function(){return{configTitle:"确定是否删除该枚举",configTan:!1,pageIndex:1,pageSize:12,pageTotal:0,tableList:"",typeId:"",search:""}},methods:{query:function(){var e=this,t={pageIndex:this.pageIndex,pageSize:this.pageSize,search:this.search};this.axios.post(this.getPoollUrl("enum/config/list"),t).then(function(t){"00"==t.data.code?(e.tableList=t.data.data.list,e.pageTotal=t.data.data.pageTotal):e.$message.error(t.data.message)})},paging:function(e){this.pageIndex=e,this.query()},dele:function(){var e=this,t={typeId:this.typeId};this.axios.post(this.getPoollUrl("enum/config/remove"),t).then(function(t){"00"==t.data.code?(e.$message.success("删除成功"),e.configTan=!1,e.query()):e.$message.error(t.data.message)})}},mounted:function(){this.query()}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"bigBox"},[a("breadNav",[e._v("\n 枚举配置\n ")]),e._v(" "),a("div",{staticClass:"head"},[a("a",{staticClass:"btn4",on:{click:function(t){return e.$router.push("/scenic/dataCenter/enumerationEditing")}}},[e._v("新增类型")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],attrs:{placeholder:"请输入枚举名称、关键字"},domProps:{value:e.search},on:{input:function(t){t.target.composing||(e.search=t.target.value)}}}),e._v(" "),a("a",{staticClass:"btn4",on:{click:function(t){e.pageIndex=1,e.query()}}},[e._v("查询")])]),e._v(" "),a("table",{staticClass:"bottom"},[e._m(0),e._v(" "),e._l(e.tableList,function(t,n){return a("tr",{key:n},[a("td",[0==t.typeValueType?a("span",[e._v("枚举")]):e._e(),e._v(" "),1==t.typeValueType?a("span",[e._v("时间")]):e._e(),e._v(" "),2==t.typeValueType?a("span",[e._v("日期")]):e._e(),e._v(" "),3==t.typeValueType?a("span",[e._v("次数")]):e._e(),e._v(" "),4==t.typeValueType?a("span",[e._v("金额")]):e._e()]),e._v(" "),a("td",[e._v(e._s(t.typeSyncKey))]),e._v(" "),a("td",[e._v(e._s(t.typeName))]),e._v(" "),a("td",[e._v(e._s(t.type))]),e._v(" "),a("td",[e._v(e._s(t.type))]),e._v(" "),a("td",[e._v(e._s(t.createDate))]),e._v(" "),a("td",[a("span",[e._v("编辑")]),e._v(" "),a("span",[e._v("详情")]),e._v(" "),a("span",{staticStyle:{color:"#FF0000"},on:{click:function(a){e.configTan=!0,e.typeId=t.typeId}}},[e._v("删除")])])])})],2),e._v(" "),a("page",{attrs:{pagesize:e.pageSize,total:e.pageTotal,whichpage:e.pageIndex},on:{page:e.paging}}),e._v(" "),a("config",{directives:[{name:"show",rawName:"v-show",value:e.configTan,expression:"configTan"}],attrs:{configTitle:e.configTitle},on:{config:function(t){return e.dele()},cancel:function(t){e.configTan=!1}}})],1)},staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("tr",[a("td",[e._v("类型")]),e._v(" "),a("td",[e._v("同步关键字")]),e._v(" "),a("td",[e._v("包含名称")]),e._v(" "),a("td",[e._v("父类型")]),e._v(" "),a("td",[e._v("数据源应用")]),e._v(" "),a("td",[e._v("创建时间")]),e._v(" "),a("td",[e._v("操作")])])}]};var r=a("C7Lr")(o,c,!1,function(e){a("zZ4w")},"data-v-2776b235",null);t.default=r.exports},zZ4w:function(e,t){}});
\ No newline at end of file
webpackJsonp([112],{"/fez":function(e,r,l){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t=l("hBs9"),s=l("RwQt"),a={components:{date:t.a,breadNav:s.default},data:function(){return{ruleForm:{a:"",b:"",c:"",d:"",e:"",f:"",g:"",h:"",i:"",j:"",k:"",l:"",m:""},rules:{a:[{required:!0,message:"账户号",trigger:"blur"}],b:[{required:!0,message:"开户银行",trigger:"blur"}],c:[{required:!0,message:"账号",trigger:"blur"}],d:[{required:!0,message:"开户行号",trigger:"blur"}],e:[{required:!0,message:"备注",trigger:"blur"}],f:[{required:!0,message:"发票单位",trigger:"blur"}],g:[{required:!0,message:"税号",trigger:"blur"}],h:[{required:!0,message:"地址",trigger:"blur"}],i:[{required:!0,message:"联系人",trigger:"blur"}],j:[{required:!0,message:"联系电话",trigger:"blur"}],k:[{required:!0,message:"剩余提醒",trigger:"blur"}],l:[{required:!0,message:"提醒人",trigger:"blur"}],m:[{required:!0,message:"手机",trigger:"blur"}]}}},methods:{submitForm:function(e){this.$refs[e].validate(function(e){if(!e)return console.log("失败"),!1;console.log("成功")})}}},i={render:function(){var e=this,r=e.$createElement,l=e._self._c||r;return l("div",{staticClass:"bigBox"},[l("breadNav",[e._v("短信充值")]),e._v(" "),l("div",{staticClass:"center"},[l("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules}},[l("div",{staticClass:"box"},[l("p",[l("span",[e._v("剩余数量:")]),l("span",{staticStyle:{color:"#d50000","font-size":"18px"}},[e._v("10000")]),e._v(" 条")]),e._v(" "),l("div",{staticClass:"divs"},[l("div",{staticClass:"huikuan"},[l("p",[e._v("汇款方信息")]),e._v(" "),l("el-form-item",{attrs:{label:"账户名:",prop:"a"}},[l("el-input",{model:{value:e.ruleForm.a,callback:function(r){e.$set(e.ruleForm,"a",r)},expression:"ruleForm.a"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"开户银行:",prop:"b"}},[l("el-input",{model:{value:e.ruleForm.b,callback:function(r){e.$set(e.ruleForm,"b",r)},expression:"ruleForm.b"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"账号:",prop:"c"}},[l("el-input",{model:{value:e.ruleForm.c,callback:function(r){e.$set(e.ruleForm,"c",r)},expression:"ruleForm.c"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"开户行号:",prop:"d"}},[l("el-input",{model:{value:e.ruleForm.d,callback:function(r){e.$set(e.ruleForm,"d",r)},expression:"ruleForm.d"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"备注:",prop:"e"}},[l("el-input",{model:{value:e.ruleForm.e,callback:function(r){e.$set(e.ruleForm,"e",r)},expression:"ruleForm.e"}})],1)],1),e._v(" "),l("div",{staticClass:"huikuan"},[l("p",[e._v("发票信息")]),e._v(" "),l("el-form-item",{attrs:{label:"发票单位:",prop:"f"}},[l("el-input",{model:{value:e.ruleForm.f,callback:function(r){e.$set(e.ruleForm,"f",r)},expression:"ruleForm.f"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"税号:",prop:"g"}},[l("el-input",{model:{value:e.ruleForm.g,callback:function(r){e.$set(e.ruleForm,"g",r)},expression:"ruleForm.g"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"地址:",prop:"h"}},[l("el-input",{model:{value:e.ruleForm.h,callback:function(r){e.$set(e.ruleForm,"h",r)},expression:"ruleForm.h"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"联系人:",prop:"i"}},[l("el-input",{model:{value:e.ruleForm.i,callback:function(r){e.$set(e.ruleForm,"i",r)},expression:"ruleForm.i"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"联系电话:",prop:"j"}},[l("el-input",{model:{value:e.ruleForm.j,callback:function(r){e.$set(e.ruleForm,"j",r)},expression:"ruleForm.j"}})],1)],1),e._v(" "),l("div",{staticClass:"huikuan shoukuan"},[l("p",[e._v("收款方信息")]),e._v(" "),l("p",{staticClass:"p"},[l("span",{staticClass:"span"},[e._v("账户名:")]),l("span",[e._v("123123123")])]),e._v(" "),l("p",{staticClass:"p"},[l("span",{staticClass:"span"},[e._v("开户银行:")]),l("span",[e._v("123123")])]),e._v(" "),l("p",{staticClass:"p"},[l("span",{staticClass:"span"},[e._v("账号:")]),l("span")]),e._v(" "),l("p",{staticClass:"p"},[l("span",{staticClass:"span"},[e._v("联系人:")]),l("span")]),e._v(" "),l("p",{staticClass:"p"},[l("span",{staticClass:"span"},[e._v("联系电话:")]),l("span")])])])]),e._v(" "),l("div",{staticClass:"box"},[l("div",{staticClass:"div"},[l("el-form-item",{attrs:{label:"剩余提醒:",prop:"k"}},[l("el-input",{model:{value:e.ruleForm.name,callback:function(r){e.$set(e.ruleForm,"name",r)},expression:"ruleForm.name"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"提醒人:",prop:"l"}},[l("el-input",{model:{value:e.ruleForm.name,callback:function(r){e.$set(e.ruleForm,"name",r)},expression:"ruleForm.name"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"手机:",prop:"m"}},[l("el-input",{model:{value:e.ruleForm.name,callback:function(r){e.$set(e.ruleForm,"name",r)},expression:"ruleForm.name"}})],1)],1)]),e._v(" "),l("button",{staticClass:"btn4",staticStyle:{"margin-top":"0.1rem","margin-left":"0.5rem"},attrs:{type:"primary"},on:{click:function(r){return r.preventDefault(),e.submitForm("ruleForm")}}},[e._v("保存")])])],1),e._v(" "),l("div",{staticClass:"stern"},[l("p",[e._v("充值记录")]),e._v(" "),l("span",[e._v("时间:")]),e._v(" "),l("date")],1),e._v(" "),e._m(0)],1)},staticRenderFns:[function(){var e=this,r=e.$createElement,l=e._self._c||r;return l("div",[l("table",{staticClass:"table"},[l("tr",[l("td",[e._v("编号")]),e._v(" "),l("td",[e._v("充值时间")]),e._v(" "),l("td",[e._v("充值数量(条)")]),e._v(" "),l("td",[e._v("状态")])]),e._v(" "),l("tr",[l("td",[e._v("1")]),e._v(" "),l("td",[e._v("2019-3-6")]),e._v(" "),l("td",[e._v("10000")]),e._v(" "),l("td",[e._v("成功")])])])])}]};var o=l("C7Lr")(a,i,!1,function(e){l("YWhF")},"data-v-235e901e",null);r.default=o.exports},YWhF:function(e,r){}});
\ No newline at end of file
webpackJsonp([114],{"/fez":function(e,r,l){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t=l("hBs9"),s=l("RwQt"),a={components:{date:t.a,breadNav:s.default},data:function(){return{ruleForm:{a:"",b:"",c:"",d:"",e:"",f:"",g:"",h:"",i:"",j:"",k:"",l:"",m:""},rules:{a:[{required:!0,message:"账户号",trigger:"blur"}],b:[{required:!0,message:"开户银行",trigger:"blur"}],c:[{required:!0,message:"账号",trigger:"blur"}],d:[{required:!0,message:"开户行号",trigger:"blur"}],e:[{required:!0,message:"备注",trigger:"blur"}],f:[{required:!0,message:"发票单位",trigger:"blur"}],g:[{required:!0,message:"税号",trigger:"blur"}],h:[{required:!0,message:"地址",trigger:"blur"}],i:[{required:!0,message:"联系人",trigger:"blur"}],j:[{required:!0,message:"联系电话",trigger:"blur"}],k:[{required:!0,message:"剩余提醒",trigger:"blur"}],l:[{required:!0,message:"提醒人",trigger:"blur"}],m:[{required:!0,message:"手机",trigger:"blur"}]}}},methods:{submitForm:function(e){this.$refs[e].validate(function(e){if(!e)return console.log("失败"),!1;console.log("成功")})}}},i={render:function(){var e=this,r=e.$createElement,l=e._self._c||r;return l("div",{staticClass:"bigBox"},[l("breadNav",[e._v("短信充值")]),e._v(" "),l("div",{staticClass:"center"},[l("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules}},[l("div",{staticClass:"box"},[l("p",[l("span",[e._v("剩余数量:")]),l("span",{staticStyle:{color:"#d50000","font-size":"18px"}},[e._v("10000")]),e._v(" 条")]),e._v(" "),l("div",{staticClass:"divs"},[l("div",{staticClass:"huikuan"},[l("p",[e._v("汇款方信息")]),e._v(" "),l("el-form-item",{attrs:{label:"账户名:",prop:"a"}},[l("el-input",{model:{value:e.ruleForm.a,callback:function(r){e.$set(e.ruleForm,"a",r)},expression:"ruleForm.a"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"开户银行:",prop:"b"}},[l("el-input",{model:{value:e.ruleForm.b,callback:function(r){e.$set(e.ruleForm,"b",r)},expression:"ruleForm.b"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"账号:",prop:"c"}},[l("el-input",{model:{value:e.ruleForm.c,callback:function(r){e.$set(e.ruleForm,"c",r)},expression:"ruleForm.c"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"开户行号:",prop:"d"}},[l("el-input",{model:{value:e.ruleForm.d,callback:function(r){e.$set(e.ruleForm,"d",r)},expression:"ruleForm.d"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"备注:",prop:"e"}},[l("el-input",{model:{value:e.ruleForm.e,callback:function(r){e.$set(e.ruleForm,"e",r)},expression:"ruleForm.e"}})],1)],1),e._v(" "),l("div",{staticClass:"huikuan"},[l("p",[e._v("发票信息")]),e._v(" "),l("el-form-item",{attrs:{label:"发票单位:",prop:"f"}},[l("el-input",{model:{value:e.ruleForm.f,callback:function(r){e.$set(e.ruleForm,"f",r)},expression:"ruleForm.f"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"税号:",prop:"g"}},[l("el-input",{model:{value:e.ruleForm.g,callback:function(r){e.$set(e.ruleForm,"g",r)},expression:"ruleForm.g"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"地址:",prop:"h"}},[l("el-input",{model:{value:e.ruleForm.h,callback:function(r){e.$set(e.ruleForm,"h",r)},expression:"ruleForm.h"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"联系人:",prop:"i"}},[l("el-input",{model:{value:e.ruleForm.i,callback:function(r){e.$set(e.ruleForm,"i",r)},expression:"ruleForm.i"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"联系电话:",prop:"j"}},[l("el-input",{model:{value:e.ruleForm.j,callback:function(r){e.$set(e.ruleForm,"j",r)},expression:"ruleForm.j"}})],1)],1),e._v(" "),l("div",{staticClass:"huikuan shoukuan"},[l("p",[e._v("收款方信息")]),e._v(" "),l("p",{staticClass:"p"},[l("span",{staticClass:"span"},[e._v("账户名:")]),l("span",[e._v("123123123")])]),e._v(" "),l("p",{staticClass:"p"},[l("span",{staticClass:"span"},[e._v("开户银行:")]),l("span",[e._v("123123")])]),e._v(" "),l("p",{staticClass:"p"},[l("span",{staticClass:"span"},[e._v("账号:")]),l("span")]),e._v(" "),l("p",{staticClass:"p"},[l("span",{staticClass:"span"},[e._v("联系人:")]),l("span")]),e._v(" "),l("p",{staticClass:"p"},[l("span",{staticClass:"span"},[e._v("联系电话:")]),l("span")])])])]),e._v(" "),l("div",{staticClass:"box"},[l("div",{staticClass:"div"},[l("el-form-item",{attrs:{label:"剩余提醒:",prop:"k"}},[l("el-input",{model:{value:e.ruleForm.name,callback:function(r){e.$set(e.ruleForm,"name",r)},expression:"ruleForm.name"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"提醒人:",prop:"l"}},[l("el-input",{model:{value:e.ruleForm.name,callback:function(r){e.$set(e.ruleForm,"name",r)},expression:"ruleForm.name"}})],1),e._v(" "),l("el-form-item",{attrs:{label:"手机:",prop:"m"}},[l("el-input",{model:{value:e.ruleForm.name,callback:function(r){e.$set(e.ruleForm,"name",r)},expression:"ruleForm.name"}})],1)],1)]),e._v(" "),l("button",{staticClass:"btn4",staticStyle:{"margin-top":"0.1rem","margin-left":"0.5rem"},attrs:{type:"primary"},on:{click:function(r){return r.preventDefault(),e.submitForm("ruleForm")}}},[e._v("保存")])])],1),e._v(" "),l("div",{staticClass:"stern"},[l("p",[e._v("充值记录")]),e._v(" "),l("span",[e._v("时间:")]),e._v(" "),l("date")],1),e._v(" "),e._m(0)],1)},staticRenderFns:[function(){var e=this,r=e.$createElement,l=e._self._c||r;return l("div",[l("table",{staticClass:"table"},[l("tr",[l("td",[e._v("编号")]),e._v(" "),l("td",[e._v("充值时间")]),e._v(" "),l("td",[e._v("充值数量(条)")]),e._v(" "),l("td",[e._v("状态")])]),e._v(" "),l("tr",[l("td",[e._v("1")]),e._v(" "),l("td",[e._v("2019-3-6")]),e._v(" "),l("td",[e._v("10000")]),e._v(" "),l("td",[e._v("成功")])])])])}]};var o=l("C7Lr")(a,i,!1,function(e){l("YWhF")},"data-v-235e901e",null);r.default=o.exports},YWhF:function(e,r){}});
\ No newline at end of file
webpackJsonp([113],{"a+uW":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={data:function(){return{week:[],times:"",dates:"",reservation:"",sellableStock:"",allnum:{companyId:this.$store.state.companyId,sceneDateFrom:"",sceneName:"",sceneDateTo:"",sceneType:0,week:[],sceneTotalNum:"",channels:[],pictureId:""},qud:"",quds:"",fieldMap:[]}},methods:{closed:function(){this.$emit("closed",!1)},tim:function(){this.allnum.sceneName=this.times[0],this.allnum.sceneDateFrom=this.times[0],this.allnum.sceneDateTo=this.times[1]},xian:function(e){this.allnum.week=0==e?[1,2,3,4,5,6,7]:[]},qu:function(e){var t;t=this.qud.find(function(t){return t.companyName===e}),this.allnum.channels=this.allnum.channels.filter(function(e){return e.channelId!=t.channelId}),this.allnum.channels.push({channelId:t.channelId,channelTotalNum:"",companyName:t.companyName})},shangjia:function(){var e=this,t=this.allnum,a=t.sceneDateFrom,n=t.week,l=t.sceneTotalNum,s=t.channels,i=t.pictureId;if(""!=a)if(""!=i)if(0!=n.length)if(""!=l){if(0!=s.length)for(var o=0;o<this.allnum.channels.length;o++)if(""==this.allnum.channels[o].channelTotalNum)return void this.$message.error("渠道-"+this.allnum.channels[o].channelTotalNum+"的库存量不能为空");this.fieldMap.forEach(function(t,a){e.allnum.pictureId===t.pictureId&&(e.allnum.sceneName=t.pictureName+"("+e.allnum.sceneDateFrom+"-"+e.allnum.sceneDateTo+")")}),this.axios.post(this.getStoreUrl("scene/save"),this.allnum).then(function(t){"00"==t.data.code?(e.$message({message:"保存成功",type:"success"}),setTimeout(function(){e.$router.push({name:"tseatInventory"})},800)):"99"==t.data.code&&e.$message.error(t.data.message)})}else this.$message.error("请填写可售库存");else this.$message.error("请选择日期");else this.$message.error("请填写场地名称");else this.$message.error("请填写场次时间")},kc:function(e){this.allnum.channels=[],this.quds=""},getqu:function(){var e=this;this.axios.post(this.getChanel("channel/list"),{companyId:this.$store.state.companyId,pageIndex:1,pageSize:200}).then(function(t){e.qud=t.data.data.list})},getda:function(){var e=this;this.axios.post(this.getStoreUrl("scene/load"),{companyId:this.$route.params.cid,sceneId:this.$route.params.sid}).then(function(t){e.allnum=t.data.data,e.times=[e.allnum.sceneDateFrom,e.allnum.sceneDateTo],console.log(e.allnum,111),7==e.allnum.week.length?e.dates="1":(e.dates="2",e.allnum.week=e.allnum.week.map(function(e){return String(e)})),0!=e.allnum.channels.length&&(e.sellableStock=!0)})},getMap:function(){var e=this;this.axios.post(this.getProductUrl("productSeat/querySeat"),{companyId:this.$store.state.companyId,pageIndex:1,pageSize:200}).then(function(t){0!=t.data.data.list.length&&(e.fieldMap=t.data.data.list,console.log(e.fieldMap,22))})}},created:function(){this.getMap(),this.getqu(),this.getda()}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"total"},[a("ul",[a("router-link",{attrs:{to:"",tag:"li"}},[e._v("座次库存>")]),e._v(" "),a("router-link",{attrs:{to:"",tag:"li"}},[e._v("修改>")])],1),e._v(" "),a("div",[a("div",{staticClass:"box"},[a("div",{staticClass:"dui"},[a("span",[e._v("场地名称:")]),e._v(" "),a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.allnum.pictureId,callback:function(t){e.$set(e.allnum,"pictureId",t)},expression:"allnum.pictureId"}},e._l(e.fieldMap,function(e,t){return a("el-option",{key:t,attrs:{label:e.pictureName,value:e.pictureId}})}),1)],1),e._v(" "),a("div",{staticClass:"tim"},[a("span",[e._v("场次时间:")]),e._v(" "),a("el-time-picker",{attrs:{"is-range":"","value-format":"HH:mm:ss","range-separator":"-"},on:{change:e.tim},model:{value:e.times,callback:function(t){e.times=t},expression:"times"}})],1),e._v(" "),a("div",{staticClass:"dat"},[a("span",[e._v("日期:")]),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(t){return e.xian(0)}},model:{value:e.dates,callback:function(t){e.dates=t},expression:"dates"}},[e._v("不限制")]),e._v(" "),a("el-radio",{attrs:{label:"2"},on:{change:function(t){return e.xian(1)}},model:{value:e.dates,callback:function(t){e.dates=t},expression:"dates"}},[e._v("自定义")])],1),e._v(" "),2==e.dates?a("div",{staticClass:"week"},[a("span"),e._v(" "),a("el-checkbox-group",{model:{value:e.allnum.week,callback:function(t){e.$set(e.allnum,"week",t)},expression:"allnum.week"}},[a("el-checkbox",{attrs:{label:"1"}},[e._v("周一")]),e._v(" "),a("el-checkbox",{attrs:{label:"2"}},[e._v("周二")]),e._v(" "),a("el-checkbox",{attrs:{label:"3"}},[e._v("周三")]),e._v(" "),a("el-checkbox",{attrs:{label:"4"}},[e._v("周四")]),e._v(" "),a("el-checkbox",{attrs:{label:"5"}},[e._v("周五")]),e._v(" "),a("el-checkbox",{attrs:{label:"6"}},[e._v("周六")]),e._v(" "),a("el-checkbox",{attrs:{label:"7"}},[e._v("周日")])],1)],1):e._e(),e._v(" "),a("div",{staticClass:"yue"},[a("span",[e._v("可售库存:")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.allnum.sceneTotalNum,expression:"allnum.sceneTotalNum"}],domProps:{value:e.allnum.sceneTotalNum},on:{input:function(t){t.target.composing||e.$set(e.allnum,"sceneTotalNum",t.target.value)}}}),e._v(" "),a("div",{staticClass:"gon"},[a("el-checkbox",{staticClass:"kus",on:{change:e.kc},model:{value:e.sellableStock,callback:function(t){e.sellableStock=t},expression:"sellableStock"}},[e._v("渠道库存")]),e._v(" "),e.sellableStock?a("div",[a("table",[e._m(0),e._v(" "),e._l(e.allnum.channels,function(t,n){return a("tr",{key:n},[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.companyName,expression:"item.companyName"}],attrs:{readonly:"readonly"},domProps:{value:t.companyName},on:{input:function(a){a.target.composing||e.$set(t,"companyName",a.target.value)}}})]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.channelTotalNum,expression:"item.channelTotalNum"}],attrs:{type:"number"},domProps:{value:t.channelTotalNum},on:{input:function(a){a.target.composing||e.$set(t,"channelTotalNum",a.target.value)}}})])])})],2)]):e._e()],1),e._v(" "),e.sellableStock?a("el-select",{staticClass:"qudao",attrs:{placeholder:"请选择渠道"},on:{change:e.qu},model:{value:e.quds,callback:function(t){e.quds=t},expression:"quds"}},e._l(e.qud,function(e,t){return a("el-option",{key:t,attrs:{label:e.companyName,value:e.companyName}})}),1):e._e()],1),e._v(" "),a("button",{on:{click:e.shangjia}},[e._v("保存")])])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("tr",[t("td",{attrs:{width:"131"}},[this._v("渠道名称")]),this._v(" "),t("td",{attrs:{width:"131"}},[this._v("库存量")])])}]};var s=a("C7Lr")(n,l,!1,function(e){a("hw6H")},"data-v-218990cb",null);t.default=s.exports},hw6H:function(e,t){}});
\ No newline at end of file
webpackJsonp([115],{"a+uW":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={data:function(){return{week:[],times:"",dates:"",reservation:"",sellableStock:"",allnum:{companyId:this.$store.state.companyId,sceneDateFrom:"",sceneName:"",sceneDateTo:"",sceneType:0,week:[],sceneTotalNum:"",channels:[],pictureId:""},qud:"",quds:"",fieldMap:[]}},methods:{closed:function(){this.$emit("closed",!1)},tim:function(){this.allnum.sceneName=this.times[0],this.allnum.sceneDateFrom=this.times[0],this.allnum.sceneDateTo=this.times[1]},xian:function(e){this.allnum.week=0==e?[1,2,3,4,5,6,7]:[]},qu:function(e){var t;t=this.qud.find(function(t){return t.companyName===e}),this.allnum.channels=this.allnum.channels.filter(function(e){return e.channelId!=t.channelId}),this.allnum.channels.push({channelId:t.channelId,channelTotalNum:"",companyName:t.companyName})},shangjia:function(){var e=this,t=this.allnum,a=t.sceneDateFrom,n=t.week,l=t.sceneTotalNum,s=t.channels,i=t.pictureId;if(""!=a)if(""!=i)if(0!=n.length)if(""!=l){if(0!=s.length)for(var o=0;o<this.allnum.channels.length;o++)if(""==this.allnum.channels[o].channelTotalNum)return void this.$message.error("渠道-"+this.allnum.channels[o].channelTotalNum+"的库存量不能为空");this.fieldMap.forEach(function(t,a){e.allnum.pictureId===t.pictureId&&(e.allnum.sceneName=t.pictureName+"("+e.allnum.sceneDateFrom+"-"+e.allnum.sceneDateTo+")")}),this.axios.post(this.getStoreUrl("scene/save"),this.allnum).then(function(t){"00"==t.data.code?(e.$message({message:"保存成功",type:"success"}),setTimeout(function(){e.$router.push({name:"tseatInventory"})},800)):"99"==t.data.code&&e.$message.error(t.data.message)})}else this.$message.error("请填写可售库存");else this.$message.error("请选择日期");else this.$message.error("请填写场地名称");else this.$message.error("请填写场次时间")},kc:function(e){this.allnum.channels=[],this.quds=""},getqu:function(){var e=this;this.axios.post(this.getChanel("channel/list"),{companyId:this.$store.state.companyId,pageIndex:1,pageSize:200}).then(function(t){e.qud=t.data.data.list})},getda:function(){var e=this;this.axios.post(this.getStoreUrl("scene/load"),{companyId:this.$route.params.cid,sceneId:this.$route.params.sid}).then(function(t){e.allnum=t.data.data,e.times=[e.allnum.sceneDateFrom,e.allnum.sceneDateTo],console.log(e.allnum,111),7==e.allnum.week.length?e.dates="1":(e.dates="2",e.allnum.week=e.allnum.week.map(function(e){return String(e)})),0!=e.allnum.channels.length&&(e.sellableStock=!0)})},getMap:function(){var e=this;this.axios.post(this.getProductUrl("productSeat/querySeat"),{companyId:this.$store.state.companyId,pageIndex:1,pageSize:200}).then(function(t){0!=t.data.data.list.length&&(e.fieldMap=t.data.data.list,console.log(e.fieldMap,22))})}},created:function(){this.getMap(),this.getqu(),this.getda()}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"total"},[a("ul",[a("router-link",{attrs:{to:"",tag:"li"}},[e._v("座次库存>")]),e._v(" "),a("router-link",{attrs:{to:"",tag:"li"}},[e._v("修改>")])],1),e._v(" "),a("div",[a("div",{staticClass:"box"},[a("div",{staticClass:"dui"},[a("span",[e._v("场地名称:")]),e._v(" "),a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.allnum.pictureId,callback:function(t){e.$set(e.allnum,"pictureId",t)},expression:"allnum.pictureId"}},e._l(e.fieldMap,function(e,t){return a("el-option",{key:t,attrs:{label:e.pictureName,value:e.pictureId}})}),1)],1),e._v(" "),a("div",{staticClass:"tim"},[a("span",[e._v("场次时间:")]),e._v(" "),a("el-time-picker",{attrs:{"is-range":"","value-format":"HH:mm:ss","range-separator":"-"},on:{change:e.tim},model:{value:e.times,callback:function(t){e.times=t},expression:"times"}})],1),e._v(" "),a("div",{staticClass:"dat"},[a("span",[e._v("日期:")]),e._v(" "),a("el-radio",{attrs:{label:"1"},on:{change:function(t){return e.xian(0)}},model:{value:e.dates,callback:function(t){e.dates=t},expression:"dates"}},[e._v("不限制")]),e._v(" "),a("el-radio",{attrs:{label:"2"},on:{change:function(t){return e.xian(1)}},model:{value:e.dates,callback:function(t){e.dates=t},expression:"dates"}},[e._v("自定义")])],1),e._v(" "),2==e.dates?a("div",{staticClass:"week"},[a("span"),e._v(" "),a("el-checkbox-group",{model:{value:e.allnum.week,callback:function(t){e.$set(e.allnum,"week",t)},expression:"allnum.week"}},[a("el-checkbox",{attrs:{label:"1"}},[e._v("周一")]),e._v(" "),a("el-checkbox",{attrs:{label:"2"}},[e._v("周二")]),e._v(" "),a("el-checkbox",{attrs:{label:"3"}},[e._v("周三")]),e._v(" "),a("el-checkbox",{attrs:{label:"4"}},[e._v("周四")]),e._v(" "),a("el-checkbox",{attrs:{label:"5"}},[e._v("周五")]),e._v(" "),a("el-checkbox",{attrs:{label:"6"}},[e._v("周六")]),e._v(" "),a("el-checkbox",{attrs:{label:"7"}},[e._v("周日")])],1)],1):e._e(),e._v(" "),a("div",{staticClass:"yue"},[a("span",[e._v("可售库存:")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.allnum.sceneTotalNum,expression:"allnum.sceneTotalNum"}],domProps:{value:e.allnum.sceneTotalNum},on:{input:function(t){t.target.composing||e.$set(e.allnum,"sceneTotalNum",t.target.value)}}}),e._v(" "),a("div",{staticClass:"gon"},[a("el-checkbox",{staticClass:"kus",on:{change:e.kc},model:{value:e.sellableStock,callback:function(t){e.sellableStock=t},expression:"sellableStock"}},[e._v("渠道库存")]),e._v(" "),e.sellableStock?a("div",[a("table",[e._m(0),e._v(" "),e._l(e.allnum.channels,function(t,n){return a("tr",{key:n},[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.companyName,expression:"item.companyName"}],attrs:{readonly:"readonly"},domProps:{value:t.companyName},on:{input:function(a){a.target.composing||e.$set(t,"companyName",a.target.value)}}})]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.channelTotalNum,expression:"item.channelTotalNum"}],attrs:{type:"number"},domProps:{value:t.channelTotalNum},on:{input:function(a){a.target.composing||e.$set(t,"channelTotalNum",a.target.value)}}})])])})],2)]):e._e()],1),e._v(" "),e.sellableStock?a("el-select",{staticClass:"qudao",attrs:{placeholder:"请选择渠道"},on:{change:e.qu},model:{value:e.quds,callback:function(t){e.quds=t},expression:"quds"}},e._l(e.qud,function(e,t){return a("el-option",{key:t,attrs:{label:e.companyName,value:e.companyName}})}),1):e._e()],1),e._v(" "),a("button",{on:{click:e.shangjia}},[e._v("保存")])])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("tr",[t("td",{attrs:{width:"131"}},[this._v("渠道名称")]),this._v(" "),t("td",{attrs:{width:"131"}},[this._v("库存量")])])}]};var s=a("C7Lr")(n,l,!1,function(e){a("hw6H")},"data-v-218990cb",null);t.default=s.exports},hw6H:function(e,t){}});
\ No newline at end of file
webpackJsonp([114],{"58KU":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("/ZRz"),s=a("MlfH"),i={components:{Head:n.a,bottom:s.default},data:function(){return{title1:"消费数据分析",monthMoney:[],yearMoney:"",monthChannelMoneyList:{data:{columns:["name","value"],rows:[]}},yearChannelMoneyList:{data:{columns:["name","value"],rows:[]}},yearMoneyList:{data:{rows:[]},settings:{area:!0,metrics:[],dimension:["name"]}}}},methods:{init:function(){var t=this,e={companyId:this.$store.state.companyId};this.axios.post(this.getReportUrl("reportDataBase/queryReportDatabaseManage"),e).then(function(e){if("00"==e.data.code){t.monthMoney=[];for(var a=e.data.data.monthMoney.toFixed(0),n=0;n<a.length;n++)t.monthMoney.push(a.substr(n,1));t.yearMoney=[];var s=e.data.data.yearMoney.toFixed(0);for(n=0;n<s.length;n++)t.yearMoney.push(s.substr(n,1));if(t.monthChannelMoneyList.data.rows=e.data.data.monthChannelMoneyList,t.monthChannelMoneyList.data.rows.forEach(function(t){t.value=parseFloat(t.value).toFixed(0)}),t.yearChannelMoneyList.data.rows=e.data.data.yearChannelMoneyList,t.yearChannelMoneyList.data.rows.forEach(function(t){t.value=parseFloat(t.value).toFixed(0)}),t.yearMoneyList.settings.metrics=[],e.data.data.yearMoneyList.length>0){var i=e.data.data.yearMoneyList[0];for(var r in i)t.yearMoneyList.settings.metrics.push(r);var o=t.yearMoneyList.settings.metrics.indexOf("id");t.yearMoneyList.settings.metrics.splice(o,1);var d=t.yearMoneyList.settings.metrics.indexOf("name");t.yearMoneyList.settings.metrics.splice(d,1)}t.yearMoneyList.data.rows=e.data.data.yearMoneyList}else t.$message({message:e.data.message,type:"error"})})}},mounted:function(){var t=this;this.init(),function e(){var a=setTimeout(function(){t.init(),e()},5e3);t.$once("hook:beforeDestroy",function(){clearTimeout(a)})}()}},r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"all"},[n("Head",{attrs:{title1:t.title1}}),t._v(" "),n("div",{staticClass:"middle1"},[n("div",[n("p",[n("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#iconfx"}})]),t._v(" "),n("span",[t._v("本月消费数据")])]),t._v(" "),n("div",{staticClass:"middle1Div"},[n("div",[n("p",[t._v("本月收入(元)")]),t._v(" "),n("p",t._l(t.monthMoney,function(e,a){return n("span",{key:a},[t._v(t._s(e))])}),0)]),t._v(" "),n("div",t._l(t.monthChannelMoneyList.data.rows,function(e,a){return n("p",{key:a},[n("span"),t._v(" "),n("span",[t._v(t._s(e.name))]),t._v(" "),n("span",[t._v(t._s(e.value))])])}),0),t._v(" "),n("div",[n("ve-pie",{attrs:{data:t.monthChannelMoneyList.data,extend:this.$bigData.pieEchart1(),height:"2.6rem"}})],1)])]),t._v(" "),n("div",[n("p",[n("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#iconfx"}})]),t._v(" "),n("span",[t._v("本年消费数据")])]),t._v(" "),n("div",{staticClass:"middle1Div"},[n("div",[n("p",[t._v("本年收入(元)")]),t._v(" "),n("p",t._l(t.yearMoney,function(e,a){return n("span",{key:a},[t._v(t._s(e))])}),0)]),t._v(" "),n("div",t._l(t.yearChannelMoneyList.data.rows,function(e,a){return n("p",{key:a},[n("span"),t._v(" "),n("span",[t._v(t._s(e.name))]),t._v(" "),n("span",[t._v(t._s(e.value))])])}),0),t._v(" "),n("div",[n("ve-pie",{attrs:{data:t.yearChannelMoneyList.data,extend:this.$bigData.pieEchart1(),height:"2.6rem"}})],1)])])]),t._v(" "),n("div",{staticClass:"middle2"},[n("p",[n("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#iconlishi"}})]),t._v(" "),n("span",[t._v("\n \t历史消费趋势\n ")]),t._v(" "),n("span",[n("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:a("EkAb")}}),t._v("\n\t\t\t\t"+t._s(t.yearMoneyList.settings.metrics[0])+"年\n\t\t\t")]),t._v(" "),n("span",[n("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:a("/vWa")}}),t._v("\n\t\t\t\t"+t._s(t.yearMoneyList.settings.metrics[1])+"年\n\t\t\t")]),t._v(" "),n("span",[n("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:a("kRXi")}}),t._v("\n\t\t\t\t"+t._s(t.yearMoneyList.settings.metrics[2])+"年\n\t\t\t")])]),t._v(" "),n("ve-line",{attrs:{data:t.yearMoneyList.data,extend:this.$bigData.lineEchart(),settings:t.yearMoneyList.settings,height:"2.2rem"}})],1),t._v(" "),n("bottom",{staticStyle:{position:"absolute",bottom:"0.2rem",width:"100%"}})],1)},staticRenderFns:[]};var o=a("C7Lr")(i,r,!1,function(t){a("W0DH")},"data-v-1ac27014",null);e.default=o.exports},W0DH:function(t,e){}});
\ No newline at end of file
webpackJsonp([116],{"58KU":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("/ZRz"),s=a("MlfH"),i={components:{Head:n.a,bottom:s.default},data:function(){return{title1:"消费数据分析",monthMoney:[],yearMoney:"",monthChannelMoneyList:{data:{columns:["name","value"],rows:[]}},yearChannelMoneyList:{data:{columns:["name","value"],rows:[]}},yearMoneyList:{data:{rows:[]},settings:{area:!0,metrics:[],dimension:["name"]}}}},methods:{init:function(){var t=this,e={companyId:this.$store.state.companyId};this.axios.post(this.getReportUrl("reportDataBase/queryReportDatabaseManage"),e).then(function(e){if("00"==e.data.code){t.monthMoney=[];for(var a=e.data.data.monthMoney.toFixed(0),n=0;n<a.length;n++)t.monthMoney.push(a.substr(n,1));t.yearMoney=[];var s=e.data.data.yearMoney.toFixed(0);for(n=0;n<s.length;n++)t.yearMoney.push(s.substr(n,1));if(t.monthChannelMoneyList.data.rows=e.data.data.monthChannelMoneyList,t.monthChannelMoneyList.data.rows.forEach(function(t){t.value=parseFloat(t.value).toFixed(0)}),t.yearChannelMoneyList.data.rows=e.data.data.yearChannelMoneyList,t.yearChannelMoneyList.data.rows.forEach(function(t){t.value=parseFloat(t.value).toFixed(0)}),t.yearMoneyList.settings.metrics=[],e.data.data.yearMoneyList.length>0){var i=e.data.data.yearMoneyList[0];for(var r in i)t.yearMoneyList.settings.metrics.push(r);var o=t.yearMoneyList.settings.metrics.indexOf("id");t.yearMoneyList.settings.metrics.splice(o,1);var d=t.yearMoneyList.settings.metrics.indexOf("name");t.yearMoneyList.settings.metrics.splice(d,1)}t.yearMoneyList.data.rows=e.data.data.yearMoneyList}else t.$message({message:e.data.message,type:"error"})})}},mounted:function(){var t=this;this.init(),function e(){var a=setTimeout(function(){t.init(),e()},5e3);t.$once("hook:beforeDestroy",function(){clearTimeout(a)})}()}},r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"all"},[n("Head",{attrs:{title1:t.title1}}),t._v(" "),n("div",{staticClass:"middle1"},[n("div",[n("p",[n("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#iconfx"}})]),t._v(" "),n("span",[t._v("本月消费数据")])]),t._v(" "),n("div",{staticClass:"middle1Div"},[n("div",[n("p",[t._v("本月收入(元)")]),t._v(" "),n("p",t._l(t.monthMoney,function(e,a){return n("span",{key:a},[t._v(t._s(e))])}),0)]),t._v(" "),n("div",t._l(t.monthChannelMoneyList.data.rows,function(e,a){return n("p",{key:a},[n("span"),t._v(" "),n("span",[t._v(t._s(e.name))]),t._v(" "),n("span",[t._v(t._s(e.value))])])}),0),t._v(" "),n("div",[n("ve-pie",{attrs:{data:t.monthChannelMoneyList.data,extend:this.$bigData.pieEchart1(),height:"2.6rem"}})],1)])]),t._v(" "),n("div",[n("p",[n("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#iconfx"}})]),t._v(" "),n("span",[t._v("本年消费数据")])]),t._v(" "),n("div",{staticClass:"middle1Div"},[n("div",[n("p",[t._v("本年收入(元)")]),t._v(" "),n("p",t._l(t.yearMoney,function(e,a){return n("span",{key:a},[t._v(t._s(e))])}),0)]),t._v(" "),n("div",t._l(t.yearChannelMoneyList.data.rows,function(e,a){return n("p",{key:a},[n("span"),t._v(" "),n("span",[t._v(t._s(e.name))]),t._v(" "),n("span",[t._v(t._s(e.value))])])}),0),t._v(" "),n("div",[n("ve-pie",{attrs:{data:t.yearChannelMoneyList.data,extend:this.$bigData.pieEchart1(),height:"2.6rem"}})],1)])])]),t._v(" "),n("div",{staticClass:"middle2"},[n("p",[n("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#iconlishi"}})]),t._v(" "),n("span",[t._v("\n \t历史消费趋势\n ")]),t._v(" "),n("span",[n("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:a("EkAb")}}),t._v("\n\t\t\t\t"+t._s(t.yearMoneyList.settings.metrics[0])+"年\n\t\t\t")]),t._v(" "),n("span",[n("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:a("/vWa")}}),t._v("\n\t\t\t\t"+t._s(t.yearMoneyList.settings.metrics[1])+"年\n\t\t\t")]),t._v(" "),n("span",[n("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:a("kRXi")}}),t._v("\n\t\t\t\t"+t._s(t.yearMoneyList.settings.metrics[2])+"年\n\t\t\t")])]),t._v(" "),n("ve-line",{attrs:{data:t.yearMoneyList.data,extend:this.$bigData.lineEchart(),settings:t.yearMoneyList.settings,height:"2.2rem"}})],1),t._v(" "),n("bottom",{staticStyle:{position:"absolute",bottom:"0.2rem",width:"100%"}})],1)},staticRenderFns:[]};var o=a("C7Lr")(i,r,!1,function(t){a("W0DH")},"data-v-1ac27014",null);e.default=o.exports},W0DH:function(t,e){}});
\ No newline at end of file
webpackJsonp([115],{NQbl:function(e,t){},oVRY:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o("aA9S"),n=o.n(a),i=o("BsiF"),r=o("5XGy"),s=o("RwQt"),l={components:{newpagingtwo:r.a,tate:i.a,breadNav:s.default},data:function(){return{whichpage:1,daoyou:[],qudao:[],product:[],priceType:[],saleType:[],valuess:"",values:"",DimensionsShown:{groupDay:!0,groupMonth:!1,groupYear:!1,groupLeader:!1,groupChannel:!1,groupPriceType:!1,groupProduct:!1,groupSaleType:!1},obj:{groupDay:!0,groupMonth:!1,groupYear:!1,groupLeader:!1,groupChannel:!1,groupPriceType:!1,groupProduct:!1,groupSaleType:!1,priceTypeId:"",productId:"",leaderId:"",channelId:"",saleType:""},WhetherTheRendering:{beginCreateDate:"",endCreateDate:"",companyId:this.$store.state.companyId,pageSize:10,pageIndex:1},lists:[],total:{},TableExportObject:{config:{downFileName:"团队报表.xlsx",title:"团队报表",subTitle:"团队报表Excel",columns:[]},cond:{}},daochu:{groupCreateDate:{name:"createDate",title:"时间"},groupLeader:{name:"leaderName",title:"导游名称"},groupChannel:{name:"companyName",title:"旅行社名称"},groupPriceType:{name:"priceTypeName",title:"团队票性质"},groupProduct:{name:"productName",title:"产品名称"},groupDay:{name:"groupDay",title:"日期/日"},groupMonth:{name:"groupMonth",title:"日期/月"},groupYear:{name:"groupMonth",title:"日期/年"},groupSaleType:{name:"groupSaleType",title:"票种"}}}},methods:{getPayment:function(e,t){var o=this;this.axios.post(this.getSystem("/systemEnum/drop"),{companyId:this.$store.state.companyId,enumType:e}).then(function(e){"00"===e.data.code?t(e.data.data):o.$message.error(e.data.message)})},change:function(e){0===e?(this.obj.groupDay=!0,this.obj.groupMonth="",this.obj.groupYear=""):1===e?(this.obj.groupDay="",this.obj.groupMonth=!0,this.obj.groupYear=""):2===e&&(this.obj.groupDay="",this.obj.groupMonth="",this.obj.groupYear=!0)},DerivedTables:function(){if(this.TableExportObject.config.columns=[],this.TableExportObject.config.columns.push({name:"peopleNum",title:"旅客人数"},{name:"buyMoney",title:"金额"}),this.TableExportObject.cond=this.WhetherTheRendering,this.TableExportObject.config.subTitle=this.WhetherTheRendering.beginCreateDate+this.WhetherTheRendering.endCreateDate||"全部统计",-1!==this.TableExportObject.config.subTitle.indexOf("-")){var e=this.TableExportObject.config.subTitle.slice(0,10);this.TableExportObject.config.subTitle=e+" 至 "+this.TableExportObject.config.subTitle.slice(10,this.TableExportObject.config.subTitle.length)}for(var t in this.DimensionsShown)this.DimensionsShown[t]&&this.TableExportObject.config.columns.push({name:this.daochu[t].name,title:this.daochu[t].title});this.axios({method:"post",responseType:"blob",url:this.getReportUrl("/reportTeam/exportTeam"),data:this.TableExportObject}).then(function(e){var t=e.headers["content-type"],o=new Blob([e.data],{type:t}),a=document.createElement("a");a.download="统计.xlsx",a.style.display="none",a.href=URL.createObjectURL(o),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)})},inquire:function(){for(var e in n()(this.WhetherTheRendering,this.obj),this.$delete(this.WhetherTheRendering,"pageIndex"),this.DimensionsShown=this.$commonJs.TabularPagingData(this.obj,this.DimensionsShown),this.WhetherTheRendering)!1===this.WhetherTheRendering[e]&&(this.WhetherTheRendering[e]="");this.getData(),this.whichpage=1},page:function(e){this.WhetherTheRendering.pageIndex=e,this.whichpage=e,this.getData()},time:function(e){this.WhetherTheRendering.beginCreateDate=e[0],this.WhetherTheRendering.endCreateDate=e[1]},querySearchAsynccustom:function(e,t){e?this.$commonJs.querySearchAsynccustom(e,t,this.qudao,"companyName"):this.obj.channelId=""},querySearchAsynccustoms:function(e,t){var o=this;e?(this.list.forEach(function(e,t){var a=e.leaderName+e.leaderNo;o.$set(e,"companyName",a)}),this.$commonJs.querySearchAsynccustom(e,t,this.list,"companyName")):this.obj.leaderId=""},handleSelectcustom:function(e){this.obj.channelId=e.channelId},handleSelectcustoms:function(e){this.obj.leaderId=e.leaderId},getData:function(){var e=this;this.$api.TeamReportQuery(this,this.WhetherTheRendering).then(function(t){if("00"===t.code){if(0===t.data.list.length)return e.lists=[],void e.$message.error("没有消息哦!");e.lists=t.data.list,e.WhetherTheRendering=e.$commonJs.TabularPagingData(t.data,e.WhetherTheRendering),e.total=t.total}else e.$message.error(t.message)})}},created:function(){var e=this;this.inquire(),this.$api.getDaoyou(this).then(function(t){e.list=t.data.list},function(e){alert(e)}),this.$api.getqudao(this).then(function(t){e.qudao=t.data.list},function(e){alert(e)}),this.$api.getProdect(this).then(function(t){e.product=t.data.list},function(e){alert(e)}),this.$api.NatureGroupTour(this).then(function(t){e.priceType=t.data},function(e){alert(e)}),this.getPayment("saleType",function(t){e.saleType=t})}},c={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"bigBox"},[o("breadNav",[e._v("团队报表")]),e._v(" "),o("div",{staticClass:"box"},[o("div",{staticClass:"xl"},[o("span",[e._v("下单时间:")]),e._v(" "),o("tate",{on:{time:e.time}})],1),e._v(" "),o("span",{staticClass:"btn4",staticStyle:{"margin-right":"0.2rem"},on:{click:e.inquire}},[e._v("查询")])]),e._v(" "),o("div",{staticClass:"sai"},[o("span",[e._v("条件:")]),e._v(" "),o("el-autocomplete",{attrs:{"fetch-suggestions":e.querySearchAsynccustom,placeholder:"渠道名称"},on:{select:e.handleSelectcustom},model:{value:e.values,callback:function(t){e.values=t},expression:"values"}}),e._v(" "),o("el-autocomplete",{attrs:{"fetch-suggestions":e.querySearchAsynccustoms,placeholder:"导游"},on:{select:e.handleSelectcustoms},model:{value:e.valuess,callback:function(t){e.valuess=t},expression:"valuess"}}),e._v(" "),o("div",{staticStyle:{"margin-right":"0.2rem"}},[o("el-select",{model:{value:e.obj.productId,callback:function(t){e.$set(e.obj,"productId",t)},expression:"obj.productId"}},[o("el-option",{attrs:{label:"--产品--",value:""}}),e._v(" "),e._l(e.product,function(e,t){return o("el-option",{key:t,attrs:{label:e.productName,value:e.productId}})})],2)],1),e._v(" "),o("div",{staticStyle:{"margin-right":"0.2rem"}},[o("el-select",{model:{value:e.obj.priceTypeId,callback:function(t){e.$set(e.obj,"priceTypeId",t)},expression:"obj.priceTypeId"}},[o("el-option",{attrs:{label:"--团队游性质--",value:""}}),e._v(" "),e._l(e.priceType,function(e,t){return o("el-option",{key:t,attrs:{label:e.priceTypeName,value:e.priceTypeId}})})],2)],1),e._v(" "),o("div",[o("el-select",{model:{value:e.obj.saleType,callback:function(t){e.$set(e.obj,"saleType",t)},expression:"obj.saleType"}},[o("el-option",{attrs:{label:"--票种--",value:""}}),e._v(" "),e._l(e.saleType,function(e,t){return o("el-option",{key:t,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),o("span",{staticStyle:{color:"#5A738A",cursor:"pointer","font-size":"0.18rem"},on:{click:e.DerivedTables}},[e._v("下载")])],1),e._v(" "),o("div",{staticClass:"choice"},[o("el-radio",{attrs:{label:!0},on:{change:function(t){return e.change(0)}},model:{value:e.obj.groupDay,callback:function(t){e.$set(e.obj,"groupDay",t)},expression:"obj.groupDay"}},[e._v("日")]),e._v(" "),o("el-radio",{attrs:{label:!0},on:{change:function(t){return e.change(1)}},model:{value:e.obj.groupMonth,callback:function(t){e.$set(e.obj,"groupMonth",t)},expression:"obj.groupMonth"}},[e._v("月")]),e._v(" "),o("el-radio",{attrs:{label:!0},on:{change:function(t){return e.change(2)}},model:{value:e.obj.groupYear,callback:function(t){e.$set(e.obj,"groupYear",t)},expression:"obj.groupYear"}},[e._v("年")]),e._v(" "),o("el-checkbox",{model:{value:e.obj.groupLeader,callback:function(t){e.$set(e.obj,"groupLeader",t)},expression:"obj.groupLeader"}},[e._v("导游")]),e._v(" "),o("el-checkbox",{model:{value:e.obj.groupChannel,callback:function(t){e.$set(e.obj,"groupChannel",t)},expression:"obj.groupChannel"}},[e._v("旅行社")]),e._v(" "),o("el-checkbox",{model:{value:e.obj.groupPriceType,callback:function(t){e.$set(e.obj,"groupPriceType",t)},expression:"obj.groupPriceType"}},[e._v("团队游性质")]),e._v(" "),o("el-checkbox",{model:{value:e.obj.groupSaleType,callback:function(t){e.$set(e.obj,"groupSaleType",t)},expression:"obj.groupSaleType"}},[e._v("票种")]),e._v(" "),o("el-checkbox",{model:{value:e.obj.groupProduct,callback:function(t){e.$set(e.obj,"groupProduct",t)},expression:"obj.groupProduct"}},[e._v("产品")]),e._v(" "),o("div",{staticClass:"tab"},[o("div",[o("p"),e._v(" "),o("p",[o("span",[e._v("总人数:"),o("i",[e._v(e._s(e.total.peopleNum))]),e._v("张")]),o("span",[e._v("总金额:"),o("i",[e._v(e._s(e.total.buyMoney))]),e._v("元")])])])])],1),e._v(" "),o("div",{staticClass:"table"},[o("table",[o("tr",[o("td",[e._v("时间")]),e._v(" "),e.DimensionsShown.groupLeader?o("td",[e._v("导游")]):e._e(),e._v(" "),e.DimensionsShown.groupChannel?o("td",[e._v("旅行社")]):e._e(),e._v(" "),e.DimensionsShown.groupPriceType?o("td",[e._v("团队游性质")]):e._e(),e._v(" "),e.DimensionsShown.groupSaleType?o("td",[e._v("票种")]):e._e(),e._v(" "),e.DimensionsShown.groupProduct?o("td",[e._v("产品")]):e._e(),e._v(" "),o("td",[e._v("游客人数")]),e._v(" "),o("td",[e._v("消费金额")])]),e._v(" "),e._l(e.lists,function(t,a){return o("tr",{key:a},[o("td",[e._v(e._s(t.groupDay||t.groupMonth||t.groupYear))]),e._v(" "),e.DimensionsShown.groupLeader?o("td",[e._v(e._s(t.leaderName))]):e._e(),e._v(" "),e.DimensionsShown.groupChannel?o("td",[e._v(e._s(t.companyName))]):e._e(),e._v(" "),e.DimensionsShown.groupPriceType?o("td",[e._v(e._s(t.priceTypeName))]):e._e(),e._v(" "),e.DimensionsShown.groupSaleType?o("td",[e._v(e._s(t.saleTypeName))]):e._e(),e._v(" "),e.DimensionsShown.groupProduct?o("td",[e._v(e._s(t.productName))]):e._e(),e._v(" "),o("td",[e._v(e._s(t.peopleNum))]),e._v(" "),o("td",[e._v(e._s(t.buyMoney))])])})],2)]),e._v(" "),o("newpagingtwo",{attrs:{pagesize:e.WhetherTheRendering.pageSize,total:e.WhetherTheRendering.pageTotal,whichpage:e.whichpage},on:{page:e.page}})],1)},staticRenderFns:[]};var u=o("C7Lr")(l,c,!1,function(e){o("NQbl")},"data-v-1352d64e",null);t.default=u.exports}});
\ No newline at end of file
webpackJsonp([117],{NQbl:function(e,t){},oVRY:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o("aA9S"),n=o.n(a),i=o("BsiF"),r=o("5XGy"),s=o("RwQt"),l={components:{newpagingtwo:r.a,tate:i.a,breadNav:s.default},data:function(){return{whichpage:1,daoyou:[],qudao:[],product:[],priceType:[],saleType:[],valuess:"",values:"",DimensionsShown:{groupDay:!0,groupMonth:!1,groupYear:!1,groupLeader:!1,groupChannel:!1,groupPriceType:!1,groupProduct:!1,groupSaleType:!1},obj:{groupDay:!0,groupMonth:!1,groupYear:!1,groupLeader:!1,groupChannel:!1,groupPriceType:!1,groupProduct:!1,groupSaleType:!1,priceTypeId:"",productId:"",leaderId:"",channelId:"",saleType:""},WhetherTheRendering:{beginCreateDate:"",endCreateDate:"",companyId:this.$store.state.companyId,pageSize:10,pageIndex:1},lists:[],total:{},TableExportObject:{config:{downFileName:"团队报表.xlsx",title:"团队报表",subTitle:"团队报表Excel",columns:[]},cond:{}},daochu:{groupCreateDate:{name:"createDate",title:"时间"},groupLeader:{name:"leaderName",title:"导游名称"},groupChannel:{name:"companyName",title:"旅行社名称"},groupPriceType:{name:"priceTypeName",title:"团队票性质"},groupProduct:{name:"productName",title:"产品名称"},groupDay:{name:"groupDay",title:"日期/日"},groupMonth:{name:"groupMonth",title:"日期/月"},groupYear:{name:"groupMonth",title:"日期/年"},groupSaleType:{name:"groupSaleType",title:"票种"}}}},methods:{getPayment:function(e,t){var o=this;this.axios.post(this.getSystem("/systemEnum/drop"),{companyId:this.$store.state.companyId,enumType:e}).then(function(e){"00"===e.data.code?t(e.data.data):o.$message.error(e.data.message)})},change:function(e){0===e?(this.obj.groupDay=!0,this.obj.groupMonth="",this.obj.groupYear=""):1===e?(this.obj.groupDay="",this.obj.groupMonth=!0,this.obj.groupYear=""):2===e&&(this.obj.groupDay="",this.obj.groupMonth="",this.obj.groupYear=!0)},DerivedTables:function(){if(this.TableExportObject.config.columns=[],this.TableExportObject.config.columns.push({name:"peopleNum",title:"旅客人数"},{name:"buyMoney",title:"金额"}),this.TableExportObject.cond=this.WhetherTheRendering,this.TableExportObject.config.subTitle=this.WhetherTheRendering.beginCreateDate+this.WhetherTheRendering.endCreateDate||"全部统计",-1!==this.TableExportObject.config.subTitle.indexOf("-")){var e=this.TableExportObject.config.subTitle.slice(0,10);this.TableExportObject.config.subTitle=e+" 至 "+this.TableExportObject.config.subTitle.slice(10,this.TableExportObject.config.subTitle.length)}for(var t in this.DimensionsShown)this.DimensionsShown[t]&&this.TableExportObject.config.columns.push({name:this.daochu[t].name,title:this.daochu[t].title});this.axios({method:"post",responseType:"blob",url:this.getReportUrl("/reportTeam/exportTeam"),data:this.TableExportObject}).then(function(e){var t=e.headers["content-type"],o=new Blob([e.data],{type:t}),a=document.createElement("a");a.download="统计.xlsx",a.style.display="none",a.href=URL.createObjectURL(o),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)})},inquire:function(){for(var e in n()(this.WhetherTheRendering,this.obj),this.$delete(this.WhetherTheRendering,"pageIndex"),this.DimensionsShown=this.$commonJs.TabularPagingData(this.obj,this.DimensionsShown),this.WhetherTheRendering)!1===this.WhetherTheRendering[e]&&(this.WhetherTheRendering[e]="");this.getData(),this.whichpage=1},page:function(e){this.WhetherTheRendering.pageIndex=e,this.whichpage=e,this.getData()},time:function(e){this.WhetherTheRendering.beginCreateDate=e[0],this.WhetherTheRendering.endCreateDate=e[1]},querySearchAsynccustom:function(e,t){e?this.$commonJs.querySearchAsynccustom(e,t,this.qudao,"companyName"):this.obj.channelId=""},querySearchAsynccustoms:function(e,t){var o=this;e?(this.list.forEach(function(e,t){var a=e.leaderName+e.leaderNo;o.$set(e,"companyName",a)}),this.$commonJs.querySearchAsynccustom(e,t,this.list,"companyName")):this.obj.leaderId=""},handleSelectcustom:function(e){this.obj.channelId=e.channelId},handleSelectcustoms:function(e){this.obj.leaderId=e.leaderId},getData:function(){var e=this;this.$api.TeamReportQuery(this,this.WhetherTheRendering).then(function(t){if("00"===t.code){if(0===t.data.list.length)return e.lists=[],void e.$message.error("没有消息哦!");e.lists=t.data.list,e.WhetherTheRendering=e.$commonJs.TabularPagingData(t.data,e.WhetherTheRendering),e.total=t.total}else e.$message.error(t.message)})}},created:function(){var e=this;this.inquire(),this.$api.getDaoyou(this).then(function(t){e.list=t.data.list},function(e){alert(e)}),this.$api.getqudao(this).then(function(t){e.qudao=t.data.list},function(e){alert(e)}),this.$api.getProdect(this).then(function(t){e.product=t.data.list},function(e){alert(e)}),this.$api.NatureGroupTour(this).then(function(t){e.priceType=t.data},function(e){alert(e)}),this.getPayment("saleType",function(t){e.saleType=t})}},c={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"bigBox"},[o("breadNav",[e._v("团队报表")]),e._v(" "),o("div",{staticClass:"box"},[o("div",{staticClass:"xl"},[o("span",[e._v("下单时间:")]),e._v(" "),o("tate",{on:{time:e.time}})],1),e._v(" "),o("span",{staticClass:"btn4",staticStyle:{"margin-right":"0.2rem"},on:{click:e.inquire}},[e._v("查询")])]),e._v(" "),o("div",{staticClass:"sai"},[o("span",[e._v("条件:")]),e._v(" "),o("el-autocomplete",{attrs:{"fetch-suggestions":e.querySearchAsynccustom,placeholder:"渠道名称"},on:{select:e.handleSelectcustom},model:{value:e.values,callback:function(t){e.values=t},expression:"values"}}),e._v(" "),o("el-autocomplete",{attrs:{"fetch-suggestions":e.querySearchAsynccustoms,placeholder:"导游"},on:{select:e.handleSelectcustoms},model:{value:e.valuess,callback:function(t){e.valuess=t},expression:"valuess"}}),e._v(" "),o("div",{staticStyle:{"margin-right":"0.2rem"}},[o("el-select",{model:{value:e.obj.productId,callback:function(t){e.$set(e.obj,"productId",t)},expression:"obj.productId"}},[o("el-option",{attrs:{label:"--产品--",value:""}}),e._v(" "),e._l(e.product,function(e,t){return o("el-option",{key:t,attrs:{label:e.productName,value:e.productId}})})],2)],1),e._v(" "),o("div",{staticStyle:{"margin-right":"0.2rem"}},[o("el-select",{model:{value:e.obj.priceTypeId,callback:function(t){e.$set(e.obj,"priceTypeId",t)},expression:"obj.priceTypeId"}},[o("el-option",{attrs:{label:"--团队游性质--",value:""}}),e._v(" "),e._l(e.priceType,function(e,t){return o("el-option",{key:t,attrs:{label:e.priceTypeName,value:e.priceTypeId}})})],2)],1),e._v(" "),o("div",[o("el-select",{model:{value:e.obj.saleType,callback:function(t){e.$set(e.obj,"saleType",t)},expression:"obj.saleType"}},[o("el-option",{attrs:{label:"--票种--",value:""}}),e._v(" "),e._l(e.saleType,function(e,t){return o("el-option",{key:t,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),o("span",{staticStyle:{color:"#5A738A",cursor:"pointer","font-size":"0.18rem"},on:{click:e.DerivedTables}},[e._v("下载")])],1),e._v(" "),o("div",{staticClass:"choice"},[o("el-radio",{attrs:{label:!0},on:{change:function(t){return e.change(0)}},model:{value:e.obj.groupDay,callback:function(t){e.$set(e.obj,"groupDay",t)},expression:"obj.groupDay"}},[e._v("日")]),e._v(" "),o("el-radio",{attrs:{label:!0},on:{change:function(t){return e.change(1)}},model:{value:e.obj.groupMonth,callback:function(t){e.$set(e.obj,"groupMonth",t)},expression:"obj.groupMonth"}},[e._v("月")]),e._v(" "),o("el-radio",{attrs:{label:!0},on:{change:function(t){return e.change(2)}},model:{value:e.obj.groupYear,callback:function(t){e.$set(e.obj,"groupYear",t)},expression:"obj.groupYear"}},[e._v("年")]),e._v(" "),o("el-checkbox",{model:{value:e.obj.groupLeader,callback:function(t){e.$set(e.obj,"groupLeader",t)},expression:"obj.groupLeader"}},[e._v("导游")]),e._v(" "),o("el-checkbox",{model:{value:e.obj.groupChannel,callback:function(t){e.$set(e.obj,"groupChannel",t)},expression:"obj.groupChannel"}},[e._v("旅行社")]),e._v(" "),o("el-checkbox",{model:{value:e.obj.groupPriceType,callback:function(t){e.$set(e.obj,"groupPriceType",t)},expression:"obj.groupPriceType"}},[e._v("团队游性质")]),e._v(" "),o("el-checkbox",{model:{value:e.obj.groupSaleType,callback:function(t){e.$set(e.obj,"groupSaleType",t)},expression:"obj.groupSaleType"}},[e._v("票种")]),e._v(" "),o("el-checkbox",{model:{value:e.obj.groupProduct,callback:function(t){e.$set(e.obj,"groupProduct",t)},expression:"obj.groupProduct"}},[e._v("产品")]),e._v(" "),o("div",{staticClass:"tab"},[o("div",[o("p"),e._v(" "),o("p",[o("span",[e._v("总人数:"),o("i",[e._v(e._s(e.total.peopleNum))]),e._v("张")]),o("span",[e._v("总金额:"),o("i",[e._v(e._s(e.total.buyMoney))]),e._v("元")])])])])],1),e._v(" "),o("div",{staticClass:"table"},[o("table",[o("tr",[o("td",[e._v("时间")]),e._v(" "),e.DimensionsShown.groupLeader?o("td",[e._v("导游")]):e._e(),e._v(" "),e.DimensionsShown.groupChannel?o("td",[e._v("旅行社")]):e._e(),e._v(" "),e.DimensionsShown.groupPriceType?o("td",[e._v("团队游性质")]):e._e(),e._v(" "),e.DimensionsShown.groupSaleType?o("td",[e._v("票种")]):e._e(),e._v(" "),e.DimensionsShown.groupProduct?o("td",[e._v("产品")]):e._e(),e._v(" "),o("td",[e._v("游客人数")]),e._v(" "),o("td",[e._v("消费金额")])]),e._v(" "),e._l(e.lists,function(t,a){return o("tr",{key:a},[o("td",[e._v(e._s(t.groupDay||t.groupMonth||t.groupYear))]),e._v(" "),e.DimensionsShown.groupLeader?o("td",[e._v(e._s(t.leaderName))]):e._e(),e._v(" "),e.DimensionsShown.groupChannel?o("td",[e._v(e._s(t.companyName))]):e._e(),e._v(" "),e.DimensionsShown.groupPriceType?o("td",[e._v(e._s(t.priceTypeName))]):e._e(),e._v(" "),e.DimensionsShown.groupSaleType?o("td",[e._v(e._s(t.saleTypeName))]):e._e(),e._v(" "),e.DimensionsShown.groupProduct?o("td",[e._v(e._s(t.productName))]):e._e(),e._v(" "),o("td",[e._v(e._s(t.peopleNum))]),e._v(" "),o("td",[e._v(e._s(t.buyMoney))])])})],2)]),e._v(" "),o("newpagingtwo",{attrs:{pagesize:e.WhetherTheRendering.pageSize,total:e.WhetherTheRendering.pageTotal,whichpage:e.whichpage},on:{page:e.page}})],1)},staticRenderFns:[]};var u=o("C7Lr")(l,c,!1,function(e){o("NQbl")},"data-v-1352d64e",null);t.default=u.exports}});
\ No newline at end of file
webpackJsonp([118],{VmT8:function(t,e){},YigU:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("RwQt"),s=a("5XGy"),i=a("KPn7"),c={components:{breadNav:n.default,page:s.a,config:i.a},data:function(){return{configTitle:"是否删除",configTan:!1,pageTotal:0,pageSize:10,pageIndex:1,sceneId:"",tableData:[]}},methods:{initData:function(){var t=this,e={pageSize:this.pageSize,pageIndex:this.pageIndex,companyId:this.$store.state.companyId,sceneType:99,channelFlag:!0,weekFlag:!0};this.axios.post(this.getStoreUrl("scene/query"),e).then(function(e){"00"==e.data.code?(t.tableData=e.data.data.list,t.pageTotal=e.data.data.pageTotal):t.$message.error(e.data.message)})},paging:function(t){this.pageIndex=t,this.initData()},clickDel:function(t){this.configTan=!0,this.sceneId=t},dele:function(){var t=this,e={companyId:this.$store.state.companyId,updateUserId:this.$store.state.createUserId,sceneId:this.sceneId};this.axios.post(this.getStoreUrl("scene/remove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.initData(),t.configTan=!1):t.$message.error(e.data.message)})}},mounted:function(){this.initData()}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bigBox"},[a("breadNav",[t._v("容量库存")]),t._v(" "),a("div",{staticStyle:{margin:"0.2rem 0"}},[a("a",{staticClass:"btn4",on:{click:function(e){return t.$router.push("addCapacityInventory")}}},[t._v("添加库存")])]),t._v(" "),a("table",[t._m(0),t._v(" "),t._l(t.tableData,function(e,n){return a("tr",{key:n},[a("td",[t._v(t._s(e.sceneName))]),t._v(" "),a("td",[t._v(t._s(e.sceneTotalNum))]),t._v(" "),0!==e.channels.length?a("td",t._l(e.channels,function(e,n){return a("p",{key:n,staticClass:"tdP"},[t._v(t._s(e.companyName))])}),0):t._e(),t._v(" "),0!==e.channels.length?a("td",t._l(e.channels,function(e,n){return a("p",{key:n,staticClass:"tdP"},[t._v(t._s(e.channelTotalNum))])}),0):t._e(),t._v(" "),0==e.channels.length?a("td",{attrs:{colspan:"2"}},[t._v("\n \t\t暂无渠道信息\n \t")]):t._e(),t._v(" "),a("td",[t._v("上架")]),t._v(" "),a("td",[a("span",{on:{click:function(e){return t.$router.push("addCapacityInventory")}}},[t._v("修改")]),t._v(" "),a("span",{staticStyle:{color:"#FF0000"},on:{click:function(a){return t.clickDel(e.sceneId)}}},[t._v("删除")])])])})],2),t._v(" "),a("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),a("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan,expression:"configTan"}],attrs:{configTitle:t.configTitle},on:{config:function(e){return t.dele()},cancel:function(e){t.configTan=!1}}})],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",[t._v("库存名称")]),t._v(" "),a("td",[t._v("库存量")]),t._v(" "),a("td",[t._v("渠道名称")]),t._v(" "),a("td",[t._v("渠道库存量")]),t._v(" "),a("td",[t._v("状态")]),t._v(" "),a("td",[t._v("操作")])])}]};var r=a("C7Lr")(c,o,!1,function(t){a("VmT8")},"data-v-08052c42",null);e.default=r.exports}});
\ No newline at end of file
webpackJsonp([116],{Co3C:function(t,s){},oMYT:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("IHPB"),e=i.n(a),n={filters:{capitalize:function(t){return t||""},reserveDecimal:function(t){return t&&Number(t).toFixed(0)}},data:function(){return{lists:{},num:[],color:["#fbdf5c","#5ebdff","#fb985c","#68de91","#de687b","#d1aeff","#00fcff"],listMap:[],sum:"",time:null}},methods:{Ageanalysiss:function(){var t=this.$echarts.init(document.getElementById("Ageanalysiss"));t.setOption(this.$diagram.Ageanalysis)},TouristArea:function(){var t=this.$echarts.init(document.getElementById("TouristAreas"));t.setOption(this.$diagram.TouristArea)},pie:function(){var t=this.$echarts.init(document.getElementById("pie"));t.setOption(this.$diagram.pie)},male:function(){var t=this.$echarts.init(document.getElementById("male"));t.setOption(this.$diagram.womans)},males:function(){this.$echarts.init(document.getElementById("woman")).setOption(this.$diagram.males)},unknowns:function(){this.$echarts.init(document.getElementById("unknown")).setOption(this.$diagram.unknowns)},genderAnalysis:function(t,s,i,a){this.$diagram[s].series[0].data=[t.value],this.$diagram[s].series[1].data=[t.value],this.$diagram[s].xAxis.max=i,this.$diagram[s].series[1].label.normal.formatter=(t.value/i*100).toFixed(1)+"%",this.$echarts.init(document.getElementById(a)).setOption(this.$diagram[s])},fun:function(t,s,i){var a=[],e=[];t.forEach(function(t,s){a.push(t.name),e.push(t.value)}),this.$diagram[s].xAxis[0].data=a.filter(Boolean),this.$diagram[s].series[0].data=e.filter(Boolean),this.$echarts.init(document.getElementById(i)).setOption(this.$diagram[s])},getData:function(){var t=this;this.$api.BigDataReport(this).then(function(s){if("00"===s.code){for(var i in t.lists=s.data,t.lists)"number"==typeof t.lists[i]&&(t.lists[i]=Number(t.lists[i].toFixed(0)));var a=t.lists.todayMoney;t.num=[].concat(e()(a.toString())),t.lists.channeMoneyList.forEach(function(s,i){s.value=Number(s.value).toFixed(0),t.listMap[s.name]=s,t.$set(s,"color",t.color[i])}),t.$diagram.pie.series[0].data=t.lists.channeMoneyList;var n=t.lists.sexList.map(function(t,s){return t.value});t.sum=n.reduce(function(t,s){return Number(t)+Number(s)},0),t.sum=Number(t.sum),t.lists.sexList.forEach(function(s,i){"女"===s.name&&t.genderAnalysis(s,"womans",t.sum,"male"),"男"===s.name&&t.genderAnalysis(s,"males",t.sum,"woman"),"未知"===s.name&&t.genderAnalysis(s,"unknowns",t.sum,"unknown")});var r=[],l=[];t.lists.ageTypeList.forEach(function(t,s){r.push(t.name),l.push(t.value)}),t.$diagram.Ageanalysis.yAxis[0].data=r.filter(Boolean),t.$diagram.Ageanalysis.series[0].data=l.filter(Boolean),t.Ageanalysiss(),t.fun(t.lists.areaTop10List,"TouristArea","TouristAreas"),t.pie()}else t.$message.error(s.message)})}},mounted:function(){var t=this;this.getData(),this.time=setInterval(function(){t.getData()},3e4)},beforeDestroy:function(){clearTimeout(this.time),this.time=null}},r={render:function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"bodyT"},[i("div",{staticClass:"box"},[i("div",[i("div",{staticClass:"hand"},[i("div",[i("div",{staticClass:"p"},[i("p",{staticStyle:{background:"#5ebdff"}},[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconshuangren"}})])])]),t._v(" "),i("div",{staticClass:"div",staticStyle:{width:"31%","margin-left":"0.5rem"}},[i("p",[t._v("今日游客")]),t._v(" "),i("p",{staticStyle:{"font-weight":"600","font-size":"0.20rem"}},[t._v(t._s(t.lists.todayVisitor||0))])]),t._v(" "),i("div",{staticClass:"div"},[i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconren"}})]),t._v(" "),i("span",[t._v("散客:")]),t._v(" "),i("span",[t._v(t._s(t.lists.todayIndividual||0))])]),t._v(" "),i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconlianggeren"}})]),t._v(" "),i("span",[t._v("团队:")]),t._v(" "),i("span",[t._v(t._s(t.lists.todayGroup||0))])])])]),t._v(" "),i("div",[i("div",{staticClass:"p"},[i("p",{staticStyle:{background:"#d1aeff"}},[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconqiandai"}})])])]),t._v(" "),i("div",{staticClass:"div",staticStyle:{width:"31%","margin-left":"0.5rem"}},[i("p",[t._v("今日收入")]),t._v(" "),i("p",{staticStyle:{"font-weight":"600","font-size":"0.20rem"}},[t._v(t._s(t.lists.todayMoney||0))])]),t._v(" "),i("div",{staticClass:"div"},[i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#icone60213-copy"}})]),t._v(" "),i("span",[t._v("散客:")]),t._v(" "),i("span",[t._v(t._s(t.lists.individualMoney||0))])]),t._v(" "),i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconshuangren-copy"}})]),t._v(" "),i("span",[t._v("团队:")]),t._v(" "),i("span",[t._v(t._s(t.lists.groupMoney||0))])])])])]),t._v(" "),i("div",{staticClass:"hand"},[i("div",[i("div",{staticClass:"p"},[i("p",{staticStyle:{background:"#ff3d3d"}},[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconlingdang"}})])])]),t._v(" "),i("div",{staticClass:"div",staticStyle:{width:"31%","margin-left":"0.5rem"}},[i("p",[t._v("承载量")]),t._v(" "),i("p",{staticStyle:{"font-weight":"600","font-size":"0.20rem"}},[t._v(t._s(t._f("reserveDecimal")(t.lists.todayVisitor/t.lists.bearingSum*100||0))+"%")])]),t._v(" "),i("div",{staticClass:"div"},[i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconweibiaoti527"}})]),t._v(" "),i("span",[t._v("评价:")]),t._v(" "),i("span",[t._v(t._s(t.lists.evaluateSum||0))])]),t._v(" "),i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconzixun"}})]),t._v(" "),i("span",[t._v("咨询:")]),t._v(" "),i("span",[t._v(t._s(t.lists.advisorySum||0))])])])]),t._v(" "),i("div",[i("div",{staticClass:"p"},[i("p",{staticStyle:{background:"#fb985c"}},[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconqiandai"}})])])]),t._v(" "),i("div",{staticClass:"div",staticStyle:{width:"31%","margin-left":"0.5rem"}},[i("p",[t._v("旅行团")]),t._v(" "),i("p",{staticStyle:{"font-weight":"600","font-size":"0.20rem"}},[t._v(t._s(t.lists.travelSum||0))])]),t._v(" "),i("div",{staticClass:"div"},[i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconlianggeren-copy"}})]),t._v(" "),i("span",[t._v("今日团队:")]),t._v(" "),i("span",[t._v(t._s(t.lists.todayChannelSum||0))])]),t._v(" "),i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconyigeren"}})]),t._v(" "),i("span",[t._v("今日人数:")]),t._v(" "),i("span",[t._v(t._s(t.lists.todayGroup||0))])])])])]),t._v(" "),i("div",{staticClass:"fourthly",staticStyle:{display:"block"}},[i("p",{staticClass:"pp"},[t._v("消费分析")]),t._v(" "),i("div",{staticClass:"divs"},[i("div",[i("p",{staticStyle:{"font-weight":"600"}},[t._v("今日收入(元)")]),t._v(" "),i("p",{staticClass:"shouru"},t._l(t.num,function(s,a){return i("span",{key:a},[t._v(t._s(s))])}),0)]),t._v(" "),i("div",{staticClass:"bingtu"},t._l(t.lists.channeMoneyList,function(s,a){return i("p",[i("span",{staticClass:"colors",style:{background:s.color}}),t._v(" "),i("span",{staticStyle:{display:"inline-block",width:"0.8rem"}},[t._v(t._s(s.name.length<6?s.name:s.name.slice(0,4)+"..."))]),t._v(" "),i("span",{staticStyle:{display:"inline-block",width:"0.7rem"}},[t._v(t._s(t._f("reserveDecimal")(s.value)))])])}),0),t._v(" "),i("div",{attrs:{id:"pie"}})])]),t._v(" "),t._m(0)]),t._v(" "),t._m(1)])])},staticRenderFns:[function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"base"},[i("div",[i("p",{staticClass:"pp"},[t._v("游客性别分析")]),t._v(" "),i("div",{staticStyle:{width:"100%",height:"30%","margin-top":"0.1rem"},attrs:{id:"woman"}}),t._v(" "),i("div",{staticStyle:{width:"100%",height:"30%"},attrs:{id:"male"}}),t._v(" "),i("div",{staticStyle:{width:"100%",height:"30%"},attrs:{id:"unknown"}})]),t._v(" "),i("div",[i("p",{staticClass:"pp"},[t._v("游客年龄分析")]),t._v(" "),i("div",{staticStyle:{width:"100%",height:"88%","margin-top":"0.2rem"},attrs:{id:"Ageanalysiss"}})]),t._v(" "),i("div",[i("p",{staticClass:"pp"},[t._v("游客来源TOP10")]),t._v(" "),i("div",{staticStyle:{width:"100%",height:"88%","margin-top":"0.2rem"},attrs:{id:"TouristAreas"}})])])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",[i("div",{staticClass:"box2"},[i("div",{staticClass:"head1"},[i("span",[t._v("消息中心")]),t._v(" "),i("ul",[i("li",[t._v("[04-5]")]),t._v(" "),i("li",[t._v("[04-8]")]),t._v(" "),i("li",[t._v("[04-12]")]),t._v(" "),i("li",[t._v("[04-15]")]),t._v(" "),i("li",[t._v("[04-20]")])]),t._v(" "),i("p",[t._v("更多>")])])])])}]};var l=i("C7Lr")(n,r,!1,function(t){i("Co3C")},"data-v-103858a4",null);s.default=l.exports}});
\ No newline at end of file
webpackJsonp([118],{Co3C:function(t,s){},oMYT:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("IHPB"),e=i.n(a),n={filters:{capitalize:function(t){return t||""},reserveDecimal:function(t){return t&&Number(t).toFixed(0)}},data:function(){return{lists:{},num:[],color:["#fbdf5c","#5ebdff","#fb985c","#68de91","#de687b","#d1aeff","#00fcff"],listMap:[],sum:"",time:null}},methods:{Ageanalysiss:function(){var t=this.$echarts.init(document.getElementById("Ageanalysiss"));t.setOption(this.$diagram.Ageanalysis)},TouristArea:function(){var t=this.$echarts.init(document.getElementById("TouristAreas"));t.setOption(this.$diagram.TouristArea)},pie:function(){var t=this.$echarts.init(document.getElementById("pie"));t.setOption(this.$diagram.pie)},male:function(){var t=this.$echarts.init(document.getElementById("male"));t.setOption(this.$diagram.womans)},males:function(){this.$echarts.init(document.getElementById("woman")).setOption(this.$diagram.males)},unknowns:function(){this.$echarts.init(document.getElementById("unknown")).setOption(this.$diagram.unknowns)},genderAnalysis:function(t,s,i,a){this.$diagram[s].series[0].data=[t.value],this.$diagram[s].series[1].data=[t.value],this.$diagram[s].xAxis.max=i,this.$diagram[s].series[1].label.normal.formatter=(t.value/i*100).toFixed(1)+"%",this.$echarts.init(document.getElementById(a)).setOption(this.$diagram[s])},fun:function(t,s,i){var a=[],e=[];t.forEach(function(t,s){a.push(t.name),e.push(t.value)}),this.$diagram[s].xAxis[0].data=a.filter(Boolean),this.$diagram[s].series[0].data=e.filter(Boolean),this.$echarts.init(document.getElementById(i)).setOption(this.$diagram[s])},getData:function(){var t=this;this.$api.BigDataReport(this).then(function(s){if("00"===s.code){for(var i in t.lists=s.data,t.lists)"number"==typeof t.lists[i]&&(t.lists[i]=Number(t.lists[i].toFixed(0)));var a=t.lists.todayMoney;t.num=[].concat(e()(a.toString())),t.lists.channeMoneyList.forEach(function(s,i){s.value=Number(s.value).toFixed(0),t.listMap[s.name]=s,t.$set(s,"color",t.color[i])}),t.$diagram.pie.series[0].data=t.lists.channeMoneyList;var n=t.lists.sexList.map(function(t,s){return t.value});t.sum=n.reduce(function(t,s){return Number(t)+Number(s)},0),t.sum=Number(t.sum),t.lists.sexList.forEach(function(s,i){"女"===s.name&&t.genderAnalysis(s,"womans",t.sum,"male"),"男"===s.name&&t.genderAnalysis(s,"males",t.sum,"woman"),"未知"===s.name&&t.genderAnalysis(s,"unknowns",t.sum,"unknown")});var r=[],l=[];t.lists.ageTypeList.forEach(function(t,s){r.push(t.name),l.push(t.value)}),t.$diagram.Ageanalysis.yAxis[0].data=r.filter(Boolean),t.$diagram.Ageanalysis.series[0].data=l.filter(Boolean),t.Ageanalysiss(),t.fun(t.lists.areaTop10List,"TouristArea","TouristAreas"),t.pie()}else t.$message.error(s.message)})}},mounted:function(){var t=this;this.getData(),this.time=setInterval(function(){t.getData()},3e4)},beforeDestroy:function(){clearTimeout(this.time),this.time=null}},r={render:function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"bodyT"},[i("div",{staticClass:"box"},[i("div",[i("div",{staticClass:"hand"},[i("div",[i("div",{staticClass:"p"},[i("p",{staticStyle:{background:"#5ebdff"}},[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconshuangren"}})])])]),t._v(" "),i("div",{staticClass:"div",staticStyle:{width:"31%","margin-left":"0.5rem"}},[i("p",[t._v("今日游客")]),t._v(" "),i("p",{staticStyle:{"font-weight":"600","font-size":"0.20rem"}},[t._v(t._s(t.lists.todayVisitor||0))])]),t._v(" "),i("div",{staticClass:"div"},[i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconren"}})]),t._v(" "),i("span",[t._v("散客:")]),t._v(" "),i("span",[t._v(t._s(t.lists.todayIndividual||0))])]),t._v(" "),i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconlianggeren"}})]),t._v(" "),i("span",[t._v("团队:")]),t._v(" "),i("span",[t._v(t._s(t.lists.todayGroup||0))])])])]),t._v(" "),i("div",[i("div",{staticClass:"p"},[i("p",{staticStyle:{background:"#d1aeff"}},[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconqiandai"}})])])]),t._v(" "),i("div",{staticClass:"div",staticStyle:{width:"31%","margin-left":"0.5rem"}},[i("p",[t._v("今日收入")]),t._v(" "),i("p",{staticStyle:{"font-weight":"600","font-size":"0.20rem"}},[t._v(t._s(t.lists.todayMoney||0))])]),t._v(" "),i("div",{staticClass:"div"},[i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#icone60213-copy"}})]),t._v(" "),i("span",[t._v("散客:")]),t._v(" "),i("span",[t._v(t._s(t.lists.individualMoney||0))])]),t._v(" "),i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconshuangren-copy"}})]),t._v(" "),i("span",[t._v("团队:")]),t._v(" "),i("span",[t._v(t._s(t.lists.groupMoney||0))])])])])]),t._v(" "),i("div",{staticClass:"hand"},[i("div",[i("div",{staticClass:"p"},[i("p",{staticStyle:{background:"#ff3d3d"}},[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconlingdang"}})])])]),t._v(" "),i("div",{staticClass:"div",staticStyle:{width:"31%","margin-left":"0.5rem"}},[i("p",[t._v("承载量")]),t._v(" "),i("p",{staticStyle:{"font-weight":"600","font-size":"0.20rem"}},[t._v(t._s(t._f("reserveDecimal")(t.lists.todayVisitor/t.lists.bearingSum*100||0))+"%")])]),t._v(" "),i("div",{staticClass:"div"},[i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconweibiaoti527"}})]),t._v(" "),i("span",[t._v("评价:")]),t._v(" "),i("span",[t._v(t._s(t.lists.evaluateSum||0))])]),t._v(" "),i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconzixun"}})]),t._v(" "),i("span",[t._v("咨询:")]),t._v(" "),i("span",[t._v(t._s(t.lists.advisorySum||0))])])])]),t._v(" "),i("div",[i("div",{staticClass:"p"},[i("p",{staticStyle:{background:"#fb985c"}},[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconqiandai"}})])])]),t._v(" "),i("div",{staticClass:"div",staticStyle:{width:"31%","margin-left":"0.5rem"}},[i("p",[t._v("旅行团")]),t._v(" "),i("p",{staticStyle:{"font-weight":"600","font-size":"0.20rem"}},[t._v(t._s(t.lists.travelSum||0))])]),t._v(" "),i("div",{staticClass:"div"},[i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconlianggeren-copy"}})]),t._v(" "),i("span",[t._v("今日团队:")]),t._v(" "),i("span",[t._v(t._s(t.lists.todayChannelSum||0))])]),t._v(" "),i("p",[i("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":"#iconyigeren"}})]),t._v(" "),i("span",[t._v("今日人数:")]),t._v(" "),i("span",[t._v(t._s(t.lists.todayGroup||0))])])])])]),t._v(" "),i("div",{staticClass:"fourthly",staticStyle:{display:"block"}},[i("p",{staticClass:"pp"},[t._v("消费分析")]),t._v(" "),i("div",{staticClass:"divs"},[i("div",[i("p",{staticStyle:{"font-weight":"600"}},[t._v("今日收入(元)")]),t._v(" "),i("p",{staticClass:"shouru"},t._l(t.num,function(s,a){return i("span",{key:a},[t._v(t._s(s))])}),0)]),t._v(" "),i("div",{staticClass:"bingtu"},t._l(t.lists.channeMoneyList,function(s,a){return i("p",[i("span",{staticClass:"colors",style:{background:s.color}}),t._v(" "),i("span",{staticStyle:{display:"inline-block",width:"0.8rem"}},[t._v(t._s(s.name.length<6?s.name:s.name.slice(0,4)+"..."))]),t._v(" "),i("span",{staticStyle:{display:"inline-block",width:"0.7rem"}},[t._v(t._s(t._f("reserveDecimal")(s.value)))])])}),0),t._v(" "),i("div",{attrs:{id:"pie"}})])]),t._v(" "),t._m(0)]),t._v(" "),t._m(1)])])},staticRenderFns:[function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"base"},[i("div",[i("p",{staticClass:"pp"},[t._v("游客性别分析")]),t._v(" "),i("div",{staticStyle:{width:"100%",height:"30%","margin-top":"0.1rem"},attrs:{id:"woman"}}),t._v(" "),i("div",{staticStyle:{width:"100%",height:"30%"},attrs:{id:"male"}}),t._v(" "),i("div",{staticStyle:{width:"100%",height:"30%"},attrs:{id:"unknown"}})]),t._v(" "),i("div",[i("p",{staticClass:"pp"},[t._v("游客年龄分析")]),t._v(" "),i("div",{staticStyle:{width:"100%",height:"88%","margin-top":"0.2rem"},attrs:{id:"Ageanalysiss"}})]),t._v(" "),i("div",[i("p",{staticClass:"pp"},[t._v("游客来源TOP10")]),t._v(" "),i("div",{staticStyle:{width:"100%",height:"88%","margin-top":"0.2rem"},attrs:{id:"TouristAreas"}})])])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",[i("div",{staticClass:"box2"},[i("div",{staticClass:"head1"},[i("span",[t._v("消息中心")]),t._v(" "),i("ul",[i("li",[t._v("[04-5]")]),t._v(" "),i("li",[t._v("[04-8]")]),t._v(" "),i("li",[t._v("[04-12]")]),t._v(" "),i("li",[t._v("[04-15]")]),t._v(" "),i("li",[t._v("[04-20]")])]),t._v(" "),i("p",[t._v("更多>")])])])])}]};var l=i("C7Lr")(n,r,!1,function(t){i("Co3C")},"data-v-103858a4",null);s.default=l.exports}});
\ No newline at end of file
webpackJsonp([117],{Mf85:function(t,a){},fAmb:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v={components:{date:e("hBs9").a},data:function(){return{list:{data:[{name:"进入用户总数:",item:"2561"},{name:"总购买人数:",item:"2561"},{name:"沉淀用户总数:",item:"2561"},{name:"影响购买用户总数:",item:"2561"}],dataone:[{name:"钻石级人数:",item:"2561"},{name:"5星级人数:",item:"2561"},{name:"4星级人数:",item:"2561"},{name:"3星级人数:",item:"2561"},{name:"2星级人数:",item:"2561"},{name:"1星级人数:",item:"2561"}]},options:[{value:"1",label:"黄金糕"},{value:"2",label:"双皮奶"},{value:"3",label:"蚵仔煎"},{value:"4",label:"龙须面"},{value:"5",label:"北京烤鸭"}],data:{value:"",time:[],input:""},tableDates:[{a:"1",b:"2",c:"3",d:"4",e:"5",f:"6",g:"7",h:"8",i:"9",j:"详情"}]}},methods:{time:function(t){console.log(t)}}},_={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"total"},[e("div",{staticClass:"phead"},[t._v("用户分析>")]),t._v(" "),e("div",{staticClass:"box"},[e("ul",{staticClass:"displayData"},t._l(t.list.data,function(a,v){return e("li",{key:v},[t._v(t._s(a.name)+"  "),e("span",[t._v(t._s(a.item))])])}),0),t._v(" "),e("ul",{staticClass:"displayData"},t._l(t.list.dataone,function(a,v){return e("li",{key:v},[t._v(t._s(a.name)+"  "),e("span",[t._v(t._s(a.item))])])}),0)]),t._v(" "),e("div",{staticClass:"box1"},[e("span",[t._v("时间:")]),t._v(" "),e("date",{on:{time:t.time}}),t._v(" "),e("p",[t._v("单次查询日期最长跨度为31天")]),t._v(" "),e("div",{staticClass:"riqi"},[e("span",[t._v("类型:")]),t._v(" "),e("el-select",{attrs:{placeholder:"请选择"},model:{value:t.data.value,callback:function(a){t.$set(t.data,"value",a)},expression:"data.value"}},t._l(t.options,function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.label}})}),1)],1),t._v(" "),e("div",{staticClass:"riqi"},[e("span",[t._v("入口区域:")]),t._v(" "),e("el-select",{attrs:{placeholder:"请选择"},model:{value:t.data.value,callback:function(a){t.$set(t.data,"value",a)},expression:"data.value"}},t._l(t.options,function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.label}})}),1)],1),t._v(" "),e("div",{staticClass:"riqi"},[e("span",[t._v("入口属性:")]),t._v(" "),e("el-select",{attrs:{placeholder:"请选择"},model:{value:t.data.value,callback:function(a){t.$set(t.data,"value",a)},expression:"data.value"}},t._l(t.options,function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.label}})}),1)],1),t._v(" "),e("div",{staticClass:"riqi"},[e("span",[t._v("自定义:")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入内容"},model:{value:t.data.input,callback:function(a){t.$set(t.data,"input",a)},expression:"data.input"}})],1),t._v(" "),e("span",{staticClass:"inquire"},[t._v("查询")])],1),t._v(" "),e("div",{staticClass:"tableOne"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("table",[t._m(2),t._v(" "),t._l(t.tableDates,function(a,v){return e("tr",{key:v},[e("td",[t._v(t._s(a.a))]),t._v(" "),e("td",[t._v(t._s(a.b))]),t._v(" "),e("td",[t._v(t._s(a.c))]),t._v(" "),e("td",[t._v(t._s(a.d))]),t._v(" "),e("td",[t._v(t._s(a.e))]),t._v(" "),e("td",[t._v(t._s(a.f))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.h))]),t._v(" "),e("td",[t._v(t._s(a.i))]),t._v(" "),e("td",[e("a",{staticStyle:{color:"#00A2FF"},attrs:{href:"/#/pangding/puserCenter/TheuserDetails"}},[t._v(t._s(a.j))])])])})],2)]),t._v(" "),t._m(3)])},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("p",{staticClass:"execl"},[this._v("表格下载"),a("span",[this._v("Excel")])])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"head"},[a("p",[this._v("用户列表")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("tr",[e("td",[t._v("区域")]),t._v(" "),e("td",[t._v("星级")]),t._v(" "),e("td",[t._v("用户姓名")]),t._v(" "),e("td",[t._v("用户昵称")]),t._v(" "),e("td",[t._v("电话")]),t._v(" "),e("td",[t._v("入口区域")]),t._v(" "),e("td",[t._v("入口时间")]),t._v(" "),e("td",[t._v("入口属性")]),t._v(" "),e("td",[t._v("订单量")]),t._v(" "),e("td",[t._v("订单金额")]),t._v(" "),e("td",[t._v("退单量")]),t._v(" "),e("td",[t._v("退单金额")]),t._v(" "),e("td",[t._v("返现金额")]),t._v(" "),e("td",[t._v("提现金额")]),t._v(" "),e("td",[t._v("未体现金额")]),t._v(" "),e("td",[t._v("返现复购率")]),t._v(" "),e("td",[t._v("平台入账")]),t._v(" "),e("td",[t._v("操作")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ul",{staticClass:"ul"},[e("li",[t._v("合计"),e("span")]),t._v(" "),e("li",[t._v("星级"),e("span")]),t._v(" "),e("li",[t._v("用户姓名"),e("span")]),t._v(" "),e("li",[t._v("用户昵称"),e("span")]),t._v(" "),e("li",[t._v("电话"),e("span")]),t._v(" "),e("li",[t._v("入口区域"),e("span")]),t._v(" "),e("li",[t._v("入口时间"),e("span")]),t._v(" "),e("li",[t._v("入口属性"),e("span")]),t._v(" "),e("li",[t._v("订单量"),e("span")]),t._v(" "),e("li",[t._v("订单金额"),e("span")]),t._v(" "),e("li",[t._v("退单量"),e("span")]),t._v(" "),e("li",[t._v("退单金额"),e("span")]),t._v(" "),e("li",[t._v("返现金额"),e("span")]),t._v(" "),e("li",[t._v("提现金额"),e("span")]),t._v(" "),e("li",[t._v("未提现金额"),e("span")]),t._v(" "),e("li",[t._v("返现复购率"),e("span")]),t._v(" "),e("li",[t._v("平台入账"),e("span")]),t._v(" "),e("li",[t._v("详情"),e("span")])])}]};var l=e("C7Lr")(v,_,!1,function(t){e("Mf85")},"data-v-0a252310",null);a.default=l.exports}});
\ No newline at end of file
webpackJsonp([119],{Mf85:function(t,a){},fAmb:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v={components:{date:e("hBs9").a},data:function(){return{list:{data:[{name:"进入用户总数:",item:"2561"},{name:"总购买人数:",item:"2561"},{name:"沉淀用户总数:",item:"2561"},{name:"影响购买用户总数:",item:"2561"}],dataone:[{name:"钻石级人数:",item:"2561"},{name:"5星级人数:",item:"2561"},{name:"4星级人数:",item:"2561"},{name:"3星级人数:",item:"2561"},{name:"2星级人数:",item:"2561"},{name:"1星级人数:",item:"2561"}]},options:[{value:"1",label:"黄金糕"},{value:"2",label:"双皮奶"},{value:"3",label:"蚵仔煎"},{value:"4",label:"龙须面"},{value:"5",label:"北京烤鸭"}],data:{value:"",time:[],input:""},tableDates:[{a:"1",b:"2",c:"3",d:"4",e:"5",f:"6",g:"7",h:"8",i:"9",j:"详情"}]}},methods:{time:function(t){console.log(t)}}},_={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"total"},[e("div",{staticClass:"phead"},[t._v("用户分析>")]),t._v(" "),e("div",{staticClass:"box"},[e("ul",{staticClass:"displayData"},t._l(t.list.data,function(a,v){return e("li",{key:v},[t._v(t._s(a.name)+"  "),e("span",[t._v(t._s(a.item))])])}),0),t._v(" "),e("ul",{staticClass:"displayData"},t._l(t.list.dataone,function(a,v){return e("li",{key:v},[t._v(t._s(a.name)+"  "),e("span",[t._v(t._s(a.item))])])}),0)]),t._v(" "),e("div",{staticClass:"box1"},[e("span",[t._v("时间:")]),t._v(" "),e("date",{on:{time:t.time}}),t._v(" "),e("p",[t._v("单次查询日期最长跨度为31天")]),t._v(" "),e("div",{staticClass:"riqi"},[e("span",[t._v("类型:")]),t._v(" "),e("el-select",{attrs:{placeholder:"请选择"},model:{value:t.data.value,callback:function(a){t.$set(t.data,"value",a)},expression:"data.value"}},t._l(t.options,function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.label}})}),1)],1),t._v(" "),e("div",{staticClass:"riqi"},[e("span",[t._v("入口区域:")]),t._v(" "),e("el-select",{attrs:{placeholder:"请选择"},model:{value:t.data.value,callback:function(a){t.$set(t.data,"value",a)},expression:"data.value"}},t._l(t.options,function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.label}})}),1)],1),t._v(" "),e("div",{staticClass:"riqi"},[e("span",[t._v("入口属性:")]),t._v(" "),e("el-select",{attrs:{placeholder:"请选择"},model:{value:t.data.value,callback:function(a){t.$set(t.data,"value",a)},expression:"data.value"}},t._l(t.options,function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.label}})}),1)],1),t._v(" "),e("div",{staticClass:"riqi"},[e("span",[t._v("自定义:")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入内容"},model:{value:t.data.input,callback:function(a){t.$set(t.data,"input",a)},expression:"data.input"}})],1),t._v(" "),e("span",{staticClass:"inquire"},[t._v("查询")])],1),t._v(" "),e("div",{staticClass:"tableOne"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("table",[t._m(2),t._v(" "),t._l(t.tableDates,function(a,v){return e("tr",{key:v},[e("td",[t._v(t._s(a.a))]),t._v(" "),e("td",[t._v(t._s(a.b))]),t._v(" "),e("td",[t._v(t._s(a.c))]),t._v(" "),e("td",[t._v(t._s(a.d))]),t._v(" "),e("td",[t._v(t._s(a.e))]),t._v(" "),e("td",[t._v(t._s(a.f))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.g))]),t._v(" "),e("td",[t._v(t._s(a.h))]),t._v(" "),e("td",[t._v(t._s(a.i))]),t._v(" "),e("td",[e("a",{staticStyle:{color:"#00A2FF"},attrs:{href:"/#/pangding/puserCenter/TheuserDetails"}},[t._v(t._s(a.j))])])])})],2)]),t._v(" "),t._m(3)])},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("p",{staticClass:"execl"},[this._v("表格下载"),a("span",[this._v("Excel")])])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"head"},[a("p",[this._v("用户列表")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("tr",[e("td",[t._v("区域")]),t._v(" "),e("td",[t._v("星级")]),t._v(" "),e("td",[t._v("用户姓名")]),t._v(" "),e("td",[t._v("用户昵称")]),t._v(" "),e("td",[t._v("电话")]),t._v(" "),e("td",[t._v("入口区域")]),t._v(" "),e("td",[t._v("入口时间")]),t._v(" "),e("td",[t._v("入口属性")]),t._v(" "),e("td",[t._v("订单量")]),t._v(" "),e("td",[t._v("订单金额")]),t._v(" "),e("td",[t._v("退单量")]),t._v(" "),e("td",[t._v("退单金额")]),t._v(" "),e("td",[t._v("返现金额")]),t._v(" "),e("td",[t._v("提现金额")]),t._v(" "),e("td",[t._v("未体现金额")]),t._v(" "),e("td",[t._v("返现复购率")]),t._v(" "),e("td",[t._v("平台入账")]),t._v(" "),e("td",[t._v("操作")])])},function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ul",{staticClass:"ul"},[e("li",[t._v("合计"),e("span")]),t._v(" "),e("li",[t._v("星级"),e("span")]),t._v(" "),e("li",[t._v("用户姓名"),e("span")]),t._v(" "),e("li",[t._v("用户昵称"),e("span")]),t._v(" "),e("li",[t._v("电话"),e("span")]),t._v(" "),e("li",[t._v("入口区域"),e("span")]),t._v(" "),e("li",[t._v("入口时间"),e("span")]),t._v(" "),e("li",[t._v("入口属性"),e("span")]),t._v(" "),e("li",[t._v("订单量"),e("span")]),t._v(" "),e("li",[t._v("订单金额"),e("span")]),t._v(" "),e("li",[t._v("退单量"),e("span")]),t._v(" "),e("li",[t._v("退单金额"),e("span")]),t._v(" "),e("li",[t._v("返现金额"),e("span")]),t._v(" "),e("li",[t._v("提现金额"),e("span")]),t._v(" "),e("li",[t._v("未提现金额"),e("span")]),t._v(" "),e("li",[t._v("返现复购率"),e("span")]),t._v(" "),e("li",[t._v("平台入账"),e("span")]),t._v(" "),e("li",[t._v("详情"),e("span")])])}]};var l=e("C7Lr")(v,_,!1,function(t){e("Mf85")},"data-v-0a252310",null);a.default=l.exports}});
\ No newline at end of file
webpackJsonp([120],{kW7r:function(e,t){},n0Iy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("zsLt"),s=n.n(a),i=n("IHPB"),o=n.n(i),c={data:function(){return{projectList:[],channelList:[],sceneList:[],weekList:[{value:1,name:"周一"},{value:2,name:"周二"},{value:3,name:"周三"},{value:4,name:"周四"},{value:5,name:"周五"},{value:6,name:"周六"},{value:7,name:"周日"}]}},methods:{pointChange:function(e,t){var n=this;this.projectList.forEach(function(a){a.projectId==e&&(n.sceneList[t].sceneName=a.projectName)})},timeUnitChange:function(e,t){this.sceneList[e].autos[t].dates=[],this.sceneList[e].autos[t].autoDateFrom="",this.sceneList[e].autos[t].autoDateTo="",this.sceneList[e].autos[t].autoDateWeekList=[]},changeDate:function(e,t){this.sceneList[e].autos[t].dates?(this.sceneList[e].autos[t].autoDateFrom=this.sceneList[e].autos[t].dates[0],this.sceneList[e].autos[t].autoDateTo=this.sceneList[e].autos[t].dates[1],this.$forceUpdate()):(this.sceneList[e].autos[t].autoDateFrom="",this.sceneList[e].autos[t].autoDateTo="",this.$forceUpdate())},channelNameChange:function(e,t){var n=this.channelList.find(function(t){return t.channelId==e});this.sceneList[t].channels.push(n),this.sceneList[t].channels=[].concat(o()(new s.a(this.sceneList[t].channels)))},deleChannelName:function(e,t){this.sceneList[e].channels.splice(t,1)},autoAdd:function(e){this.sceneList[e].autos.push({dates:[this.$commonJs.today(),this.$commonJs.today()],autoDateFrom:this.$commonJs.today(),autoDateTo:this.$commonJs.today(),autoDateWeekList:[],autoDateUnit:0,sceneTotalNum:""})},autoDele:function(e,t){this.sceneList[e].autos.splice(t,1)},ordinaryAdd:function(){this.sceneList.push({sceneType:2,sceneTotalNum:"",autos:[],week:[1,2,3,4,5,6,7]})},specialAdd:function(){this.sceneList.push({sceneType:1,sceneTotalNum:"",autos:[],week:[1,2,3,4,5,6,7]})},sceneDele:function(e){this.sceneList.splice(e,1)},projectQuery:function(){var e=this,t={companyId:this.$store.state.companyId};this.axios.post(this.getProductUrl("project/query"),t).then(function(t){"00"==t.data.code?e.projectList=t.data.data.list:e.$message.error(t.data.message)})},getChannelList:function(){var e=this,t={companyId:this.$store.state.companyId,pageSize:99999};this.axios.post(this.getChanel("channel/list"),t).then(function(t){"00"===t.data.code?e.channelList=t.data.data.list:e.$message.error(t.data.message)})},computeMinuteNumber:function(e,t,n){if(e.sceneDateFrom&&e.sceneDateTo){var a=e.sceneDateFrom.split(":"),s=e.sceneDateTo.split(":"),i=60*(s[0]-a[0])+(s[1]-a[1]);n<1e4?(this.sceneList[t].autos[n].minuteNumber=parseFloat((e.sceneTotalNum*e.sceneDateUnit/i).toFixed(2)),this.sceneList[t].autos[n].minuteMax=i):(this.sceneList[t].minuteNumber=parseFloat((e.sceneTotalNum*e.sceneDateUnit/i).toFixed(2)),this.sceneList[t].minuteMax=i)}this.$forceUpdate()},sceneQuery:function(){var e=this,t={companyId:this.$store.state.companyId,sceneType:99,channelFlag:!0,weekFlag:!0};this.axios.post(this.getStoreUrl("scene/query"),t).then(function(t){"00"===t.data.code?(e.sceneList=t.data.data.list,e.$forceUpdate(),e.sceneList.forEach(function(t,n){t.sceneDateFrom=t.sceneDateFrom.substr(0,5),t.sceneDateTo=t.sceneDateTo.substr(0,5),t.autos.forEach(function(a,s){a.autoDateFrom&&a.autoDateTo&&(a.dates=[a.autoDateFrom.substr(0,10),a.autoDateTo.substr(0,10)]),1==t.sceneType&&e.computeMinuteNumber(a,n,s),a.sceneDateFrom=a.sceneDateFrom.substr(0,5),a.sceneDateTo=a.sceneDateTo.substr(0,5)}),1==t.sceneType&&e.computeMinuteNumber(t,n,1e4)})):e.$message.error(t.data.message)})},save:function(){for(var e=this,t=0;t<this.sceneList.length;t++){if(!this.sceneList[t].sceneName)return this.$message.error("请选择消耗点");if(!this.sceneList[t].sceneDateFrom)return this.$message.error("请选择开始时间");if(!this.sceneList[t].sceneDateTo)return this.$message.error("请选择结束时间");if(""===this.sceneList[t].sceneTotalNum)return this.$message.error("请填写库存");if(this.sceneList[t].autos.length>0)for(var n=0;n<this.sceneList[t].autos.length;n++){if(""===this.sceneList[t].autos[n].autoDateUnit)return this.$message.error("请填写时间单位");if(!this.sceneList[t].autos[n].sceneDateFrom)return this.$message.error("请填写开始时间");if(!this.sceneList[t].autos[n].sceneDateTo)return this.$message.error("请填写结束时间");if(""===this.sceneList[t].autos[n].sceneTotalNum)return this.$message.error("请填写库存量")}}var a={companyId:this.$store.state.companyId,list:this.sceneList};this.axios.post(this.getStoreUrl("scene/saveList"),a).then(function(t){"00"==t.data.code?(e.$message.success("保存成功"),e.$router.go(-1)):e.$message.error(t.data.message)})}},mounted:function(){this.projectQuery(),this.getChannelList(),this.sceneQuery()}},r={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bigBox"},[n("div",{staticClass:"top"},[n("p",{staticClass:"commonP"},[e._v("\n 普通库存设置\n "),n("span",{staticClass:"btn",on:{click:function(t){return e.ordinaryAdd()}}},[e._v("+")])]),e._v(" "),n("div",{staticClass:"topBox"},e._l(e.sceneList,function(t,a){return 2==t.sceneType?n("div",{key:a,staticClass:"boxList"},[n("div",{staticClass:"list1"},[n("i",{staticClass:"btn",on:{click:function(t){return e.sceneDele(a)}}},[e._v("-")]),e._v(" "),n("span"),e._v(" "),n("el-select",{attrs:{filterable:"",clearable:"",placeholder:"请选择消耗点"},on:{change:function(n){return e.pointChange(t.projectId,a)}},model:{value:t.projectId,callback:function(n){e.$set(t,"projectId",n)},expression:"item.projectId"}},[e._v(">\n \t\t"),e._l(e.projectList,function(e,t){return n("el-option",{key:e.projectId,attrs:{label:e.projectName,value:e.projectId}})})],2),e._v(" "),n("span"),e._v(" "),n("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"00:00",end:"23:59",step:"00:1"}},model:{value:t.sceneDateFrom,callback:function(n){e.$set(t,"sceneDateFrom",n)},expression:"item.sceneDateFrom"}}),e._v("--\n "),n("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"00:00",end:"23:59",step:"00:1",minTime:t.sceneDateFrom}},model:{value:t.sceneDateTo,callback:function(n){e.$set(t,"sceneDateTo",n)},expression:"item.sceneDateTo"}}),e._v(" "),n("span",[e._v("库存:")]),e._v(" "),n("el-input",{staticStyle:{width:"80px"},attrs:{type:"number"},model:{value:t.sceneTotalNum,callback:function(n){e.$set(t,"sceneTotalNum",n)},expression:"item.sceneTotalNum"}}),e._v(" "),n("el-select",{staticStyle:{"margin-left":"0.2rem"},attrs:{filterable:"",placeholder:"请选择渠道名称"},on:{change:function(n){return e.channelNameChange(t.findChannelId,a)}},model:{value:t.findChannelId,callback:function(n){e.$set(t,"findChannelId",n)},expression:"item.findChannelId"}},e._l(e.channelList,function(e,t){return n("el-option",{key:e.channelId,attrs:{label:e.companyName,value:e.channelId}})}),1),e._v(" "),t.channels&&t.channels.length>0?n("table",{staticStyle:{width:"240px","margin-left":"0.2rem"}},[e._m(0,!0),e._v(" "),e._l(t.channels,function(t,s){return n("tr",{key:s},[n("td",[e._v(e._s(t.companyName))]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.channelTotalNum,expression:"items.channelTotalNum"}],staticStyle:{height:"25px"},attrs:{type:"number"},domProps:{value:t.channelTotalNum},on:{input:function(n){n.target.composing||e.$set(t,"channelTotalNum",n.target.value)}}})]),e._v(" "),n("td",{staticStyle:{color:"#FF0000",cursor:"pointer"},on:{click:function(t){return e.deleChannelName(a,s)}}},[e._v("删除")])])})],2):e._e(),e._v(" "),n("span",{staticClass:"btn",on:{click:function(t){return e.autoAdd(a)}}},[e._v("+")])],1),e._v(" "),e._l(t.autos,function(t,s){return n("div",{key:s,staticClass:"list2"},[n("i",{staticClass:"btn",staticStyle:{background:"#00BAFF"},on:{click:function(t){return e.autoDele(a,s)}}},[e._v("-")]),e._v(" "),n("span"),e._v(" "),n("el-select",{on:{change:function(t){return e.timeUnitChange(a,s)}},model:{value:t.autoDateUnit,callback:function(n){e.$set(t,"autoDateUnit",n)},expression:"items.autoDateUnit"}},[n("el-option",{attrs:{label:"日期",value:0}}),e._v(" "),n("el-option",{attrs:{label:"工作日",value:1}}),e._v(" "),n("el-option",{attrs:{label:"节假日",value:2}}),e._v(" "),n("el-option",{attrs:{label:"星期",value:3}})],1),e._v(" "),0==t.autoDateUnit?n("div",[n("span",{staticStyle:{"margin-left":"0.2rem"}}),e._v(" "),n("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{blur:function(t){return e.changeDate(a,s)},change:function(t){return e.changeDate(a,s)}},model:{value:t.dates,callback:function(n){e.$set(t,"dates",n)},expression:"items.dates"}})],1):e._e(),e._v(" "),3==t.autoDateUnit?n("div",[n("span",{staticStyle:{"margin-left":"0.2rem"}}),e._v(" "),e._l(e.weekList,function(a,s){return n("label",{key:s},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.autoDateWeekList,expression:"items.autoDateWeekList"}],attrs:{type:"checkbox"},domProps:{value:a.value,checked:Array.isArray(t.autoDateWeekList)?e._i(t.autoDateWeekList,a.value)>-1:t.autoDateWeekList},on:{change:function(n){var s=t.autoDateWeekList,i=n.target,o=!!i.checked;if(Array.isArray(s)){var c=a.value,r=e._i(s,c);i.checked?r<0&&e.$set(t,"autoDateWeekList",s.concat([c])):r>-1&&e.$set(t,"autoDateWeekList",s.slice(0,r).concat(s.slice(r+1)))}else e.$set(t,"autoDateWeekList",o)}}}),e._v("\n "+e._s(a.name)+"\n ")])})],2):e._e(),e._v(" "),n("span"),e._v(" "),n("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"00:00",end:"23:59",step:"00:1"}},model:{value:t.sceneDateFrom,callback:function(n){e.$set(t,"sceneDateFrom",n)},expression:"items.sceneDateFrom"}}),e._v("--\n "),n("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"00:00",end:"23:59",step:"00:1",minTime:t.sceneDateFrom}},model:{value:t.sceneDateTo,callback:function(n){e.$set(t,"sceneDateTo",n)},expression:"items.sceneDateTo"}}),e._v(" "),n("span",[e._v("库存:")]),e._v(" "),n("el-input",{staticStyle:{width:"70px"},attrs:{type:"number"},model:{value:t.sceneTotalNum,callback:function(n){e.$set(t,"sceneTotalNum",n)},expression:"items.sceneTotalNum"}})],1)})],2):e._e()}),0)]),e._v(" "),n("div",{staticClass:"bottom"},[n("p",{staticClass:"commonP"},[e._v("\n 场次库存设置\n "),n("span",{staticClass:"btn",on:{click:function(t){return e.specialAdd()}}},[e._v("+")])]),e._v(" "),n("div",{staticClass:"bottomBox"},e._l(e.sceneList,function(t,a){return 1==t.sceneType?n("div",{key:a,staticClass:"boxList"},[n("div",{staticClass:"list1"},[n("i",{staticClass:"btn",on:{click:function(t){return e.sceneDele(a)}}},[e._v("-")]),e._v(" "),n("span"),e._v(" "),n("el-select",{attrs:{filterable:"",clearable:"",placeholder:"请选择消耗点"},on:{change:function(n){return e.pointChange(t.projectId,a)}},model:{value:t.projectId,callback:function(n){e.$set(t,"projectId",n)},expression:"item.projectId"}},e._l(e.projectList,function(e,t){return n("el-option",{key:e.projectId,attrs:{label:e.projectName,value:e.projectId}})}),1),e._v(" "),n("span"),e._v(" "),n("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"00:00",end:"23:59",step:"00:1"}},on:{change:function(n){return e.computeMinuteNumber(t,a,1e4)}},model:{value:t.sceneDateFrom,callback:function(n){e.$set(t,"sceneDateFrom",n)},expression:"item.sceneDateFrom"}}),e._v("--\n "),n("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"00:00",end:"23:59",step:"00:1",minTime:t.sceneDateFrom}},on:{change:function(n){return e.computeMinuteNumber(t,a,1e4)}},model:{value:t.sceneDateTo,callback:function(n){e.$set(t,"sceneDateTo",n)},expression:"item.sceneDateTo"}}),e._v(" "),n("span",[e._v("库存:")]),e._v(" "),n("el-input",{staticStyle:{width:"70px"},attrs:{type:"number"},on:{change:function(n){return e.computeMinuteNumber(t,a,1e4)}},model:{value:t.sceneTotalNum,callback:function(n){e.$set(t,"sceneTotalNum",n)},expression:"item.sceneTotalNum"}}),e._v(" "),n("div",{staticClass:"minuteNumber"},[n("span",[e._v("每场:")]),e._v(" "),n("el-input-number",{staticStyle:{width:"130px"},attrs:{min:1,max:t.minuteMax},on:{change:function(n){return e.computeMinuteNumber(t,a,1e4)}},model:{value:t.sceneDateUnit,callback:function(n){e.$set(t,"sceneDateUnit",n)},expression:"item.sceneDateUnit"}})],1),e._v(" "),n("span",{staticStyle:{"margin-left":"0.05rem"}},[e._v("\n 分钟/\n "),n("i",{staticStyle:{color:"#FF0000"}},[e._v(e._s(t.minuteNumber||0))]),e._v("张\n ")]),e._v(" "),n("el-select",{staticStyle:{"margin-left":"0.2rem"},attrs:{filterable:"",placeholder:"请选择渠道名称"},on:{change:function(n){return e.channelNameChange(t.findChannelId,a)}},model:{value:t.findChannelId,callback:function(n){e.$set(t,"findChannelId",n)},expression:"item.findChannelId"}},e._l(e.channelList,function(e,t){return n("el-option",{key:e.channelId,attrs:{label:e.companyName,value:e.channelId}})}),1),e._v(" "),t.channels&&t.channels.length>0?n("table",{staticStyle:{width:"240px",margin:"0 0.2rem"}},[e._m(1,!0),e._v(" "),e._l(t.channels,function(t,s){return n("tr",{key:s},[n("td",[e._v(e._s(t.companyName))]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.channelTotalNum,expression:"items.channelTotalNum"}],staticStyle:{height:"25px"},attrs:{type:"number"},domProps:{value:t.channelTotalNum},on:{input:function(n){n.target.composing||e.$set(t,"channelTotalNum",n.target.value)}}})]),e._v(" "),n("td",{staticStyle:{color:"#FF0000",cursor:"pointer"},on:{click:function(t){return e.deleChannelName(a,s)}}},[e._v("删除")])])})],2):e._e(),e._v(" "),n("span",{staticClass:"btn",staticStyle:{"margin-left":"0.2rem"},on:{click:function(t){return e.autoAdd(a)}}},[e._v("+")])],1),e._v(" "),e._l(t.autos,function(t,s){return n("div",{key:s,staticClass:"list2"},[n("i",{staticClass:"btn",staticStyle:{background:"#00BAFF"},on:{click:function(t){return e.autoDele(a,s)}}},[e._v("-")]),e._v(" "),n("span"),e._v(" "),n("el-select",{on:{change:function(t){return e.timeUnitChange(a,s)}},model:{value:t.autoDateUnit,callback:function(n){e.$set(t,"autoDateUnit",n)},expression:"items.autoDateUnit"}},[n("el-option",{attrs:{label:"日期",value:0}}),e._v(" "),n("el-option",{attrs:{label:"工作日",value:1}}),e._v(" "),n("el-option",{attrs:{label:"节假日",value:2}}),e._v(" "),n("el-option",{attrs:{label:"星期",value:3}})],1),e._v(" "),0==t.autoDateUnit?n("div",[n("span",{staticStyle:{"margin-left":"0.2rem"}}),e._v(" "),n("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{blur:function(t){return e.changeDate(a,s)},change:function(t){return e.changeDate(a,s)}},model:{value:t.dates,callback:function(n){e.$set(t,"dates",n)},expression:"items.dates"}})],1):e._e(),e._v(" "),3==t.autoDateUnit?n("div",[n("span",{staticStyle:{"margin-left":"0.2rem"}}),e._v(" "),e._l(e.weekList,function(a,s){return n("label",{key:s},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.autoDateWeekList,expression:"items.autoDateWeekList"}],attrs:{type:"checkbox"},domProps:{value:a.value,checked:Array.isArray(t.autoDateWeekList)?e._i(t.autoDateWeekList,a.value)>-1:t.autoDateWeekList},on:{change:function(n){var s=t.autoDateWeekList,i=n.target,o=!!i.checked;if(Array.isArray(s)){var c=a.value,r=e._i(s,c);i.checked?r<0&&e.$set(t,"autoDateWeekList",s.concat([c])):r>-1&&e.$set(t,"autoDateWeekList",s.slice(0,r).concat(s.slice(r+1)))}else e.$set(t,"autoDateWeekList",o)}}}),e._v("\n "+e._s(a.name)+"\n ")])})],2):e._e(),e._v(" "),n("span"),e._v(" "),n("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"00:00",end:"23:59",step:"00:1"}},on:{change:function(n){return e.computeMinuteNumber(t,a,s)}},model:{value:t.sceneDateFrom,callback:function(n){e.$set(t,"sceneDateFrom",n)},expression:"items.sceneDateFrom"}}),e._v("--\n "),n("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"00:00",end:"23:59",step:"00:1",minTime:t.sceneDateFrom}},on:{change:function(n){return e.computeMinuteNumber(t,a,s)}},model:{value:t.sceneDateTo,callback:function(n){e.$set(t,"sceneDateTo",n)},expression:"items.sceneDateTo"}}),e._v(" "),n("span",[e._v("库存:")]),e._v(" "),n("el-input",{staticStyle:{width:"70px"},attrs:{type:"number"},on:{change:function(n){return e.computeMinuteNumber(t,a,s)}},model:{value:t.sceneTotalNum,callback:function(n){e.$set(t,"sceneTotalNum",n)},expression:"items.sceneTotalNum"}}),e._v(" "),n("div",{staticClass:"minuteNumber"},[n("span",[e._v("每场:")]),e._v(" "),n("el-input-number",{staticStyle:{width:"130px"},attrs:{min:1,max:t.minuteMax},on:{change:function(n){return e.computeMinuteNumber(t,a,s)}},model:{value:t.sceneDateUnit,callback:function(n){e.$set(t,"sceneDateUnit",n)},expression:"items.sceneDateUnit"}})],1),e._v(" "),n("span",{staticStyle:{"margin-left":"0.05rem"}},[e._v("\n 分钟/\n "),n("i",{staticStyle:{color:"#FF0000"}},[e._v(e._s(t.minuteNumber||0))]),e._v("张\n ")])],1)})],2):e._e()}),0)]),e._v(" "),n("div",{staticStyle:{"margin-top":"0.2rem"}},[n("a",{staticClass:"btn4",on:{click:function(t){return e.save()}}},[e._v("保存")])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("tr",[t("td",{attrs:{width:"120"}},[this._v("渠道名称")]),this._v(" "),t("td",{attrs:{width:"70"}},[this._v("库存量")]),this._v(" "),t("td",{attrs:{width:"50"}},[this._v("操作")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("tr",[t("td",{attrs:{width:"120"}},[this._v("渠道名称")]),this._v(" "),t("td",{attrs:{width:"70"}},[this._v("库存")]),this._v(" "),t("td",{attrs:{width:"50"}},[this._v("操作")])])}]};var l=n("C7Lr")(c,r,!1,function(e){n("kW7r")},"data-v-021190be",null);t.default=l.exports}});
\ No newline at end of file
webpackJsonp([119],{"/b/Y":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("/ZRz"),i=e("MlfH"),n={components:{Head:s.a,bottom:i.default},data:function(){return{title1:"渠道数据分析",monthChannelList:{data:{columns:["name","value"],rows:[]}},yearChannelList:{data:{columns:["name","value"],rows:[]}},yearList:{data:{rows:[]},settings:{area:!0,metrics:[],dimension:["name"]}}}},methods:{init:function(){var t=this,a={companyId:this.$store.state.companyId};this.axios.post(this.getReportUrl("reportDataBase/queryReportDatabaseChannel"),a).then(function(a){if("00"==a.data.code){for(var e in t.monthChannelList.data.rows=a.data.data.monthChannelList,t.yearChannelList.data.rows=a.data.data.yearChannelList,t.yearList.data.rows=a.data.data.yearList,t.yearList.settings.metrics=[],a.data.data.yearList[0])t.yearList.settings.metrics.push(e);var s=t.yearList.settings.metrics.indexOf("id");t.yearList.settings.metrics.splice(s,1);var i=t.yearList.settings.metrics.indexOf("name");t.yearList.settings.metrics.splice(i,1)}else t.$message({message:a.data.message,type:"error"})})}},mounted:function(){var t=this;this.init(),function a(){var e=setTimeout(function(){t.init(),a()},5e3);t.$once("hook:beforeDestroy",function(){clearTimeout(e)})}()}},r={render:function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"all"},[s("Head",{attrs:{title1:t.title1}}),t._v(" "),s("div",{staticClass:"middle1"},[s("div",[s("p",[s("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[s("use",{attrs:{"xlink:href":"#iconfx"}})]),t._v(" "),s("span",[t._v("本月渠道数据")])]),t._v(" "),s("ve-histogram",{attrs:{data:t.monthChannelList.data,extend:this.$bigData.zhuEchart(),height:"2.7rem"}})],1),t._v(" "),s("div",[s("p",[s("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[s("use",{attrs:{"xlink:href":"#iconfx"}})]),t._v(" "),s("span",[t._v("本年渠道数据")])]),t._v(" "),s("ve-histogram",{attrs:{data:t.yearChannelList.data,extend:this.$bigData.zhuEchart(),height:"2.7rem"}})],1)]),t._v(" "),s("div",{staticClass:"middle2"},[s("p",[s("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[s("use",{attrs:{"xlink:href":"#iconlishi"}})]),t._v(" "),s("span",[t._v("\n \t历史渠道趋势\n ")]),t._v(" "),s("span",[s("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:e("EkAb")}}),t._v("\n\t\t\t\t"+t._s(t.yearList.settings.metrics[0])+"年\n\t\t\t")]),t._v(" "),s("span",[s("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:e("/vWa")}}),t._v("\n\t\t\t\t"+t._s(t.yearList.settings.metrics[1])+"年\n\t\t\t")]),t._v(" "),s("span",[s("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:e("kRXi")}}),t._v("\n\t\t\t\t"+t._s(t.yearList.settings.metrics[2])+"年\n\t\t\t")])]),t._v(" "),s("ve-line",{attrs:{data:t.yearList.data,extend:this.$bigData.lineEchart(),settings:t.yearList.settings,height:"2.7rem"}})],1),t._v(" "),s("bottom",{staticStyle:{position:"absolute",bottom:"0.2rem",width:"100%"}})],1)},staticRenderFns:[]};var o=e("C7Lr")(n,r,!1,function(t){e("Zc+9")},"data-v-0358f806",null);a.default=o.exports},"Zc+9":function(t,a){}});
\ No newline at end of file
webpackJsonp([120],{"/b/Y":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("/ZRz"),i=e("MlfH"),n={components:{Head:s.a,bottom:i.default},data:function(){return{title1:"渠道数据分析",monthChannelList:{data:{columns:["name","value"],rows:[]}},yearChannelList:{data:{columns:["name","value"],rows:[]}},yearList:{data:{rows:[]},settings:{area:!0,metrics:[],dimension:["name"]}}}},methods:{init:function(){var t=this,a={companyId:this.$store.state.companyId};this.axios.post(this.getReportUrl("reportDataBase/queryReportDatabaseChannel"),a).then(function(a){if("00"==a.data.code){for(var e in t.monthChannelList.data.rows=a.data.data.monthChannelList,t.yearChannelList.data.rows=a.data.data.yearChannelList,t.yearList.data.rows=a.data.data.yearList,t.yearList.settings.metrics=[],a.data.data.yearList[0])t.yearList.settings.metrics.push(e);var s=t.yearList.settings.metrics.indexOf("id");t.yearList.settings.metrics.splice(s,1);var i=t.yearList.settings.metrics.indexOf("name");t.yearList.settings.metrics.splice(i,1)}else t.$message({message:a.data.message,type:"error"})})}},mounted:function(){var t=this;this.init(),function a(){var e=setTimeout(function(){t.init(),a()},5e3);t.$once("hook:beforeDestroy",function(){clearTimeout(e)})}()}},r={render:function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"all"},[s("Head",{attrs:{title1:t.title1}}),t._v(" "),s("div",{staticClass:"middle1"},[s("div",[s("p",[s("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[s("use",{attrs:{"xlink:href":"#iconfx"}})]),t._v(" "),s("span",[t._v("本月渠道数据")])]),t._v(" "),s("ve-histogram",{attrs:{data:t.monthChannelList.data,extend:this.$bigData.zhuEchart(),height:"2.7rem"}})],1),t._v(" "),s("div",[s("p",[s("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[s("use",{attrs:{"xlink:href":"#iconfx"}})]),t._v(" "),s("span",[t._v("本年渠道数据")])]),t._v(" "),s("ve-histogram",{attrs:{data:t.yearChannelList.data,extend:this.$bigData.zhuEchart(),height:"2.7rem"}})],1)]),t._v(" "),s("div",{staticClass:"middle2"},[s("p",[s("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[s("use",{attrs:{"xlink:href":"#iconlishi"}})]),t._v(" "),s("span",[t._v("\n \t历史渠道趋势\n ")]),t._v(" "),s("span",[s("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:e("EkAb")}}),t._v("\n\t\t\t\t"+t._s(t.yearList.settings.metrics[0])+"年\n\t\t\t")]),t._v(" "),s("span",[s("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:e("/vWa")}}),t._v("\n\t\t\t\t"+t._s(t.yearList.settings.metrics[1])+"年\n\t\t\t")]),t._v(" "),s("span",[s("img",{staticStyle:{width:"0.38rem",height:"0.1rem"},attrs:{src:e("kRXi")}}),t._v("\n\t\t\t\t"+t._s(t.yearList.settings.metrics[2])+"年\n\t\t\t")])]),t._v(" "),s("ve-line",{attrs:{data:t.yearList.data,extend:this.$bigData.lineEchart(),settings:t.yearList.settings,height:"2.7rem"}})],1),t._v(" "),s("bottom",{staticStyle:{position:"absolute",bottom:"0.2rem",width:"100%"}})],1)},staticRenderFns:[]};var o=e("C7Lr")(n,r,!1,function(t){e("Zc+9")},"data-v-0358f806",null);a.default=o.exports},"Zc+9":function(t,a){}});
\ No newline at end of file
webpackJsonp([4],{"/8q3":function(e,t,r){r("20tZ"),e.exports=-9007199254740991},"20tZ":function(e,t,r){var s=r("uSC2");s(s.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"6yUe":function(e,t,r){r("GLtp"),e.exports=9007199254740991},AUUs:function(e,t,r){"use strict";(function(e){var s=r("aA9S"),i=r.n(s),a=r("3cXf"),o=r.n(a),n=r("4YfN"),c=r.n(n),d=r("8p6T"),l=r("zat1"),u=r("GYc6"),h=r("cxdB"),p=r("eeyJ"),y=r("GZf/"),m=r("hG4X"),f=r("oaxN"),v=r("RwQt"),b=r("nBy1"),g=r("uRfC"),P=r("bSIt");t.a={props:["priceType"],data:function(){return{saleChangePrice:!0,extraServers:[],showServer:!1,fieldsList:[],saleType:"",saleTypeList:[],isLoading:!0,haomiao:6e5,timess:null,TeamTickets:!1,time:null,custom:"",ChannelName:[],Allchannels:[],selectChannel:{},SelectChannelsList:[],totalAmount:0,displaySetup:!1,readonly:!0,border:0,phoneshow:!1,authshow:!1,maxshow:!1,tickshow:!1,index:0,tourGuide:{},payModelList:[],obj:{order:{mergerOrder:(0===this.priceType.groupType?JSON.parse(localStorage.getItem("mergeOrderStatus0")):JSON.parse(localStorage.getItem("mergeOrderStatus1")))||0,patchOrder:0,channelOrderId:"",carCode:"",leaderName:"",leaderId:"",orderCheckDate:"",buyNum:1,salePricePayTotal:0,companyId:this.$store.state.companyId,saleId:"",payType:"0",salePricePayedTotal:"",playDateFrom:"",subscribeDateFrom:"",channelId:"",saleCheckId:"",saleCheckMobile:"",payTypeCode:null},visitors:[]},pageTotal:0,pageshow:!1,product:{saleType:"",notStoreVisible:0,date:this.$commonJs.today(),pageIndex:1,pageSize:18,priceTypeId:"t5",batchDateFrom:this.$commonJs.today()+" 00:00:00",batchDateTo:this.$commonJs.today()+" 23:59:59",channelId:"",deBug:!0},prise:"",oldPrise:"",products:[],products2:[],PrinterList:[],printdata:"",allnum:"",succ:"",todaynum:0,todaymoney:0,newnumm:[],printModel:[],prinmode:JSON.parse(this.$store.state.config).printId,printModelObj:{companyId:this.$store.state.companyId,deviceType:this.$store.state.deviceType,deviceId:this.$store.state.deviceId,configs:[{configKey:"printId",configValue:JSON.parse(this.$store.state.config).printId}]},discounts:{},condition:!0,isShowQrcode:!1,qrcodeContent:"",waitPayStatusTips:"正在等待支付...",requestTimer:null,orderInfo:null,isShowScanningGun:!1,isCancelOrder:!1}},methods:c()({},Object(P.b)(["updateTourGuide"]),{closeServer:function(){this.showServer=!1},changeS:function(){var e=this;this.saleType="",this.product.notStoreVisible?this.$confirm("此操作将永久:不会排号,不能过闸,不会扣库存,是否继续?","提示",{cancelButtonText:"取消",confirmButtonText:"确定",type:"warning"}).then(function(){e.obj.order.patchOrder=1,e.getproduct(),e.$message({type:"success",message:"成功!"})}).catch(function(){e.obj.order.patchOrder=0,e.product.notStoreVisible=0,e.getproduct(),e.$message({type:"info",message:"已取消删除"})}):(this.obj.order.patchOrder=0,this.obj.order.playDateFrom="",this.getproduct())},cccc:function(){this.obj.visitors=[],this.updateTourGuide({}),1===this.priceType.groupType&&1===this.discounts.saleGroupLeader?this.draw():this.TeamTickets=!0},draw:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t in this.tourGuide=e,console.log(this.tourGuide),this.TeamTickets=!1,e)this.obj.order[t]=e[t];this.ticketIssue(!1)},datas:function(e){this.TeamTickets=e},data:function(e){this.displaySetup=e},mergerOrderChange:function(e){this.clearInter(),0===this.priceType.groupType?localStorage.setItem("mergeOrderStatus0",e):localStorage.setItem("mergeOrderStatus1",e)},getPrintModel:function(){var e=this;this.axios.post(this.getProductUrl("print/query"),{companyId:this.$store.state.companyId}).then(function(t){"00"===t.data.code&&(e.printModel=t.data.data)})},model:function(e){var t=this;this.printModelObj.configs[0].configValue=e,this.axios.post(this.getSystem("config/save"),this.printModelObj).then(function(e){"00"==e.data.code&&(t.$message({message:"选择成功",type:"success"}),t.$commonJs.printModel(e.data.data,t))})},selectChannelChange:function(e){this.clearInter(),this.saleType="",this.obj.order.channelOrderId="",this.custom="";var t=this.Allchannels.filter(function(t,r){return t.priceTypeId===e});this.selectChannel=t[0]},handleSelectcustom:function(e){this.obj.order.channelOrderId="",this.obj.order.channelId=e.channelId||"",this.product.channelId=e.channelId||"",this.saleType="",this.getproduct()},querySearchAsynccustom:function(e,t){var r=this;e||(this.obj.order.channelId="",this.product.channelId="");var s=0===this.ChannelName.length?this.Allchannels[0].channels:this.ChannelName[0].channels;s.forEach(function(e,t){r.$set(e,"value",e.companyName)});var i=e?s.filter(this.createStateFiltercustom(e)):s;clearTimeout(this.time),this.time=setTimeout(function(){t(i)},500*Math.random())},createStateFiltercustom:function(e){return function(t){return-1!==t.value.toLowerCase().indexOf(e.toLowerCase())}},gai:function(e){this.obj.order.salePricePayedTotal=e.target.value,this.obj.order.salePriceTotal=e.target.value},gaiprise:function(e){e?(this.readonly=!1,this.border="1px solid #cccccc"):(this.readonly=!0,this.border=0)},setVisitorField:function(e,t,r,s){var i=(e.checkField||{})[r]||{};(t[i.fieldId]=s,i.fieldInput)?t[i.fieldInput]=s:(t.fields=t.fields||[]).push({fieldId:i.fieldId,fieldValue:s})},initCheckField:function(e){var t=e.fields||[];if(null==e.checkField){for(var r={},s=0;s<t.length;s++){var i=t[s]||{};0!=i.inputType&&(r[i.fieldId]=i,i.fieldInput&&(r[i.fieldInput]=i))}e.checkField=r}},checkVistorField:function(e,t){return this.initCheckField(e),((e.checkField||{})[t]||{}).inputType||0},checkMobileInput:function(e){return this.checkVistorField(e,"visitorMobile")},checkIdInput:function(e){return this.checkVistorField(e,"visitorCardId")},checkVisitorNum:function(e,t,r){this.initCheckField(e);var s=0;switch(r=r||[],e.saleCheckId||0){case 1:s=1;break;case 2:s=t}return r.length>=s},checkCardRepeat:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.initCheckField(e);for(var r=(e.fields||[]).filter(function(e){return e.inputType>0}),s={},i=0;i<t.length;i++)for(var a=t[i],o=0;o<r.length;o++){var n=r[o],c=a[n.fieldInput||n.fieldId];if(0==n.fieldType&&c){var d=s[n.fieldId]=s[n.fieldId]||{};if(d[c])return this.$message.error("证件:"+n.fieldName+c+"重复"),!1;d[c]=!0}}return!0},checkVisitorOrder:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!this.checkVisitorNum(e,t,r))return this.$message.error("请输入游客信息"),!1;for(var s=(e.fields||[]).filter(function(e){return e.inputType>0}),i={},a=0;a<r.length;a++)for(var o=r[a]||{},n=0;n<s.length;n++){var c=s[n]||{},d=o[c.fieldInput||c.fieldId];if(0==c.fieldType&&!d){var l=i[c.fieldId]=i[c.fieldId]||{};if(l[d])return this.$message.error("证件"+c.fieldName+d+"重复"),!1;l[d]=!0}if(1==c.inputType&&!d&&0!==d)return this.$message.error("请输入"+c.fieldName),!1}return!0},addVisitor:function(e){var t=this,r=this.obj||{},s=r.order||{},a=r.visitors||[];e.visitorMobile=e.visitorMobile||r.visitorPhone,a.unshift(e),this.checkCardRepeat(this.fieldsList,a)?this.checkVisitorNum(this.fieldsList,s.buyNum,a)&&this.checkVisitorOrder(this.fieldsList,s.buyNum,a)&&(this.obj.childOrders=[],window.serverList.length>0&&window.serverList.forEach(function(e,r){var s=JSON.parse(o()(t.obj.order)),a={buyNum:e.buyNum,saleId:e.saleId,salePricePayTotal:Object(g.a)(e.buyNum,e.salePricePay),salePricePayedTotal:Object(g.a)(e.buyNum,e.salePricePay),salePriceTotal:Object(g.a)(e.buyNum,e.salePricePay)},n={order:i()(s,a)};t.obj.childOrders.push(n)})):a.pop()},chck:function(e,t,r){var s=this;this.clearInter(),this.fieldsList=t,this.gaiprise(t.saleChangePrice),this.discounts=t,this.index=r.batchId+r.saleId,this.obj.order.channelOrderId="",this.obj.order.salePricePayTotal=Object(g.a)(t.salePricePay,this.obj.order.buyNum),this.obj.order.salePricePayedTotal=Object(g.a)(t.salePricePay,this.obj.order.buyNum),this.obj.order.salePriceTotal=Object(g.a)(t.salePricePay,this.obj.order.buyNum),this.obj.order.saleCheckId=t.saleCheckId,this.obj.order.saleCheckMobile=t.saleCheckMobile,this.prise=t.salePricePay,this.oldPrise=t.salePricePay,t.discountsList.length>0&&t.discountsList.forEach(function(e){1==e.buyNum&&(s.obj.order.salePricePayedTotal=Object(g.a)(e.salePricePay,s.obj.order.buyNum),s.obj.order.salePricePayTotal=Object(g.a)(e.salePricePay,s.obj.order.buyNum),s.obj.order.salePriceTotal=Object(g.a)(e.salePricePay,s.obj.order.buyNum),s.prise=e.salePricePay,s.oldPrise=e.salePricePay)}),this.obj.order.saleId=t.saleId,this.obj.order.subscribeDateFrom=r.batchDateFrom,this.product.date===this.$commonJs.today()?this.obj.order.playDateFrom=r.batchDateFrom:this.obj.order.playDateFrom=this.product.date+" 00:00:00"},dates:function(e){this.product.batchDateFrom=e+" 00:00:00",this.product.batchDateTo=e+" 23:59:59",this.saleType="",this.getproduct()},add:function(e){var t=this;if(this.clearInter(),this.obj.order.channelOrderId="",0!=this.discounts.discountsList.length){this.discounts.discountsList.forEach(function(r){e>=r.buyNum&&(t.prise=r.salePricePay,t.obj.order.salePricePayTotal=Object(g.a)(e,t.prise),t.obj.order.salePricePayedTotal=Object(g.a)(e,t.prise),t.obj.order.salePriceTotal=Object(g.a)(e,t.prise))});var r=Math.min.apply(Math,this.discounts.discountsList.map(function(e){return e.buyNum}));e<r&&(this.obj.order.salePricePayTotal=Object(g.a)(e,this.oldPrise),this.obj.order.salePricePayedTotal=Object(g.a)(e,this.oldPrise),this.obj.order.salePriceTotal=Object(g.a)(e,this.oldPrise))}else this.obj.order.salePricePayTotal=Object(g.a)(e,this.prise),this.obj.order.salePricePayedTotal=Object(g.a)(e,this.prise),this.obj.order.salePriceTotal=Object(g.a)(e,this.prise)},pagess:function(e){this.product.pageIndex=e,this.pageData()},pageData:function(){var e=this;this.axios.post(this.getStoreUrl("time/querySale"),this.product).then(function(t){"00"==t.data.code&&(e.products=t.data.data.list,e.pageshow=!0,e.products.forEach(function(t){t.scenes.forEach(function(t){t.myId=e.$commonJs.randoms()})}))})},dataOrder:function(){return window.order=window.order||{},window.order},ticketIssue:function(e){var t=this,r=this;if(this.condition)if(!this.product.notStoreVisible||this.obj.order.playDateFrom){e&&(this.$store.state.tourGuide={});var s=this.dataOrder();s.visitorPhone="",s.sale=this.fieldsList,s.orderObj=this.obj,s.that=this;var i=this.obj.order,a=i.companyId,n=i.saleId;i.salePricePayTotal;if(""!=a&&""!=n)if(JSON.parse(this.$store.state.config).printer){if(this.obj.order.channelOrderId=this.$commonJs.randoms(),sessionStorage.setItem("phonObjs",o()(this.obj)),0==this.products.length)return;var c=this.products.findIndex(function(e){return t.obj.order.saleId==e.saleId});if(this.extraServers=JSON.parse(o()(this.products[c].services)),window.serverList=this.products[c].services,this.extraServers.length>0)return void(this.showServer=!0);if(0===this.checkMobileInput(this.fieldsList)||this.obj.visitors.length)if(this.checkVisitorNum(this.fieldsList,this.obj.order.buyNum,this.obj.visitors)){!function e(){if(t.condition=!1,"6"==t.obj.order.payType){if(!t.obj.order.payTypeCode){console.log("胖丁扫码枪"),t.isShowScanningGun=!0;var s=JSON.parse(t.$store.state.config);return Scan.init(s.HardConfig,function(e){r.isShowScanningGun&&r.$message.error(e)},function(t,s){r.isShowScanningGun&&(r.obj.order.payTypeCode||(r.obj.order.payTypeCode=s.ScanCode,r.waitPayStatusTips="扫码成功",console.log(r.obj),e()))},1),!1}t.waitPayStatusTips="正在等待支付..."}!function e(){t.axios.post(t.getOrderUrl("order/save"),t.obj,{__retryCount:3}).then(function(e){t.condition=!0;var r=e.data||{};if(r.code,"00"!=r.code)return t.obj.order.payTypeCode=null,t.$message.error(r.message);var s=e.data.data,i=s.order;t.orderInfo=s.order;var a=s.pays[0]||null;if("5"==t.obj.order.payType){if(!a)return t.$message.error(e.data.message);var o=JSON.parse(a.channelPayInfo);return t.qrcodeContent=o.PayCode,t.isShowQrcode=!0,void t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowQrcode")}if("6"==t.obj.order.payType)return a?(t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowScanningGun"),!1):t.$message.error(e.data.message);t.obj.visitors=[],t.obj.visitorPhone="",t.authshow=!1,t.printTickets(r)}).catch(function(r){t.condition=!0,t.$message.error(err),setTimeout(function(){e()},3e3)})}()}()}else this.authshow=!0;else this.phoneshow=!0}else this.$message.error("打印机名为空,请配置打印机");else this.$message.error("当前未选择票类型,不能出票")}else this.$message.error("请选择补单时间!")},ticketIssue2:function(e){var t=this,r=this;if(this.condition)if(!this.product.notStoreVisible||this.obj.order.playDateFrom){e&&(this.$store.state.tourGuide={});var s=this.dataOrder();s.visitorPhone="",s.sale=this.fieldsList,s.orderObj=this.obj,s.that=this;var a=this.obj.order,n=a.companyId,c=a.saleId;a.salePricePayTotal;if(""!=n&&""!=c)if(JSON.parse(this.$store.state.config).printer)if(this.obj.order.channelOrderId=this.$commonJs.randoms(),sessionStorage.setItem("phonObjs",o()(this.obj)),0===this.checkMobileInput(this.fieldsList)||this.obj.visitors.length)if(this.checkVisitorNum(this.fieldsList,this.obj.order.buyNum,this.obj.visitors)){!function e(){if(t.condition=!1,"6"==t.obj.order.payType){if(!t.obj.order.payTypeCode){console.log("胖丁扫码枪"),t.isShowScanningGun=!0;var s=JSON.parse(t.$store.state.config);return Scan.init(s.HardConfig,function(e){r.isShowScanningGun&&r.$message.error(e)},function(t,s){r.isShowScanningGun&&(r.obj.order.payTypeCode||(r.obj.order.payTypeCode=s.ScanCode,r.waitPayStatusTips="扫码成功",console.log(r.obj),e()))},1),!1}t.waitPayStatusTips="正在等待支付..."}t.obj.childOrders=[],window.serverList.length>0&&window.serverList.forEach(function(e,r){var s=JSON.parse(o()(t.obj.order)),a={buyNum:e.buyNum,saleId:e.saleId,salePricePayTotal:Object(g.a)(e.buyNum,e.salePricePay),salePricePayedTotal:Object(g.a)(e.buyNum,e.salePricePay),salePriceTotal:Object(g.a)(e.buyNum,e.salePricePay)},n={order:i()(s,a)};t.obj.childOrders.push(n)});!function e(){t.axios.post(t.getOrderUrl("order/save"),t.obj,{__retryCount:3}).then(function(e){t.condition=!0;var r=e.data||{};if(r.code,"00"!=r.code)return t.obj.order.payTypeCode=null,t.$message.error(r.message);var s=e.data.data,i=s.order;t.orderInfo=s.order;var a=s.pays[0]||null;if("5"==t.obj.order.payType){if(!a)return t.$message.error("订单返回数据格式错误,不包含支付信息");var o=JSON.parse(a.channelPayInfo);return t.qrcodeContent=o.PayCode,t.isShowQrcode=!0,void t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowQrcode")}if("6"==t.obj.order.payType)return a?(t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowScanningGun"),!1):t.$message.error("订单返回数据格式错误,不包含支付信息");t.obj.visitors=[],t.obj.visitorPhone="",t.authshow=!1,t.printTickets(r)}).catch(function(r){t.condition=!0,t.$message.error(err),setTimeout(function(){e()},3e3)})}()}()}else this.authshow=!0;else this.phoneshow=!0;else this.$message.error("打印机名为空,请配置打印机");else this.$message.error("当前未选择票类型,不能出票")}else this.$message.error("请选择补单时间!")},PrintError:function(e){var t=this;this.succ=!0,setTimeout(function(){t.tickshow=!1,t.succ=!1},100);var r=e&&(e.msg||e.Msg)||e;alert(r)},__Printed:function(){var e=this;this.succ=!0,window.order={},this.obj.order=this.obj.order||{},this.obj.order.buyNum=1,this.obj.order.channelOrderId="",this.obj.visitorPhone="",this.obj.visitors=[],setTimeout(function(){e.tickshow=!1,e.maxshow=!1,e.succ=!1},1e3),this.gettoday(),this.getproduct()},__PrintIteming:function(e){this.tickshow=!0,this.printdata=e.Data.Pos,this.allnum=e.Data.Count},loadPrint:function(){var t=this;function r(r){r=r||[];var s=[];e.each(r,function(e,t){s.push({id:t,name:t})}),t.Rendering(s)}try{Base.getHard().getPrinter(function(e){r(e)},function(e){r()})}catch(e){r()}},Rendering:function(e){0!=e.length?this.PrinterList=e:this.PrinterList=[{name:"暂无打印机",id:""},{name:"Microsoft XPS Document Writer",id:"Microsoft XPS Document Writer"}]},closephone:function(e){this.phoneshow=e},phonOk:function(){this.phoneshow=!1,this.authshow=!0},auclose:function(){this.obj.visitors=[],this.obj.visitorPhone="",this.obj.order.payTypeCode=null,this.authshow=!1},augoup:function(){this.authshow=!1,this.phoneshow=!0,this.obj.visitors=[]},ticket:function(e){this.maxshow=!1,this.tickshow=!0},fanhui:function(){this.maxshow=!1,this.authshow=!0},tik:function(e){this.tickshow=!0,this.authshow=!1},manual:function(){this.authshow=!1,this.maxshow=!0},maxclose:function(){this.maxshow=!1,this.obj.visitors=[],this.obj.visitorPhone="",this.obj.order.payTypeCode=null},tickclose:function(){this.tickshow=!1},getproduct:function(){var e=this;this.axios.post(this.getStoreUrl("time/querySale"),this.product,{isLoading:this.isLoading}).then(function(t){if("00"!=t.data.code)return!1;if(console.log(t.data.data.list),0==t.data.data.list.length)return e.saleChangePrice=!1,e.products=[],e.products2=[],e.$message.error("暂无当前票种!"),!1;e.saleChangePrice=t.data.data.list.saleChangePrice;var r=t.data.data.list.filter(function(e){return 1!=e.saleServiceType}),s=null,i=((e.obj||{}).order||{}).saleId||"";if(e.products=r.filter(function(e,t){var r=(e.scenes||[]).length>0;return!r||i!=e.saleId&&null!=s||(s=e),r}),e.products2=r.filter(function(e,t){if(0!==!e.scenes.length)return e}),e.fieldsList=r.find(function(e,t){return e.scenes.length>0}),0!=e.products.length&&(e.extraServers=s.services,window.serverList=s.services,e.obj.order.saleId=s.saleId,e.discounts=s,e.obj.order.salePricePayedTotal=s.salePricePay,e.obj.order.salePricePayTotal=Object(g.a)(s.salePricePay,e.obj.order.buyNum),e.gaiprise(s.saleChangePrice),e.obj.order.salePriceTotal=s.salePricePay,e.obj.order.saleCheckId=s.saleCheckId,e.obj.order.saleCheckMobile=s.saleCheckMobile,e.prise=s.salePricePay,e.oldPrise=s.salePricePay,s.discountsList.length>0&&s.discountsList.forEach(function(t){1==t.buyNum&&(e.obj.order.salePricePayedTotal=t.salePricePay,e.obj.order.salePricePayTotal=Object(g.a)(t.salePricePay,e.obj.order.buyNum),e.obj.order.salePriceTotal=t.salePricePay,e.prise=t.salePricePay,e.oldPrise=t.salePricePay)}),e.pageshow=!0,e.pageTotal=t.data.data.pageTotal,0!=s.scenes.length)){e.obj.order.subscribeDateFrom=s.scenes[0].batchDateFrom,e.product.date==e.$commonJs.today()?e.obj.order.playDateFrom=s.scenes[0].batchDateFrom:e.obj.order.playDateFrom=e.product.date+" 00:00:00";var a=s.scenes[0];e.index=a.batchId+a.saleId}})},gettoday:function(){var e=this;this.axios.post(this.getOrderUrl("order/getDay"),{pageSize:1}).then(function(t){"00"==t.data.code&&(e.todaynum=t.data.main.buyNum,e.todaymoney=t.data.main.salePricePayTotal,e.newnumm=t.data.data.list)})},chong:function(e){var t=this;if(this.condition){var r={orderId:e.orderId,all:!0};""==this.obj.order.printer?this.$message.error("请选择打印机"):(this.condition=!1,this.axios.post(this.getOrderUrl("order/load"),r).then(function(e){var r=e.data||{};t.$commonJs.printRes(r,t,Base,t.PrintError,t.__Printed,t.__PrintIteming),t.condition=!0}))}},SoTheChannel:function(){var e=this;0!==this.products.length&&(this.isLoading=!1),this.axios.post(this.getSystem("channel/windowList"),this.priceType,{isLoading:this.isLoading}).then(function(t){"00"===t.data.code?(e.Allchannels=t.data.data,e.selectChannel=e.Allchannels[0]):e.$message.error(t.data.message)})},initTicketType:function(){var e=this,t={companyId:this.companyId,enumType:"saleType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),t).then(function(t){"00"==t.data.code?e.saleTypeList=t.data.data:e.$message.error(t.data.message)})},chooseTicket:function(e){this.products2.length>0&&(this.products=this.products2.filter(function(t){return t.saleType==e}))},selectChannelsItemChange:function(e){var t=this;this.obj.order.channelId=e,this.product.channelId=e,this.getproduct();var r=this.SelectChannelsList.filter(function(t){return t.channelId==e});if(0==r.length)return this.payModelList=[],void(this.obj.order.payType="");var s=r[0];if(this.payModelList=s.payTypes,0!=this.payModelList.length){if(0==this.payModelList.filter(function(e){return e.payedType==t.obj.order.payType}).length)this.obj.order.payType=this.payModelList[0].payedType;else this.obj.order.payType=this.selectChannel.payedType+"",-1===this.payModelList.findIndex(function(e){return e.payedType===t.obj.order.payType})&&(this.obj.order.payType=this.payModelList[0].payedType);this.totalAmount=s.moneyVo.totalAmount}else this.obj.order.payType=""},selectPayModelChange:function(e){this.obj.order.payType=e},openScanQrcodeHandle:function(e,t){var r=this;if(window.clearTimeout(this.requestTimer),!this.isCancelOrder&&e){var s={order:e};this.axios.post(this.getOrderUrl("order/wait"),s,{isLoading:!1}).then(function(s){var i=s.data;if("00"!=i.code)return r.$message.error(i.message);r[t]&&((i.data.order||{}).orderStatus<4?r.requestTimer=window.setTimeout(function(){r.openScanQrcodeHandle(e,t)},500):(window.clearTimeout(r.requestTimer),r.waitPayStatusTips="支付完成",r.isShowQrcode=!1,r.isShowScanningGun=!1,r.waitPayStatusTips="正在等待支付...",r.printTickets(i)))}).catch(function(s){window.clearTimeout(r.requestTimer),r.$message.error(s),r.requestTimer=window.setTimeout(function(){r.openScanQrcodeHandle(e,t)},500)})}},closeScanQrcodeHandle:function(){var e=this;if(this.condition=!0,this.isShowQrcode=!1,this.isShowScanningGun=!1,this.isCancelOrder=!0,window.clearTimeout(this.requestTimer),this.orderInfo){var t={order:{orderId:this.orderInfo.orderId,companyId:this.orderInfo.companyId}};this.axios.post(this.getOrderUrl("order/cancel"),t).then(function(t){e.isCancelOrder=!1;var r=t.data;if("00"!=r.code)return e.$message.error(r.message);e.orderInfo=null,e.obj.visitors=[],e.obj.visitorPhone=""}).catch(function(t){console.log("请求失败"),window.clearTimeout(e.requestTimer),e.requestTimer=window.setTimeout(function(){e.closeScanQrcodeHandle()},1e3)},1e3)}},closeScanningGunHandle:function(){this.isShowScanningGun=!1,this.obj.order.payTypeCode=null,this.condition=!0,this.waitPayStatusTips="正在等待支付...",this.closeScanQrcodeHandle()},printTickets:function(e){this.obj.visitors=[],this.obj.visitorPhone="",this.obj.order.payTypeCode=null,this.orderInfo=null,this.$commonJs.printRes(e,this,Base,this.PrintError,this.__Printed,this.__PrintIteming)},closePayQrcodeHandle:function(){console.log("关闭"),this.isShowScanningGun=!1,this.isShowQrcode=!1,this.condition=!0,this.waitPayStatusTips="正在等待支付...",window.clearTimeout(this.requestTimer)},scanDevice:function(){}}),components:{phone:d.a,authent:l.a,maxual:u.a,ticketIssue:h.a,pages:y.a,localSettings:m.a,TeamTicket:f.a,breadNav:v.default,plusServer:p.a,scanQrcode:b.a},created:function(){this.SoTheChannel(),this.loadPrint(),this.gettoday(),this.getPrintModel(),this.initTicketType()},mounted:function(){},watch:{selectChannel:function(e){var t=this;if(this.SelectChannelsList=e.channels,this.product.priceTypeId=e.priceTypeId,this.obj.order.payType=e.payedType+"",0==this.SelectChannelsList.length)return this.products=[],void(this.products2=[]);var r=this.SelectChannelsList[0];this.payModelList=r.payTypes,-1===this.payModelList.findIndex(function(e){return e.payedType===t.obj.order.payType})&&(this.obj.order.payType=this.payModelList[0].payedType),this.custom=r.channelId,this.product.channelId=r.channelId,this.obj.order.channelId=r.channelId,this.getproduct(),this.totalAmount=r.moneyVo.totalAmount}},beforeDestroy:function(){clearTimeout(this.timess),this.timess=null}}}).call(t,r("SXXC"))},AttR:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={data:function(){return{priceType:{channelFromKey:"computer",companyId:this.$store.state.companyId,groupType:1}}},components:{TheDrawerComponents:r("H62i").a},methods:{dianji:function(){this.$refs.mychild.cccc()}}},i={render:function(){var e=this.$createElement,t=this._self._c||e;return t("TheDrawerComponents",{ref:"mychild",attrs:{priceType:this.priceType}},[t("button",{on:{click:this.dianji}},[this._v("团队出票")])])},staticRenderFns:[]};var a=r("C7Lr")(s,i,!1,function(e){r("rnDA")},null,null);t.default=a.exports},GLtp:function(e,t,r){var s=r("uSC2");s(s.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},H62i:function(e,t,r){"use strict";var s=r("AUUs"),i={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"bigBox"},[r("breadNav",[e._v("窗口售票")]),e._v(" "),r("div",{staticClass:"tab"},[r("div",[r("p",[e._v("最新记录")]),e._v(" "),r("p",[r("span",[e._v("今日售票量:"),r("i",[e._v(e._s(e.todaynum))]),e._v("张")]),r("span",[e._v("金额:"),r("i",[e._v(e._s(e.todaymoney))]),e._v("元")])])]),e._v(" "),e._l(e.newnumm,function(t,s){return r("div",{key:s},[r("p",[e._v(e._s(t.productName))]),e._v(" "),r("p",[e._v(e._s(t.buyNum)+"张")]),e._v(" "),r("p",[e._v(e._s(t.salePricePayTotal)+"元")]),e._v(" "),r("p",[e._v(e._s(t.createDate))]),e._v(" "),r("p",{staticClass:"chon",on:{click:function(r){return e.chong(t)}}},[e._v("重新打印")])])})],2),e._v(" "),r("div",{staticClass:"box"},[r("div",[r("div",{staticClass:"tit query-row"},[r("div",{staticClass:"query-item"},[r("span",[e._v("时间:")]),e._v(" "),r("el-date-picker",{attrs:{"prefix-icon":"none",type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},on:{change:e.dates},model:{value:e.product.date,callback:function(t){e.$set(e.product,"date",t)},expression:"product.date"}})],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",[e._v("渠道类型:")]),e._v(" "),r("el-select",{attrs:{placeholder:"请选择",filterable:""},on:{change:e.selectChannelChange},model:{value:e.product.priceTypeId,callback:function(t){e.$set(e.product,"priceTypeId",t)},expression:"product.priceTypeId"}},e._l(e.Allchannels,function(e,t){return r("el-option",{key:t,attrs:{label:e.priceTypeName,value:e.priceTypeId}})}),1)],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",[e._v("渠道名称:")]),e._v(" "),r("el-select",{attrs:{placeholder:"请选择",filterable:""},on:{change:e.selectChannelsItemChange},model:{value:e.custom,callback:function(t){e.custom=t},expression:"custom"}},e._l(e.SelectChannelsList,function(e){return r("el-option",{key:e.channelId,attrs:{label:e.companyName,value:e.channelId}})}),1)],1),e._v(" "),r("div",{staticClass:"query-item"},[r("el-checkbox",{attrs:{"true-label":1,"false-label":0},on:{change:e.changeS},model:{value:e.product.notStoreVisible,callback:function(t){e.$set(e.product,"notStoreVisible",t)},expression:"product.notStoreVisible"}},[e._v(" "+e._s(e.obj.order.patchOrder?"补单时间":"补单"))]),e._v(" "),e.obj.order.patchOrder?r("el-date-picker",{attrs:{"prefix-icon":"none",type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.obj.order.playDateFrom,callback:function(t){e.$set(e.obj.order,"playDateFrom",t)},expression:"obj.order.playDateFrom"}}):e._e()],1),e._v(" "),r("div",{staticClass:"chu query-item"},[e._t("default"),e._v(" "),r("button",{staticStyle:{"margin-left":"0.1rem"},on:{click:function(t){e.displaySetup=!0}}},[e._v("\n 设置\n ")])],2)]),e._v(" "),r("div",{staticClass:"num query-row"},[r("div",{staticClass:"query-item"},[r("span",[e._v("数量:")]),e._v(" "),r("el-input-number",{attrs:{min:1,label:"描述文字"},on:{change:e.add},model:{value:e.obj.order.buyNum,callback:function(t){e.$set(e.obj.order,"buyNum",t)},expression:"obj.order.buyNum"}})],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",{staticStyle:{display:"inline-block"}},[e._v("总票价:   ")]),e._v(" "),e.saleChangePrice?r("el-input",{staticClass:"no-border",attrs:{type:"text"},model:{value:e.obj.order.salePricePayTotal,callback:function(t){e.$set(e.obj.order,"salePricePayTotal",t)},expression:"obj.order.salePricePayTotal"}}):r("input",{directives:[{name:"model",rawName:"v-model",value:e.obj.order.salePricePayTotal,expression:"obj.order.salePricePayTotal"}],staticClass:"no-border",style:{border:e.border,paddingLeft:"10px"},attrs:{readonly:e.readonly},domProps:{value:e.obj.order.salePricePayTotal},on:{change:function(t){return e.gai(t)},input:function(t){t.target.composing||e.$set(e.obj.order,"salePricePayTotal",t.target.value)}}}),e._v("\n\n ")],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",[e._v("结算方式:")]),e._v(" "),r("el-select",{attrs:{placeholder:"请选择结算方式"},on:{change:e.selectPayModelChange},model:{value:e.obj.order.payType,callback:function(t){e.$set(e.obj.order,"payType",t)},expression:"obj.order.payType"}},e._l(e.payModelList,function(e){return r("el-option",{key:e.payedType,attrs:{label:e.payedTypeName,value:e.payedType}})}),1)],1),e._v(" "),r("div",{staticClass:"query-item",staticStyle:{width:"4rem"}},[r("p",{staticStyle:{display:"inline"}},[e._v("\n 余额:"),r("b",{staticStyle:{"font-weight":"bold"}},[e._v(e._s(e.totalAmount))]),e._v(" 元\n ")]),e._v(" "),r("p",{staticStyle:{display:"inline","margin-left":"0.3rem"}},[r("el-checkbox",{attrs:{"true-label":1,"false-label":0},on:{change:e.mergerOrderChange},model:{value:e.obj.order.mergerOrder,callback:function(t){e.$set(e.obj.order,"mergerOrder",t)},expression:"obj.order.mergerOrder"}},[e._v("单张出票")])],1)])])])]),e._v(" "),r("div",{staticClass:"allbox"},[r("div",{staticClass:"piao"},[r("p",{staticStyle:{"align-items":"center",display:"flex","margin-bottom":"0.1rem"}},[r("span",[e._v(" 票种: ")]),e._v(" "),r("el-select",{on:{change:function(t){return e.chooseTicket(e.product.saleType)}},model:{value:e.product.saleType,callback:function(t){e.$set(e.product,"saleType",t)},expression:"product.saleType"}},[r("el-option",{attrs:{label:"--所有--",value:""}}),e._v(" "),e._l(e.saleTypeList,function(e){return r("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),r("div",e._l(e.products,function(t,s){return r("div",{key:s},e._l(t.scenes,function(s,i){return r("div",{key:i,class:{dan:!0,hui:e.index==s.batchId+s.saleId},on:{click:function(r){return e.chck(i,t,s)}}},[r("div",[r("div",[e._v("\n "+e._s(t.productName)+"\n "),r("p",[0!=t.scenes.length?r("span",[e._v("\n "+e._s(s.batchDateFrom.slice(10,s.batchDateFrom.length-3))+"-"+e._s(s.batchDateTo.slice(10,s.batchDateTo.length-3))+"\n ")]):e._e()])]),e._v(" "),r("div",[e._v("¥"+e._s(t.salePricePay))])]),e._v(" "),r("p",{staticStyle:{display:"flex","justify-content":"space-between","padding-right":"0.2rem"}},[r("span",[e._v(" 库存:"+e._s(s.hasNum)+" ")]),e._v(" "),r("span",{staticStyle:{color:"#666666","font-size":"0.1rem"}},[e._v("\n "+e._s(t.saleTypeName)+"\n ")])])])}),0)}),0)]),e._v(" "),r("pages",{directives:[{name:"show",rawName:"v-show",value:e.pageshow,expression:"pageshow"}],attrs:{pagesize:e.product.pageSize,total:e.pageTotal},on:{page:e.pagess}})],1),e._v(" "),e.phoneshow?r("phone",{attrs:{tourGuide:e.tourGuide},on:{closed:e.closephone,phonOk:e.phonOk}}):e._e(),e._v(" "),e.authshow?r("authent",{attrs:{tourGuide:e.tourGuide,buyNum:e.obj.order.buyNum,fieldsList:e.fieldsList},on:{closed:e.auclose,goup:e.augoup,manual:e.manual,tik:e.tik}}):e._e(),e._v(" "),e.maxshow?r("maxual",{attrs:{fieldsList:e.fieldsList},on:{ticket:e.ticket,closed:e.maxclose}}):e._e(),e._v(" "),e.tickshow?r("ticketIssue",{attrs:{succ:e.succ},on:{closed:e.tickclose}},[r("span",{attrs:{slot:"pag"},slot:"pag"},[e._v(e._s(e.printdata))]),e._v(" "),r("span",{attrs:{slot:"num"},slot:"num"},[e._v(e._s(e.allnum))])]):e._e(),e._v(" "),e.displaySetup?r("localSettings",{attrs:{PrinterList:e.PrinterList,printModel:e.printModel},on:{data:e.data}}):e._e(),e._v(" "),e.TeamTickets?r("TeamTicket",{on:{datas:e.datas,draw:e.draw}}):e._e(),e._v(" "),e.showServer?r("plusServer",{attrs:{num:e.obj.order.buyNum,extraServers:e.extraServers},on:{close:function(t){return e.closeServer()}}}):e._e(),e._v(" "),r("el-dialog",{attrs:{width:"400",title:"请扫描二维码",center:"",visible:e.isShowQrcode,"close-on-click-modal":!1,"append-to-body":"","show-close":!1},on:{"update:visible":function(t){e.isShowQrcode=t},open:e.openScanQrcodeHandle,close:e.closePayQrcodeHandle}},[r("scan-qrcode",{attrs:{value:e.qrcodeContent}}),e._v(" "),r("p",{staticStyle:{"font-size":"0.18rem","text-align":"center",margin:"0.2rem 0"}},[e._v(e._s(e.waitPayStatusTips))]),e._v(" "),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"normal"},on:{click:e.closeScanQrcodeHandle}},[e._v("取消支付")])],1)],1),e._v(" "),r("el-dialog",{attrs:{width:"200",title:"胖丁扫码枪",center:"",visible:e.isShowScanningGun,"close-on-click-modal":!1,"append-to-body":"","show-close":!1},on:{"update:visible":function(t){e.isShowScanningGun=t},close:e.closePayQrcodeHandle}},[r("p",{staticStyle:{"font-size":"0.18rem","text-align":"center",margin:"0.2rem 0"}},[e._v(e._s(e.waitPayStatusTips))]),e._v(" "),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"normal"},on:{click:e.closeScanningGunHandle}},[e._v("取消支付")])],1)])],1)},staticRenderFns:[]};var a=function(e){r("ymt4")},o=r("C7Lr")(s.a,i,!1,a,"data-v-67fbb08e",null);t.a=o.exports},K9HK:function(e,t){},aUYq:function(e,t,r){e.exports={default:r("6yUe"),__esModule:!0}},eeyJ:function(e,t,r){"use strict";var s=r("3cXf"),i=r.n(s),a={props:["num","extraServers"],data:function(){return{numbers:0,serverList:JSON.parse(i()(window.serverList)),getPriceList:[]}},methods:{close:function(){this.$emit("close")},next:function(){var e=this;this.serverList.length>0&&this.serverList.forEach(function(t,r){t.buyNum=e.numbers}),window.serverList=this.serverList,this.$emit("close"),this.$parent.ticketIssue2(!0)},numberChange:function(){for(var e=this,t=0;t<this.getPriceList.length;t++)this.extraServers[t].salePricePay=this.getSalePricePay(this.getPriceList[t],this.numbers);for(var r=function(t){var r=e.getPriceList.findIndex(function(r){return e.serverList[t].saleId==r.saleId});e.serverList[t].salePricePay=e.getSalePricePay(e.getPriceList[r],e.numbers)},s=0;s<this.serverList.length;s++)r(s)},getSalePricePay:function(e,t){for(var r=e.salePricePay||0,s=e.discountsList||[],i=null,a=0;a<s.length;a++){var o=s[a]||{};null==o||0==o.buyNum||(null==i||o.buyNum>i.buyNum)&&o.buyNum<=t&&(i=o)}return null!=i&&(r=i.salePricePay||0),r}},mounted:function(){var e=this;this.numbers=this.num,this.getPriceList=JSON.parse(i()(this.extraServers)),window.serverList.length>0&&window.serverList.forEach(function(t,r){t.buyNum=e.numbers}),this.numberChange(),console.log(this.serverList)}},o={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"server"},[r("div",{staticClass:"serverBox"},[r("p",{staticStyle:{position:"relative"}},[e._v("\n 增加服务\n "),r("span",{staticStyle:{position:"absolute",right:"20px",top:"5px","font-size":"0.24rem",color:"#666666","font-weight":"400",cursor:"pointer"},on:{click:e.close}},[e._v("x")])]),e._v(" "),r("div",{staticClass:"serverDiv"},[r("div",e._l(e.extraServers,function(t,s){return r("p",{key:s},[r("span",{staticStyle:{display:"inline-block",width:"2.2rem"}},[e._v(e._s(t.productName))]),e._v(" "),r("span",{staticStyle:{display:"inline-block",width:"0.7rem"}},[e._v(e._s(t.salePricePay)+"元/份")]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.serverList,expression:"serverList"}],attrs:{type:"checkbox"},domProps:{value:t,checked:Array.isArray(e.serverList)?e._i(e.serverList,t)>-1:e.serverList},on:{change:[function(r){var s=e.serverList,i=r.target,a=!!i.checked;if(Array.isArray(s)){var o=t,n=e._i(s,o);i.checked?n<0&&(e.serverList=s.concat([o])):n>-1&&(e.serverList=s.slice(0,n).concat(s.slice(n+1)))}else e.serverList=a},function(t){return e.numberChange()}]}})])}),0),e._v(" "),r("div",[r("span",[e._v("购买数量:")]),e._v(" "),r("el-input-number",{attrs:{min:0},on:{change:function(t){return e.numberChange()}},model:{value:e.numbers,callback:function(t){e.numbers=t},expression:"numbers"}})],1),e._v(" "),e._m(0)]),e._v(" "),r("p",[r("a",{staticClass:"btn4",on:{click:function(t){return e.next()}}},[e._v("下一步")])])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("span",[this._v("退改规则:")]),this._v("\n 不可退\n ")])}]};var n=r("C7Lr")(a,o,!1,function(e){r("w/NI")},"data-v-1ce763d2",null);t.a=n.exports},lOuq:function(e,t,r){e.exports={default:r("/8q3"),__esModule:!0}},oaxN:function(e,t,r){"use strict";var s={data:function(){return{time:null,shenfen:"",draw:{leaderId:"",leaderName:"",orderCheckDate:"",carCode:""},list:[]}},created:function(){var e=this;this.axios.post(this.getChanel("leader/list"),{companyId:this.$store.state.companyId,companyName:this.trench,pageIndex:1,pageSize:999}).then(function(t){"00"===t.data.code&&(e.list=t.data.data.list,e.list.forEach(function(t,r){var s=t.leaderName+t.leaderNo;e.$set(t,"value",s)}),""!==e.list[0].leaderCardId&&""!==e.list[0].leaderMobile&&(e.$store.state.tourGuide=e.list[0]))})},methods:{handleSelectcustom:function(e){this.draw.leaderId=e.leaderId,this.draw.leaderName=e.leaderName,this.draw.leaderMobile=e.leaderMobile,this.draw.leaderCardId=e.leaderCardId,this.shenfen=e.leaderCardId,""!==e.leaderCardId&&""!==e.leaderMobile?this.$store.state.tourGuide=e:this.$store.state.tourGuide={}},querySearchAsynccustom:function(e,t){var r=this,s=this.list;s.forEach(function(e,t){var s=e.leaderName+e.leaderNo;r.$set(e,"value",s)});var i=e?s.filter(this.createStateFiltercustom(e)):s;clearTimeout(this.time),this.time=setTimeout(function(){t(i)},500*Math.random())},createStateFiltercustom:function(e){return function(t){return-1!==t.value.toLowerCase().indexOf(e.toLowerCase())}},daoyou:function(e){var t=this;this.list.forEach(function(e,r){e.leaderId===t.draw.leaderId&&(t.draw.leaderName=e.leaderName,t.shenfen=e.leaderCardId,""!==e.leaderCardId&&""!==e.leaderMobile?t.$store.state.tourGuide=e:t.$store.state.tourGuide={})})},youwan:function(e){this.draw.orderCheckDate=this.$commonJs.formattime(this.draw.orderCheckDate)},ticketIssue:function(){""!==this.draw.leaderId?""!==this.draw.orderCheckDate?this.$emit("draw",this.draw):this.$message.error("请选择游玩日期!"):this.$message.error("请选择导游!")},cc:function(){this.$emit("datas",!1)}}},i={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"table"},[r("div",{staticClass:"box"},[r("p",{staticClass:"p"},[r("span",[e._v("团队出票")]),e._v(" "),r("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"},on:{click:e.cc}},[r("use",{attrs:{"xlink:href":"#iconguanbi1"}})])]),e._v(" "),r("div",[r("p",[r("span",{staticClass:"span"},[e._v("导游:")]),e._v(" "),r("el-autocomplete",{attrs:{"fetch-suggestions":e.querySearchAsynccustom,placeholder:"请输入内容"},on:{select:e.handleSelectcustom},model:{value:e.draw.leaderName,callback:function(t){e.$set(e.draw,"leaderName",t)},expression:"draw.leaderName"}})],1),e._v(" "),""!==e.shenfen?r("p",[r("span",{staticClass:"span"},[e._v("导游身份证:")]),r("span",[e._v(e._s(e.shenfen))])]):e._e(),e._v(" "),r("p",[r("span",{staticClass:"span"},[e._v("游玩日期:")]),e._v(" "),r("el-date-picker",{attrs:{type:"date",placeholder:"选择日期"},on:{change:e.youwan},model:{value:e.draw.orderCheckDate,callback:function(t){e.$set(e.draw,"orderCheckDate",t)},expression:"draw.orderCheckDate"}})],1),e._v(" "),r("p",[r("span",{staticClass:"span"},[e._v("车牌号:")]),e._v(" "),r("el-input",{attrs:{placeholder:"请输入内容"},model:{value:e.draw.carCode,callback:function(t){e.$set(e.draw,"carCode",t)},expression:"draw.carCode"}})],1)]),e._v(" "),r("p",{staticStyle:{"text-align":"center"}},[r("button",{staticClass:"button",on:{click:e.ticketIssue}},[e._v("团队出票")])])])])},staticRenderFns:[]};var a=r("C7Lr")(s,i,!1,function(e){r("K9HK")},"data-v-678c99b0",null);t.a=a.exports},rnDA:function(e,t){},uRfC:function(e,t,r){"use strict";r.d(t,"a",function(){return l});var s=r("lOuq"),i=r.n(s),a=r("aUYq"),o=r.n(a);function n(e){var t=(""+e).split("e"),r=(t[0].split(".")[1]||"").length-(+t[1]||0);return r>0?r:0}function c(e){var t=""+e;return-1===t.indexOf("e")?+t.replace(".",""):+e*Math.pow(10,n(e))}function d(e){return(+e>o.a||+e<i.a)&&(console.warn(e+" is beyond boundary when transfer to integer, the results may not be accurate"),!0)}function l(e,t){for(var r=arguments.length,s=Array(r>2?r-2:0),i=2;i<r;i++)s[i-2]=arguments[i];if(s.length>0)return l(l(e,t),s[0],s.slice(1));var a=c(e)*c(t);return d(a),a/Math.pow(10,n(e)+n(t))}},"w/NI":function(e,t){},ymt4:function(e,t){}});
\ No newline at end of file
webpackJsonp([4],{"/8q3":function(e,t,r){r("20tZ"),e.exports=-9007199254740991},"20tZ":function(e,t,r){var s=r("uSC2");s(s.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"6yUe":function(e,t,r){r("GLtp"),e.exports=9007199254740991},AUUs:function(e,t,r){"use strict";(function(e){var s=r("aA9S"),i=r.n(s),a=r("3cXf"),o=r.n(a),n=r("4YfN"),c=r.n(n),d=r("8p6T"),l=r("zat1"),u=r("GYc6"),h=r("cxdB"),p=r("eeyJ"),y=r("GZf/"),m=r("hG4X"),f=r("oaxN"),v=r("RwQt"),b=r("nBy1"),g=r("uRfC"),P=r("bSIt");t.a={props:["priceType"],data:function(){return{saleChangePrice:!0,extraServers:[],showServer:!1,fieldsList:[],saleType:"",saleTypeList:[],isLoading:!0,haomiao:6e5,timess:null,TeamTickets:!1,time:null,custom:"",ChannelName:[],Allchannels:[],selectChannel:{},SelectChannelsList:[],totalAmount:0,displaySetup:!1,readonly:!0,border:0,phoneshow:!1,authshow:!1,maxshow:!1,tickshow:!1,index:0,tourGuide:{},payModelList:[],obj:{order:{mergerOrder:(0===this.priceType.groupType?JSON.parse(localStorage.getItem("mergeOrderStatus0")):JSON.parse(localStorage.getItem("mergeOrderStatus1")))||0,patchOrder:0,channelOrderId:"",carCode:"",leaderName:"",leaderId:"",orderCheckDate:"",buyNum:1,salePricePayTotal:0,companyId:this.$store.state.companyId,saleId:"",payType:"0",salePricePayedTotal:"",playDateFrom:"",subscribeDateFrom:"",channelId:"",saleCheckId:"",saleCheckMobile:"",payTypeCode:null},visitors:[]},pageTotal:0,pageshow:!1,product:{saleType:"",notStoreVisible:0,date:this.$commonJs.today(),pageIndex:1,pageSize:18,priceTypeId:"t5",batchDateFrom:this.$commonJs.today()+" 00:00:00",batchDateTo:this.$commonJs.today()+" 23:59:59",channelId:"",deBug:!0},prise:"",oldPrise:"",products:[],products2:[],PrinterList:[],printdata:"",allnum:"",succ:"",todaynum:0,todaymoney:0,newnumm:[],printModel:[],prinmode:JSON.parse(this.$store.state.config).printId,printModelObj:{companyId:this.$store.state.companyId,deviceType:this.$store.state.deviceType,deviceId:this.$store.state.deviceId,configs:[{configKey:"printId",configValue:JSON.parse(this.$store.state.config).printId}]},discounts:{},condition:!0,isShowQrcode:!1,qrcodeContent:"",waitPayStatusTips:"正在等待支付...",requestTimer:null,orderInfo:null,isShowScanningGun:!1,isCancelOrder:!1}},methods:c()({},Object(P.b)(["updateTourGuide"]),{closeServer:function(){this.showServer=!1},changeS:function(){var e=this;this.saleType="",this.product.notStoreVisible?this.$confirm("此操作将永久:不会排号,不能过闸,不会扣库存,是否继续?","提示",{cancelButtonText:"取消",confirmButtonText:"确定",type:"warning"}).then(function(){e.obj.order.patchOrder=1,e.getproduct(),e.$message({type:"success",message:"成功!"})}).catch(function(){e.obj.order.patchOrder=0,e.product.notStoreVisible=0,e.getproduct(),e.$message({type:"info",message:"已取消删除"})}):(this.obj.order.patchOrder=0,this.obj.order.playDateFrom="",this.getproduct())},cccc:function(){this.obj.visitors=[],this.updateTourGuide({}),1===this.priceType.groupType&&1===this.discounts.saleGroupLeader?this.draw():this.TeamTickets=!0},draw:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t in this.tourGuide=e,console.log(this.tourGuide),this.TeamTickets=!1,e)this.obj.order[t]=e[t];this.ticketIssue(!1)},datas:function(e){this.TeamTickets=e},data:function(e){this.displaySetup=e},mergerOrderChange:function(e){this.clearInter(),0===this.priceType.groupType?localStorage.setItem("mergeOrderStatus0",e):localStorage.setItem("mergeOrderStatus1",e)},getPrintModel:function(){var e=this;this.axios.post(this.getProductUrl("print/query"),{companyId:this.$store.state.companyId}).then(function(t){"00"===t.data.code&&(e.printModel=t.data.data)})},model:function(e){var t=this;this.printModelObj.configs[0].configValue=e,this.axios.post(this.getSystem("config/save"),this.printModelObj).then(function(e){"00"==e.data.code&&(t.$message({message:"选择成功",type:"success"}),t.$commonJs.printModel(e.data.data,t))})},selectChannelChange:function(e){this.clearInter(),this.saleType="",this.obj.order.channelOrderId="",this.custom="";var t=this.Allchannels.filter(function(t,r){return t.priceTypeId===e});this.selectChannel=t[0]},handleSelectcustom:function(e){this.obj.order.channelOrderId="",this.obj.order.channelId=e.channelId||"",this.product.channelId=e.channelId||"",this.saleType="",this.getproduct()},querySearchAsynccustom:function(e,t){var r=this;e||(this.obj.order.channelId="",this.product.channelId="");var s=0===this.ChannelName.length?this.Allchannels[0].channels:this.ChannelName[0].channels;s.forEach(function(e,t){r.$set(e,"value",e.companyName)});var i=e?s.filter(this.createStateFiltercustom(e)):s;clearTimeout(this.time),this.time=setTimeout(function(){t(i)},500*Math.random())},createStateFiltercustom:function(e){return function(t){return-1!==t.value.toLowerCase().indexOf(e.toLowerCase())}},gai:function(e){this.obj.order.salePricePayedTotal=e.target.value,this.obj.order.salePriceTotal=e.target.value},gaiprise:function(e){e?(this.readonly=!1,this.border="1px solid #cccccc"):(this.readonly=!0,this.border=0)},setVisitorField:function(e,t,r,s){var i=(e.checkField||{})[r]||{};(t[i.fieldId]=s,i.fieldInput)?t[i.fieldInput]=s:(t.fields=t.fields||[]).push({fieldId:i.fieldId,fieldValue:s})},initCheckField:function(e){var t=e.fields||[];if(null==e.checkField){for(var r={},s=0;s<t.length;s++){var i=t[s]||{};0!=i.inputType&&(r[i.fieldId]=i,i.fieldInput&&(r[i.fieldInput]=i))}e.checkField=r}},checkVistorField:function(e,t){return this.initCheckField(e),((e.checkField||{})[t]||{}).inputType||0},checkMobileInput:function(e){return this.checkVistorField(e,"visitorMobile")},checkIdInput:function(e){return this.checkVistorField(e,"visitorCardId")},checkVisitorNum:function(e,t,r){this.initCheckField(e);var s=0;switch(r=r||[],e.saleCheckId||0){case 1:s=1;break;case 2:s=t}return r.length>=s},checkCardRepeat:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.initCheckField(e);for(var r=(e.fields||[]).filter(function(e){return e.inputType>0}),s={},i=0;i<t.length;i++)for(var a=t[i],o=0;o<r.length;o++){var n=r[o],c=a[n.fieldInput||n.fieldId];if(0==n.fieldType&&c){var d=s[n.fieldId]=s[n.fieldId]||{};if(d[c])return this.$message.error("证件:"+n.fieldName+c+"重复"),!1;d[c]=!0}}return!0},checkVisitorOrder:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!this.checkVisitorNum(e,t,r))return this.$message.error("请输入游客信息"),!1;for(var s=(e.fields||[]).filter(function(e){return e.inputType>0}),i={},a=0;a<r.length;a++)for(var o=r[a]||{},n=0;n<s.length;n++){var c=s[n]||{},d=o[c.fieldInput||c.fieldId];if(0==c.fieldType&&!d){var l=i[c.fieldId]=i[c.fieldId]||{};if(l[d])return this.$message.error("证件"+c.fieldName+d+"重复"),!1;l[d]=!0}if(1==c.inputType&&!d&&0!==d)return this.$message.error("请输入"+c.fieldName),!1}return!0},addVisitor:function(e){var t=this,r=this.obj||{},s=r.order||{},a=r.visitors||[];e.visitorMobile=e.visitorMobile||r.visitorPhone,a.unshift(e),this.checkCardRepeat(this.fieldsList,a)?this.checkVisitorNum(this.fieldsList,s.buyNum,a)&&this.checkVisitorOrder(this.fieldsList,s.buyNum,a)&&(this.obj.childOrders=[],window.serverList.length>0&&window.serverList.forEach(function(e,r){var s=JSON.parse(o()(t.obj.order)),a={buyNum:e.buyNum,saleId:e.saleId,salePricePayTotal:Object(g.a)(e.buyNum,e.salePricePay),salePricePayedTotal:Object(g.a)(e.buyNum,e.salePricePay),salePriceTotal:Object(g.a)(e.buyNum,e.salePricePay)},n={order:i()(s,a)};t.obj.childOrders.push(n)})):a.pop()},chck:function(e,t,r){var s=this;this.clearInter(),this.fieldsList=t,this.gaiprise(t.saleChangePrice),this.discounts=t,this.index=r.batchId+r.saleId,this.obj.order.channelOrderId="",this.obj.order.salePricePayTotal=Object(g.a)(t.salePricePay,this.obj.order.buyNum),this.obj.order.salePricePayedTotal=Object(g.a)(t.salePricePay,this.obj.order.buyNum),this.obj.order.salePriceTotal=Object(g.a)(t.salePricePay,this.obj.order.buyNum),this.obj.order.saleCheckId=t.saleCheckId,this.obj.order.saleCheckMobile=t.saleCheckMobile,this.prise=t.salePricePay,this.oldPrise=t.salePricePay,t.discountsList.length>0&&t.discountsList.forEach(function(e){1==e.buyNum&&(s.obj.order.salePricePayedTotal=Object(g.a)(e.salePricePay,s.obj.order.buyNum),s.obj.order.salePricePayTotal=Object(g.a)(e.salePricePay,s.obj.order.buyNum),s.obj.order.salePriceTotal=Object(g.a)(e.salePricePay,s.obj.order.buyNum),s.prise=e.salePricePay,s.oldPrise=e.salePricePay)}),this.obj.order.saleId=t.saleId,this.obj.order.subscribeDateFrom=r.batchDateFrom,this.product.date===this.$commonJs.today()?this.obj.order.playDateFrom=r.batchDateFrom:this.obj.order.playDateFrom=this.product.date+" 00:00:00"},dates:function(e){this.product.batchDateFrom=e+" 00:00:00",this.product.batchDateTo=e+" 23:59:59",this.saleType="",this.getproduct()},add:function(e){var t=this;if(this.clearInter(),this.obj.order.channelOrderId="",0!=this.discounts.discountsList.length){this.discounts.discountsList.forEach(function(r){e>=r.buyNum&&(t.prise=r.salePricePay,t.obj.order.salePricePayTotal=Object(g.a)(e,t.prise),t.obj.order.salePricePayedTotal=Object(g.a)(e,t.prise),t.obj.order.salePriceTotal=Object(g.a)(e,t.prise))});var r=Math.min.apply(Math,this.discounts.discountsList.map(function(e){return e.buyNum}));e<r&&(this.obj.order.salePricePayTotal=Object(g.a)(e,this.oldPrise),this.obj.order.salePricePayedTotal=Object(g.a)(e,this.oldPrise),this.obj.order.salePriceTotal=Object(g.a)(e,this.oldPrise))}else this.obj.order.salePricePayTotal=Object(g.a)(e,this.prise),this.obj.order.salePricePayedTotal=Object(g.a)(e,this.prise),this.obj.order.salePriceTotal=Object(g.a)(e,this.prise)},pagess:function(e){this.product.pageIndex=e,this.pageData()},pageData:function(){var e=this;this.axios.post(this.getStoreUrl("time/querySale"),this.product).then(function(t){"00"==t.data.code&&(e.products=t.data.data.list,e.pageshow=!0,e.products.forEach(function(t){t.scenes.forEach(function(t){t.myId=e.$commonJs.randoms()})}))})},dataOrder:function(){return window.order=window.order||{},window.order},interval:function(){var e=this;!function t(){e.timess=setTimeout(function(){e.SoTheChannel(),t()},e.haomiao)}()},clearInter:function(){clearTimeout(this.timess),this.interval()},ticketIssue:function(e){var t=this,r=this;if(this.clearInter(),this.condition)if(!this.product.notStoreVisible||this.obj.order.playDateFrom){e&&(this.$store.state.tourGuide={});var s=this.dataOrder();s.visitorPhone="",s.sale=this.fieldsList,s.orderObj=this.obj,s.that=this;var i=this.obj.order,a=i.companyId,n=i.saleId;i.salePricePayTotal;if(""!=a&&""!=n)if(JSON.parse(this.$store.state.config).printer){if(this.obj.order.channelOrderId=this.$commonJs.randoms(),sessionStorage.setItem("phonObjs",o()(this.obj)),0==this.products.length)return;var c=this.products.findIndex(function(e){return t.obj.order.saleId==e.saleId});if(this.extraServers=JSON.parse(o()(this.products[c].services)),window.serverList=this.products[c].services,this.extraServers.length>0)return void(this.showServer=!0);if(0===this.checkMobileInput(this.fieldsList)||this.obj.visitors.length)if(this.checkVisitorNum(this.fieldsList,this.obj.order.buyNum,this.obj.visitors)){!function e(){if(t.condition=!1,"6"==t.obj.order.payType){if(!t.obj.order.payTypeCode){console.log("胖丁扫码枪"),t.isShowScanningGun=!0;var s=JSON.parse(t.$store.state.config);return Scan.init(s.HardConfig,function(e){r.isShowScanningGun&&r.$message.error(e)},function(t,s){r.isShowScanningGun&&(r.obj.order.payTypeCode||(r.obj.order.payTypeCode=s.ScanCode,r.waitPayStatusTips="扫码成功",console.log(r.obj),e()))},1),!1}t.waitPayStatusTips="正在等待支付..."}!function e(){t.axios.post(t.getOrderUrl("order/save"),t.obj,{__retryCount:3}).then(function(e){t.condition=!0;var r=e.data||{};if(r.code,"00"!=r.code)return t.obj.order.payTypeCode=null,t.$message.error(r.message);var s=e.data.data,i=s.order;t.orderInfo=s.order;var a=s.pays[0]||null;if("5"==t.obj.order.payType){if(!a)return t.$message.error(e.data.message);var o=JSON.parse(a.channelPayInfo);return t.qrcodeContent=o.PayCode,t.isShowQrcode=!0,void t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowQrcode")}if("6"==t.obj.order.payType)return a?(t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowScanningGun"),!1):t.$message.error(e.data.message);t.obj.visitors=[],t.obj.visitorPhone="",t.authshow=!1,t.printTickets(r)}).catch(function(r){t.condition=!0,t.$message.error(err),setTimeout(function(){e()},3e3)})}()}()}else this.authshow=!0;else this.phoneshow=!0}else this.$message.error("打印机名为空,请配置打印机");else this.$message.error("当前未选择票类型,不能出票")}else this.$message.error("请选择补单时间!")},ticketIssue2:function(e){var t=this;this.clearInter();var r=this;if(this.condition)if(!this.product.notStoreVisible||this.obj.order.playDateFrom){e&&(this.$store.state.tourGuide={});var s=this.dataOrder();s.visitorPhone="",s.sale=this.fieldsList,s.orderObj=this.obj,s.that=this;var a=this.obj.order,n=a.companyId,c=a.saleId;a.salePricePayTotal;if(""!=n&&""!=c)if(JSON.parse(this.$store.state.config).printer)if(this.obj.order.channelOrderId=this.$commonJs.randoms(),sessionStorage.setItem("phonObjs",o()(this.obj)),0===this.checkMobileInput(this.fieldsList)||this.obj.visitors.length)if(this.checkVisitorNum(this.fieldsList,this.obj.order.buyNum,this.obj.visitors)){!function e(){if(t.condition=!1,"6"==t.obj.order.payType){if(!t.obj.order.payTypeCode){console.log("胖丁扫码枪"),t.isShowScanningGun=!0;var s=JSON.parse(t.$store.state.config);return Scan.init(s.HardConfig,function(e){r.isShowScanningGun&&r.$message.error(e)},function(t,s){r.isShowScanningGun&&(r.obj.order.payTypeCode||(r.obj.order.payTypeCode=s.ScanCode,r.waitPayStatusTips="扫码成功",console.log(r.obj),e()))},1),!1}t.waitPayStatusTips="正在等待支付..."}t.obj.childOrders=[],window.serverList.length>0&&window.serverList.forEach(function(e,r){var s=JSON.parse(o()(t.obj.order)),a={buyNum:e.buyNum,saleId:e.saleId,salePricePayTotal:Object(g.a)(e.buyNum,e.salePricePay),salePricePayedTotal:Object(g.a)(e.buyNum,e.salePricePay),salePriceTotal:Object(g.a)(e.buyNum,e.salePricePay)},n={order:i()(s,a)};t.obj.childOrders.push(n)});!function e(){t.axios.post(t.getOrderUrl("order/save"),t.obj,{__retryCount:3}).then(function(e){t.condition=!0;var r=e.data||{};if(r.code,"00"!=r.code)return t.obj.order.payTypeCode=null,t.$message.error(r.message);var s=e.data.data,i=s.order;t.orderInfo=s.order;var a=s.pays[0]||null;if("5"==t.obj.order.payType){if(!a)return t.$message.error("订单返回数据格式错误,不包含支付信息");var o=JSON.parse(a.channelPayInfo);return t.qrcodeContent=o.PayCode,t.isShowQrcode=!0,void t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowQrcode")}if("6"==t.obj.order.payType)return a?(t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowScanningGun"),!1):t.$message.error("订单返回数据格式错误,不包含支付信息");t.obj.visitors=[],t.obj.visitorPhone="",t.authshow=!1,t.printTickets(r)}).catch(function(r){t.condition=!0,t.$message.error(err),setTimeout(function(){e()},3e3)})}()}()}else this.authshow=!0;else this.phoneshow=!0;else this.$message.error("打印机名为空,请配置打印机");else this.$message.error("当前未选择票类型,不能出票")}else this.$message.error("请选择补单时间!")},PrintError:function(e){var t=this;this.succ=!0,setTimeout(function(){t.tickshow=!1,t.succ=!1},100);var r=e&&(e.msg||e.Msg)||e;alert(r)},__Printed:function(){var e=this;this.succ=!0,window.order={},this.obj.order=this.obj.order||{},this.obj.order.buyNum=1,this.obj.order.channelOrderId="",this.obj.visitorPhone="",this.obj.visitors=[],setTimeout(function(){e.tickshow=!1,e.maxshow=!1,e.succ=!1},1e3),this.gettoday(),this.getproduct()},__PrintIteming:function(e){this.tickshow=!0,this.printdata=e.Data.Pos,this.allnum=e.Data.Count},loadPrint:function(){var t=this;function r(r){r=r||[];var s=[];e.each(r,function(e,t){s.push({id:t,name:t})}),t.Rendering(s)}try{Base.getHard().getPrinter(function(e){r(e)},function(e){r()})}catch(e){r()}},Rendering:function(e){0!=e.length?this.PrinterList=e:this.PrinterList=[{name:"暂无打印机",id:""},{name:"Microsoft XPS Document Writer",id:"Microsoft XPS Document Writer"}]},closephone:function(e){this.phoneshow=e},phonOk:function(){this.phoneshow=!1,this.authshow=!0},auclose:function(){this.obj.visitors=[],this.obj.visitorPhone="",this.obj.order.payTypeCode=null,this.authshow=!1},augoup:function(){this.authshow=!1,this.phoneshow=!0,this.obj.visitors=[]},ticket:function(e){this.maxshow=!1,this.tickshow=!0},fanhui:function(){this.maxshow=!1,this.authshow=!0},tik:function(e){this.tickshow=!0,this.authshow=!1},manual:function(){this.authshow=!1,this.maxshow=!0},maxclose:function(){this.maxshow=!1,this.obj.visitors=[],this.obj.visitorPhone="",this.obj.order.payTypeCode=null},tickclose:function(){this.tickshow=!1},getproduct:function(){var e=this;this.clearInter(),this.axios.post(this.getStoreUrl("time/querySale"),this.product,{isLoading:this.isLoading}).then(function(t){if("00"!=t.data.code)return!1;if(console.log(t.data.data.list),0==t.data.data.list.length)return e.saleChangePrice=!1,e.products=[],e.products2=[],e.$message.error("暂无当前票种!"),!1;e.saleChangePrice=t.data.data.list.saleChangePrice;var r=t.data.data.list.filter(function(e){return 1!=e.saleServiceType}),s=null,i=((e.obj||{}).order||{}).saleId||"";if(e.products=r.filter(function(e,t){var r=(e.scenes||[]).length>0;return!r||i!=e.saleId&&null!=s||(s=e),r}),e.products2=r.filter(function(e,t){if(0!==!e.scenes.length)return e}),e.fieldsList=r.find(function(e,t){return e.scenes.length>0}),0!=e.products.length&&(e.extraServers=s.services,window.serverList=s.services,e.obj.order.saleId=s.saleId,e.discounts=s,e.obj.order.salePricePayedTotal=s.salePricePay,e.obj.order.salePricePayTotal=Object(g.a)(s.salePricePay,e.obj.order.buyNum),e.gaiprise(s.saleChangePrice),e.obj.order.salePriceTotal=s.salePricePay,e.obj.order.saleCheckId=s.saleCheckId,e.obj.order.saleCheckMobile=s.saleCheckMobile,e.prise=s.salePricePay,e.oldPrise=s.salePricePay,s.discountsList.length>0&&s.discountsList.forEach(function(t){1==t.buyNum&&(e.obj.order.salePricePayedTotal=t.salePricePay,e.obj.order.salePricePayTotal=Object(g.a)(t.salePricePay,e.obj.order.buyNum),e.obj.order.salePriceTotal=t.salePricePay,e.prise=t.salePricePay,e.oldPrise=t.salePricePay)}),e.pageshow=!0,e.pageTotal=t.data.data.pageTotal,0!=s.scenes.length)){e.obj.order.subscribeDateFrom=s.scenes[0].batchDateFrom,e.product.date==e.$commonJs.today()?e.obj.order.playDateFrom=s.scenes[0].batchDateFrom:e.obj.order.playDateFrom=e.product.date+" 00:00:00";var a=s.scenes[0];e.index=a.batchId+a.saleId}})},gettoday:function(){var e=this;this.axios.post(this.getOrderUrl("order/getDay"),{pageSize:1}).then(function(t){"00"==t.data.code&&(e.todaynum=t.data.main.buyNum,e.todaymoney=t.data.main.salePricePayTotal,e.newnumm=t.data.data.list)})},chong:function(e){var t=this;if(this.condition){var r={orderId:e.orderId,all:!0};""==this.obj.order.printer?this.$message.error("请选择打印机"):(this.condition=!1,this.axios.post(this.getOrderUrl("order/load"),r).then(function(e){var r=e.data||{};t.$commonJs.printRes(r,t,Base,t.PrintError,t.__Printed,t.__PrintIteming),t.condition=!0}))}},SoTheChannel:function(){var e=this;0!==this.products.length&&(this.isLoading=!1),this.axios.post(this.getSystem("channel/windowList"),this.priceType,{isLoading:this.isLoading}).then(function(t){"00"===t.data.code?(e.Allchannels=t.data.data,e.selectChannel=e.Allchannels[0]):e.$message.error(t.data.message)})},initTicketType:function(){var e=this,t={companyId:this.companyId,enumType:"saleType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),t).then(function(t){"00"==t.data.code?e.saleTypeList=t.data.data:e.$message.error(t.data.message)})},chooseTicket:function(e){this.clearInter(),this.products2.length>0&&(this.products=this.products2.filter(function(t){return t.saleType==e}))},selectChannelsItemChange:function(e){var t=this;this.clearInter(),this.obj.order.channelId=e,this.product.channelId=e,this.getproduct();var r=this.SelectChannelsList.filter(function(t){return t.channelId==e});if(0==r.length)return this.payModelList=[],void(this.obj.order.payType="");var s=r[0];if(this.payModelList=s.payTypes,0!=this.payModelList.length){if(0==this.payModelList.filter(function(e){return e.payedType==t.obj.order.payType}).length)this.obj.order.payType=this.payModelList[0].payedType;else this.obj.order.payType=this.selectChannel.payedType+"",-1===this.payModelList.findIndex(function(e){return e.payedType===t.obj.order.payType})&&(this.obj.order.payType=this.payModelList[0].payedType);this.totalAmount=s.moneyVo.totalAmount}else this.obj.order.payType=""},selectPayModelChange:function(e){this.clearInter(),this.obj.order.payType=e},openScanQrcodeHandle:function(e,t){var r=this;if(window.clearTimeout(this.requestTimer),!this.isCancelOrder&&e){var s={order:e};this.axios.post(this.getOrderUrl("order/wait"),s,{isLoading:!1}).then(function(s){var i=s.data;if("00"!=i.code)return r.$message.error(i.message);r[t]&&((i.data.order||{}).orderStatus<4?r.requestTimer=window.setTimeout(function(){r.openScanQrcodeHandle(e,t)},500):(window.clearTimeout(r.requestTimer),r.waitPayStatusTips="支付完成",r.isShowQrcode=!1,r.isShowScanningGun=!1,r.waitPayStatusTips="正在等待支付...",r.printTickets(i)))}).catch(function(s){window.clearTimeout(r.requestTimer),r.$message.error(s),r.requestTimer=window.setTimeout(function(){r.openScanQrcodeHandle(e,t)},500)})}},closeScanQrcodeHandle:function(){var e=this;if(this.condition=!0,this.isShowQrcode=!1,this.isShowScanningGun=!1,this.isCancelOrder=!0,window.clearTimeout(this.requestTimer),this.orderInfo){var t={order:{orderId:this.orderInfo.orderId,companyId:this.orderInfo.companyId}};this.axios.post(this.getOrderUrl("order/cancel"),t).then(function(t){e.isCancelOrder=!1;var r=t.data;if("00"!=r.code)return e.$message.error(r.message);e.orderInfo=null,e.obj.visitors=[],e.obj.visitorPhone=""}).catch(function(t){console.log("请求失败"),window.clearTimeout(e.requestTimer),e.requestTimer=window.setTimeout(function(){e.closeScanQrcodeHandle()},1e3)},1e3)}},closeScanningGunHandle:function(){this.isShowScanningGun=!1,this.obj.order.payTypeCode=null,this.condition=!0,this.waitPayStatusTips="正在等待支付...",this.closeScanQrcodeHandle()},printTickets:function(e){this.obj.visitors=[],this.obj.visitorPhone="",this.obj.order.payTypeCode=null,this.orderInfo=null,this.$commonJs.printRes(e,this,Base,this.PrintError,this.__Printed,this.__PrintIteming)},closePayQrcodeHandle:function(){console.log("关闭"),this.isShowScanningGun=!1,this.isShowQrcode=!1,this.condition=!0,this.waitPayStatusTips="正在等待支付...",window.clearTimeout(this.requestTimer)},scanDevice:function(){}}),components:{phone:d.a,authent:l.a,maxual:u.a,ticketIssue:h.a,pages:y.a,localSettings:m.a,TeamTicket:f.a,breadNav:v.default,plusServer:p.a,scanQrcode:b.a},created:function(){this.SoTheChannel(),this.interval(),this.loadPrint(),this.gettoday(),this.getPrintModel(),this.initTicketType()},mounted:function(){},watch:{selectChannel:function(e){var t=this;if(this.SelectChannelsList=e.channels,this.product.priceTypeId=e.priceTypeId,this.obj.order.payType=e.payedType+"",0==this.SelectChannelsList.length)return this.products=[],void(this.products2=[]);var r=this.SelectChannelsList[0];this.payModelList=r.payTypes,-1===this.payModelList.findIndex(function(e){return e.payedType===t.obj.order.payType})&&(this.obj.order.payType=this.payModelList[0].payedType),this.custom=r.channelId,this.product.channelId=r.channelId,this.obj.order.channelId=r.channelId,this.getproduct(),this.totalAmount=r.moneyVo.totalAmount}},beforeDestroy:function(){clearTimeout(this.timess),this.timess=null}}}).call(t,r("SXXC"))},AttR:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={data:function(){return{priceType:{channelFromKey:"computer",companyId:this.$store.state.companyId,groupType:1}}},components:{TheDrawerComponents:r("H62i").a},methods:{dianji:function(){this.$refs.mychild.cccc()}}},i={render:function(){var e=this.$createElement,t=this._self._c||e;return t("TheDrawerComponents",{ref:"mychild",attrs:{priceType:this.priceType}},[t("button",{on:{click:this.dianji}},[this._v("团队出票")])])},staticRenderFns:[]};var a=r("C7Lr")(s,i,!1,function(e){r("rnDA")},null,null);t.default=a.exports},GLtp:function(e,t,r){var s=r("uSC2");s(s.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},H62i:function(e,t,r){"use strict";var s=r("AUUs"),i={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"bigBox",on:{click:function(t){return e.clearInter()}}},[r("breadNav",[e._v("窗口售票")]),e._v(" "),r("div",{staticClass:"tab"},[r("div",[r("p",[e._v("最新记录")]),e._v(" "),r("p",[r("span",[e._v("今日售票量:"),r("i",[e._v(e._s(e.todaynum))]),e._v("张")]),r("span",[e._v("金额:"),r("i",[e._v(e._s(e.todaymoney))]),e._v("元")])])]),e._v(" "),e._l(e.newnumm,function(t,s){return r("div",{key:s},[r("p",[e._v(e._s(t.productName))]),e._v(" "),r("p",[e._v(e._s(t.buyNum)+"张")]),e._v(" "),r("p",[e._v(e._s(t.salePricePayTotal)+"元")]),e._v(" "),r("p",[e._v(e._s(t.createDate))]),e._v(" "),r("p",{staticClass:"chon",on:{click:function(r){return e.chong(t)}}},[e._v("重新打印")])])})],2),e._v(" "),r("div",{staticClass:"box"},[r("div",[r("div",{staticClass:"tit query-row"},[r("div",{staticClass:"query-item"},[r("span",[e._v("时间:")]),e._v(" "),r("el-date-picker",{attrs:{"prefix-icon":"none",type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},on:{change:e.dates},model:{value:e.product.date,callback:function(t){e.$set(e.product,"date",t)},expression:"product.date"}})],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",[e._v("渠道类型:")]),e._v(" "),r("el-select",{attrs:{placeholder:"请选择",filterable:""},on:{change:e.selectChannelChange},model:{value:e.product.priceTypeId,callback:function(t){e.$set(e.product,"priceTypeId",t)},expression:"product.priceTypeId"}},e._l(e.Allchannels,function(e,t){return r("el-option",{key:t,attrs:{label:e.priceTypeName,value:e.priceTypeId}})}),1)],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",[e._v("渠道名称:")]),e._v(" "),r("el-select",{attrs:{placeholder:"请选择",filterable:""},on:{change:e.selectChannelsItemChange},model:{value:e.custom,callback:function(t){e.custom=t},expression:"custom"}},e._l(e.SelectChannelsList,function(e){return r("el-option",{key:e.channelId,attrs:{label:e.companyName,value:e.channelId}})}),1)],1),e._v(" "),r("div",{staticClass:"query-item"},[r("el-checkbox",{attrs:{"true-label":1,"false-label":0},on:{change:e.changeS},model:{value:e.product.notStoreVisible,callback:function(t){e.$set(e.product,"notStoreVisible",t)},expression:"product.notStoreVisible"}},[e._v(" "+e._s(e.obj.order.patchOrder?"补单时间":"补单"))]),e._v(" "),e.obj.order.patchOrder?r("el-date-picker",{attrs:{"prefix-icon":"none",type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.obj.order.playDateFrom,callback:function(t){e.$set(e.obj.order,"playDateFrom",t)},expression:"obj.order.playDateFrom"}}):e._e()],1),e._v(" "),r("div",{staticClass:"chu query-item"},[e._t("default"),e._v(" "),r("button",{staticStyle:{"margin-left":"0.1rem"},on:{click:function(t){e.displaySetup=!0}}},[e._v("\n 设置\n ")])],2)]),e._v(" "),r("div",{staticClass:"num query-row"},[r("div",{staticClass:"query-item"},[r("span",[e._v("数量:")]),e._v(" "),r("el-input-number",{attrs:{min:1,label:"描述文字"},on:{change:e.add},model:{value:e.obj.order.buyNum,callback:function(t){e.$set(e.obj.order,"buyNum",t)},expression:"obj.order.buyNum"}})],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",{staticStyle:{display:"inline-block"}},[e._v("总票价:   ")]),e._v(" "),e.saleChangePrice?r("el-input",{staticClass:"no-border",attrs:{type:"text"},model:{value:e.obj.order.salePricePayTotal,callback:function(t){e.$set(e.obj.order,"salePricePayTotal",t)},expression:"obj.order.salePricePayTotal"}}):r("input",{directives:[{name:"model",rawName:"v-model",value:e.obj.order.salePricePayTotal,expression:"obj.order.salePricePayTotal"}],staticClass:"no-border",style:{border:e.border,paddingLeft:"10px"},attrs:{readonly:e.readonly},domProps:{value:e.obj.order.salePricePayTotal},on:{change:function(t){return e.gai(t)},input:function(t){t.target.composing||e.$set(e.obj.order,"salePricePayTotal",t.target.value)}}}),e._v("\n\n ")],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",[e._v("结算方式:")]),e._v(" "),r("el-select",{attrs:{placeholder:"请选择结算方式"},on:{change:e.selectPayModelChange},model:{value:e.obj.order.payType,callback:function(t){e.$set(e.obj.order,"payType",t)},expression:"obj.order.payType"}},e._l(e.payModelList,function(e){return r("el-option",{key:e.payedType,attrs:{label:e.payedTypeName,value:e.payedType}})}),1)],1),e._v(" "),r("div",{staticClass:"query-item",staticStyle:{width:"4rem"}},[r("p",{staticStyle:{display:"inline"}},[e._v("\n 余额:"),r("b",{staticStyle:{"font-weight":"bold"}},[e._v(e._s(e.totalAmount))]),e._v(" 元\n ")]),e._v(" "),r("p",{staticStyle:{display:"inline","margin-left":"0.3rem"}},[r("el-checkbox",{attrs:{"true-label":1,"false-label":0},on:{change:e.mergerOrderChange},model:{value:e.obj.order.mergerOrder,callback:function(t){e.$set(e.obj.order,"mergerOrder",t)},expression:"obj.order.mergerOrder"}},[e._v("单张出票")])],1)])])])]),e._v(" "),r("div",{staticClass:"allbox"},[r("div",{staticClass:"piao"},[r("p",{staticStyle:{"align-items":"center",display:"flex","margin-bottom":"0.1rem"}},[r("span",[e._v(" 票种: ")]),e._v(" "),r("el-select",{on:{change:function(t){return e.chooseTicket(e.product.saleType)}},model:{value:e.product.saleType,callback:function(t){e.$set(e.product,"saleType",t)},expression:"product.saleType"}},[r("el-option",{attrs:{label:"--所有--",value:""}}),e._v(" "),e._l(e.saleTypeList,function(e){return r("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),r("div",e._l(e.products,function(t,s){return r("div",{key:s},e._l(t.scenes,function(s,i){return r("div",{key:i,class:{dan:!0,hui:e.index==s.batchId+s.saleId},on:{click:function(r){return e.chck(i,t,s)}}},[r("div",[r("div",[e._v("\n "+e._s(t.productName)+"\n "),r("p",[0!=t.scenes.length?r("span",[e._v("\n "+e._s(s.batchDateFrom.slice(10,s.batchDateFrom.length-3))+"-"+e._s(s.batchDateTo.slice(10,s.batchDateTo.length-3))+"\n ")]):e._e()])]),e._v(" "),r("div",[e._v("¥"+e._s(t.salePricePay))])]),e._v(" "),r("p",{staticStyle:{display:"flex","justify-content":"space-between","padding-right":"0.2rem"}},[r("span",[e._v(" 库存:"+e._s(s.hasNum)+" ")]),e._v(" "),r("span",{staticStyle:{color:"#666666","font-size":"0.1rem"}},[e._v("\n "+e._s(t.saleTypeName)+"\n ")])])])}),0)}),0)]),e._v(" "),r("pages",{directives:[{name:"show",rawName:"v-show",value:e.pageshow,expression:"pageshow"}],attrs:{pagesize:e.product.pageSize,total:e.pageTotal},on:{page:e.pagess}})],1),e._v(" "),e.phoneshow?r("phone",{attrs:{tourGuide:e.tourGuide},on:{closed:e.closephone,phonOk:e.phonOk}}):e._e(),e._v(" "),e.authshow?r("authent",{attrs:{tourGuide:e.tourGuide,buyNum:e.obj.order.buyNum,fieldsList:e.fieldsList},on:{closed:e.auclose,goup:e.augoup,manual:e.manual,tik:e.tik}}):e._e(),e._v(" "),e.maxshow?r("maxual",{attrs:{fieldsList:e.fieldsList},on:{ticket:e.ticket,closed:e.maxclose}}):e._e(),e._v(" "),e.tickshow?r("ticketIssue",{attrs:{succ:e.succ},on:{closed:e.tickclose}},[r("span",{attrs:{slot:"pag"},slot:"pag"},[e._v(e._s(e.printdata))]),e._v(" "),r("span",{attrs:{slot:"num"},slot:"num"},[e._v(e._s(e.allnum))])]):e._e(),e._v(" "),e.displaySetup?r("localSettings",{attrs:{PrinterList:e.PrinterList,printModel:e.printModel},on:{data:e.data}}):e._e(),e._v(" "),e.TeamTickets?r("TeamTicket",{on:{datas:e.datas,draw:e.draw}}):e._e(),e._v(" "),e.showServer?r("plusServer",{attrs:{num:e.obj.order.buyNum,extraServers:e.extraServers},on:{close:function(t){return e.closeServer()}}}):e._e(),e._v(" "),r("el-dialog",{attrs:{width:"400",title:"请扫描二维码",center:"",visible:e.isShowQrcode,"close-on-click-modal":!1,"append-to-body":"","show-close":!1},on:{"update:visible":function(t){e.isShowQrcode=t},open:e.openScanQrcodeHandle,close:e.closePayQrcodeHandle}},[r("scan-qrcode",{attrs:{value:e.qrcodeContent}}),e._v(" "),r("p",{staticStyle:{"font-size":"0.18rem","text-align":"center",margin:"0.2rem 0"}},[e._v(e._s(e.waitPayStatusTips))]),e._v(" "),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"normal"},on:{click:e.closeScanQrcodeHandle}},[e._v("取消支付")])],1)],1),e._v(" "),r("el-dialog",{attrs:{width:"200",title:"胖丁扫码枪",center:"",visible:e.isShowScanningGun,"close-on-click-modal":!1,"append-to-body":"","show-close":!1},on:{"update:visible":function(t){e.isShowScanningGun=t},close:e.closePayQrcodeHandle}},[r("p",{staticStyle:{"font-size":"0.18rem","text-align":"center",margin:"0.2rem 0"}},[e._v(e._s(e.waitPayStatusTips))]),e._v(" "),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"normal"},on:{click:e.closeScanningGunHandle}},[e._v("取消支付")])],1)])],1)},staticRenderFns:[]};var a=function(e){r("HRat")},o=r("C7Lr")(s.a,i,!1,a,"data-v-f9073d9a",null);t.a=o.exports},HRat:function(e,t){},K9HK:function(e,t){},aUYq:function(e,t,r){e.exports={default:r("6yUe"),__esModule:!0}},eeyJ:function(e,t,r){"use strict";var s=r("3cXf"),i=r.n(s),a={props:["num","extraServers"],data:function(){return{numbers:0,serverList:JSON.parse(i()(window.serverList)),getPriceList:[]}},methods:{close:function(){this.$emit("close")},next:function(){var e=this;this.serverList.length>0&&this.serverList.forEach(function(t,r){t.buyNum=e.numbers}),window.serverList=this.serverList,this.$emit("close"),this.$parent.ticketIssue2(!0)},numberChange:function(){for(var e=this,t=0;t<this.getPriceList.length;t++)this.extraServers[t].salePricePay=this.getSalePricePay(this.getPriceList[t],this.numbers);for(var r=function(t){var r=e.getPriceList.findIndex(function(r){return e.serverList[t].saleId==r.saleId});e.serverList[t].salePricePay=e.getSalePricePay(e.getPriceList[r],e.numbers)},s=0;s<this.serverList.length;s++)r(s)},getSalePricePay:function(e,t){for(var r=e.salePricePay||0,s=e.discountsList||[],i=null,a=0;a<s.length;a++){var o=s[a]||{};null==o||0==o.buyNum||(null==i||o.buyNum>i.buyNum)&&o.buyNum<=t&&(i=o)}return null!=i&&(r=i.salePricePay||0),r}},mounted:function(){var e=this;this.numbers=this.num,this.getPriceList=JSON.parse(i()(this.extraServers)),window.serverList.length>0&&window.serverList.forEach(function(t,r){t.buyNum=e.numbers}),this.numberChange(),console.log(this.serverList)}},o={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"server"},[r("div",{staticClass:"serverBox"},[r("p",{staticStyle:{position:"relative"}},[e._v("\n 增加服务\n "),r("span",{staticStyle:{position:"absolute",right:"20px",top:"5px","font-size":"0.24rem",color:"#666666","font-weight":"400",cursor:"pointer"},on:{click:e.close}},[e._v("x")])]),e._v(" "),r("div",{staticClass:"serverDiv"},[r("div",e._l(e.extraServers,function(t,s){return r("p",{key:s},[r("span",{staticStyle:{display:"inline-block",width:"2.2rem"}},[e._v(e._s(t.productName))]),e._v(" "),r("span",{staticStyle:{display:"inline-block",width:"0.7rem"}},[e._v(e._s(t.salePricePay)+"元/份")]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.serverList,expression:"serverList"}],attrs:{type:"checkbox"},domProps:{value:t,checked:Array.isArray(e.serverList)?e._i(e.serverList,t)>-1:e.serverList},on:{change:[function(r){var s=e.serverList,i=r.target,a=!!i.checked;if(Array.isArray(s)){var o=t,n=e._i(s,o);i.checked?n<0&&(e.serverList=s.concat([o])):n>-1&&(e.serverList=s.slice(0,n).concat(s.slice(n+1)))}else e.serverList=a},function(t){return e.numberChange()}]}})])}),0),e._v(" "),r("div",[r("span",[e._v("购买数量:")]),e._v(" "),r("el-input-number",{attrs:{min:0},on:{change:function(t){return e.numberChange()}},model:{value:e.numbers,callback:function(t){e.numbers=t},expression:"numbers"}})],1),e._v(" "),e._m(0)]),e._v(" "),r("p",[r("a",{staticClass:"btn4",on:{click:function(t){return e.next()}}},[e._v("下一步")])])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("span",[this._v("退改规则:")]),this._v("\n 不可退\n ")])}]};var n=r("C7Lr")(a,o,!1,function(e){r("w/NI")},"data-v-1ce763d2",null);t.a=n.exports},lOuq:function(e,t,r){e.exports={default:r("/8q3"),__esModule:!0}},oaxN:function(e,t,r){"use strict";var s={data:function(){return{time:null,shenfen:"",draw:{leaderId:"",leaderName:"",orderCheckDate:"",carCode:""},list:[]}},created:function(){var e=this;this.axios.post(this.getChanel("leader/list"),{companyId:this.$store.state.companyId,companyName:this.trench,pageIndex:1,pageSize:999}).then(function(t){"00"===t.data.code&&(e.list=t.data.data.list,e.list.forEach(function(t,r){var s=t.leaderName+t.leaderNo;e.$set(t,"value",s)}),""!==e.list[0].leaderCardId&&""!==e.list[0].leaderMobile&&(e.$store.state.tourGuide=e.list[0]))})},methods:{handleSelectcustom:function(e){this.draw.leaderId=e.leaderId,this.draw.leaderName=e.leaderName,this.draw.leaderMobile=e.leaderMobile,this.draw.leaderCardId=e.leaderCardId,this.shenfen=e.leaderCardId,""!==e.leaderCardId&&""!==e.leaderMobile?this.$store.state.tourGuide=e:this.$store.state.tourGuide={}},querySearchAsynccustom:function(e,t){var r=this,s=this.list;s.forEach(function(e,t){var s=e.leaderName+e.leaderNo;r.$set(e,"value",s)});var i=e?s.filter(this.createStateFiltercustom(e)):s;clearTimeout(this.time),this.time=setTimeout(function(){t(i)},500*Math.random())},createStateFiltercustom:function(e){return function(t){return-1!==t.value.toLowerCase().indexOf(e.toLowerCase())}},daoyou:function(e){var t=this;this.list.forEach(function(e,r){e.leaderId===t.draw.leaderId&&(t.draw.leaderName=e.leaderName,t.shenfen=e.leaderCardId,""!==e.leaderCardId&&""!==e.leaderMobile?t.$store.state.tourGuide=e:t.$store.state.tourGuide={})})},youwan:function(e){this.draw.orderCheckDate=this.$commonJs.formattime(this.draw.orderCheckDate)},ticketIssue:function(){""!==this.draw.leaderId?""!==this.draw.orderCheckDate?this.$emit("draw",this.draw):this.$message.error("请选择游玩日期!"):this.$message.error("请选择导游!")},cc:function(){this.$emit("datas",!1)}}},i={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"table"},[r("div",{staticClass:"box"},[r("p",{staticClass:"p"},[r("span",[e._v("团队出票")]),e._v(" "),r("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"},on:{click:e.cc}},[r("use",{attrs:{"xlink:href":"#iconguanbi1"}})])]),e._v(" "),r("div",[r("p",[r("span",{staticClass:"span"},[e._v("导游:")]),e._v(" "),r("el-autocomplete",{attrs:{"fetch-suggestions":e.querySearchAsynccustom,placeholder:"请输入内容"},on:{select:e.handleSelectcustom},model:{value:e.draw.leaderName,callback:function(t){e.$set(e.draw,"leaderName",t)},expression:"draw.leaderName"}})],1),e._v(" "),""!==e.shenfen?r("p",[r("span",{staticClass:"span"},[e._v("导游身份证:")]),r("span",[e._v(e._s(e.shenfen))])]):e._e(),e._v(" "),r("p",[r("span",{staticClass:"span"},[e._v("游玩日期:")]),e._v(" "),r("el-date-picker",{attrs:{type:"date",placeholder:"选择日期"},on:{change:e.youwan},model:{value:e.draw.orderCheckDate,callback:function(t){e.$set(e.draw,"orderCheckDate",t)},expression:"draw.orderCheckDate"}})],1),e._v(" "),r("p",[r("span",{staticClass:"span"},[e._v("车牌号:")]),e._v(" "),r("el-input",{attrs:{placeholder:"请输入内容"},model:{value:e.draw.carCode,callback:function(t){e.$set(e.draw,"carCode",t)},expression:"draw.carCode"}})],1)]),e._v(" "),r("p",{staticStyle:{"text-align":"center"}},[r("button",{staticClass:"button",on:{click:e.ticketIssue}},[e._v("团队出票")])])])])},staticRenderFns:[]};var a=r("C7Lr")(s,i,!1,function(e){r("K9HK")},"data-v-678c99b0",null);t.a=a.exports},rnDA:function(e,t){},uRfC:function(e,t,r){"use strict";r.d(t,"a",function(){return l});var s=r("lOuq"),i=r.n(s),a=r("aUYq"),o=r.n(a);function n(e){var t=(""+e).split("e"),r=(t[0].split(".")[1]||"").length-(+t[1]||0);return r>0?r:0}function c(e){var t=""+e;return-1===t.indexOf("e")?+t.replace(".",""):+e*Math.pow(10,n(e))}function d(e){return(+e>o.a||+e<i.a)&&(console.warn(e+" is beyond boundary when transfer to integer, the results may not be accurate"),!0)}function l(e,t){for(var r=arguments.length,s=Array(r>2?r-2:0),i=2;i<r;i++)s[i-2]=arguments[i];if(s.length>0)return l(l(e,t),s[0],s.slice(1));var a=c(e)*c(t);return d(a),a/Math.pow(10,n(e)+n(t))}},"w/NI":function(e,t){}});
\ No newline at end of file
webpackJsonp([5],{"/8q3":function(e,t,r){r("20tZ"),e.exports=-9007199254740991},"/ycp":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={data:function(){return{priceType:{channelFromKey:"computer",companyId:this.$store.state.companyId,groupType:0}}},components:{TheDrawerComponents:r("H62i").a},methods:{dianji:function(){this.$refs.mychild.ticketIssue(!0)}},created:function(){}},i={render:function(){var e=this.$createElement,t=this._self._c||e;return t("TheDrawerComponents",{ref:"mychild",attrs:{priceType:this.priceType}},[t("button",{on:{click:this.dianji}},[this._v("出票")])])},staticRenderFns:[]};var a=r("C7Lr")(s,i,!1,function(e){r("4IdM")},null,null);t.default=a.exports},"20tZ":function(e,t,r){var s=r("uSC2");s(s.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"4IdM":function(e,t){},"6yUe":function(e,t,r){r("GLtp"),e.exports=9007199254740991},AUUs:function(e,t,r){"use strict";(function(e){var s=r("aA9S"),i=r.n(s),a=r("3cXf"),o=r.n(a),n=r("4YfN"),c=r.n(n),d=r("8p6T"),l=r("zat1"),u=r("GYc6"),h=r("cxdB"),p=r("eeyJ"),y=r("GZf/"),m=r("hG4X"),f=r("oaxN"),v=r("RwQt"),b=r("nBy1"),g=r("uRfC"),P=r("bSIt");t.a={props:["priceType"],data:function(){return{saleChangePrice:!0,extraServers:[],showServer:!1,fieldsList:[],saleType:"",saleTypeList:[],isLoading:!0,haomiao:6e5,timess:null,TeamTickets:!1,time:null,custom:"",ChannelName:[],Allchannels:[],selectChannel:{},SelectChannelsList:[],totalAmount:0,displaySetup:!1,readonly:!0,border:0,phoneshow:!1,authshow:!1,maxshow:!1,tickshow:!1,index:0,tourGuide:{},payModelList:[],obj:{order:{mergerOrder:(0===this.priceType.groupType?JSON.parse(localStorage.getItem("mergeOrderStatus0")):JSON.parse(localStorage.getItem("mergeOrderStatus1")))||0,patchOrder:0,channelOrderId:"",carCode:"",leaderName:"",leaderId:"",orderCheckDate:"",buyNum:1,salePricePayTotal:0,companyId:this.$store.state.companyId,saleId:"",payType:"0",salePricePayedTotal:"",playDateFrom:"",subscribeDateFrom:"",channelId:"",saleCheckId:"",saleCheckMobile:"",payTypeCode:null},visitors:[]},pageTotal:0,pageshow:!1,product:{saleType:"",notStoreVisible:0,date:this.$commonJs.today(),pageIndex:1,pageSize:18,priceTypeId:"t5",batchDateFrom:this.$commonJs.today()+" 00:00:00",batchDateTo:this.$commonJs.today()+" 23:59:59",channelId:"",deBug:!0},prise:"",oldPrise:"",products:[],products2:[],PrinterList:[],printdata:"",allnum:"",succ:"",todaynum:0,todaymoney:0,newnumm:[],printModel:[],prinmode:JSON.parse(this.$store.state.config).printId,printModelObj:{companyId:this.$store.state.companyId,deviceType:this.$store.state.deviceType,deviceId:this.$store.state.deviceId,configs:[{configKey:"printId",configValue:JSON.parse(this.$store.state.config).printId}]},discounts:{},condition:!0,isShowQrcode:!1,qrcodeContent:"",waitPayStatusTips:"正在等待支付...",requestTimer:null,orderInfo:null,isShowScanningGun:!1,isCancelOrder:!1}},methods:c()({},Object(P.b)(["updateTourGuide"]),{closeServer:function(){this.showServer=!1},changeS:function(){var e=this;this.saleType="",this.product.notStoreVisible?this.$confirm("此操作将永久:不会排号,不能过闸,不会扣库存,是否继续?","提示",{cancelButtonText:"取消",confirmButtonText:"确定",type:"warning"}).then(function(){e.obj.order.patchOrder=1,e.getproduct(),e.$message({type:"success",message:"成功!"})}).catch(function(){e.obj.order.patchOrder=0,e.product.notStoreVisible=0,e.getproduct(),e.$message({type:"info",message:"已取消删除"})}):(this.obj.order.patchOrder=0,this.obj.order.playDateFrom="",this.getproduct())},cccc:function(){this.obj.visitors=[],this.updateTourGuide({}),1===this.priceType.groupType&&1===this.discounts.saleGroupLeader?this.draw():this.TeamTickets=!0},draw:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t in this.tourGuide=e,console.log(this.tourGuide),this.TeamTickets=!1,e)this.obj.order[t]=e[t];this.ticketIssue(!1)},datas:function(e){this.TeamTickets=e},data:function(e){this.displaySetup=e},mergerOrderChange:function(e){this.clearInter(),0===this.priceType.groupType?localStorage.setItem("mergeOrderStatus0",e):localStorage.setItem("mergeOrderStatus1",e)},getPrintModel:function(){var e=this;this.axios.post(this.getProductUrl("print/query"),{companyId:this.$store.state.companyId}).then(function(t){"00"===t.data.code&&(e.printModel=t.data.data)})},model:function(e){var t=this;this.printModelObj.configs[0].configValue=e,this.axios.post(this.getSystem("config/save"),this.printModelObj).then(function(e){"00"==e.data.code&&(t.$message({message:"选择成功",type:"success"}),t.$commonJs.printModel(e.data.data,t))})},selectChannelChange:function(e){this.clearInter(),this.saleType="",this.obj.order.channelOrderId="",this.custom="";var t=this.Allchannels.filter(function(t,r){return t.priceTypeId===e});this.selectChannel=t[0]},handleSelectcustom:function(e){this.obj.order.channelOrderId="",this.obj.order.channelId=e.channelId||"",this.product.channelId=e.channelId||"",this.saleType="",this.getproduct()},querySearchAsynccustom:function(e,t){var r=this;e||(this.obj.order.channelId="",this.product.channelId="");var s=0===this.ChannelName.length?this.Allchannels[0].channels:this.ChannelName[0].channels;s.forEach(function(e,t){r.$set(e,"value",e.companyName)});var i=e?s.filter(this.createStateFiltercustom(e)):s;clearTimeout(this.time),this.time=setTimeout(function(){t(i)},500*Math.random())},createStateFiltercustom:function(e){return function(t){return-1!==t.value.toLowerCase().indexOf(e.toLowerCase())}},gai:function(e){this.obj.order.salePricePayedTotal=e.target.value,this.obj.order.salePriceTotal=e.target.value},gaiprise:function(e){e?(this.readonly=!1,this.border="1px solid #cccccc"):(this.readonly=!0,this.border=0)},setVisitorField:function(e,t,r,s){var i=(e.checkField||{})[r]||{};(t[i.fieldId]=s,i.fieldInput)?t[i.fieldInput]=s:(t.fields=t.fields||[]).push({fieldId:i.fieldId,fieldValue:s})},initCheckField:function(e){var t=e.fields||[];if(null==e.checkField){for(var r={},s=0;s<t.length;s++){var i=t[s]||{};0!=i.inputType&&(r[i.fieldId]=i,i.fieldInput&&(r[i.fieldInput]=i))}e.checkField=r}},checkVistorField:function(e,t){return this.initCheckField(e),((e.checkField||{})[t]||{}).inputType||0},checkMobileInput:function(e){return this.checkVistorField(e,"visitorMobile")},checkIdInput:function(e){return this.checkVistorField(e,"visitorCardId")},checkVisitorNum:function(e,t,r){this.initCheckField(e);var s=0;switch(r=r||[],e.saleCheckId||0){case 1:s=1;break;case 2:s=t}return r.length>=s},checkCardRepeat:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.initCheckField(e);for(var r=(e.fields||[]).filter(function(e){return e.inputType>0}),s={},i=0;i<t.length;i++)for(var a=t[i],o=0;o<r.length;o++){var n=r[o],c=a[n.fieldInput||n.fieldId];if(0==n.fieldType&&c){var d=s[n.fieldId]=s[n.fieldId]||{};if(d[c])return this.$message.error("证件:"+n.fieldName+c+"重复"),!1;d[c]=!0}}return!0},checkVisitorOrder:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!this.checkVisitorNum(e,t,r))return this.$message.error("请输入游客信息"),!1;for(var s=(e.fields||[]).filter(function(e){return e.inputType>0}),i={},a=0;a<r.length;a++)for(var o=r[a]||{},n=0;n<s.length;n++){var c=s[n]||{},d=o[c.fieldInput||c.fieldId];if(0==c.fieldType&&!d){var l=i[c.fieldId]=i[c.fieldId]||{};if(l[d])return this.$message.error("证件"+c.fieldName+d+"重复"),!1;l[d]=!0}if(1==c.inputType&&!d&&0!==d)return this.$message.error("请输入"+c.fieldName),!1}return!0},addVisitor:function(e){var t=this,r=this.obj||{},s=r.order||{},a=r.visitors||[];e.visitorMobile=e.visitorMobile||r.visitorPhone,a.unshift(e),this.checkCardRepeat(this.fieldsList,a)?this.checkVisitorNum(this.fieldsList,s.buyNum,a)&&this.checkVisitorOrder(this.fieldsList,s.buyNum,a)&&(this.obj.childOrders=[],window.serverList.length>0&&window.serverList.forEach(function(e,r){var s=JSON.parse(o()(t.obj.order)),a={buyNum:e.buyNum,saleId:e.saleId,salePricePayTotal:Object(g.a)(e.buyNum,e.salePricePay),salePricePayedTotal:Object(g.a)(e.buyNum,e.salePricePay),salePriceTotal:Object(g.a)(e.buyNum,e.salePricePay)},n={order:i()(s,a)};t.obj.childOrders.push(n)})):a.pop()},chck:function(e,t,r){var s=this;this.clearInter(),this.fieldsList=t,this.gaiprise(t.saleChangePrice),this.discounts=t,this.index=r.batchId+r.saleId,this.obj.order.channelOrderId="",this.obj.order.salePricePayTotal=Object(g.a)(t.salePricePay,this.obj.order.buyNum),this.obj.order.salePricePayedTotal=Object(g.a)(t.salePricePay,this.obj.order.buyNum),this.obj.order.salePriceTotal=Object(g.a)(t.salePricePay,this.obj.order.buyNum),this.obj.order.saleCheckId=t.saleCheckId,this.obj.order.saleCheckMobile=t.saleCheckMobile,this.prise=t.salePricePay,this.oldPrise=t.salePricePay,t.discountsList.length>0&&t.discountsList.forEach(function(e){1==e.buyNum&&(s.obj.order.salePricePayedTotal=Object(g.a)(e.salePricePay,s.obj.order.buyNum),s.obj.order.salePricePayTotal=Object(g.a)(e.salePricePay,s.obj.order.buyNum),s.obj.order.salePriceTotal=Object(g.a)(e.salePricePay,s.obj.order.buyNum),s.prise=e.salePricePay,s.oldPrise=e.salePricePay)}),this.obj.order.saleId=t.saleId,this.obj.order.subscribeDateFrom=r.batchDateFrom,this.product.date===this.$commonJs.today()?this.obj.order.playDateFrom=r.batchDateFrom:this.obj.order.playDateFrom=this.product.date+" 00:00:00"},dates:function(e){this.product.batchDateFrom=e+" 00:00:00",this.product.batchDateTo=e+" 23:59:59",this.saleType="",this.getproduct()},add:function(e){var t=this;if(this.clearInter(),this.obj.order.channelOrderId="",0!=this.discounts.discountsList.length){this.discounts.discountsList.forEach(function(r){e>=r.buyNum&&(t.prise=r.salePricePay,t.obj.order.salePricePayTotal=Object(g.a)(e,t.prise),t.obj.order.salePricePayedTotal=Object(g.a)(e,t.prise),t.obj.order.salePriceTotal=Object(g.a)(e,t.prise))});var r=Math.min.apply(Math,this.discounts.discountsList.map(function(e){return e.buyNum}));e<r&&(this.obj.order.salePricePayTotal=Object(g.a)(e,this.oldPrise),this.obj.order.salePricePayedTotal=Object(g.a)(e,this.oldPrise),this.obj.order.salePriceTotal=Object(g.a)(e,this.oldPrise))}else this.obj.order.salePricePayTotal=Object(g.a)(e,this.prise),this.obj.order.salePricePayedTotal=Object(g.a)(e,this.prise),this.obj.order.salePriceTotal=Object(g.a)(e,this.prise)},pagess:function(e){this.product.pageIndex=e,this.pageData()},pageData:function(){var e=this;this.axios.post(this.getStoreUrl("time/querySale"),this.product).then(function(t){"00"==t.data.code&&(e.products=t.data.data.list,e.pageshow=!0,e.products.forEach(function(t){t.scenes.forEach(function(t){t.myId=e.$commonJs.randoms()})}))})},dataOrder:function(){return window.order=window.order||{},window.order},interval:function(){var e=this;!function t(){e.timess=setTimeout(function(){e.SoTheChannel(),t()},e.haomiao)}()},clearInter:function(){clearTimeout(this.timess),this.interval()},ticketIssue:function(e){var t=this,r=this;if(this.clearInter(),this.condition)if(!this.product.notStoreVisible||this.obj.order.playDateFrom){e&&(this.$store.state.tourGuide={});var s=this.dataOrder();s.visitorPhone="",s.sale=this.fieldsList,s.orderObj=this.obj,s.that=this;var i=this.obj.order,a=i.companyId,n=i.saleId;i.salePricePayTotal;if(""!=a&&""!=n)if(JSON.parse(this.$store.state.config).printer){if(this.obj.order.channelOrderId=this.$commonJs.randoms(),sessionStorage.setItem("phonObjs",o()(this.obj)),0==this.products.length)return;var c=this.products.findIndex(function(e){return t.obj.order.saleId==e.saleId});if(this.extraServers=JSON.parse(o()(this.products[c].services)),window.serverList=this.products[c].services,this.extraServers.length>0)return void(this.showServer=!0);if(0===this.checkMobileInput(this.fieldsList)||this.obj.visitors.length)if(this.checkVisitorNum(this.fieldsList,this.obj.order.buyNum,this.obj.visitors)){!function e(){if(t.condition=!1,"6"==t.obj.order.payType){if(!t.obj.order.payTypeCode){console.log("胖丁扫码枪"),t.isShowScanningGun=!0;var s=JSON.parse(t.$store.state.config);return Scan.init(s.HardConfig,function(e){r.isShowScanningGun&&r.$message.error(e)},function(t,s){r.isShowScanningGun&&(r.obj.order.payTypeCode||(r.obj.order.payTypeCode=s.ScanCode,r.waitPayStatusTips="扫码成功",console.log(r.obj),e()))},1),!1}t.waitPayStatusTips="正在等待支付..."}!function e(){t.axios.post(t.getOrderUrl("order/save"),t.obj,{__retryCount:3}).then(function(e){t.condition=!0;var r=e.data||{};if(r.code,"00"!=r.code)return t.obj.order.payTypeCode=null,t.$message.error(r.message);var s=e.data.data,i=s.order;t.orderInfo=s.order;var a=s.pays[0]||null;if("5"==t.obj.order.payType){if(!a)return t.$message.error(e.data.message);var o=JSON.parse(a.channelPayInfo);return t.qrcodeContent=o.PayCode,t.isShowQrcode=!0,void t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowQrcode")}if("6"==t.obj.order.payType)return a?(t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowScanningGun"),!1):t.$message.error(e.data.message);t.obj.visitors=[],t.obj.visitorPhone="",t.authshow=!1,t.printTickets(r)}).catch(function(r){t.condition=!0,t.$message.error(err),setTimeout(function(){e()},3e3)})}()}()}else this.authshow=!0;else this.phoneshow=!0}else this.$message.error("打印机名为空,请配置打印机");else this.$message.error("当前未选择票类型,不能出票")}else this.$message.error("请选择补单时间!")},ticketIssue2:function(e){var t=this;this.clearInter();var r=this;if(this.condition)if(!this.product.notStoreVisible||this.obj.order.playDateFrom){e&&(this.$store.state.tourGuide={});var s=this.dataOrder();s.visitorPhone="",s.sale=this.fieldsList,s.orderObj=this.obj,s.that=this;var a=this.obj.order,n=a.companyId,c=a.saleId;a.salePricePayTotal;if(""!=n&&""!=c)if(JSON.parse(this.$store.state.config).printer)if(this.obj.order.channelOrderId=this.$commonJs.randoms(),sessionStorage.setItem("phonObjs",o()(this.obj)),0===this.checkMobileInput(this.fieldsList)||this.obj.visitors.length)if(this.checkVisitorNum(this.fieldsList,this.obj.order.buyNum,this.obj.visitors)){!function e(){if(t.condition=!1,"6"==t.obj.order.payType){if(!t.obj.order.payTypeCode){console.log("胖丁扫码枪"),t.isShowScanningGun=!0;var s=JSON.parse(t.$store.state.config);return Scan.init(s.HardConfig,function(e){r.isShowScanningGun&&r.$message.error(e)},function(t,s){r.isShowScanningGun&&(r.obj.order.payTypeCode||(r.obj.order.payTypeCode=s.ScanCode,r.waitPayStatusTips="扫码成功",console.log(r.obj),e()))},1),!1}t.waitPayStatusTips="正在等待支付..."}t.obj.childOrders=[],window.serverList.length>0&&window.serverList.forEach(function(e,r){var s=JSON.parse(o()(t.obj.order)),a={buyNum:e.buyNum,saleId:e.saleId,salePricePayTotal:Object(g.a)(e.buyNum,e.salePricePay),salePricePayedTotal:Object(g.a)(e.buyNum,e.salePricePay),salePriceTotal:Object(g.a)(e.buyNum,e.salePricePay)},n={order:i()(s,a)};t.obj.childOrders.push(n)});!function e(){t.axios.post(t.getOrderUrl("order/save"),t.obj,{__retryCount:3}).then(function(e){t.condition=!0;var r=e.data||{};if(r.code,"00"!=r.code)return t.obj.order.payTypeCode=null,t.$message.error(r.message);var s=e.data.data,i=s.order;t.orderInfo=s.order;var a=s.pays[0]||null;if("5"==t.obj.order.payType){if(!a)return t.$message.error("订单返回数据格式错误,不包含支付信息");var o=JSON.parse(a.channelPayInfo);return t.qrcodeContent=o.PayCode,t.isShowQrcode=!0,void t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowQrcode")}if("6"==t.obj.order.payType)return a?(t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowScanningGun"),!1):t.$message.error("订单返回数据格式错误,不包含支付信息");t.obj.visitors=[],t.obj.visitorPhone="",t.authshow=!1,t.printTickets(r)}).catch(function(r){t.condition=!0,t.$message.error(err),setTimeout(function(){e()},3e3)})}()}()}else this.authshow=!0;else this.phoneshow=!0;else this.$message.error("打印机名为空,请配置打印机");else this.$message.error("当前未选择票类型,不能出票")}else this.$message.error("请选择补单时间!")},PrintError:function(e){var t=this;this.succ=!0,setTimeout(function(){t.tickshow=!1,t.succ=!1},100);var r=e&&(e.msg||e.Msg)||e;alert(r)},__Printed:function(){var e=this;this.succ=!0,window.order={},this.obj.order=this.obj.order||{},this.obj.order.buyNum=1,this.obj.order.channelOrderId="",this.obj.visitorPhone="",this.obj.visitors=[],setTimeout(function(){e.tickshow=!1,e.maxshow=!1,e.succ=!1},1e3),this.gettoday(),this.getproduct()},__PrintIteming:function(e){this.tickshow=!0,this.printdata=e.Data.Pos,this.allnum=e.Data.Count},loadPrint:function(){var t=this;function r(r){r=r||[];var s=[];e.each(r,function(e,t){s.push({id:t,name:t})}),t.Rendering(s)}try{Base.getHard().getPrinter(function(e){r(e)},function(e){r()})}catch(e){r()}},Rendering:function(e){0!=e.length?this.PrinterList=e:this.PrinterList=[{name:"暂无打印机",id:""},{name:"Microsoft XPS Document Writer",id:"Microsoft XPS Document Writer"}]},closephone:function(e){this.phoneshow=e},phonOk:function(){this.phoneshow=!1,this.authshow=!0},auclose:function(){this.obj.visitors=[],this.obj.visitorPhone="",this.obj.order.payTypeCode=null,this.authshow=!1},augoup:function(){this.authshow=!1,this.phoneshow=!0,this.obj.visitors=[]},ticket:function(e){this.maxshow=!1,this.tickshow=!0},fanhui:function(){this.maxshow=!1,this.authshow=!0},tik:function(e){this.tickshow=!0,this.authshow=!1},manual:function(){this.authshow=!1,this.maxshow=!0},maxclose:function(){this.maxshow=!1,this.obj.visitors=[],this.obj.visitorPhone="",this.obj.order.payTypeCode=null},tickclose:function(){this.tickshow=!1},getproduct:function(){var e=this;this.clearInter(),this.axios.post(this.getStoreUrl("time/querySale"),this.product,{isLoading:this.isLoading}).then(function(t){if("00"!=t.data.code)return!1;if(console.log(t.data.data.list),0==t.data.data.list.length)return e.saleChangePrice=!1,e.products=[],e.products2=[],e.$message.error("暂无当前票种!"),!1;e.saleChangePrice=t.data.data.list.saleChangePrice;var r=t.data.data.list.filter(function(e){return 1!=e.saleServiceType}),s=null,i=((e.obj||{}).order||{}).saleId||"";if(e.products=r.filter(function(e,t){var r=(e.scenes||[]).length>0;return!r||i!=e.saleId&&null!=s||(s=e),r}),e.products2=r.filter(function(e,t){if(0!==!e.scenes.length)return e}),e.fieldsList=r.find(function(e,t){return e.scenes.length>0}),0!=e.products.length&&(e.extraServers=s.services,window.serverList=s.services,e.obj.order.saleId=s.saleId,e.discounts=s,e.obj.order.salePricePayedTotal=s.salePricePay,e.obj.order.salePricePayTotal=Object(g.a)(s.salePricePay,e.obj.order.buyNum),e.gaiprise(s.saleChangePrice),e.obj.order.salePriceTotal=s.salePricePay,e.obj.order.saleCheckId=s.saleCheckId,e.obj.order.saleCheckMobile=s.saleCheckMobile,e.prise=s.salePricePay,e.oldPrise=s.salePricePay,s.discountsList.length>0&&s.discountsList.forEach(function(t){1==t.buyNum&&(e.obj.order.salePricePayedTotal=t.salePricePay,e.obj.order.salePricePayTotal=Object(g.a)(t.salePricePay,e.obj.order.buyNum),e.obj.order.salePriceTotal=t.salePricePay,e.prise=t.salePricePay,e.oldPrise=t.salePricePay)}),e.pageshow=!0,e.pageTotal=t.data.data.pageTotal,0!=s.scenes.length)){e.obj.order.subscribeDateFrom=s.scenes[0].batchDateFrom,e.product.date==e.$commonJs.today()?e.obj.order.playDateFrom=s.scenes[0].batchDateFrom:e.obj.order.playDateFrom=e.product.date+" 00:00:00";var a=s.scenes[0];e.index=a.batchId+a.saleId}})},gettoday:function(){var e=this;this.axios.post(this.getOrderUrl("order/getDay"),{pageSize:1}).then(function(t){"00"==t.data.code&&(e.todaynum=t.data.main.buyNum,e.todaymoney=t.data.main.salePricePayTotal,e.newnumm=t.data.data.list)})},chong:function(e){var t=this;if(this.condition){var r={orderId:e.orderId,all:!0};""==this.obj.order.printer?this.$message.error("请选择打印机"):(this.condition=!1,this.axios.post(this.getOrderUrl("order/load"),r).then(function(e){var r=e.data||{};t.$commonJs.printRes(r,t,Base,t.PrintError,t.__Printed,t.__PrintIteming),t.condition=!0}))}},SoTheChannel:function(){var e=this;0!==this.products.length&&(this.isLoading=!1),this.axios.post(this.getSystem("channel/windowList"),this.priceType,{isLoading:this.isLoading}).then(function(t){"00"===t.data.code?(e.Allchannels=t.data.data,e.selectChannel=e.Allchannels[0]):e.$message.error(t.data.message)})},initTicketType:function(){var e=this,t={companyId:this.companyId,enumType:"saleType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),t).then(function(t){"00"==t.data.code?e.saleTypeList=t.data.data:e.$message.error(t.data.message)})},chooseTicket:function(e){this.clearInter(),this.products2.length>0&&(this.products=this.products2.filter(function(t){return t.saleType==e}))},selectChannelsItemChange:function(e){var t=this;this.clearInter(),this.obj.order.channelId=e,this.product.channelId=e,this.getproduct();var r=this.SelectChannelsList.filter(function(t){return t.channelId==e});if(0==r.length)return this.payModelList=[],void(this.obj.order.payType="");var s=r[0];if(this.payModelList=s.payTypes,0!=this.payModelList.length){if(0==this.payModelList.filter(function(e){return e.payedType==t.obj.order.payType}).length)this.obj.order.payType=this.payModelList[0].payedType;else this.obj.order.payType=this.selectChannel.payedType+"",-1===this.payModelList.findIndex(function(e){return e.payedType===t.obj.order.payType})&&(this.obj.order.payType=this.payModelList[0].payedType);this.totalAmount=s.moneyVo.totalAmount}else this.obj.order.payType=""},selectPayModelChange:function(e){this.clearInter(),this.obj.order.payType=e},openScanQrcodeHandle:function(e,t){var r=this;if(window.clearTimeout(this.requestTimer),!this.isCancelOrder&&e){var s={order:e};this.axios.post(this.getOrderUrl("order/wait"),s,{isLoading:!1}).then(function(s){var i=s.data;if("00"!=i.code)return r.$message.error(i.message);r[t]&&((i.data.order||{}).orderStatus<4?r.requestTimer=window.setTimeout(function(){r.openScanQrcodeHandle(e,t)},500):(window.clearTimeout(r.requestTimer),r.waitPayStatusTips="支付完成",r.isShowQrcode=!1,r.isShowScanningGun=!1,r.waitPayStatusTips="正在等待支付...",r.printTickets(i)))}).catch(function(s){window.clearTimeout(r.requestTimer),r.$message.error(s),r.requestTimer=window.setTimeout(function(){r.openScanQrcodeHandle(e,t)},500)})}},closeScanQrcodeHandle:function(){var e=this;if(this.condition=!0,this.isShowQrcode=!1,this.isShowScanningGun=!1,this.isCancelOrder=!0,window.clearTimeout(this.requestTimer),this.orderInfo){var t={order:{orderId:this.orderInfo.orderId,companyId:this.orderInfo.companyId}};this.axios.post(this.getOrderUrl("order/cancel"),t).then(function(t){e.isCancelOrder=!1;var r=t.data;if("00"!=r.code)return e.$message.error(r.message);e.orderInfo=null,e.obj.visitors=[],e.obj.visitorPhone=""}).catch(function(t){console.log("请求失败"),window.clearTimeout(e.requestTimer),e.requestTimer=window.setTimeout(function(){e.closeScanQrcodeHandle()},1e3)},1e3)}},closeScanningGunHandle:function(){this.isShowScanningGun=!1,this.obj.order.payTypeCode=null,this.condition=!0,this.waitPayStatusTips="正在等待支付...",this.closeScanQrcodeHandle()},printTickets:function(e){this.obj.visitors=[],this.obj.visitorPhone="",this.obj.order.payTypeCode=null,this.orderInfo=null,this.$commonJs.printRes(e,this,Base,this.PrintError,this.__Printed,this.__PrintIteming)},closePayQrcodeHandle:function(){console.log("关闭"),this.isShowScanningGun=!1,this.isShowQrcode=!1,this.condition=!0,this.waitPayStatusTips="正在等待支付...",window.clearTimeout(this.requestTimer)},scanDevice:function(){}}),components:{phone:d.a,authent:l.a,maxual:u.a,ticketIssue:h.a,pages:y.a,localSettings:m.a,TeamTicket:f.a,breadNav:v.default,plusServer:p.a,scanQrcode:b.a},created:function(){this.SoTheChannel(),this.interval(),this.loadPrint(),this.gettoday(),this.getPrintModel(),this.initTicketType()},mounted:function(){},watch:{selectChannel:function(e){var t=this;if(this.SelectChannelsList=e.channels,this.product.priceTypeId=e.priceTypeId,this.obj.order.payType=e.payedType+"",0==this.SelectChannelsList.length)return this.products=[],void(this.products2=[]);var r=this.SelectChannelsList[0];this.payModelList=r.payTypes,-1===this.payModelList.findIndex(function(e){return e.payedType===t.obj.order.payType})&&(this.obj.order.payType=this.payModelList[0].payedType),this.custom=r.channelId,this.product.channelId=r.channelId,this.obj.order.channelId=r.channelId,this.getproduct(),this.totalAmount=r.moneyVo.totalAmount}},beforeDestroy:function(){clearTimeout(this.timess),this.timess=null}}}).call(t,r("SXXC"))},GLtp:function(e,t,r){var s=r("uSC2");s(s.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},H62i:function(e,t,r){"use strict";var s=r("AUUs"),i={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"bigBox",on:{click:function(t){return e.clearInter()}}},[r("breadNav",[e._v("窗口售票")]),e._v(" "),r("div",{staticClass:"tab"},[r("div",[r("p",[e._v("最新记录")]),e._v(" "),r("p",[r("span",[e._v("今日售票量:"),r("i",[e._v(e._s(e.todaynum))]),e._v("张")]),r("span",[e._v("金额:"),r("i",[e._v(e._s(e.todaymoney))]),e._v("元")])])]),e._v(" "),e._l(e.newnumm,function(t,s){return r("div",{key:s},[r("p",[e._v(e._s(t.productName))]),e._v(" "),r("p",[e._v(e._s(t.buyNum)+"张")]),e._v(" "),r("p",[e._v(e._s(t.salePricePayTotal)+"元")]),e._v(" "),r("p",[e._v(e._s(t.createDate))]),e._v(" "),r("p",{staticClass:"chon",on:{click:function(r){return e.chong(t)}}},[e._v("重新打印")])])})],2),e._v(" "),r("div",{staticClass:"box"},[r("div",[r("div",{staticClass:"tit query-row"},[r("div",{staticClass:"query-item"},[r("span",[e._v("时间:")]),e._v(" "),r("el-date-picker",{attrs:{"prefix-icon":"none",type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},on:{change:e.dates},model:{value:e.product.date,callback:function(t){e.$set(e.product,"date",t)},expression:"product.date"}})],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",[e._v("渠道类型:")]),e._v(" "),r("el-select",{attrs:{placeholder:"请选择",filterable:""},on:{change:e.selectChannelChange},model:{value:e.product.priceTypeId,callback:function(t){e.$set(e.product,"priceTypeId",t)},expression:"product.priceTypeId"}},e._l(e.Allchannels,function(e,t){return r("el-option",{key:t,attrs:{label:e.priceTypeName,value:e.priceTypeId}})}),1)],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",[e._v("渠道名称:")]),e._v(" "),r("el-select",{attrs:{placeholder:"请选择",filterable:""},on:{change:e.selectChannelsItemChange},model:{value:e.custom,callback:function(t){e.custom=t},expression:"custom"}},e._l(e.SelectChannelsList,function(e){return r("el-option",{key:e.channelId,attrs:{label:e.companyName,value:e.channelId}})}),1)],1),e._v(" "),r("div",{staticClass:"query-item"},[r("el-checkbox",{attrs:{"true-label":1,"false-label":0},on:{change:e.changeS},model:{value:e.product.notStoreVisible,callback:function(t){e.$set(e.product,"notStoreVisible",t)},expression:"product.notStoreVisible"}},[e._v(" "+e._s(e.obj.order.patchOrder?"补单时间":"补单"))]),e._v(" "),e.obj.order.patchOrder?r("el-date-picker",{attrs:{"prefix-icon":"none",type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.obj.order.playDateFrom,callback:function(t){e.$set(e.obj.order,"playDateFrom",t)},expression:"obj.order.playDateFrom"}}):e._e()],1),e._v(" "),r("div",{staticClass:"chu query-item"},[e._t("default"),e._v(" "),r("button",{staticStyle:{"margin-left":"0.1rem"},on:{click:function(t){e.displaySetup=!0}}},[e._v("\n 设置\n ")])],2)]),e._v(" "),r("div",{staticClass:"num query-row"},[r("div",{staticClass:"query-item"},[r("span",[e._v("数量:")]),e._v(" "),r("el-input-number",{attrs:{min:1,label:"描述文字"},on:{change:e.add},model:{value:e.obj.order.buyNum,callback:function(t){e.$set(e.obj.order,"buyNum",t)},expression:"obj.order.buyNum"}})],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",{staticStyle:{display:"inline-block"}},[e._v("总票价:   ")]),e._v(" "),e.saleChangePrice?r("el-input",{staticClass:"no-border",attrs:{type:"text"},model:{value:e.obj.order.salePricePayTotal,callback:function(t){e.$set(e.obj.order,"salePricePayTotal",t)},expression:"obj.order.salePricePayTotal"}}):r("input",{directives:[{name:"model",rawName:"v-model",value:e.obj.order.salePricePayTotal,expression:"obj.order.salePricePayTotal"}],staticClass:"no-border",style:{border:e.border,paddingLeft:"10px"},attrs:{readonly:e.readonly},domProps:{value:e.obj.order.salePricePayTotal},on:{change:function(t){return e.gai(t)},input:function(t){t.target.composing||e.$set(e.obj.order,"salePricePayTotal",t.target.value)}}}),e._v("\n\n ")],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",[e._v("结算方式:")]),e._v(" "),r("el-select",{attrs:{placeholder:"请选择结算方式"},on:{change:e.selectPayModelChange},model:{value:e.obj.order.payType,callback:function(t){e.$set(e.obj.order,"payType",t)},expression:"obj.order.payType"}},e._l(e.payModelList,function(e){return r("el-option",{key:e.payedType,attrs:{label:e.payedTypeName,value:e.payedType}})}),1)],1),e._v(" "),r("div",{staticClass:"query-item",staticStyle:{width:"4rem"}},[r("p",{staticStyle:{display:"inline"}},[e._v("\n 余额:"),r("b",{staticStyle:{"font-weight":"bold"}},[e._v(e._s(e.totalAmount))]),e._v(" 元\n ")]),e._v(" "),r("p",{staticStyle:{display:"inline","margin-left":"0.3rem"}},[r("el-checkbox",{attrs:{"true-label":1,"false-label":0},on:{change:e.mergerOrderChange},model:{value:e.obj.order.mergerOrder,callback:function(t){e.$set(e.obj.order,"mergerOrder",t)},expression:"obj.order.mergerOrder"}},[e._v("单张出票")])],1)])])])]),e._v(" "),r("div",{staticClass:"allbox"},[r("div",{staticClass:"piao"},[r("p",{staticStyle:{"align-items":"center",display:"flex","margin-bottom":"0.1rem"}},[r("span",[e._v(" 票种: ")]),e._v(" "),r("el-select",{on:{change:function(t){return e.chooseTicket(e.product.saleType)}},model:{value:e.product.saleType,callback:function(t){e.$set(e.product,"saleType",t)},expression:"product.saleType"}},[r("el-option",{attrs:{label:"--所有--",value:""}}),e._v(" "),e._l(e.saleTypeList,function(e){return r("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),r("div",e._l(e.products,function(t,s){return r("div",{key:s},e._l(t.scenes,function(s,i){return r("div",{key:i,class:{dan:!0,hui:e.index==s.batchId+s.saleId},on:{click:function(r){return e.chck(i,t,s)}}},[r("div",[r("div",[e._v("\n "+e._s(t.productName)+"\n "),r("p",[0!=t.scenes.length?r("span",[e._v("\n "+e._s(s.batchDateFrom.slice(10,s.batchDateFrom.length-3))+"-"+e._s(s.batchDateTo.slice(10,s.batchDateTo.length-3))+"\n ")]):e._e()])]),e._v(" "),r("div",[e._v("¥"+e._s(t.salePricePay))])]),e._v(" "),r("p",{staticStyle:{display:"flex","justify-content":"space-between","padding-right":"0.2rem"}},[r("span",[e._v(" 库存:"+e._s(s.hasNum)+" ")]),e._v(" "),r("span",{staticStyle:{color:"#666666","font-size":"0.1rem"}},[e._v("\n "+e._s(t.saleTypeName)+"\n ")])])])}),0)}),0)]),e._v(" "),r("pages",{directives:[{name:"show",rawName:"v-show",value:e.pageshow,expression:"pageshow"}],attrs:{pagesize:e.product.pageSize,total:e.pageTotal},on:{page:e.pagess}})],1),e._v(" "),e.phoneshow?r("phone",{attrs:{tourGuide:e.tourGuide},on:{closed:e.closephone,phonOk:e.phonOk}}):e._e(),e._v(" "),e.authshow?r("authent",{attrs:{tourGuide:e.tourGuide,buyNum:e.obj.order.buyNum,fieldsList:e.fieldsList},on:{closed:e.auclose,goup:e.augoup,manual:e.manual,tik:e.tik}}):e._e(),e._v(" "),e.maxshow?r("maxual",{attrs:{fieldsList:e.fieldsList},on:{ticket:e.ticket,closed:e.maxclose}}):e._e(),e._v(" "),e.tickshow?r("ticketIssue",{attrs:{succ:e.succ},on:{closed:e.tickclose}},[r("span",{attrs:{slot:"pag"},slot:"pag"},[e._v(e._s(e.printdata))]),e._v(" "),r("span",{attrs:{slot:"num"},slot:"num"},[e._v(e._s(e.allnum))])]):e._e(),e._v(" "),e.displaySetup?r("localSettings",{attrs:{PrinterList:e.PrinterList,printModel:e.printModel},on:{data:e.data}}):e._e(),e._v(" "),e.TeamTickets?r("TeamTicket",{on:{datas:e.datas,draw:e.draw}}):e._e(),e._v(" "),e.showServer?r("plusServer",{attrs:{num:e.obj.order.buyNum,extraServers:e.extraServers},on:{close:function(t){return e.closeServer()}}}):e._e(),e._v(" "),r("el-dialog",{attrs:{width:"400",title:"请扫描二维码",center:"",visible:e.isShowQrcode,"close-on-click-modal":!1,"append-to-body":"","show-close":!1},on:{"update:visible":function(t){e.isShowQrcode=t},open:e.openScanQrcodeHandle,close:e.closePayQrcodeHandle}},[r("scan-qrcode",{attrs:{value:e.qrcodeContent}}),e._v(" "),r("p",{staticStyle:{"font-size":"0.18rem","text-align":"center",margin:"0.2rem 0"}},[e._v(e._s(e.waitPayStatusTips))]),e._v(" "),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"normal"},on:{click:e.closeScanQrcodeHandle}},[e._v("取消支付")])],1)],1),e._v(" "),r("el-dialog",{attrs:{width:"200",title:"胖丁扫码枪",center:"",visible:e.isShowScanningGun,"close-on-click-modal":!1,"append-to-body":"","show-close":!1},on:{"update:visible":function(t){e.isShowScanningGun=t},close:e.closePayQrcodeHandle}},[r("p",{staticStyle:{"font-size":"0.18rem","text-align":"center",margin:"0.2rem 0"}},[e._v(e._s(e.waitPayStatusTips))]),e._v(" "),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"normal"},on:{click:e.closeScanningGunHandle}},[e._v("取消支付")])],1)])],1)},staticRenderFns:[]};var a=function(e){r("HRat")},o=r("C7Lr")(s.a,i,!1,a,"data-v-f9073d9a",null);t.a=o.exports},HRat:function(e,t){},K9HK:function(e,t){},aUYq:function(e,t,r){e.exports={default:r("6yUe"),__esModule:!0}},eeyJ:function(e,t,r){"use strict";var s=r("3cXf"),i=r.n(s),a={props:["num","extraServers"],data:function(){return{numbers:0,serverList:JSON.parse(i()(window.serverList)),getPriceList:[]}},methods:{close:function(){this.$emit("close")},next:function(){var e=this;this.serverList.length>0&&this.serverList.forEach(function(t,r){t.buyNum=e.numbers}),window.serverList=this.serverList,this.$emit("close"),this.$parent.ticketIssue2(!0)},numberChange:function(){for(var e=this,t=0;t<this.getPriceList.length;t++)this.extraServers[t].salePricePay=this.getSalePricePay(this.getPriceList[t],this.numbers);for(var r=function(t){var r=e.getPriceList.findIndex(function(r){return e.serverList[t].saleId==r.saleId});e.serverList[t].salePricePay=e.getSalePricePay(e.getPriceList[r],e.numbers)},s=0;s<this.serverList.length;s++)r(s)},getSalePricePay:function(e,t){for(var r=e.salePricePay||0,s=e.discountsList||[],i=null,a=0;a<s.length;a++){var o=s[a]||{};null==o||0==o.buyNum||(null==i||o.buyNum>i.buyNum)&&o.buyNum<=t&&(i=o)}return null!=i&&(r=i.salePricePay||0),r}},mounted:function(){var e=this;this.numbers=this.num,this.getPriceList=JSON.parse(i()(this.extraServers)),window.serverList.length>0&&window.serverList.forEach(function(t,r){t.buyNum=e.numbers}),this.numberChange(),console.log(this.serverList)}},o={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"server"},[r("div",{staticClass:"serverBox"},[r("p",{staticStyle:{position:"relative"}},[e._v("\n 增加服务\n "),r("span",{staticStyle:{position:"absolute",right:"20px",top:"5px","font-size":"0.24rem",color:"#666666","font-weight":"400",cursor:"pointer"},on:{click:e.close}},[e._v("x")])]),e._v(" "),r("div",{staticClass:"serverDiv"},[r("div",e._l(e.extraServers,function(t,s){return r("p",{key:s},[r("span",{staticStyle:{display:"inline-block",width:"2.2rem"}},[e._v(e._s(t.productName))]),e._v(" "),r("span",{staticStyle:{display:"inline-block",width:"0.7rem"}},[e._v(e._s(t.salePricePay)+"元/份")]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.serverList,expression:"serverList"}],attrs:{type:"checkbox"},domProps:{value:t,checked:Array.isArray(e.serverList)?e._i(e.serverList,t)>-1:e.serverList},on:{change:[function(r){var s=e.serverList,i=r.target,a=!!i.checked;if(Array.isArray(s)){var o=t,n=e._i(s,o);i.checked?n<0&&(e.serverList=s.concat([o])):n>-1&&(e.serverList=s.slice(0,n).concat(s.slice(n+1)))}else e.serverList=a},function(t){return e.numberChange()}]}})])}),0),e._v(" "),r("div",[r("span",[e._v("购买数量:")]),e._v(" "),r("el-input-number",{attrs:{min:0},on:{change:function(t){return e.numberChange()}},model:{value:e.numbers,callback:function(t){e.numbers=t},expression:"numbers"}})],1),e._v(" "),e._m(0)]),e._v(" "),r("p",[r("a",{staticClass:"btn4",on:{click:function(t){return e.next()}}},[e._v("下一步")])])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("span",[this._v("退改规则:")]),this._v("\n 不可退\n ")])}]};var n=r("C7Lr")(a,o,!1,function(e){r("w/NI")},"data-v-1ce763d2",null);t.a=n.exports},lOuq:function(e,t,r){e.exports={default:r("/8q3"),__esModule:!0}},oaxN:function(e,t,r){"use strict";var s={data:function(){return{time:null,shenfen:"",draw:{leaderId:"",leaderName:"",orderCheckDate:"",carCode:""},list:[]}},created:function(){var e=this;this.axios.post(this.getChanel("leader/list"),{companyId:this.$store.state.companyId,companyName:this.trench,pageIndex:1,pageSize:999}).then(function(t){"00"===t.data.code&&(e.list=t.data.data.list,e.list.forEach(function(t,r){var s=t.leaderName+t.leaderNo;e.$set(t,"value",s)}),""!==e.list[0].leaderCardId&&""!==e.list[0].leaderMobile&&(e.$store.state.tourGuide=e.list[0]))})},methods:{handleSelectcustom:function(e){this.draw.leaderId=e.leaderId,this.draw.leaderName=e.leaderName,this.draw.leaderMobile=e.leaderMobile,this.draw.leaderCardId=e.leaderCardId,this.shenfen=e.leaderCardId,""!==e.leaderCardId&&""!==e.leaderMobile?this.$store.state.tourGuide=e:this.$store.state.tourGuide={}},querySearchAsynccustom:function(e,t){var r=this,s=this.list;s.forEach(function(e,t){var s=e.leaderName+e.leaderNo;r.$set(e,"value",s)});var i=e?s.filter(this.createStateFiltercustom(e)):s;clearTimeout(this.time),this.time=setTimeout(function(){t(i)},500*Math.random())},createStateFiltercustom:function(e){return function(t){return-1!==t.value.toLowerCase().indexOf(e.toLowerCase())}},daoyou:function(e){var t=this;this.list.forEach(function(e,r){e.leaderId===t.draw.leaderId&&(t.draw.leaderName=e.leaderName,t.shenfen=e.leaderCardId,""!==e.leaderCardId&&""!==e.leaderMobile?t.$store.state.tourGuide=e:t.$store.state.tourGuide={})})},youwan:function(e){this.draw.orderCheckDate=this.$commonJs.formattime(this.draw.orderCheckDate)},ticketIssue:function(){""!==this.draw.leaderId?""!==this.draw.orderCheckDate?this.$emit("draw",this.draw):this.$message.error("请选择游玩日期!"):this.$message.error("请选择导游!")},cc:function(){this.$emit("datas",!1)}}},i={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"table"},[r("div",{staticClass:"box"},[r("p",{staticClass:"p"},[r("span",[e._v("团队出票")]),e._v(" "),r("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"},on:{click:e.cc}},[r("use",{attrs:{"xlink:href":"#iconguanbi1"}})])]),e._v(" "),r("div",[r("p",[r("span",{staticClass:"span"},[e._v("导游:")]),e._v(" "),r("el-autocomplete",{attrs:{"fetch-suggestions":e.querySearchAsynccustom,placeholder:"请输入内容"},on:{select:e.handleSelectcustom},model:{value:e.draw.leaderName,callback:function(t){e.$set(e.draw,"leaderName",t)},expression:"draw.leaderName"}})],1),e._v(" "),""!==e.shenfen?r("p",[r("span",{staticClass:"span"},[e._v("导游身份证:")]),r("span",[e._v(e._s(e.shenfen))])]):e._e(),e._v(" "),r("p",[r("span",{staticClass:"span"},[e._v("游玩日期:")]),e._v(" "),r("el-date-picker",{attrs:{type:"date",placeholder:"选择日期"},on:{change:e.youwan},model:{value:e.draw.orderCheckDate,callback:function(t){e.$set(e.draw,"orderCheckDate",t)},expression:"draw.orderCheckDate"}})],1),e._v(" "),r("p",[r("span",{staticClass:"span"},[e._v("车牌号:")]),e._v(" "),r("el-input",{attrs:{placeholder:"请输入内容"},model:{value:e.draw.carCode,callback:function(t){e.$set(e.draw,"carCode",t)},expression:"draw.carCode"}})],1)]),e._v(" "),r("p",{staticStyle:{"text-align":"center"}},[r("button",{staticClass:"button",on:{click:e.ticketIssue}},[e._v("团队出票")])])])])},staticRenderFns:[]};var a=r("C7Lr")(s,i,!1,function(e){r("K9HK")},"data-v-678c99b0",null);t.a=a.exports},uRfC:function(e,t,r){"use strict";r.d(t,"a",function(){return l});var s=r("lOuq"),i=r.n(s),a=r("aUYq"),o=r.n(a);function n(e){var t=(""+e).split("e"),r=(t[0].split(".")[1]||"").length-(+t[1]||0);return r>0?r:0}function c(e){var t=""+e;return-1===t.indexOf("e")?+t.replace(".",""):+e*Math.pow(10,n(e))}function d(e){return(+e>o.a||+e<i.a)&&(console.warn(e+" is beyond boundary when transfer to integer, the results may not be accurate"),!0)}function l(e,t){for(var r=arguments.length,s=Array(r>2?r-2:0),i=2;i<r;i++)s[i-2]=arguments[i];if(s.length>0)return l(l(e,t),s[0],s.slice(1));var a=c(e)*c(t);return d(a),a/Math.pow(10,n(e)+n(t))}},"w/NI":function(e,t){}});
\ No newline at end of file
webpackJsonp([5],{"/8q3":function(e,t,r){r("20tZ"),e.exports=-9007199254740991},"/ycp":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={data:function(){return{priceType:{channelFromKey:"computer",companyId:this.$store.state.companyId,groupType:0}}},components:{TheDrawerComponents:r("H62i").a},methods:{dianji:function(){this.$refs.mychild.ticketIssue(!0)}},created:function(){}},i={render:function(){var e=this.$createElement,t=this._self._c||e;return t("TheDrawerComponents",{ref:"mychild",attrs:{priceType:this.priceType}},[t("button",{on:{click:this.dianji}},[this._v("出票")])])},staticRenderFns:[]};var a=r("C7Lr")(s,i,!1,function(e){r("4IdM")},null,null);t.default=a.exports},"20tZ":function(e,t,r){var s=r("uSC2");s(s.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"4IdM":function(e,t){},"6yUe":function(e,t,r){r("GLtp"),e.exports=9007199254740991},AUUs:function(e,t,r){"use strict";(function(e){var s=r("aA9S"),i=r.n(s),a=r("3cXf"),o=r.n(a),n=r("4YfN"),c=r.n(n),d=r("8p6T"),l=r("zat1"),u=r("GYc6"),h=r("cxdB"),p=r("eeyJ"),y=r("GZf/"),m=r("hG4X"),f=r("oaxN"),v=r("RwQt"),b=r("nBy1"),g=r("uRfC"),P=r("bSIt");t.a={props:["priceType"],data:function(){return{saleChangePrice:!0,extraServers:[],showServer:!1,fieldsList:[],saleType:"",saleTypeList:[],isLoading:!0,haomiao:6e5,timess:null,TeamTickets:!1,time:null,custom:"",ChannelName:[],Allchannels:[],selectChannel:{},SelectChannelsList:[],totalAmount:0,displaySetup:!1,readonly:!0,border:0,phoneshow:!1,authshow:!1,maxshow:!1,tickshow:!1,index:0,tourGuide:{},payModelList:[],obj:{order:{mergerOrder:(0===this.priceType.groupType?JSON.parse(localStorage.getItem("mergeOrderStatus0")):JSON.parse(localStorage.getItem("mergeOrderStatus1")))||0,patchOrder:0,channelOrderId:"",carCode:"",leaderName:"",leaderId:"",orderCheckDate:"",buyNum:1,salePricePayTotal:0,companyId:this.$store.state.companyId,saleId:"",payType:"0",salePricePayedTotal:"",playDateFrom:"",subscribeDateFrom:"",channelId:"",saleCheckId:"",saleCheckMobile:"",payTypeCode:null},visitors:[]},pageTotal:0,pageshow:!1,product:{saleType:"",notStoreVisible:0,date:this.$commonJs.today(),pageIndex:1,pageSize:18,priceTypeId:"t5",batchDateFrom:this.$commonJs.today()+" 00:00:00",batchDateTo:this.$commonJs.today()+" 23:59:59",channelId:"",deBug:!0},prise:"",oldPrise:"",products:[],products2:[],PrinterList:[],printdata:"",allnum:"",succ:"",todaynum:0,todaymoney:0,newnumm:[],printModel:[],prinmode:JSON.parse(this.$store.state.config).printId,printModelObj:{companyId:this.$store.state.companyId,deviceType:this.$store.state.deviceType,deviceId:this.$store.state.deviceId,configs:[{configKey:"printId",configValue:JSON.parse(this.$store.state.config).printId}]},discounts:{},condition:!0,isShowQrcode:!1,qrcodeContent:"",waitPayStatusTips:"正在等待支付...",requestTimer:null,orderInfo:null,isShowScanningGun:!1,isCancelOrder:!1}},methods:c()({},Object(P.b)(["updateTourGuide"]),{closeServer:function(){this.showServer=!1},changeS:function(){var e=this;this.saleType="",this.product.notStoreVisible?this.$confirm("此操作将永久:不会排号,不能过闸,不会扣库存,是否继续?","提示",{cancelButtonText:"取消",confirmButtonText:"确定",type:"warning"}).then(function(){e.obj.order.patchOrder=1,e.getproduct(),e.$message({type:"success",message:"成功!"})}).catch(function(){e.obj.order.patchOrder=0,e.product.notStoreVisible=0,e.getproduct(),e.$message({type:"info",message:"已取消删除"})}):(this.obj.order.patchOrder=0,this.obj.order.playDateFrom="",this.getproduct())},cccc:function(){this.obj.visitors=[],this.updateTourGuide({}),1===this.priceType.groupType&&1===this.discounts.saleGroupLeader?this.draw():this.TeamTickets=!0},draw:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t in this.tourGuide=e,console.log(this.tourGuide),this.TeamTickets=!1,e)this.obj.order[t]=e[t];this.ticketIssue(!1)},datas:function(e){this.TeamTickets=e},data:function(e){this.displaySetup=e},mergerOrderChange:function(e){this.clearInter(),0===this.priceType.groupType?localStorage.setItem("mergeOrderStatus0",e):localStorage.setItem("mergeOrderStatus1",e)},getPrintModel:function(){var e=this;this.axios.post(this.getProductUrl("print/query"),{companyId:this.$store.state.companyId}).then(function(t){"00"===t.data.code&&(e.printModel=t.data.data)})},model:function(e){var t=this;this.printModelObj.configs[0].configValue=e,this.axios.post(this.getSystem("config/save"),this.printModelObj).then(function(e){"00"==e.data.code&&(t.$message({message:"选择成功",type:"success"}),t.$commonJs.printModel(e.data.data,t))})},selectChannelChange:function(e){this.clearInter(),this.saleType="",this.obj.order.channelOrderId="",this.custom="";var t=this.Allchannels.filter(function(t,r){return t.priceTypeId===e});this.selectChannel=t[0]},handleSelectcustom:function(e){this.obj.order.channelOrderId="",this.obj.order.channelId=e.channelId||"",this.product.channelId=e.channelId||"",this.saleType="",this.getproduct()},querySearchAsynccustom:function(e,t){var r=this;e||(this.obj.order.channelId="",this.product.channelId="");var s=0===this.ChannelName.length?this.Allchannels[0].channels:this.ChannelName[0].channels;s.forEach(function(e,t){r.$set(e,"value",e.companyName)});var i=e?s.filter(this.createStateFiltercustom(e)):s;clearTimeout(this.time),this.time=setTimeout(function(){t(i)},500*Math.random())},createStateFiltercustom:function(e){return function(t){return-1!==t.value.toLowerCase().indexOf(e.toLowerCase())}},gai:function(e){this.obj.order.salePricePayedTotal=e.target.value,this.obj.order.salePriceTotal=e.target.value},gaiprise:function(e){e?(this.readonly=!1,this.border="1px solid #cccccc"):(this.readonly=!0,this.border=0)},setVisitorField:function(e,t,r,s){var i=(e.checkField||{})[r]||{};(t[i.fieldId]=s,i.fieldInput)?t[i.fieldInput]=s:(t.fields=t.fields||[]).push({fieldId:i.fieldId,fieldValue:s})},initCheckField:function(e){var t=e.fields||[];if(null==e.checkField){for(var r={},s=0;s<t.length;s++){var i=t[s]||{};0!=i.inputType&&(r[i.fieldId]=i,i.fieldInput&&(r[i.fieldInput]=i))}e.checkField=r}},checkVistorField:function(e,t){return this.initCheckField(e),((e.checkField||{})[t]||{}).inputType||0},checkMobileInput:function(e){return this.checkVistorField(e,"visitorMobile")},checkIdInput:function(e){return this.checkVistorField(e,"visitorCardId")},checkVisitorNum:function(e,t,r){this.initCheckField(e);var s=0;switch(r=r||[],e.saleCheckId||0){case 1:s=1;break;case 2:s=t}return r.length>=s},checkCardRepeat:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.initCheckField(e);for(var r=(e.fields||[]).filter(function(e){return e.inputType>0}),s={},i=0;i<t.length;i++)for(var a=t[i],o=0;o<r.length;o++){var n=r[o],c=a[n.fieldInput||n.fieldId];if(0==n.fieldType&&c){var d=s[n.fieldId]=s[n.fieldId]||{};if(d[c])return this.$message.error("证件:"+n.fieldName+c+"重复"),!1;d[c]=!0}}return!0},checkVisitorOrder:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!this.checkVisitorNum(e,t,r))return this.$message.error("请输入游客信息"),!1;for(var s=(e.fields||[]).filter(function(e){return e.inputType>0}),i={},a=0;a<r.length;a++)for(var o=r[a]||{},n=0;n<s.length;n++){var c=s[n]||{},d=o[c.fieldInput||c.fieldId];if(0==c.fieldType&&!d){var l=i[c.fieldId]=i[c.fieldId]||{};if(l[d])return this.$message.error("证件"+c.fieldName+d+"重复"),!1;l[d]=!0}if(1==c.inputType&&!d&&0!==d)return this.$message.error("请输入"+c.fieldName),!1}return!0},addVisitor:function(e){var t=this,r=this.obj||{},s=r.order||{},a=r.visitors||[];e.visitorMobile=e.visitorMobile||r.visitorPhone,a.unshift(e),this.checkCardRepeat(this.fieldsList,a)?this.checkVisitorNum(this.fieldsList,s.buyNum,a)&&this.checkVisitorOrder(this.fieldsList,s.buyNum,a)&&(this.obj.childOrders=[],window.serverList.length>0&&window.serverList.forEach(function(e,r){var s=JSON.parse(o()(t.obj.order)),a={buyNum:e.buyNum,saleId:e.saleId,salePricePayTotal:Object(g.a)(e.buyNum,e.salePricePay),salePricePayedTotal:Object(g.a)(e.buyNum,e.salePricePay),salePriceTotal:Object(g.a)(e.buyNum,e.salePricePay)},n={order:i()(s,a)};t.obj.childOrders.push(n)})):a.pop()},chck:function(e,t,r){var s=this;this.clearInter(),this.fieldsList=t,this.gaiprise(t.saleChangePrice),this.discounts=t,this.index=r.batchId+r.saleId,this.obj.order.channelOrderId="",this.obj.order.salePricePayTotal=Object(g.a)(t.salePricePay,this.obj.order.buyNum),this.obj.order.salePricePayedTotal=Object(g.a)(t.salePricePay,this.obj.order.buyNum),this.obj.order.salePriceTotal=Object(g.a)(t.salePricePay,this.obj.order.buyNum),this.obj.order.saleCheckId=t.saleCheckId,this.obj.order.saleCheckMobile=t.saleCheckMobile,this.prise=t.salePricePay,this.oldPrise=t.salePricePay,t.discountsList.length>0&&t.discountsList.forEach(function(e){1==e.buyNum&&(s.obj.order.salePricePayedTotal=Object(g.a)(e.salePricePay,s.obj.order.buyNum),s.obj.order.salePricePayTotal=Object(g.a)(e.salePricePay,s.obj.order.buyNum),s.obj.order.salePriceTotal=Object(g.a)(e.salePricePay,s.obj.order.buyNum),s.prise=e.salePricePay,s.oldPrise=e.salePricePay)}),this.obj.order.saleId=t.saleId,this.obj.order.subscribeDateFrom=r.batchDateFrom,this.product.date===this.$commonJs.today()?this.obj.order.playDateFrom=r.batchDateFrom:this.obj.order.playDateFrom=this.product.date+" 00:00:00"},dates:function(e){this.product.batchDateFrom=e+" 00:00:00",this.product.batchDateTo=e+" 23:59:59",this.saleType="",this.getproduct()},add:function(e){var t=this;if(this.clearInter(),this.obj.order.channelOrderId="",0!=this.discounts.discountsList.length){this.discounts.discountsList.forEach(function(r){e>=r.buyNum&&(t.prise=r.salePricePay,t.obj.order.salePricePayTotal=Object(g.a)(e,t.prise),t.obj.order.salePricePayedTotal=Object(g.a)(e,t.prise),t.obj.order.salePriceTotal=Object(g.a)(e,t.prise))});var r=Math.min.apply(Math,this.discounts.discountsList.map(function(e){return e.buyNum}));e<r&&(this.obj.order.salePricePayTotal=Object(g.a)(e,this.oldPrise),this.obj.order.salePricePayedTotal=Object(g.a)(e,this.oldPrise),this.obj.order.salePriceTotal=Object(g.a)(e,this.oldPrise))}else this.obj.order.salePricePayTotal=Object(g.a)(e,this.prise),this.obj.order.salePricePayedTotal=Object(g.a)(e,this.prise),this.obj.order.salePriceTotal=Object(g.a)(e,this.prise)},pagess:function(e){this.product.pageIndex=e,this.pageData()},pageData:function(){var e=this;this.axios.post(this.getStoreUrl("time/querySale"),this.product).then(function(t){"00"==t.data.code&&(e.products=t.data.data.list,e.pageshow=!0,e.products.forEach(function(t){t.scenes.forEach(function(t){t.myId=e.$commonJs.randoms()})}))})},dataOrder:function(){return window.order=window.order||{},window.order},ticketIssue:function(e){var t=this,r=this;if(this.condition)if(!this.product.notStoreVisible||this.obj.order.playDateFrom){e&&(this.$store.state.tourGuide={});var s=this.dataOrder();s.visitorPhone="",s.sale=this.fieldsList,s.orderObj=this.obj,s.that=this;var i=this.obj.order,a=i.companyId,n=i.saleId;i.salePricePayTotal;if(""!=a&&""!=n)if(JSON.parse(this.$store.state.config).printer){if(this.obj.order.channelOrderId=this.$commonJs.randoms(),sessionStorage.setItem("phonObjs",o()(this.obj)),0==this.products.length)return;var c=this.products.findIndex(function(e){return t.obj.order.saleId==e.saleId});if(this.extraServers=JSON.parse(o()(this.products[c].services)),window.serverList=this.products[c].services,this.extraServers.length>0)return void(this.showServer=!0);if(0===this.checkMobileInput(this.fieldsList)||this.obj.visitors.length)if(this.checkVisitorNum(this.fieldsList,this.obj.order.buyNum,this.obj.visitors)){!function e(){if(t.condition=!1,"6"==t.obj.order.payType){if(!t.obj.order.payTypeCode){console.log("胖丁扫码枪"),t.isShowScanningGun=!0;var s=JSON.parse(t.$store.state.config);return Scan.init(s.HardConfig,function(e){r.isShowScanningGun&&r.$message.error(e)},function(t,s){r.isShowScanningGun&&(r.obj.order.payTypeCode||(r.obj.order.payTypeCode=s.ScanCode,r.waitPayStatusTips="扫码成功",console.log(r.obj),e()))},1),!1}t.waitPayStatusTips="正在等待支付..."}!function e(){t.axios.post(t.getOrderUrl("order/save"),t.obj,{__retryCount:3}).then(function(e){t.condition=!0;var r=e.data||{};if(r.code,"00"!=r.code)return t.obj.order.payTypeCode=null,t.$message.error(r.message);var s=e.data.data,i=s.order;t.orderInfo=s.order;var a=s.pays[0]||null;if("5"==t.obj.order.payType){if(!a)return t.$message.error(e.data.message);var o=JSON.parse(a.channelPayInfo);return t.qrcodeContent=o.PayCode,t.isShowQrcode=!0,void t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowQrcode")}if("6"==t.obj.order.payType)return a?(t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowScanningGun"),!1):t.$message.error(e.data.message);t.obj.visitors=[],t.obj.visitorPhone="",t.authshow=!1,t.printTickets(r)}).catch(function(r){t.condition=!0,t.$message.error(err),setTimeout(function(){e()},3e3)})}()}()}else this.authshow=!0;else this.phoneshow=!0}else this.$message.error("打印机名为空,请配置打印机");else this.$message.error("当前未选择票类型,不能出票")}else this.$message.error("请选择补单时间!")},ticketIssue2:function(e){var t=this,r=this;if(this.condition)if(!this.product.notStoreVisible||this.obj.order.playDateFrom){e&&(this.$store.state.tourGuide={});var s=this.dataOrder();s.visitorPhone="",s.sale=this.fieldsList,s.orderObj=this.obj,s.that=this;var a=this.obj.order,n=a.companyId,c=a.saleId;a.salePricePayTotal;if(""!=n&&""!=c)if(JSON.parse(this.$store.state.config).printer)if(this.obj.order.channelOrderId=this.$commonJs.randoms(),sessionStorage.setItem("phonObjs",o()(this.obj)),0===this.checkMobileInput(this.fieldsList)||this.obj.visitors.length)if(this.checkVisitorNum(this.fieldsList,this.obj.order.buyNum,this.obj.visitors)){!function e(){if(t.condition=!1,"6"==t.obj.order.payType){if(!t.obj.order.payTypeCode){console.log("胖丁扫码枪"),t.isShowScanningGun=!0;var s=JSON.parse(t.$store.state.config);return Scan.init(s.HardConfig,function(e){r.isShowScanningGun&&r.$message.error(e)},function(t,s){r.isShowScanningGun&&(r.obj.order.payTypeCode||(r.obj.order.payTypeCode=s.ScanCode,r.waitPayStatusTips="扫码成功",console.log(r.obj),e()))},1),!1}t.waitPayStatusTips="正在等待支付..."}t.obj.childOrders=[],window.serverList.length>0&&window.serverList.forEach(function(e,r){var s=JSON.parse(o()(t.obj.order)),a={buyNum:e.buyNum,saleId:e.saleId,salePricePayTotal:Object(g.a)(e.buyNum,e.salePricePay),salePricePayedTotal:Object(g.a)(e.buyNum,e.salePricePay),salePriceTotal:Object(g.a)(e.buyNum,e.salePricePay)},n={order:i()(s,a)};t.obj.childOrders.push(n)});!function e(){t.axios.post(t.getOrderUrl("order/save"),t.obj,{__retryCount:3}).then(function(e){t.condition=!0;var r=e.data||{};if(r.code,"00"!=r.code)return t.obj.order.payTypeCode=null,t.$message.error(r.message);var s=e.data.data,i=s.order;t.orderInfo=s.order;var a=s.pays[0]||null;if("5"==t.obj.order.payType){if(!a)return t.$message.error("订单返回数据格式错误,不包含支付信息");var o=JSON.parse(a.channelPayInfo);return t.qrcodeContent=o.PayCode,t.isShowQrcode=!0,void t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowQrcode")}if("6"==t.obj.order.payType)return a?(t.openScanQrcodeHandle({companyId:i.companyId,orderId:i.orderId},"isShowScanningGun"),!1):t.$message.error("订单返回数据格式错误,不包含支付信息");t.obj.visitors=[],t.obj.visitorPhone="",t.authshow=!1,t.printTickets(r)}).catch(function(r){t.condition=!0,t.$message.error(err),setTimeout(function(){e()},3e3)})}()}()}else this.authshow=!0;else this.phoneshow=!0;else this.$message.error("打印机名为空,请配置打印机");else this.$message.error("当前未选择票类型,不能出票")}else this.$message.error("请选择补单时间!")},PrintError:function(e){var t=this;this.succ=!0,setTimeout(function(){t.tickshow=!1,t.succ=!1},100);var r=e&&(e.msg||e.Msg)||e;alert(r)},__Printed:function(){var e=this;this.succ=!0,window.order={},this.obj.order=this.obj.order||{},this.obj.order.buyNum=1,this.obj.order.channelOrderId="",this.obj.visitorPhone="",this.obj.visitors=[],setTimeout(function(){e.tickshow=!1,e.maxshow=!1,e.succ=!1},1e3),this.gettoday(),this.getproduct()},__PrintIteming:function(e){this.tickshow=!0,this.printdata=e.Data.Pos,this.allnum=e.Data.Count},loadPrint:function(){var t=this;function r(r){r=r||[];var s=[];e.each(r,function(e,t){s.push({id:t,name:t})}),t.Rendering(s)}try{Base.getHard().getPrinter(function(e){r(e)},function(e){r()})}catch(e){r()}},Rendering:function(e){0!=e.length?this.PrinterList=e:this.PrinterList=[{name:"暂无打印机",id:""},{name:"Microsoft XPS Document Writer",id:"Microsoft XPS Document Writer"}]},closephone:function(e){this.phoneshow=e},phonOk:function(){this.phoneshow=!1,this.authshow=!0},auclose:function(){this.obj.visitors=[],this.obj.visitorPhone="",this.obj.order.payTypeCode=null,this.authshow=!1},augoup:function(){this.authshow=!1,this.phoneshow=!0,this.obj.visitors=[]},ticket:function(e){this.maxshow=!1,this.tickshow=!0},fanhui:function(){this.maxshow=!1,this.authshow=!0},tik:function(e){this.tickshow=!0,this.authshow=!1},manual:function(){this.authshow=!1,this.maxshow=!0},maxclose:function(){this.maxshow=!1,this.obj.visitors=[],this.obj.visitorPhone="",this.obj.order.payTypeCode=null},tickclose:function(){this.tickshow=!1},getproduct:function(){var e=this;this.axios.post(this.getStoreUrl("time/querySale"),this.product,{isLoading:this.isLoading}).then(function(t){if("00"!=t.data.code)return!1;if(console.log(t.data.data.list),0==t.data.data.list.length)return e.saleChangePrice=!1,e.products=[],e.products2=[],e.$message.error("暂无当前票种!"),!1;e.saleChangePrice=t.data.data.list.saleChangePrice;var r=t.data.data.list.filter(function(e){return 1!=e.saleServiceType}),s=null,i=((e.obj||{}).order||{}).saleId||"";if(e.products=r.filter(function(e,t){var r=(e.scenes||[]).length>0;return!r||i!=e.saleId&&null!=s||(s=e),r}),e.products2=r.filter(function(e,t){if(0!==!e.scenes.length)return e}),e.fieldsList=r.find(function(e,t){return e.scenes.length>0}),0!=e.products.length&&(e.extraServers=s.services,window.serverList=s.services,e.obj.order.saleId=s.saleId,e.discounts=s,e.obj.order.salePricePayedTotal=s.salePricePay,e.obj.order.salePricePayTotal=Object(g.a)(s.salePricePay,e.obj.order.buyNum),e.gaiprise(s.saleChangePrice),e.obj.order.salePriceTotal=s.salePricePay,e.obj.order.saleCheckId=s.saleCheckId,e.obj.order.saleCheckMobile=s.saleCheckMobile,e.prise=s.salePricePay,e.oldPrise=s.salePricePay,s.discountsList.length>0&&s.discountsList.forEach(function(t){1==t.buyNum&&(e.obj.order.salePricePayedTotal=t.salePricePay,e.obj.order.salePricePayTotal=Object(g.a)(t.salePricePay,e.obj.order.buyNum),e.obj.order.salePriceTotal=t.salePricePay,e.prise=t.salePricePay,e.oldPrise=t.salePricePay)}),e.pageshow=!0,e.pageTotal=t.data.data.pageTotal,0!=s.scenes.length)){e.obj.order.subscribeDateFrom=s.scenes[0].batchDateFrom,e.product.date==e.$commonJs.today()?e.obj.order.playDateFrom=s.scenes[0].batchDateFrom:e.obj.order.playDateFrom=e.product.date+" 00:00:00";var a=s.scenes[0];e.index=a.batchId+a.saleId}})},gettoday:function(){var e=this;this.axios.post(this.getOrderUrl("order/getDay"),{pageSize:1}).then(function(t){"00"==t.data.code&&(e.todaynum=t.data.main.buyNum,e.todaymoney=t.data.main.salePricePayTotal,e.newnumm=t.data.data.list)})},chong:function(e){var t=this;if(this.condition){var r={orderId:e.orderId,all:!0};""==this.obj.order.printer?this.$message.error("请选择打印机"):(this.condition=!1,this.axios.post(this.getOrderUrl("order/load"),r).then(function(e){var r=e.data||{};t.$commonJs.printRes(r,t,Base,t.PrintError,t.__Printed,t.__PrintIteming),t.condition=!0}))}},SoTheChannel:function(){var e=this;0!==this.products.length&&(this.isLoading=!1),this.axios.post(this.getSystem("channel/windowList"),this.priceType,{isLoading:this.isLoading}).then(function(t){"00"===t.data.code?(e.Allchannels=t.data.data,e.selectChannel=e.Allchannels[0]):e.$message.error(t.data.message)})},initTicketType:function(){var e=this,t={companyId:this.companyId,enumType:"saleType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),t).then(function(t){"00"==t.data.code?e.saleTypeList=t.data.data:e.$message.error(t.data.message)})},chooseTicket:function(e){this.products2.length>0&&(this.products=this.products2.filter(function(t){return t.saleType==e}))},selectChannelsItemChange:function(e){var t=this;this.obj.order.channelId=e,this.product.channelId=e,this.getproduct();var r=this.SelectChannelsList.filter(function(t){return t.channelId==e});if(0==r.length)return this.payModelList=[],void(this.obj.order.payType="");var s=r[0];if(this.payModelList=s.payTypes,0!=this.payModelList.length){if(0==this.payModelList.filter(function(e){return e.payedType==t.obj.order.payType}).length)this.obj.order.payType=this.payModelList[0].payedType;else this.obj.order.payType=this.selectChannel.payedType+"",-1===this.payModelList.findIndex(function(e){return e.payedType===t.obj.order.payType})&&(this.obj.order.payType=this.payModelList[0].payedType);this.totalAmount=s.moneyVo.totalAmount}else this.obj.order.payType=""},selectPayModelChange:function(e){this.obj.order.payType=e},openScanQrcodeHandle:function(e,t){var r=this;if(window.clearTimeout(this.requestTimer),!this.isCancelOrder&&e){var s={order:e};this.axios.post(this.getOrderUrl("order/wait"),s,{isLoading:!1}).then(function(s){var i=s.data;if("00"!=i.code)return r.$message.error(i.message);r[t]&&((i.data.order||{}).orderStatus<4?r.requestTimer=window.setTimeout(function(){r.openScanQrcodeHandle(e,t)},500):(window.clearTimeout(r.requestTimer),r.waitPayStatusTips="支付完成",r.isShowQrcode=!1,r.isShowScanningGun=!1,r.waitPayStatusTips="正在等待支付...",r.printTickets(i)))}).catch(function(s){window.clearTimeout(r.requestTimer),r.$message.error(s),r.requestTimer=window.setTimeout(function(){r.openScanQrcodeHandle(e,t)},500)})}},closeScanQrcodeHandle:function(){var e=this;if(this.condition=!0,this.isShowQrcode=!1,this.isShowScanningGun=!1,this.isCancelOrder=!0,window.clearTimeout(this.requestTimer),this.orderInfo){var t={order:{orderId:this.orderInfo.orderId,companyId:this.orderInfo.companyId}};this.axios.post(this.getOrderUrl("order/cancel"),t).then(function(t){e.isCancelOrder=!1;var r=t.data;if("00"!=r.code)return e.$message.error(r.message);e.orderInfo=null,e.obj.visitors=[],e.obj.visitorPhone=""}).catch(function(t){console.log("请求失败"),window.clearTimeout(e.requestTimer),e.requestTimer=window.setTimeout(function(){e.closeScanQrcodeHandle()},1e3)},1e3)}},closeScanningGunHandle:function(){this.isShowScanningGun=!1,this.obj.order.payTypeCode=null,this.condition=!0,this.waitPayStatusTips="正在等待支付...",this.closeScanQrcodeHandle()},printTickets:function(e){this.obj.visitors=[],this.obj.visitorPhone="",this.obj.order.payTypeCode=null,this.orderInfo=null,this.$commonJs.printRes(e,this,Base,this.PrintError,this.__Printed,this.__PrintIteming)},closePayQrcodeHandle:function(){console.log("关闭"),this.isShowScanningGun=!1,this.isShowQrcode=!1,this.condition=!0,this.waitPayStatusTips="正在等待支付...",window.clearTimeout(this.requestTimer)},scanDevice:function(){}}),components:{phone:d.a,authent:l.a,maxual:u.a,ticketIssue:h.a,pages:y.a,localSettings:m.a,TeamTicket:f.a,breadNav:v.default,plusServer:p.a,scanQrcode:b.a},created:function(){this.SoTheChannel(),this.loadPrint(),this.gettoday(),this.getPrintModel(),this.initTicketType()},mounted:function(){},watch:{selectChannel:function(e){var t=this;if(this.SelectChannelsList=e.channels,this.product.priceTypeId=e.priceTypeId,this.obj.order.payType=e.payedType+"",0==this.SelectChannelsList.length)return this.products=[],void(this.products2=[]);var r=this.SelectChannelsList[0];this.payModelList=r.payTypes,-1===this.payModelList.findIndex(function(e){return e.payedType===t.obj.order.payType})&&(this.obj.order.payType=this.payModelList[0].payedType),this.custom=r.channelId,this.product.channelId=r.channelId,this.obj.order.channelId=r.channelId,this.getproduct(),this.totalAmount=r.moneyVo.totalAmount}},beforeDestroy:function(){clearTimeout(this.timess),this.timess=null}}}).call(t,r("SXXC"))},GLtp:function(e,t,r){var s=r("uSC2");s(s.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},H62i:function(e,t,r){"use strict";var s=r("AUUs"),i={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"bigBox"},[r("breadNav",[e._v("窗口售票")]),e._v(" "),r("div",{staticClass:"tab"},[r("div",[r("p",[e._v("最新记录")]),e._v(" "),r("p",[r("span",[e._v("今日售票量:"),r("i",[e._v(e._s(e.todaynum))]),e._v("张")]),r("span",[e._v("金额:"),r("i",[e._v(e._s(e.todaymoney))]),e._v("元")])])]),e._v(" "),e._l(e.newnumm,function(t,s){return r("div",{key:s},[r("p",[e._v(e._s(t.productName))]),e._v(" "),r("p",[e._v(e._s(t.buyNum)+"张")]),e._v(" "),r("p",[e._v(e._s(t.salePricePayTotal)+"元")]),e._v(" "),r("p",[e._v(e._s(t.createDate))]),e._v(" "),r("p",{staticClass:"chon",on:{click:function(r){return e.chong(t)}}},[e._v("重新打印")])])})],2),e._v(" "),r("div",{staticClass:"box"},[r("div",[r("div",{staticClass:"tit query-row"},[r("div",{staticClass:"query-item"},[r("span",[e._v("时间:")]),e._v(" "),r("el-date-picker",{attrs:{"prefix-icon":"none",type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},on:{change:e.dates},model:{value:e.product.date,callback:function(t){e.$set(e.product,"date",t)},expression:"product.date"}})],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",[e._v("渠道类型:")]),e._v(" "),r("el-select",{attrs:{placeholder:"请选择",filterable:""},on:{change:e.selectChannelChange},model:{value:e.product.priceTypeId,callback:function(t){e.$set(e.product,"priceTypeId",t)},expression:"product.priceTypeId"}},e._l(e.Allchannels,function(e,t){return r("el-option",{key:t,attrs:{label:e.priceTypeName,value:e.priceTypeId}})}),1)],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",[e._v("渠道名称:")]),e._v(" "),r("el-select",{attrs:{placeholder:"请选择",filterable:""},on:{change:e.selectChannelsItemChange},model:{value:e.custom,callback:function(t){e.custom=t},expression:"custom"}},e._l(e.SelectChannelsList,function(e){return r("el-option",{key:e.channelId,attrs:{label:e.companyName,value:e.channelId}})}),1)],1),e._v(" "),r("div",{staticClass:"query-item"},[r("el-checkbox",{attrs:{"true-label":1,"false-label":0},on:{change:e.changeS},model:{value:e.product.notStoreVisible,callback:function(t){e.$set(e.product,"notStoreVisible",t)},expression:"product.notStoreVisible"}},[e._v(" "+e._s(e.obj.order.patchOrder?"补单时间":"补单"))]),e._v(" "),e.obj.order.patchOrder?r("el-date-picker",{attrs:{"prefix-icon":"none",type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.obj.order.playDateFrom,callback:function(t){e.$set(e.obj.order,"playDateFrom",t)},expression:"obj.order.playDateFrom"}}):e._e()],1),e._v(" "),r("div",{staticClass:"chu query-item"},[e._t("default"),e._v(" "),r("button",{staticStyle:{"margin-left":"0.1rem"},on:{click:function(t){e.displaySetup=!0}}},[e._v("\n 设置\n ")])],2)]),e._v(" "),r("div",{staticClass:"num query-row"},[r("div",{staticClass:"query-item"},[r("span",[e._v("数量:")]),e._v(" "),r("el-input-number",{attrs:{min:1,label:"描述文字"},on:{change:e.add},model:{value:e.obj.order.buyNum,callback:function(t){e.$set(e.obj.order,"buyNum",t)},expression:"obj.order.buyNum"}})],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",{staticStyle:{display:"inline-block"}},[e._v("总票价:   ")]),e._v(" "),e.saleChangePrice?r("el-input",{staticClass:"no-border",attrs:{type:"text"},model:{value:e.obj.order.salePricePayTotal,callback:function(t){e.$set(e.obj.order,"salePricePayTotal",t)},expression:"obj.order.salePricePayTotal"}}):r("input",{directives:[{name:"model",rawName:"v-model",value:e.obj.order.salePricePayTotal,expression:"obj.order.salePricePayTotal"}],staticClass:"no-border",style:{border:e.border,paddingLeft:"10px"},attrs:{readonly:e.readonly},domProps:{value:e.obj.order.salePricePayTotal},on:{change:function(t){return e.gai(t)},input:function(t){t.target.composing||e.$set(e.obj.order,"salePricePayTotal",t.target.value)}}}),e._v("\n\n ")],1),e._v(" "),r("div",{staticClass:"query-item"},[r("span",[e._v("结算方式:")]),e._v(" "),r("el-select",{attrs:{placeholder:"请选择结算方式"},on:{change:e.selectPayModelChange},model:{value:e.obj.order.payType,callback:function(t){e.$set(e.obj.order,"payType",t)},expression:"obj.order.payType"}},e._l(e.payModelList,function(e){return r("el-option",{key:e.payedType,attrs:{label:e.payedTypeName,value:e.payedType}})}),1)],1),e._v(" "),r("div",{staticClass:"query-item",staticStyle:{width:"4rem"}},[r("p",{staticStyle:{display:"inline"}},[e._v("\n 余额:"),r("b",{staticStyle:{"font-weight":"bold"}},[e._v(e._s(e.totalAmount))]),e._v(" 元\n ")]),e._v(" "),r("p",{staticStyle:{display:"inline","margin-left":"0.3rem"}},[r("el-checkbox",{attrs:{"true-label":1,"false-label":0},on:{change:e.mergerOrderChange},model:{value:e.obj.order.mergerOrder,callback:function(t){e.$set(e.obj.order,"mergerOrder",t)},expression:"obj.order.mergerOrder"}},[e._v("单张出票")])],1)])])])]),e._v(" "),r("div",{staticClass:"allbox"},[r("div",{staticClass:"piao"},[r("p",{staticStyle:{"align-items":"center",display:"flex","margin-bottom":"0.1rem"}},[r("span",[e._v(" 票种: ")]),e._v(" "),r("el-select",{on:{change:function(t){return e.chooseTicket(e.product.saleType)}},model:{value:e.product.saleType,callback:function(t){e.$set(e.product,"saleType",t)},expression:"product.saleType"}},[r("el-option",{attrs:{label:"--所有--",value:""}}),e._v(" "),e._l(e.saleTypeList,function(e){return r("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1),e._v(" "),r("div",e._l(e.products,function(t,s){return r("div",{key:s},e._l(t.scenes,function(s,i){return r("div",{key:i,class:{dan:!0,hui:e.index==s.batchId+s.saleId},on:{click:function(r){return e.chck(i,t,s)}}},[r("div",[r("div",[e._v("\n "+e._s(t.productName)+"\n "),r("p",[0!=t.scenes.length?r("span",[e._v("\n "+e._s(s.batchDateFrom.slice(10,s.batchDateFrom.length-3))+"-"+e._s(s.batchDateTo.slice(10,s.batchDateTo.length-3))+"\n ")]):e._e()])]),e._v(" "),r("div",[e._v("¥"+e._s(t.salePricePay))])]),e._v(" "),r("p",{staticStyle:{display:"flex","justify-content":"space-between","padding-right":"0.2rem"}},[r("span",[e._v(" 库存:"+e._s(s.hasNum)+" ")]),e._v(" "),r("span",{staticStyle:{color:"#666666","font-size":"0.1rem"}},[e._v("\n "+e._s(t.saleTypeName)+"\n ")])])])}),0)}),0)]),e._v(" "),r("pages",{directives:[{name:"show",rawName:"v-show",value:e.pageshow,expression:"pageshow"}],attrs:{pagesize:e.product.pageSize,total:e.pageTotal},on:{page:e.pagess}})],1),e._v(" "),e.phoneshow?r("phone",{attrs:{tourGuide:e.tourGuide},on:{closed:e.closephone,phonOk:e.phonOk}}):e._e(),e._v(" "),e.authshow?r("authent",{attrs:{tourGuide:e.tourGuide,buyNum:e.obj.order.buyNum,fieldsList:e.fieldsList},on:{closed:e.auclose,goup:e.augoup,manual:e.manual,tik:e.tik}}):e._e(),e._v(" "),e.maxshow?r("maxual",{attrs:{fieldsList:e.fieldsList},on:{ticket:e.ticket,closed:e.maxclose}}):e._e(),e._v(" "),e.tickshow?r("ticketIssue",{attrs:{succ:e.succ},on:{closed:e.tickclose}},[r("span",{attrs:{slot:"pag"},slot:"pag"},[e._v(e._s(e.printdata))]),e._v(" "),r("span",{attrs:{slot:"num"},slot:"num"},[e._v(e._s(e.allnum))])]):e._e(),e._v(" "),e.displaySetup?r("localSettings",{attrs:{PrinterList:e.PrinterList,printModel:e.printModel},on:{data:e.data}}):e._e(),e._v(" "),e.TeamTickets?r("TeamTicket",{on:{datas:e.datas,draw:e.draw}}):e._e(),e._v(" "),e.showServer?r("plusServer",{attrs:{num:e.obj.order.buyNum,extraServers:e.extraServers},on:{close:function(t){return e.closeServer()}}}):e._e(),e._v(" "),r("el-dialog",{attrs:{width:"400",title:"请扫描二维码",center:"",visible:e.isShowQrcode,"close-on-click-modal":!1,"append-to-body":"","show-close":!1},on:{"update:visible":function(t){e.isShowQrcode=t},open:e.openScanQrcodeHandle,close:e.closePayQrcodeHandle}},[r("scan-qrcode",{attrs:{value:e.qrcodeContent}}),e._v(" "),r("p",{staticStyle:{"font-size":"0.18rem","text-align":"center",margin:"0.2rem 0"}},[e._v(e._s(e.waitPayStatusTips))]),e._v(" "),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"normal"},on:{click:e.closeScanQrcodeHandle}},[e._v("取消支付")])],1)],1),e._v(" "),r("el-dialog",{attrs:{width:"200",title:"胖丁扫码枪",center:"",visible:e.isShowScanningGun,"close-on-click-modal":!1,"append-to-body":"","show-close":!1},on:{"update:visible":function(t){e.isShowScanningGun=t},close:e.closePayQrcodeHandle}},[r("p",{staticStyle:{"font-size":"0.18rem","text-align":"center",margin:"0.2rem 0"}},[e._v(e._s(e.waitPayStatusTips))]),e._v(" "),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"normal"},on:{click:e.closeScanningGunHandle}},[e._v("取消支付")])],1)])],1)},staticRenderFns:[]};var a=function(e){r("ymt4")},o=r("C7Lr")(s.a,i,!1,a,"data-v-67fbb08e",null);t.a=o.exports},K9HK:function(e,t){},aUYq:function(e,t,r){e.exports={default:r("6yUe"),__esModule:!0}},eeyJ:function(e,t,r){"use strict";var s=r("3cXf"),i=r.n(s),a={props:["num","extraServers"],data:function(){return{numbers:0,serverList:JSON.parse(i()(window.serverList)),getPriceList:[]}},methods:{close:function(){this.$emit("close")},next:function(){var e=this;this.serverList.length>0&&this.serverList.forEach(function(t,r){t.buyNum=e.numbers}),window.serverList=this.serverList,this.$emit("close"),this.$parent.ticketIssue2(!0)},numberChange:function(){for(var e=this,t=0;t<this.getPriceList.length;t++)this.extraServers[t].salePricePay=this.getSalePricePay(this.getPriceList[t],this.numbers);for(var r=function(t){var r=e.getPriceList.findIndex(function(r){return e.serverList[t].saleId==r.saleId});e.serverList[t].salePricePay=e.getSalePricePay(e.getPriceList[r],e.numbers)},s=0;s<this.serverList.length;s++)r(s)},getSalePricePay:function(e,t){for(var r=e.salePricePay||0,s=e.discountsList||[],i=null,a=0;a<s.length;a++){var o=s[a]||{};null==o||0==o.buyNum||(null==i||o.buyNum>i.buyNum)&&o.buyNum<=t&&(i=o)}return null!=i&&(r=i.salePricePay||0),r}},mounted:function(){var e=this;this.numbers=this.num,this.getPriceList=JSON.parse(i()(this.extraServers)),window.serverList.length>0&&window.serverList.forEach(function(t,r){t.buyNum=e.numbers}),this.numberChange(),console.log(this.serverList)}},o={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"server"},[r("div",{staticClass:"serverBox"},[r("p",{staticStyle:{position:"relative"}},[e._v("\n 增加服务\n "),r("span",{staticStyle:{position:"absolute",right:"20px",top:"5px","font-size":"0.24rem",color:"#666666","font-weight":"400",cursor:"pointer"},on:{click:e.close}},[e._v("x")])]),e._v(" "),r("div",{staticClass:"serverDiv"},[r("div",e._l(e.extraServers,function(t,s){return r("p",{key:s},[r("span",{staticStyle:{display:"inline-block",width:"2.2rem"}},[e._v(e._s(t.productName))]),e._v(" "),r("span",{staticStyle:{display:"inline-block",width:"0.7rem"}},[e._v(e._s(t.salePricePay)+"元/份")]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.serverList,expression:"serverList"}],attrs:{type:"checkbox"},domProps:{value:t,checked:Array.isArray(e.serverList)?e._i(e.serverList,t)>-1:e.serverList},on:{change:[function(r){var s=e.serverList,i=r.target,a=!!i.checked;if(Array.isArray(s)){var o=t,n=e._i(s,o);i.checked?n<0&&(e.serverList=s.concat([o])):n>-1&&(e.serverList=s.slice(0,n).concat(s.slice(n+1)))}else e.serverList=a},function(t){return e.numberChange()}]}})])}),0),e._v(" "),r("div",[r("span",[e._v("购买数量:")]),e._v(" "),r("el-input-number",{attrs:{min:0},on:{change:function(t){return e.numberChange()}},model:{value:e.numbers,callback:function(t){e.numbers=t},expression:"numbers"}})],1),e._v(" "),e._m(0)]),e._v(" "),r("p",[r("a",{staticClass:"btn4",on:{click:function(t){return e.next()}}},[e._v("下一步")])])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("span",[this._v("退改规则:")]),this._v("\n 不可退\n ")])}]};var n=r("C7Lr")(a,o,!1,function(e){r("w/NI")},"data-v-1ce763d2",null);t.a=n.exports},lOuq:function(e,t,r){e.exports={default:r("/8q3"),__esModule:!0}},oaxN:function(e,t,r){"use strict";var s={data:function(){return{time:null,shenfen:"",draw:{leaderId:"",leaderName:"",orderCheckDate:"",carCode:""},list:[]}},created:function(){var e=this;this.axios.post(this.getChanel("leader/list"),{companyId:this.$store.state.companyId,companyName:this.trench,pageIndex:1,pageSize:999}).then(function(t){"00"===t.data.code&&(e.list=t.data.data.list,e.list.forEach(function(t,r){var s=t.leaderName+t.leaderNo;e.$set(t,"value",s)}),""!==e.list[0].leaderCardId&&""!==e.list[0].leaderMobile&&(e.$store.state.tourGuide=e.list[0]))})},methods:{handleSelectcustom:function(e){this.draw.leaderId=e.leaderId,this.draw.leaderName=e.leaderName,this.draw.leaderMobile=e.leaderMobile,this.draw.leaderCardId=e.leaderCardId,this.shenfen=e.leaderCardId,""!==e.leaderCardId&&""!==e.leaderMobile?this.$store.state.tourGuide=e:this.$store.state.tourGuide={}},querySearchAsynccustom:function(e,t){var r=this,s=this.list;s.forEach(function(e,t){var s=e.leaderName+e.leaderNo;r.$set(e,"value",s)});var i=e?s.filter(this.createStateFiltercustom(e)):s;clearTimeout(this.time),this.time=setTimeout(function(){t(i)},500*Math.random())},createStateFiltercustom:function(e){return function(t){return-1!==t.value.toLowerCase().indexOf(e.toLowerCase())}},daoyou:function(e){var t=this;this.list.forEach(function(e,r){e.leaderId===t.draw.leaderId&&(t.draw.leaderName=e.leaderName,t.shenfen=e.leaderCardId,""!==e.leaderCardId&&""!==e.leaderMobile?t.$store.state.tourGuide=e:t.$store.state.tourGuide={})})},youwan:function(e){this.draw.orderCheckDate=this.$commonJs.formattime(this.draw.orderCheckDate)},ticketIssue:function(){""!==this.draw.leaderId?""!==this.draw.orderCheckDate?this.$emit("draw",this.draw):this.$message.error("请选择游玩日期!"):this.$message.error("请选择导游!")},cc:function(){this.$emit("datas",!1)}}},i={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"table"},[r("div",{staticClass:"box"},[r("p",{staticClass:"p"},[r("span",[e._v("团队出票")]),e._v(" "),r("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"},on:{click:e.cc}},[r("use",{attrs:{"xlink:href":"#iconguanbi1"}})])]),e._v(" "),r("div",[r("p",[r("span",{staticClass:"span"},[e._v("导游:")]),e._v(" "),r("el-autocomplete",{attrs:{"fetch-suggestions":e.querySearchAsynccustom,placeholder:"请输入内容"},on:{select:e.handleSelectcustom},model:{value:e.draw.leaderName,callback:function(t){e.$set(e.draw,"leaderName",t)},expression:"draw.leaderName"}})],1),e._v(" "),""!==e.shenfen?r("p",[r("span",{staticClass:"span"},[e._v("导游身份证:")]),r("span",[e._v(e._s(e.shenfen))])]):e._e(),e._v(" "),r("p",[r("span",{staticClass:"span"},[e._v("游玩日期:")]),e._v(" "),r("el-date-picker",{attrs:{type:"date",placeholder:"选择日期"},on:{change:e.youwan},model:{value:e.draw.orderCheckDate,callback:function(t){e.$set(e.draw,"orderCheckDate",t)},expression:"draw.orderCheckDate"}})],1),e._v(" "),r("p",[r("span",{staticClass:"span"},[e._v("车牌号:")]),e._v(" "),r("el-input",{attrs:{placeholder:"请输入内容"},model:{value:e.draw.carCode,callback:function(t){e.$set(e.draw,"carCode",t)},expression:"draw.carCode"}})],1)]),e._v(" "),r("p",{staticStyle:{"text-align":"center"}},[r("button",{staticClass:"button",on:{click:e.ticketIssue}},[e._v("团队出票")])])])])},staticRenderFns:[]};var a=r("C7Lr")(s,i,!1,function(e){r("K9HK")},"data-v-678c99b0",null);t.a=a.exports},uRfC:function(e,t,r){"use strict";r.d(t,"a",function(){return l});var s=r("lOuq"),i=r.n(s),a=r("aUYq"),o=r.n(a);function n(e){var t=(""+e).split("e"),r=(t[0].split(".")[1]||"").length-(+t[1]||0);return r>0?r:0}function c(e){var t=""+e;return-1===t.indexOf("e")?+t.replace(".",""):+e*Math.pow(10,n(e))}function d(e){return(+e>o.a||+e<i.a)&&(console.warn(e+" is beyond boundary when transfer to integer, the results may not be accurate"),!0)}function l(e,t){for(var r=arguments.length,s=Array(r>2?r-2:0),i=2;i<r;i++)s[i-2]=arguments[i];if(s.length>0)return l(l(e,t),s[0],s.slice(1));var a=c(e)*c(t);return d(a),a/Math.pow(10,n(e)+n(t))}},"w/NI":function(e,t){},ymt4:function(e,t){}});
\ No newline at end of file
webpackJsonp([76],{n0Iy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n("zsLt"),a=n.n(s),o=n("IHPB"),c=n.n(o),i={data:function(){return{kucun:0,name:"",tcommonList:{autos:[],channels:[],batchLastReleaseDate:"",companyId:this.$store.state.companyId,createDate:"",createUserId:"",pictureId:"",projectId:"",removeFlag:0,sceneDateFrom:"00:00",sceneDateTo:"23:59",sceneDateUnit:1,sceneFrontBuyDay:"",sceneId:"",sceneName:"",sceneTotalNum:0,sceneType:null,sceneUnitNum:1,updateUserId:"",versonFlag:0,week:[1,2,3,4,5,6,7]},projectList:[],tprojectId:"",scene:"",channelList:[],sceneList:[],weekList:[{value:1,name:"周一"},{value:2,name:"周二"},{value:3,name:"周三"},{value:4,name:"周四"},{value:5,name:"周五"},{value:6,name:"周六"},{value:7,name:"周日"}]}},methods:{kucunAdd:function(e){var t=this,n=e;n.sceneType=this.kucun,n.sceneName||(n.sceneName=this.name+"("+n.sceneDateFrom+"-"+n.sceneDateTo+")"),this.axios.post(this.getStoreUrl("scene/save"),n).then(function(e){"00"==e.data.code?t.$message.success(e.data.message):t.$message.error(e.data.message),t.sceneQuery()})},tpointChange:function(e){var t=this;this.tcommonList.projectId=e,this.projectList.forEach(function(n){n.projectId==e&&(t.name=n.projectName)})},timeUnitChange:function(e){this.tcommonList.autos[e].dates=[],this.tcommonList.autos[e].autoDateFrom="",this.tcommonList.autos[e].autoDateTo="",this.tcommonList.autos[e].autoDateWeekList=[]},changeDate:function(e){this.tcommonList.autos[e].dates?(this.tcommonList.autos[e].autoDateFrom=this.commonList.autos[e].dates[0],this.tcommonList.autos[e].autoDateTo=this.commonList.autos[e].dates[1],this.$forceUpdate()):(this.tcommonList.autos[e].autoDateFrom="",this.tcommonList.autos[e].autoDateTo="",this.$forceUpdate())},channelNameChange:function(e,t){var n=this.channelList.find(function(e){return e.channelId==t});e.channels.push(n),e.channels=[].concat(c()(new a.a(e.channels)))},deleChannelName:function(e,t){e.channels.splice(t,1)},autoAdd:function(e){e.autos.push({dates:[this.$commonJs.today(),this.$commonJs.today()],autoDateFrom:this.$commonJs.today(),autoDateTo:this.$commonJs.today(),autoDateWeekList:[],autoDateUnit:0,sceneTotalNum:"",sceneDateTo:"23:00",sceneDateFrom:"00:00",sceneDateUnit:1})},autoDele:function(e,t){e.autos.splice(t,1)},projectQuery:function(){var e=this,t={companyId:this.$store.state.companyId};this.axios.post(this.getProductUrl("project/query"),t).then(function(t){"00"==t.data.code?e.projectList=t.data.data.list:e.$message.error(t.data.message)})},getChannelList:function(){var e=this,t={companyId:this.$store.state.companyId,pageSize:99999};this.axios.post(this.getChanel("channel/list"),t).then(function(t){"00"===t.data.code?e.channelList=t.data.data.list:e.$message.error(t.data.message)})},computeMinuteNumber:function(e,t){if(e.sceneDateFrom&&e.sceneDateTo&&1==e.sceneType){var n=e.sceneDateFrom.split(":"),s=e.sceneDateTo.split(":"),a=60*(s[0]-n[0])+(s[1]-n[1]);t<1e4?(e.autos[t].minuteNumber=parseFloat((e.sceneTotalNum*e.sceneDateUnit/a).toFixed(2)),e.autos[t].minuteMax=a):(e.minuteNumber=parseFloat((e.sceneTotalNum*e.sceneDateUnit/a).toFixed(2)),e.minuteMax=a)}this.$forceUpdate()},computeMinuteNumbers:function(e,t,n){if(e.sceneDateFrom&&e.sceneDateTo){var s=e.sceneDateFrom.split(":"),a=e.sceneDateTo.split(":"),o=60*(a[0]-s[0])+(a[1]-s[1]);n<1e4?(this.sceneList[t].autos[n].minuteNumber=parseFloat((e.sceneTotalNum*e.sceneDateUnit/o).toFixed(2)),this.sceneList[t].autos[n].minuteMax=o):(this.sceneList[t].minuteNumber=parseFloat((e.sceneTotalNum*e.sceneDateUnit/o).toFixed(2)),this.sceneList[t].minuteMax=o)}this.$forceUpdate()},sceneQuery:function(){var e=this,t={companyId:this.$store.state.companyId,sceneType:99,channelFlag:!0,weekFlag:!0};this.axios.post(this.getStoreUrl("scene/query"),t).then(function(t){"00"===t.data.code?(e.sceneList=t.data.data.list,e.$forceUpdate(),e.sceneList.forEach(function(t,n){t.sceneId==e.scene&&(e.tcommonList=t,e.tprojectId=t.projectId),t.sceneDateFrom=t.sceneDateFrom.substr(0,5),t.sceneDateTo=t.sceneDateTo.substr(0,5),t.autos.forEach(function(s,a){s.autoDateFrom&&s.autoDateTo&&(s.dates=[s.autoDateFrom.substr(0,10),s.autoDateTo.substr(0,10)]),1==t.sceneType&&e.computeMinuteNumbers(s,n,a),s.sceneDateFrom=s.sceneDateFrom.substr(0,5),s.sceneDateTo=s.sceneDateTo.substr(0,5)}),1==t.sceneType&&e.computeMinuteNumbers(t,n,1e4)})):e.$message.error(t.data.message)})},save:function(){for(var e=this,t=0;t<this.sceneList.length;t++){if(!this.sceneList[t].sceneName)return this.$message.error("请选择消耗点");if(!this.sceneList[t].sceneDateFrom)return this.$message.error("请选择开始时间");if(!this.sceneList[t].sceneDateTo)return this.$message.error("请选择结束时间");if(""===this.sceneList[t].sceneTotalNum)return this.$message.error("请填写库存");if(this.sceneList[t].autos.length>0)for(var n=0;n<this.sceneList[t].autos.length;n++){if(""===this.sceneList[t].autos[n].autoDateUnit)return this.$message.error("请填写时间单位");if(!this.sceneList[t].autos[n].sceneDateFrom)return this.$message.error("请填写开始时间");if(!this.sceneList[t].autos[n].sceneDateTo)return this.$message.error("请填写结束时间");if(""===this.sceneList[t].autos[n].sceneTotalNum)return this.$message.error("请填写库存量")}}var s={companyId:this.$store.state.companyId,list:this.sceneList};this.axios.post(this.getStoreUrl("scene/saveList"),s).then(function(t){"00"==t.data.code?(e.$message.success("保存成功"),e.$router.go(-1)):e.$message.error(t.data.message)})}},mounted:function(){this.projectQuery(),this.getChannelList(),this.sceneQuery(),this.kucun=this.$route.query.type,this.scene=this.$route.query.id}},r={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bigBox"},[n("div",{staticClass:"bottom"},[2==e.kucun?n("p",{staticClass:"commonP"},[e._v("\n 普通库存设置\n ")]):e._e(),e._v(" "),1==e.kucun?n("p",{staticClass:"commonP"},[e._v("\n 场次库存设置\n ")]):e._e(),e._v(" "),3==e.kucun?n("p",{staticClass:"commonP"},[e._v("\n 众仁科技库存设置\n ")]):e._e(),e._v(" "),n("div",{staticClass:"bottomBox"},[n("div",{staticClass:"boxList"},[n("div",{staticClass:"list1"},[n("span",[e._v("消费点:")]),e._v(" "),n("el-select",{attrs:{filterable:"",clearable:"",placeholder:"请选择消耗点"},on:{change:function(t){return e.tpointChange(e.tprojectId)}},model:{value:e.tprojectId,callback:function(t){e.tprojectId=t},expression:"tprojectId"}},e._l(e.projectList,function(e,t){return n("el-option",{key:t,attrs:{label:e.projectName,value:e.projectId}})}),1),e._v(" "),n("span",[e._v("时间:")]),e._v(" "),1==e.kucun||3==e.kucun?n("div",[n("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"00:00",end:"23:59",step:"00:1"}},on:{change:function(t){return e.computeMinuteNumber(e.tcommonList,1e4)}},model:{value:e.tcommonList.sceneDateFrom,callback:function(t){e.$set(e.tcommonList,"sceneDateFrom",t)},expression:"tcommonList.sceneDateFrom"}}),e._v("--\n "),n("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"00:00",end:"23:59",step:"00:1",minTime:e.tcommonList.sceneDateFrom}},on:{change:function(t){return e.computeMinuteNumber(e.tcommonList,1e4)}},model:{value:e.tcommonList.sceneDateTo,callback:function(t){e.$set(e.tcommonList,"sceneDateTo",t)},expression:"tcommonList.sceneDateTo"}})],1):n("div",[n("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"00:00",end:"23:59",step:"00:1"}},model:{value:e.tcommonList.sceneDateFrom,callback:function(t){e.$set(e.tcommonList,"sceneDateFrom",t)},expression:"tcommonList.sceneDateFrom"}}),e._v("--\n "),n("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"00:00",end:"23:59",step:"00:1",minTime:e.tcommonList.sceneDateFrom}},model:{value:e.tcommonList.sceneDateTo,callback:function(t){e.$set(e.tcommonList,"sceneDateTo",t)},expression:"tcommonList.sceneDateTo"}})],1),e._v(" "),3!=e.kucun?n("div",{staticStyle:{"margin-left":"0.2rem"}},[n("span",[e._v("库存:")]),e._v(" "),1==e.kucun?n("el-input",{staticStyle:{width:"70px"},attrs:{type:"number"},on:{change:function(t){return e.computeMinuteNumber(e.tcommonList,1e4)}},model:{value:e.tcommonList.sceneTotalNum,callback:function(t){e.$set(e.tcommonList,"sceneTotalNum",t)},expression:"tcommonList.sceneTotalNum"}}):n("el-input",{staticStyle:{width:"80px"},attrs:{type:"number"},model:{value:e.tcommonList.sceneTotalNum,callback:function(t){e.$set(e.tcommonList,"sceneTotalNum",t)},expression:"tcommonList.sceneTotalNum"}})],1):e._e(),e._v(" "),1==e.kucun?n("div",{staticClass:"minuteNumber"},[n("span",[e._v("每场:")]),e._v(" "),n("el-input-number",{staticStyle:{width:"130px",height:"40px"},attrs:{min:1,max:e.tcommonList.minuteMax},on:{change:function(t){return e.computeMinuteNumber(e.tcommonList,1e4)}},model:{value:e.tcommonList.sceneDateUnit,callback:function(t){e.$set(e.tcommonList,"sceneDateUnit",t)},expression:"tcommonList.sceneDateUnit"}})],1):e._e(),e._v(" "),1==e.kucun?n("span",{staticStyle:{"margin-left":"0.05rem"}},[e._v("\n 分钟/\n "),n("i",{staticStyle:{color:"#FF0000"}},[e._v(e._s(e.tcommonList.minuteNumber||0))]),e._v("张\n ")]):e._e()],1),e._v(" "),n("div",{staticClass:"list1"},[n("div",{staticStyle:{margin:"10px 0 0 0.2rem"}},[n("span",[e._v("渠道库存:")]),e._v(" "),n("el-select",{attrs:{filterable:"",placeholder:"请选择渠道名称"},on:{change:function(t){return e.channelNameChange(e.tcommonList,e.tcommonList.findChannelId)}},model:{value:e.tcommonList.findChannelId,callback:function(t){e.$set(e.tcommonList,"findChannelId",t)},expression:"tcommonList.findChannelId"}},e._l(e.channelList,function(e,t){return n("el-option",{key:t,attrs:{label:e.companyName,value:e.channelId}})}),1)],1),e._v(" "),e.tcommonList.channels&&e.tcommonList.channels.length>0?n("table",{staticStyle:{width:"240px",margin:"0 0.2rem"}},[e._m(0),e._v(" "),e._l(e.tcommonList.channels,function(t,s){return n("tr",{key:s},[n("td",[e._v(e._s(t.companyName))]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.channelTotalNum,expression:"items.channelTotalNum"}],staticStyle:{height:"25px"},attrs:{type:"number"},domProps:{value:t.channelTotalNum},on:{input:function(n){n.target.composing||e.$set(t,"channelTotalNum",n.target.value)}}})]),e._v(" "),n("td",{staticStyle:{color:"#FF0000",cursor:"pointer"},on:{click:function(t){return e.deleChannelName(e.tcommonList,s)}}},[e._v("删除")])])})],2):e._e()]),e._v(" "),n("br"),e._v(" "),n("span",[e._v("节假日库存")]),e._v(" "),n("span",{staticClass:"btn",on:{click:function(t){return e.autoAdd(e.tcommonList)}}},[e._v("+")]),e._v(" "),e._l(e.tcommonList.autos,function(t,s){return n("div",{key:s,staticClass:"list2"},[n("i",{staticClass:"btn",staticStyle:{background:"#00BAFF"},on:{click:function(t){return e.autoDele(e.tcommonList,s)}}},[e._v("-")]),e._v(" "),n("span"),e._v(" "),n("div",{staticStyle:{"margin-right":"5px"}},[n("span",[e._v("渠道库存:")]),e._v(" "),n("el-select",{attrs:{filterable:"",placeholder:"请选择渠道名称",clearable:""},model:{value:t.channelId,callback:function(n){e.$set(t,"channelId",n)},expression:"items.channelId"}},e._l(e.channelList,function(e,t){return n("el-option",{key:t,attrs:{label:e.companyName,value:e.channelId}})}),1)],1),e._v(" "),n("el-select",{on:{change:function(t){return e.timeUnitChange(s)}},model:{value:t.autoDateUnit,callback:function(n){e.$set(t,"autoDateUnit",n)},expression:"items.autoDateUnit"}},[n("el-option",{attrs:{label:"日期",value:0}}),e._v(" "),n("el-option",{attrs:{label:"工作日",value:1}}),e._v(" "),n("el-option",{attrs:{label:"节假日",value:2}}),e._v(" "),n("el-option",{attrs:{label:"星期",value:3}})],1),e._v(" "),0==t.autoDateUnit?n("div",[n("span",{staticStyle:{"margin-left":"0.2rem"}}),e._v(" "),n("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{blur:function(t){return e.changeDate(s)},change:function(t){return e.changeDate(s)}},model:{value:t.dates,callback:function(n){e.$set(t,"dates",n)},expression:"items.dates"}})],1):e._e(),e._v(" "),3==t.autoDateUnit?n("div",[n("span",{staticStyle:{"margin-left":"0.2rem"}}),e._v(" "),e._l(e.weekList,function(s,a){return n("label",{key:a},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.autoDateWeekList,expression:"items.autoDateWeekList"}],attrs:{type:"checkbox"},domProps:{value:s.value,checked:Array.isArray(t.autoDateWeekList)?e._i(t.autoDateWeekList,s.value)>-1:t.autoDateWeekList},on:{change:function(n){var a=t.autoDateWeekList,o=n.target,c=!!o.checked;if(Array.isArray(a)){var i=s.value,r=e._i(a,i);o.checked?r<0&&e.$set(t,"autoDateWeekList",a.concat([i])):r>-1&&e.$set(t,"autoDateWeekList",a.slice(0,r).concat(a.slice(r+1)))}else e.$set(t,"autoDateWeekList",c)}}}),e._v("\n "+e._s(s.name)+"\n ")])})],2):e._e(),e._v(" "),n("span"),e._v(" "),1==e.kucun||3==e.kucun?n("div",[t.channelId?e._e():n("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"00:00",end:"23:59",step:"00:1"}},on:{change:function(t){return e.computeMinuteNumber(e.tcommonList,s)}},model:{value:t.sceneDateFrom,callback:function(n){e.$set(t,"sceneDateFrom",n)},expression:"items.sceneDateFrom"}}),t.channelId?e._e():n("span",{staticStyle:{"margin-left":"0"}},[e._v("--")]),e._v(" "),t.channelId?e._e():n("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"00:00",end:"23:59",step:"00:1",minTime:t.sceneDateFrom}},on:{change:function(t){return e.computeMinuteNumber(e.tcommonList,s)}},model:{value:t.sceneDateTo,callback:function(n){e.$set(t,"sceneDateTo",n)},expression:"items.sceneDateTo"}})],1):n("div",[t.channelId?e._e():n("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"00:00",end:"23:59",step:"00:1"}},model:{value:t.sceneDateFrom,callback:function(n){e.$set(t,"sceneDateFrom",n)},expression:"items.sceneDateFrom"}}),t.channelId?e._e():n("span",{staticStyle:{"margin-left":"0"}},[e._v("--")]),e._v(" "),t.channelId?e._e():n("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"00:00",end:"23:59",step:"00:1",minTime:t.sceneDateFrom}},model:{value:t.sceneDateTo,callback:function(n){e.$set(t,"sceneDateTo",n)},expression:"items.sceneDateTo"}})],1),e._v(" "),3!=e.kucun?n("div",{staticStyle:{"margin-left":"5px"}},[n("span",[e._v("库存:")]),e._v(" "),1==e.kucun?n("el-input",{staticStyle:{width:"70px"},attrs:{type:"number"},on:{change:function(t){return e.computeMinuteNumber(e.tcommonList,s)}},model:{value:t.sceneTotalNum,callback:function(n){e.$set(t,"sceneTotalNum",n)},expression:"items.sceneTotalNum"}}):n("el-input",{staticStyle:{width:"70px"},attrs:{type:"number"},model:{value:t.sceneTotalNum,callback:function(n){e.$set(t,"sceneTotalNum",n)},expression:"items.sceneTotalNum"}})],1):e._e(),e._v(" "),t.channelId?e._e():n("div",{staticClass:"minuteNumber"},[n("span",[e._v("每场:")]),e._v(" "),n("el-input-number",{staticStyle:{width:"130px"},attrs:{min:1,max:t.minuteMax},on:{change:function(t){return e.computeMinuteNumber(e.tcommonList,s)}},model:{value:t.sceneDateUnit,callback:function(n){e.$set(t,"sceneDateUnit",n)},expression:"items.sceneDateUnit"}})],1),e._v(" "),t.channelId?e._e():n("span",{staticStyle:{"margin-left":"0.05rem"}},[e._v("\n 分钟/\n "),n("i",{staticStyle:{color:"#FF0000"}},[e._v(e._s(t.minuteNumber||0))]),e._v("张\n ")])],1)}),e._v(" "),n("br"),e._v(" "),n("span",{staticClass:"btn4",staticStyle:{"margin-top":"10px"},on:{click:function(t){return e.kucunAdd(e.tcommonList)}}},[e._v("保存")])],2)])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("tr",[t("td",{attrs:{width:"120"}},[this._v("渠道名称")]),this._v(" "),t("td",{attrs:{width:"70"}},[this._v("库存")]),this._v(" "),t("td",{attrs:{width:"50"}},[this._v("操作")])])}]};var m=n("C7Lr")(i,r,!1,function(e){n("o35Q")},"data-v-72476bbc",null);t.default=m.exports},o35Q:function(e,t){}});
\ No newline at end of file
webpackJsonp([76],{"S+t4":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("hBs9"),n=a("5XGy"),s=a("RwQt"),o={components:{newpagingtwo:n.a,tate:i.a,breadNav:s.default},data:function(){return{obj:{beginCreateDate:"",companyId:this.$store.state.companyId,endCreateDate:"",pageIndex:1,pageSize:10},whichpage:1,list:[],total:{},TableExportObject:{config:{downFileName:"结算统计报表.xlsx",title:"结算统计报表",subTitle:"导出子标题",columns:[{name:"companyName",title:"旅行社"},{name:"firstAmount",title:"历史余额"},{name:"inputAmount",title:"充值收入"},{name:"useAmount",title:"消费金额"},{name:"usePerson",title:"消费人次"},{name:"endAmount",title:"消费余额"}]},cond:{}}}},methods:{daochu:function(){if(this.TableExportObject.cond=this.obj,this.TableExportObject.config.subTitle=this.obj.beginCreateDate+this.obj.endCreateDate||"全部统计",-1!==this.TableExportObject.config.subTitle.indexOf("-")){var t=this.TableExportObject.config.subTitle.slice(0,10);this.TableExportObject.config.subTitle=t+" 至 "+this.TableExportObject.config.subTitle.slice(10,this.TableExportObject.config.subTitle.length)}this.axios({method:"post",responseType:"blob",url:this.getReportUrl("/reportTeam/exportSettle"),data:this.TableExportObject}).then(function(t){var e=t.headers["content-type"],a=new Blob([t.data],{type:e}),i=document.createElement("a");i.download="统计.xlsx",i.style.display="none",i.href=URL.createObjectURL(a),document.body.appendChild(i),i.click(),URL.revokeObjectURL(i.href),document.body.removeChild(i)})},time:function(t){this.obj.beginCreateDate=t[0],this.obj.endCreateDate=t[1]},page:function(t){this.obj.pageIndex=t,this.whichpage=t,this.getData()},inquire:function(){this.$delete(this.obj,"pageIndex"),this.getData(),this.whichpage=1},getData:function(){var t=this;this.$api.SettlementStatistical(this,this.obj).then(function(e){if("00"===e.code){if(0===e.data.list.length)return t.list=[],void t.$message.error("没有消息哦!");t.obj=t.$commonJs.TabularPagingData(e.data,t.obj),t.list=e.data.list,t.total=e.total}else t.$message.error(e.message)})}},created:function(){this.getData()}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bigBox"},[a("breadNav",[t._v("结算统计")]),t._v(" "),a("div",{staticClass:"box"},[a("div",{staticClass:"xl"},[a("span",[t._v("时间:")]),t._v(" "),a("tate",{on:{time:t.time}})],1),t._v(" "),a("span",{staticClass:"btn4",staticStyle:{"margin-right":"0.2rem"},on:{click:t.inquire}},[t._v("查询")]),t._v(" "),a("span",{staticStyle:{color:"#5A738A",cursor:"pointer","font-size":"0.18rem"},on:{click:t.daochu}},[t._v("下载")])]),t._v(" "),a("div",{staticClass:"table",staticStyle:{"margin-top":"0.1rem"}},[a("table",[t._m(0),t._v(" "),a("tr",[a("td",[t._v("合计")]),t._v(" "),a("td",[t._v(t._s(t.total.firstAmount))]),t._v(" "),a("td",[t._v(t._s(t.total.inputAmount))]),t._v(" "),a("td",[t._v(t._s(t.total.useAmount))]),t._v(" "),a("td",[t._v(t._s(t.total.usePerson))]),t._v(" "),a("td",[t._v(t._s(t.total.endAmount))])])])]),t._v(" "),a("div",{staticClass:"table"},[a("p",[t._v("详细列表:")]),t._v(" "),a("table",[t._m(1),t._v(" "),t._l(t.list,function(e,i){return a("tr",{key:i},[a("td",[t._v(t._s(e.companyName))]),t._v(" "),a("td",[t._v(t._s(e.firstAmount))]),t._v(" "),a("td",[t._v(t._s(e.inputAmount))]),t._v(" "),a("td",[t._v(t._s(e.useAmount))]),t._v(" "),a("td",[t._v(t._s(e.usePerson))]),t._v(" "),a("td",[t._v(t._s(e.endAmount))])])})],2)]),t._v(" "),a("newpagingtwo",{attrs:{pagesize:t.obj.pageSize,total:t.obj.pageTotal,whichpage:t.whichpage},on:{page:t.page}})],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",[t._v("合计")]),t._v(" "),a("td",[t._v("历史余额")]),t._v(" "),a("td",[t._v("充值收入")]),t._v(" "),a("td",[t._v("消费金额")]),t._v(" "),a("td",[t._v("消费人次")]),t._v(" "),a("td",[t._v("消费余额")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",[t._v("旅行社")]),t._v(" "),a("td",[t._v("历史余额")]),t._v(" "),a("td",[t._v("充值收入")]),t._v(" "),a("td",[t._v("消费金额")]),t._v(" "),a("td",[t._v("消费人次")]),t._v(" "),a("td",[t._v("消费余额")])])}]};var r=a("C7Lr")(o,l,!1,function(t){a("k+68")},"data-v-71658047",null);e.default=r.exports},"k+68":function(t,e){}});
\ No newline at end of file
webpackJsonp([77],{"S+t4":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("hBs9"),n=a("5XGy"),s=a("RwQt"),o={components:{newpagingtwo:n.a,tate:i.a,breadNav:s.default},data:function(){return{obj:{beginCreateDate:"",companyId:this.$store.state.companyId,endCreateDate:"",pageIndex:1,pageSize:10},whichpage:1,list:[],total:{},TableExportObject:{config:{downFileName:"结算统计报表.xlsx",title:"结算统计报表",subTitle:"导出子标题",columns:[{name:"companyName",title:"旅行社"},{name:"firstAmount",title:"历史余额"},{name:"inputAmount",title:"充值收入"},{name:"useAmount",title:"消费金额"},{name:"usePerson",title:"消费人次"},{name:"endAmount",title:"消费余额"}]},cond:{}}}},methods:{daochu:function(){if(this.TableExportObject.cond=this.obj,this.TableExportObject.config.subTitle=this.obj.beginCreateDate+this.obj.endCreateDate||"全部统计",-1!==this.TableExportObject.config.subTitle.indexOf("-")){var t=this.TableExportObject.config.subTitle.slice(0,10);this.TableExportObject.config.subTitle=t+" 至 "+this.TableExportObject.config.subTitle.slice(10,this.TableExportObject.config.subTitle.length)}this.axios({method:"post",responseType:"blob",url:this.getReportUrl("/reportTeam/exportSettle"),data:this.TableExportObject}).then(function(t){var e=t.headers["content-type"],a=new Blob([t.data],{type:e}),i=document.createElement("a");i.download="统计.xlsx",i.style.display="none",i.href=URL.createObjectURL(a),document.body.appendChild(i),i.click(),URL.revokeObjectURL(i.href),document.body.removeChild(i)})},time:function(t){this.obj.beginCreateDate=t[0],this.obj.endCreateDate=t[1]},page:function(t){this.obj.pageIndex=t,this.whichpage=t,this.getData()},inquire:function(){this.$delete(this.obj,"pageIndex"),this.getData(),this.whichpage=1},getData:function(){var t=this;this.$api.SettlementStatistical(this,this.obj).then(function(e){if("00"===e.code){if(0===e.data.list.length)return t.list=[],void t.$message.error("没有消息哦!");t.obj=t.$commonJs.TabularPagingData(e.data,t.obj),t.list=e.data.list,t.total=e.total}else t.$message.error(e.message)})}},created:function(){this.getData()}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bigBox"},[a("breadNav",[t._v("结算统计")]),t._v(" "),a("div",{staticClass:"box"},[a("div",{staticClass:"xl"},[a("span",[t._v("时间:")]),t._v(" "),a("tate",{on:{time:t.time}})],1),t._v(" "),a("span",{staticClass:"btn4",staticStyle:{"margin-right":"0.2rem"},on:{click:t.inquire}},[t._v("查询")]),t._v(" "),a("span",{staticStyle:{color:"#5A738A",cursor:"pointer","font-size":"0.18rem"},on:{click:t.daochu}},[t._v("下载")])]),t._v(" "),a("div",{staticClass:"table",staticStyle:{"margin-top":"0.1rem"}},[a("table",[t._m(0),t._v(" "),a("tr",[a("td",[t._v("合计")]),t._v(" "),a("td",[t._v(t._s(t.total.firstAmount))]),t._v(" "),a("td",[t._v(t._s(t.total.inputAmount))]),t._v(" "),a("td",[t._v(t._s(t.total.useAmount))]),t._v(" "),a("td",[t._v(t._s(t.total.usePerson))]),t._v(" "),a("td",[t._v(t._s(t.total.endAmount))])])])]),t._v(" "),a("div",{staticClass:"table"},[a("p",[t._v("详细列表:")]),t._v(" "),a("table",[t._m(1),t._v(" "),t._l(t.list,function(e,i){return a("tr",{key:i},[a("td",[t._v(t._s(e.companyName))]),t._v(" "),a("td",[t._v(t._s(e.firstAmount))]),t._v(" "),a("td",[t._v(t._s(e.inputAmount))]),t._v(" "),a("td",[t._v(t._s(e.useAmount))]),t._v(" "),a("td",[t._v(t._s(e.usePerson))]),t._v(" "),a("td",[t._v(t._s(e.endAmount))])])})],2)]),t._v(" "),a("newpagingtwo",{attrs:{pagesize:t.obj.pageSize,total:t.obj.pageTotal,whichpage:t.whichpage},on:{page:t.page}})],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",[t._v("合计")]),t._v(" "),a("td",[t._v("历史余额")]),t._v(" "),a("td",[t._v("充值收入")]),t._v(" "),a("td",[t._v("消费金额")]),t._v(" "),a("td",[t._v("消费人次")]),t._v(" "),a("td",[t._v("消费余额")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",[t._v("旅行社")]),t._v(" "),a("td",[t._v("历史余额")]),t._v(" "),a("td",[t._v("充值收入")]),t._v(" "),a("td",[t._v("消费金额")]),t._v(" "),a("td",[t._v("消费人次")]),t._v(" "),a("td",[t._v("消费余额")])])}]};var r=a("C7Lr")(o,l,!1,function(t){a("k+68")},"data-v-71658047",null);e.default=r.exports},"k+68":function(t,e){}});
\ No newline at end of file
webpackJsonp([77],{FA5Q:function(e,t){},Vv48:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={components:{leftSide:n("FegP").a}},c={render:function(){var e=this.$createElement;return(this._self._c||e)("leftSide")},staticRenderFns:[]};var a=n("C7Lr")(r,c,!1,function(e){n("FA5Q")},"data-v-6ffacc51",null);t.default=a.exports}});
\ No newline at end of file
webpackJsonp([78],{FA5Q:function(e,t){},Vv48:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={components:{leftSide:n("FegP").a}},c={render:function(){var e=this.$createElement;return(this._self._c||e)("leftSide")},staticRenderFns:[]};var a=n("C7Lr")(r,c,!1,function(e){n("FA5Q")},"data-v-6ffacc51",null);t.default=a.exports}});
\ No newline at end of file
webpackJsonp([78],{Mvet:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={data:function(){return{}},components:{ClearListDetails:n("FOxw").default}},a={render:function(){var e=this.$createElement;return(this._self._c||e)("ClearListDetails")},staticRenderFns:[]};var s=n("C7Lr")(r,a,!1,function(e){n("vWCc")},null,null);t.default=s.exports},vWCc:function(e,t){}});
\ No newline at end of file
webpackJsonp([79],{Mvet:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={data:function(){return{}},components:{ClearListDetails:n("FOxw").default}},a={render:function(){var e=this.$createElement;return(this._self._c||e)("ClearListDetails")},staticRenderFns:[]};var s=n("C7Lr")(r,a,!1,function(e){n("vWCc")},null,null);t.default=s.exports},vWCc:function(e,t){}});
\ No newline at end of file
webpackJsonp([79],{"65OO":function(e,t){},LTFr:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("aA9S"),o=r.n(a),n=r("IHPB"),s=r.n(n),i=r("3cXf"),u=r.n(i),c=r("hBs9"),l=r("5XGy"),d=r("RwQt"),p={data:function(){return{valuess:"",funxiao:[],zhifu:[],product:[],qudao:[],founder:[],whichpage:-1,list:[],WhetherTheRendering:{companyId:this.$store.state.companyId,groupCompany:"",groupCreateDate:!0,groupPlayDateFrom:"",groupPriceType:"",groupPayType:"",groupProduct:"",groupChannel:"",groupCreateUserId:"",groupSaleId:""},queryObject:{saleType:"",payTypes:[],createUserId:"",channelId:"",productIds:[],companyId:this.$store.state.companyId,groupCompany:"",groupCreateDate:!0,groupPlayDateFrom:"",groupPriceType:"",groupPayType:"",groupProduct:"",groupChannel:"",search:"",beginCreateDate:"",endCreateDate:"",beginPlayDateFrom:"",endPlayDateFrom:"",groupCreateUserId:"",pageSize:10,groupSaleId:""},ReportOrderPageQueryReqVo:{saleType:"",payTypes:[],createUserId:"",channelId:"",productIds:[],companyId:this.$store.state.companyId,groupCompany:"",groupCreateDate:!0,groupPlayDateFrom:"",groupPriceType:"",groupPayType:"",groupProduct:"",groupChannel:"",search:"",beginCreateDate:"",endCreateDate:"",beginPlayDateFrom:"",endPlayDateFrom:"",groupCreateUserId:"",pageSize:10,pageIndex:1},column:[{name:"orderCount",merger:!0,title:"售票: 次数",width:"200"},{name:"buyNum",merger:!0,title:"售票: 张数",width:"200"},{name:"buyMoney",merger:!0,title:"售票: 金额",width:"200"},{name:"returnNum",merger:!0,title:"退款: 张数",width:"200"},{name:"returnMoney",merger:!0,title:"退款: 金额",width:"200"},{name:"checkNum",merger:!0,title:"核销: 张数",width:"200"},{name:"checkMoney",merger:!0,title:"核销: 金额",width:"200"},{name:"buyCalcNum",title:"售票结算: 张数",width:200,merger:!0},{name:"buyCalcMoney",title:"售票结算: 金额",width:200,merger:!0},{name:"returnCheckNum",title:"核销退款: 张数",width:200,merger:!0},{name:"returnCheckMoney",title:"核销退款: 金额",width:200,merger:!0},{name:"checkCalcNum",title:"核销结算: 张数",width:200,merger:!0},{name:"checkCalcMoney",title:"核销结算: 金额",width:200,merger:!0}],mapColumn:{groupCreateDate:{name:"createDate",merger:!0,title:"创建时间",width:"450"},groupPlayDateFrom:{name:"playDateFrom",merger:!0,title:"游玩时间",width:"450"},groupSaleId:{name:"saleTypeName",merger:!0,title:"票种",width:"300"},groupPriceType:{name:"priceTypeName",merger:!0,title:"渠道类型",width:"300"},groupChannel:{name:"channelName",merger:!0,title:"渠道名称",width:"700"},groupPayType:{name:"payTypeName",merger:!0,title:"支付方式",width:"300"},groupCreateUserId:{name:"userName",merger:!0,title:"创建人",width:"300"},groupProduct:{name:"productName",merger:!0,title:"产品",width:200}},value:"0",userType:[{value:"0",label:"创建时间"},{value:"1",label:"游玩时间"}],shijian:[],createUserId:"",times:null}},components:{tate:c.a,newpagingtwo:l.a,breadNav:d.default},methods:{getqudao:function(){var e=this;this.axios.post(this.getChanel("channel/list"),{companyId:this.$store.state.companyId,pageIndex:1,pageSize:9999,createUserId:this.createUserId}).then(function(t){0!=t.data.data.list.length&&(console.log(e.qudao),e.qudao=t.data.data.list)})},getProdect:function(){var e=this;this.axios.post(this.getProductUrl("product/query"),{companyId:this.$store.state.companyId,pageIndex:1,pageSize:9999,createUserId:this.createUserId}).then(function(t){0!=t.data.data.list.length&&(e.product=t.data.data.list)})},getCreator:function(){var e=this;this.axios.post(this.getSystem("/permission/userList"),{companyId:this.$store.state.companyId,pageIndex:1,pageSize:9999,createUserId:this.createUserId}).then(function(t){0!=t.data.data.list.length&&(e.founder=t.data.data.list)})},getPayment:function(e,t){var r=this;this.axios.post(this.getSystem("/systemEnum/drop"),{companyId:this.$store.state.companyId,enumType:e}).then(function(e){"00"===e.data.code?t(e.data.data):r.$message.error(e.data.message)})},push:function(e){var t=this.queryObject;t.type=this.value,console.log(t),void 0!==this.list[e].createDate||void 0!==this.list[e].playDateFrom||""!==t.beginCreateDate||""!==t.beginPlayDateFrom?this.$router.push({name:"ttransactionOrders",query:{data:u()(this.list[e]),obj:u()(t)}}):this.$message.error("请选择时间查询后查看详情!")},page:function(e){this.ReportOrderPageQueryReqVo.pageIndex=e,this.getData(this.ReportOrderPageQueryReqVo)},inquire:function(){for(var e in this.whichpage=0,this.queryObject)!1===this.queryObject[e]&&(this.queryObject[e]=""),this.ReportOrderPageQueryReqVo[e]=this.queryObject[e];delete this.ReportOrderPageQueryReqVo.pageIndex,this.getData(this.ReportOrderPageQueryReqVo)},change:function(){"0"===this.value?(this.queryObject.beginCreateDate=this.shijian[0]||"",this.queryObject.endCreateDate=this.shijian[1]||"",this.queryObject.beginPlayDateFrom="",this.queryObject.endPlayDateFrom=""):(this.queryObject.beginPlayDateFrom=this.shijian[0]||"",this.queryObject.endPlayDateFrom=this.shijian[1]||"",this.queryObject.endCreateDate="",this.queryObject.beginCreateDate="")},time:function(e){this.shijian=e,"0"===this.value?(this.queryObject.beginCreateDate=e[0]||"",this.queryObject.endCreateDate=e[1]||""):(this.queryObject.beginPlayDateFrom=e[0]||"",this.queryObject.endPlayDateFrom=e[1]||"")},getData:function(e){var t=this;this.axios.post(this.getReportUrl("report/queryReport"),e).then(function(e){if("00"===e.data.code){for(var r in t.WhetherTheRendering)t.WhetherTheRendering[r]=t.ReportOrderPageQueryReqVo[r];for(var a in e.data.data)"list"!==a&&(t.ReportOrderPageQueryReqVo[a]=e.data.data[a]);0===e.data.data.list.length?(t.list=e.data.data.list,t.$message.error("没有消息哦!")):(t.list=e.data.data.list,t.$message({message:"查询成功!",type:"success",duration:1500}),t.whichpage=1)}else t.$message.error(e.data.message)})},setStorage:function(){var e=u()(this.queryObject);localStorage.setItem("queryObject",e)},exprotTableHandle:function(){this.whichpage=0;var e=[];for(var t in this.queryObject)!1===this.queryObject[t]&&(this.queryObject[t]=""),this.queryObject[t]&&t in this.mapColumn&&e.push(this.mapColumn[t]),this.ReportOrderPageQueryReqVo[t]=this.queryObject[t];delete this.ReportOrderPageQueryReqVo.pageIndex;var r="";r="0"==this.value?this.ReportOrderPageQueryReqVo.endCreateDate+" 至 "+this.ReportOrderPageQueryReqVo.beginCreateDate:this.ReportOrderPageQueryReqVo.endPlayDateFrom+" 至 "+this.ReportOrderPageQueryReqVo.beginPlayDateFrom;var a={cond:this.ReportOrderPageQueryReqVo,config:{columns:[].concat(e,s()(this.column)),title:"运营综合报表",subTitle:r,rowHeight:40}};this.axios.post(this.getReportUrl("/report/exportReport"),a,{responseType:"blob"}).then(function(e){var t=e.headers["content-type"],r=new Blob([e.data],{type:t}),a=document.createElement("a");a.download="统计.xlsx",a.style.display="none",a.href=URL.createObjectURL(r),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)})}},mounted:function(){var e=this,t=localStorage.getItem("queryObject");if(t){var r=JSON.parse(t);this.queryObject=o()(this.queryObject,r,{beginCreateDate:this.queryObject.beginCreateDate,endCreateDate:this.queryObject.endCreateDate,beginPlayDateFrom:this.queryObject.beginPlayDateFrom,endPlayDateFrom:this.queryObject.endPlayDateFrom,companyId:this.$store.state.companyId,productId:"",payType:"",saleType:"",channelId:""})}1==this.$store.state.actionAllData?this.createUserId="":this.createUserId=this.$store.state.createUserId,this.queryObject.createUserId=this.createUserId,this.getProdect(),this.getqudao(),this.getCreator(),this.getPayment("payType",function(t){e.zhifu=t}),this.getPayment("saleType",function(t){e.funxiao=t}),this.inquire()}},h={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"bigBox"},[r("breadNav",[e._v("运营报表")]),e._v(" "),r("div",{staticClass:"box"},[r("div",[r("el-select",{on:{change:e.change},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.userType,function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" :\n "),r("tate",{on:{time:e.time}})],1),e._v(" "),r("div",{staticClass:"hezi dis"},[r("span",[e._v("查询条件:")]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.queryObject.search,expression:"queryObject.search"}],staticClass:"input",attrs:{type:"text",placeholder:"默认公司 、 支付方式 、 产品 、 渠道 、 类型 、 分销类型 、 创建人"},domProps:{value:e.queryObject.search},on:{input:function(t){t.target.composing||e.$set(e.queryObject,"search",t.target.value)}}})]),e._v(" "),r("span",{staticClass:"btn4",on:{click:e.inquire}},[e._v("查询")])]),e._v(" "),r("div",{staticClass:"sai"},[r("el-select",{attrs:{multiple:"",placeholder:"请选择产品"},model:{value:e.queryObject.productIds,callback:function(t){e.$set(e.queryObject,"productIds",t)},expression:"queryObject.productIds"}},e._l(e.product,function(e,t){return r("el-option",{key:t,attrs:{label:e.productName,value:e.productId}})}),1),e._v(" "),r("el-select",{model:{value:e.queryObject.createUserId,callback:function(t){e.$set(e.queryObject,"createUserId",t)},expression:"queryObject.createUserId"}},[r("el-option",{attrs:{label:"--创建人--",value:""}}),e._v(" "),e._l(e.founder,function(e,t){return r("el-option",{key:t,attrs:{label:e.userName,value:e.userId}})})],2),e._v(" "),r("el-select",{attrs:{multiple:"",placeholder:"请选择支付方式"},model:{value:e.queryObject.payTypes,callback:function(t){e.$set(e.queryObject,"payTypes",t)},expression:"queryObject.payTypes"}},e._l(e.zhifu,function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})}),1),e._v(" "),r("el-select",{model:{value:e.queryObject.saleType,callback:function(t){e.$set(e.queryObject,"saleType",t)},expression:"queryObject.saleType"}},[r("el-option",{attrs:{label:"--票种--",value:""}}),e._v(" "),e._l(e.funxiao,function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})],2),e._v(" "),r("el-select",{attrs:{filterable:""},model:{value:e.queryObject.channelId,callback:function(t){e.$set(e.queryObject,"channelId",t)},expression:"queryObject.channelId"}},[r("el-option",{attrs:{label:"--渠道名称--",value:""}}),e._v(" "),e._l(e.qudao,function(e){return r("el-option",{key:e.channelId,attrs:{label:e.companyName,value:e.channelId}})})],2)],1),e._v(" "),r("div",{staticClass:"choice"},[r("span",[e._v("结果列:")]),e._v(" "),r("el-checkbox",{on:{change:e.setStorage},model:{value:e.queryObject.groupCreateDate,callback:function(t){e.$set(e.queryObject,"groupCreateDate",t)},expression:"queryObject.groupCreateDate"}},[e._v("创建时间")]),e._v(" "),r("el-checkbox",{on:{change:e.setStorage},model:{value:e.queryObject.groupPlayDateFrom,callback:function(t){e.$set(e.queryObject,"groupPlayDateFrom",t)},expression:"queryObject.groupPlayDateFrom"}},[e._v("游玩时间")]),e._v(" "),r("el-checkbox",{on:{change:e.setStorage},model:{value:e.queryObject.groupSaleId,callback:function(t){e.$set(e.queryObject,"groupSaleId",t)},expression:"queryObject.groupSaleId"}},[e._v("票种")]),e._v(" "),r("el-checkbox",{on:{change:e.setStorage},model:{value:e.queryObject.groupPriceType,callback:function(t){e.$set(e.queryObject,"groupPriceType",t)},expression:"queryObject.groupPriceType"}},[e._v("渠道类型")]),e._v(" "),r("el-checkbox",{on:{change:e.setStorage},model:{value:e.queryObject.groupChannel,callback:function(t){e.$set(e.queryObject,"groupChannel",t)},expression:"queryObject.groupChannel"}},[e._v("渠道名称")]),e._v(" "),r("el-checkbox",{on:{change:e.setStorage},model:{value:e.queryObject.groupPayType,callback:function(t){e.$set(e.queryObject,"groupPayType",t)},expression:"queryObject.groupPayType"}},[e._v("支付方式")]),e._v(" "),r("el-checkbox",{on:{change:e.setStorage},model:{value:e.queryObject.groupCreateUserId,callback:function(t){e.$set(e.queryObject,"groupCreateUserId",t)},expression:"queryObject.groupCreateUserId"}},[e._v("创建人")]),e._v(" "),r("el-checkbox",{model:{value:e.queryObject.groupProduct,callback:function(t){e.$set(e.queryObject,"groupProduct",t)},expression:"queryObject.groupProduct"}},[e._v("产品")]),e._v(" "),r("p",{staticStyle:{display:"inline","margin-left":"0.3rem"}},[e._v("\n 导出: "),r("span",{staticClass:"export-btn",on:{click:e.exprotTableHandle}},[e._v("excel")]),e._v(" 下载\n ")])],1),e._v(" "),r("div",{staticClass:"table"},[r("table",{staticStyle:{"margin-top":"0.3rem"}},[r("tr",[e.WhetherTheRendering.groupCreateDate?r("td",{attrs:{rowspan:"2"}},[e._v("创建时间")]):e._e(),e._v(" "),e.WhetherTheRendering.groupPlayDateFrom?r("td",{attrs:{rowspan:"2"}},[e._v("游玩时间")]):e._e(),e._v(" "),e.WhetherTheRendering.groupSaleId?r("td",{attrs:{rowspan:"2"}},[e._v("票种")]):e._e(),e._v(" "),e.WhetherTheRendering.groupPriceType?r("td",{attrs:{rowspan:"2"}},[e._v("渠道类型")]):e._e(),e._v(" "),e.WhetherTheRendering.groupChannel?r("td",{attrs:{rowspan:"2"}},[e._v("渠道名称")]):e._e(),e._v(" "),e.WhetherTheRendering.groupPayType?r("td",{attrs:{rowspan:"2"}},[e._v("支付方式")]):e._e(),e._v(" "),e.WhetherTheRendering.groupCreateUserId?r("td",{attrs:{rowspan:"2"}},[e._v("创建人")]):e._e(),e._v(" "),e.WhetherTheRendering.groupProduct?r("td",{attrs:{rowspan:"2"}},[e._v("产品")]):e._e(),e._v(" "),r("td",{attrs:{colspan:"3"}},[e._v("售票")]),e._v(" "),r("td",{attrs:{colspan:"2"}},[e._v("退款")]),e._v(" "),r("td",{attrs:{colspan:"2"}},[e._v("核销")]),e._v(" "),r("td",{attrs:{colspan:"2"}},[e._v("售票结算")]),e._v(" "),r("td",{attrs:{colspan:"2"}},[e._v("核销退款")]),e._v(" "),r("td",{attrs:{colspan:"2"}},[e._v("核销结算")]),e._v(" "),r("td",{attrs:{rowspan:"2"}},[e._v("操作")])]),e._v(" "),e._m(0),e._v(" "),e._l(e.list,function(t,a){return r("tr",{key:a},[e.WhetherTheRendering.groupCreateDate?r("td",[e._v(e._s((t.createDate||"").substring(0,10)))]):e._e(),e._v(" "),e.WhetherTheRendering.groupPlayDateFrom?r("td",[e._v(e._s((t.playDateFrom||"").substring(0,10)))]):e._e(),e._v(" "),e.WhetherTheRendering.groupSaleId?r("td",[e._v(e._s(t.saleTypeName))]):e._e(),e._v(" "),e.WhetherTheRendering.groupPriceType?r("td",[e._v(e._s(t.priceTypeName))]):e._e(),e._v(" "),e.WhetherTheRendering.groupChannel?r("td",[e._v(e._s(t.channelName))]):e._e(),e._v(" "),e.WhetherTheRendering.groupPayType?r("td",[e._v(e._s(t.payTypeName))]):e._e(),e._v(" "),e.WhetherTheRendering.groupCreateUserId?r("td",[e._v(e._s(t.userName))]):e._e(),e._v(" "),e.WhetherTheRendering.groupProduct?r("td",[e._v(e._s(t.productName))]):e._e(),e._v(" "),r("td",[e._v(e._s(t.orderCount))]),e._v(" "),r("td",[e._v(e._s(t.buyNum))]),e._v(" "),r("td",[e._v(e._s(t.buyMoney))]),e._v(" "),r("td",[e._v(e._s(t.returnNum))]),e._v(" "),r("td",[e._v(e._s(t.returnMoney))]),e._v(" "),r("td",[e._v(e._s(t.checkNum))]),e._v(" "),r("td",[e._v(e._s(t.checkMoney))]),e._v(" "),r("td",[e._v(e._s(t.buyCalcNum))]),e._v(" "),r("td",[e._v(e._s(t.buyCalcMoney))]),e._v(" "),r("td",[e._v(e._s(t.returnCheckNum))]),e._v(" "),r("td",[e._v(e._s(t.returnCheckMoney))]),e._v(" "),r("td",[e._v(e._s(t.checkCalcNum))]),e._v(" "),r("td",[e._v(e._s(t.checkCalcMoney))]),e._v(" "),r("td",[r("a",{staticStyle:{color:"#0AABFF",cursor:"pointer"},on:{click:function(t){return e.push(a)}}},[e._v("详情")])])])})],2)]),e._v(" "),r("newpagingtwo",{attrs:{pagesize:e.ReportOrderPageQueryReqVo.pageSize,total:e.ReportOrderPageQueryReqVo.pageTotal,whichpage:e.whichpage},on:{page:e.page}})],1)},staticRenderFns:[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("tr",[r("td",[e._v("次数")]),e._v(" "),r("td",[e._v("张数")]),e._v(" "),r("td",[e._v("金额")]),e._v(" "),r("td",[e._v("张数")]),e._v(" "),r("td",[e._v("金额")]),e._v(" "),r("td",[e._v("张数")]),e._v(" "),r("td",[e._v("金额")]),e._v(" "),r("td",[e._v("张数")]),e._v(" "),r("td",[e._v("金额")]),e._v(" "),r("td",[e._v("张数")]),e._v(" "),r("td",[e._v("金额")]),e._v(" "),r("td",[e._v("张数")]),e._v(" "),r("td",[e._v("金额")])])}]};var y=r("C7Lr")(p,h,!1,function(e){r("65OO")},"data-v-6d119c21",null);t.default=y.exports}});
\ No newline at end of file
webpackJsonp([80],{"65OO":function(e,t){},LTFr:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r("aA9S"),o=r.n(a),n=r("IHPB"),s=r.n(n),i=r("3cXf"),u=r.n(i),c=r("hBs9"),l=r("5XGy"),d=r("RwQt"),p={data:function(){return{valuess:"",funxiao:[],zhifu:[],product:[],qudao:[],founder:[],whichpage:-1,list:[],WhetherTheRendering:{companyId:this.$store.state.companyId,groupCompany:"",groupCreateDate:!0,groupPlayDateFrom:"",groupPriceType:"",groupPayType:"",groupProduct:"",groupChannel:"",groupCreateUserId:"",groupSaleId:""},queryObject:{saleType:"",payTypes:[],createUserId:"",channelId:"",productIds:[],companyId:this.$store.state.companyId,groupCompany:"",groupCreateDate:!0,groupPlayDateFrom:"",groupPriceType:"",groupPayType:"",groupProduct:"",groupChannel:"",search:"",beginCreateDate:"",endCreateDate:"",beginPlayDateFrom:"",endPlayDateFrom:"",groupCreateUserId:"",pageSize:10,groupSaleId:""},ReportOrderPageQueryReqVo:{saleType:"",payTypes:[],createUserId:"",channelId:"",productIds:[],companyId:this.$store.state.companyId,groupCompany:"",groupCreateDate:!0,groupPlayDateFrom:"",groupPriceType:"",groupPayType:"",groupProduct:"",groupChannel:"",search:"",beginCreateDate:"",endCreateDate:"",beginPlayDateFrom:"",endPlayDateFrom:"",groupCreateUserId:"",pageSize:10,pageIndex:1},column:[{name:"orderCount",merger:!0,title:"售票: 次数",width:"200"},{name:"buyNum",merger:!0,title:"售票: 张数",width:"200"},{name:"buyMoney",merger:!0,title:"售票: 金额",width:"200"},{name:"returnNum",merger:!0,title:"退款: 张数",width:"200"},{name:"returnMoney",merger:!0,title:"退款: 金额",width:"200"},{name:"checkNum",merger:!0,title:"核销: 张数",width:"200"},{name:"checkMoney",merger:!0,title:"核销: 金额",width:"200"},{name:"buyCalcNum",title:"售票结算: 张数",width:200,merger:!0},{name:"buyCalcMoney",title:"售票结算: 金额",width:200,merger:!0},{name:"returnCheckNum",title:"核销退款: 张数",width:200,merger:!0},{name:"returnCheckMoney",title:"核销退款: 金额",width:200,merger:!0},{name:"checkCalcNum",title:"核销结算: 张数",width:200,merger:!0},{name:"checkCalcMoney",title:"核销结算: 金额",width:200,merger:!0}],mapColumn:{groupCreateDate:{name:"createDate",merger:!0,title:"创建时间",width:"450"},groupPlayDateFrom:{name:"playDateFrom",merger:!0,title:"游玩时间",width:"450"},groupSaleId:{name:"saleTypeName",merger:!0,title:"票种",width:"300"},groupPriceType:{name:"priceTypeName",merger:!0,title:"渠道类型",width:"300"},groupChannel:{name:"channelName",merger:!0,title:"渠道名称",width:"700"},groupPayType:{name:"payTypeName",merger:!0,title:"支付方式",width:"300"},groupCreateUserId:{name:"userName",merger:!0,title:"创建人",width:"300"},groupProduct:{name:"productName",merger:!0,title:"产品",width:200}},value:"0",userType:[{value:"0",label:"创建时间"},{value:"1",label:"游玩时间"}],shijian:[],createUserId:"",times:null}},components:{tate:c.a,newpagingtwo:l.a,breadNav:d.default},methods:{getqudao:function(){var e=this;this.axios.post(this.getChanel("channel/list"),{companyId:this.$store.state.companyId,pageIndex:1,pageSize:9999,createUserId:this.createUserId}).then(function(t){0!=t.data.data.list.length&&(console.log(e.qudao),e.qudao=t.data.data.list)})},getProdect:function(){var e=this;this.axios.post(this.getProductUrl("product/query"),{companyId:this.$store.state.companyId,pageIndex:1,pageSize:9999,createUserId:this.createUserId}).then(function(t){0!=t.data.data.list.length&&(e.product=t.data.data.list)})},getCreator:function(){var e=this;this.axios.post(this.getSystem("/permission/userList"),{companyId:this.$store.state.companyId,pageIndex:1,pageSize:9999,createUserId:this.createUserId}).then(function(t){0!=t.data.data.list.length&&(e.founder=t.data.data.list)})},getPayment:function(e,t){var r=this;this.axios.post(this.getSystem("/systemEnum/drop"),{companyId:this.$store.state.companyId,enumType:e}).then(function(e){"00"===e.data.code?t(e.data.data):r.$message.error(e.data.message)})},push:function(e){var t=this.queryObject;t.type=this.value,console.log(t),void 0!==this.list[e].createDate||void 0!==this.list[e].playDateFrom||""!==t.beginCreateDate||""!==t.beginPlayDateFrom?this.$router.push({name:"ttransactionOrders",query:{data:u()(this.list[e]),obj:u()(t)}}):this.$message.error("请选择时间查询后查看详情!")},page:function(e){this.ReportOrderPageQueryReqVo.pageIndex=e,this.getData(this.ReportOrderPageQueryReqVo)},inquire:function(){for(var e in this.whichpage=0,this.queryObject)!1===this.queryObject[e]&&(this.queryObject[e]=""),this.ReportOrderPageQueryReqVo[e]=this.queryObject[e];delete this.ReportOrderPageQueryReqVo.pageIndex,this.getData(this.ReportOrderPageQueryReqVo)},change:function(){"0"===this.value?(this.queryObject.beginCreateDate=this.shijian[0]||"",this.queryObject.endCreateDate=this.shijian[1]||"",this.queryObject.beginPlayDateFrom="",this.queryObject.endPlayDateFrom=""):(this.queryObject.beginPlayDateFrom=this.shijian[0]||"",this.queryObject.endPlayDateFrom=this.shijian[1]||"",this.queryObject.endCreateDate="",this.queryObject.beginCreateDate="")},time:function(e){this.shijian=e,"0"===this.value?(this.queryObject.beginCreateDate=e[0]||"",this.queryObject.endCreateDate=e[1]||""):(this.queryObject.beginPlayDateFrom=e[0]||"",this.queryObject.endPlayDateFrom=e[1]||"")},getData:function(e){var t=this;this.axios.post(this.getReportUrl("report/queryReport"),e).then(function(e){if("00"===e.data.code){for(var r in t.WhetherTheRendering)t.WhetherTheRendering[r]=t.ReportOrderPageQueryReqVo[r];for(var a in e.data.data)"list"!==a&&(t.ReportOrderPageQueryReqVo[a]=e.data.data[a]);0===e.data.data.list.length?(t.list=e.data.data.list,t.$message.error("没有消息哦!")):(t.list=e.data.data.list,t.$message({message:"查询成功!",type:"success",duration:1500}),t.whichpage=1)}else t.$message.error(e.data.message)})},setStorage:function(){var e=u()(this.queryObject);localStorage.setItem("queryObject",e)},exprotTableHandle:function(){this.whichpage=0;var e=[];for(var t in this.queryObject)!1===this.queryObject[t]&&(this.queryObject[t]=""),this.queryObject[t]&&t in this.mapColumn&&e.push(this.mapColumn[t]),this.ReportOrderPageQueryReqVo[t]=this.queryObject[t];delete this.ReportOrderPageQueryReqVo.pageIndex;var r="";r="0"==this.value?this.ReportOrderPageQueryReqVo.endCreateDate+" 至 "+this.ReportOrderPageQueryReqVo.beginCreateDate:this.ReportOrderPageQueryReqVo.endPlayDateFrom+" 至 "+this.ReportOrderPageQueryReqVo.beginPlayDateFrom;var a={cond:this.ReportOrderPageQueryReqVo,config:{columns:[].concat(e,s()(this.column)),title:"运营综合报表",subTitle:r,rowHeight:40}};this.axios.post(this.getReportUrl("/report/exportReport"),a,{responseType:"blob"}).then(function(e){var t=e.headers["content-type"],r=new Blob([e.data],{type:t}),a=document.createElement("a");a.download="统计.xlsx",a.style.display="none",a.href=URL.createObjectURL(r),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)})}},mounted:function(){var e=this,t=localStorage.getItem("queryObject");if(t){var r=JSON.parse(t);this.queryObject=o()(this.queryObject,r,{beginCreateDate:this.queryObject.beginCreateDate,endCreateDate:this.queryObject.endCreateDate,beginPlayDateFrom:this.queryObject.beginPlayDateFrom,endPlayDateFrom:this.queryObject.endPlayDateFrom,companyId:this.$store.state.companyId,productId:"",payType:"",saleType:"",channelId:""})}1==this.$store.state.actionAllData?this.createUserId="":this.createUserId=this.$store.state.createUserId,this.queryObject.createUserId=this.createUserId,this.getProdect(),this.getqudao(),this.getCreator(),this.getPayment("payType",function(t){e.zhifu=t}),this.getPayment("saleType",function(t){e.funxiao=t}),this.inquire()}},h={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"bigBox"},[r("breadNav",[e._v("运营报表")]),e._v(" "),r("div",{staticClass:"box"},[r("div",[r("el-select",{on:{change:e.change},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},e._l(e.userType,function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1),e._v(" :\n "),r("tate",{on:{time:e.time}})],1),e._v(" "),r("div",{staticClass:"hezi dis"},[r("span",[e._v("查询条件:")]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.queryObject.search,expression:"queryObject.search"}],staticClass:"input",attrs:{type:"text",placeholder:"默认公司 、 支付方式 、 产品 、 渠道 、 类型 、 分销类型 、 创建人"},domProps:{value:e.queryObject.search},on:{input:function(t){t.target.composing||e.$set(e.queryObject,"search",t.target.value)}}})]),e._v(" "),r("span",{staticClass:"btn4",on:{click:e.inquire}},[e._v("查询")])]),e._v(" "),r("div",{staticClass:"sai"},[r("el-select",{attrs:{multiple:"",placeholder:"请选择产品"},model:{value:e.queryObject.productIds,callback:function(t){e.$set(e.queryObject,"productIds",t)},expression:"queryObject.productIds"}},e._l(e.product,function(e,t){return r("el-option",{key:t,attrs:{label:e.productName,value:e.productId}})}),1),e._v(" "),r("el-select",{model:{value:e.queryObject.createUserId,callback:function(t){e.$set(e.queryObject,"createUserId",t)},expression:"queryObject.createUserId"}},[r("el-option",{attrs:{label:"--创建人--",value:""}}),e._v(" "),e._l(e.founder,function(e,t){return r("el-option",{key:t,attrs:{label:e.userName,value:e.userId}})})],2),e._v(" "),r("el-select",{attrs:{multiple:"",placeholder:"请选择支付方式"},model:{value:e.queryObject.payTypes,callback:function(t){e.$set(e.queryObject,"payTypes",t)},expression:"queryObject.payTypes"}},e._l(e.zhifu,function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})}),1),e._v(" "),r("el-select",{model:{value:e.queryObject.saleType,callback:function(t){e.$set(e.queryObject,"saleType",t)},expression:"queryObject.saleType"}},[r("el-option",{attrs:{label:"--票种--",value:""}}),e._v(" "),e._l(e.funxiao,function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})],2),e._v(" "),r("el-select",{attrs:{filterable:""},model:{value:e.queryObject.channelId,callback:function(t){e.$set(e.queryObject,"channelId",t)},expression:"queryObject.channelId"}},[r("el-option",{attrs:{label:"--渠道名称--",value:""}}),e._v(" "),e._l(e.qudao,function(e){return r("el-option",{key:e.channelId,attrs:{label:e.companyName,value:e.channelId}})})],2)],1),e._v(" "),r("div",{staticClass:"choice"},[r("span",[e._v("结果列:")]),e._v(" "),r("el-checkbox",{on:{change:e.setStorage},model:{value:e.queryObject.groupCreateDate,callback:function(t){e.$set(e.queryObject,"groupCreateDate",t)},expression:"queryObject.groupCreateDate"}},[e._v("创建时间")]),e._v(" "),r("el-checkbox",{on:{change:e.setStorage},model:{value:e.queryObject.groupPlayDateFrom,callback:function(t){e.$set(e.queryObject,"groupPlayDateFrom",t)},expression:"queryObject.groupPlayDateFrom"}},[e._v("游玩时间")]),e._v(" "),r("el-checkbox",{on:{change:e.setStorage},model:{value:e.queryObject.groupSaleId,callback:function(t){e.$set(e.queryObject,"groupSaleId",t)},expression:"queryObject.groupSaleId"}},[e._v("票种")]),e._v(" "),r("el-checkbox",{on:{change:e.setStorage},model:{value:e.queryObject.groupPriceType,callback:function(t){e.$set(e.queryObject,"groupPriceType",t)},expression:"queryObject.groupPriceType"}},[e._v("渠道类型")]),e._v(" "),r("el-checkbox",{on:{change:e.setStorage},model:{value:e.queryObject.groupChannel,callback:function(t){e.$set(e.queryObject,"groupChannel",t)},expression:"queryObject.groupChannel"}},[e._v("渠道名称")]),e._v(" "),r("el-checkbox",{on:{change:e.setStorage},model:{value:e.queryObject.groupPayType,callback:function(t){e.$set(e.queryObject,"groupPayType",t)},expression:"queryObject.groupPayType"}},[e._v("支付方式")]),e._v(" "),r("el-checkbox",{on:{change:e.setStorage},model:{value:e.queryObject.groupCreateUserId,callback:function(t){e.$set(e.queryObject,"groupCreateUserId",t)},expression:"queryObject.groupCreateUserId"}},[e._v("创建人")]),e._v(" "),r("el-checkbox",{model:{value:e.queryObject.groupProduct,callback:function(t){e.$set(e.queryObject,"groupProduct",t)},expression:"queryObject.groupProduct"}},[e._v("产品")]),e._v(" "),r("p",{staticStyle:{display:"inline","margin-left":"0.3rem"}},[e._v("\n 导出: "),r("span",{staticClass:"export-btn",on:{click:e.exprotTableHandle}},[e._v("excel")]),e._v(" 下载\n ")])],1),e._v(" "),r("div",{staticClass:"table"},[r("table",{staticStyle:{"margin-top":"0.3rem"}},[r("tr",[e.WhetherTheRendering.groupCreateDate?r("td",{attrs:{rowspan:"2"}},[e._v("创建时间")]):e._e(),e._v(" "),e.WhetherTheRendering.groupPlayDateFrom?r("td",{attrs:{rowspan:"2"}},[e._v("游玩时间")]):e._e(),e._v(" "),e.WhetherTheRendering.groupSaleId?r("td",{attrs:{rowspan:"2"}},[e._v("票种")]):e._e(),e._v(" "),e.WhetherTheRendering.groupPriceType?r("td",{attrs:{rowspan:"2"}},[e._v("渠道类型")]):e._e(),e._v(" "),e.WhetherTheRendering.groupChannel?r("td",{attrs:{rowspan:"2"}},[e._v("渠道名称")]):e._e(),e._v(" "),e.WhetherTheRendering.groupPayType?r("td",{attrs:{rowspan:"2"}},[e._v("支付方式")]):e._e(),e._v(" "),e.WhetherTheRendering.groupCreateUserId?r("td",{attrs:{rowspan:"2"}},[e._v("创建人")]):e._e(),e._v(" "),e.WhetherTheRendering.groupProduct?r("td",{attrs:{rowspan:"2"}},[e._v("产品")]):e._e(),e._v(" "),r("td",{attrs:{colspan:"3"}},[e._v("售票")]),e._v(" "),r("td",{attrs:{colspan:"2"}},[e._v("退款")]),e._v(" "),r("td",{attrs:{colspan:"2"}},[e._v("核销")]),e._v(" "),r("td",{attrs:{colspan:"2"}},[e._v("售票结算")]),e._v(" "),r("td",{attrs:{colspan:"2"}},[e._v("核销退款")]),e._v(" "),r("td",{attrs:{colspan:"2"}},[e._v("核销结算")]),e._v(" "),r("td",{attrs:{rowspan:"2"}},[e._v("操作")])]),e._v(" "),e._m(0),e._v(" "),e._l(e.list,function(t,a){return r("tr",{key:a},[e.WhetherTheRendering.groupCreateDate?r("td",[e._v(e._s((t.createDate||"").substring(0,10)))]):e._e(),e._v(" "),e.WhetherTheRendering.groupPlayDateFrom?r("td",[e._v(e._s((t.playDateFrom||"").substring(0,10)))]):e._e(),e._v(" "),e.WhetherTheRendering.groupSaleId?r("td",[e._v(e._s(t.saleTypeName))]):e._e(),e._v(" "),e.WhetherTheRendering.groupPriceType?r("td",[e._v(e._s(t.priceTypeName))]):e._e(),e._v(" "),e.WhetherTheRendering.groupChannel?r("td",[e._v(e._s(t.channelName))]):e._e(),e._v(" "),e.WhetherTheRendering.groupPayType?r("td",[e._v(e._s(t.payTypeName))]):e._e(),e._v(" "),e.WhetherTheRendering.groupCreateUserId?r("td",[e._v(e._s(t.userName))]):e._e(),e._v(" "),e.WhetherTheRendering.groupProduct?r("td",[e._v(e._s(t.productName))]):e._e(),e._v(" "),r("td",[e._v(e._s(t.orderCount))]),e._v(" "),r("td",[e._v(e._s(t.buyNum))]),e._v(" "),r("td",[e._v(e._s(t.buyMoney))]),e._v(" "),r("td",[e._v(e._s(t.returnNum))]),e._v(" "),r("td",[e._v(e._s(t.returnMoney))]),e._v(" "),r("td",[e._v(e._s(t.checkNum))]),e._v(" "),r("td",[e._v(e._s(t.checkMoney))]),e._v(" "),r("td",[e._v(e._s(t.buyCalcNum))]),e._v(" "),r("td",[e._v(e._s(t.buyCalcMoney))]),e._v(" "),r("td",[e._v(e._s(t.returnCheckNum))]),e._v(" "),r("td",[e._v(e._s(t.returnCheckMoney))]),e._v(" "),r("td",[e._v(e._s(t.checkCalcNum))]),e._v(" "),r("td",[e._v(e._s(t.checkCalcMoney))]),e._v(" "),r("td",[r("a",{staticStyle:{color:"#0AABFF",cursor:"pointer"},on:{click:function(t){return e.push(a)}}},[e._v("详情")])])])})],2)]),e._v(" "),r("newpagingtwo",{attrs:{pagesize:e.ReportOrderPageQueryReqVo.pageSize,total:e.ReportOrderPageQueryReqVo.pageTotal,whichpage:e.whichpage},on:{page:e.page}})],1)},staticRenderFns:[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("tr",[r("td",[e._v("次数")]),e._v(" "),r("td",[e._v("张数")]),e._v(" "),r("td",[e._v("金额")]),e._v(" "),r("td",[e._v("张数")]),e._v(" "),r("td",[e._v("金额")]),e._v(" "),r("td",[e._v("张数")]),e._v(" "),r("td",[e._v("金额")]),e._v(" "),r("td",[e._v("张数")]),e._v(" "),r("td",[e._v("金额")]),e._v(" "),r("td",[e._v("张数")]),e._v(" "),r("td",[e._v("金额")]),e._v(" "),r("td",[e._v("张数")]),e._v(" "),r("td",[e._v("金额")])])}]};var y=r("C7Lr")(p,h,!1,function(e){r("65OO")},"data-v-6d119c21",null);t.default=y.exports}});
\ No newline at end of file
webpackJsonp([80],{T4Ci:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={components:{breadNav:a("RwQt").default},data:function(){return{pop:!1,typeName:"",typeSyncKey:"",typeValueType:""}},methods:{save:function(){var t=this;if(!this.typeName)return this.$message.error("请输入类型名称");if(!this.typeSyncKey)return this.$message.error("请输入同步关键字");if(!this.typeValueType)return this.$message.error("请选择值类型");var e={typeName:this.typeName,typeSyncKey:this.typeSyncKey,typeValueType:this.typeValueType};this.axios.post(this.getPoollUrl("enum/config/save"),e).then(function(e){"00"==e.data.code?(t.$message.success("保存成功"),t.$router.go(-1)):t.$message.error(e.data.message)})},query:function(){var t=this,e={pageIndex:this.pageIndex,pageSize:this.pageSize};this.axios.post(this.getPoollUrl("enum/config/list"),e).then(function(e){"00"==e.data.code||t.$message.error(e.data.message)})}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bigBox"},[a("breadNav",[t._v("\n 基础信息\n ")]),t._v(" "),a("div",{staticClass:"head"},[a("p",[a("span",[t._v("类型")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.typeName,expression:"typeName"}],attrs:{type:"text"},domProps:{value:t.typeName},on:{input:function(e){e.target.composing||(t.typeName=e.target.value)}}}),t._v(" "),a("i",[t._v("*")])]),t._v(" "),a("p",[a("span",[t._v("同步关键字")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.typeSyncKey,expression:"typeSyncKey"}],attrs:{type:"text"},domProps:{value:t.typeSyncKey},on:{input:function(e){e.target.composing||(t.typeSyncKey=e.target.value)}}}),t._v(" "),a("i",[t._v("*")])]),t._v(" "),a("p",[a("span",[t._v("值类型")]),t._v(" "),a("el-select",{attrs:{clearable:"",placeholder:"请选择"},model:{value:t.typeValueType,callback:function(e){t.typeValueType=e},expression:"typeValueType"}},[a("el-option",{attrs:{label:"枚举",value:"0"}}),t._v(" "),a("el-option",{attrs:{label:"时间",value:"1"}}),t._v(" "),a("el-option",{attrs:{label:"日期",value:"2"}}),t._v(" "),a("el-option",{attrs:{label:"次数",value:"3"}}),t._v(" "),a("el-option",{attrs:{label:"金额",value:"4"}})],1),t._v(" "),a("i",[t._v("*")])],1),t._v(" "),a("p",[a("span",[t._v("父类型")]),t._v(" "),a("a",{staticClass:"btn4",on:{click:function(e){t.pop=!0}}},[t._v("添加")])])]),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"bottom"},[a("a",{staticClass:"btn4",on:{click:function(e){return t.save()}}},[t._v("保存")]),t._v(" "),a("a",{staticClass:"btnGray4",staticStyle:{"margin-left":"0.5rem"},on:{click:function(e){return t.$router.go(-1)}}},[t._v("返回")])]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.pop,expression:"pop"}],staticClass:"pop"},[a("div",{staticClass:"popContent"},[t._m(1),t._v(" "),t._m(2),t._v(" "),a("p",[a("a",{staticClass:"btn4"},[t._v("确定")]),t._v(" "),a("a",{staticClass:"btnGray4",staticStyle:{"margin-left":"0.5rem"},on:{click:function(e){t.pop=!1}}},[t._v("取消")])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("table",{staticClass:"middle"},[e("tr",[e("td",[this._v("父类型")]),this._v(" "),e("td",[this._v("父类型同步关键字")]),this._v(" "),e("td",[this._v("操作")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("input",{attrs:{type:"text"}}),this._v(" "),e("a",{staticClass:"btn4"},[this._v("查询")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",[a("tr",[a("td",[t._v("选择")]),t._v(" "),a("td",[t._v("父类型")]),t._v(" "),a("td",[t._v("父类型同步关键字")])]),t._v(" "),a("tr",[a("td",[a("input",{attrs:{type:"checkbox"}})]),t._v(" "),a("td"),t._v(" "),a("td")])])}]};var i=a("C7Lr")(s,n,!1,function(t){a("b6tT")},"data-v-6d0aecae",null);e.default=i.exports},b6tT:function(t,e){}});
\ No newline at end of file
webpackJsonp([81],{T4Ci:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={components:{breadNav:a("RwQt").default},data:function(){return{pop:!1,typeName:"",typeSyncKey:"",typeValueType:""}},methods:{save:function(){var t=this;if(!this.typeName)return this.$message.error("请输入类型名称");if(!this.typeSyncKey)return this.$message.error("请输入同步关键字");if(!this.typeValueType)return this.$message.error("请选择值类型");var e={typeName:this.typeName,typeSyncKey:this.typeSyncKey,typeValueType:this.typeValueType};this.axios.post(this.getPoollUrl("enum/config/save"),e).then(function(e){"00"==e.data.code?(t.$message.success("保存成功"),t.$router.go(-1)):t.$message.error(e.data.message)})},query:function(){var t=this,e={pageIndex:this.pageIndex,pageSize:this.pageSize};this.axios.post(this.getPoollUrl("enum/config/list"),e).then(function(e){"00"==e.data.code||t.$message.error(e.data.message)})}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bigBox"},[a("breadNav",[t._v("\n 基础信息\n ")]),t._v(" "),a("div",{staticClass:"head"},[a("p",[a("span",[t._v("类型")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.typeName,expression:"typeName"}],attrs:{type:"text"},domProps:{value:t.typeName},on:{input:function(e){e.target.composing||(t.typeName=e.target.value)}}}),t._v(" "),a("i",[t._v("*")])]),t._v(" "),a("p",[a("span",[t._v("同步关键字")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.typeSyncKey,expression:"typeSyncKey"}],attrs:{type:"text"},domProps:{value:t.typeSyncKey},on:{input:function(e){e.target.composing||(t.typeSyncKey=e.target.value)}}}),t._v(" "),a("i",[t._v("*")])]),t._v(" "),a("p",[a("span",[t._v("值类型")]),t._v(" "),a("el-select",{attrs:{clearable:"",placeholder:"请选择"},model:{value:t.typeValueType,callback:function(e){t.typeValueType=e},expression:"typeValueType"}},[a("el-option",{attrs:{label:"枚举",value:"0"}}),t._v(" "),a("el-option",{attrs:{label:"时间",value:"1"}}),t._v(" "),a("el-option",{attrs:{label:"日期",value:"2"}}),t._v(" "),a("el-option",{attrs:{label:"次数",value:"3"}}),t._v(" "),a("el-option",{attrs:{label:"金额",value:"4"}})],1),t._v(" "),a("i",[t._v("*")])],1),t._v(" "),a("p",[a("span",[t._v("父类型")]),t._v(" "),a("a",{staticClass:"btn4",on:{click:function(e){t.pop=!0}}},[t._v("添加")])])]),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"bottom"},[a("a",{staticClass:"btn4",on:{click:function(e){return t.save()}}},[t._v("保存")]),t._v(" "),a("a",{staticClass:"btnGray4",staticStyle:{"margin-left":"0.5rem"},on:{click:function(e){return t.$router.go(-1)}}},[t._v("返回")])]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.pop,expression:"pop"}],staticClass:"pop"},[a("div",{staticClass:"popContent"},[t._m(1),t._v(" "),t._m(2),t._v(" "),a("p",[a("a",{staticClass:"btn4"},[t._v("确定")]),t._v(" "),a("a",{staticClass:"btnGray4",staticStyle:{"margin-left":"0.5rem"},on:{click:function(e){t.pop=!1}}},[t._v("取消")])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("table",{staticClass:"middle"},[e("tr",[e("td",[this._v("父类型")]),this._v(" "),e("td",[this._v("父类型同步关键字")]),this._v(" "),e("td",[this._v("操作")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("input",{attrs:{type:"text"}}),this._v(" "),e("a",{staticClass:"btn4"},[this._v("查询")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",[a("tr",[a("td",[t._v("选择")]),t._v(" "),a("td",[t._v("父类型")]),t._v(" "),a("td",[t._v("父类型同步关键字")])]),t._v(" "),a("tr",[a("td",[a("input",{attrs:{type:"checkbox"}})]),t._v(" "),a("td"),t._v(" "),a("td")])])}]};var i=a("C7Lr")(s,n,!1,function(t){a("b6tT")},"data-v-6d0aecae",null);e.default=i.exports},b6tT:function(t,e){}});
\ No newline at end of file
webpackJsonp([81],{"C/jZ":function(e,t){},WWPn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c={data:function(){return{maxTime:{},whichpage:0,shijian:[],list:[],ditch:{companyId:this.$store.state.companyId,pageSize:5,pageIndex:1},queryObject:{companyId:this.$store.state.companyId,pageSize:5,search:"",beginCreateDate:"",finishCreateDate:"",beginPlayDateFrom:"",finishPlayDateFrom:""},value:"0",userType:[{value:"0",label:"创建时间"},{value:"1",label:"游玩时间"}],show:!1,screen:{order:!1,TheTicketCopies:!1,TheTicketAmount:!0,cancel:!0,Amount:!1,RefundZhang:!1},createUserId:""}},components:{tate:n("hBs9").a},methods:{time:function(){}},created:function(){}},a={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"total"},[e._m(0),e._v(" "),n("div",{staticClass:"box"},[n("div",{staticClass:"xl"},[n("span",[e._v("日期")]),e._v(":\n\t\t\t\t"),n("tate",{on:{time:e.time}})],1),e._v(" "),n("div",{staticClass:"hezi dis"},[n("span",[e._v("查询条件:")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.queryObject.search,expression:"queryObject.search"}],staticClass:"input",attrs:{type:"text",placeholder:"产品 、 渠道"},domProps:{value:e.queryObject.search},on:{input:function(t){t.target.composing||e.$set(e.queryObject,"search",t.target.value)}}})]),e._v(" "),n("span",{staticClass:"inquire",staticStyle:{"margin-right":"0.2rem"},on:{click:function(t){return e.inquire()}}},[e._v("查询")])]),e._v(" "),n("div",{staticClass:"table"},[n("div",{staticClass:"choice"},[n("span",[e._v("筛选条件:")]),e._v(" "),n("el-checkbox",{model:{value:e.screen.order,callback:function(t){e.$set(e.screen,"order",t)},expression:"screen.order"}},[e._v("提供服务公司")]),e._v(" "),n("el-checkbox",{model:{value:e.screen.TheTicketCopies,callback:function(t){e.$set(e.screen,"TheTicketCopies",t)},expression:"screen.TheTicketCopies"}},[e._v("支付公司")]),e._v(" "),n("el-checkbox",{model:{value:e.screen.TheTicketAmount,callback:function(t){e.$set(e.screen,"TheTicketAmount",t)},expression:"screen.TheTicketAmount"}},[e._v("发送公司")]),e._v(" "),n("el-checkbox",{model:{value:e.screen.cancel,callback:function(t){e.$set(e.screen,"cancel",t)},expression:"screen.cancel"}},[e._v("时间")]),e._v(" "),n("el-checkbox",{model:{value:e.screen.Amount,callback:function(t){e.$set(e.screen,"Amount",t)},expression:"screen.Amount"}},[e._v("类型")]),e._v(" "),n("el-checkbox",{model:{value:e.screen.RefundZhang,callback:function(t){e.$set(e.screen,"RefundZhang",t)},expression:"screen.RefundZhang"}},[e._v("关键字")])],1),e._v(" "),e._m(1)])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"phead"},[t("a",{attrs:{href:"/#/tubida/statement/OperationBreport"}},[this._v("短信报表")]),this._v(">")])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{staticStyle:{"margin-bottom":"0.3rem"}},[n("tr",[n("td",[e._v("提供服务公司")]),e._v(" "),n("td",[e._v("支付公司")]),e._v(" "),n("td",[e._v("发送公司")]),e._v(" "),n("td",[e._v("时间")]),e._v(" "),n("td",[e._v("类型")]),e._v(" "),n("td",[e._v("关键字")]),e._v(" "),n("td",[e._v("条数")])]),e._v(" "),n("tr",[n("td",[e._v("提供服务公司")]),e._v(" "),n("td",[e._v("支付公司")]),e._v(" "),n("td",[e._v("发送公司")]),e._v(" "),n("td",[e._v("时间")]),e._v(" "),n("td",[e._v("类型")]),e._v(" "),n("td",[e._v("关键字")]),e._v(" "),n("td",[e._v("条数")])]),e._v(" "),n("tr",[n("td",[e._v("提供服务公司")]),e._v(" "),n("td",[e._v("支付公司")]),e._v(" "),n("td",[e._v("发送公司")]),e._v(" "),n("td",[e._v("时间")]),e._v(" "),n("td",[e._v("类型")]),e._v(" "),n("td",[e._v("关键字")]),e._v(" "),n("td",[e._v("条数")])])])}]};var s=n("C7Lr")(c,a,!1,function(e){n("C/jZ")},"data-v-6c5f7128",null);t.default=s.exports}});
\ No newline at end of file
webpackJsonp([82],{"C/jZ":function(e,t){},WWPn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c={data:function(){return{maxTime:{},whichpage:0,shijian:[],list:[],ditch:{companyId:this.$store.state.companyId,pageSize:5,pageIndex:1},queryObject:{companyId:this.$store.state.companyId,pageSize:5,search:"",beginCreateDate:"",finishCreateDate:"",beginPlayDateFrom:"",finishPlayDateFrom:""},value:"0",userType:[{value:"0",label:"创建时间"},{value:"1",label:"游玩时间"}],show:!1,screen:{order:!1,TheTicketCopies:!1,TheTicketAmount:!0,cancel:!0,Amount:!1,RefundZhang:!1},createUserId:""}},components:{tate:n("hBs9").a},methods:{time:function(){}},created:function(){}},a={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"total"},[e._m(0),e._v(" "),n("div",{staticClass:"box"},[n("div",{staticClass:"xl"},[n("span",[e._v("日期")]),e._v(":\n\t\t\t\t"),n("tate",{on:{time:e.time}})],1),e._v(" "),n("div",{staticClass:"hezi dis"},[n("span",[e._v("查询条件:")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.queryObject.search,expression:"queryObject.search"}],staticClass:"input",attrs:{type:"text",placeholder:"产品 、 渠道"},domProps:{value:e.queryObject.search},on:{input:function(t){t.target.composing||e.$set(e.queryObject,"search",t.target.value)}}})]),e._v(" "),n("span",{staticClass:"inquire",staticStyle:{"margin-right":"0.2rem"},on:{click:function(t){return e.inquire()}}},[e._v("查询")])]),e._v(" "),n("div",{staticClass:"table"},[n("div",{staticClass:"choice"},[n("span",[e._v("筛选条件:")]),e._v(" "),n("el-checkbox",{model:{value:e.screen.order,callback:function(t){e.$set(e.screen,"order",t)},expression:"screen.order"}},[e._v("提供服务公司")]),e._v(" "),n("el-checkbox",{model:{value:e.screen.TheTicketCopies,callback:function(t){e.$set(e.screen,"TheTicketCopies",t)},expression:"screen.TheTicketCopies"}},[e._v("支付公司")]),e._v(" "),n("el-checkbox",{model:{value:e.screen.TheTicketAmount,callback:function(t){e.$set(e.screen,"TheTicketAmount",t)},expression:"screen.TheTicketAmount"}},[e._v("发送公司")]),e._v(" "),n("el-checkbox",{model:{value:e.screen.cancel,callback:function(t){e.$set(e.screen,"cancel",t)},expression:"screen.cancel"}},[e._v("时间")]),e._v(" "),n("el-checkbox",{model:{value:e.screen.Amount,callback:function(t){e.$set(e.screen,"Amount",t)},expression:"screen.Amount"}},[e._v("类型")]),e._v(" "),n("el-checkbox",{model:{value:e.screen.RefundZhang,callback:function(t){e.$set(e.screen,"RefundZhang",t)},expression:"screen.RefundZhang"}},[e._v("关键字")])],1),e._v(" "),e._m(1)])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"phead"},[t("a",{attrs:{href:"/#/tubida/statement/OperationBreport"}},[this._v("短信报表")]),this._v(">")])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{staticStyle:{"margin-bottom":"0.3rem"}},[n("tr",[n("td",[e._v("提供服务公司")]),e._v(" "),n("td",[e._v("支付公司")]),e._v(" "),n("td",[e._v("发送公司")]),e._v(" "),n("td",[e._v("时间")]),e._v(" "),n("td",[e._v("类型")]),e._v(" "),n("td",[e._v("关键字")]),e._v(" "),n("td",[e._v("条数")])]),e._v(" "),n("tr",[n("td",[e._v("提供服务公司")]),e._v(" "),n("td",[e._v("支付公司")]),e._v(" "),n("td",[e._v("发送公司")]),e._v(" "),n("td",[e._v("时间")]),e._v(" "),n("td",[e._v("类型")]),e._v(" "),n("td",[e._v("关键字")]),e._v(" "),n("td",[e._v("条数")])]),e._v(" "),n("tr",[n("td",[e._v("提供服务公司")]),e._v(" "),n("td",[e._v("支付公司")]),e._v(" "),n("td",[e._v("发送公司")]),e._v(" "),n("td",[e._v("时间")]),e._v(" "),n("td",[e._v("类型")]),e._v(" "),n("td",[e._v("关键字")]),e._v(" "),n("td",[e._v("条数")])])])}]};var s=n("C7Lr")(c,a,!1,function(e){n("C/jZ")},"data-v-6c5f7128",null);t.default=s.exports}});
\ No newline at end of file
webpackJsonp([82],{Kp5G:function(e,t){},OYiz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={components:{leftSide:n("FegP").a}},a={render:function(){var e=this.$createElement;return(this._self._c||e)("leftSide")},staticRenderFns:[]};var c=n("C7Lr")(r,a,!1,function(e){n("Kp5G")},"data-v-6c38a4b5",null);t.default=c.exports}});
\ No newline at end of file
webpackJsonp([83],{Kp5G:function(e,t){},OYiz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={components:{leftSide:n("FegP").a}},a={render:function(){var e=this.$createElement;return(this._self._c||e)("leftSide")},staticRenderFns:[]};var c=n("C7Lr")(r,a,!1,function(e){n("Kp5G")},"data-v-6c38a4b5",null);t.default=c.exports}});
\ No newline at end of file
webpackJsonp([83],{P4PI:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("RwQt"),a=i("5XGy"),s=i("KPn7"),r={components:{breadNav:n.default,page:a.a,config:s.a},data:function(){return{configTitle2:"",configTan2:!1,configTitle:"是否删除该驱动",configTan:!1,pageIndex:1,pageSize:15,pageTotal:0,initDataList:"",deviceTypeList:"",deviceType:"",search:"",driverId:"",companyId:this.$store.state.companyId,driverEnabled:""}},methods:{initData:function(){var e=this,t={pageIndex:this.pageIndex,pageSize:this.pageSize,deviceType:this.deviceType,search:this.search};this.axios.post(this.getSystem("check/driver/list"),t).then(function(t){"00"==t.data.code?(console.log(t),e.initDataList=t.data.data.list,e.pageTotal=t.data.data.pageTotal):e.$message.error(t.data.message)})},getDeviceType:function(){var e=this,t={companyId:this.companyId,enumType:"deviceType",pageIndex:1,pageSize:this.pageSize};this.axios.post(this.getSystem("systemEnum/drop"),t).then(function(t){"00"==t.data.code?e.deviceTypeList=t.data.data:e.$message.error(t.data.message)})},paging:function(e){this.pageIndex=e,this.initData()},clickOpenStop:function(e,t){this.configTan2=!0,this.driverId=e,this.driverEnabled=t,this.configTitle2=1==t?"是否开启该驱动":"是否禁止该驱动"},openStop:function(){var e=this,t={driverId:this.driverId,driverEnabled:this.driverEnabled};this.axios.post(this.getSystem("check/driver/enable"),t).then(function(t){"00"==t.data.code?(1==e.driverEnabled?e.$message.success("开启成功"):e.$message.success("禁用成功"),e.configTan2=!1,e.initData()):e.$message.error(t.data.message)})},clickDel:function(e){this.configTan=!0,this.driverId=e},dele:function(e){var t=this,i={driverId:this.driverId};this.axios.post(this.getSystem("check/driver/remove"),i).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.initData()):(t.$message.error(e.data.message),t.configTan=!1)})},goRevise:function(e,t){this.$router.push({path:"/scenic/sMymanagement/driveEdit",query:{driverId:e,versonFlag:t}})}},mounted:function(){this.getDeviceType(),this.initData()},activated:function(){"true"==this.$store.state.refurbish&&(this.$store.dispatch("getRefurbish","false"),this.deviceType="",this.search=""),this.initData()}},c={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"bigBox"},[i("breadNav",[e._v("驱动配置")]),e._v(" "),i("div",{staticClass:"top"},[i("a",{staticClass:"btn4",on:{click:function(t){return e.$router.push("/scenic/sMymanagement/driveEdit")}}},[e._v("新增")]),e._v(" "),i("div",[e._v("\n 筛选:\n "),i("section",[i("el-select",{attrs:{filterable:""},model:{value:e.deviceType,callback:function(t){e.deviceType=t},expression:"deviceType"}},[i("el-option",{attrs:{label:"-请选择-",value:""}}),e._v(" "),e._l(e.deviceTypeList,function(e){return i("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1)]),e._v(" "),i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],staticStyle:{width:"2rem"},attrs:{type:"text",placeholder:"请输入驱动名称或者配置信息"},domProps:{value:e.search},on:{input:function(t){t.target.composing||(e.search=t.target.value)}}}),e._v(" "),i("a",{staticClass:"btn4",staticStyle:{"margin-left":"0.3rem"},on:{click:function(t){e.pageIndex=1,e.initData()}}},[e._v("查询")])])]),e._v(" "),i("table",{staticClass:"middle"},[e._m(0),e._v(" "),e._l(e.initDataList,function(t,n){return i("tr",{key:n},[i("td",[e._v("\n "+e._s(t.driverName)+"\n ")]),e._v(" "),i("td",[e._v("\n "+e._s(t.driverTypeName)+"\n ")]),e._v(" "),i("td",[e._v("\n "+e._s(t.deviceTypeName)+"\n ")]),e._v(" "),i("td",{staticStyle:{"text-align":"left","line-height":"0.25rem",padding:"0 0.1rem","box-sizing":"border-box"}},[e._v("\n "+e._s(t.driverConfig)+"\n ")]),e._v(" "),i("td",[1==t.driverEnabled?i("span",{staticStyle:{color:"#00C305"}},[e._v("\n 开启\n ")]):e._e(),e._v(" "),0==t.driverEnabled?i("span",[e._v("\n 禁用\n ")]):e._e()]),e._v(" "),i("td",[1==t.driverEnabled?i("span",{staticStyle:{"margin-right":"0.2rem"},on:{click:function(i){return e.clickOpenStop(t.driverId,0)}}},[e._v("\n 禁用\n ")]):e._e(),e._v(" "),0==t.driverEnabled?i("span",{staticStyle:{"margin-right":"0.2rem"},on:{click:function(i){return e.clickOpenStop(t.driverId,1)}}},[e._v("\n 开启\n ")]):e._e(),e._v(" "),i("span",{staticStyle:{"margin-right":"0.2rem"},on:{click:function(i){return e.goRevise(t.driverId,t.versonFlag)}}},[e._v("\n 修改\n ")]),e._v(" "),i("span",{staticStyle:{color:"#FF4D51"},on:{click:function(i){return e.clickDel(t.driverId)}}},[e._v("\n 删除\n ")])])])})],2),e._v(" "),i("page",{attrs:{pagesize:e.pageSize,total:e.pageTotal,whichpage:e.pageIndex},on:{page:e.paging}}),e._v(" "),i("config",{directives:[{name:"show",rawName:"v-show",value:e.configTan2,expression:"configTan2"}],attrs:{configTitle:e.configTitle2},on:{config:function(t){return e.openStop()},cancel:function(t){e.configTan2=!1}}}),e._v(" "),i("config",{directives:[{name:"show",rawName:"v-show",value:e.configTan,expression:"configTan"}],attrs:{configTitle:e.configTitle},on:{config:function(t){return e.dele()},cancel:function(t){e.configTan=!1}}})],1)},staticRenderFns:[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("tr",[i("td",{staticStyle:{width:"12%"}},[e._v("\n 驱动名称\n ")]),e._v(" "),i("td",{staticStyle:{width:"12%"}},[e._v("\n 驱动类型\n ")]),e._v(" "),i("td",{staticStyle:{width:"12%"}},[e._v("\n 设备类型\n ")]),e._v(" "),i("td",{staticStyle:{width:"50%"}},[e._v("\n 配置信息\n ")]),e._v(" "),i("td",{staticStyle:{width:"4%"}},[e._v("\n 状态\n ")]),e._v(" "),i("td",{staticStyle:{width:"10%"}},[e._v("\n 操作\n ")])])}]};var o=i("C7Lr")(r,c,!1,function(e){i("hUi4")},"data-v-67ceac18",null);t.default=o.exports},hUi4:function(e,t){}});
\ No newline at end of file
webpackJsonp([84],{P4PI:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("RwQt"),a=i("5XGy"),s=i("KPn7"),r={components:{breadNav:n.default,page:a.a,config:s.a},data:function(){return{configTitle2:"",configTan2:!1,configTitle:"是否删除该驱动",configTan:!1,pageIndex:1,pageSize:15,pageTotal:0,initDataList:"",deviceTypeList:"",deviceType:"",search:"",driverId:"",companyId:this.$store.state.companyId,driverEnabled:""}},methods:{initData:function(){var e=this,t={pageIndex:this.pageIndex,pageSize:this.pageSize,deviceType:this.deviceType,search:this.search};this.axios.post(this.getSystem("check/driver/list"),t).then(function(t){"00"==t.data.code?(console.log(t),e.initDataList=t.data.data.list,e.pageTotal=t.data.data.pageTotal):e.$message.error(t.data.message)})},getDeviceType:function(){var e=this,t={companyId:this.companyId,enumType:"deviceType",pageIndex:1,pageSize:this.pageSize};this.axios.post(this.getSystem("systemEnum/drop"),t).then(function(t){"00"==t.data.code?e.deviceTypeList=t.data.data:e.$message.error(t.data.message)})},paging:function(e){this.pageIndex=e,this.initData()},clickOpenStop:function(e,t){this.configTan2=!0,this.driverId=e,this.driverEnabled=t,this.configTitle2=1==t?"是否开启该驱动":"是否禁止该驱动"},openStop:function(){var e=this,t={driverId:this.driverId,driverEnabled:this.driverEnabled};this.axios.post(this.getSystem("check/driver/enable"),t).then(function(t){"00"==t.data.code?(1==e.driverEnabled?e.$message.success("开启成功"):e.$message.success("禁用成功"),e.configTan2=!1,e.initData()):e.$message.error(t.data.message)})},clickDel:function(e){this.configTan=!0,this.driverId=e},dele:function(e){var t=this,i={driverId:this.driverId};this.axios.post(this.getSystem("check/driver/remove"),i).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.initData()):(t.$message.error(e.data.message),t.configTan=!1)})},goRevise:function(e,t){this.$router.push({path:"/scenic/sMymanagement/driveEdit",query:{driverId:e,versonFlag:t}})}},mounted:function(){this.getDeviceType(),this.initData()},activated:function(){"true"==this.$store.state.refurbish&&(this.$store.dispatch("getRefurbish","false"),this.deviceType="",this.search=""),this.initData()}},c={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"bigBox"},[i("breadNav",[e._v("驱动配置")]),e._v(" "),i("div",{staticClass:"top"},[i("a",{staticClass:"btn4",on:{click:function(t){return e.$router.push("/scenic/sMymanagement/driveEdit")}}},[e._v("新增")]),e._v(" "),i("div",[e._v("\n 筛选:\n "),i("section",[i("el-select",{attrs:{filterable:""},model:{value:e.deviceType,callback:function(t){e.deviceType=t},expression:"deviceType"}},[i("el-option",{attrs:{label:"-请选择-",value:""}}),e._v(" "),e._l(e.deviceTypeList,function(e){return i("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1)]),e._v(" "),i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],staticStyle:{width:"2rem"},attrs:{type:"text",placeholder:"请输入驱动名称或者配置信息"},domProps:{value:e.search},on:{input:function(t){t.target.composing||(e.search=t.target.value)}}}),e._v(" "),i("a",{staticClass:"btn4",staticStyle:{"margin-left":"0.3rem"},on:{click:function(t){e.pageIndex=1,e.initData()}}},[e._v("查询")])])]),e._v(" "),i("table",{staticClass:"middle"},[e._m(0),e._v(" "),e._l(e.initDataList,function(t,n){return i("tr",{key:n},[i("td",[e._v("\n "+e._s(t.driverName)+"\n ")]),e._v(" "),i("td",[e._v("\n "+e._s(t.driverTypeName)+"\n ")]),e._v(" "),i("td",[e._v("\n "+e._s(t.deviceTypeName)+"\n ")]),e._v(" "),i("td",{staticStyle:{"text-align":"left","line-height":"0.25rem",padding:"0 0.1rem","box-sizing":"border-box"}},[e._v("\n "+e._s(t.driverConfig)+"\n ")]),e._v(" "),i("td",[1==t.driverEnabled?i("span",{staticStyle:{color:"#00C305"}},[e._v("\n 开启\n ")]):e._e(),e._v(" "),0==t.driverEnabled?i("span",[e._v("\n 禁用\n ")]):e._e()]),e._v(" "),i("td",[1==t.driverEnabled?i("span",{staticStyle:{"margin-right":"0.2rem"},on:{click:function(i){return e.clickOpenStop(t.driverId,0)}}},[e._v("\n 禁用\n ")]):e._e(),e._v(" "),0==t.driverEnabled?i("span",{staticStyle:{"margin-right":"0.2rem"},on:{click:function(i){return e.clickOpenStop(t.driverId,1)}}},[e._v("\n 开启\n ")]):e._e(),e._v(" "),i("span",{staticStyle:{"margin-right":"0.2rem"},on:{click:function(i){return e.goRevise(t.driverId,t.versonFlag)}}},[e._v("\n 修改\n ")]),e._v(" "),i("span",{staticStyle:{color:"#FF4D51"},on:{click:function(i){return e.clickDel(t.driverId)}}},[e._v("\n 删除\n ")])])])})],2),e._v(" "),i("page",{attrs:{pagesize:e.pageSize,total:e.pageTotal,whichpage:e.pageIndex},on:{page:e.paging}}),e._v(" "),i("config",{directives:[{name:"show",rawName:"v-show",value:e.configTan2,expression:"configTan2"}],attrs:{configTitle:e.configTitle2},on:{config:function(t){return e.openStop()},cancel:function(t){e.configTan2=!1}}}),e._v(" "),i("config",{directives:[{name:"show",rawName:"v-show",value:e.configTan,expression:"configTan"}],attrs:{configTitle:e.configTitle},on:{config:function(t){return e.dele()},cancel:function(t){e.configTan=!1}}})],1)},staticRenderFns:[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("tr",[i("td",{staticStyle:{width:"12%"}},[e._v("\n 驱动名称\n ")]),e._v(" "),i("td",{staticStyle:{width:"12%"}},[e._v("\n 驱动类型\n ")]),e._v(" "),i("td",{staticStyle:{width:"12%"}},[e._v("\n 设备类型\n ")]),e._v(" "),i("td",{staticStyle:{width:"50%"}},[e._v("\n 配置信息\n ")]),e._v(" "),i("td",{staticStyle:{width:"4%"}},[e._v("\n 状态\n ")]),e._v(" "),i("td",{staticStyle:{width:"10%"}},[e._v("\n 操作\n ")])])}]};var o=i("C7Lr")(r,c,!1,function(e){i("hUi4")},"data-v-67ceac18",null);t.default=o.exports},hUi4:function(e,t){}});
\ No newline at end of file
webpackJsonp([85],{H1kk:function(t,e){},YigU:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("RwQt"),s=n("5XGy"),i=n("KPn7"),c={components:{breadNav:a.default,page:s.a,config:i.a},data:function(){return{configTitle:"是否删除",configTan:!1,pageTotal:0,pageSize:10,pageIndex:1,sceneId:"",tableData:[]}},methods:{initData:function(){var t=this,e={pageSize:this.pageSize,pageIndex:this.pageIndex,companyId:this.$store.state.companyId,sceneType:99,channelFlag:!0,weekFlag:!0};this.axios.post(this.getStoreUrl("scene/query"),e).then(function(e){"00"==e.data.code?(t.tableData=e.data.data.list,t.pageTotal=e.data.data.pageTotal):t.$message.error(e.data.message)})},paging:function(t){this.pageIndex=t,this.initData()},clickDel:function(t){this.configTan=!0,this.sceneId=t},dele:function(){var t=this,e={companyId:this.$store.state.companyId,updateUserId:this.$store.state.createUserId,sceneId:this.sceneId};this.axios.post(this.getStoreUrl("scene/remove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.initData(),t.configTan=!1):t.$message.error(e.data.message)})}},mounted:function(){this.initData()}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bigBox"},[n("breadNav",[t._v("容量库存")]),t._v(" "),n("div",{staticStyle:{margin:"0.2rem 0",display:"flex"}},[n("a",{staticClass:"btn4",on:{click:function(e){return t.$router.push("addCapacityInventory?type=2")}}},[t._v("普通库存")]),t._v(" "),n("a",{staticClass:"btn4",on:{click:function(e){return t.$router.push("addCapacityInventory?type=1")}}},[t._v("场次库存")]),t._v(" "),n("a",{staticClass:"btn4",on:{click:function(e){return t.$router.push("addCapacityInventory?type=3")}}},[t._v("众仁科技库存")])]),t._v(" "),n("table",[t._m(0),t._v(" "),t._l(t.tableData,function(e,a){return n("tr",{key:a},[n("td",[t._v(t._s(e.sceneName))]),t._v(" "),n("td",[t._v(t._s(e.sceneTotalNum))]),t._v(" "),0!==e.channels.length?n("td",t._l(e.channels,function(e,a){return n("p",{key:a,staticClass:"tdP"},[t._v(t._s(e.companyName))])}),0):t._e(),t._v(" "),0!==e.channels.length?n("td",t._l(e.channels,function(e,a){return n("p",{key:a,staticClass:"tdP"},[t._v(t._s(e.channelTotalNum))])}),0):t._e(),t._v(" "),0==e.channels.length?n("td",{attrs:{colspan:"2"}},[t._v("\n \t\t暂无渠道信息\n \t")]):t._e(),t._v(" "),n("td",[t._v("上架")]),t._v(" "),n("td",[n("span",{on:{click:function(n){return t.$router.push("addCapacityInventory?id="+e.sceneId+"&type="+e.sceneType)}}},[t._v("修改")]),t._v(" "),n("span",{staticStyle:{color:"#FF0000"},on:{click:function(n){return t.clickDel(e.sceneId)}}},[t._v("删除")])])])})],2),t._v(" "),n("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),n("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan,expression:"configTan"}],attrs:{configTitle:t.configTitle},on:{config:function(e){return t.dele()},cancel:function(e){t.configTan=!1}}})],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",[n("td",[t._v("库存名称")]),t._v(" "),n("td",[t._v("库存量")]),t._v(" "),n("td",[t._v("渠道名称")]),t._v(" "),n("td",[t._v("渠道库存量")]),t._v(" "),n("td",[t._v("状态")]),t._v(" "),n("td",[t._v("操作")])])}]};var r=n("C7Lr")(c,o,!1,function(t){n("H1kk")},"data-v-623bf1d4",null);e.default=r.exports}});
\ No newline at end of file
webpackJsonp([84],{LMd1:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={data:function(){return{}},components:{TheDrawerComponents:t("gWae").a}},o={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("TheDrawerComponents",{scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",{on:{click:function(t){return e.$router.push({name:"ClearListDetails",query:{dataId:n.msg}})}}},[e._v("详情")])]}}])})},staticRenderFns:[]};var u=t("C7Lr")(r,o,!1,function(e){t("MV0o")},null,null);n.default=u.exports},MV0o:function(e,n){}});
\ No newline at end of file
webpackJsonp([86],{LMd1:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={data:function(){return{}},components:{TheDrawerComponents:t("gWae").a}},o={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("TheDrawerComponents",{scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",{on:{click:function(t){return e.$router.push({name:"ClearListDetails",query:{dataId:n.msg}})}}},[e._v("详情")])]}}])})},staticRenderFns:[]};var u=t("C7Lr")(r,o,!1,function(e){t("MV0o")},null,null);n.default=u.exports},MV0o:function(e,n){}});
\ No newline at end of file
webpackJsonp([85],{DTt6:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("RwQt"),s=n("KPn7"),i={components:{breadNav:a.default,config:s.a},data:function(){return{configTan2:!1,configTitle2:"是否改为白名单",configTitle:"是否删除该名单",configTan:!1,userId:"",pageIndex:1,pageSize:15,scanTypeName:"",userType:"",userType2:"",buyNum:"",createDate:"",badDate:"",tableList:[]}},methods:{load:function(){var t=this,e={userId:this.userId,pageIndex:this.pageIndex,pageSize:this.pageSize};this.axios.post(this.getOrderUrl("bad/load"),e).then(function(e){"00"==e.data.code?(console.log(e),t.scanTypeName=e.data.data.scanTypeName,t.userType=e.data.data.userType,t.buyNum=e.data.data.buyNum,t.createDate=e.data.data.createDate,t.badDate=e.data.data.badDate,t.tableList=e.data.data.details||[]):t.$message.error(e.data.message)})},clickOpenStop:function(t){this.configTan2=!0,this.userType2=t},openStop:function(){var t=this,e={userType:this.userType2,userId:this.userId};this.axios.post(this.getOrderUrl("bad/setStatus"),e).then(function(e){"00"==e.data.code?(t.configTan2=!1,t.load()):t.$message.error(e.data.message)})},clickDele:function(){this.configTan=!0},dele:function(){var t=this,e={userId:this.userId};this.axios.post(this.getOrderUrl("bad/remove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.$router.go(-1)):t.$message.error(e.data.message)})}},mounted:function(){this.userId=this.$route.query.userId,this.userId&&this.load()}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bigBox"},[n("breadNav",[t._v("黑名单详情")]),t._v(" "),n("div",{staticClass:"top"},[n("p",[n("span",[t._v("\n\t\t\t\t凭证类型:\n\t\t\t")]),t._v(" "),n("span",[t._v("\n\t\t\t\t"+t._s(t.scanTypeName)+"\n\t\t\t")])]),t._v(" "),n("p",[n("span",[t._v("\n\t\t\t\t状态:\n\t\t\t")]),t._v(" "),n("span",[0==t.userType?n("i",[t._v("普通用户")]):t._e(),t._v(" "),1==t.userType?n("i",[t._v("黑名单")]):t._e(),t._v(" "),2==t.userType?n("i",[t._v("白名单")]):t._e()])]),t._v(" "),n("p",[n("span",[t._v("\n\t\t\t\t黑名单次数:\n\t\t\t")]),t._v(" "),n("span",[t._v("\n\t\t\t\t"+t._s(t.buyNum)+"\n\t\t\t")])]),t._v(" "),n("p",[n("span",[t._v("\n\t\t\t\t第一次时间:\n\t\t\t")]),t._v(" "),n("span",[t._v("\n\t\t\t\t"+t._s(t.createDate)+"\n\t\t\t")])]),t._v(" "),n("p",[n("span",[t._v("\n\t\t\t\t确认时间:\n\t\t\t")]),t._v(" "),n("span",[t._v("\n\t\t\t\t"+t._s(t.badDate)+"\n\t\t\t")])])]),t._v(" "),n("table",[t._m(0),t._v(" "),t._l(t.tableList,function(e,a){return n("tr",{key:a},[n("td",[t._v("\n\t\t\t\t"+t._s(e.buyCount)+"\t\n\t\t\t")]),t._v(" "),n("td",[t._v("\n\t\t\t\t"+t._s(e.buyNum)+"\n\t\t\t")]),t._v(" "),n("td",[t._v("\n\t\t\t\t"+t._s(e.createDate)+"\n\t\t\t")])])})],2),t._v(" "),n("div",{staticClass:"bottom"},[n("a",{staticClass:"btn4",on:{click:function(e){return t.$router.go(-1)}}},[t._v("\n\t\t\t返回\n\t\t")]),t._v(" "),2!=t.userType?n("a",{staticClass:"btn4",on:{click:function(e){return t.clickOpenStop(2)}}},[t._v("\n\t\t\t白名单\n\t\t")]):t._e(),t._v(" "),n("a",{staticClass:"btn4",on:{click:function(e){return t.clickDele()}}},[t._v("\n\t\t\t删除\n\t\t")])]),t._v(" "),n("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan,expression:"configTan"}],attrs:{configTitle:t.configTitle},on:{config:function(e){return t.dele()},cancel:function(e){t.configTan=!1}}}),t._v(" "),n("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan2,expression:"configTan2"}],attrs:{configTitle:t.configTitle2},on:{config:function(e){return t.openStop()},cancel:function(e){t.configTan2=!1}}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("td",[this._v("\n\t\t\t\t购买次数\n\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t违法次数\n\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t日期\n\t\t\t")])])}]};var r=n("C7Lr")(i,o,!1,function(t){n("VCIL")},"data-v-5b842d00",null);e.default=r.exports},VCIL:function(t,e){}});
\ No newline at end of file
webpackJsonp([87],{DTt6:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("RwQt"),s=n("KPn7"),i={components:{breadNav:a.default,config:s.a},data:function(){return{configTan2:!1,configTitle2:"是否改为白名单",configTitle:"是否删除该名单",configTan:!1,userId:"",pageIndex:1,pageSize:15,scanTypeName:"",userType:"",userType2:"",buyNum:"",createDate:"",badDate:"",tableList:[]}},methods:{load:function(){var t=this,e={userId:this.userId,pageIndex:this.pageIndex,pageSize:this.pageSize};this.axios.post(this.getOrderUrl("bad/load"),e).then(function(e){"00"==e.data.code?(console.log(e),t.scanTypeName=e.data.data.scanTypeName,t.userType=e.data.data.userType,t.buyNum=e.data.data.buyNum,t.createDate=e.data.data.createDate,t.badDate=e.data.data.badDate,t.tableList=e.data.data.details||[]):t.$message.error(e.data.message)})},clickOpenStop:function(t){this.configTan2=!0,this.userType2=t},openStop:function(){var t=this,e={userType:this.userType2,userId:this.userId};this.axios.post(this.getOrderUrl("bad/setStatus"),e).then(function(e){"00"==e.data.code?(t.configTan2=!1,t.load()):t.$message.error(e.data.message)})},clickDele:function(){this.configTan=!0},dele:function(){var t=this,e={userId:this.userId};this.axios.post(this.getOrderUrl("bad/remove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.$router.go(-1)):t.$message.error(e.data.message)})}},mounted:function(){this.userId=this.$route.query.userId,this.userId&&this.load()}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bigBox"},[n("breadNav",[t._v("黑名单详情")]),t._v(" "),n("div",{staticClass:"top"},[n("p",[n("span",[t._v("\n\t\t\t\t凭证类型:\n\t\t\t")]),t._v(" "),n("span",[t._v("\n\t\t\t\t"+t._s(t.scanTypeName)+"\n\t\t\t")])]),t._v(" "),n("p",[n("span",[t._v("\n\t\t\t\t状态:\n\t\t\t")]),t._v(" "),n("span",[0==t.userType?n("i",[t._v("普通用户")]):t._e(),t._v(" "),1==t.userType?n("i",[t._v("黑名单")]):t._e(),t._v(" "),2==t.userType?n("i",[t._v("白名单")]):t._e()])]),t._v(" "),n("p",[n("span",[t._v("\n\t\t\t\t黑名单次数:\n\t\t\t")]),t._v(" "),n("span",[t._v("\n\t\t\t\t"+t._s(t.buyNum)+"\n\t\t\t")])]),t._v(" "),n("p",[n("span",[t._v("\n\t\t\t\t第一次时间:\n\t\t\t")]),t._v(" "),n("span",[t._v("\n\t\t\t\t"+t._s(t.createDate)+"\n\t\t\t")])]),t._v(" "),n("p",[n("span",[t._v("\n\t\t\t\t确认时间:\n\t\t\t")]),t._v(" "),n("span",[t._v("\n\t\t\t\t"+t._s(t.badDate)+"\n\t\t\t")])])]),t._v(" "),n("table",[t._m(0),t._v(" "),t._l(t.tableList,function(e,a){return n("tr",{key:a},[n("td",[t._v("\n\t\t\t\t"+t._s(e.buyCount)+"\t\n\t\t\t")]),t._v(" "),n("td",[t._v("\n\t\t\t\t"+t._s(e.buyNum)+"\n\t\t\t")]),t._v(" "),n("td",[t._v("\n\t\t\t\t"+t._s(e.createDate)+"\n\t\t\t")])])})],2),t._v(" "),n("div",{staticClass:"bottom"},[n("a",{staticClass:"btn4",on:{click:function(e){return t.$router.go(-1)}}},[t._v("\n\t\t\t返回\n\t\t")]),t._v(" "),2!=t.userType?n("a",{staticClass:"btn4",on:{click:function(e){return t.clickOpenStop(2)}}},[t._v("\n\t\t\t白名单\n\t\t")]):t._e(),t._v(" "),n("a",{staticClass:"btn4",on:{click:function(e){return t.clickDele()}}},[t._v("\n\t\t\t删除\n\t\t")])]),t._v(" "),n("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan,expression:"configTan"}],attrs:{configTitle:t.configTitle},on:{config:function(e){return t.dele()},cancel:function(e){t.configTan=!1}}}),t._v(" "),n("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan2,expression:"configTan2"}],attrs:{configTitle:t.configTitle2},on:{config:function(e){return t.openStop()},cancel:function(e){t.configTan2=!1}}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("td",[this._v("\n\t\t\t\t购买次数\n\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t违法次数\n\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t日期\n\t\t\t")])])}]};var r=n("C7Lr")(i,o,!1,function(t){n("VCIL")},"data-v-5b842d00",null);e.default=r.exports},VCIL:function(t,e){}});
\ No newline at end of file
webpackJsonp([86],{"4VDx":function(t,a){},R1gd:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s={data:function(){return{tableData:[],pageTotal:0,pageshow:!1,query:{pageIndex:1,pageSize:15,data:"",bian:"",zi:""},all:""}},components:{pages:e("GZf/").a},methods:{looking:function(){this.$router.push({name:"ttrandetails"})},getall:function(){var t=this;this.axios.post("/pf/order/query",this.query).then(function(a){"00"==a.data.code&&0!=a.data.data.list.length&&(t.tableData=a.data.data.list,t.pageshow=!0,t.pageTotal=a.data.data.pageTotal)})},pagess:function(t){this.query.pageIndex=t,this.pageData()},pageData:function(){var t=this;this.axios.post("/pf/order/query",this.query).then(function(a){"00"==a.data.code&&(t.tableData=a.data.data.list,t.pageshow=!0)})},allData:function(){var t=this;this.axios.post("/pf/order/getDay").then(function(a){"00"==a.data.code&&(t.all=a.data.data)})}},created:function(){this.getall(),this.allData()}},i={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"total"},[e("ul",{staticClass:"tou"},[e("p",[e("router-link",{attrs:{to:"cableway",tag:"li"}},[t._v("窗口售票>")]),t._v(" "),e("router-link",{attrs:{to:"",tag:"li"}},[t._v("打印记录>")])],1),t._v(" "),e("p",[e("span",[t._v("今日售票量:"),e("i",{staticClass:"sds"},[t._v(t._s(t.all.buyNum))]),t._v("张")]),t._v(" "),e("span",[t._v("金额:"),e("i",{staticClass:"sds"},[t._v(t._s(t.all.salePricePayTotal))]),t._v("元")])])]),t._v(" "),e("div",{staticClass:"box"},[e("div",{staticClass:"query"},[e("div",[e("span",[t._v("打印时间:")]),t._v(" "),e("el-date-picker",{attrs:{type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.query.data,callback:function(a){t.$set(t.query,"data",a)},expression:"query.data"}})],1),t._v(" "),e("span",[t._v("产品编号:")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.query.bian,expression:"query.bian"}],domProps:{value:t.query.bian},on:{input:function(a){a.target.composing||t.$set(t.query,"bian",a.target.value)}}}),t._v(" "),e("div",[e("span",[t._v("自定义:")]),t._v(" "),e("el-select",{attrs:{placeholder:"请选择活动区域"},model:{value:t.query.zi,callback:function(a){t.$set(t.query,"zi",a)},expression:"query.zi"}},[e("el-option",{attrs:{label:"区域一",value:"shanghai"}}),t._v(" "),e("el-option",{attrs:{label:"区域二",value:"beijing"}})],1)],1),t._v(" "),e("button",[t._v("查询")])]),t._v(" "),e("div",{staticClass:"chong"},[e("el-checkbox",[t._v("显示重打印数据")])],1),t._v(" "),e("div",{staticClass:"order"},[e("table",[t._m(0),t._v(" "),t._l(t.tableData,function(a,s){return e("tr",{key:s},[e("td",[t._v(t._s(a.productName))]),t._v(" "),e("td",[t._v(t._s(a.productId))]),t._v(" "),e("td",[0==a.payType?e("span",[t._v("现金")]):t._e()]),t._v(" "),e("td",[t._v("打印时间")]),t._v(" "),e("td",[t._v("上次打印时间")]),t._v(" "),e("td",[t._v(t._s(a.buyNum))]),t._v(" "),e("td",[t._v("打印窗口")]),t._v(" "),e("td",{staticClass:"exam"},[e("span",{on:{click:t.looking}},[t._v("重新打印")])])])})],2)]),t._v(" "),e("pages",{directives:[{name:"show",rawName:"v-show",value:t.pageshow,expression:"pageshow"}],attrs:{pagesize:t.query.pageSize,total:t.pageTotal},on:{page:t.pagess}})],1)])},staticRenderFns:[function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("tr",[e("td",{attrs:{width:"161"}},[t._v("产品名称")]),t._v(" "),e("td",{attrs:{width:"202"}},[t._v("产品编号")]),t._v(" "),e("td",{attrs:{width:"120"}},[t._v("支付方式")]),t._v(" "),e("td",{attrs:{width:"176"}},[t._v("打印时间")]),t._v(" "),e("td",{attrs:{width:"175"}},[t._v("上次打印时间")]),t._v(" "),e("td",{attrs:{width:"132"}},[t._v("打印次数")]),t._v(" "),e("td",{attrs:{width:"163"}},[t._v("打印窗口")]),t._v(" "),e("td",{attrs:{width:"189"}},[t._v("操作")])])}]};var r=e("C7Lr")(s,i,!1,function(t){e("4VDx")},"data-v-5b7ecc82",null);a.default=r.exports}});
\ No newline at end of file
webpackJsonp([88],{"4VDx":function(t,a){},R1gd:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s={data:function(){return{tableData:[],pageTotal:0,pageshow:!1,query:{pageIndex:1,pageSize:15,data:"",bian:"",zi:""},all:""}},components:{pages:e("GZf/").a},methods:{looking:function(){this.$router.push({name:"ttrandetails"})},getall:function(){var t=this;this.axios.post("/pf/order/query",this.query).then(function(a){"00"==a.data.code&&0!=a.data.data.list.length&&(t.tableData=a.data.data.list,t.pageshow=!0,t.pageTotal=a.data.data.pageTotal)})},pagess:function(t){this.query.pageIndex=t,this.pageData()},pageData:function(){var t=this;this.axios.post("/pf/order/query",this.query).then(function(a){"00"==a.data.code&&(t.tableData=a.data.data.list,t.pageshow=!0)})},allData:function(){var t=this;this.axios.post("/pf/order/getDay").then(function(a){"00"==a.data.code&&(t.all=a.data.data)})}},created:function(){this.getall(),this.allData()}},i={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"total"},[e("ul",{staticClass:"tou"},[e("p",[e("router-link",{attrs:{to:"cableway",tag:"li"}},[t._v("窗口售票>")]),t._v(" "),e("router-link",{attrs:{to:"",tag:"li"}},[t._v("打印记录>")])],1),t._v(" "),e("p",[e("span",[t._v("今日售票量:"),e("i",{staticClass:"sds"},[t._v(t._s(t.all.buyNum))]),t._v("张")]),t._v(" "),e("span",[t._v("金额:"),e("i",{staticClass:"sds"},[t._v(t._s(t.all.salePricePayTotal))]),t._v("元")])])]),t._v(" "),e("div",{staticClass:"box"},[e("div",{staticClass:"query"},[e("div",[e("span",[t._v("打印时间:")]),t._v(" "),e("el-date-picker",{attrs:{type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.query.data,callback:function(a){t.$set(t.query,"data",a)},expression:"query.data"}})],1),t._v(" "),e("span",[t._v("产品编号:")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.query.bian,expression:"query.bian"}],domProps:{value:t.query.bian},on:{input:function(a){a.target.composing||t.$set(t.query,"bian",a.target.value)}}}),t._v(" "),e("div",[e("span",[t._v("自定义:")]),t._v(" "),e("el-select",{attrs:{placeholder:"请选择活动区域"},model:{value:t.query.zi,callback:function(a){t.$set(t.query,"zi",a)},expression:"query.zi"}},[e("el-option",{attrs:{label:"区域一",value:"shanghai"}}),t._v(" "),e("el-option",{attrs:{label:"区域二",value:"beijing"}})],1)],1),t._v(" "),e("button",[t._v("查询")])]),t._v(" "),e("div",{staticClass:"chong"},[e("el-checkbox",[t._v("显示重打印数据")])],1),t._v(" "),e("div",{staticClass:"order"},[e("table",[t._m(0),t._v(" "),t._l(t.tableData,function(a,s){return e("tr",{key:s},[e("td",[t._v(t._s(a.productName))]),t._v(" "),e("td",[t._v(t._s(a.productId))]),t._v(" "),e("td",[0==a.payType?e("span",[t._v("现金")]):t._e()]),t._v(" "),e("td",[t._v("打印时间")]),t._v(" "),e("td",[t._v("上次打印时间")]),t._v(" "),e("td",[t._v(t._s(a.buyNum))]),t._v(" "),e("td",[t._v("打印窗口")]),t._v(" "),e("td",{staticClass:"exam"},[e("span",{on:{click:t.looking}},[t._v("重新打印")])])])})],2)]),t._v(" "),e("pages",{directives:[{name:"show",rawName:"v-show",value:t.pageshow,expression:"pageshow"}],attrs:{pagesize:t.query.pageSize,total:t.pageTotal},on:{page:t.pagess}})],1)])},staticRenderFns:[function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("tr",[e("td",{attrs:{width:"161"}},[t._v("产品名称")]),t._v(" "),e("td",{attrs:{width:"202"}},[t._v("产品编号")]),t._v(" "),e("td",{attrs:{width:"120"}},[t._v("支付方式")]),t._v(" "),e("td",{attrs:{width:"176"}},[t._v("打印时间")]),t._v(" "),e("td",{attrs:{width:"175"}},[t._v("上次打印时间")]),t._v(" "),e("td",{attrs:{width:"132"}},[t._v("打印次数")]),t._v(" "),e("td",{attrs:{width:"163"}},[t._v("打印窗口")]),t._v(" "),e("td",{attrs:{width:"189"}},[t._v("操作")])])}]};var r=e("C7Lr")(s,i,!1,function(t){e("4VDx")},"data-v-5b7ecc82",null);a.default=r.exports}});
\ No newline at end of file
webpackJsonp([87],{Rigj:function(t,e){},vfRo:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=s("hBs9"),a=s("5XGy"),i={filters:{},components:{date:o.a,newpagingtwo:a.a},data:function(){return{options:[],show:!1,xh:1,whichpage:0,Thelist:[],list:[],createDateFrom:"",createDateTo:"",ListMoneyLogReqVo:{pageIndex:1,pageSize:10,channelId:"",companyId:this.$store.state.companyId,sourceType:"",sourceRemark:""},WebChanelReqVo:{companyId:this.$store.state.companyId,channelId:""},inputAmount:"0",creditAmount:"0",WebMoneyReqVo:{companyId:this.$store.state.companyId,useAmount:"",channelId:"",inputAmount:"",creditAmount:"",createUserId:this.$store.state.createUserId},WebSystemEnumReqVo:{companyId:this.$store.state.companyId,enumType:"sourceType"}}},methods:{cc:function(t){"1"===t?/^[-]?\d+(\.\d+)?$/.test(this.creditAmount)?this.creditAmount=this.creditAmount:(this.creditAmount="",this.$message.error("只能输入金额!")):/^[-]?\d+(\.\d+)?$/.test(this.inputAmount)?this.inputAmount=this.inputAmount:(this.inputAmount="",this.$message.error("只能输入金额!"))},getData:function(t,e){var s=this;this.ListMoneyLogReqVo.createDateFrom=this.createDateFrom,this.ListMoneyLogReqVo.createDateTo=this.createDateTo,this.axios.post(this.getChanel("moneyLog/list"),t).then(function(t){if("00"===t.data.code)if(0!==t.data.data.list.length)for(var e in s.list=t.data.data.list,t.data.data)"list"!==e&&(s.ListMoneyLogReqVo[e]=t.data.data[e]);else s.list=t.data.data.list,s.$message.error("没有记录!");else s.$message.error(t.data.message)})},time:function(t){this.createDateFrom=t[0],this.createDateTo=t[1]},page:function(t){this.xh=(t-1)*this.list.length+1,this.whichpage=t,this.ListMoneyLogReqVo.pageIndex=t,this.getData(this.ListMoneyLogReqVo,this.xh)},query:function(){var t=this;delete this.ListMoneyLogReqVo.pageIndex,this.ListMoneyLogReqVo.createDateFrom=this.createDateFrom,this.ListMoneyLogReqVo.createDateTo=this.createDateTo,this.axios.post(this.getChanel("moneyLog/list"),this.ListMoneyLogReqVo).then(function(e){if("00"===e.data.code){if(0===e.data.data.list.length)return t.list=[],void t.$message.error("没有数据哦");for(var s in t.whichpage=1,t.list=e.data.data.list,e.data.data)"list"!==s&&(t.ListMoneyLogReqVo[s]=e.data.data[s])}})},getditch:function(t){var e=this;this.axios.post(this.getChanel("channel/load"),t).then(function(t){"00"===t.data.code&&(e.Thelist=t.data.data,e.creditAmount=e.Thelist.moneyVo.creditAmount,e.show=!0)})},charge:function(){var t=this;""!==this.inputAmount||""!==this.creditAmount?(this.WebMoneyReqVo.inputAmount=this.inputAmount||"0",this.WebMoneyReqVo.creditAmount=this.creditAmount||"0",this.WebMoneyReqVo.channelId=this.WebChanelReqVo.channelId,this.WebMoneyReqVo.useAmount=this.WebMoneyReqVo.inputAmount,console.log(this.WebMoneyReqVo),this.axios.post(this.getChanel("money/save"),this.WebMoneyReqVo).then(function(e){"00"===e.data.code?(t.inputAmount="",t.getData(t.ListMoneyLogReqVo),t.getditch(t.WebChanelReqVo),t.$message({message:"充值成功",type:"success"})):t.$message.error(e.data.message)})):this.$message.error("请输入充值金额或新授信额!")},AccessToType:function(t){var e=this;this.axios.post(this.getChanel("systemEnum/drop"),t).then(function(t){"00"===t.data.code&&(e.options=t.data.data,e.options.unshift({name:"查询全部",id:""}))})}},mounted:function(){this.WebChanelReqVo.channelId=this.$route.query.id,this.ListMoneyLogReqVo.channelId=this.$route.query.id,this.getditch(this.WebChanelReqVo),this.getData(this.ListMoneyLogReqVo),this.AccessToType(this.WebSystemEnumReqVo)}},n={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"total"},[t._m(0),t._v(" "),t.show?s("div",{staticClass:"box"},[s("ul",{staticClass:"ul"},[s("li",[s("span",{staticClass:"span"},[t._v("渠道名称:")]),s("span",[t._v(t._s(t.Thelist.companyName))])]),t._v(" "),s("li",[s("span",{staticClass:"span"},[t._v("预存汇总:")]),s("span",[t._v(t._s(null===t.Thelist.moneyVo?"":t.Thelist.moneyVo.inputTotalAmount))])]),t._v(" "),s("li",[s("span",{staticClass:"span"},[t._v("预存金额:")]),s("span",[t._v(t._s(null===t.Thelist.moneyVo?"":t.Thelist.moneyVo.totalAmount))])]),t._v(" "),s("li",[s("span",{staticClass:"span"},[t._v("充值金额:")]),s("input",{directives:[{name:"model",rawName:"v-model",value:t.inputAmount,expression:"inputAmount"}],staticClass:"input",attrs:{type:"text"},domProps:{value:t.inputAmount},on:{blur:function(e){return t.cc("0")},input:function(e){e.target.composing||(t.inputAmount=e.target.value)}}})]),t._v(" "),s("li",[s("span",{staticClass:"inquire",staticStyle:{margin:"0"},on:{click:t.charge}},[t._v("充值")])])]),t._v(" "),s("ul",{staticClass:"ul",staticStyle:{"margin-top":"0.55rem"}},[s("li",[s("span",{staticClass:"span"},[t._v("授信汇总:")]),s("span",[t._v(t._s(null===t.Thelist.moneyVo?"":t.Thelist.moneyVo.creditAmount))])]),t._v(" "),s("li",[s("span",{staticClass:"span"},[t._v("授信金额:")]),s("span",[t._v(t._s(null===t.Thelist.moneyVo?"":t.Thelist.moneyVo.creditAmount))])]),t._v(" "),s("li",[s("span",{staticClass:"span"},[t._v("新授信额:")]),s("input",{directives:[{name:"model",rawName:"v-model",value:t.creditAmount,expression:"creditAmount"}],staticClass:"input",attrs:{type:"text"},domProps:{value:t.creditAmount},on:{blur:function(e){return t.cc("1")},input:function(e){e.target.composing||(t.creditAmount=e.target.value)}}})])])]):t._e(),t._v(" "),s("div",{staticClass:"box",staticStyle:{border:"0",display:"block"}},[s("p",[t._v("充值记录")]),t._v(" "),s("div",[s("span",[t._v("日期:")]),t._v(" "),s("date",{on:{time:t.time}}),t._v(" "),s("el-input",{staticStyle:{width:"2rem"},attrs:{placeholder:"凭证码"},model:{value:t.ListMoneyLogReqVo.sourceRemark,callback:function(e){t.$set(t.ListMoneyLogReqVo,"sourceRemark",e)},expression:"ListMoneyLogReqVo.sourceRemark"}}),t._v(" "),s("el-select",{attrs:{placeholder:"请选择类型"},model:{value:t.ListMoneyLogReqVo.sourceType,callback:function(e){t.$set(t.ListMoneyLogReqVo,"sourceType",e)},expression:"ListMoneyLogReqVo.sourceType"}},t._l(t.options,function(t){return s("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})}),1),t._v(" "),s("span",{staticClass:"inquire",on:{click:t.query}},[t._v("查询")])],1),t._v(" "),s("table",[t._m(1),t._v(" "),t._l(t.list,function(e,o){return s("tr",{key:o},[s("td",[t._v(t._s(t.xh+o))]),t._v(" "),s("td",[t._v(t._s(e.createDate))]),t._v(" "),s("td",[t._v(t._s(e.sourceTypeName))]),t._v(" "),s("td",[t._v(t._s(e.sourceRemark))]),t._v(" "),s("td",[t._v(t._s(e.firstAmount))]),t._v(" "),s("td",[t._v(t._s(e.endAmount))]),t._v(" "),s("td",[t._v(t._s(1===e.sourceTag?e.useAmount:"暂无"))]),t._v(" "),s("td",[t._v(t._s(1===e.sourceTag?"暂无":e.useAmount))])])})],2),t._v(" "),s("newpagingtwo",{attrs:{pagesize:t.ListMoneyLogReqVo.pageSize,total:t.ListMoneyLogReqVo.pageTotal,whichpage:t.whichpage},on:{page:t.page}})],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"phead"},[e("a",[this._v("预存授信>")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("tr",[s("td",[t._v("序号")]),t._v(" "),s("td",[t._v("日期")]),t._v(" "),s("td",[t._v("类型")]),t._v(" "),s("td",[t._v("凭证码")]),t._v(" "),s("td",[t._v("消费前金额")]),t._v(" "),s("td",[t._v("消费后余额")]),t._v(" "),s("td",[t._v("充值金额")]),t._v(" "),s("td",[t._v("消费金额")])])}]};var r=s("C7Lr")(i,n,!1,function(t){s("Rigj")},"data-v-59ca799a",null);e.default=r.exports}});
\ No newline at end of file
webpackJsonp([89],{Rigj:function(t,e){},vfRo:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=s("hBs9"),a=s("5XGy"),i={filters:{},components:{date:o.a,newpagingtwo:a.a},data:function(){return{options:[],show:!1,xh:1,whichpage:0,Thelist:[],list:[],createDateFrom:"",createDateTo:"",ListMoneyLogReqVo:{pageIndex:1,pageSize:10,channelId:"",companyId:this.$store.state.companyId,sourceType:"",sourceRemark:""},WebChanelReqVo:{companyId:this.$store.state.companyId,channelId:""},inputAmount:"0",creditAmount:"0",WebMoneyReqVo:{companyId:this.$store.state.companyId,useAmount:"",channelId:"",inputAmount:"",creditAmount:"",createUserId:this.$store.state.createUserId},WebSystemEnumReqVo:{companyId:this.$store.state.companyId,enumType:"sourceType"}}},methods:{cc:function(t){"1"===t?/^[-]?\d+(\.\d+)?$/.test(this.creditAmount)?this.creditAmount=this.creditAmount:(this.creditAmount="",this.$message.error("只能输入金额!")):/^[-]?\d+(\.\d+)?$/.test(this.inputAmount)?this.inputAmount=this.inputAmount:(this.inputAmount="",this.$message.error("只能输入金额!"))},getData:function(t,e){var s=this;this.ListMoneyLogReqVo.createDateFrom=this.createDateFrom,this.ListMoneyLogReqVo.createDateTo=this.createDateTo,this.axios.post(this.getChanel("moneyLog/list"),t).then(function(t){if("00"===t.data.code)if(0!==t.data.data.list.length)for(var e in s.list=t.data.data.list,t.data.data)"list"!==e&&(s.ListMoneyLogReqVo[e]=t.data.data[e]);else s.list=t.data.data.list,s.$message.error("没有记录!");else s.$message.error(t.data.message)})},time:function(t){this.createDateFrom=t[0],this.createDateTo=t[1]},page:function(t){this.xh=(t-1)*this.list.length+1,this.whichpage=t,this.ListMoneyLogReqVo.pageIndex=t,this.getData(this.ListMoneyLogReqVo,this.xh)},query:function(){var t=this;delete this.ListMoneyLogReqVo.pageIndex,this.ListMoneyLogReqVo.createDateFrom=this.createDateFrom,this.ListMoneyLogReqVo.createDateTo=this.createDateTo,this.axios.post(this.getChanel("moneyLog/list"),this.ListMoneyLogReqVo).then(function(e){if("00"===e.data.code){if(0===e.data.data.list.length)return t.list=[],void t.$message.error("没有数据哦");for(var s in t.whichpage=1,t.list=e.data.data.list,e.data.data)"list"!==s&&(t.ListMoneyLogReqVo[s]=e.data.data[s])}})},getditch:function(t){var e=this;this.axios.post(this.getChanel("channel/load"),t).then(function(t){"00"===t.data.code&&(e.Thelist=t.data.data,e.creditAmount=e.Thelist.moneyVo.creditAmount,e.show=!0)})},charge:function(){var t=this;""!==this.inputAmount||""!==this.creditAmount?(this.WebMoneyReqVo.inputAmount=this.inputAmount||"0",this.WebMoneyReqVo.creditAmount=this.creditAmount||"0",this.WebMoneyReqVo.channelId=this.WebChanelReqVo.channelId,this.WebMoneyReqVo.useAmount=this.WebMoneyReqVo.inputAmount,console.log(this.WebMoneyReqVo),this.axios.post(this.getChanel("money/save"),this.WebMoneyReqVo).then(function(e){"00"===e.data.code?(t.inputAmount="",t.getData(t.ListMoneyLogReqVo),t.getditch(t.WebChanelReqVo),t.$message({message:"充值成功",type:"success"})):t.$message.error(e.data.message)})):this.$message.error("请输入充值金额或新授信额!")},AccessToType:function(t){var e=this;this.axios.post(this.getChanel("systemEnum/drop"),t).then(function(t){"00"===t.data.code&&(e.options=t.data.data,e.options.unshift({name:"查询全部",id:""}))})}},mounted:function(){this.WebChanelReqVo.channelId=this.$route.query.id,this.ListMoneyLogReqVo.channelId=this.$route.query.id,this.getditch(this.WebChanelReqVo),this.getData(this.ListMoneyLogReqVo),this.AccessToType(this.WebSystemEnumReqVo)}},n={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"total"},[t._m(0),t._v(" "),t.show?s("div",{staticClass:"box"},[s("ul",{staticClass:"ul"},[s("li",[s("span",{staticClass:"span"},[t._v("渠道名称:")]),s("span",[t._v(t._s(t.Thelist.companyName))])]),t._v(" "),s("li",[s("span",{staticClass:"span"},[t._v("预存汇总:")]),s("span",[t._v(t._s(null===t.Thelist.moneyVo?"":t.Thelist.moneyVo.inputTotalAmount))])]),t._v(" "),s("li",[s("span",{staticClass:"span"},[t._v("预存金额:")]),s("span",[t._v(t._s(null===t.Thelist.moneyVo?"":t.Thelist.moneyVo.totalAmount))])]),t._v(" "),s("li",[s("span",{staticClass:"span"},[t._v("充值金额:")]),s("input",{directives:[{name:"model",rawName:"v-model",value:t.inputAmount,expression:"inputAmount"}],staticClass:"input",attrs:{type:"text"},domProps:{value:t.inputAmount},on:{blur:function(e){return t.cc("0")},input:function(e){e.target.composing||(t.inputAmount=e.target.value)}}})]),t._v(" "),s("li",[s("span",{staticClass:"inquire",staticStyle:{margin:"0"},on:{click:t.charge}},[t._v("充值")])])]),t._v(" "),s("ul",{staticClass:"ul",staticStyle:{"margin-top":"0.55rem"}},[s("li",[s("span",{staticClass:"span"},[t._v("授信汇总:")]),s("span",[t._v(t._s(null===t.Thelist.moneyVo?"":t.Thelist.moneyVo.creditAmount))])]),t._v(" "),s("li",[s("span",{staticClass:"span"},[t._v("授信金额:")]),s("span",[t._v(t._s(null===t.Thelist.moneyVo?"":t.Thelist.moneyVo.creditAmount))])]),t._v(" "),s("li",[s("span",{staticClass:"span"},[t._v("新授信额:")]),s("input",{directives:[{name:"model",rawName:"v-model",value:t.creditAmount,expression:"creditAmount"}],staticClass:"input",attrs:{type:"text"},domProps:{value:t.creditAmount},on:{blur:function(e){return t.cc("1")},input:function(e){e.target.composing||(t.creditAmount=e.target.value)}}})])])]):t._e(),t._v(" "),s("div",{staticClass:"box",staticStyle:{border:"0",display:"block"}},[s("p",[t._v("充值记录")]),t._v(" "),s("div",[s("span",[t._v("日期:")]),t._v(" "),s("date",{on:{time:t.time}}),t._v(" "),s("el-input",{staticStyle:{width:"2rem"},attrs:{placeholder:"凭证码"},model:{value:t.ListMoneyLogReqVo.sourceRemark,callback:function(e){t.$set(t.ListMoneyLogReqVo,"sourceRemark",e)},expression:"ListMoneyLogReqVo.sourceRemark"}}),t._v(" "),s("el-select",{attrs:{placeholder:"请选择类型"},model:{value:t.ListMoneyLogReqVo.sourceType,callback:function(e){t.$set(t.ListMoneyLogReqVo,"sourceType",e)},expression:"ListMoneyLogReqVo.sourceType"}},t._l(t.options,function(t){return s("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})}),1),t._v(" "),s("span",{staticClass:"inquire",on:{click:t.query}},[t._v("查询")])],1),t._v(" "),s("table",[t._m(1),t._v(" "),t._l(t.list,function(e,o){return s("tr",{key:o},[s("td",[t._v(t._s(t.xh+o))]),t._v(" "),s("td",[t._v(t._s(e.createDate))]),t._v(" "),s("td",[t._v(t._s(e.sourceTypeName))]),t._v(" "),s("td",[t._v(t._s(e.sourceRemark))]),t._v(" "),s("td",[t._v(t._s(e.firstAmount))]),t._v(" "),s("td",[t._v(t._s(e.endAmount))]),t._v(" "),s("td",[t._v(t._s(1===e.sourceTag?e.useAmount:"暂无"))]),t._v(" "),s("td",[t._v(t._s(1===e.sourceTag?"暂无":e.useAmount))])])})],2),t._v(" "),s("newpagingtwo",{attrs:{pagesize:t.ListMoneyLogReqVo.pageSize,total:t.ListMoneyLogReqVo.pageTotal,whichpage:t.whichpage},on:{page:t.page}})],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"phead"},[e("a",[this._v("预存授信>")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("tr",[s("td",[t._v("序号")]),t._v(" "),s("td",[t._v("日期")]),t._v(" "),s("td",[t._v("类型")]),t._v(" "),s("td",[t._v("凭证码")]),t._v(" "),s("td",[t._v("消费前金额")]),t._v(" "),s("td",[t._v("消费后余额")]),t._v(" "),s("td",[t._v("充值金额")]),t._v(" "),s("td",[t._v("消费金额")])])}]};var r=s("C7Lr")(i,n,!1,function(t){s("Rigj")},"data-v-59ca799a",null);e.default=r.exports}});
\ No newline at end of file
webpackJsonp([88],{"1YAL":function(e,t){},MXu4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={components:{leftSide:n("FegP").a}},a={render:function(){var e=this.$createElement;return(this._self._c||e)("leftSide")},staticRenderFns:[]};var c=n("C7Lr")(r,a,!1,function(e){n("1YAL")},"data-v-5954d437",null);t.default=c.exports}});
\ No newline at end of file
webpackJsonp([90],{"1YAL":function(e,t){},MXu4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={components:{leftSide:n("FegP").a}},a={render:function(){var e=this.$createElement;return(this._self._c||e)("leftSide")},staticRenderFns:[]};var c=n("C7Lr")(r,a,!1,function(e){n("1YAL")},"data-v-5954d437",null);t.default=c.exports}});
\ No newline at end of file
webpackJsonp([89],{dJ3F:function(t,e){},gENO:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("RwQt"),i=a("5XGy"),s=a("KPn7"),c={components:{breadNav:n.default,page:i.a,config:s.a},data:function(){return{configTan:!1,configTitle:"确定是否删除该产品",productNameList:[],productId:"",channelTypeList:[],priceTypeId:"",saleTypeList:[],saleTypes:[],channelNameList:[],channelId:"",tableList:[],pageIndex:1,pageSize:15,pageTotal:0,marketPrice:"",saleId:""}},methods:{inintProductName:function(){var t=this,e={companyId:this.$store.state.companyId,createUserId:this.$store.state.createUserId,pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getProductUrl("product/query"),e).then(function(e){"00"==e.data.code?t.productNameList=e.data.data.list:t.$message.error(e.data.message)})},inintChannelType:function(){var t=this,e={companyId:this.$store.state.companyId};this.axios.post(this.getChanel("companyPriceType/list"),e).then(function(e){"00"==e.data.code?t.channelTypeList=e.data.data:t.$message.error(e.data.message)})},inintChannelName:function(){var t=this;this.channelId="",this.channelNameList=[];var e={companyId:this.$store.state.companyId,priceTypeId:this.priceTypeId,pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("channel/list"),e).then(function(e){"00"==e.data.code?t.channelNameList=e.data.data.list:t.$message.error(e.data.message)})},initTicketType:function(){var t=this,e={companyId:this.companyId,enumType:"saleType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),e).then(function(e){"00"==e.data.code?t.saleTypeList=e.data.data:t.$message.error(e.data.message)})},addList:function(){var t=this;if(this.productId)if(this.priceTypeId)if(0!=this.saleTypes.length){var e={productId:this.productId,priceTypeId:this.priceTypeId,channelId:this.channelId,saleTypes:this.saleTypes};this.axios.post(this.getProductUrl("sale/init"),e).then(function(e){"00"==e.data.code?(t.initList(),t.productId="",t.priceTypeId="",t.channelId="",t.saleTypes=[]):t.$message.error(e.data.message)})}else this.$message.error("请选择票种");else this.$message.error("请选择渠道类型");else this.$message.error("请选择产品名称")},initList:function(){var t=this,e={pageIndex:this.pageIndex,pageSize:this.pageSize,productId:this.productId,priceTypeId:this.priceTypeId,channelId:this.channelId};this.axios.post(this.getProductUrl("sale/queryItem"),e).then(function(e){"00"==e.data.code?(t.pageTotal=e.data.data.pageTotal,t.tableList=e.data.data.list):t.$message.error(e.data.message)})},paging:function(t){this.pageIndex=t,this.initList()},clickDele:function(t){this.configTan=!0,this.saleId=t},dele:function(){var t=this,e={companyId:this.$store.state.companyId,saleId:this.saleId};this.axios.post(this.getProductUrl("sale/remove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.initList()):t.$message.error(e.data.message)})},getPrice:function(t){var e;e=this.productNameList.find(function(e){return e.productId===t}),this.marketPrice=e.productPrice}},mounted:function(){document.querySelector(".el-select__input").style.cssText="border: none;",this.inintProductName(),this.inintChannelType(),this.initTicketType(),this.initList()}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bigBox"},[a("breadNav",[t._v("分销设置>新增")]),t._v(" "),a("div",{staticClass:"div1"},[a("div",[a("span",[t._v("\n\t\t\t\t产品名称:\n\t\t\t")]),t._v(" "),a("section",[a("el-select",{attrs:{filterable:""},on:{change:function(e){t.initList(),t.getPrice(t.productId)}},model:{value:t.productId,callback:function(e){t.productId=e},expression:"productId"}},[a("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.productNameList,function(t){return a("el-option",{key:t.productId,attrs:{label:t.productName,value:t.productId}})})],2)],1),t._v(" "),a("i",[t._v("*")])]),t._v(" "),a("div",[a("span",[t._v("\n\t\t\t\t门市价:\n\t\t\t")]),t._v(" "),a("span",[t._v("\n\t\t\t\t¥"+t._s(t.marketPrice)+"元/份\n\t\t\t")])])]),t._v(" "),a("div",{staticClass:"div2"},[a("div",[a("span",[t._v("\n\t\t\t\t渠道类型:\n\t\t\t")]),t._v(" "),a("section",[a("el-select",{attrs:{filterable:""},on:{change:function(e){t.inintChannelName(),t.initList()}},model:{value:t.priceTypeId,callback:function(e){t.priceTypeId=e},expression:"priceTypeId"}},[a("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.channelTypeList,function(t){return a("el-option",{key:t.priceTypeId,attrs:{label:t.priceTypeName,value:t.priceTypeId}})})],2)],1),t._v(" "),a("i",[t._v("*")])]),t._v(" "),a("div",[a("span",[t._v("\n\t\t\t\t渠道名称:\n\t\t\t")]),t._v(" "),a("section",[a("el-select",{attrs:{filterable:""},on:{change:function(e){return t.initList()}},model:{value:t.channelId,callback:function(e){t.channelId=e},expression:"channelId"}},[a("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.channelNameList,function(t){return a("el-option",{key:t.channelId,attrs:{label:t.companyName,value:t.channelId}})})],2)],1)]),t._v(" "),a("div",[a("span",[t._v("\n\t\t\t\t票种:\n\t\t\t")]),t._v(" "),a("section",[a("el-select",{attrs:{multiple:"",filterable:"",placeholder:"-请选择-"},model:{value:t.saleTypes,callback:function(e){t.saleTypes=e},expression:"saleTypes"}},t._l(t.saleTypeList,function(t){return a("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})}),1)],1),t._v(" "),a("i",[t._v("*")])]),t._v(" "),a("div",[a("a",{staticClass:"btn4",on:{click:function(e){return t.addList()}}},[t._v("加入列表")])])]),t._v(" "),a("table",{staticClass:"table1"},[t._m(0),t._v(" "),t._l(t.tableList,function(e,n){return a("tr",{key:n},[a("td",[t._v(t._s(e.productName))]),t._v(" "),a("td",[t._v("\n\t\t\t\t"+t._s(e.channelName)+"\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t"+t._s(e.priceTypeName)+"\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t"+t._s(e.saleTypeName)+"\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t"+t._s(e.salePrice)+"\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t"+t._s(e.salePricePay)+"\n\t\t\t")]),t._v(" "),a("td",[a("span",{staticStyle:{color:"#00C305","margin-right":"0.2rem"},on:{click:function(a){return t.$router.push("/scenic/pOperationCenter/distributionSetPlusSet?saleId="+e.saleId)}}},[t._v("\n\t\t\t\t\t设置\n\t\t\t\t")]),t._v(" "),a("span",{staticStyle:{color:"#FF0000"},on:{click:function(a){return t.clickDele(e.saleId)}}},[t._v("\n\t\t\t\t\t删除\n\t\t\t\t")])])])})],2),t._v(" "),a("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),a("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan,expression:"configTan"}],attrs:{configTitle:t.configTitle},on:{config:function(e){return t.dele()},cancel:function(e){t.configTan=!1}}}),t._v(" "),a("div",{staticClass:"div4"},[a("a",{staticClass:"btn4",on:{click:function(e){return t.$router.push("/scenic/pOperationCenter/DistributionSet")}}},[t._v("\n\t\t\t返回\n\t\t")])])],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",[t._v("产品名称")]),t._v(" "),a("td",[t._v("渠道名称")]),t._v(" "),a("td",[t._v("渠道类型")]),t._v(" "),a("td",[t._v("票种")]),t._v(" "),a("td",[t._v("渠道售价")]),t._v(" "),a("td",[t._v("结算价")]),t._v(" "),a("td",[t._v("操作")])])}]};var o=a("C7Lr")(c,r,!1,function(t){a("dJ3F")},"data-v-58028b84",null);e.default=o.exports}});
\ No newline at end of file
webpackJsonp([91],{dJ3F:function(t,e){},gENO:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("RwQt"),i=a("5XGy"),s=a("KPn7"),c={components:{breadNav:n.default,page:i.a,config:s.a},data:function(){return{configTan:!1,configTitle:"确定是否删除该产品",productNameList:[],productId:"",channelTypeList:[],priceTypeId:"",saleTypeList:[],saleTypes:[],channelNameList:[],channelId:"",tableList:[],pageIndex:1,pageSize:15,pageTotal:0,marketPrice:"",saleId:""}},methods:{inintProductName:function(){var t=this,e={companyId:this.$store.state.companyId,createUserId:this.$store.state.createUserId,pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getProductUrl("product/query"),e).then(function(e){"00"==e.data.code?t.productNameList=e.data.data.list:t.$message.error(e.data.message)})},inintChannelType:function(){var t=this,e={companyId:this.$store.state.companyId};this.axios.post(this.getChanel("companyPriceType/list"),e).then(function(e){"00"==e.data.code?t.channelTypeList=e.data.data:t.$message.error(e.data.message)})},inintChannelName:function(){var t=this;this.channelId="",this.channelNameList=[];var e={companyId:this.$store.state.companyId,priceTypeId:this.priceTypeId,pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("channel/list"),e).then(function(e){"00"==e.data.code?t.channelNameList=e.data.data.list:t.$message.error(e.data.message)})},initTicketType:function(){var t=this,e={companyId:this.companyId,enumType:"saleType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),e).then(function(e){"00"==e.data.code?t.saleTypeList=e.data.data:t.$message.error(e.data.message)})},addList:function(){var t=this;if(this.productId)if(this.priceTypeId)if(0!=this.saleTypes.length){var e={productId:this.productId,priceTypeId:this.priceTypeId,channelId:this.channelId,saleTypes:this.saleTypes};this.axios.post(this.getProductUrl("sale/init"),e).then(function(e){"00"==e.data.code?(t.initList(),t.productId="",t.priceTypeId="",t.channelId="",t.saleTypes=[]):t.$message.error(e.data.message)})}else this.$message.error("请选择票种");else this.$message.error("请选择渠道类型");else this.$message.error("请选择产品名称")},initList:function(){var t=this,e={pageIndex:this.pageIndex,pageSize:this.pageSize,productId:this.productId,priceTypeId:this.priceTypeId,channelId:this.channelId};this.axios.post(this.getProductUrl("sale/queryItem"),e).then(function(e){"00"==e.data.code?(t.pageTotal=e.data.data.pageTotal,t.tableList=e.data.data.list):t.$message.error(e.data.message)})},paging:function(t){this.pageIndex=t,this.initList()},clickDele:function(t){this.configTan=!0,this.saleId=t},dele:function(){var t=this,e={companyId:this.$store.state.companyId,saleId:this.saleId};this.axios.post(this.getProductUrl("sale/remove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.initList()):t.$message.error(e.data.message)})},getPrice:function(t){var e;e=this.productNameList.find(function(e){return e.productId===t}),this.marketPrice=e.productPrice}},mounted:function(){document.querySelector(".el-select__input").style.cssText="border: none;",this.inintProductName(),this.inintChannelType(),this.initTicketType(),this.initList()}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bigBox"},[a("breadNav",[t._v("分销设置>新增")]),t._v(" "),a("div",{staticClass:"div1"},[a("div",[a("span",[t._v("\n\t\t\t\t产品名称:\n\t\t\t")]),t._v(" "),a("section",[a("el-select",{attrs:{filterable:""},on:{change:function(e){t.initList(),t.getPrice(t.productId)}},model:{value:t.productId,callback:function(e){t.productId=e},expression:"productId"}},[a("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.productNameList,function(t){return a("el-option",{key:t.productId,attrs:{label:t.productName,value:t.productId}})})],2)],1),t._v(" "),a("i",[t._v("*")])]),t._v(" "),a("div",[a("span",[t._v("\n\t\t\t\t门市价:\n\t\t\t")]),t._v(" "),a("span",[t._v("\n\t\t\t\t¥"+t._s(t.marketPrice)+"元/份\n\t\t\t")])])]),t._v(" "),a("div",{staticClass:"div2"},[a("div",[a("span",[t._v("\n\t\t\t\t渠道类型:\n\t\t\t")]),t._v(" "),a("section",[a("el-select",{attrs:{filterable:""},on:{change:function(e){t.inintChannelName(),t.initList()}},model:{value:t.priceTypeId,callback:function(e){t.priceTypeId=e},expression:"priceTypeId"}},[a("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.channelTypeList,function(t){return a("el-option",{key:t.priceTypeId,attrs:{label:t.priceTypeName,value:t.priceTypeId}})})],2)],1),t._v(" "),a("i",[t._v("*")])]),t._v(" "),a("div",[a("span",[t._v("\n\t\t\t\t渠道名称:\n\t\t\t")]),t._v(" "),a("section",[a("el-select",{attrs:{filterable:""},on:{change:function(e){return t.initList()}},model:{value:t.channelId,callback:function(e){t.channelId=e},expression:"channelId"}},[a("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.channelNameList,function(t){return a("el-option",{key:t.channelId,attrs:{label:t.companyName,value:t.channelId}})})],2)],1)]),t._v(" "),a("div",[a("span",[t._v("\n\t\t\t\t票种:\n\t\t\t")]),t._v(" "),a("section",[a("el-select",{attrs:{multiple:"",filterable:"",placeholder:"-请选择-"},model:{value:t.saleTypes,callback:function(e){t.saleTypes=e},expression:"saleTypes"}},t._l(t.saleTypeList,function(t){return a("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})}),1)],1),t._v(" "),a("i",[t._v("*")])]),t._v(" "),a("div",[a("a",{staticClass:"btn4",on:{click:function(e){return t.addList()}}},[t._v("加入列表")])])]),t._v(" "),a("table",{staticClass:"table1"},[t._m(0),t._v(" "),t._l(t.tableList,function(e,n){return a("tr",{key:n},[a("td",[t._v(t._s(e.productName))]),t._v(" "),a("td",[t._v("\n\t\t\t\t"+t._s(e.channelName)+"\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t"+t._s(e.priceTypeName)+"\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t"+t._s(e.saleTypeName)+"\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t"+t._s(e.salePrice)+"\n\t\t\t")]),t._v(" "),a("td",[t._v("\n\t\t\t\t"+t._s(e.salePricePay)+"\n\t\t\t")]),t._v(" "),a("td",[a("span",{staticStyle:{color:"#00C305","margin-right":"0.2rem"},on:{click:function(a){return t.$router.push("/scenic/pOperationCenter/distributionSetPlusSet?saleId="+e.saleId)}}},[t._v("\n\t\t\t\t\t设置\n\t\t\t\t")]),t._v(" "),a("span",{staticStyle:{color:"#FF0000"},on:{click:function(a){return t.clickDele(e.saleId)}}},[t._v("\n\t\t\t\t\t删除\n\t\t\t\t")])])])})],2),t._v(" "),a("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),a("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan,expression:"configTan"}],attrs:{configTitle:t.configTitle},on:{config:function(e){return t.dele()},cancel:function(e){t.configTan=!1}}}),t._v(" "),a("div",{staticClass:"div4"},[a("a",{staticClass:"btn4",on:{click:function(e){return t.$router.push("/scenic/pOperationCenter/DistributionSet")}}},[t._v("\n\t\t\t返回\n\t\t")])])],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",[t._v("产品名称")]),t._v(" "),a("td",[t._v("渠道名称")]),t._v(" "),a("td",[t._v("渠道类型")]),t._v(" "),a("td",[t._v("票种")]),t._v(" "),a("td",[t._v("渠道售价")]),t._v(" "),a("td",[t._v("结算价")]),t._v(" "),a("td",[t._v("操作")])])}]};var o=a("C7Lr")(c,r,!1,function(t){a("dJ3F")},"data-v-58028b84",null);e.default=o.exports}});
\ No newline at end of file
webpackJsonp([90],{Dkoz:function(t,e){},XSKE:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("RwQt"),i=n("5XGy"),s=n("KPn7"),l={components:{breadNav:a.default,page:i.a,config:s.a},data:function(){return{lines:"",configTan2:!1,configTan:!1,configTitle:"是否删除该产品",configTitle2:"",pageIndex:1,pageSize:20,pageTotal:0,productNameList:[],productId:"",channelList:[],channelId:"",saleTypeList:"",saleType:"",statusList:[{id:"",name:"查看全部"},{id:0,name:"下架"},{id:1,name:"上架"}],inlineStatus:"",tableList:"",allChannel:""}},methods:{inintProductName:function(){var t=this,e={companyId:this.$store.state.companyId,createUserId:this.$store.state.createUserId,pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getProductUrl("product/query"),e).then(function(e){"00"==e.data.code?t.productNameList=e.data.data.list:t.$message.error(e.data.message)})},inintChannelList:function(){var t=this,e={companyId:this.$store.state.companyId,pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("channel/list"),e).then(function(e){"00"==e.data.code?t.channelList=e.data.data.list:t.$message.error(e.data.message)})},initTicketType:function(){var t=this,e={companyId:this.companyId,enumType:"saleType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),e).then(function(e){"00"==e.data.code?(t.saleTypeList=e.data.data,console.log(t.saleTypeList)):t.$message.error(e.data.message)})},query:function(){var t=this,e={pageIndex:this.pageIndex,pageSize:this.pageSize,productId:this.productId,channelId:this.channelId,saleType:this.saleType,inlineStatus:this.inlineStatus,allChannel:this.allChannel};this.axios.post(this.getProductUrl("sale/query"),e).then(function(e){"00"==e.data.code?(t.tableList=e.data.data.list,t.pageTotal=e.data.data.pageTotal):t.$message.error(e.data.message)})},paging:function(t){this.pageIndex=t,this.query()},clickInline:function(t,e){this.configTan2=!0,this.lines=t,this.saleId=e,this.configTitle2=1==t?"是否上架该产品":"是否下架该产品"},inline:function(t,e){var n=this,a={companyId:this.$store.state.companyId,line:this.lines,saleId:this.saleId};this.axios.post(this.getProductUrl("sale/inline"),a).then(function(t){"00"==t.data.code?(1==n.lines?n.$message.success("上架成功"):n.$message.success("下架成功"),n.configTan2=!1,n.query()):n.$message.error(t.data.message)})},clickDel:function(t){this.configTan=!0,this.saleId=t},dele:function(){var t=this,e={companyId:this.$store.state.companyId,saleId:this.saleId};this.axios.post(this.getProductUrl("sale/remove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.query()):t.$message.error(e.data.message)})}},mounted:function(){this.inintProductName(),this.inintChannelList(),this.initTicketType(),this.query()},activated:function(){"true"==this.$store.state.refurbish&&(this.productId="",this.channelId="",this.saleType="",this.inlineStatus="",this.$store.dispatch("getRefurbish","false")),this.query()}},c={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bigBox"},[n("breadNav",[t._v("\n 分销设置\n ")]),t._v(" "),n("div",{staticClass:"div1"},[n("a",{staticClass:"btn4",on:{click:function(e){return t.$router.push("/scenic/pOperationCenter/DistributionSetPlus")}}},[t._v("\n 新增\n ")])]),t._v(" "),n("div",{staticClass:"div2"},[n("div",[n("span",[t._v("\n\t\t\t\t\t产品名称\n\t\t\t\t")]),t._v(" "),n("section",[n("el-select",{attrs:{filterable:""},model:{value:t.productId,callback:function(e){t.productId=e},expression:"productId"}},[n("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.productNameList,function(t){return n("el-option",{key:t.productId,attrs:{label:t.productName,value:t.productId}})})],2)],1)]),t._v(" "),n("div",[n("span",[t._v("\n\t\t\t\t\t分销渠道\n\t\t\t\t")]),t._v(" "),n("section",[n("el-select",{attrs:{filterable:""},model:{value:t.channelId,callback:function(e){t.channelId=e},expression:"channelId"}},[n("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.channelList,function(t){return n("el-option",{key:t.channelId,attrs:{label:t.companyName,value:t.channelId}})})],2)],1),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.allChannel,expression:"allChannel"}],staticStyle:{"margin-left":"0.1rem"},attrs:{type:"checkbox","false-value":"","true-value":!0},domProps:{checked:Array.isArray(t.allChannel)?t._i(t.allChannel,null)>-1:t.allChannel},on:{change:function(e){var n=t.allChannel,a=e.target,i=!!a.checked||"";if(Array.isArray(n)){var s=t._i(n,null);a.checked?s<0&&(t.allChannel=n.concat([null])):s>-1&&(t.allChannel=n.slice(0,s).concat(n.slice(s+1)))}else t.allChannel=i}}})]),t._v(" "),n("div",[n("span",[t._v("\n\t\t\t\t\t票种\n\t\t\t\t")]),t._v(" "),n("section",[n("el-select",{attrs:{filterable:""},model:{value:t.saleType,callback:function(e){t.saleType=e},expression:"saleType"}},[n("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.saleTypeList,function(t){return n("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})],2)],1)]),t._v(" "),n("div",[n("span",[t._v("\n\t\t\t\t\t状态\n\t\t\t\t")]),t._v(" "),n("section",[n("el-select",{attrs:{filterable:""},model:{value:t.inlineStatus,callback:function(e){t.inlineStatus=e},expression:"inlineStatus"}},t._l(t.statusList,function(t){return n("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})}),1)],1)]),t._v(" "),n("a",{staticClass:"btn4",on:{click:function(e){t.pageIndex=1,t.query()}}},[t._v("\n 查询\n ")])]),t._v(" "),n("table",{staticClass:"table3"},[t._m(0),t._v(" "),t._l(t.tableList,function(e,a){return n("tr",{key:"a"+a},[n("td",[t._v("\n "+t._s(a+1)+"\n ")]),t._v(" "),n("td",[t._v("\n "+t._s(e.productName)+"\n ")]),t._v(" "),n("td",[t._v("\n "+t._s(e.productPrice)+"\n ")]),t._v(" "),n("td",t._l(e.sales,function(e,a){return n("b",{key:"b"+a},[t._v("\n "+t._s(e.channelName?e.channelName:"暂无")+" ("+t._s(e.priceTypeName?e.priceTypeName:"")+")\n ")])}),0),t._v(" "),n("td",t._l(e.sales,function(e,a){return n("b",{key:"e"+a},[t._v("\n "+t._s(e.saleTypeName?e.saleTypeName:"暂无")+"\n ")])}),0),t._v(" "),n("td",t._l(e.sales,function(e,a){return n("b",{key:"w"+a},[t._v("\n "+t._s(e.saleId)+"\n ")])}),0),t._v(" "),n("td",t._l(e.sales,function(e,a){return n("b",{key:"c"+a},[t._v("\n "+t._s(e.salePrice)+"\n ")])}),0),t._v(" "),n("td",t._l(e.sales,function(e,a){return n("b",{key:"d"+a},[t._v("\n "+t._s(e.salePricePay)+"\n ")])}),0),t._v(" "),n("td",t._l(e.sales,function(e,a){return n("b",{key:"f"+a},[e.line?n("i",{staticStyle:{color:"#01DA01"}},[t._v("\n 上架\n ")]):n("i",[t._v("\n 下架\n ")])])}),0),t._v(" "),n("td",t._l(e.sales,function(e,a){return n("b",{key:"g"+a},[n("span",{staticStyle:{"margin-right":"0.1rem"}},[e.line?n("i",{on:{click:function(n){return t.clickInline(0,e.saleId)}}},[t._v("\n\t\t\t\t\t\t\t\t下架\n\t\t\t\t\t\t\t")]):n("i",{on:{click:function(n){return t.clickInline(1,e.saleId)}}},[t._v("\n\t\t\t\t\t\t\t\t上架\n\t\t\t\t\t\t\t")])]),t._v(" "),n("span",{staticStyle:{"margin-right":"0.1rem"},on:{click:function(n){return t.$router.push("/scenic/pOperationCenter/distributionSetPlusSet?saleId="+e.saleId)}}},[t._v("\n\t\t\t\t\t\t\t修改\n\t\t\t\t\t\t")]),t._v(" "),n("span",{staticStyle:{color:"#FF0000"},on:{click:function(n){return t.clickDel(e.saleId)}}},[t._v("\n\t\t\t\t\t\t\t删除\n\t\t\t\t\t\t")])])}),0)])})],2),t._v(" "),n("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),n("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan,expression:"configTan"}],attrs:{configTitle:t.configTitle},on:{config:function(e){return t.dele()},cancel:function(e){t.configTan=!1}}}),t._v(" "),n("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan2,expression:"configTan2"}],attrs:{configTitle:t.configTitle2},on:{config:function(e){return t.inline()},cancel:function(e){t.configTan2=!1}}})],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",[n("td",[t._v("序号")]),t._v(" "),n("td",[t._v("\n 产品名称\n ")]),t._v(" "),n("td",[t._v("\n 门市价\n ")]),t._v(" "),n("td",[t._v("\n \t 分销渠道\n ")]),t._v(" "),n("td",[t._v("\n \t票种\n ")]),t._v(" "),n("td",[t._v("\n \t对接编码\n ")]),t._v(" "),n("td",[t._v("\n \t 渠道售价\n ")]),t._v(" "),n("td",[t._v("\n \t 结算价\n ")]),t._v(" "),n("td",[t._v("\n \t 状态\n ")]),t._v(" "),n("td",[t._v("\n \t 操作\n ")])])}]};var o=n("C7Lr")(l,c,!1,function(t){n("Dkoz")},"data-v-54ff6043",null);e.default=o.exports}});
\ No newline at end of file
webpackJsonp([92],{Dkoz:function(t,e){},XSKE:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("RwQt"),i=n("5XGy"),s=n("KPn7"),l={components:{breadNav:a.default,page:i.a,config:s.a},data:function(){return{lines:"",configTan2:!1,configTan:!1,configTitle:"是否删除该产品",configTitle2:"",pageIndex:1,pageSize:20,pageTotal:0,productNameList:[],productId:"",channelList:[],channelId:"",saleTypeList:"",saleType:"",statusList:[{id:"",name:"查看全部"},{id:0,name:"下架"},{id:1,name:"上架"}],inlineStatus:"",tableList:"",allChannel:""}},methods:{inintProductName:function(){var t=this,e={companyId:this.$store.state.companyId,createUserId:this.$store.state.createUserId,pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getProductUrl("product/query"),e).then(function(e){"00"==e.data.code?t.productNameList=e.data.data.list:t.$message.error(e.data.message)})},inintChannelList:function(){var t=this,e={companyId:this.$store.state.companyId,pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("channel/list"),e).then(function(e){"00"==e.data.code?t.channelList=e.data.data.list:t.$message.error(e.data.message)})},initTicketType:function(){var t=this,e={companyId:this.companyId,enumType:"saleType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),e).then(function(e){"00"==e.data.code?(t.saleTypeList=e.data.data,console.log(t.saleTypeList)):t.$message.error(e.data.message)})},query:function(){var t=this,e={pageIndex:this.pageIndex,pageSize:this.pageSize,productId:this.productId,channelId:this.channelId,saleType:this.saleType,inlineStatus:this.inlineStatus,allChannel:this.allChannel};this.axios.post(this.getProductUrl("sale/query"),e).then(function(e){"00"==e.data.code?(t.tableList=e.data.data.list,t.pageTotal=e.data.data.pageTotal):t.$message.error(e.data.message)})},paging:function(t){this.pageIndex=t,this.query()},clickInline:function(t,e){this.configTan2=!0,this.lines=t,this.saleId=e,this.configTitle2=1==t?"是否上架该产品":"是否下架该产品"},inline:function(t,e){var n=this,a={companyId:this.$store.state.companyId,line:this.lines,saleId:this.saleId};this.axios.post(this.getProductUrl("sale/inline"),a).then(function(t){"00"==t.data.code?(1==n.lines?n.$message.success("上架成功"):n.$message.success("下架成功"),n.configTan2=!1,n.query()):n.$message.error(t.data.message)})},clickDel:function(t){this.configTan=!0,this.saleId=t},dele:function(){var t=this,e={companyId:this.$store.state.companyId,saleId:this.saleId};this.axios.post(this.getProductUrl("sale/remove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.query()):t.$message.error(e.data.message)})}},mounted:function(){this.inintProductName(),this.inintChannelList(),this.initTicketType(),this.query()},activated:function(){"true"==this.$store.state.refurbish&&(this.productId="",this.channelId="",this.saleType="",this.inlineStatus="",this.$store.dispatch("getRefurbish","false")),this.query()}},c={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bigBox"},[n("breadNav",[t._v("\n 分销设置\n ")]),t._v(" "),n("div",{staticClass:"div1"},[n("a",{staticClass:"btn4",on:{click:function(e){return t.$router.push("/scenic/pOperationCenter/DistributionSetPlus")}}},[t._v("\n 新增\n ")])]),t._v(" "),n("div",{staticClass:"div2"},[n("div",[n("span",[t._v("\n\t\t\t\t\t产品名称\n\t\t\t\t")]),t._v(" "),n("section",[n("el-select",{attrs:{filterable:""},model:{value:t.productId,callback:function(e){t.productId=e},expression:"productId"}},[n("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.productNameList,function(t){return n("el-option",{key:t.productId,attrs:{label:t.productName,value:t.productId}})})],2)],1)]),t._v(" "),n("div",[n("span",[t._v("\n\t\t\t\t\t分销渠道\n\t\t\t\t")]),t._v(" "),n("section",[n("el-select",{attrs:{filterable:""},model:{value:t.channelId,callback:function(e){t.channelId=e},expression:"channelId"}},[n("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.channelList,function(t){return n("el-option",{key:t.channelId,attrs:{label:t.companyName,value:t.channelId}})})],2)],1),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.allChannel,expression:"allChannel"}],staticStyle:{"margin-left":"0.1rem"},attrs:{type:"checkbox","false-value":"","true-value":!0},domProps:{checked:Array.isArray(t.allChannel)?t._i(t.allChannel,null)>-1:t.allChannel},on:{change:function(e){var n=t.allChannel,a=e.target,i=!!a.checked||"";if(Array.isArray(n)){var s=t._i(n,null);a.checked?s<0&&(t.allChannel=n.concat([null])):s>-1&&(t.allChannel=n.slice(0,s).concat(n.slice(s+1)))}else t.allChannel=i}}})]),t._v(" "),n("div",[n("span",[t._v("\n\t\t\t\t\t票种\n\t\t\t\t")]),t._v(" "),n("section",[n("el-select",{attrs:{filterable:""},model:{value:t.saleType,callback:function(e){t.saleType=e},expression:"saleType"}},[n("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.saleTypeList,function(t){return n("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})],2)],1)]),t._v(" "),n("div",[n("span",[t._v("\n\t\t\t\t\t状态\n\t\t\t\t")]),t._v(" "),n("section",[n("el-select",{attrs:{filterable:""},model:{value:t.inlineStatus,callback:function(e){t.inlineStatus=e},expression:"inlineStatus"}},t._l(t.statusList,function(t){return n("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})}),1)],1)]),t._v(" "),n("a",{staticClass:"btn4",on:{click:function(e){t.pageIndex=1,t.query()}}},[t._v("\n 查询\n ")])]),t._v(" "),n("table",{staticClass:"table3"},[t._m(0),t._v(" "),t._l(t.tableList,function(e,a){return n("tr",{key:"a"+a},[n("td",[t._v("\n "+t._s(a+1)+"\n ")]),t._v(" "),n("td",[t._v("\n "+t._s(e.productName)+"\n ")]),t._v(" "),n("td",[t._v("\n "+t._s(e.productPrice)+"\n ")]),t._v(" "),n("td",t._l(e.sales,function(e,a){return n("b",{key:"b"+a},[t._v("\n "+t._s(e.channelName?e.channelName:"暂无")+" ("+t._s(e.priceTypeName?e.priceTypeName:"")+")\n ")])}),0),t._v(" "),n("td",t._l(e.sales,function(e,a){return n("b",{key:"e"+a},[t._v("\n "+t._s(e.saleTypeName?e.saleTypeName:"暂无")+"\n ")])}),0),t._v(" "),n("td",t._l(e.sales,function(e,a){return n("b",{key:"w"+a},[t._v("\n "+t._s(e.saleId)+"\n ")])}),0),t._v(" "),n("td",t._l(e.sales,function(e,a){return n("b",{key:"c"+a},[t._v("\n "+t._s(e.salePrice)+"\n ")])}),0),t._v(" "),n("td",t._l(e.sales,function(e,a){return n("b",{key:"d"+a},[t._v("\n "+t._s(e.salePricePay)+"\n ")])}),0),t._v(" "),n("td",t._l(e.sales,function(e,a){return n("b",{key:"f"+a},[e.line?n("i",{staticStyle:{color:"#01DA01"}},[t._v("\n 上架\n ")]):n("i",[t._v("\n 下架\n ")])])}),0),t._v(" "),n("td",t._l(e.sales,function(e,a){return n("b",{key:"g"+a},[n("span",{staticStyle:{"margin-right":"0.1rem"}},[e.line?n("i",{on:{click:function(n){return t.clickInline(0,e.saleId)}}},[t._v("\n\t\t\t\t\t\t\t\t下架\n\t\t\t\t\t\t\t")]):n("i",{on:{click:function(n){return t.clickInline(1,e.saleId)}}},[t._v("\n\t\t\t\t\t\t\t\t上架\n\t\t\t\t\t\t\t")])]),t._v(" "),n("span",{staticStyle:{"margin-right":"0.1rem"},on:{click:function(n){return t.$router.push("/scenic/pOperationCenter/distributionSetPlusSet?saleId="+e.saleId)}}},[t._v("\n\t\t\t\t\t\t\t修改\n\t\t\t\t\t\t")]),t._v(" "),n("span",{staticStyle:{color:"#FF0000"},on:{click:function(n){return t.clickDel(e.saleId)}}},[t._v("\n\t\t\t\t\t\t\t删除\n\t\t\t\t\t\t")])])}),0)])})],2),t._v(" "),n("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),n("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan,expression:"configTan"}],attrs:{configTitle:t.configTitle},on:{config:function(e){return t.dele()},cancel:function(e){t.configTan=!1}}}),t._v(" "),n("config",{directives:[{name:"show",rawName:"v-show",value:t.configTan2,expression:"configTan2"}],attrs:{configTitle:t.configTitle2},on:{config:function(e){return t.inline()},cancel:function(e){t.configTan2=!1}}})],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",[n("td",[t._v("序号")]),t._v(" "),n("td",[t._v("\n 产品名称\n ")]),t._v(" "),n("td",[t._v("\n 门市价\n ")]),t._v(" "),n("td",[t._v("\n \t 分销渠道\n ")]),t._v(" "),n("td",[t._v("\n \t票种\n ")]),t._v(" "),n("td",[t._v("\n \t对接编码\n ")]),t._v(" "),n("td",[t._v("\n \t 渠道售价\n ")]),t._v(" "),n("td",[t._v("\n \t 结算价\n ")]),t._v(" "),n("td",[t._v("\n \t 状态\n ")]),t._v(" "),n("td",[t._v("\n \t 操作\n ")])])}]};var o=n("C7Lr")(l,c,!1,function(t){n("Dkoz")},"data-v-54ff6043",null);e.default=o.exports}});
\ No newline at end of file
webpackJsonp([91],{EKPX:function(e,t){},"pDo/":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("RwQt"),n=i("5XGy"),s=i("KPn7"),c={components:{breadNav:a.default,page:n.a,config:s.a},data:function(){return{configTan2:!1,configTitle2:"",configTan:!1,configTitle:"是否删除该设备",deviceType:"",deviceTypeList:[],pageSize:15,pageIndex:1,pageTotal:0,search:"",tableList:"",deviceId:"",deviceEnabled:""}},methods:{clickRevise:function(e){this.$router.push({path:"/scenic/sMymanagement/deviceEdit",query:{deviceId:e,search:this.search}})},getDeviceType:function(){var e=this,t={companyId:this.companyId,enumType:"deviceType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),t).then(function(t){"00"==t.data.code?e.deviceTypeList=t.data.data:e.$message.error(t.data.message)})},getList:function(){var e=this,t={pageIndex:this.pageIndex,pageSize:this.pageSize,deviceType:this.deviceType,search:this.search};this.axios.post(this.getSystem("check/device/list"),t).then(function(t){"00"==t.data.code?(e.tableList=t.data.data.list,e.pageTotal=t.data.data.pageTotal):e.$message.error(t.data.message)})},paging:function(e){this.pageIndex=e,this.getList()},clickDele:function(e){this.configTan=!0,this.deviceId=e},dele:function(){var e=this,t={deviceId:this.deviceId};this.axios.post(this.getSystem("check/device/remove"),t).then(function(t){"00"==t.data.code?(e.$message.success("删除成功"),e.configTan=!1,e.getList()):e.$message.error(t.data.message)})},clickOpenStop:function(e,t){this.configTan2=!0,this.deviceId=e,this.deviceEnabled=t,this.configTitle2=1==t?"是否开启设备":"是否禁用设备"},openStop:function(){var e=this,t={deviceId:this.deviceId,deviceEnabled:this.deviceEnabled};this.axios.post(this.getSystem("check/device/enable"),t).then(function(t){"00"==t.data.code?(1==e.deviceEnabled?e.$message.success("开启成功"):e.$message.success("禁用成功"),e.configTan2=!1,e.getList()):e.$message.error(t.data.message)})}},mounted:function(){this.getDeviceType(),this.getList()},activated:function(){"true"==this.$store.state.refurbish&&(this.search="",this.deviceType="",this.$store.dispatch("getRefurbish","false")),this.getList()}},o={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"bigBox"},[i("breadNav",[e._v("设备管理")]),e._v(" "),i("div",{staticStyle:{"margin-top":"0.2rem"}},[i("a",{staticClass:"btn5",on:{click:function(t){return e.$router.push("/scenic/sMymanagement/deviceRegister")}}},[e._v("新设备注册")])]),e._v(" "),i("div",{staticClass:"top"},[i("div",[e._v("\n 筛选:\n "),i("section",[i("el-select",{attrs:{filterable:""},model:{value:e.deviceType,callback:function(t){e.deviceType=t},expression:"deviceType"}},[i("el-option",{attrs:{label:"-请选择-",value:""}}),e._v(" "),e._l(e.deviceTypeList,function(e){return i("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1)]),e._v(" "),i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],staticStyle:{width:"2rem"},attrs:{type:"text",placeholder:"请输入设备名称、类型、编码"},domProps:{value:e.search},on:{input:function(t){t.target.composing||(e.search=t.target.value)}}}),e._v(" "),i("a",{staticClass:"btn4",staticStyle:{"margin-left":"0.3rem"},on:{click:function(t){e.pageIndex=1,e.getList()}}},[e._v("查询")])])]),e._v(" "),i("table",{staticClass:"middle"},[e._m(0),e._v(" "),e._l(e.tableList,function(t,a){return i("tr",{key:t.deviceId},[i("td",[e._v(e._s(t.deviceName))]),e._v(" "),i("td",[e._v(e._s(t.deviceTypeName))]),e._v(" "),i("td",[e._v(e._s(t.deviceKey))]),e._v(" "),i("td",[e._v(e._s(t.projectName))]),e._v(" "),i("td",["1"==t.icEnabled?i("span",{staticStyle:{color:"#00C305"}},[e._v("启用")]):i("span",[e._v("禁用")])]),e._v(" "),i("td",[1==t.anyCode?i("span",{staticStyle:{color:"#00C305"}},[e._v("启用")]):i("span",[e._v("禁用 ")])]),e._v(" "),i("td",[e._v(e._s(t.areaName))]),e._v(" "),i("td",[e._v(e._s(t.driverGroupName))]),e._v(" "),i("td",[e._v(e._s(t.printGroupName))]),e._v(" "),i("td",[t.deviceEnabled?i("span",{staticStyle:{color:"#00C305"}},[e._v("开启")]):i("span",[e._v("禁用")])]),e._v(" "),i("td",[t.deviceEnabled?i("span",{on:{click:function(i){return e.clickOpenStop(t.deviceId,0)}}},[e._v("禁用")]):i("span",{on:{click:function(i){return e.clickOpenStop(t.deviceId,1)}}},[e._v("开启")]),e._v(" "),i("span",{on:{click:function(i){return e.clickRevise(t.deviceId)}}},[e._v("修改")]),e._v(" "),i("span",{staticStyle:{color:"#FF0000"},on:{click:function(i){return e.clickDele(t.deviceId)}}},[e._v("删除")])])])})],2),e._v(" "),i("page",{attrs:{pagesize:e.pageSize,total:e.pageTotal,whichpage:e.pageIndex},on:{page:e.paging}}),e._v(" "),i("config",{directives:[{name:"show",rawName:"v-show",value:e.configTan2,expression:"configTan2"}],attrs:{configTitle:e.configTitle2},on:{config:function(t){return e.openStop()},cancel:function(t){e.configTan2=!1}}}),e._v(" "),i("config",{directives:[{name:"show",rawName:"v-show",value:e.configTan,expression:"configTan"}],attrs:{configTitle:e.configTitle},on:{config:function(t){return e.dele()},cancel:function(t){e.configTan=!1}}})],1)},staticRenderFns:[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("tr",[i("td",[e._v("设备名称")]),e._v(" "),i("td",[e._v("设备类型")]),e._v(" "),i("td",[e._v("设备编码")]),e._v(" "),i("td",[e._v("站点")]),e._v(" "),i("td",[e._v("IC卡")]),e._v(" "),i("td",[e._v("任意凭证")]),e._v(" "),i("td",[e._v("区域")]),e._v(" "),i("td",[e._v("驱动组")]),e._v(" "),i("td",[e._v("打印组")]),e._v(" "),i("td",[e._v("状态")]),e._v(" "),i("td",[e._v("操作")])])}]};var d=i("C7Lr")(c,o,!1,function(e){i("EKPX")},"data-v-52f3c572",null);t.default=d.exports}});
\ No newline at end of file
webpackJsonp([93],{EKPX:function(e,t){},"pDo/":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i("RwQt"),n=i("5XGy"),s=i("KPn7"),c={components:{breadNav:a.default,page:n.a,config:s.a},data:function(){return{configTan2:!1,configTitle2:"",configTan:!1,configTitle:"是否删除该设备",deviceType:"",deviceTypeList:[],pageSize:15,pageIndex:1,pageTotal:0,search:"",tableList:"",deviceId:"",deviceEnabled:""}},methods:{clickRevise:function(e){this.$router.push({path:"/scenic/sMymanagement/deviceEdit",query:{deviceId:e,search:this.search}})},getDeviceType:function(){var e=this,t={companyId:this.companyId,enumType:"deviceType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),t).then(function(t){"00"==t.data.code?e.deviceTypeList=t.data.data:e.$message.error(t.data.message)})},getList:function(){var e=this,t={pageIndex:this.pageIndex,pageSize:this.pageSize,deviceType:this.deviceType,search:this.search};this.axios.post(this.getSystem("check/device/list"),t).then(function(t){"00"==t.data.code?(e.tableList=t.data.data.list,e.pageTotal=t.data.data.pageTotal):e.$message.error(t.data.message)})},paging:function(e){this.pageIndex=e,this.getList()},clickDele:function(e){this.configTan=!0,this.deviceId=e},dele:function(){var e=this,t={deviceId:this.deviceId};this.axios.post(this.getSystem("check/device/remove"),t).then(function(t){"00"==t.data.code?(e.$message.success("删除成功"),e.configTan=!1,e.getList()):e.$message.error(t.data.message)})},clickOpenStop:function(e,t){this.configTan2=!0,this.deviceId=e,this.deviceEnabled=t,this.configTitle2=1==t?"是否开启设备":"是否禁用设备"},openStop:function(){var e=this,t={deviceId:this.deviceId,deviceEnabled:this.deviceEnabled};this.axios.post(this.getSystem("check/device/enable"),t).then(function(t){"00"==t.data.code?(1==e.deviceEnabled?e.$message.success("开启成功"):e.$message.success("禁用成功"),e.configTan2=!1,e.getList()):e.$message.error(t.data.message)})}},mounted:function(){this.getDeviceType(),this.getList()},activated:function(){"true"==this.$store.state.refurbish&&(this.search="",this.deviceType="",this.$store.dispatch("getRefurbish","false")),this.getList()}},o={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"bigBox"},[i("breadNav",[e._v("设备管理")]),e._v(" "),i("div",{staticStyle:{"margin-top":"0.2rem"}},[i("a",{staticClass:"btn5",on:{click:function(t){return e.$router.push("/scenic/sMymanagement/deviceRegister")}}},[e._v("新设备注册")])]),e._v(" "),i("div",{staticClass:"top"},[i("div",[e._v("\n 筛选:\n "),i("section",[i("el-select",{attrs:{filterable:""},model:{value:e.deviceType,callback:function(t){e.deviceType=t},expression:"deviceType"}},[i("el-option",{attrs:{label:"-请选择-",value:""}}),e._v(" "),e._l(e.deviceTypeList,function(e){return i("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1)]),e._v(" "),i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],staticStyle:{width:"2rem"},attrs:{type:"text",placeholder:"请输入设备名称、类型、编码"},domProps:{value:e.search},on:{input:function(t){t.target.composing||(e.search=t.target.value)}}}),e._v(" "),i("a",{staticClass:"btn4",staticStyle:{"margin-left":"0.3rem"},on:{click:function(t){e.pageIndex=1,e.getList()}}},[e._v("查询")])])]),e._v(" "),i("table",{staticClass:"middle"},[e._m(0),e._v(" "),e._l(e.tableList,function(t,a){return i("tr",{key:t.deviceId},[i("td",[e._v(e._s(t.deviceName))]),e._v(" "),i("td",[e._v(e._s(t.deviceTypeName))]),e._v(" "),i("td",[e._v(e._s(t.deviceKey))]),e._v(" "),i("td",[e._v(e._s(t.projectName))]),e._v(" "),i("td",["1"==t.icEnabled?i("span",{staticStyle:{color:"#00C305"}},[e._v("启用")]):i("span",[e._v("禁用")])]),e._v(" "),i("td",[1==t.anyCode?i("span",{staticStyle:{color:"#00C305"}},[e._v("启用")]):i("span",[e._v("禁用 ")])]),e._v(" "),i("td",[e._v(e._s(t.areaName))]),e._v(" "),i("td",[e._v(e._s(t.driverGroupName))]),e._v(" "),i("td",[e._v(e._s(t.printGroupName))]),e._v(" "),i("td",[t.deviceEnabled?i("span",{staticStyle:{color:"#00C305"}},[e._v("开启")]):i("span",[e._v("禁用")])]),e._v(" "),i("td",[t.deviceEnabled?i("span",{on:{click:function(i){return e.clickOpenStop(t.deviceId,0)}}},[e._v("禁用")]):i("span",{on:{click:function(i){return e.clickOpenStop(t.deviceId,1)}}},[e._v("开启")]),e._v(" "),i("span",{on:{click:function(i){return e.clickRevise(t.deviceId)}}},[e._v("修改")]),e._v(" "),i("span",{staticStyle:{color:"#FF0000"},on:{click:function(i){return e.clickDele(t.deviceId)}}},[e._v("删除")])])])})],2),e._v(" "),i("page",{attrs:{pagesize:e.pageSize,total:e.pageTotal,whichpage:e.pageIndex},on:{page:e.paging}}),e._v(" "),i("config",{directives:[{name:"show",rawName:"v-show",value:e.configTan2,expression:"configTan2"}],attrs:{configTitle:e.configTitle2},on:{config:function(t){return e.openStop()},cancel:function(t){e.configTan2=!1}}}),e._v(" "),i("config",{directives:[{name:"show",rawName:"v-show",value:e.configTan,expression:"configTan"}],attrs:{configTitle:e.configTitle},on:{config:function(t){return e.dele()},cancel:function(t){e.configTan=!1}}})],1)},staticRenderFns:[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("tr",[i("td",[e._v("设备名称")]),e._v(" "),i("td",[e._v("设备类型")]),e._v(" "),i("td",[e._v("设备编码")]),e._v(" "),i("td",[e._v("站点")]),e._v(" "),i("td",[e._v("IC卡")]),e._v(" "),i("td",[e._v("任意凭证")]),e._v(" "),i("td",[e._v("区域")]),e._v(" "),i("td",[e._v("驱动组")]),e._v(" "),i("td",[e._v("打印组")]),e._v(" "),i("td",[e._v("状态")]),e._v(" "),i("td",[e._v("操作")])])}]};var d=i("C7Lr")(c,o,!1,function(e){i("EKPX")},"data-v-52f3c572",null);t.default=d.exports}});
\ No newline at end of file
webpackJsonp([92],{BhKL:function(e,t){},nJBN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={components:{leftSide:n("FegP").a}},c={render:function(){var e=this.$createElement;return(this._self._c||e)("leftSide")},staticRenderFns:[]};var a=n("C7Lr")(r,c,!1,function(e){n("BhKL")},"data-v-4fdced12",null);t.default=a.exports}});
\ No newline at end of file
webpackJsonp([94],{BhKL:function(e,t){},nJBN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={components:{leftSide:n("FegP").a}},c={render:function(){var e=this.$createElement;return(this._self._c||e)("leftSide")},staticRenderFns:[]};var a=n("C7Lr")(r,c,!1,function(e){n("BhKL")},"data-v-4fdced12",null);t.default=a.exports}});
\ No newline at end of file
webpackJsonp([93],{Ma4V:function(t,e){},dNtq:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("RwQt"),n=i("5XGy"),s={components:{breadNav:a.default,page:n.a},data:function(){return{pageSize:15,pageIndex:1,pageTotal:0,registerDeviceKey:"",tableList:[]}},methods:{getList:function(){var t=this,e={pageIndex:this.pageIndex,pageSize:this.pageSize,register:!0,registerDeviceKey:this.registerDeviceKey};this.axios.post(this.getSystem("check/device/list"),e).then(function(e){"00"==e.data.code?(t.tableList=e.data.data.list,t.pageTotal=e.data.data.pageTotal):t.$message.error(e.data.message)})},paging:function(t){this.pageIndex=t,this.getList()}},mounted:function(){this.getList()}},r={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"bigBox"},[i("breadNav",[t._v("\n\t\t设备注册\n\t")]),t._v(" "),i("div",{staticClass:"top"},[i("span",[t._v("\n\t\t\t设备编码\n\t\t")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.registerDeviceKey,expression:"registerDeviceKey"}],attrs:{placeholder:"请输入设备编码"},domProps:{value:t.registerDeviceKey},on:{input:function(e){e.target.composing||(t.registerDeviceKey=e.target.value)}}}),t._v(" "),i("a",{staticClass:"btn4",staticStyle:{margin:"0 0.2rem"},on:{click:function(e){t.pageIndex=1,t.getList()}}},[t._v("\n\t\t\t查询\n\t\t")]),t._v(" "),i("span",{staticStyle:{color:"#FF0000"}},[t._v("注意:设备编码支持通配符%,如设备编码为:123456789110,可以输入123%110")])]),t._v(" "),i("div",{staticClass:"bottom"},[i("p",[t._v("查询结果")]),t._v(" "),i("table",[t._m(0),t._v(" "),t._l(t.tableList,function(e,a){return i("tr",{key:e.deviceId},[i("td",[t._v("\n\t\t\t\t\t"+t._s(e.deviceName)+"\n\t\t\t\t")]),t._v(" "),i("td",[t._v("\n\t\t\t\t\t"+t._s(e.deviceTypeName)+"\n\t\t\t\t")]),t._v(" "),i("td",[t._v("\n\t\t\t\t\t"+t._s(e.deviceKey)+"\n\t\t\t\t")]),t._v(" "),i("td",[i("a",{staticStyle:{cursor:"pointer",color:"#00C305"},on:{click:function(i){return t.$router.push("/scenic/sMymanagement/deviceEdit?deviceId="+e.deviceId)}}},[t._v("\n\t\t\t\t\t\t初始化\n\t\t\t\t\t")])])])})],2),t._v(" "),i("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),i("div",[i("a",{staticClass:"btn4",on:{click:function(e){return t.$router.go(-1)}}},[t._v("返回")])])],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("td",[this._v("\n\t\t\t\t\t设备名称\n\t\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t\t设备类型\n\t\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t\t设备编码\n\t\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t\t操作\n\t\t\t\t")])])}]};var c=i("C7Lr")(s,r,!1,function(t){i("Ma4V")},"data-v-4ebbe168",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([95],{Ma4V:function(t,e){},dNtq:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("RwQt"),n=i("5XGy"),s={components:{breadNav:a.default,page:n.a},data:function(){return{pageSize:15,pageIndex:1,pageTotal:0,registerDeviceKey:"",tableList:[]}},methods:{getList:function(){var t=this,e={pageIndex:this.pageIndex,pageSize:this.pageSize,register:!0,registerDeviceKey:this.registerDeviceKey};this.axios.post(this.getSystem("check/device/list"),e).then(function(e){"00"==e.data.code?(t.tableList=e.data.data.list,t.pageTotal=e.data.data.pageTotal):t.$message.error(e.data.message)})},paging:function(t){this.pageIndex=t,this.getList()}},mounted:function(){this.getList()}},r={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"bigBox"},[i("breadNav",[t._v("\n\t\t设备注册\n\t")]),t._v(" "),i("div",{staticClass:"top"},[i("span",[t._v("\n\t\t\t设备编码\n\t\t")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.registerDeviceKey,expression:"registerDeviceKey"}],attrs:{placeholder:"请输入设备编码"},domProps:{value:t.registerDeviceKey},on:{input:function(e){e.target.composing||(t.registerDeviceKey=e.target.value)}}}),t._v(" "),i("a",{staticClass:"btn4",staticStyle:{margin:"0 0.2rem"},on:{click:function(e){t.pageIndex=1,t.getList()}}},[t._v("\n\t\t\t查询\n\t\t")]),t._v(" "),i("span",{staticStyle:{color:"#FF0000"}},[t._v("注意:设备编码支持通配符%,如设备编码为:123456789110,可以输入123%110")])]),t._v(" "),i("div",{staticClass:"bottom"},[i("p",[t._v("查询结果")]),t._v(" "),i("table",[t._m(0),t._v(" "),t._l(t.tableList,function(e,a){return i("tr",{key:e.deviceId},[i("td",[t._v("\n\t\t\t\t\t"+t._s(e.deviceName)+"\n\t\t\t\t")]),t._v(" "),i("td",[t._v("\n\t\t\t\t\t"+t._s(e.deviceTypeName)+"\n\t\t\t\t")]),t._v(" "),i("td",[t._v("\n\t\t\t\t\t"+t._s(e.deviceKey)+"\n\t\t\t\t")]),t._v(" "),i("td",[i("a",{staticStyle:{cursor:"pointer",color:"#00C305"},on:{click:function(i){return t.$router.push("/scenic/sMymanagement/deviceEdit?deviceId="+e.deviceId)}}},[t._v("\n\t\t\t\t\t\t初始化\n\t\t\t\t\t")])])])})],2),t._v(" "),i("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),i("div",[i("a",{staticClass:"btn4",on:{click:function(e){return t.$router.go(-1)}}},[t._v("返回")])])],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("td",[this._v("\n\t\t\t\t\t设备名称\n\t\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t\t设备类型\n\t\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t\t设备编码\n\t\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t\t操作\n\t\t\t\t")])])}]};var c=i("C7Lr")(s,r,!1,function(t){i("Ma4V")},"data-v-4ebbe168",null);e.default=c.exports}});
\ No newline at end of file
webpackJsonp([94],{VtVa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("hBs9"),s=a("RwQt"),n={components:{date:i.a,breadNav:s.default},data:function(){return{value:"0",value1:"",userType:[{value:"0",label:"创建时间"},{value:"1",label:"游玩时间"}]}},methods:{change:function(){"0"===this.value?(this.queryObject.beginCreateDate=this.shijian[1]||"",this.queryObject.finishCreateDate=this.shijian[0]||"",this.queryObject.beginPlayDateFrom="",this.queryObject.finishPlayDateFrom=""):(this.queryObject.beginPlayDateFrom=this.shijian[1]||"",this.queryObject.finishPlayDateFrom=this.shijian[0]||"",this.queryObject.finishCreateDate="",this.queryObject.beginCreateDate="")}}},v={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bigBox"},[a("breadNav",[t._v("待发送队列")]),t._v(" "),a("div",{staticClass:"box"},[a("div",[a("el-select",{on:{change:t.change},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.userType,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1),t._v(" :\n "),a("date")],1),t._v(" "),a("div",{staticClass:"date"},[a("span",[t._v("手机号:")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.value1,expression:"value1"}],staticClass:"input",attrs:{type:"text"},domProps:{value:t.value1},on:{input:function(e){e.target.composing||(t.value1=e.target.value)}}})]),t._v(" "),t._m(0),t._v(" "),t._m(1)]),t._v(" "),t._m(2)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"div"},[e("span",{staticClass:"inquire"},[this._v("查询")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"div"},[e("span",{staticClass:"inquire",staticStyle:{width:"auto","padding-left":"0.1rem","padding-right":"0.1rem"}},[this._v("按条件取消发送")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"table"},[a("table",[a("tr",[a("td",[t._v("创建时间")]),t._v(" "),a("td",[t._v("待发送时间")]),t._v(" "),a("td",[t._v("手机号")]),t._v(" "),a("td",[t._v("发送内容")]),t._v(" "),a("td",[t._v("发送状态")]),t._v(" "),a("td",[t._v("操作")])]),t._v(" "),a("tr",[a("td",[t._v("创建时间")]),t._v(" "),a("td",[t._v("待发送时间")]),t._v(" "),a("td",[t._v("手机号")]),t._v(" "),a("td",[t._v("发送内容")]),t._v(" "),a("td",[t._v("发送状态")]),t._v(" "),a("td",{staticClass:"push"},[a("a",[t._v("取消")])])])])])}]};var l=a("C7Lr")(n,v,!1,function(t){a("dk22")},"data-v-433922d0",null);e.default=l.exports},dk22:function(t,e){}});
\ No newline at end of file
webpackJsonp([96],{VtVa:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("hBs9"),s=a("RwQt"),n={components:{date:i.a,breadNav:s.default},data:function(){return{value:"0",value1:"",userType:[{value:"0",label:"创建时间"},{value:"1",label:"游玩时间"}]}},methods:{change:function(){"0"===this.value?(this.queryObject.beginCreateDate=this.shijian[1]||"",this.queryObject.finishCreateDate=this.shijian[0]||"",this.queryObject.beginPlayDateFrom="",this.queryObject.finishPlayDateFrom=""):(this.queryObject.beginPlayDateFrom=this.shijian[1]||"",this.queryObject.finishPlayDateFrom=this.shijian[0]||"",this.queryObject.finishCreateDate="",this.queryObject.beginCreateDate="")}}},v={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bigBox"},[a("breadNav",[t._v("待发送队列")]),t._v(" "),a("div",{staticClass:"box"},[a("div",[a("el-select",{on:{change:t.change},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.userType,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1),t._v(" :\n "),a("date")],1),t._v(" "),a("div",{staticClass:"date"},[a("span",[t._v("手机号:")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.value1,expression:"value1"}],staticClass:"input",attrs:{type:"text"},domProps:{value:t.value1},on:{input:function(e){e.target.composing||(t.value1=e.target.value)}}})]),t._v(" "),t._m(0),t._v(" "),t._m(1)]),t._v(" "),t._m(2)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"div"},[e("span",{staticClass:"inquire"},[this._v("查询")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"div"},[e("span",{staticClass:"inquire",staticStyle:{width:"auto","padding-left":"0.1rem","padding-right":"0.1rem"}},[this._v("按条件取消发送")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"table"},[a("table",[a("tr",[a("td",[t._v("创建时间")]),t._v(" "),a("td",[t._v("待发送时间")]),t._v(" "),a("td",[t._v("手机号")]),t._v(" "),a("td",[t._v("发送内容")]),t._v(" "),a("td",[t._v("发送状态")]),t._v(" "),a("td",[t._v("操作")])]),t._v(" "),a("tr",[a("td",[t._v("创建时间")]),t._v(" "),a("td",[t._v("待发送时间")]),t._v(" "),a("td",[t._v("手机号")]),t._v(" "),a("td",[t._v("发送内容")]),t._v(" "),a("td",[t._v("发送状态")]),t._v(" "),a("td",{staticClass:"push"},[a("a",[t._v("取消")])])])])])}]};var l=a("C7Lr")(n,v,!1,function(t){a("dk22")},"data-v-433922d0",null);e.default=l.exports},dk22:function(t,e){}});
\ No newline at end of file
webpackJsonp([95],{"5D00":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={components:{breadNav:r("RwQt").default},data:function(){return{driverName:"",driverConfig:"",deviceTypeList:"",deviceType:"",driverTypeList:"",driverType:"",driverEnabled:0,driverId:"",versonFlag:""}},methods:{save:function(){var e=this;if(this.driverName&&this.deviceType&&this.driverType&&this.driverConfig){var t={versonFlag:this.versonFlag,driverId:this.driverId,driverName:this.driverName,driverType:this.driverType,deviceType:this.deviceType,driverConfig:this.driverConfig,driverEnabled:this.driverEnabled};this.axios.post(this.getSystem("check/driver/save"),t).then(function(t){"00"==t.data.code?e.$message.success("保存成功"):e.$message.error(t.data.message)})}else this.$message.error("请将信息填写完整")},getDriverType:function(){var e=this,t={companyId:this.companyId,enumType:"driverType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),t).then(function(t){"00"==t.data.code?e.driverTypeList=t.data.data:e.$message.error(t.data.message)})},getDeviceType:function(){var e=this,t={companyId:this.companyId,enumType:"deviceType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),t).then(function(t){"00"==t.data.code?e.deviceTypeList=t.data.data:e.$message.error(t.data.message)})},loadDriver:function(){var e=this,t={driverId:this.driverId};this.axios.post(this.getSystem("check/driver/load"),t).then(function(t){"00"==t.data.code?(e.driverName=t.data.data.driverName,e.driverType=t.data.data.driverType,e.deviceType=t.data.data.deviceType,e.driverEnabled=t.data.data.driverEnabled,e.driverConfig=t.data.data.driverConfig):e.$message.error(t.data.message)})}},mounted:function(){this.driverId=this.$route.query.driverId,this.versonFlag=this.$route.query.versonFlag,this.getDeviceType(),this.getDriverType(),this.driverId&&this.loadDriver()}},a={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"bigBox"},[r("breadNav",[e._v("\n\t\t驱动编辑\n\t")]),e._v(" "),r("div",{staticClass:"popTop"},[r("div",[r("span",[e._v("驱动名称")]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.driverName,expression:"driverName",modifiers:{trim:!0}}],attrs:{type:"text"},domProps:{value:e.driverName},on:{input:function(t){t.target.composing||(e.driverName=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),r("div",[r("span",[e._v("驱动类型")]),e._v(" "),r("section",[r("el-select",{attrs:{filterable:""},model:{value:e.driverType,callback:function(t){e.driverType=t},expression:"driverType"}},[r("el-option",{attrs:{label:"-请选择-",value:""}}),e._v(" "),e._l(e.driverTypeList,function(e){return r("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1)]),e._v(" "),r("div",[r("span",[e._v("设备类型")]),e._v(" "),r("section",[r("el-select",{attrs:{filterable:""},model:{value:e.deviceType,callback:function(t){e.deviceType=t},expression:"deviceType"}},[r("el-option",{attrs:{label:"-请选择-",value:""}}),e._v(" "),e._l(e.deviceTypeList,function(e){return r("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1)]),e._v(" "),r("div",[r("span"),e._v(" "),r("label",[r("input",{directives:[{name:"model",rawName:"v-model",value:e.driverEnabled,expression:"driverEnabled"}],attrs:{type:"checkbox","true-value":1,"false-value":0},domProps:{checked:Array.isArray(e.driverEnabled)?e._i(e.driverEnabled,null)>-1:e._q(e.driverEnabled,1)},on:{change:function(t){var r=e.driverEnabled,i=t.target,a=i.checked?1:0;if(Array.isArray(r)){var d=e._i(r,null);i.checked?d<0&&(e.driverEnabled=r.concat([null])):d>-1&&(e.driverEnabled=r.slice(0,d).concat(r.slice(d+1)))}else e.driverEnabled=a}}}),e._v("\n\t\t\t\t启用\n\t\t\t")])]),e._v(" "),r("div",[r("span",[e._v("\n\t\t\t\t配置信息\n\t\t\t")]),e._v(" "),r("textarea",{directives:[{name:"model",rawName:"v-model.trim",value:e.driverConfig,expression:"driverConfig",modifiers:{trim:!0}}],staticStyle:{resize:"none"},domProps:{value:e.driverConfig},on:{input:function(t){t.target.composing||(e.driverConfig=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),r("div",[r("span"),e._v(" "),r("a",{staticClass:"btn4",on:{click:function(t){return e.save()}}},[e._v("\n\t\t\t\t确定\n\t\t\t")]),e._v(" "),r("a",{staticClass:"btn4",staticStyle:{"margin-left":"0.4rem"},on:{click:function(t){return e.$router.go(-1)}}},[e._v("\n\t\t\t\t返回\n\t\t\t")])])])],1)},staticRenderFns:[]};var d=r("C7Lr")(i,a,!1,function(e){r("FKk8")},"data-v-3da11642",null);t.default=d.exports},FKk8:function(e,t){}});
\ No newline at end of file
webpackJsonp([97],{"5D00":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={components:{breadNav:r("RwQt").default},data:function(){return{driverName:"",driverConfig:"",deviceTypeList:"",deviceType:"",driverTypeList:"",driverType:"",driverEnabled:0,driverId:"",versonFlag:""}},methods:{save:function(){var e=this;if(this.driverName&&this.deviceType&&this.driverType&&this.driverConfig){var t={versonFlag:this.versonFlag,driverId:this.driverId,driverName:this.driverName,driverType:this.driverType,deviceType:this.deviceType,driverConfig:this.driverConfig,driverEnabled:this.driverEnabled};this.axios.post(this.getSystem("check/driver/save"),t).then(function(t){"00"==t.data.code?e.$message.success("保存成功"):e.$message.error(t.data.message)})}else this.$message.error("请将信息填写完整")},getDriverType:function(){var e=this,t={companyId:this.companyId,enumType:"driverType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),t).then(function(t){"00"==t.data.code?e.driverTypeList=t.data.data:e.$message.error(t.data.message)})},getDeviceType:function(){var e=this,t={companyId:this.companyId,enumType:"deviceType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),t).then(function(t){"00"==t.data.code?e.deviceTypeList=t.data.data:e.$message.error(t.data.message)})},loadDriver:function(){var e=this,t={driverId:this.driverId};this.axios.post(this.getSystem("check/driver/load"),t).then(function(t){"00"==t.data.code?(e.driverName=t.data.data.driverName,e.driverType=t.data.data.driverType,e.deviceType=t.data.data.deviceType,e.driverEnabled=t.data.data.driverEnabled,e.driverConfig=t.data.data.driverConfig):e.$message.error(t.data.message)})}},mounted:function(){this.driverId=this.$route.query.driverId,this.versonFlag=this.$route.query.versonFlag,this.getDeviceType(),this.getDriverType(),this.driverId&&this.loadDriver()}},a={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"bigBox"},[r("breadNav",[e._v("\n\t\t驱动编辑\n\t")]),e._v(" "),r("div",{staticClass:"popTop"},[r("div",[r("span",[e._v("驱动名称")]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.driverName,expression:"driverName",modifiers:{trim:!0}}],attrs:{type:"text"},domProps:{value:e.driverName},on:{input:function(t){t.target.composing||(e.driverName=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),r("div",[r("span",[e._v("驱动类型")]),e._v(" "),r("section",[r("el-select",{attrs:{filterable:""},model:{value:e.driverType,callback:function(t){e.driverType=t},expression:"driverType"}},[r("el-option",{attrs:{label:"-请选择-",value:""}}),e._v(" "),e._l(e.driverTypeList,function(e){return r("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1)]),e._v(" "),r("div",[r("span",[e._v("设备类型")]),e._v(" "),r("section",[r("el-select",{attrs:{filterable:""},model:{value:e.deviceType,callback:function(t){e.deviceType=t},expression:"deviceType"}},[r("el-option",{attrs:{label:"-请选择-",value:""}}),e._v(" "),e._l(e.deviceTypeList,function(e){return r("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})],2)],1)]),e._v(" "),r("div",[r("span"),e._v(" "),r("label",[r("input",{directives:[{name:"model",rawName:"v-model",value:e.driverEnabled,expression:"driverEnabled"}],attrs:{type:"checkbox","true-value":1,"false-value":0},domProps:{checked:Array.isArray(e.driverEnabled)?e._i(e.driverEnabled,null)>-1:e._q(e.driverEnabled,1)},on:{change:function(t){var r=e.driverEnabled,i=t.target,a=i.checked?1:0;if(Array.isArray(r)){var d=e._i(r,null);i.checked?d<0&&(e.driverEnabled=r.concat([null])):d>-1&&(e.driverEnabled=r.slice(0,d).concat(r.slice(d+1)))}else e.driverEnabled=a}}}),e._v("\n\t\t\t\t启用\n\t\t\t")])]),e._v(" "),r("div",[r("span",[e._v("\n\t\t\t\t配置信息\n\t\t\t")]),e._v(" "),r("textarea",{directives:[{name:"model",rawName:"v-model.trim",value:e.driverConfig,expression:"driverConfig",modifiers:{trim:!0}}],staticStyle:{resize:"none"},domProps:{value:e.driverConfig},on:{input:function(t){t.target.composing||(e.driverConfig=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),r("div",[r("span"),e._v(" "),r("a",{staticClass:"btn4",on:{click:function(t){return e.save()}}},[e._v("\n\t\t\t\t确定\n\t\t\t")]),e._v(" "),r("a",{staticClass:"btn4",staticStyle:{"margin-left":"0.4rem"},on:{click:function(t){return e.$router.go(-1)}}},[e._v("\n\t\t\t\t返回\n\t\t\t")])])])],1)},staticRenderFns:[]};var d=r("C7Lr")(i,a,!1,function(e){r("FKk8")},"data-v-3da11642",null);t.default=d.exports},FKk8:function(e,t){}});
\ No newline at end of file
webpackJsonp([96],{okVe:function(t,e){},pTQt:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={components:{breadNav:i("RwQt").default},data:function(){return{printGroupId:"",printGroupName:"",printGroupLeft:"",printGroupTop:"",printModelList:"",singlePrintId:"",manyPrintId:"",deviceTypeList:"",deviceType:"",tableList:[],versonFlag:""}},methods:{getPrintModel:function(){var t=this,e={companyId:this.$store.state.companyId};this.axios.post(this.getProductUrl("print/query"),e).then(function(e){"00"==e.data.code?t.printModelList=e.data.data:t.$message.error(e.data.message)})},getDeviceType:function(){var t=this,e={companyId:this.companyId,enumType:"deviceType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),e).then(function(e){"00"==e.data.code?t.deviceTypeList=e.data.data:t.$message.error(e.data.message)})},groupSave:function(){var t=this,e=[];if(this.tableList.forEach(function(t,i){(t.singlePrintId||t.manyPrintId)&&e.push(t)}),this.printGroupName&&this.singlePrintId&&this.deviceType){var i={versonFlag:this.versonFlag,deviceType:this.deviceType,printGroupId:this.printGroupId,printGroupName:this.printGroupName,printGroupLeft:parseFloat(this.printGroupLeft),printGroupTop:parseFloat(this.printGroupTop),singlePrintId:this.singlePrintId,manyPrintId:this.manyPrintId,items:e};this.axios.post(this.getProductUrl("print/groupSave"),i).then(function(e){"00"==e.data.code?(t.$message.success("保存成功"),t.$router.go(-1)):t.$message.error(e.data.message)})}else this.$message.error("带*的项目为必填项目")},groupSaveNew:function(){this.printGroupId="",this.groupSave()},groupLoad:function(){var t=this,e={printGroupId:this.printGroupId};this.axios.post(this.getProductUrl("print/groupLoad"),e).then(function(e){"00"==e.data.code?(console.log(e),t.printGroupId=e.data.data.printGroupId,t.singlePrintId=e.data.data.singlePrintId,t.manyPrintId=e.data.data.manyPrintId,t.tableList=e.data.data.items,t.printGroupLeft=e.data.data.printGroupLeft,t.printGroupTop=e.data.data.printGroupTop,t.printGroupName=e.data.data.printGroupName,t.deviceType=e.data.data.deviceType,t.versonFlag=e.data.data.versonFlag):t.$message.error(e.data.message)})}},mounted:function(){this.printGroupId=this.$route.query.printGroupId,this.printGroupId||(this.printGroupId="system"),this.getPrintModel(),this.getDeviceType(),this.groupLoad()}},r={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"bigBox"},[i("breadNav",[t._v("\n\t\t打印组编辑\n\t")]),t._v(" "),i("div",{staticClass:"top"},[i("div",[i("span",[t._v("打印组名称")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.printGroupName,expression:"printGroupName",modifiers:{trim:!0}}],attrs:{type:"text",maxlength:"20"},domProps:{value:t.printGroupName},on:{input:function(e){e.target.composing||(t.printGroupName=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),i("i",[t._v("*")])]),t._v(" "),i("div",[i("span",[t._v("设备类型")]),t._v(" "),i("section",[i("el-select",{attrs:{filterable:""},model:{value:t.deviceType,callback:function(e){t.deviceType=e},expression:"deviceType"}},[i("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.deviceTypeList,function(t){return i("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})],2)],1),t._v(" "),i("i",[t._v("*")])]),t._v(" "),i("div",[i("span",[t._v("打印左偏移")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.printGroupLeft,expression:"printGroupLeft",modifiers:{trim:!0}}],attrs:{type:"number"},domProps:{value:t.printGroupLeft},on:{input:function(e){e.target.composing||(t.printGroupLeft=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),i("div",[i("span",[t._v("打印上偏移")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.printGroupTop,expression:"printGroupTop",modifiers:{trim:!0}}],attrs:{type:"number"},domProps:{value:t.printGroupTop},on:{input:function(e){e.target.composing||(t.printGroupTop=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),i("div",[i("span",[t._v("默认模板")]),t._v(" "),i("section",[i("el-select",{attrs:{filterable:""},model:{value:t.singlePrintId,callback:function(e){t.singlePrintId=e},expression:"singlePrintId"}},[i("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.printModelList,function(t){return i("el-option",{key:t.printId,attrs:{label:t.printName,value:t.printId}})})],2)],1),t._v(" "),i("i",[t._v("*")])]),t._v(" "),i("div",[i("span",[t._v("默认团队模板")]),t._v(" "),i("section",[i("el-select",{attrs:{filterable:""},model:{value:t.manyPrintId,callback:function(e){t.manyPrintId=e},expression:"manyPrintId"}},[i("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.printModelList,function(t){return i("el-option",{key:t.printId,attrs:{label:t.printName,value:t.printId}})})],2)],1)])]),t._v(" "),i("div",{staticClass:"bottom"},[i("p",[t._v("\n\t\t\t票种打印模板\n\t\t")]),t._v(" "),i("table",[t._m(0),t._v(" "),t._l(t.tableList,function(e,n){return i("tr",{key:n},[i("td",[t._v("\n\t\t\t\t\t"+t._s(e.saleTypeName)+"\n\t\t\t\t")]),t._v(" "),i("td",[i("section",[i("el-select",{attrs:{filterable:""},model:{value:e.singlePrintId,callback:function(i){t.$set(e,"singlePrintId",i)},expression:"item.singlePrintId"}},[i("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.printModelList,function(t){return i("el-option",{key:t.printId,attrs:{label:t.printName,value:t.printId}})})],2)],1)]),t._v(" "),i("td",[i("section",[i("el-select",{attrs:{filterable:""},model:{value:e.manyPrintId,callback:function(i){t.$set(e,"manyPrintId",i)},expression:"item.manyPrintId"}},[i("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.printModelList,function(t){return i("el-option",{key:t.printId,attrs:{label:t.printName,value:t.printId}})})],2)],1)])])})],2),t._v(" "),i("p",[i("a",{staticClass:"btn4",on:{click:function(e){return t.groupSave()}}},[t._v("\n\t\t\t\t保存\n\t\t\t")]),t._v(" "),i("a",{staticClass:"btn4",on:{click:function(e){return t.groupSaveNew()}}},[t._v("\n\t\t\t\t保存为新\n\t\t\t")]),t._v(" "),i("a",{staticClass:"btn4",on:{click:function(e){return t.$router.go(-1)}}},[t._v("\n\t\t\t\t返回\n\t\t\t")])])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("td",[this._v("\n\t\t\t\t\t票种\n\t\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t\t散客\n\t\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t\t团队\n\t\t\t\t")])])}]};var a=i("C7Lr")(n,r,!1,function(t){i("okVe")},"data-v-3ca29dd0",null);e.default=a.exports}});
\ No newline at end of file
webpackJsonp([98],{okVe:function(t,e){},pTQt:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={components:{breadNav:i("RwQt").default},data:function(){return{printGroupId:"",printGroupName:"",printGroupLeft:"",printGroupTop:"",printModelList:"",singlePrintId:"",manyPrintId:"",deviceTypeList:"",deviceType:"",tableList:[],versonFlag:""}},methods:{getPrintModel:function(){var t=this,e={companyId:this.$store.state.companyId};this.axios.post(this.getProductUrl("print/query"),e).then(function(e){"00"==e.data.code?t.printModelList=e.data.data:t.$message.error(e.data.message)})},getDeviceType:function(){var t=this,e={companyId:this.companyId,enumType:"deviceType",pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("systemEnum/drop"),e).then(function(e){"00"==e.data.code?t.deviceTypeList=e.data.data:t.$message.error(e.data.message)})},groupSave:function(){var t=this,e=[];if(this.tableList.forEach(function(t,i){(t.singlePrintId||t.manyPrintId)&&e.push(t)}),this.printGroupName&&this.singlePrintId&&this.deviceType){var i={versonFlag:this.versonFlag,deviceType:this.deviceType,printGroupId:this.printGroupId,printGroupName:this.printGroupName,printGroupLeft:parseFloat(this.printGroupLeft),printGroupTop:parseFloat(this.printGroupTop),singlePrintId:this.singlePrintId,manyPrintId:this.manyPrintId,items:e};this.axios.post(this.getProductUrl("print/groupSave"),i).then(function(e){"00"==e.data.code?(t.$message.success("保存成功"),t.$router.go(-1)):t.$message.error(e.data.message)})}else this.$message.error("带*的项目为必填项目")},groupSaveNew:function(){this.printGroupId="",this.groupSave()},groupLoad:function(){var t=this,e={printGroupId:this.printGroupId};this.axios.post(this.getProductUrl("print/groupLoad"),e).then(function(e){"00"==e.data.code?(console.log(e),t.printGroupId=e.data.data.printGroupId,t.singlePrintId=e.data.data.singlePrintId,t.manyPrintId=e.data.data.manyPrintId,t.tableList=e.data.data.items,t.printGroupLeft=e.data.data.printGroupLeft,t.printGroupTop=e.data.data.printGroupTop,t.printGroupName=e.data.data.printGroupName,t.deviceType=e.data.data.deviceType,t.versonFlag=e.data.data.versonFlag):t.$message.error(e.data.message)})}},mounted:function(){this.printGroupId=this.$route.query.printGroupId,this.printGroupId||(this.printGroupId="system"),this.getPrintModel(),this.getDeviceType(),this.groupLoad()}},r={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"bigBox"},[i("breadNav",[t._v("\n\t\t打印组编辑\n\t")]),t._v(" "),i("div",{staticClass:"top"},[i("div",[i("span",[t._v("打印组名称")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.printGroupName,expression:"printGroupName",modifiers:{trim:!0}}],attrs:{type:"text",maxlength:"20"},domProps:{value:t.printGroupName},on:{input:function(e){e.target.composing||(t.printGroupName=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),i("i",[t._v("*")])]),t._v(" "),i("div",[i("span",[t._v("设备类型")]),t._v(" "),i("section",[i("el-select",{attrs:{filterable:""},model:{value:t.deviceType,callback:function(e){t.deviceType=e},expression:"deviceType"}},[i("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.deviceTypeList,function(t){return i("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})],2)],1),t._v(" "),i("i",[t._v("*")])]),t._v(" "),i("div",[i("span",[t._v("打印左偏移")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.printGroupLeft,expression:"printGroupLeft",modifiers:{trim:!0}}],attrs:{type:"number"},domProps:{value:t.printGroupLeft},on:{input:function(e){e.target.composing||(t.printGroupLeft=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),i("div",[i("span",[t._v("打印上偏移")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.printGroupTop,expression:"printGroupTop",modifiers:{trim:!0}}],attrs:{type:"number"},domProps:{value:t.printGroupTop},on:{input:function(e){e.target.composing||(t.printGroupTop=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),i("div",[i("span",[t._v("默认模板")]),t._v(" "),i("section",[i("el-select",{attrs:{filterable:""},model:{value:t.singlePrintId,callback:function(e){t.singlePrintId=e},expression:"singlePrintId"}},[i("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.printModelList,function(t){return i("el-option",{key:t.printId,attrs:{label:t.printName,value:t.printId}})})],2)],1),t._v(" "),i("i",[t._v("*")])]),t._v(" "),i("div",[i("span",[t._v("默认团队模板")]),t._v(" "),i("section",[i("el-select",{attrs:{filterable:""},model:{value:t.manyPrintId,callback:function(e){t.manyPrintId=e},expression:"manyPrintId"}},[i("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.printModelList,function(t){return i("el-option",{key:t.printId,attrs:{label:t.printName,value:t.printId}})})],2)],1)])]),t._v(" "),i("div",{staticClass:"bottom"},[i("p",[t._v("\n\t\t\t票种打印模板\n\t\t")]),t._v(" "),i("table",[t._m(0),t._v(" "),t._l(t.tableList,function(e,n){return i("tr",{key:n},[i("td",[t._v("\n\t\t\t\t\t"+t._s(e.saleTypeName)+"\n\t\t\t\t")]),t._v(" "),i("td",[i("section",[i("el-select",{attrs:{filterable:""},model:{value:e.singlePrintId,callback:function(i){t.$set(e,"singlePrintId",i)},expression:"item.singlePrintId"}},[i("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.printModelList,function(t){return i("el-option",{key:t.printId,attrs:{label:t.printName,value:t.printId}})})],2)],1)]),t._v(" "),i("td",[i("section",[i("el-select",{attrs:{filterable:""},model:{value:e.manyPrintId,callback:function(i){t.$set(e,"manyPrintId",i)},expression:"item.manyPrintId"}},[i("el-option",{attrs:{label:"-请选择-",value:""}}),t._v(" "),t._l(t.printModelList,function(t){return i("el-option",{key:t.printId,attrs:{label:t.printName,value:t.printId}})})],2)],1)])])})],2),t._v(" "),i("p",[i("a",{staticClass:"btn4",on:{click:function(e){return t.groupSave()}}},[t._v("\n\t\t\t\t保存\n\t\t\t")]),t._v(" "),i("a",{staticClass:"btn4",on:{click:function(e){return t.groupSaveNew()}}},[t._v("\n\t\t\t\t保存为新\n\t\t\t")]),t._v(" "),i("a",{staticClass:"btn4",on:{click:function(e){return t.$router.go(-1)}}},[t._v("\n\t\t\t\t返回\n\t\t\t")])])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("td",[this._v("\n\t\t\t\t\t票种\n\t\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t\t散客\n\t\t\t\t")]),this._v(" "),e("td",[this._v("\n\t\t\t\t\t团队\n\t\t\t\t")])])}]};var a=i("C7Lr")(n,r,!1,function(t){i("okVe")},"data-v-3ca29dd0",null);e.default=a.exports}});
\ No newline at end of file
webpackJsonp([98],{YipU:function(e,t){},mzJi:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={components:{breadNav:a("RwQt").default},data:function(){return{channelList:"",checkDay:"",checkType:"",channelId:"",tableList:[]}},methods:{query:function(){var e=this;if(""==this.checkDay)return this.$message.error("请选择检测日期");if(""==this.checkType)return this.$message.error("请选择对账类型");if(""==this.channelId)return this.$message.error("请选择渠道类型");var t={checkDay:this.checkDay,checkType:this.checkType,channelId:this.channelId};this.axios.post(this.getReportUrl("money/check/load"),t).then(function(t){"00"==t.data.code?e.tableList=t.data.data.details:e.$message.error(t.data.message)})},inintChannelList:function(){var e=this,t={companyId:this.$store.state.companyId,pageIndex:1,pageSize:this.$pageSize};this.axios.post(this.getSystem("channel/list"),t).then(function(t){"00"==t.data.code?e.channelList=t.data.data.list:e.$message.error(t.data.message)})}},mounted:function(){this.inintChannelList()}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"bigBox"},[a("breadNav",[e._v("对账明细")]),e._v(" "),a("div",{staticClass:"top"},[a("div",{staticClass:"item"},[a("span",[e._v("对账类型:")]),e._v(" "),a("el-select",{attrs:{clearable:"",filterable:""},model:{value:e.checkType,callback:function(t){e.checkType=t},expression:"checkType"}},[a("el-option",{key:"0",attrs:{label:"对账渠道",value:"0"}}),e._v(" "),a("el-option",{key:"1",attrs:{label:"对账胖丁支付(反扫,自助扫码)",value:"1"}}),e._v(" "),a("el-option",{key:"2",attrs:{label:"对账胖丁押金",value:"2"}})],1),e._v(" "),a("i",[e._v("*")])],1),e._v(" "),a("div",{staticClass:"item"},[a("span",[e._v("\n 渠道类型:\n ")]),e._v(" "),a("el-select",{attrs:{clearable:"",filterable:""},model:{value:e.channelId,callback:function(t){e.channelId=t},expression:"channelId"}},e._l(e.channelList,function(e){return a("el-option",{key:e.channelId,attrs:{label:e.companyName,value:e.channelId}})}),1),e._v(" "),a("i",[e._v("*")])],1),e._v(" "),a("div",{staticClass:"item"},[a("span",[e._v("\n 查询日期:\n ")]),e._v(" "),a("el-date-picker",{attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.checkDay,callback:function(t){e.checkDay=t},expression:"checkDay"}}),e._v(" "),a("i",{staticStyle:{position:"relative",left:"-30px"}},[e._v("*")])],1),e._v(" "),a("a",{staticClass:"btn4 item",on:{click:function(t){return e.query()}}},[e._v("查询")])]),e._v(" "),a("table",[e._m(0),e._v(" "),e._l(e.tableList,function(t,n){return a("tr",{key:n},[a("td",[e._v(e._s(t.channelId))]),e._v(" "),a("td",[e._v(e._s(t.channelOrderId))]),e._v(" "),a("td",[e._v(e._s(t.message))]),e._v(" "),a("td",[e._v(e._s(t.orderId))]),e._v(" "),a("td",[e._v(e._s(t.saleId))]),e._v(" "),a("td",[e._v(e._s(t.otherBuyMoney))]),e._v(" "),a("td",[e._v(e._s(t.otherBuyNum))]),e._v(" "),a("td",[e._v(e._s(t.otherCheckNum))]),e._v(" "),a("td",[e._v(e._s(t.otherRetMoney))]),e._v(" "),a("td",[e._v(e._s(t.otherRetNum))]),e._v(" "),a("td",[e._v(e._s(t.tbdBuyMoney))]),e._v(" "),a("td",[e._v(e._s(t.tbdBuyNum))]),e._v(" "),a("td",[e._v(e._s(t.tbdCheckNum))]),e._v(" "),a("td",[e._v(e._s(t.tbdRetMoney))]),e._v(" "),a("td",[e._v(e._s(t.tbdRetNum))])])})],2)],1)},staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("tr",[a("td",[e._v("渠道Id")]),e._v(" "),a("td",[e._v("渠道订单Id")]),e._v(" "),a("td",[e._v("对账具体错误信息")]),e._v(" "),a("td",[e._v("途比达订单Id")]),e._v(" "),a("td",[e._v("分销Id")]),e._v(" "),a("td",[e._v("第三方下单结算总额")]),e._v(" "),a("td",[e._v("第三方订单数量")]),e._v(" "),a("td",[e._v("第三方核销数量")]),e._v(" "),a("td",[e._v("第三方退票金额")]),e._v(" "),a("td",[e._v("第三方退票数量")]),e._v(" "),a("td",[e._v("途比达下单结算总额")]),e._v(" "),a("td",[e._v("途比达订单数量")]),e._v(" "),a("td",[e._v("途比达核销数量")]),e._v(" "),a("td",[e._v("途比达退票金额")]),e._v(" "),a("td",[e._v("途比达退票数量")])])}]};var v=a("C7Lr")(n,s,!1,function(e){a("YipU")},"data-v-3b3fc896",null);t.default=v.exports}});
\ No newline at end of file
webpackJsonp([97],{"AUt+":function(e,n){},h5On:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={data:function(){return{}},components:{TheDrawerComponents:t("gWae").a}},u={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("TheDrawerComponents",{scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",{on:{click:function(t){return e.$router.push({name:"caiwuTheDistributionList",query:{dataId:n.msg}})}}},[e._v("详情")])]}}])})},staticRenderFns:[]};var o=t("C7Lr")(r,u,!1,function(e){t("AUt+")},null,null);n.default=o.exports}});
\ No newline at end of file
webpackJsonp([99],{"AUt+":function(e,n){},h5On:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={data:function(){return{}},components:{TheDrawerComponents:t("gWae").a}},u={render:function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("TheDrawerComponents",{scopedSlots:e._u([{key:"default",fn:function(n){return[t("span",{on:{click:function(t){return e.$router.push({name:"caiwuTheDistributionList",query:{dataId:n.msg}})}}},[e._v("详情")])]}}])})},staticRenderFns:[]};var o=t("C7Lr")(r,u,!1,function(e){t("AUt+")},null,null);n.default=o.exports}});
\ No newline at end of file
webpackJsonp([99],{"9fYQ":function(t,a){},JFH5:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"total"},[e("ul",[e("router-link",{attrs:{to:"",tag:"li"}},[t._v("分销管理>")]),t._v(" "),e("router-link",{attrs:{to:"",tag:"li"}},[t._v("预存授信>")])],1),t._v(" "),e("div",{staticClass:"box"},[e("div",{staticClass:"head"},[e("span",[t._v("渠道名称:")]),t._v(" "),e("el-select",{attrs:{placeholder:"请选择渠道"}},[e("el-option",{attrs:{label:"区域一",value:"shanghai"}}),t._v(" "),e("el-option",{attrs:{label:"区域二",value:"beijing"}})],1),t._v(" "),e("button",[t._v("查询")])],1),t._v(" "),e("div",{staticClass:"order"},[e("table",[t._m(0),t._v(" "),e("tr",[e("td",[t._v("1")]),t._v(" "),e("td",[t._v("xxx")]),t._v(" "),e("td",[t._v("张三")]),t._v(" "),e("td",[t._v("123123123")]),t._v(" "),e("td",[t._v("22")]),t._v(" "),e("td",[t._v("332")]),t._v(" "),e("td",{staticClass:"exam"},[e("span",{on:{click:t.charge}},[t._v("充值")])])])])])])])},staticRenderFns:[function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("tr",[e("td",{attrs:{width:"133"}},[t._v("序号")]),t._v(" "),e("td",{attrs:{width:"253"}},[t._v("渠道名称")]),t._v(" "),e("td",{attrs:{width:"185"}},[t._v("联系人")]),t._v(" "),e("td",{attrs:{width:"206"}},[t._v("联系电话")]),t._v(" "),e("td",{attrs:{width:"199"}},[t._v("预存余额")]),t._v(" "),e("td",{attrs:{width:"227"}},[t._v("授信余额")]),t._v(" "),e("td",{attrs:{width:"164"}},[t._v("操作")])])}]};var r=e("C7Lr")({methods:{charge:function(){this.$router.push({name:"trecharge"})}}},v,!1,function(t){e("9fYQ")},"data-v-3b03a2f0",null);a.default=r.exports}});
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,d,n){for(var r,t,o,u=0,i=[];u<c.length;u++)t=c[u],f[t]&&i.push(f[t][0]),f[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(a&&a(c,d,n);i.length;)i.shift()();if(n)for(u=0;u<n.length;u++)o=b(b.s=n[u]);return o};var c={},f={124:0};function b(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,b),f.l=!0,f.exports}b.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,b){a=f[e]=[c,b]});a[2]=c;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"js/"+e+"."+{0:"4ae7331d2592f3cad9cd",1:"047a83a40fbbffee2477",2:"583fe2350a17d08c48eb",3:"f3e568ff1d30162e9ba2",4:"fd55a40e479c79bf6723",5:"13ce5e56f42459311d6d",6:"e535dd0cd8202cf05446",7:"0a7923292bf6fdf1ba4a",8:"bb37b0aea19d8d657d6b",9:"bcbf38f9242f9fe69c68",10:"f365880cb4cdd9c58ab5",11:"6fb61c6c2ab880d34c11",12:"ea61ea218ffeb262f0da",13:"0e28dde7af3b126813f0",14:"c5e90e67b0ca8c330d9d",15:"ca74069d63ffdb4077d7",16:"d13fe9a6e4ed35d724c0",17:"584d13d945f4ae32a67e",18:"705639b1786598b1341d",19:"f53fe13e921e6df30e90",20:"eb024b0e04efb1b29b19",21:"826a7ee57ba05d6512b7",22:"9e91c382ae54c4b3ac8d",23:"2a87599d4fc17ab07e17",24:"0c050a482ea3559a1942",25:"0729e19430f7a29eae9f",26:"284dd41084c64108beee",27:"8071257e977ed2dbd3b0",28:"9124edc8cb90c3c2c211",29:"a88b123423bbc3e208a4",30:"6fa22a1c14b0fad2d258",31:"838063227b83b1e3a2e6",32:"a47fa70c79e561c26fde",33:"aa553a14043b3f2eae74",34:"61e31d6c4a2d52b84701",35:"9c57e2518ecc007ce48b",36:"8692e9a5352e075868a8",37:"bbde67a9062e214a7afc",38:"5be7b9dc2c9106356e33",39:"2355ab73581c4c11a870",40:"146f137f2952a012e199",41:"f93d342b336a41d23d30",42:"90994f549dd795bd14b7",43:"d95d19469e8eaeb26e50",44:"7ed27e4d8a8a69b317fd",45:"be67f81a4e4c16566b74",46:"56087179c730a9e5918a",47:"47bb0f2afb62a4ea3b4c",48:"8732758a658be7487884",49:"97f84df138ace21420bf",50:"e9745dba05b8377685f8",51:"4ca96af44dd05a64ccca",52:"506a50896f2535b8b054",53:"9315516d89ea6b8c1a24",54:"f66aff2a9fea4d77ff9e",55:"c02ed45e887ba5258825",56:"0794ae73d319c90260a3",57:"fd3f3debcae8eb9c4c46",58:"998bff94efb082e11803",59:"00e042ea2d5cef5bce78",60:"6620737d18ce0693fdfe",61:"0a4c7f4ba3c55d0ac13a",62:"2de8bd9b2806d2fddd4c",63:"b18dfa7cff0fc06426ff",64:"ff4c04abbf21c53b8c65",65:"ca90e1143d76c07cbf35",66:"f9de5d79749192cfd2c2",67:"460c693b68b395e4ad70",68:"49d9677ff2e56ca6ee5f",69:"3f3340f7bb5de5e96333",70:"81c3c6200bb29b162e4a",71:"f6d169b2b9cf6bb02081",72:"cbd824f148983dca1b32",73:"a2d35ad199a155823663",74:"5bd1a3c2eb619613ef42",75:"a7a6606499fec2aa9a40",76:"6ec71c3cc7c91553cb4b",77:"e169b76e5c817a44ca68",78:"92817067854566fa6989",79:"fe04a5272e68844d002f",80:"49ee83ed4cebcd33e7bd",81:"7c94bfc9fab0a504b7c0",82:"55440233e0a193851506",83:"000ea2320b18868a6b3c",84:"2b67e52ae4fc77cb65c1",85:"f70b834124914692d191",86:"822af76f2761fa011b83",87:"6635fbfeb2365c2da6b9",88:"8848ec30f981917b00ff",89:"21ee4245ce1af93c0800",90:"7af98571a520784d9ece",91:"14ccb8792ab70725052d",92:"3504476f02cae84c565e",93:"15b68c80f120dbb79a6d",94:"ecc81ab4244ba6b61dc5",95:"f1e8ad64e04b0598060c",96:"47ff57ddfa1efb28a58d",97:"a092c7b89609aa4609b4",98:"31a83db96d9accb4ee45",99:"d6de90286cb8a2c4a342",100:"4aa7dd327725042fb720",101:"7c65bcd0f52bfc414482",102:"1d8d97a96e9e4ae92eba",103:"039df66eaa40724774ed",104:"1309db6818c1542c4942",105:"84f10219b657d4685091",106:"7dcc3b899a3aa1f50a34",107:"489db2e85c519707ff47",108:"4060c585cbed57b66e83",109:"ce83660c109e86b3001f",110:"5f6a3cf59fddc0ade323",111:"5510b6af5dc692c6fa60",112:"d39c900a90ce85289095",113:"f70df9c1c98fa987a7f8",114:"7ab04c93af3cbf209abc",115:"6e152d3db80170f8f866",116:"f5f2a5ea432d55fe2ebf",117:"bd69b763858d1dc15879",118:"555d97ab0fa97012dee3",119:"6054369d30d7667d0177",120:"8d4cb224191d5b685196",121:"d3cac3b7bab152eaecf7",122:"da0246ffa75fbdbcb67b"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),c},b.m=e,b.c=c,b.d=function(e,a,c){b.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},b.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(a,"a",a),a},b.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},b.p="/",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(f,b,n){for(var r,t,o,u=0,i=[];u<f.length;u++)t=f[u],c[t]&&i.push(c[t][0]),c[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(a&&a(f,b,n);i.length;)i.shift()();if(n)for(u=0;u<n.length;u++)o=d(d.s=n[u]);return o};var f={},c={124:0};function d(a){if(f[a])return f[a].exports;var c=f[a]={i:a,l:!1,exports:{}};return e[a].call(c.exports,c,c.exports,d),c.l=!0,c.exports}d.e=function(e){var a=c[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var f=new Promise(function(f,d){a=c[e]=[f,d]});a[2]=f;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"js/"+e+"."+{0:"8f7e1014d4e549d45e40",1:"047a83a40fbbffee2477",2:"583fe2350a17d08c48eb",3:"f3e568ff1d30162e9ba2",4:"bd2256de6a7b8281fd2e",5:"9b6bc9eab417efa0c9d9",6:"e535dd0cd8202cf05446",7:"0a7923292bf6fdf1ba4a",8:"bb37b0aea19d8d657d6b",9:"bcbf38f9242f9fe69c68",10:"f365880cb4cdd9c58ab5",11:"6fb61c6c2ab880d34c11",12:"ea61ea218ffeb262f0da",13:"0e28dde7af3b126813f0",14:"c5e90e67b0ca8c330d9d",15:"ca74069d63ffdb4077d7",16:"d13fe9a6e4ed35d724c0",17:"584d13d945f4ae32a67e",18:"705639b1786598b1341d",19:"f53fe13e921e6df30e90",20:"eb024b0e04efb1b29b19",21:"826a7ee57ba05d6512b7",22:"9e91c382ae54c4b3ac8d",23:"2a87599d4fc17ab07e17",24:"0c050a482ea3559a1942",25:"0729e19430f7a29eae9f",26:"284dd41084c64108beee",27:"8071257e977ed2dbd3b0",28:"9124edc8cb90c3c2c211",29:"a88b123423bbc3e208a4",30:"6fa22a1c14b0fad2d258",31:"838063227b83b1e3a2e6",32:"a47fa70c79e561c26fde",33:"aa553a14043b3f2eae74",34:"61e31d6c4a2d52b84701",35:"9c57e2518ecc007ce48b",36:"8692e9a5352e075868a8",37:"bbde67a9062e214a7afc",38:"5be7b9dc2c9106356e33",39:"2355ab73581c4c11a870",40:"146f137f2952a012e199",41:"f93d342b336a41d23d30",42:"90994f549dd795bd14b7",43:"deb5b19b79fbe326945b",44:"7ed27e4d8a8a69b317fd",45:"be67f81a4e4c16566b74",46:"56087179c730a9e5918a",47:"47bb0f2afb62a4ea3b4c",48:"8732758a658be7487884",49:"97f84df138ace21420bf",50:"e9745dba05b8377685f8",51:"4ca96af44dd05a64ccca",52:"506a50896f2535b8b054",53:"9315516d89ea6b8c1a24",54:"f66aff2a9fea4d77ff9e",55:"c02ed45e887ba5258825",56:"0794ae73d319c90260a3",57:"fd3f3debcae8eb9c4c46",58:"998bff94efb082e11803",59:"00e042ea2d5cef5bce78",60:"6620737d18ce0693fdfe",61:"0a4c7f4ba3c55d0ac13a",62:"2de8bd9b2806d2fddd4c",63:"b18dfa7cff0fc06426ff",64:"ff4c04abbf21c53b8c65",65:"ca90e1143d76c07cbf35",66:"f9de5d79749192cfd2c2",67:"460c693b68b395e4ad70",68:"49d9677ff2e56ca6ee5f",69:"3f3340f7bb5de5e96333",70:"81c3c6200bb29b162e4a",71:"f6d169b2b9cf6bb02081",72:"cbd824f148983dca1b32",73:"a2d35ad199a155823663",74:"5bd1a3c2eb619613ef42",75:"a7a6606499fec2aa9a40",76:"d1e81d261531f60f7c4a",77:"6a7f4471a8b51febebe3",78:"a70b947fab88f468a1d5",79:"93c20ccaa5cbe2b4741f",80:"ae5003ac804ede7fe4f9",81:"6ef87773e35c9f731055",82:"e9d57580fa6e951c80c0",83:"73641704e7f57db4e3f8",84:"6b7650244fe1f60d3a76",85:"a48ffeb28226f9e2203c",86:"da1dc48373e682997fd9",87:"d30974d2c5bf18831610",88:"5bbbbeb3d3ef39ee06e0",89:"0b71a69474f59659744f",90:"82563f654b8f42c77202",91:"0965fd392e6b8d95897a",92:"dcea111e3a3a176c21b6",93:"3d30eaa92cd1e4793890",94:"ae68f4ff5cf159a11f89",95:"027c62d8a491fbe2a80e",96:"1d95c44e14ec70002847",97:"5da1e0c2d17b1db13d85",98:"073b38c41567ee97ecb8",99:"56623c20aee884c775a2",100:"0d7627847abb79fa138e",101:"a10b24df49c3683fdc37",102:"626c313d552465ad0343",103:"1af505d9724eef2cd872",104:"4e90e7361a16d10750de",105:"482e209dd611556512a5",106:"c84717143c28a4077d9f",107:"59c760765f6ead6fdca3",108:"42e297e505a76c7ae7ca",109:"16738f20662a9c8d8030",110:"524bed60aea4f14fed0a",111:"965f0cc3cb449680cda6",112:"5aaa68185aac9466ab23",113:"41bbb24813a1ad6c5016",114:"197b395e3488ebb9fe9e",115:"aded3dc9d0cc0d1d0f8c",116:"6cb9451501bfcb615ea4",117:"1bd0f4cdb20702d2f2a3",118:"b38e33e0c09a3ec3b911",119:"3953e15460592997b6fe",120:"d9f18a5bfdadfcdef8d7",121:"d3cac3b7bab152eaecf7",122:"da0246ffa75fbdbcb67b"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=c[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),f},d.m=e,d.c=f,d.d=function(e,a,f){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:f})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="/",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment