Commit f86e0d86 authored by hehaiyang's avatar hehaiyang

1

parent 7e5f49dc
<!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.0b500f9e561b30725cb5c5b227b04e46.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/js/manifest.8b85e0db44f4e2d9509b.js></script><script type=text/javascript src=/js/app.f1f12b92dfc6135dce51.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.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
webpackJsonp([11],{"/qMQ":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAABnVJREFUaEPtm1tsVFUUhtc+A225tlAUEBEFrEaDQkClJIDom6IgKRpjJL5o8EEQDPQSEh+0QFUEn0AevEUTgho1EX2QGIKaNgqKTTQBoRUBubXQGy20nTl+azoDY+lM51xmmnRmJwVS5uyzv/Wv215QI6ziM92L7ZBdZsTcLUYK9HuDZtnSZIv9h7HM5uoJQ742xWe7l0pIvhg0gIlALHnCzD3dVY2yczMBGKVrAO5uMiL5mQEszab4dLedCbBRxizwYFc7q3BW4UFmgaxLDzJBr8PJKpxVeJBZIOvS6RB05lCRQ13peNP170i7wsuGW/LsCCMfXeIS3p7+e0tagEdZRm6wRF4YaWR2jpER/BleOdBpy87WkDSEjLTa6YFPGfDkgJH7ckRm5/bATh1qZDgXb12/AToLcF0KXs8NtcE2YQP8fDkkJ4Opc/eUAC+HbMVISwoBja4OBDxM3O7GjfcBtRBDPIXiRUOuGUI/2wDs9jZbvu3AEilYvgOvGW2JAuuqQ7naLiNHuvi9s0c5RLy6cjDIJNz9XtQuGiJyDx4xFQPoehfoD9v8h/YV+LFhRlaPsoS8JF+h5A4O3OzgzPnAvzjKyOPs085zG3n4+yv+xrZnYLwSQCOFAVvKUXc6Cu3pEKlsdh+IG/ID8sgwkaN4xsYWWy4Af4mkpvHudbkGvgUXXIYS04Zako+ieWLLzcDWdYusvhiSxqB7Zcax37axVti9TxEWHQzLm9ivnmz+WVtQTri3pbgCLqGOrsBvxwWut3dVSyjszvFWATDjyeBnAWhKoNhS9l8/OpLWYzZr4BmN7c9d1nDHwLFJ6SAZ6BdirJbsSzkNq/wnCifS9q0xlswjQ//Ec+vwhHhLUe+iI7vMZlrHZ1DWFuaZ8Pd0fYB/72x17kWOgLVpqEKicFIiTne2BiXBmftk2cTzevB9kFQkkriPp8fgGc/jXUupAhrPpSS1Xx0mtaSBtaRuRJ0FqOPmsNHzewHWPVT51zHaIoy2H6OVOTRa0sCxiWQ9L/lRfS3O4ixSggqawT+5ZNM2XvtgPGAN12foOVvIxhqfCbaXBbxgM9DHSGgvk8IbHWTv5IFxp21jjUzl91X48YEErnQTyeyNggDtpMhztE5HiOv+FL6Tz75XGJA68sG6pqCcTpCJ7wd4G8D17LvqQjA1wKpaJS5dTBx/2i6ytSX+iRR4E8C3uwA+CnBpP8BraG6WE8vVuEE5cRzbvfVXp5NWWDdaQrYqxffOwbqF8vNDHJVTCTwfy68FeDxGfZXQ+i6R7/dB7wiYXkPeHBOQB3Il3Pp9TKr8hheqAWJXKoD1IvIojU5JpP7XcAFZ32yL038KdASsUJTDcPzMIlvr0k5ozxXqohbiyPIbWG9e2qdPijQ6hzp7YjcmNfTnyVf/3jGwPpmHtZ8cZslDeSJFWKAa1y7FvaLW9hNYDVxVYGRuriV/0Vvvxbi76LTcTohcAUfNtRj3qiCmtTyspTycj4g8ESXexvWnEAO9s3S8TusOPvs+vepxZFtzMShnImFyI1VhC8lyGn9fSYLaoxdrD8sT8GTAtlNK6PNlJS5Wi6tF1600/jrU0Ltw7NJeWiHO9dFLq7doHjweE5h6R94xNhC+Ma3kl5NOg7aXcTwBK9BWrK/jmv0kkTL+v4zfS915PjFUzf6lLpJU7/N4AtbNFnGYSg6lve0rxHGtk6LYj3VmUMe3Ehrau1fQ7Oxz2Df3tb1nYC1VVdqQkLVPEXcbgD7cy43dqK4x/Rr+r3fsmsjNysM12FuW7g2gNfKdyIX9BDGmU4rfPSg9E+NVMOpR2HqM99JFnXr4Ey6eFY7CT0CRLShyG4dU995LQ7KLi8O/HDQZwXOMkYmMiZ7mAvEwwDq7/luzPx5zxk3BjeNWvgHr/qp0OWVqnhZqlt5idC6lQ4KDFM424DuYP3cyItB7PO1wGGwO48s5ZOPpZOnoaFeTVGVknuUmJOI94yuwvkRjeiHAS4YryP9HNBrjHTH/wkDfEnbb2KVTlC+5nOjs2o+Y9T1Lx7PkSMYyRcj4IB3SdKxQaNkyuRecPnsSdz2P8se6GSxcIeEBTCSkbPmucF8n1bl8AQbQgQBVRqbw9Q/yNfKl41cdE3lsoJI2UFqAkz5NGj6YBU6DkQf0FVmFB9T8aXh5VuE0GHlAX5FVeEDNn4aXZ94PeWTcj/Fk3A9qadhk0o/i/Qecum2aWgUz2gAAAABJRU5ErkJggg=="},Fivg:function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAB5VJREFUaEPtW2lsVFUU/t50mRlKO1O6l7KDQNiEyk4gxhhEMWFRfxj3BJBNfwCyLyIg+w8W/xAToiYaE5cgimgENCwFWZQGQQQslDLdO9N2Om2nM+N3Hh0yxZkyA++R0vY00zST++7c737nnvOdczsKaDOuH54M+JbAhwGKAqu811rM54MdCi4AysY93Z7cr8y8cXgKfL5vWgvAZnEoylRlRt6hE2R1VFsATLZzlJl5v5ByxdIWANOTHcrM64d8bQJsI8h2wK2d7XaG2xluZTvQ7tJ6E2qCAQnRRqo9BZWeerh8DXp/ZJP5HxrD2eZUPG/tjigCjY+K5W/AQcBiPzjykFNT9FCAPxTA76YMQU9jAkyGaBWkUTGoDNf5PEgg+FpvA266q7Gl6JzuoHUHvCp9ODrHdkR5Qy2OVttw3lUKu6dOBWwl2MHmZIyJS0dSjBm2eifWFJ7SFbSugBelDUNvowU2txPrC0/D7fMGBSOML01/AhkxcbhW58CmorO6gdYN8Ni4DLyU2BvVHjdW2HJYajdv4uTrM0epbn+AZ/qnqnxdQOsG+IOMkXRZI/Y5/sXPYS5+YnxXTEvspUbvRQXHHh3AnQxGLEwbimhDFLYUnkGJpzasxadFmbGAz4k3bKFbl4b5XFiT61ktybmdmzIYZiUKs/OP3NOd/QuWlLWrywS4GLV3l+Tiar0jEixhjdXFpfvEWvB2yiDEMBi9c/O3sBbiH7Qjazy83KIdxX/iWn1lRM+GM1gXwKmNrikL32A7jSqfO5y1wMI0tSQt+7ZL8yhUeG8LEy1NF8CywG2dxyGWDH9W8TdOOsNTUZKPX058DA4CXX4rR0ucd+bSDfCkhG54ji87F78izMVvyByNOKalLyuu4JjT9mgBltWuoJjoEhuPy7V2bCtuXjYuTB2KPiYrrtQ6sKX4ERQeAjiaUXdt5kiyFkNpWcecfA25rnI0MCyJSVAbbErCZEsPdGIFVUL5ua7wd12Y9U+qm0v7P0BAS05Op2xUGI2kHDRzAwwc4PS6+Xe0OjS/vhpb7+EFWuyE7oD9ixxPqfmMpTu81NO3y0MFVSwiPBzwPaXkydZUHgYyk2CIZUkYo6YeqZqcFBlSG99La2vBrsyhO8M9YxPwVHwWEqNN2BykCuoeE4+ZyQNYDztxsPI61ZX2YiNws3QDbGJvY07qIKRFm2El2HqvB8edhfi84nITsrZnjVODmpidga2AjYCdJed1Y1wXwFkxHTE7eSCSWdQLiOKGGnTmex7CWH7rBOob6+IRHdLwSqe+arQubnDBRO1tZbQuc7uYxv5A2aNQPMgZXc0uh4FXkgV0UykCJDKLqIgnk0eqC/CV/arK6KbMMarQ2F+Zhx8rb6Cv0YrXO/VTux/VLBFX2U6pkVxL05Th5CgTVmYMRw0D0Qm2c/YRiN/8bAqQZWwI9Dcm4o2k/mpPa27+r2rB4Lf1GaMQx8AWzU1bUnAC1RqC1hSwdCwsZPh0TQn2ll/8HzFrMkYgmWf6azI8mrq5K1XYd2wQ7Gdautu2dh6rpq9C9rlWa9jn0gzws/HdMMlC7cxUs9J2MqgXju+YienWXnCy7dNBZdBABo8HZTCJ3rKM0lQKkP3clINhdk3u5f6aAd7Nwl2AfFSai7z6qpCfu5atnwSeZTMBi9vvLb8UcuxUS0+KlW4Mch7Mz4+srg41qSaAh7HV+hqDTR1P4mIy1pxJQMtk21a6GrmuMnxc9lfI4al0f2FZTvcnZRdxji3eBzVNAM+icBjWIRXf2q/hAMVDKFvOxcu5lR61mERoyc1fVPwT8hl/X/s0a+o9zWxOuBuhCeBl6dlINJi4oAu4XGcPeX5ftPZGBc+4vyJaQbYl925nzi1krg5m0+jWE+nWV9mvDqbUwgXqH6cJYDm/Xv6LzDo224tCLFwaAlOsPZFbU4pdPOdi85MHoQf7X7vLzhNQcEn5dHwXvMD+tpvneJ4G5/iBAUuZt5bpSABvLDqj5uBgJqLiLeZdUVningZG36EdkjlUocAIHtVlnmxzCl5N6qcKEC3aPg8MWOrdnV0noIGAl4ZIMf4NkNuI6WQ5jvlVzOVpYArLQVUzwkLy9TSmMsnJc24caSJQInVnGX9fgGN57qKogsQE8OassXcAy42g5NdAk9tBibTyzFBG9CF8CdMHKSdFL3u4WXLVYmTjPtDkLmo4g6Ef8IKbR+8AlmckXUVqEQOW65PF6cOoi2+zJCYgZRPeZ7NufurjSGJ15DfZlgOO66pensfmfD9TYpM1XqwtV/X2m3T3bIILtFvU4oerbqqA5QjIpZvf5DpmM4+QvfGOOVzgEQNOYW5czFtBARhoTvaeNxeexSJuRsfGck91If4cp8CQsvA9PpfFHBxo0tqRaxXZjL5s4gU2AirZ8fy09BJmpQykJzX1GmH3Q/auI62oIgYsixU9bL7L/aqoskRWJrK8CwQs423uGrq8V617pVkXaGXMyRLoTJxPNjPQZD6ZV65RpZAINBfr61KWlJHafQGO9ENa0vh2wC2JDT3W0s6wHrvakuZsZ7glsaHHWtoZ1mNXW9Kcbe9LHm3vazxt7Ytacr7a0lfx/gOpy3xiBoT6CgAAAABJRU5ErkJggg=="},"Z/GR":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAABo5JREFUaEPtW3dslGUcfo5dhiiUaVmFUhRZAQRNq6yyZTRMDUNcKBBJNI4//AtcMQSEEHYJshwIBcuSjSiIQBgto6wyZK+ySynn8/DahIgS+75f75Le/ZLLXS7f977v8xvPb9x9PlBGjfN3hR8fwYf6PuBxfVdQxA9cIbY0Yvvik5G+FN+osf4ePh8WFRSAj8Lh96Onb/Q4/2Ze1DIUABPjFt/osf4rNHfZkADsR6YsTDcPHQkDLui2Dls4bOECpoGwSxcwgz4EJ2zhsIULmAYC5tJFigAxtYDKFYHIJwBfIeDseeDMOeDgUeDevcBoNt8BC2inNkDdaKBIYUCVeyGCZUuKuzl8J069p6UDK9flP+h8A1y+HBBLkE0aAKVLAvsPAoePA8dOAjdvGaAREUCtakAdWr5OTeAGv087AOzeB1y6nD/gPQdclBbt35NuS8DFi3PckAksWm5c91HyZGUgsQtQphSQnQ2cOgssXAbcuu0tcE8BFy0KvPs6D0i3lSufvwjMmJ+3A781gDMmdudyfYGd9T1w9Vre1njU1Z4BlkUH9TZb3bkD3OZr2ly7gw4laJGaYl7xLqVdv2G31j/v8gzwxyMYd1dMDLZsCixeYdjXRurHAl3aAus5fIpvYRQ4IclmpYfv8QRwm3ig6TOMVYLs1t644qRZbgccMcTc/+NS4OVEYMceYO0mtzV1tyeAh/NwFxiva3iggXTrbbuADRoNOkjCi0CDekAS3bkzra2QGT/DYcG/b3UGXK0q0KcbLbAbOE0m7poALF0N7GMacpEm9JiEF4yFI8sDcc8C85PJ3mdcVvXAwo2eBtrTGsvXGmZux0POW2jSiovUqs401RlYwXWzWZh072A+79nvsqoHgBvXN5aQ9suxZOzQirHM/Hkow+1gIi658k8/k6GvA317AKs2sijZ67aus0urZJQbL6P2s0hWPVk8yBJ7WSq6iBTZjmQoRapqkyKTxfxHXFb1wMIqG4e9ChzgQZasBD4cDhxn+TiXbu0iQ/oBlSoAn0+gEjsC0TWBqbOBa4752NnCAtWf7qYOaMJMHq4TUCPKMKptB1S8GPDOYCD9MBuKDcD7Qw0nfPODiwrNvZ4AFsDeXYGtTEfph1hx9SG5sAGQm9uICCq2NjB9HqBYbt7E8MJRNh+u4glgHaIHLRtDt5NFqlYyOXTFegM8LxLXnJVaM2BnKnM7O6YExnEqqzdlAS/EM8AiGZWBFy6RWVfRJQfJf4yVU/8n6KYNTVpT4zB+uklLysHLmNddWT9XWZ4Ajq5hYvciLbLuV6BfdwP2DONOFZJq7BQq4TyV8W9SMRJ4iUxf9jHg3AXDATnMvXLpXgyV0mwZv10MnDzlbmNnwHUZa4q5I8eAjVtYWvZi3rwJTCGjSlQh6ZV91zT9GWTwy1RAYXZCAlKbysrheKcYW0uVo5u3m/vE/OqWZi8wKSmqCrAghXF8wg20E2A1+CN4sKssDGZ+B7xHNr3GzxPJ1g+KWLcFO6hGTwGlmMbE3mr//HzX9GNnGn+p3sFRD5XyoIx8AyjJqchn402fLQV9+nUQAcuyMSw8ZM1X2NGocR8z2Uws/kvU3+rgEvW4ualL1mzIMlXlaVYWsIsVVZnSgHpjhUoyc/xrzM17WaOrVrcVawtrCKce+ATjKpX1bds40x4ezrA7ytsDjSLk6orfP9kkzOM/T6SE9iSy5RzwPUcvqUASUzFiK9aAlXbUwqmb0VRSs6ivJtkdQ6NbTUu2s+c9wDze6nmT2sZMMW4uxWpctJaEmEhyXLrGvhuzBqzCvgFjUu7VmYD/YNEhhrYRAR7cF/idhLWNbaZKySi2nV9ONNbu2Nrk9RTupQHDdl6z+hebnRwqrQFkYzGnSj51SdPm2M+dFB4iJb0XI8FppJPJaWcSiVCisnUgqzf129FsGzPI1La1urWFmzUCWtP1RDI6qJjURUqRjZs1BkqQ+cXcSk+5rC1C+2CYWV3f/bYN2LTVbjdrwNpOcfsmWVSsnDtke/A/QVKGrrlMa0mkGFtRitLasqzi2VacAGtT5V5ZQOAkmVdNmlKhobiMKAHMYfGgqUi9GNtj0s2pVFl37FT7Ne4r3fV/WtVZBsazksoVFR5LOKW47wHMo1VISOnslfVzSgt2PS4ilj7tODpyBuwCIBj3hgEHQ+uB3DNs4UBqOxh7hS0cDK0Hcs+whQOp7WDsFbZwMLQeyD1D8iGP0HqMJ+Qe1FL8hNKjeH8BrYibfUqAckIAAAAASUVORK5CYII="},n4PX:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s={filters:{reserveDecimal:function(t){return t&&Number(t).toFixed(0)}},data:function(){return this.chartSettings={dimension:["name","value"]},{dataEmpty:!0,buyMoney_total:0,Money_total:0,channel_total:0,channel_totalt:0,from_num:0,fromtotal_num:0,age_num:0,agetotal_num:0,gender_num:0,gendertotal_num:0,lists:"",datas:"",time:[],sale_total:"",sales_data:{data:{columns:[],rows:[]}},salestotal_data:{data:{columns:[],rows:[]}},product_data:{data:{columns:[],rows:[]}},producttotal_data:{data:{columns:[],rows:[]}},city_data:{data:{columns:["name","value"],rows:[]}},citytotal_data:{data:{columns:[],rows:[]}},age_data:{data:{columns:["name","value"],rows:[{name:"0-16岁",value:0},{name:"17-25岁",value:0},{name:"26-35岁",value:0},{name:"36-50岁",value:0},{name:"51-65岁",value:0},{name:"66岁以上",value:0},{name:"未知",value:0}]}},agetotal_data:{data:{columns:[],rows:[]}},gender_data:{data:{columns:["time","男","女","未知"],rows:[]}},gendertotal_data:{data:{columns:[],rows:[]}},sex_data:{data:{columns:["name","value"],rows:[]}},button:["本月数据","本年数据","汇总数据"],curren1:0,curren2:0,curren3:0,curren4:0,curren5:0,total:"",comment:"",caption:""}},methods:{Sales_time:function(t){this.curren1=t,0==t?this.getHome_month():1==t?this.getHome_year():2==t&&this.getHome_allyear()},Product_time:function(t){this.curren2=t,0==t?this.getproduct_month():1==t?this.getproduct_year():2==t&&this.getproduct_allyear()},city_time:function(t){this.curren3=t,0==t?this.getfrom_month():1==t?this.getfrom_year():2==t&&this.getfrom_allyear()},age_time:function(t){this.curren4=t,0==t?this.getage_month():1==t?this.getage_year():2==t&&this.getage_allyear()},gender_time:function(t){this.curren5=t,0==t?this.getsex_month():1==t?this.getsex_year():2==t&&this.getsex_allyear()},getHome_total:function(){var t=this,a={calcSyncKey:"home_total",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today()+" 00:00:00",createDateTo:this.$commonJs.today()+" 23:59:59"}};this.$api.gethome_total(this,a).then(function(a){t.total=a.data.rows[0]})},getHome_comment:function(){var t=this,a={calcSyncKey:"home_comment",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today()+" 00:00:00",createDateTo:this.$commonJs.today()+" 23:59:59"}};this.$api.gethome_total(this,a).then(function(a){t.comment=a.data.rows[0]})},getHome_caption:function(){var t=this,a={calcSyncKey:"home_caption",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today()+" 00:00:00",createDateTo:this.$commonJs.today()+" 23:59:59"}};this.$api.gethome_total(this,a).then(function(a){t.caption=a.data.rows[0]})},handleData2:function(t,a){for(var e=0,s=a.data.rows,o=0;o<s.length;o++)for(var n=0;n<t.rows.length;n++)t.rows[n].name==s[o].ageTypeName&&(t.rows[n].value=s[o].buyNum,e+=s[o].buyNum);this.age_num=e},getage:function(t,a,e){var s=this,o={calcSyncKey:e,condition:{companyId:this.$store.state.companyId,createDateFrom:t,createDateTo:a}};this.$api.gethome_total(this,o).then(function(t){var a=s.age_data.data;s.handleData2(a,t)})},getage_month:function(){var t=new Date,a=t.getFullYear()+"-"+t.getMonth()+"-01 00:00:00",e=this.$commonJs.formattime(t);this.getage(a,e,"home_agetype_month")},getage_year:function(){var t=this.$commonJs.today().substr(0,4)+"-01-01",a=this.$commonJs.today();this.getage(t,a,"home_agetype_year")},getage_allyear:function(){var t=this,a={calcSyncKey:"home_agetype_total",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,4)-2+"-01-01",createDateTo:this.$commonJs.today()}};this.$api.gethome_total(this,a).then(function(a){var e=t.agetotal_data.data,s=a.data.rows;t.agetotal_num=0;var o=t.$commonJs.today().substr(0,4);e.columns=[],e.rows=[{name:"0-16岁",value:0},{name:"17-25岁",value:0},{name:"26-35岁",value:0},{name:"36-50岁",value:0},{name:"51-65岁",value:0},{name:"66岁以上",value:0},{name:"未知",value:0}],e.columns.push("name"),e.columns.push((o-2).toString()),e.columns.push((o-1).toString()),e.columns.push(o);for(var n=o-2+"-BuyNum",i=o-1+"-BuyNum",r=o+"-BuyNum",c=0;c<e.rows.length;c++)e.rows[c][o-2]=0,e.rows[c][o-1]=0,e.rows[c][o]=0,e.rows[c].value=0;for(var m=0;m<s.length;m++)for(var u=0;u<e.rows.length;u++)e.rows[u].name==s[m].ageTypeName&&(e.rows[u][o-2]=s[m][n]/1e4,e.rows[u][o-1]=s[m][i]/1e4,e.rows[u][o]=s[m][r]/1e4,e.rows[u].value=s[m].buyNum/1e4,t.agetotal_num+=s[m].buyNum)})},fromData:function(t,a){var e=this;this.from_num=0;var s=a.data.rows;t.rows=[];var o=0;s.forEach(function(a){t.rows[o]={},e.from_num+=a.buyNum,t.rows[o].name=a.fromProvinceName,t.rows[o].value=a.buyNum,o++})},getfrom:function(t,a,e){var s=this,o={calcSyncKey:e,condition:{companyId:this.$store.state.companyId,createDateFrom:t,createDateTo:a}};this.$api.gethome_total(this,o).then(function(t){var a=s.city_data.data;s.fromData(a,t)})},getfrom_allyear:function(){var t=this,a={calcSyncKey:"home_fromarea_total",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,4)-2+"-01-01",createDateTo:this.$commonJs.today()}};this.$api.gethome_total(this,a).then(function(a){var e=t.citytotal_data.data,s=a.data.rows;t.fromtotal_num=0;var o=0,n=t.$commonJs.today().substr(0,4);e.columns=[],e.rows=[],e.columns.push("name"),e.columns.push((n-2).toString()),e.columns.push((n-1).toString()),e.columns.push(n);var i=n-2+"-BuyNum",r=n-1+"-BuyNum",c=n+"-BuyNum";s.forEach(function(a){e.rows[o]={},e.rows[o].name=a.fromProvinceName,e.rows[o][n-2]=a[i]/1e4,e.rows[o][n-1]=a[r]/1e4,e.rows[o][n]=a[c]/1e4,t.fromtotal_num+=a.buyNum,o++})})},getfrom_year:function(){var t=this.$commonJs.today().substr(0,4)+"-01-01",a=this.$commonJs.today();this.getfrom(t,a,"home_fromarea_year")},getfrom_month:function(){var t=new Date,a=this.$commonJs.today().substr(0,7)+"-01 00:00:00",e=this.$commonJs.formattime(t);this.getfrom(a,e,"home_fromarea_month")},sexData:function(t,a,e,s){var o=s.substr(0,4),n=this.$commonJs.today().substr(0,7),i=a.data.rows;if(!i.length)return 0;var r=this.sex_data.data;r.rows=[],r.rows=[{name:"男"},{name:"女"},{name:"未知"}];var c=31,m=0;2==e&&(c=12),t.rows=[];for(var u=0;u<c;u++)t.rows[u]={},t.rows[u].time=(u+1).toString();if(1==e)for(var h=0;h<i.length;h++){m+=i[h].buyNum;for(var _=i[h].sexTypeName,d=0;d<31;d++){var v=n+"-"+(d+1<10?"0"+(d+1):d+1)+"-BuyNum";t.rows[d][_]=i[h][v]}}else if(2==e)for(var l=0;l<i.length;l++){m+=i[l].buyNum;for(var g=i[l].sexTypeName,y=0;y<12;y++){var p=o+"-"+(y+1<10?"0"+(y+1):y+1)+"-BuyNum";t.rows[y][g]=i[l][p]}}for(var f=0;f<i.length;f++)for(var A=i[f].sexTypeName,w=0;w<3;w++)r.rows[w].name==A&&(r.rows[w].value=i[f].buyNum);this.gender_num=m},getsex:function(t,a,e,s){var o=this,n={calcSyncKey:e,condition:{companyId:this.$store.state.companyId,createDateFrom:t,createDateTo:a}};this.$api.gethome_total(this,n).then(function(a){o.gender_data.data.rows=[],o.gender_num=0;var e=o.gender_data.data;o.sexData(e,a,s,t)})},getsex_allyear:function(){var t=this,a=new Date,e={calcSyncKey:"home_sex_total",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,4)-2+"-01-01 00:00:00",createDateTo:this.$commonJs.formattime(a)}};this.$api.gethome_total(this,e).then(function(a){var e=t.gendertotal_data.data,s=a.data.rows;t.gendertotal_num=0;var o=t.$commonJs.today().substr(0,4);e.columns=[],e.rows=[{name:"男"},{name:"女"},{name:"未知"}],e.columns.push("name"),e.columns.push((o-2).toString()),e.columns.push((o-1).toString()),e.columns.push(o);for(var n=o-2+"-BuyNum",i=o-1+"-BuyNum",r=o+"-BuyNum",c=function(a){s.forEach(function(s){e.rows[a].name==s.sexTypeName&&(e.rows[a][o-2]=s[n]/1e4,e.rows[a][o-1]=s[i]/1e4,e.rows[a][o]=s[r]/1e4,t.gendertotal_num+=s.buyNum)})},m=0;m<3;m++)c(m);console.log(t.gendertotal_data)})},getsex_year:function(){var t=this.$commonJs.today().substr(0,4)+"-01-01",a=this.$commonJs.today();this.getsex(t,a,"home_sex_year",2)},getsex_month:function(){var t=new Date,a=this.$commonJs.today().substr(0,7)+"-01 00:00:00",e=this.$commonJs.formattime(t);this.getsex(a,e,"home_sex_month",1)},handleData:function(t,a,e,s,o){var n=s.data.rows;if(!n.length)return 0;var i=this.$commonJs.today(),r=i.substr(0,7),c=i.substr(0,4),m=0;for(var u in t.columns.push("time"),n)if(1==o){var h=n[u].channelName;t.columns.push(h)}else{var _=n[u].productName;t.columns.push(_)}for(var d=0;d<a;d++)t.rows[d]={},t.rows[d].time=(d+1).toString();if(1==e)for(var v=0;v<n.length;v++)if(m+=n[v].buyMoney,1==o)for(var l=n[v].channelName,g=0;g<31;g++){var y=r+"-"+(g+1<10?"0"+(g+1):g+1)+"-BuyMoney";t.rows[g][l]=n[v][y]}else for(var p=n[v].productName,f=0;f<31;f++){var A=r+"-"+(f+1<10?"0"+(f+1):f+1)+"-BuyMoney";t.rows[f][p]=n[v][A]}else if(2==e)for(var w=0;w<n.length;w++)if(m+=n[w].buyMoney,1==o)for(var D=n[w].channelName,b=0;b<12;b++){var x=c+"-"+(b+1<10?"0"+(b+1):b+1)+"-BuyMoney";t.rows[b][D]=n[w][x]}else for(var N=n[w].productName,B=0;B<12;B++){var C=c+"-"+(B+1<10?"0"+(B+1):B+1)+"-BuyMoney";t.rows[B][N]=n[w][C]}1==o?this.buyMoney_total=m:2==o&&(this.channel_total=m)},getproduct_month:function(){var t=this,a=new Date,e={calcSyncKey:"home_product_month",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,7)+"-01 00:00:00",createDateTo:this.$commonJs.formattime(a)}};this.$api.gethome_total(this,e).then(function(a){t.channel_total=0,t.product_data.data.columns=[],t.product_data.data.rows=[];var e=t.product_data.data;t.handleData(e,31,1,a,2)})},getproduct_year:function(){var t=this,a={calcSyncKey:"home_product_year",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,4)+"-01-01",createDateTo:this.$commonJs.today()}};this.$api.gethome_total(this,a).then(function(a){t.channel_total=0,t.product_data.data.columns=[],t.product_data.data.rows=[];var e=t.product_data.data;t.handleData(e,12,2,a,2)})},getproduct_allyear:function(){var t=this;this.channel_totalt=0;var a={calcSyncKey:"home_product_total",condition:{companyId:this.$store.state.companyId,createDateFrom:"2016-01-01",createDateTo:this.$commonJs.today()}};this.$api.gethome_total(this,a).then(function(a){var e=t.producttotal_data.data,s=a.data.rows;t.channel_total=0;var o=0,n=t.$commonJs.today().substr(0,4);e.columns=[],e.rows=[],e.columns.push("name"),e.columns.push((n-2).toString()),e.columns.push((n-1).toString()),e.columns.push(n);var i=n-2+"-BuyMoney",r=n-1+"-BuyMoney",c=n+"-BuyMoney";s.forEach(function(a){e.rows[o]={},e.rows[o].name=a.productName,e.rows[o][n-2]=a[i]/1e4,e.rows[o][n-1]=a[r]/1e4,e.rows[o][n]=a[c]/1e4,t.channel_totalt+=a.buyMoney,o++})})},getHome_month:function(){var t=this,a={calcSyncKey:"home_channel_channeltype_month",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,7)+"-01 00:00:00",createDateTo:this.$commonJs.today()+" 00:00:00"}};this.$api.gethome_total(this,a).then(function(a){t.buyMoney_total=0,t.sales_data.data.columns=[],t.sales_data.data.rows=[];var e=t.sales_data.data;t.handleData(e,31,1,a,1)})},getHome_year:function(){var t=this,a={calcSyncKey:"home_channel_channeltype_year",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,4)+"-01-01",createDateTo:this.$commonJs.today()}};this.$api.gethome_total(this,a).then(function(a){t.buyMoney_total=0,t.sales_data.data.columns=[],t.sales_data.data.rows=[];var e=t.sales_data.data;t.handleData(e,12,2,a,1)})},getHome_allyear:function(){var t=this,a={calcSyncKey:"home_channel_channeltype_total",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,4)-2+"-01-01",createDateTo:this.$commonJs.today()}};this.$api.gethome_total(this,a).then(function(a){var e=t.salestotal_data.data,s=a.data.rows;t.Money_total=0;var o=0,n=t.$commonJs.today().substr(0,4);e.columns=[],e.rows=[],e.columns.push("name"),e.columns.push((n-2).toString()),e.columns.push((n-1).toString()),e.columns.push(n);var i=n-2+"-BuyMoney",r=n-1+"-BuyMoney",c=n+"-BuyMoney";s.forEach(function(a){e.rows[o]={},e.rows[o].name=a.channelName,e.rows[o][n-2]=a[i]/1e4,e.rows[o][n-1]=a[r]/1e4,e.rows[o][n]=a[c]/1e4,t.Money_total+=a.buyMoney,o++})})},gettime:function(){var t=new Date;this.time[0]=t.getFullYear(),this.time[1]=("0"+(t.getMonth()+1)).slice(-2),this.time[2]=t.toDateString().split(" ")[0]}},mounted:function(){this.gettime(),this.getHome_total(),this.getHome_comment(),this.getHome_caption(),this.getHome_month(),this.getproduct_month(),this.getfrom_month(),this.getage_month(),this.getsex_month();var t=this;this.date1=(new Date).Format("yyyy-MM-dd"),function a(){var e=setTimeout(function(){t.getHome_total(),t.getHome_comment(),t.getHome_caption(),a()},3e5);t.$once("hook:beforeDestroy",function(){clearTimeout(e)})}()}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"bodyT"},[e("div",{staticClass:"background"}),t._v(" "),e("div",{staticClass:"box"},[e("div",[e("div",{staticClass:"hand"},[e("div",{staticStyle:{"margin-right":"7%"}},[t._m(0),t._v(" "),e("div",{staticClass:"data_total",staticStyle:{width:"86px","margin-left":"10%"}},[e("p",[t._v("今日游客")]),t._v(" "),e("p",[t._v(t._s(t.total.buyNum||0))])]),t._v(" "),e("div",{staticClass:"data_total right"},[e("p",[e("span",[t._v("散客:")]),t._v(" "),e("span",[t._v(t._s(t.total.singleBuyNum||0))])]),t._v(" "),e("p",[e("span",[t._v("团队:")]),t._v(" "),e("span",[t._v(t._s(t.total.groupBuyNum||0))])])])]),t._v(" "),e("div",[t._m(1),t._v(" "),e("div",{staticClass:"data_total",staticStyle:{width:"86px","margin-left":"10%"}},[e("p",[t._v("今日收入")]),t._v(" "),e("p",[t._v(t._s(t.total.buyMoney||0))])]),t._v(" "),e("div",{staticClass:"data_total right"},[e("p",[e("span",[t._v("散客:")]),t._v(" "),e("span",[t._v(t._s(t.total.singleBuyMoney||0))])]),t._v(" "),e("p",[e("span",[t._v("团队:")]),t._v(" "),e("span",[t._v(t._s(t.total.groupBuyMoney||0))])])])])]),t._v(" "),e("div",{staticClass:"hand"},[e("div",{staticStyle:{"margin-right":"7%"}},[t._m(2),t._v(" "),e("div",{staticClass:"data_total",staticStyle:{width:"86px","margin-left":"10%"}},[e("p",[t._v("承载量")]),t._v(" "),e("p",[t._v(t._s(t._f("reserveDecimal")(t.caption.captionTotal/t.caption.captionQuote*100||0))+"%")])]),t._v(" "),e("div",{staticClass:"data_total right"},[e("p",[e("span",[t._v("评价:")]),t._v(" "),e("span",[t._v(t._s(t.comment.comment||0))])]),t._v(" "),e("p",[e("span",[t._v("咨询:")]),t._v(" "),e("span",[t._v(t._s(t.comment.quote||0))])])])]),t._v(" "),e("div",[t._m(3),t._v(" "),e("div",{staticClass:"data_total",staticStyle:{width:"86px","margin-left":"10%"}},[e("p",[t._v("旅行团")]),t._v(" "),e("p",[t._v(t._s(t.total.groupBuyNum||0))])]),t._v(" "),e("div",{staticClass:"data_total right"},[e("p",[e("span",[t._v("今日团队:")]),t._v(" "),e("span",[t._v(t._s(t.total.groupBuyNum||0))])]),t._v(" "),e("p",[e("span",[t._v("今日人数:")]),t._v(" "),e("span",[t._v(t._s(t.total.buyNum||0))])])])])])])]),t._v(" "),e("div",[e("div",{staticClass:"chart"},[e("div",[e("div",{staticClass:"chart_name"},[e("span",[t._v("营收趋势")]),t._v(" "),e("div",t._l(t.button,function(a,s){return e("a",{key:s,class:{focus_button:s==t.curren1},on:{click:function(a){return t.Sales_time(s)}}},[t._v(t._s(a))])}),0)]),t._v(" "),e("div",{staticClass:"chart_data"},[0==t.curren1?e("span",[t._v(t._s(t.time[0])+"."+t._s(t.time[1]))]):t._e(),t._v(" "),1==t.curren1?e("span",[t._v(t._s(t.time[0]))]):t._e(),t._v(" "),2==t.curren1?e("span",[t._v(t._s(t.time[0]-2)+"-"+t._s(t.time[0]))]):t._e(),t._v(" "),e("span",[t._v(t._s(t.time[2]))]),t._v(" "),0==t.curren1?e("span",[t._v(t._s(t.buyMoney_total.toFixed(2)))]):t._e(),t._v(" "),1==t.curren1?e("span",[t._v(t._s((t.buyMoney_total/1e4).toFixed(2)))]):t._e(),t._v(" "),2==t.curren1?e("span",[t._v(t._s((t.Money_total/1e4).toFixed(2)))]):t._e()]),t._v(" "),0==t.curren1?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 元")]),t._v(" "),e("ve-line",{attrs:{data:t.sales_data.data,extend:this.$bigData_home.lineEchart(),height:"242px"}})],1):t._e(),t._v(" "),1==t.curren1?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万元")]),t._v(" "),e("ve-line",{attrs:{data:t.sales_data.data,extend:this.$bigData_home.lineEchart(),height:"242px"}})],1):t._e(),t._v(" "),2==t.curren1?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万元")]),t._v(" "),e("ve-histogram",{staticStyle:{"margin-top":"-90px"},attrs:{data:t.salestotal_data.data,extend:this.$bigData_home.zhuduiEchart(t.time[0]-2,t.time[0]-1,t.time[0]),height:"310px"}})],1):t._e()]),t._v(" "),e("div",[e("div",{staticClass:"chart_name"},[e("span",[t._v("产品趋势")]),t._v(" "),e("div",{staticStyle:{"z-index":"10"}},t._l(t.button,function(a,s){return e("a",{key:s,class:{focus_button:s==t.curren2},on:{click:function(a){return t.Product_time(s)}}},[t._v(t._s(a))])}),0)]),t._v(" "),e("div",{staticClass:"chart_data"},[0==t.curren2?e("span",[t._v(t._s(t.time[0])+"."+t._s(t.time[1]))]):t._e(),t._v(" "),1==t.curren2?e("span",[t._v(t._s(t.time[0]))]):t._e(),t._v(" "),2==t.curren2?e("span",[t._v(t._s(t.time[0]-2)+"-"+t._s(t.time[0]))]):t._e(),t._v(" "),e("span",[t._v(t._s(t.time[2]))]),t._v(" "),0==t.curren2?e("span",[t._v(t._s(t.channel_total.toFixed(2)))]):t._e(),t._v(" "),1==t.curren2?e("span",[t._v(t._s((t.channel_total/1e4).toFixed(2)))]):t._e(),t._v(" "),2==t.curren2?e("span",[t._v(t._s((t.channel_totalt/1e4).toFixed(2)))]):t._e()]),t._v(" "),0==t.curren2?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 元")]),t._v(" "),e("ve-line",{attrs:{data:t.product_data.data,extend:this.$bigData_home.lineEchart(),height:"242px"}})],1):t._e(),t._v(" "),1==t.curren2?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万元")]),t._v(" "),e("ve-line",{attrs:{data:t.product_data.data,extend:this.$bigData_home.lineEchart(),height:"242px"}})],1):t._e(),t._v(" "),2==t.curren2?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万元")]),t._v(" "),e("ve-histogram",{staticStyle:{"margin-top":"-90px"},attrs:{data:t.producttotal_data.data,extend:this.$bigData_home.zhuduiEchart(t.time[0]-2,t.time[0]-1,t.time[0]),height:"390px"}})],1):t._e()])]),t._v(" "),e("div",{staticStyle:{"margin-top":"80px"}},[e("div",{staticClass:"chart"},[e("div",[e("div",{staticClass:"chart_name"},[e("span",{staticStyle:{"min-width":"190px"}},[t._v("来源地TOP10")]),t._v(" "),e("div",{staticStyle:{"min-width":"237px"}},t._l(t.button,function(a,s){return e("a",{key:s,class:{focus_button:s==t.curren3},on:{click:function(a){return t.city_time(s)}}},[t._v(t._s(a))])}),0)]),t._v(" "),e("div",{staticClass:"chart_data"},[0==t.curren3?e("span",[t._v(t._s(t.time[0])+"."+t._s(t.time[1]))]):t._e(),t._v(" "),1==t.curren3?e("span",[t._v(t._s(t.time[0]))]):t._e(),t._v(" "),2==t.curren3?e("span",[t._v(t._s(t.time[0]-2)+"-"+t._s(t.time[0]))]):t._e(),t._v(" "),e("span",[t._v(t._s(t.time[2]))]),t._v(" "),0==t.curren3?e("span",[t._v(t._s(t.from_num))]):t._e(),t._v(" "),1==t.curren3?e("span",[t._v(t._s((t.from_num/1e4).toFixed(2)))]):t._e(),t._v(" "),2==t.curren3?e("span",[t._v(t._s((t.fromtotal_num/1e4).toFixed(2)))]):t._e()]),t._v(" "),0==t.curren3?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 人")]),t._v(" "),e("ve-histogram",{attrs:{data:t.city_data.data,extend:this.$bigData_home.zhuEchart(),height:"230px"}})],1):t._e(),t._v(" "),1==t.curren3?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万人")]),t._v(" "),e("ve-histogram",{attrs:{data:t.city_data.data,extend:this.$bigData_home.zhuEchart(),height:"230px"}})],1):t._e(),t._v(" "),2==t.curren3?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万人")]),t._v(" "),e("ve-histogram",{staticStyle:{"margin-top":"-90px"},attrs:{data:t.citytotal_data.data,extend:this.$bigData_home.zhuduiEchart(t.time[0]-2,t.time[0]-1,t.time[0]),height:"360px"}})],1):t._e()]),t._v(" "),e("div",[e("div",{staticClass:"chart_name"},[e("span",{staticStyle:{width:"160px"}},[t._v("用户年龄段")]),t._v(" "),e("div",t._l(t.button,function(a,s){return e("a",{key:s,class:{focus_button:s==t.curren4},on:{click:function(a){return t.age_time(s)}}},[t._v(t._s(a))])}),0)]),t._v(" "),e("div",{staticClass:"chart_data"},[0==t.curren4?e("span",[t._v(t._s(t.time[0])+"."+t._s(t.time[1]))]):t._e(),t._v(" "),1==t.curren4?e("span",[t._v(t._s(t.time[0]))]):t._e(),t._v(" "),2==t.curren4?e("span",[t._v(t._s(t.time[0]-2)+"-"+t._s(t.time[0]))]):t._e(),t._v(" "),e("span",[t._v(t._s(t.time[2]))]),t._v(" "),0==t.curren4?e("span",[t._v(t._s(t.age_num))]):t._e(),t._v(" "),1==t.curren4?e("span",[t._v(t._s((t.age_num/1e4).toFixed(2)))]):t._e(),t._v(" "),2==t.curren4?e("span",[t._v(t._s((t.agetotal_num/1e4).toFixed(2)))]):t._e()]),t._v(" "),0==t.curren4?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 人")]),t._v(" "),e("ve-histogram",{attrs:{data:t.age_data.data,extend:this.$bigData_home.zhuEchart(),height:"238px"}})],1):t._e(),t._v(" "),1==t.curren4?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万人")]),t._v(" "),e("ve-histogram",{attrs:{data:t.age_data.data,extend:this.$bigData_home.zhuEchart(),height:"238px"}})],1):t._e(),t._v(" "),2==t.curren4?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万人")]),t._v(" "),e("ve-bar",{staticStyle:{"margin-top":"-90px"},attrs:{data:t.agetotal_data.data,extend:this.$bigData_home.zhuduirowEchart(t.time[0]-2,t.time[0]-1,t.time[0]),height:"355px",settings:t.chartSettings}})],1):t._e()])])]),t._v(" "),e("div",{staticStyle:{"margin-top":"80px"}},[e("div",{staticClass:"chart"},[e("div",[e("div",{staticClass:"chart_name"},[e("span",[t._v("用户性别")]),t._v(" "),e("div",t._l(t.button,function(a,s){return e("a",{key:s,class:{focus_button:s==t.curren5},on:{click:function(a){return t.gender_time(s)}}},[t._v(t._s(a))])}),0)]),t._v(" "),e("div",{staticClass:"chart_data"},[0==t.curren5?e("span",[t._v(t._s(t.time[0])+"."+t._s(t.time[1]))]):t._e(),t._v(" "),1==t.curren5?e("span",[t._v(t._s(t.time[0]))]):t._e(),t._v(" "),2==t.curren5?e("span",[t._v(t._s(t.time[0]-2)+"-"+t._s(t.time[0]))]):t._e(),t._v(" "),e("span",[t._v(t._s(t.time[2]))]),t._v(" "),0==t.curren5?e("span",[t._v(t._s(t.gender_num))]):t._e(),t._v(" "),1==t.curren5?e("span",[t._v(t._s((t.gender_num/1e4).toFixed(2)))]):t._e(),t._v(" "),2==t.curren5?e("span",[t._v(t._s((t.gendertotal_num/1e4).toFixed(2)))]):t._e()]),t._v(" "),0==t.curren5?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位:人")]),t._v(" "),e("ve-line",{staticStyle:{"margin-top":"-90px"},attrs:{data:t.gender_data.data,extend:this.$bigData_home.lineEchart_sex(),height:"280px"}})],1):t._e(),t._v(" "),1==t.curren5?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位:万人")]),t._v(" "),e("ve-line",{staticStyle:{"margin-top":"-90px"},attrs:{data:t.gender_data.data,extend:this.$bigData_home.lineEchart_sex(),height:"280px"}})],1):t._e(),t._v(" "),2==t.curren5?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万人")]),t._v(" "),e("ve-histogram",{staticStyle:{"margin-top":"-90px"},attrs:{data:t.gendertotal_data.data,extend:this.$bigData_home.zhuduiEchartnoxie(t.time[0]-2,t.time[0]-1,t.time[0]),height:"300px"}})],1):t._e()]),t._v(" "),e("div",[e("div",{staticClass:"chart_img"},[e("ve-pie",{attrs:{data:t.sex_data.data,extend:this.$bigData_home.pieEchart(),height:"350px"}})],1)])])])])])},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"pictrue"},[a("img",{attrs:{src:e("Fivg")}})])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"pictrue"},[a("img",{attrs:{src:e("zRAq")}})])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"pictrue"},[a("img",{attrs:{src:e("/qMQ")}})])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"pictrue"},[a("img",{attrs:{src:e("Z/GR")}})])}]};var n=e("C7Lr")(s,o,!1,function(t){e("rfx5")},"data-v-0d8bffaa",null);a.default=n.exports},rfx5:function(t,a){},zRAq:function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAABitJREFUaEPtW+tTVHUYflZAUJGbFl0RiArU0dSmUXSKmpJKoKyYsrJJLae+9VH/gvpUfdUuU5Nm2VgpGNkNzQualzSRTEVQy9JRAUVFufU8/DjDBuye5ZwDMbv7zuCu55zf5fm97/u8l931gdK5/N0i/ruMbyfxL0XXwkgaieUQ4HvL9+Yb5b7O5e88yQtfhRHAYFDm+zqXvV0Fn29mRADu7NwpwI0EnBwhgJtk0p0RAbYbZBRwuGs7quGohsPsBKImHWYK7QMnquGohsPsBIbepGNigLg4oKXlfznKwQeclAjcOA7IywSSk1h2q+LmtcpfgJraIQc9eIBvSAVm3QNk3grcNL4vsN+PA6vLgI6hrV28B5wQD8zNZ+8kBxg7pgfohSbgXAPQ3gFcpTn/UAU0Xup7ECNGAAseB9ragHXf87XdUyvwFrA0WVQAZN9mNtl8GTh4FDj+J3Dyb/rtNaCVQAJJbCyweL6xitZWYMUXwOmzwxRwGnsIi58C9Co5dAz4eQ9w6p/QNuwPViN2VwMVW3vGSuMeaNsbDaeSjF55Gkgl2GvXgW+3Abt+Cw2onhJrP/cYiS3bjJF2G3qZ+1Vax2ffAE39uEHoK8E9YPnswmIgi2YssJu2AzsPDGALfDQ9DXh9ATCSwINJBQ9yK63GhbgHXPIgMHOq2cL6n4Jr1udjWPJjZf//FxcYVu/SMM336Ek+S4Kz5CL5YONm16zuDrBCz6vPAIlkY/ns6vLAZ58zAcjNNH4pppYIpMLTMYKT+B+ern9eAVyneXso7gCXPETtTjFs/P464OyF/reWRh9/6QmTgNT/BXz4JbCEPj/hFuDMOeCj9T2+aYEW0JXDiaWVQS1iDz+doWjHfqCc5hZMHp0D3H+veeLyVWDMKPN+C31yE33TX2TaPsbjql//6wIeaNq5hmWiipkSmbJMOpBYCUghQU/P63lqX40hObo25KNDIM4BFz0A5E8DlEGtWAtcCrDhOdMJciKhCBUldSwQP9IwuhV6dGsPP/7Zvm/QITsH/CJD0cQ7gCP1RsP9ZVDxDDOLaAUZ9FU7USb2AX1bMTiQKO3s8GNuuzn7ue8McCxLvGeZKChfFpt+siHw0kpKptwNxHCzkpwMkzqeOM3Qc8Jca2eoOnCYufXF4PPMKwDkBjVB3MfmEJwBTkgAXis1rHvwCLCGGVAwSaYZqy4cQdstJrPnZgGH64ANjNtdcZnX7TKo0rnANLpGHfNyHXALXcKBOAOsIl4VjUzaTsMPzyJApowCKxlNdk5i3BZJXSFbSwRatfGPOwNDWFhiUk89t2ZjTywfIGhngLVIKD6sHHmJBz4cxypKXCBXEOBVrKMdinPAKgPzGS/tWDqF5jw1l1bbreG7GM608Xr6sAivS8Mkov1/BDZrxfylzOjS+OWELbtNKHMozgGLfFQOSuzisLU5mfXz/HaFXEGa0jj/3DoQiMl3ctw8c1dMXtudijoA7Ryw/PBlmpmK/ipmWmWb7Zd3CtgqLFRby5wDxXz7HbgsD628VxvQRkIp9lVK5knDDC2rghQb1uYzbjZWoQOuYtlZVhkCrMCPONew5hzPamkpw1PiaKCarZxPyZ52orisnFq+2F9Pq/f4FwhW8b75isnozutLOc7FHWCtO5B6eKD7VJ2t+SUuycpa2j1g5cUq/bLIvMqPvyODyvTciiLAI+x+av46lpQff+1JbewesICl0EzVCJC5Oulp9T4cabZwtgHbwHRzJU25qdntEXaN9wawZurdtawmKW3ba9qzoYoIas4MYDJ9ViKw77Gx0MiKzCPxDrCl6dJCY94SsbfITCYp4GrA+1dVyqBGMS8XUI2ZxHgrNpZozFq2eDzSrHc+3PvkZYYF9wEzmOiLvS2xPnloY1al/rIqrlhWUGJ6q5etZ8XGe1kRVe7yxGd7b89bDfvPPo5p4Gw2CKQ5tYHs5Mx58wnFDrZ1XIaeYEsNHmBrVbV30llGZt/OcpL9Z4nV8dB7Nf5qT/GVgF1kUHbnOXgmbbeyGgHyXfmy1a61G+Ph/cHXsIeb9WKqKGAvTnE4zxHV8HDWjhd7i2rYi1McznNEoIYj7kceEfcznkj7oZYIJpJ+ivcvvi6Pw8YHyVIAAAAASUVORK5CYII="}});
\ No newline at end of file
webpackJsonp([10],{"/qMQ":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAABnVJREFUaEPtm1tsVFUUhtc+A225tlAUEBEFrEaDQkClJIDom6IgKRpjJL5o8EEQDPQSEh+0QFUEn0AevEUTgho1EX2QGIKaNgqKTTQBoRUBubXQGy20nTl+azoDY+lM51xmmnRmJwVS5uyzv/Wv215QI6ziM92L7ZBdZsTcLUYK9HuDZtnSZIv9h7HM5uoJQ742xWe7l0pIvhg0gIlALHnCzD3dVY2yczMBGKVrAO5uMiL5mQEszab4dLedCbBRxizwYFc7q3BW4UFmgaxLDzJBr8PJKpxVeJBZIOvS6RB05lCRQ13peNP170i7wsuGW/LsCCMfXeIS3p7+e0tagEdZRm6wRF4YaWR2jpER/BleOdBpy87WkDSEjLTa6YFPGfDkgJH7ckRm5/bATh1qZDgXb12/AToLcF0KXs8NtcE2YQP8fDkkJ4Opc/eUAC+HbMVISwoBja4OBDxM3O7GjfcBtRBDPIXiRUOuGUI/2wDs9jZbvu3AEilYvgOvGW2JAuuqQ7naLiNHuvi9s0c5RLy6cjDIJNz9XtQuGiJyDx4xFQPoehfoD9v8h/YV+LFhRlaPsoS8JF+h5A4O3OzgzPnAvzjKyOPs085zG3n4+yv+xrZnYLwSQCOFAVvKUXc6Cu3pEKlsdh+IG/ID8sgwkaN4xsYWWy4Af4mkpvHudbkGvgUXXIYS04Zako+ieWLLzcDWdYusvhiSxqB7Zcax37axVti9TxEWHQzLm9ivnmz+WVtQTri3pbgCLqGOrsBvxwWut3dVSyjszvFWATDjyeBnAWhKoNhS9l8/OpLWYzZr4BmN7c9d1nDHwLFJ6SAZ6BdirJbsSzkNq/wnCifS9q0xlswjQ//Ec+vwhHhLUe+iI7vMZlrHZ1DWFuaZ8Pd0fYB/72x17kWOgLVpqEKicFIiTne2BiXBmftk2cTzevB9kFQkkriPp8fgGc/jXUupAhrPpSS1Xx0mtaSBtaRuRJ0FqOPmsNHzewHWPVT51zHaIoy2H6OVOTRa0sCxiWQ9L/lRfS3O4ixSggqawT+5ZNM2XvtgPGAN12foOVvIxhqfCbaXBbxgM9DHSGgvk8IbHWTv5IFxp21jjUzl91X48YEErnQTyeyNggDtpMhztE5HiOv+FL6Tz75XGJA68sG6pqCcTpCJ7wd4G8D17LvqQjA1wKpaJS5dTBx/2i6ytSX+iRR4E8C3uwA+CnBpP8BraG6WE8vVuEE5cRzbvfVXp5NWWDdaQrYqxffOwbqF8vNDHJVTCTwfy68FeDxGfZXQ+i6R7/dB7wiYXkPeHBOQB3Il3Pp9TKr8hheqAWJXKoD1IvIojU5JpP7XcAFZ32yL038KdASsUJTDcPzMIlvr0k5ozxXqohbiyPIbWG9e2qdPijQ6hzp7YjcmNfTnyVf/3jGwPpmHtZ8cZslDeSJFWKAa1y7FvaLW9hNYDVxVYGRuriV/0Vvvxbi76LTcTohcAUfNtRj3qiCmtTyspTycj4g8ESXexvWnEAO9s3S8TusOPvs+vepxZFtzMShnImFyI1VhC8lyGn9fSYLaoxdrD8sT8GTAtlNK6PNlJS5Wi6tF1600/jrU0Ltw7NJeWiHO9dFLq7doHjweE5h6R94xNhC+Ma3kl5NOg7aXcTwBK9BWrK/jmv0kkTL+v4zfS915PjFUzf6lLpJU7/N4AtbNFnGYSg6lve0rxHGtk6LYj3VmUMe3Ehrau1fQ7Oxz2Df3tb1nYC1VVdqQkLVPEXcbgD7cy43dqK4x/Rr+r3fsmsjNysM12FuW7g2gNfKdyIX9BDGmU4rfPSg9E+NVMOpR2HqM99JFnXr4Ey6eFY7CT0CRLShyG4dU995LQ7KLi8O/HDQZwXOMkYmMiZ7mAvEwwDq7/luzPx5zxk3BjeNWvgHr/qp0OWVqnhZqlt5idC6lQ4KDFM424DuYP3cyItB7PO1wGGwO48s5ZOPpZOnoaFeTVGVknuUmJOI94yuwvkRjeiHAS4YryP9HNBrjHTH/wkDfEnbb2KVTlC+5nOjs2o+Y9T1Lx7PkSMYyRcj4IB3SdKxQaNkyuRecPnsSdz2P8se6GSxcIeEBTCSkbPmucF8n1bl8AQbQgQBVRqbw9Q/yNfKl41cdE3lsoJI2UFqAkz5NGj6YBU6DkQf0FVmFB9T8aXh5VuE0GHlAX5FVeEDNn4aXZ94PeWTcj/Fk3A9qadhk0o/i/Qecum2aWgUz2gAAAABJRU5ErkJggg=="},Fivg:function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAAB5VJREFUaEPtW2lsVFUU/t50mRlKO1O6l7KDQNiEyk4gxhhEMWFRfxj3BJBNfwCyLyIg+w8W/xAToiYaE5cgimgENCwFWZQGQQQslDLdO9N2Om2nM+N3Hh0yxZkyA++R0vY00zST++7c737nnvOdczsKaDOuH54M+JbAhwGKAqu811rM54MdCi4AysY93Z7cr8y8cXgKfL5vWgvAZnEoylRlRt6hE2R1VFsATLZzlJl5v5ByxdIWANOTHcrM64d8bQJsI8h2wK2d7XaG2xluZTvQ7tJ6E2qCAQnRRqo9BZWeerh8DXp/ZJP5HxrD2eZUPG/tjigCjY+K5W/AQcBiPzjykFNT9FCAPxTA76YMQU9jAkyGaBWkUTGoDNf5PEgg+FpvA266q7Gl6JzuoHUHvCp9ODrHdkR5Qy2OVttw3lUKu6dOBWwl2MHmZIyJS0dSjBm2eifWFJ7SFbSugBelDUNvowU2txPrC0/D7fMGBSOML01/AhkxcbhW58CmorO6gdYN8Ni4DLyU2BvVHjdW2HJYajdv4uTrM0epbn+AZ/qnqnxdQOsG+IOMkXRZI/Y5/sXPYS5+YnxXTEvspUbvRQXHHh3AnQxGLEwbimhDFLYUnkGJpzasxadFmbGAz4k3bKFbl4b5XFiT61ktybmdmzIYZiUKs/OP3NOd/QuWlLWrywS4GLV3l+Tiar0jEixhjdXFpfvEWvB2yiDEMBi9c/O3sBbiH7Qjazy83KIdxX/iWn1lRM+GM1gXwKmNrikL32A7jSqfO5y1wMI0tSQt+7ZL8yhUeG8LEy1NF8CywG2dxyGWDH9W8TdOOsNTUZKPX058DA4CXX4rR0ucd+bSDfCkhG54ji87F78izMVvyByNOKalLyuu4JjT9mgBltWuoJjoEhuPy7V2bCtuXjYuTB2KPiYrrtQ6sKX4ERQeAjiaUXdt5kiyFkNpWcecfA25rnI0MCyJSVAbbErCZEsPdGIFVUL5ua7wd12Y9U+qm0v7P0BAS05Op2xUGI2kHDRzAwwc4PS6+Xe0OjS/vhpb7+EFWuyE7oD9ixxPqfmMpTu81NO3y0MFVSwiPBzwPaXkydZUHgYyk2CIZUkYo6YeqZqcFBlSG99La2vBrsyhO8M9YxPwVHwWEqNN2BykCuoeE4+ZyQNYDztxsPI61ZX2YiNws3QDbGJvY07qIKRFm2El2HqvB8edhfi84nITsrZnjVODmpidga2AjYCdJed1Y1wXwFkxHTE7eSCSWdQLiOKGGnTmex7CWH7rBOob6+IRHdLwSqe+arQubnDBRO1tZbQuc7uYxv5A2aNQPMgZXc0uh4FXkgV0UykCJDKLqIgnk0eqC/CV/arK6KbMMarQ2F+Zhx8rb6Cv0YrXO/VTux/VLBFX2U6pkVxL05Th5CgTVmYMRw0D0Qm2c/YRiN/8bAqQZWwI9Dcm4o2k/mpPa27+r2rB4Lf1GaMQx8AWzU1bUnAC1RqC1hSwdCwsZPh0TQn2ll/8HzFrMkYgmWf6azI8mrq5K1XYd2wQ7Gdautu2dh6rpq9C9rlWa9jn0gzws/HdMMlC7cxUs9J2MqgXju+YienWXnCy7dNBZdBABo8HZTCJ3rKM0lQKkP3clINhdk3u5f6aAd7Nwl2AfFSai7z6qpCfu5atnwSeZTMBi9vvLb8UcuxUS0+KlW4Mch7Mz4+srg41qSaAh7HV+hqDTR1P4mIy1pxJQMtk21a6GrmuMnxc9lfI4al0f2FZTvcnZRdxji3eBzVNAM+icBjWIRXf2q/hAMVDKFvOxcu5lR61mERoyc1fVPwT8hl/X/s0a+o9zWxOuBuhCeBl6dlINJi4oAu4XGcPeX5ftPZGBc+4vyJaQbYl925nzi1krg5m0+jWE+nWV9mvDqbUwgXqH6cJYDm/Xv6LzDo224tCLFwaAlOsPZFbU4pdPOdi85MHoQf7X7vLzhNQcEn5dHwXvMD+tpvneJ4G5/iBAUuZt5bpSABvLDqj5uBgJqLiLeZdUVningZG36EdkjlUocAIHtVlnmxzCl5N6qcKEC3aPg8MWOrdnV0noIGAl4ZIMf4NkNuI6WQ5jvlVzOVpYArLQVUzwkLy9TSmMsnJc24caSJQInVnGX9fgGN57qKogsQE8OassXcAy42g5NdAk9tBibTyzFBG9CF8CdMHKSdFL3u4WXLVYmTjPtDkLmo4g6Ef8IKbR+8AlmckXUVqEQOW65PF6cOoi2+zJCYgZRPeZ7NufurjSGJ15DfZlgOO66pensfmfD9TYpM1XqwtV/X2m3T3bIILtFvU4oerbqqA5QjIpZvf5DpmM4+QvfGOOVzgEQNOYW5czFtBARhoTvaeNxeexSJuRsfGck91If4cp8CQsvA9PpfFHBxo0tqRaxXZjL5s4gU2AirZ8fy09BJmpQykJzX1GmH3Q/auI62oIgYsixU9bL7L/aqoskRWJrK8CwQs423uGrq8V617pVkXaGXMyRLoTJxPNjPQZD6ZV65RpZAINBfr61KWlJHafQGO9ENa0vh2wC2JDT3W0s6wHrvakuZsZ7glsaHHWtoZ1mNXW9Kcbe9LHm3vazxt7Ytacr7a0lfx/gOpy3xiBoT6CgAAAABJRU5ErkJggg=="},"Z/GR":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAABo5JREFUaEPtW3dslGUcfo5dhiiUaVmFUhRZAQRNq6yyZTRMDUNcKBBJNI4//AtcMQSEEHYJshwIBcuSjSiIQBgto6wyZK+ySynn8/DahIgS+75f75Le/ZLLXS7f977v8xvPb9x9PlBGjfN3hR8fwYf6PuBxfVdQxA9cIbY0Yvvik5G+FN+osf4ePh8WFRSAj8Lh96Onb/Q4/2Ze1DIUABPjFt/osf4rNHfZkADsR6YsTDcPHQkDLui2Dls4bOECpoGwSxcwgz4EJ2zhsIULmAYC5tJFigAxtYDKFYHIJwBfIeDseeDMOeDgUeDevcBoNt8BC2inNkDdaKBIYUCVeyGCZUuKuzl8J069p6UDK9flP+h8A1y+HBBLkE0aAKVLAvsPAoePA8dOAjdvGaAREUCtakAdWr5OTeAGv087AOzeB1y6nD/gPQdclBbt35NuS8DFi3PckAksWm5c91HyZGUgsQtQphSQnQ2cOgssXAbcuu0tcE8BFy0KvPs6D0i3lSufvwjMmJ+3A781gDMmdudyfYGd9T1w9Vre1njU1Z4BlkUH9TZb3bkD3OZr2ly7gw4laJGaYl7xLqVdv2G31j/v8gzwxyMYd1dMDLZsCixeYdjXRurHAl3aAus5fIpvYRQ4IclmpYfv8QRwm3ig6TOMVYLs1t644qRZbgccMcTc/+NS4OVEYMceYO0mtzV1tyeAh/NwFxiva3iggXTrbbuADRoNOkjCi0CDekAS3bkzra2QGT/DYcG/b3UGXK0q0KcbLbAbOE0m7poALF0N7GMacpEm9JiEF4yFI8sDcc8C85PJ3mdcVvXAwo2eBtrTGsvXGmZux0POW2jSiovUqs401RlYwXWzWZh072A+79nvsqoHgBvXN5aQ9suxZOzQirHM/Hkow+1gIi658k8/k6GvA317AKs2sijZ67aus0urZJQbL6P2s0hWPVk8yBJ7WSq6iBTZjmQoRapqkyKTxfxHXFb1wMIqG4e9ChzgQZasBD4cDhxn+TiXbu0iQ/oBlSoAn0+gEjsC0TWBqbOBa4752NnCAtWf7qYOaMJMHq4TUCPKMKptB1S8GPDOYCD9MBuKDcD7Qw0nfPODiwrNvZ4AFsDeXYGtTEfph1hx9SG5sAGQm9uICCq2NjB9HqBYbt7E8MJRNh+u4glgHaIHLRtDt5NFqlYyOXTFegM8LxLXnJVaM2BnKnM7O6YExnEqqzdlAS/EM8AiGZWBFy6RWVfRJQfJf4yVU/8n6KYNTVpT4zB+uklLysHLmNddWT9XWZ4Ajq5hYvciLbLuV6BfdwP2DONOFZJq7BQq4TyV8W9SMRJ4iUxf9jHg3AXDATnMvXLpXgyV0mwZv10MnDzlbmNnwHUZa4q5I8eAjVtYWvZi3rwJTCGjSlQh6ZV91zT9GWTwy1RAYXZCAlKbysrheKcYW0uVo5u3m/vE/OqWZi8wKSmqCrAghXF8wg20E2A1+CN4sKssDGZ+B7xHNr3GzxPJ1g+KWLcFO6hGTwGlmMbE3mr//HzX9GNnGn+p3sFRD5XyoIx8AyjJqchn402fLQV9+nUQAcuyMSw8ZM1X2NGocR8z2Uws/kvU3+rgEvW4ualL1mzIMlXlaVYWsIsVVZnSgHpjhUoyc/xrzM17WaOrVrcVawtrCKce+ATjKpX1bds40x4ezrA7ytsDjSLk6orfP9kkzOM/T6SE9iSy5RzwPUcvqUASUzFiK9aAlXbUwqmb0VRSs6ivJtkdQ6NbTUu2s+c9wDze6nmT2sZMMW4uxWpctJaEmEhyXLrGvhuzBqzCvgFjUu7VmYD/YNEhhrYRAR7cF/idhLWNbaZKySi2nV9ONNbu2Nrk9RTupQHDdl6z+hebnRwqrQFkYzGnSj51SdPm2M+dFB4iJb0XI8FppJPJaWcSiVCisnUgqzf129FsGzPI1La1urWFmzUCWtP1RDI6qJjURUqRjZs1BkqQ+cXcSk+5rC1C+2CYWV3f/bYN2LTVbjdrwNpOcfsmWVSsnDtke/A/QVKGrrlMa0mkGFtRitLasqzi2VacAGtT5V5ZQOAkmVdNmlKhobiMKAHMYfGgqUi9GNtj0s2pVFl37FT7Ne4r3fV/WtVZBsazksoVFR5LOKW47wHMo1VISOnslfVzSgt2PS4ilj7tODpyBuwCIBj3hgEHQ+uB3DNs4UBqOxh7hS0cDK0Hcs+whQOp7WDsFbZwMLQeyD1D8iGP0HqMJ+Qe1FL8hNKjeH8BrYibfUqAckIAAAAASUVORK5CYII="},n4PX:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s={filters:{reserveDecimal:function(t){return t&&Number(t).toFixed(0)}},data:function(){return this.chartSettings={dimension:["name","value"]},{dataEmpty:!0,buyMoney_total:0,Money_total:0,channel_total:0,channel_totalt:0,from_num:0,fromtotal_num:0,age_num:0,agetotal_num:0,gender_num:0,gendertotal_num:0,lists:"",datas:"",time:[],sale_total:"",sales_data:{data:{columns:[],rows:[]}},salestotal_data:{data:{columns:[],rows:[]}},product_data:{data:{columns:[],rows:[]}},producttotal_data:{data:{columns:[],rows:[]}},city_data:{data:{columns:["name","value"],rows:[]}},citytotal_data:{data:{columns:[],rows:[]}},age_data:{data:{columns:["name","value"],rows:[{name:"0-16岁",value:0},{name:"17-25岁",value:0},{name:"26-35岁",value:0},{name:"36-50岁",value:0},{name:"51-65岁",value:0},{name:"66岁以上",value:0},{name:"未知",value:0}]}},agetotal_data:{data:{columns:[],rows:[]}},gender_data:{data:{columns:["time","男","女","未知"],rows:[]}},gendertotal_data:{data:{columns:[],rows:[]}},sex_data:{data:{columns:["name","value"],rows:[]}},button:["本月数据","本年数据","汇总数据"],curren1:0,curren2:0,curren3:0,curren4:0,curren5:0,total:"",comment:"",caption:""}},methods:{Sales_time:function(t){this.curren1=t,0==t?this.getHome_month():1==t?this.getHome_year():2==t&&this.getHome_allyear()},Product_time:function(t){this.curren2=t,0==t?this.getproduct_month():1==t?this.getproduct_year():2==t&&this.getproduct_allyear()},city_time:function(t){this.curren3=t,0==t?this.getfrom_month():1==t?this.getfrom_year():2==t&&this.getfrom_allyear()},age_time:function(t){this.curren4=t,0==t?this.getage_month():1==t?this.getage_year():2==t&&this.getage_allyear()},gender_time:function(t){this.curren5=t,0==t?this.getsex_month():1==t?this.getsex_year():2==t&&this.getsex_allyear()},getHome_total:function(){var t=this,a={calcSyncKey:"home_total",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today()+" 00:00:00",createDateTo:this.$commonJs.today()+" 23:59:59"}};this.$api.gethome_total(this,a).then(function(a){t.total=a.data.rows[0]})},getHome_comment:function(){var t=this,a={calcSyncKey:"home_comment",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today()+" 00:00:00",createDateTo:this.$commonJs.today()+" 23:59:59"}};this.$api.gethome_total(this,a).then(function(a){t.comment=a.data.rows[0]})},getHome_caption:function(){var t=this,a={calcSyncKey:"home_caption",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today()+" 00:00:00",createDateTo:this.$commonJs.today()+" 23:59:59"}};this.$api.gethome_total(this,a).then(function(a){t.caption=a.data.rows[0]})},handleData2:function(t,a){for(var e=0,s=a.data.rows,o=0;o<s.length;o++)for(var n=0;n<t.rows.length;n++)t.rows[n].name==s[o].ageTypeName&&(t.rows[n].value=s[o].buyNum,e+=s[o].buyNum);this.age_num=e},getage:function(t,a,e){var s=this,o={calcSyncKey:e,condition:{companyId:this.$store.state.companyId,createDateFrom:t,createDateTo:a}};this.$api.gethome_total(this,o).then(function(t){var a=s.age_data.data;s.handleData2(a,t)})},getage_month:function(){var t=new Date,a=t.getFullYear()+"-"+t.getMonth()+"-01 00:00:00",e=this.$commonJs.formattime(t);this.getage(a,e,"home_agetype_month")},getage_year:function(){var t=this.$commonJs.today().substr(0,4)+"-01-01",a=this.$commonJs.today();this.getage(t,a,"home_agetype_year")},getage_allyear:function(){var t=this,a={calcSyncKey:"home_agetype_total",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,4)-2+"-01-01",createDateTo:this.$commonJs.today()}};this.$api.gethome_total(this,a).then(function(a){var e=t.agetotal_data.data,s=a.data.rows;t.agetotal_num=0;var o=t.$commonJs.today().substr(0,4);e.columns=[],e.rows=[{name:"0-16岁",value:0},{name:"17-25岁",value:0},{name:"26-35岁",value:0},{name:"36-50岁",value:0},{name:"51-65岁",value:0},{name:"66岁以上",value:0},{name:"未知",value:0}],e.columns.push("name"),e.columns.push((o-2).toString()),e.columns.push((o-1).toString()),e.columns.push(o);for(var n=o-2+"-BuyNum",i=o-1+"-BuyNum",r=o+"-BuyNum",c=0;c<e.rows.length;c++)e.rows[c][o-2]=0,e.rows[c][o-1]=0,e.rows[c][o]=0,e.rows[c].value=0;for(var m=0;m<s.length;m++)for(var u=0;u<e.rows.length;u++)e.rows[u].name==s[m].ageTypeName&&(e.rows[u][o-2]=s[m][n]/1e4,e.rows[u][o-1]=s[m][i]/1e4,e.rows[u][o]=s[m][r]/1e4,e.rows[u].value=s[m].buyNum/1e4,t.agetotal_num+=s[m].buyNum)})},fromData:function(t,a){var e=this;this.from_num=0;var s=a.data.rows;t.rows=[];var o=0;s.forEach(function(a){t.rows[o]={},e.from_num+=a.buyNum,t.rows[o].name=a.fromProvinceName,t.rows[o].value=a.buyNum,o++})},getfrom:function(t,a,e){var s=this,o={calcSyncKey:e,condition:{companyId:this.$store.state.companyId,createDateFrom:t,createDateTo:a}};this.$api.gethome_total(this,o).then(function(t){var a=s.city_data.data;s.fromData(a,t)})},getfrom_allyear:function(){var t=this,a={calcSyncKey:"home_fromarea_total",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,4)-2+"-01-01",createDateTo:this.$commonJs.today()}};this.$api.gethome_total(this,a).then(function(a){var e=t.citytotal_data.data,s=a.data.rows;t.fromtotal_num=0;var o=0,n=t.$commonJs.today().substr(0,4);e.columns=[],e.rows=[],e.columns.push("name"),e.columns.push((n-2).toString()),e.columns.push((n-1).toString()),e.columns.push(n);var i=n-2+"-BuyNum",r=n-1+"-BuyNum",c=n+"-BuyNum";s.forEach(function(a){e.rows[o]={},e.rows[o].name=a.fromProvinceName,e.rows[o][n-2]=a[i]/1e4,e.rows[o][n-1]=a[r]/1e4,e.rows[o][n]=a[c]/1e4,t.fromtotal_num+=a.buyNum,o++})})},getfrom_year:function(){var t=this.$commonJs.today().substr(0,4)+"-01-01",a=this.$commonJs.today();this.getfrom(t,a,"home_fromarea_year")},getfrom_month:function(){var t=new Date,a=this.$commonJs.today().substr(0,7)+"-01 00:00:00",e=this.$commonJs.formattime(t);this.getfrom(a,e,"home_fromarea_month")},sexData:function(t,a,e,s){var o=s.substr(0,4),n=this.$commonJs.today().substr(0,7),i=a.data.rows;if(!i.length)return 0;var r=this.sex_data.data;r.rows=[],r.rows=[{name:"男"},{name:"女"},{name:"未知"}];var c=31,m=0;2==e&&(c=12),t.rows=[];for(var u=0;u<c;u++)t.rows[u]={},t.rows[u].time=(u+1).toString();if(1==e)for(var h=0;h<i.length;h++){m+=i[h].buyNum;for(var _=i[h].sexTypeName,v=0;v<31;v++){var d=n+"-"+(v+1<10?"0"+(v+1):v+1)+"-BuyNum";t.rows[v][_]=i[h][d]}}else if(2==e)for(var l=0;l<i.length;l++){m+=i[l].buyNum;for(var g=i[l].sexTypeName,y=0;y<12;y++){var p=o+"-"+(y+1<10?"0"+(y+1):y+1)+"-BuyNum";t.rows[y][g]=i[l][p]}}for(var A=0;A<i.length;A++)for(var f=i[A].sexTypeName,w=0;w<3;w++)r.rows[w].name==f&&(r.rows[w].value=i[A].buyNum);this.gender_num=m},getsex:function(t,a,e,s){var o=this,n={calcSyncKey:e,condition:{companyId:this.$store.state.companyId,createDateFrom:t,createDateTo:a}};this.$api.gethome_total(this,n).then(function(a){o.gender_data.data.rows=[],o.gender_num=0;var e=o.gender_data.data;o.sexData(e,a,s,t)})},getsex_allyear:function(){var t=this,a=new Date,e={calcSyncKey:"home_sex_total",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,4)-2+"-01-01 00:00:00",createDateTo:this.$commonJs.formattime(a)}};this.$api.gethome_total(this,e).then(function(a){var e=t.gendertotal_data.data,s=a.data.rows;t.gendertotal_num=0;var o=t.$commonJs.today().substr(0,4);e.columns=[],e.rows=[{name:"男"},{name:"女"},{name:"未知"}],e.columns.push("name"),e.columns.push((o-2).toString()),e.columns.push((o-1).toString()),e.columns.push(o);for(var n=o-2+"-BuyNum",i=o-1+"-BuyNum",r=o+"-BuyNum",c=function(a){s.forEach(function(s){e.rows[a].name==s.sexTypeName&&(e.rows[a][o-2]=s[n]/1e4,e.rows[a][o-1]=s[i]/1e4,e.rows[a][o]=s[r]/1e4,t.gendertotal_num+=s.buyNum)})},m=0;m<3;m++)c(m);console.log(t.gendertotal_data)})},getsex_year:function(){var t=this.$commonJs.today().substr(0,4)+"-01-01",a=this.$commonJs.today();this.getsex(t,a,"home_sex_year",2)},getsex_month:function(){var t=new Date,a=this.$commonJs.today().substr(0,7)+"-01 00:00:00",e=this.$commonJs.formattime(t);this.getsex(a,e,"home_sex_month",1)},handleData:function(t,a,e,s,o){var n=s.data.rows;if(!n.length)return 0;var i=this.$commonJs.today(),r=i.substr(0,7),c=i.substr(0,4),m=0;for(var u in t.columns.push("time"),n)if(1==o){var h="";h=null==n[u].channelName?"未知":n[u].channelName,t.columns.push(h)}else{var _=n[u].productName;t.columns.push(_)}for(var v=0;v<a;v++)t.rows[v]={},t.rows[v].time=(v+1).toString();if(1==e)for(var d=0;d<n.length;d++)if(m+=n[d].buyMoney,1==o){var l="";l=null==n[d].channelName?"未知":n[d].channelName;for(var g=0;g<31;g++){var y=r+"-"+(g+1<10?"0"+(g+1):g+1)+"-BuyMoney";t.rows[g][l]=n[d][y]}}else for(var p=n[d].productName,A=0;A<31;A++){var f=r+"-"+(A+1<10?"0"+(A+1):A+1)+"-BuyMoney";t.rows[A][p]=n[d][f]}else if(2==e)for(var w=0;w<n.length;w++)if(m+=n[w].buyMoney,1==o)for(var D=n[w].channelName,b=0;b<12;b++){var x=c+"-"+(b+1<10?"0"+(b+1):b+1)+"-BuyMoney";t.rows[b][D]=n[w][x]}else for(var N=n[w].productName,B=0;B<12;B++){var C=c+"-"+(B+1<10?"0"+(B+1):B+1)+"-BuyMoney";t.rows[B][N]=n[w][C]}1==o?this.buyMoney_total=m:2==o&&(this.channel_total=m)},getproduct_month:function(){var t=this,a=new Date,e={calcSyncKey:"home_product_month",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,7)+"-01 00:00:00",createDateTo:this.$commonJs.formattime(a)}};this.$api.gethome_total(this,e).then(function(a){t.channel_total=0,t.product_data.data.columns=[],t.product_data.data.rows=[];var e=t.product_data.data;t.handleData(e,31,1,a,2)})},getproduct_year:function(){var t=this,a={calcSyncKey:"home_product_year",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,4)+"-01-01",createDateTo:this.$commonJs.today()}};this.$api.gethome_total(this,a).then(function(a){t.channel_total=0,t.product_data.data.columns=[],t.product_data.data.rows=[];var e=t.product_data.data;t.handleData(e,12,2,a,2)})},getproduct_allyear:function(){var t=this;this.channel_totalt=0;var a={calcSyncKey:"home_product_total",condition:{companyId:this.$store.state.companyId,createDateFrom:"2016-01-01",createDateTo:this.$commonJs.today()}};this.$api.gethome_total(this,a).then(function(a){var e=t.producttotal_data.data,s=a.data.rows;t.channel_total=0;var o=0,n=t.$commonJs.today().substr(0,4);e.columns=[],e.rows=[],e.columns.push("name"),e.columns.push((n-2).toString()),e.columns.push((n-1).toString()),e.columns.push(n);var i=n-2+"-BuyMoney",r=n-1+"-BuyMoney",c=n+"-BuyMoney";s.forEach(function(a){e.rows[o]={},e.rows[o].name=a.productName,e.rows[o][n-2]=a[i]/1e4,e.rows[o][n-1]=a[r]/1e4,e.rows[o][n]=a[c]/1e4,t.channel_totalt+=a.buyMoney,o++})})},getHome_month:function(){var t=this,a={calcSyncKey:"home_channel_channeltype_month",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,7)+"-01 00:00:00",createDateTo:this.$commonJs.today()+" 00:00:00"}};this.$api.gethome_total(this,a).then(function(a){t.buyMoney_total=0,t.sales_data.data.columns=[],t.sales_data.data.rows=[];var e=t.sales_data.data;t.handleData(e,31,1,a,1)})},getHome_year:function(){var t=this,a={calcSyncKey:"home_channel_channeltype_year",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,4)+"-01-01",createDateTo:this.$commonJs.today()}};this.$api.gethome_total(this,a).then(function(a){t.buyMoney_total=0,t.sales_data.data.columns=[],t.sales_data.data.rows=[];var e=t.sales_data.data;t.handleData(e,12,2,a,1)})},getHome_allyear:function(){var t=this,a={calcSyncKey:"home_channel_channeltype_total",condition:{companyId:this.$store.state.companyId,createDateFrom:this.$commonJs.today().substr(0,4)-2+"-01-01",createDateTo:this.$commonJs.today()}};this.$api.gethome_total(this,a).then(function(a){var e=t.salestotal_data.data,s=a.data.rows;t.Money_total=0;var o=0,n=t.$commonJs.today().substr(0,4);e.columns=[],e.rows=[],e.columns.push("name"),e.columns.push((n-2).toString()),e.columns.push((n-1).toString()),e.columns.push(n);var i=n-2+"-BuyMoney",r=n-1+"-BuyMoney",c=n+"-BuyMoney";s.forEach(function(a){e.rows[o]={},e.rows[o].name=a.channelName,e.rows[o][n-2]=a[i]/1e4,e.rows[o][n-1]=a[r]/1e4,e.rows[o][n]=a[c]/1e4,t.Money_total+=a.buyMoney,o++})})},gettime:function(){var t=new Date;this.time[0]=t.getFullYear(),this.time[1]=("0"+(t.getMonth()+1)).slice(-2),this.time[2]=t.toDateString().split(" ")[0]}},mounted:function(){this.gettime(),this.getHome_total(),this.getHome_comment(),this.getHome_caption(),this.getHome_month(),this.getproduct_month(),this.getfrom_month(),this.getage_month(),this.getsex_month();var t=this;this.date1=(new Date).Format("yyyy-MM-dd"),function a(){var e=setTimeout(function(){t.getHome_total(),t.getHome_comment(),t.getHome_caption(),a()},3e5);t.$once("hook:beforeDestroy",function(){clearTimeout(e)})}()}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"bodyT"},[e("div",{staticClass:"background"}),t._v(" "),e("div",{staticClass:"box"},[e("div",[e("div",{staticClass:"hand"},[e("div",{staticStyle:{"margin-right":"7%"}},[t._m(0),t._v(" "),e("div",{staticClass:"data_total",staticStyle:{width:"86px","margin-left":"10%"}},[e("p",[t._v("今日游客")]),t._v(" "),e("p",[t._v(t._s(t.total.buyNum||0))])]),t._v(" "),e("div",{staticClass:"data_total right"},[e("p",[e("span",[t._v("散客:")]),t._v(" "),e("span",[t._v(t._s(t.total.singleBuyNum||0))])]),t._v(" "),e("p",[e("span",[t._v("团队:")]),t._v(" "),e("span",[t._v(t._s(t.total.groupBuyNum||0))])])])]),t._v(" "),e("div",[t._m(1),t._v(" "),e("div",{staticClass:"data_total",staticStyle:{width:"86px","margin-left":"10%"}},[e("p",[t._v("今日收入")]),t._v(" "),e("p",[t._v(t._s(t.total.buyMoney||0))])]),t._v(" "),e("div",{staticClass:"data_total right"},[e("p",[e("span",[t._v("散客:")]),t._v(" "),e("span",[t._v(t._s(t.total.singleBuyMoney||0))])]),t._v(" "),e("p",[e("span",[t._v("团队:")]),t._v(" "),e("span",[t._v(t._s(t.total.groupBuyMoney||0))])])])])]),t._v(" "),e("div",{staticClass:"hand"},[e("div",{staticStyle:{"margin-right":"7%"}},[t._m(2),t._v(" "),e("div",{staticClass:"data_total",staticStyle:{width:"86px","margin-left":"10%"}},[e("p",[t._v("承载量")]),t._v(" "),e("p",[t._v(t._s(t._f("reserveDecimal")(t.caption.captionTotal/t.caption.captionQuote*100||0))+"%")])]),t._v(" "),e("div",{staticClass:"data_total right"},[e("p",[e("span",[t._v("评价:")]),t._v(" "),e("span",[t._v(t._s(t.comment.comment||0))])]),t._v(" "),e("p",[e("span",[t._v("咨询:")]),t._v(" "),e("span",[t._v(t._s(t.comment.quote||0))])])])]),t._v(" "),e("div",[t._m(3),t._v(" "),e("div",{staticClass:"data_total",staticStyle:{width:"86px","margin-left":"10%"}},[e("p",[t._v("旅行团")]),t._v(" "),e("p",[t._v(t._s(t.total.groupBuyNum||0))])]),t._v(" "),e("div",{staticClass:"data_total right"},[e("p",[e("span",[t._v("今日团队:")]),t._v(" "),e("span",[t._v(t._s(t.total.groupBuyNum||0))])]),t._v(" "),e("p",[e("span",[t._v("今日人数:")]),t._v(" "),e("span",[t._v(t._s(t.total.buyNum||0))])])])])])])]),t._v(" "),e("div",[e("div",{staticClass:"chart"},[e("div",[e("div",{staticClass:"chart_name"},[e("span",[t._v("营收趋势")]),t._v(" "),e("div",t._l(t.button,function(a,s){return e("a",{key:s,class:{focus_button:s==t.curren1},on:{click:function(a){return t.Sales_time(s)}}},[t._v(t._s(a))])}),0)]),t._v(" "),e("div",{staticClass:"chart_data"},[0==t.curren1?e("span",[t._v(t._s(t.time[0])+"."+t._s(t.time[1]))]):t._e(),t._v(" "),1==t.curren1?e("span",[t._v(t._s(t.time[0]))]):t._e(),t._v(" "),2==t.curren1?e("span",[t._v(t._s(t.time[0]-2)+"-"+t._s(t.time[0]))]):t._e(),t._v(" "),e("span",[t._v(t._s(t.time[2]))]),t._v(" "),0==t.curren1?e("span",[t._v(t._s(t.buyMoney_total.toFixed(2)))]):t._e(),t._v(" "),1==t.curren1?e("span",[t._v(t._s((t.buyMoney_total/1e4).toFixed(2)))]):t._e(),t._v(" "),2==t.curren1?e("span",[t._v(t._s((t.Money_total/1e4).toFixed(2)))]):t._e()]),t._v(" "),0==t.curren1?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 元")]),t._v(" "),e("ve-line",{attrs:{data:t.sales_data.data,extend:this.$bigData_home.lineEchart(),height:"242px"}})],1):t._e(),t._v(" "),1==t.curren1?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万元")]),t._v(" "),e("ve-line",{attrs:{data:t.sales_data.data,extend:this.$bigData_home.lineEchart(),height:"242px"}})],1):t._e(),t._v(" "),2==t.curren1?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万元")]),t._v(" "),e("ve-histogram",{staticStyle:{"margin-top":"-90px"},attrs:{data:t.salestotal_data.data,extend:this.$bigData_home.zhuduiEchart(t.time[0]-2,t.time[0]-1,t.time[0]),height:"310px"}})],1):t._e()]),t._v(" "),e("div",[e("div",{staticClass:"chart_name"},[e("span",[t._v("产品趋势")]),t._v(" "),e("div",{staticStyle:{"z-index":"10"}},t._l(t.button,function(a,s){return e("a",{key:s,class:{focus_button:s==t.curren2},on:{click:function(a){return t.Product_time(s)}}},[t._v(t._s(a))])}),0)]),t._v(" "),e("div",{staticClass:"chart_data"},[0==t.curren2?e("span",[t._v(t._s(t.time[0])+"."+t._s(t.time[1]))]):t._e(),t._v(" "),1==t.curren2?e("span",[t._v(t._s(t.time[0]))]):t._e(),t._v(" "),2==t.curren2?e("span",[t._v(t._s(t.time[0]-2)+"-"+t._s(t.time[0]))]):t._e(),t._v(" "),e("span",[t._v(t._s(t.time[2]))]),t._v(" "),0==t.curren2?e("span",[t._v(t._s(t.channel_total.toFixed(2)))]):t._e(),t._v(" "),1==t.curren2?e("span",[t._v(t._s((t.channel_total/1e4).toFixed(2)))]):t._e(),t._v(" "),2==t.curren2?e("span",[t._v(t._s((t.channel_totalt/1e4).toFixed(2)))]):t._e()]),t._v(" "),0==t.curren2?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 元")]),t._v(" "),e("ve-line",{attrs:{data:t.product_data.data,extend:this.$bigData_home.lineEchart(),height:"242px"}})],1):t._e(),t._v(" "),1==t.curren2?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万元")]),t._v(" "),e("ve-line",{attrs:{data:t.product_data.data,extend:this.$bigData_home.lineEchart(),height:"242px"}})],1):t._e(),t._v(" "),2==t.curren2?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万元")]),t._v(" "),e("ve-histogram",{staticStyle:{"margin-top":"-90px"},attrs:{data:t.producttotal_data.data,extend:this.$bigData_home.zhuduiEchart(t.time[0]-2,t.time[0]-1,t.time[0]),height:"390px"}})],1):t._e()])]),t._v(" "),e("div",{staticStyle:{"margin-top":"80px"}},[e("div",{staticClass:"chart"},[e("div",[e("div",{staticClass:"chart_name"},[e("span",{staticStyle:{"min-width":"190px"}},[t._v("来源地TOP10")]),t._v(" "),e("div",{staticStyle:{"min-width":"237px"}},t._l(t.button,function(a,s){return e("a",{key:s,class:{focus_button:s==t.curren3},on:{click:function(a){return t.city_time(s)}}},[t._v(t._s(a))])}),0)]),t._v(" "),e("div",{staticClass:"chart_data"},[0==t.curren3?e("span",[t._v(t._s(t.time[0])+"."+t._s(t.time[1]))]):t._e(),t._v(" "),1==t.curren3?e("span",[t._v(t._s(t.time[0]))]):t._e(),t._v(" "),2==t.curren3?e("span",[t._v(t._s(t.time[0]-2)+"-"+t._s(t.time[0]))]):t._e(),t._v(" "),e("span",[t._v(t._s(t.time[2]))]),t._v(" "),0==t.curren3?e("span",[t._v(t._s(t.from_num))]):t._e(),t._v(" "),1==t.curren3?e("span",[t._v(t._s((t.from_num/1e4).toFixed(2)))]):t._e(),t._v(" "),2==t.curren3?e("span",[t._v(t._s((t.fromtotal_num/1e4).toFixed(2)))]):t._e()]),t._v(" "),0==t.curren3?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 人")]),t._v(" "),e("ve-histogram",{attrs:{data:t.city_data.data,extend:this.$bigData_home.zhuEchart(),height:"230px"}})],1):t._e(),t._v(" "),1==t.curren3?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万人")]),t._v(" "),e("ve-histogram",{attrs:{data:t.city_data.data,extend:this.$bigData_home.zhuEchart(),height:"230px"}})],1):t._e(),t._v(" "),2==t.curren3?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万人")]),t._v(" "),e("ve-histogram",{staticStyle:{"margin-top":"-90px"},attrs:{data:t.citytotal_data.data,extend:this.$bigData_home.zhuduiEchart(t.time[0]-2,t.time[0]-1,t.time[0]),height:"360px"}})],1):t._e()]),t._v(" "),e("div",[e("div",{staticClass:"chart_name"},[e("span",{staticStyle:{width:"160px"}},[t._v("用户年龄段")]),t._v(" "),e("div",t._l(t.button,function(a,s){return e("a",{key:s,class:{focus_button:s==t.curren4},on:{click:function(a){return t.age_time(s)}}},[t._v(t._s(a))])}),0)]),t._v(" "),e("div",{staticClass:"chart_data"},[0==t.curren4?e("span",[t._v(t._s(t.time[0])+"."+t._s(t.time[1]))]):t._e(),t._v(" "),1==t.curren4?e("span",[t._v(t._s(t.time[0]))]):t._e(),t._v(" "),2==t.curren4?e("span",[t._v(t._s(t.time[0]-2)+"-"+t._s(t.time[0]))]):t._e(),t._v(" "),e("span",[t._v(t._s(t.time[2]))]),t._v(" "),0==t.curren4?e("span",[t._v(t._s(t.age_num))]):t._e(),t._v(" "),1==t.curren4?e("span",[t._v(t._s((t.age_num/1e4).toFixed(2)))]):t._e(),t._v(" "),2==t.curren4?e("span",[t._v(t._s((t.agetotal_num/1e4).toFixed(2)))]):t._e()]),t._v(" "),0==t.curren4?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 人")]),t._v(" "),e("ve-histogram",{attrs:{data:t.age_data.data,extend:this.$bigData_home.zhuEchart(),height:"238px"}})],1):t._e(),t._v(" "),1==t.curren4?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万人")]),t._v(" "),e("ve-histogram",{attrs:{data:t.age_data.data,extend:this.$bigData_home.zhuEchart(),height:"238px"}})],1):t._e(),t._v(" "),2==t.curren4?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万人")]),t._v(" "),e("ve-bar",{staticStyle:{"margin-top":"-90px"},attrs:{data:t.agetotal_data.data,extend:this.$bigData_home.zhuduirowEchart(t.time[0]-2,t.time[0]-1,t.time[0]),height:"355px",settings:t.chartSettings}})],1):t._e()])])]),t._v(" "),e("div",{staticStyle:{"margin-top":"80px"}},[e("div",{staticClass:"chart"},[e("div",[e("div",{staticClass:"chart_name"},[e("span",[t._v("用户性别")]),t._v(" "),e("div",t._l(t.button,function(a,s){return e("a",{key:s,class:{focus_button:s==t.curren5},on:{click:function(a){return t.gender_time(s)}}},[t._v(t._s(a))])}),0)]),t._v(" "),e("div",{staticClass:"chart_data"},[0==t.curren5?e("span",[t._v(t._s(t.time[0])+"."+t._s(t.time[1]))]):t._e(),t._v(" "),1==t.curren5?e("span",[t._v(t._s(t.time[0]))]):t._e(),t._v(" "),2==t.curren5?e("span",[t._v(t._s(t.time[0]-2)+"-"+t._s(t.time[0]))]):t._e(),t._v(" "),e("span",[t._v(t._s(t.time[2]))]),t._v(" "),0==t.curren5?e("span",[t._v(t._s(t.gender_num))]):t._e(),t._v(" "),1==t.curren5?e("span",[t._v(t._s((t.gender_num/1e4).toFixed(2)))]):t._e(),t._v(" "),2==t.curren5?e("span",[t._v(t._s((t.gendertotal_num/1e4).toFixed(2)))]):t._e()]),t._v(" "),0==t.curren5?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位:人")]),t._v(" "),e("ve-line",{staticStyle:{"margin-top":"-90px"},attrs:{data:t.gender_data.data,extend:this.$bigData_home.lineEchart_sex(),height:"280px"}})],1):t._e(),t._v(" "),1==t.curren5?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位:万人")]),t._v(" "),e("ve-line",{staticStyle:{"margin-top":"-90px"},attrs:{data:t.gender_data.data,extend:this.$bigData_home.lineEchart_sex(),height:"280px"}})],1):t._e(),t._v(" "),2==t.curren5?e("div",{staticClass:"chart_img"},[e("span",[t._v("单位: 万人")]),t._v(" "),e("ve-histogram",{staticStyle:{"margin-top":"-90px"},attrs:{data:t.gendertotal_data.data,extend:this.$bigData_home.zhuduiEchartnoxie(t.time[0]-2,t.time[0]-1,t.time[0]),height:"300px"}})],1):t._e()]),t._v(" "),e("div",[e("div",{staticClass:"chart_img"},[e("ve-pie",{attrs:{data:t.sex_data.data,extend:this.$bigData_home.pieEchart(),height:"350px"}})],1)])])])])])},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"pictrue"},[a("img",{attrs:{src:e("Fivg")}})])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"pictrue"},[a("img",{attrs:{src:e("zRAq")}})])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"pictrue"},[a("img",{attrs:{src:e("/qMQ")}})])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"pictrue"},[a("img",{attrs:{src:e("Z/GR")}})])}]};var n=e("C7Lr")(s,o,!1,function(t){e("ojm2")},"data-v-3d6e18b6",null);a.default=n.exports},ojm2:function(t,a){},zRAq:function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAABitJREFUaEPtW+tTVHUYflZAUJGbFl0RiArU0dSmUXSKmpJKoKyYsrJJLae+9VH/gvpUfdUuU5Nm2VgpGNkNzQualzSRTEVQy9JRAUVFufU8/DjDBuye5ZwDMbv7zuCu55zf5fm97/u8l931gdK5/N0i/ruMbyfxL0XXwkgaieUQ4HvL9+Yb5b7O5e88yQtfhRHAYFDm+zqXvV0Fn29mRADu7NwpwI0EnBwhgJtk0p0RAbYbZBRwuGs7quGohsPsBKImHWYK7QMnquGohsPsBIbepGNigLg4oKXlfznKwQeclAjcOA7IywSSk1h2q+LmtcpfgJraIQc9eIBvSAVm3QNk3grcNL4vsN+PA6vLgI6hrV28B5wQD8zNZ+8kBxg7pgfohSbgXAPQ3gFcpTn/UAU0Xup7ECNGAAseB9ragHXf87XdUyvwFrA0WVQAZN9mNtl8GTh4FDj+J3Dyb/rtNaCVQAJJbCyweL6xitZWYMUXwOmzwxRwGnsIi58C9Co5dAz4eQ9w6p/QNuwPViN2VwMVW3vGSuMeaNsbDaeSjF55Gkgl2GvXgW+3Abt+Cw2onhJrP/cYiS3bjJF2G3qZ+1Vax2ffAE39uEHoK8E9YPnswmIgi2YssJu2AzsPDGALfDQ9DXh9ATCSwINJBQ9yK63GhbgHXPIgMHOq2cL6n4Jr1udjWPJjZf//FxcYVu/SMM336Ek+S4Kz5CL5YONm16zuDrBCz6vPAIlkY/ns6vLAZ58zAcjNNH4pppYIpMLTMYKT+B+ern9eAVyneXso7gCXPETtTjFs/P464OyF/reWRh9/6QmTgNT/BXz4JbCEPj/hFuDMOeCj9T2+aYEW0JXDiaWVQS1iDz+doWjHfqCc5hZMHp0D3H+veeLyVWDMKPN+C31yE33TX2TaPsbjql//6wIeaNq5hmWiipkSmbJMOpBYCUghQU/P63lqX40hObo25KNDIM4BFz0A5E8DlEGtWAtcCrDhOdMJciKhCBUldSwQP9IwuhV6dGsPP/7Zvm/QITsH/CJD0cQ7gCP1RsP9ZVDxDDOLaAUZ9FU7USb2AX1bMTiQKO3s8GNuuzn7ue8McCxLvGeZKChfFpt+siHw0kpKptwNxHCzkpwMkzqeOM3Qc8Jca2eoOnCYufXF4PPMKwDkBjVB3MfmEJwBTkgAXis1rHvwCLCGGVAwSaYZqy4cQdstJrPnZgGH64ANjNtdcZnX7TKo0rnANLpGHfNyHXALXcKBOAOsIl4VjUzaTsMPzyJApowCKxlNdk5i3BZJXSFbSwRatfGPOwNDWFhiUk89t2ZjTywfIGhngLVIKD6sHHmJBz4cxypKXCBXEOBVrKMdinPAKgPzGS/tWDqF5jw1l1bbreG7GM608Xr6sAivS8Mkov1/BDZrxfylzOjS+OWELbtNKHMozgGLfFQOSuzisLU5mfXz/HaFXEGa0jj/3DoQiMl3ctw8c1dMXtudijoA7Ryw/PBlmpmK/ipmWmWb7Zd3CtgqLFRby5wDxXz7HbgsD628VxvQRkIp9lVK5knDDC2rghQb1uYzbjZWoQOuYtlZVhkCrMCPONew5hzPamkpw1PiaKCarZxPyZ52orisnFq+2F9Pq/f4FwhW8b75isnozutLOc7FHWCtO5B6eKD7VJ2t+SUuycpa2j1g5cUq/bLIvMqPvyODyvTciiLAI+x+av46lpQff+1JbewesICl0EzVCJC5Oulp9T4cabZwtgHbwHRzJU25qdntEXaN9wawZurdtawmKW3ba9qzoYoIas4MYDJ9ViKw77Gx0MiKzCPxDrCl6dJCY94SsbfITCYp4GrA+1dVyqBGMS8XUI2ZxHgrNpZozFq2eDzSrHc+3PvkZYYF9wEzmOiLvS2xPnloY1al/rIqrlhWUGJ6q5etZ8XGe1kRVe7yxGd7b89bDfvPPo5p4Gw2CKQ5tYHs5Mx58wnFDrZ1XIaeYEsNHmBrVbV30llGZt/OcpL9Z4nV8dB7Nf5qT/GVgF1kUHbnOXgmbbeyGgHyXfmy1a61G+Ph/cHXsIeb9WKqKGAvTnE4zxHV8HDWjhd7i2rYi1McznNEoIYj7kceEfcznkj7oZYIJpJ+ivcvvi6Pw8YHyVIAAAAASUVORK5CYII="}});
\ 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([100],{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([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([101],{"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([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([102],{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([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([103],{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([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([104],{"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([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([105],{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([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([106],{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([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([107],{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([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([108],{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([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([10],{AcsD:function(e,t){},BFix:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("a3Yh"),n=a.n(s),i={data:function(){var e;return e={show:!1,qudao:[],qudaolist:[],jiesuan:[],WebSystemEnumReqVo:{companyId:this.$store.state.companyId,enumType:"PayType"},WebCompanyPriceTypeReqVo:{companyId:this.$store.state.companyId},WebChanelReqVo:{companyId:this.$store.state.companyId,otherCompanyId:"",companyName:"",companyUserName:"",contactUserName:"",contactPhone:"",companyProvice:"",companyCity:"",companyArea:"",companyAddress:"",channelStatus:"",createUserId:"",channelId:"",versonFlag:"",priceTypeps:[],payTypes:[]},fate:""},n()(e,"show",!1),n()(e,"shows",!1),n()(e,"checkList",[]),n()(e,"value",""),n()(e,"userType",[{value:"0",label:"个人"},{value:"1",label:"企业"}]),n()(e,"checked",!0),e},methods:{regular:function(e,t,a,s){""!==e&&(t.test(e)?this.$message({message:a,type:"success",duration:1e3}):this.$message.error(s))},blur:function(){this.regular(this.WebChanelReqVo.contactPhone,this.$commonJs.phoneReg(),"手机号通过","请输入11位正确的手机号")},present:function(){var e=this;if(""===this.WebChanelReqVo.contactPhone||this.$commonJs.phoneReg().test(this.WebChanelReqVo.contactPhone))if(""!==this.WebChanelReqVo.companyName){for(var t=0;t<this.WebChanelReqVo.payTypes.length;t++)"1"===this.WebChanelReqVo.payTypes[t].payedType&&(this.WebChanelReqVo.payTypes[t].payedDay=this.fate);console.log(this.WebChanelReqVo),this.axios.post(this.httpUrl+"/tbd-chanel/channel/save",this.WebChanelReqVo).then(function(t){"00"==t.data.code?(e.$message({message:"添加成功",type:"success"}),e.$emit("data",e.shows,"成功")):(e.$message.error(t.data.message),console.log(t))})}else this.$message.error("渠道名称不能为空");else this.$message.error("请输入11位正确的手机号")},reveal:function(e,t,a){"实时结算"===t&&(this.show=!this.show),e?this.show?this.WebChanelReqVo.payTypes.push({payedType:a,payedDay:this.fate}):this.WebChanelReqVo.payTypes.push({payedType:a}):this.WebChanelReqVo.payTypes=this.WebChanelReqVo.payTypes.filter(function(e){return a!=e.payedType})},change:function(e,t){e?this.WebChanelReqVo.priceTypeps.push({priceTypeId:t}):this.WebChanelReqVo.priceTypeps=this.WebChanelReqVo.priceTypeps.filter(function(e){return t!=e.priceTypeId})},none:function(){this.$emit("data",this.shows)},getData:function(e){var t=this;this.axios.post(this.httpUrl+"/tbd-chanel/companyPriceType/list",e).then(function(e){if("00"===e.data.code){var a={},s=e.data.data;s.forEach(function(e,t){a[e.priceTypeId]=e,e.childs=[]}),s.forEach(function(e,t){e.parentPriceTypeId&&a[e.parentPriceTypeId].childs.push(e)}),t.qudao=s}})},getjiesuan:function(e){var t=this;this.axios.post(this.httpUrl+"/tbd-chanel/systemEnum/list",e).then(function(e){"00"===e.data.code&&(t.jiesuan=e.data.data)})}},created:function(){this.getData(this.WebCompanyPriceTypeReqVo),this.getjiesuan(this.WebSystemEnumReqVo)}},o={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"box"},[a("div",{staticClass:"center"},[a("p",[a("span",[e._v("新增渠道")]),e._v(" "),a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"},on:{click:e.none}},[a("use",{attrs:{"xlink:href":"#iconguanbi1"}})])]),e._v(" "),a("form",[a("div",{staticClass:"biaodan"},[a("p",[a("span",[e._v("渠道名称:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.companyName,expression:"WebChanelReqVo.companyName"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.companyName},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"companyName",t.target.value)}}}),a("i",{staticStyle:{color:"#FF0000","margin-left":"0.1rem",position:"relative",top:"0.05rem"}},[e._v("*")])]),e._v(" "),a("div",{staticClass:"p",staticStyle:{"box-sizing":"border-box",padding:"0.1rem","line-height":"0.25rem"}},[a("span",[e._v("渠道类型:")]),e._v(" "),a("div",e._l(e.qudao,function(t,s){return t.parentPriceTypeId?e._e():a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.checkList,expression:"checkList"}],attrs:{type:"checkbox"},domProps:{value:t.priceTypeId,checked:Array.isArray(e.checkList)?e._i(e.checkList,t.priceTypeId)>-1:e.checkList},on:{change:[function(a){var s=e.checkList,n=a.target,i=!!n.checked;if(Array.isArray(s)){var o=t.priceTypeId,r=e._i(s,o);n.checked?r<0&&(e.checkList=s.concat([o])):r>-1&&(e.checkList=s.slice(0,r).concat(s.slice(r+1)))}else e.checkList=i},function(a){return e.change(a,t.priceTypeId)}]}}),e._v("\n "+e._s(t.priceTypeName)+"\n ")]),e._v(" "),t.childs.length>0?a("i",[e._v("(")]):e._e(),e._v(" "),e._l(t.childs,function(t,s){return a("label",{staticStyle:{"margin-left":"0.1rem"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.checkList,expression:"checkList"}],attrs:{type:"checkbox"},domProps:{value:t.priceTypeId,checked:Array.isArray(e.checkList)?e._i(e.checkList,t.priceTypeId)>-1:e.checkList},on:{change:[function(a){var s=e.checkList,n=a.target,i=!!n.checked;if(Array.isArray(s)){var o=t.priceTypeId,r=e._i(s,o);n.checked?r<0&&(e.checkList=s.concat([o])):r>-1&&(e.checkList=s.slice(0,r).concat(s.slice(r+1)))}else e.checkList=i},function(a){return e.change(a,t.priceTypeId)}]}}),e._v("\n "+e._s(t.priceTypeName)+"\n ")])}),e._v(" "),t.childs.length>0?a("i",[e._v(")")]):e._e()],2)}),0)]),e._v(" "),a("p",[a("span",[e._v("法定负责人:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.companyUserName,expression:"WebChanelReqVo.companyUserName"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.companyUserName},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"companyUserName",t.target.value)}}})]),e._v(" "),a("p",[a("span",[e._v("联系人:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.contactUserName,expression:"WebChanelReqVo.contactUserName"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.contactUserName},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"contactUserName",t.target.value)}}})]),e._v(" "),a("p",[a("span",[e._v("联系电话:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.contactPhone,expression:"WebChanelReqVo.contactPhone"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.contactPhone},on:{blur:e.blur,input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"contactPhone",t.target.value)}}})]),e._v(" "),a("p",[a("span",[e._v("详细地址:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.companyAddress,expression:"WebChanelReqVo.companyAddress"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.companyAddress},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"companyAddress",t.target.value)}}})]),e._v(" "),a("p",{staticClass:"cc",staticStyle:{display:"flex","line-height":"0.25rem"}},[a("span",[e._v("结算规则:")]),e._v(" "),a("el-checkbox-group",{model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},e._l(e.jiesuan,function(t,s){return a("el-checkbox",{key:s,attrs:{label:t.enumValue},on:{change:function(a){return e.reveal(a,t.enumName,t.enumValue)}}},[e._v(e._s(t.enumName))])}),1)],1),e._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"pos"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fate,expression:"fate"}],staticClass:"inputs",attrs:{type:"text"},domProps:{value:e.fate},on:{input:function(t){t.target.composing||(e.fate=t.target.value)}}}),e._v("  天")])]),e._v(" "),a("p",{staticClass:"finally"},[a("button",{staticClass:"inquire",on:{click:function(t){return t.preventDefault(),e.present(t)}}},[e._v("保存")])])])])])},staticRenderFns:[]};var r=a("C7Lr")(i,o,!1,function(e){a("AcsD")},"data-v-6a33d3ef",null).exports,c=a("R4U0"),l={props:["id"],data:function(){return{fate:"",show:!1,qudao:[],qudaolist:[],jiesuan:[],WebSystemEnumReqVo:{companyId:this.$store.state.companyId,enumType:"PayType"},WebCompanyPriceTypeReqVo:{companyId:this.$store.state.companyId},WebChanelReqVo:{companyId:this.$store.state.companyId,channelId:""},shows:!1,checkList:[],value:"",userType:[{value:"0",label:"个人"},{value:"1",label:"企业"}],checked:!0}},methods:{regular:function(e,t,a,s){""!==e&&(t.test(e)?this.$message({message:a,type:"success",duration:1e3}):this.$message.error(s))},blur:function(){this.regular(this.WebChanelReqVo.contactPhone,this.$commonJs.phoneReg(),"手机号通过","请输入11位正确的手机号")},amend:function(){var e=this;if(console.log(this.WebChanelReqVo),""===this.WebChanelReqVo.contactPhone||this.$commonJs.phoneReg().test(this.WebChanelReqVo.contactPhone))if(""!==this.WebChanelReqVo.companyName){for(var t=0;t<this.WebChanelReqVo.payTypes.length;t++)if("3"===this.WebChanelReqVo.payTypes[t].payedType){if(""===this.fate)return void this.$message.error("结算天数不能为空");this.WebChanelReqVo.payTypes[t].payedDay=this.fate}this.axios.post(this.httpUrl+"/tbd-chanel/channel/save",this.WebChanelReqVo).then(function(t){"00"==t.data.code?(e.$message({message:"修改成功",type:"success"}),e.$emit("xiugais",e.shows,"成功")):(e.$message.error(t.data.message),console.log(t))})}else this.$message.error("渠道名称不能为空");else this.$message.error("请输入11位正确的手机号")},reveal:function(e,t,a){"实时结算"===t&&(this.show=!this.show),this.show||(this.fate=""),e?this.show?this.WebChanelReqVo.payTypes.push({payedType:a,payedDay:this.fate}):this.WebChanelReqVo.payTypes.push({payedType:a}):this.WebChanelReqVo.payTypes=this.WebChanelReqVo.payTypes.filter(function(e){return a!=e.payedType})},change:function(e,t){var a=this;this.WebChanelReqVo.priceTypeps=[],e?this.checkList.forEach(function(e){a.WebChanelReqVo.priceTypeps.push({priceTypeId:e})}):this.WebChanelReqVo.priceTypeps=this.WebChanelReqVo.priceTypeps.filter(function(e){return t!=e.priceTypeId})},none:function(){this.$emit("xiugais",this.shows)},getData:function(e){var t=this;this.axios.post(this.httpUrl+"/tbd-chanel/companyPriceType/list",e).then(function(e){if("00"===e.data.code){var a=e.data.data,s={};a.forEach(function(e,t){s[e.priceTypeId]=e,e.childs=[]}),a.forEach(function(e,t){e.parentPriceTypeId&&s[e.parentPriceTypeId].childs.push(e)}),t.qudao=a}})},getjiesuan:function(e){var t=this;this.axios.post(this.httpUrl+"/tbd-chanel/systemEnum/list",e).then(function(e){"00"===e.data.code&&(t.jiesuan=e.data.data)})},Getalldata:function(e){var t=this;this.axios.post(this.httpUrl+"/tbd-chanel/channel/load",e).then(function(e){if("00"===e.data.code){t.WebChanelReqVo=e.data.data,t.WebChanelReqVo.payTypes.forEach(function(e,a){t.checkList.push(e.payedType)}),t.WebChanelReqVo.priceTypeps.forEach(function(e,a){t.checkList.push(e.priceTypeId)}),t.show=-1!=t.checkList.indexOf("3");for(var a=0;a<t.WebChanelReqVo.payTypes.length;a++)if(0!=t.WebChanelReqVo.payTypes[a].payedDay){t.fate=t.WebChanelReqVo.payTypes[a].payedDay;break}}})}},created:function(){this.getData(this.WebCompanyPriceTypeReqVo),this.getjiesuan(this.WebSystemEnumReqVo),this.WebChanelReqVo.channelId=this.id,this.Getalldata(this.WebChanelReqVo)}},h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"box"},[a("div",{staticClass:"center"},[a("p",[a("span",[e._v("修改渠道")]),e._v(" "),a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"},on:{click:e.none}},[a("use",{attrs:{"xlink:href":"#iconguanbi1"}})])]),e._v(" "),a("form",[a("div",{staticClass:"biaodan"},[a("p",[a("span",[e._v("渠道名称:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.companyName,expression:"WebChanelReqVo.companyName"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.companyName},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"companyName",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"p",staticStyle:{"box-sizing":"border-box",padding:"0.1rem","line-height":"0.25rem"}},[a("span",[e._v("渠道类型:")]),e._v(" "),a("div",e._l(e.qudao,function(t,s){return t.parentPriceTypeId?e._e():a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.checkList,expression:"checkList"}],attrs:{type:"checkbox"},domProps:{value:t.priceTypeId,checked:Array.isArray(e.checkList)?e._i(e.checkList,t.priceTypeId)>-1:e.checkList},on:{change:[function(a){var s=e.checkList,n=a.target,i=!!n.checked;if(Array.isArray(s)){var o=t.priceTypeId,r=e._i(s,o);n.checked?r<0&&(e.checkList=s.concat([o])):r>-1&&(e.checkList=s.slice(0,r).concat(s.slice(r+1)))}else e.checkList=i},function(a){return e.change(a,t.priceTypeId)}]}}),e._v("\n "+e._s(t.priceTypeName)+"\n ")]),e._v(" "),t.childs.length>0?a("i",[e._v("(")]):e._e(),e._v(" "),e._l(t.childs,function(t,s){return a("label",{staticStyle:{"margin-left":"0.1rem"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.checkList,expression:"checkList"}],attrs:{type:"checkbox"},domProps:{value:t.priceTypeId,checked:Array.isArray(e.checkList)?e._i(e.checkList,t.priceTypeId)>-1:e.checkList},on:{change:[function(a){var s=e.checkList,n=a.target,i=!!n.checked;if(Array.isArray(s)){var o=t.priceTypeId,r=e._i(s,o);n.checked?r<0&&(e.checkList=s.concat([o])):r>-1&&(e.checkList=s.slice(0,r).concat(s.slice(r+1)))}else e.checkList=i},function(a){return e.change(a,t.priceTypeId)}]}}),e._v("\n "+e._s(t.priceTypeName)+"\n ")])}),e._v(" "),t.childs.length>0?a("i",[e._v(")")]):e._e()],2)}),0)]),e._v(" "),a("p",[a("span",[e._v("法定负责人:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.companyUserName,expression:"WebChanelReqVo.companyUserName"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.companyUserName},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"companyUserName",t.target.value)}}})]),e._v(" "),a("p",[a("span",[e._v("联系人:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.contactUserName,expression:"WebChanelReqVo.contactUserName"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.contactUserName},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"contactUserName",t.target.value)}}})]),e._v(" "),a("p",[a("span",[e._v("联系电话:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.contactPhone,expression:"WebChanelReqVo.contactPhone"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.contactPhone},on:{blur:e.blur,input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"contactPhone",t.target.value)}}})]),e._v(" "),a("p",[a("span",[e._v("详细地址:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.companyAddress,expression:"WebChanelReqVo.companyAddress"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.companyAddress},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"companyAddress",t.target.value)}}})]),e._v(" "),a("p",{staticClass:"cc",staticStyle:{display:"flex","line-height":"0.25rem"}},[a("span",[e._v("结算规则:")]),e._v(" "),a("el-checkbox-group",{model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},e._l(e.jiesuan,function(t,s){return a("el-checkbox",{key:s,attrs:{label:t.enumValue},on:{change:function(a){return e.reveal(a,t.enumName,t.enumValue)}}},[e._v(e._s(t.enumName))])}),1)],1),e._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"pos"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fate,expression:"fate"}],staticClass:"inputs",attrs:{type:"text"},domProps:{value:e.fate},on:{input:function(t){t.target.composing||(e.fate=t.target.value)}}}),e._v("  天")])]),e._v(" "),a("p",{staticClass:"finally"},[a("button",{staticClass:"inquire",on:{click:function(t){return t.preventDefault(),e.amend(t)}}},[e._v("保存")])])])])])},staticRenderFns:[]};var p=a("C7Lr")(l,h,!1,function(e){a("knER")},"data-v-a0ca7dfc",null).exports,d=a("5XGy"),u=a("RwQt"),m={data:function(){return{channelId:"",xiugai:!1,show:!1,showtwo:!1,value:"",userType:[{value:"0",label:"个人"},{value:"1",label:"企业"}],search:"",ListChanelReqVo:{companyId:this.$store.state.companyId,search:"",pageIndex:1,pageSize:15},list:{}}},components:{ThenewChannel:r,ThenewtourGuide:c.a,date:d.a,ChangeChannels:p,breadNav:u.default},methods:{seek:function(){this.$set(this.ListChanelReqVo,"search",this.search),this.$delete(this.ListChanelReqVo,"pageIndex"),this.getData(this.ListChanelReqVo)},recharge:function(e){this.$router.push({name:"Creditdeposit",query:{id:e}})},rom:function(e){var t=this;this.$commonJs.popUp(this,"渠道",function(){var a={companyId:t.$store.state.companyId,channelId:e,updateUserId:t.$store.state.createUserId};t.axios.post(t.getChanel("channel/remove"),a).then(function(e){console.log(e),"00"===e.data.code&&t.getData(t.ListChanelReqVo)})})},newlyIncreased:function(){this.show=!0},data:function(e,t){this.show=e,void 0!=t&&this.getData(this.ListChanelReqVo)},datas:function(e){this.showtwo=e},TheTourGuideList:function(){this.showtwo=!0},xiugaia:function(e){this.xiugai=!0,this.channelId=e},xiugais:function(e,t){this.xiugai=e,void 0!=t&&this.getData(this.ListChanelReqVo)},getData:function(e){var t=this;this.axios.post(this.getChanel("channel/list"),e).then(function(e){if("00"===e.data.code)for(var a in e.data.data.list.forEach(function(e,t){for(var a in e)e[a]=null===e[a]?"":e[a]}),t.ListChanelReqVo.search="",t.list=e.data.data.list,e.data.data)"list"!=a&&(t.ListChanelReqVo[a]=e.data.data[a])})},page:function(e){this.ListChanelReqVo.pageIndex=e,this.getData(this.ListChanelReqVo)}},created:function(){this.getData(this.ListChanelReqVo)}},v={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("span",{staticClass:"btn4",staticStyle:{"margin-right":"0.4rem"},on:{click:e.newlyIncreased}},[e._v("新增渠道")]),e._v(" "),a("span",{staticClass:"btn4",staticStyle:{"margin-right":"0.4rem"},on:{click:function(t){return e.$router.push({path:"ListThetourguide"})}}},[e._v("导游列表")]),e._v(" "),a("span",{staticClass:"btn4",staticStyle:{"margin-right":"0.4rem"},on:{click:function(t){return e.$router.push({path:"DefaultDistributionSettings"})}}},[e._v("应用关联")]),e._v(" "),a("div",{staticClass:"a"},[a("span",{staticStyle:{display:"inline-block",width:"0.8rem"}},[e._v("渠道名称:")]),e._v(" "),a("el-input",{attrs:{placeholder:"请输入内容"},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}}),e._v(" "),a("span",{staticClass:"btn4",on:{click:e.seek}},[e._v("查询")])],1)]),e._v(" "),a("div",{staticClass:"table"},[a("table",[e._m(0),e._v(" "),e._l(e.list,function(t,s){return a("tr",{key:s},[a("td",[e._v(e._s(s+1))]),e._v(" "),a("td",[e._v(e._s(t.companyName))]),e._v(" "),a("td",[e._v(e._s(t.contactUserName))]),e._v(" "),a("td",[e._v(e._s(t.contactPhone))]),e._v(" "),a("td",[e._v("\n "+e._s(t.payedTypeName)+"\n ")]),e._v(" "),a("td",[a("span",{staticClass:"span",on:{click:function(a){return e.xiugaia(t.channelId)}}},[e._v("修改")]),e._v("   \n "),e._v(" "),a("span",{staticClass:"span",on:{click:function(a){return e.rom(t.channelId)}}},[e._v("删除")]),e._v("   \n "),a("span",{staticClass:"span",on:{click:function(a){return e.recharge(t.channelId)}}},[e._v("充值")])])])})],2)]),e._v(" "),a("date",{attrs:{pagesize:e.ListChanelReqVo.pageSize,total:e.ListChanelReqVo.pageTotal},on:{page:e.page}}),e._v(" "),e.show?a("ThenewChannel",{on:{data:e.data}}):e._e(),e._v(" "),e.showtwo?a("ThenewtourGuide",{on:{data:e.datas}}):e._e(),e._v(" "),e.xiugai?a("ChangeChannels",{attrs:{id:e.channelId},on:{xiugais:e.xiugais}}):e._e()],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("操作")])])}]};var y=a("C7Lr")(m,v,!1,function(e){a("vsv1")},"data-v-29f94193",null);t.default=y.exports},R4U0:function(e,t,a){"use strict";var s={data:function(){return{WebLeaderReqVo:{otherCompanyId:"",companyId:this.$store.state.companyId,leaderName:"",leaderNo:"",leaderMobile:"",leaderCardId:"",leaderStatus:"",createUserId:this.$store.state.createUserId,leaderProvice:"",leaderCity:"",leaderArea:"",leaderAddress:""},show:!1,userType:[{value:0,label:"已停用"},{value:1,label:"可用"}]}},methods:{regular:function(e,t,a,s){""!==e&&(t.test(e)?this.$message({message:a,type:"success",duration:1e3}):this.$message.error(s))},blur:function(){this.regular(this.WebLeaderReqVo.leaderMobile,this.$commonJs.phoneReg(),"手机号通过","请输入11位正确的手机号")},shenfen:function(){this.regular(this.WebLeaderReqVo.leaderCardId,this.$commonJs.idReg(),"身份证通过","请输入正确的身份证号")},none:function(){this.$emit("data",this.show)},click:function(){var e=this;this.$commonJs.phoneReg().test(this.WebLeaderReqVo.leaderMobile)?this.$commonJs.idReg().test(this.WebLeaderReqVo.leaderCardId)?""!==this.WebLeaderReqVo.leaderName?""!==this.WebLeaderReqVo.leaderNo?""!==this.WebLeaderReqVo.leaderMobile?""!==this.WebLeaderReqVo.leaderCardId?""!==this.WebLeaderReqVo.leaderStatus?""!==this.WebLeaderReqVo.leaderAddress?this.axios.post(this.httpUrl+"/tbd-chanel/leader/save",this.WebLeaderReqVo).then(function(t){console.log(t),"00"===t.data.code?e.$emit("data",e.show,"成功"):e.$message.error(t.data.message)}):this.$message.error("地址不能为空"):this.$message.error("状态不能为空"):this.$message.error("身份证号不能为空"):this.$message.error("联系手机不能为空"):this.$message.error("导游证号不能为空"):this.$message.error("导游名称不能为空"):this.$message.error("请输入正确的身份证号"):this.$message.error("请输入11位正确的手机号")}}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"box"},[a("div",{staticClass:"center"},[a("p",[a("span",[e._v("新增导游")]),a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"},on:{click:e.none}},[a("use",{attrs:{"xlink:href":"#iconguanbi1"}})])]),e._v(" "),a("form",[a("div",{staticClass:"biaodan"},[a("p",[a("span",{staticClass:"span"},[e._v("导游姓名:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebLeaderReqVo.leaderName,expression:"WebLeaderReqVo.leaderName"}],staticClass:"input",attrs:{type:"text"},domProps:{value:e.WebLeaderReqVo.leaderName},on:{input:function(t){t.target.composing||e.$set(e.WebLeaderReqVo,"leaderName",t.target.value)}}})]),e._v(" "),a("p",[a("span",{staticClass:"span"},[e._v("导游证号:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebLeaderReqVo.leaderNo,expression:"WebLeaderReqVo.leaderNo"}],staticClass:"input",attrs:{type:"text"},domProps:{value:e.WebLeaderReqVo.leaderNo},on:{input:function(t){t.target.composing||e.$set(e.WebLeaderReqVo,"leaderNo",t.target.value)}}})]),e._v(" "),a("p",[a("span",{staticClass:"span"},[e._v("联系电话:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebLeaderReqVo.leaderMobile,expression:"WebLeaderReqVo.leaderMobile"}],staticClass:"input",attrs:{type:"text"},domProps:{value:e.WebLeaderReqVo.leaderMobile},on:{blur:e.blur,input:function(t){t.target.composing||e.$set(e.WebLeaderReqVo,"leaderMobile",t.target.value)}}})]),e._v(" "),a("p",[a("span",{staticClass:"span"},[e._v("身份证号:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebLeaderReqVo.leaderCardId,expression:"WebLeaderReqVo.leaderCardId"}],staticClass:"input",attrs:{type:"text"},domProps:{value:e.WebLeaderReqVo.leaderCardId},on:{blur:e.shenfen,input:function(t){t.target.composing||e.$set(e.WebLeaderReqVo,"leaderCardId",t.target.value)}}})]),e._v(" "),a("p",[a("span",{staticClass:"span"},[e._v("地址:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebLeaderReqVo.leaderAddress,expression:"WebLeaderReqVo.leaderAddress"}],staticClass:"input",attrs:{type:"text"},domProps:{value:e.WebLeaderReqVo.leaderAddress},on:{input:function(t){t.target.composing||e.$set(e.WebLeaderReqVo,"leaderAddress",t.target.value)}}})]),e._v(" "),a("p",[a("span",{staticClass:"span"},[e._v("状态:")]),e._v(" "),a("el-select",{attrs:{placeholder:"用户类型"},model:{value:e.WebLeaderReqVo.leaderStatus,callback:function(t){e.$set(e.WebLeaderReqVo,"leaderStatus",t)},expression:"WebLeaderReqVo.leaderStatus"}},e._l(e.userType,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("p",[a("span",{staticClass:"inquire",on:{click:function(t){return t.preventDefault(),e.click(t)}}},[e._v("保存")])])])])])])},staticRenderFns:[]};var i=a("C7Lr")(s,n,!1,function(e){a("hE2M")},"data-v-d6aee518",null);t.a=i.exports},hE2M:function(e,t){},knER:function(e,t){},vsv1:function(e,t){}});
\ No newline at end of file
webpackJsonp([11],{AcsD:function(e,t){},BFix:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("a3Yh"),n=a.n(s),i={data:function(){var e;return e={show:!1,qudao:[],qudaolist:[],jiesuan:[],WebSystemEnumReqVo:{companyId:this.$store.state.companyId,enumType:"PayType"},WebCompanyPriceTypeReqVo:{companyId:this.$store.state.companyId},WebChanelReqVo:{companyId:this.$store.state.companyId,otherCompanyId:"",companyName:"",companyUserName:"",contactUserName:"",contactPhone:"",companyProvice:"",companyCity:"",companyArea:"",companyAddress:"",channelStatus:"",createUserId:"",channelId:"",versonFlag:"",priceTypeps:[],payTypes:[]},fate:""},n()(e,"show",!1),n()(e,"shows",!1),n()(e,"checkList",[]),n()(e,"value",""),n()(e,"userType",[{value:"0",label:"个人"},{value:"1",label:"企业"}]),n()(e,"checked",!0),e},methods:{regular:function(e,t,a,s){""!==e&&(t.test(e)?this.$message({message:a,type:"success",duration:1e3}):this.$message.error(s))},blur:function(){this.regular(this.WebChanelReqVo.contactPhone,this.$commonJs.phoneReg(),"手机号通过","请输入11位正确的手机号")},present:function(){var e=this;if(""===this.WebChanelReqVo.contactPhone||this.$commonJs.phoneReg().test(this.WebChanelReqVo.contactPhone))if(""!==this.WebChanelReqVo.companyName){for(var t=0;t<this.WebChanelReqVo.payTypes.length;t++)"1"===this.WebChanelReqVo.payTypes[t].payedType&&(this.WebChanelReqVo.payTypes[t].payedDay=this.fate);console.log(this.WebChanelReqVo),this.axios.post(this.httpUrl+"/tbd-chanel/channel/save",this.WebChanelReqVo).then(function(t){"00"==t.data.code?(e.$message({message:"添加成功",type:"success"}),e.$emit("data",e.shows,"成功")):(e.$message.error(t.data.message),console.log(t))})}else this.$message.error("渠道名称不能为空");else this.$message.error("请输入11位正确的手机号")},reveal:function(e,t,a){"实时结算"===t&&(this.show=!this.show),e?this.show?this.WebChanelReqVo.payTypes.push({payedType:a,payedDay:this.fate}):this.WebChanelReqVo.payTypes.push({payedType:a}):this.WebChanelReqVo.payTypes=this.WebChanelReqVo.payTypes.filter(function(e){return a!=e.payedType})},change:function(e,t){e?this.WebChanelReqVo.priceTypeps.push({priceTypeId:t}):this.WebChanelReqVo.priceTypeps=this.WebChanelReqVo.priceTypeps.filter(function(e){return t!=e.priceTypeId})},none:function(){this.$emit("data",this.shows)},getData:function(e){var t=this;this.axios.post(this.httpUrl+"/tbd-chanel/companyPriceType/list",e).then(function(e){if("00"===e.data.code){var a={},s=e.data.data;s.forEach(function(e,t){a[e.priceTypeId]=e,e.childs=[]}),s.forEach(function(e,t){e.parentPriceTypeId&&a[e.parentPriceTypeId].childs.push(e)}),t.qudao=s}})},getjiesuan:function(e){var t=this;this.axios.post(this.httpUrl+"/tbd-chanel/systemEnum/list",e).then(function(e){"00"===e.data.code&&(t.jiesuan=e.data.data)})}},created:function(){this.getData(this.WebCompanyPriceTypeReqVo),this.getjiesuan(this.WebSystemEnumReqVo)}},o={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"box"},[a("div",{staticClass:"center"},[a("p",[a("span",[e._v("新增渠道")]),e._v(" "),a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"},on:{click:e.none}},[a("use",{attrs:{"xlink:href":"#iconguanbi1"}})])]),e._v(" "),a("form",[a("div",{staticClass:"biaodan"},[a("p",[a("span",[e._v("渠道名称:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.companyName,expression:"WebChanelReqVo.companyName"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.companyName},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"companyName",t.target.value)}}}),a("i",{staticStyle:{color:"#FF0000","margin-left":"0.1rem",position:"relative",top:"0.05rem"}},[e._v("*")])]),e._v(" "),a("div",{staticClass:"p",staticStyle:{"box-sizing":"border-box",padding:"0.1rem","line-height":"0.25rem"}},[a("span",[e._v("渠道类型:")]),e._v(" "),a("div",e._l(e.qudao,function(t,s){return t.parentPriceTypeId?e._e():a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.checkList,expression:"checkList"}],attrs:{type:"checkbox"},domProps:{value:t.priceTypeId,checked:Array.isArray(e.checkList)?e._i(e.checkList,t.priceTypeId)>-1:e.checkList},on:{change:[function(a){var s=e.checkList,n=a.target,i=!!n.checked;if(Array.isArray(s)){var o=t.priceTypeId,r=e._i(s,o);n.checked?r<0&&(e.checkList=s.concat([o])):r>-1&&(e.checkList=s.slice(0,r).concat(s.slice(r+1)))}else e.checkList=i},function(a){return e.change(a,t.priceTypeId)}]}}),e._v("\n "+e._s(t.priceTypeName)+"\n ")]),e._v(" "),t.childs.length>0?a("i",[e._v("(")]):e._e(),e._v(" "),e._l(t.childs,function(t,s){return a("label",{staticStyle:{"margin-left":"0.1rem"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.checkList,expression:"checkList"}],attrs:{type:"checkbox"},domProps:{value:t.priceTypeId,checked:Array.isArray(e.checkList)?e._i(e.checkList,t.priceTypeId)>-1:e.checkList},on:{change:[function(a){var s=e.checkList,n=a.target,i=!!n.checked;if(Array.isArray(s)){var o=t.priceTypeId,r=e._i(s,o);n.checked?r<0&&(e.checkList=s.concat([o])):r>-1&&(e.checkList=s.slice(0,r).concat(s.slice(r+1)))}else e.checkList=i},function(a){return e.change(a,t.priceTypeId)}]}}),e._v("\n "+e._s(t.priceTypeName)+"\n ")])}),e._v(" "),t.childs.length>0?a("i",[e._v(")")]):e._e()],2)}),0)]),e._v(" "),a("p",[a("span",[e._v("法定负责人:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.companyUserName,expression:"WebChanelReqVo.companyUserName"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.companyUserName},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"companyUserName",t.target.value)}}})]),e._v(" "),a("p",[a("span",[e._v("联系人:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.contactUserName,expression:"WebChanelReqVo.contactUserName"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.contactUserName},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"contactUserName",t.target.value)}}})]),e._v(" "),a("p",[a("span",[e._v("联系电话:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.contactPhone,expression:"WebChanelReqVo.contactPhone"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.contactPhone},on:{blur:e.blur,input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"contactPhone",t.target.value)}}})]),e._v(" "),a("p",[a("span",[e._v("详细地址:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.companyAddress,expression:"WebChanelReqVo.companyAddress"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.companyAddress},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"companyAddress",t.target.value)}}})]),e._v(" "),a("p",{staticClass:"cc",staticStyle:{display:"flex","line-height":"0.25rem"}},[a("span",[e._v("结算规则:")]),e._v(" "),a("el-checkbox-group",{model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},e._l(e.jiesuan,function(t,s){return a("el-checkbox",{key:s,attrs:{label:t.enumValue},on:{change:function(a){return e.reveal(a,t.enumName,t.enumValue)}}},[e._v(e._s(t.enumName))])}),1)],1),e._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"pos"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fate,expression:"fate"}],staticClass:"inputs",attrs:{type:"text"},domProps:{value:e.fate},on:{input:function(t){t.target.composing||(e.fate=t.target.value)}}}),e._v("  天")])]),e._v(" "),a("p",{staticClass:"finally"},[a("button",{staticClass:"inquire",on:{click:function(t){return t.preventDefault(),e.present(t)}}},[e._v("保存")])])])])])},staticRenderFns:[]};var r=a("C7Lr")(i,o,!1,function(e){a("AcsD")},"data-v-6a33d3ef",null).exports,c=a("R4U0"),l={props:["id"],data:function(){return{fate:"",show:!1,qudao:[],qudaolist:[],jiesuan:[],WebSystemEnumReqVo:{companyId:this.$store.state.companyId,enumType:"PayType"},WebCompanyPriceTypeReqVo:{companyId:this.$store.state.companyId},WebChanelReqVo:{companyId:this.$store.state.companyId,channelId:""},shows:!1,checkList:[],value:"",userType:[{value:"0",label:"个人"},{value:"1",label:"企业"}],checked:!0}},methods:{regular:function(e,t,a,s){""!==e&&(t.test(e)?this.$message({message:a,type:"success",duration:1e3}):this.$message.error(s))},blur:function(){this.regular(this.WebChanelReqVo.contactPhone,this.$commonJs.phoneReg(),"手机号通过","请输入11位正确的手机号")},amend:function(){var e=this;if(console.log(this.WebChanelReqVo),""===this.WebChanelReqVo.contactPhone||this.$commonJs.phoneReg().test(this.WebChanelReqVo.contactPhone))if(""!==this.WebChanelReqVo.companyName){for(var t=0;t<this.WebChanelReqVo.payTypes.length;t++)if("3"===this.WebChanelReqVo.payTypes[t].payedType){if(""===this.fate)return void this.$message.error("结算天数不能为空");this.WebChanelReqVo.payTypes[t].payedDay=this.fate}this.axios.post(this.httpUrl+"/tbd-chanel/channel/save",this.WebChanelReqVo).then(function(t){"00"==t.data.code?(e.$message({message:"修改成功",type:"success"}),e.$emit("xiugais",e.shows,"成功")):(e.$message.error(t.data.message),console.log(t))})}else this.$message.error("渠道名称不能为空");else this.$message.error("请输入11位正确的手机号")},reveal:function(e,t,a){"实时结算"===t&&(this.show=!this.show),this.show||(this.fate=""),e?this.show?this.WebChanelReqVo.payTypes.push({payedType:a,payedDay:this.fate}):this.WebChanelReqVo.payTypes.push({payedType:a}):this.WebChanelReqVo.payTypes=this.WebChanelReqVo.payTypes.filter(function(e){return a!=e.payedType})},change:function(e,t){var a=this;this.WebChanelReqVo.priceTypeps=[],e?this.checkList.forEach(function(e){a.WebChanelReqVo.priceTypeps.push({priceTypeId:e})}):this.WebChanelReqVo.priceTypeps=this.WebChanelReqVo.priceTypeps.filter(function(e){return t!=e.priceTypeId})},none:function(){this.$emit("xiugais",this.shows)},getData:function(e){var t=this;this.axios.post(this.httpUrl+"/tbd-chanel/companyPriceType/list",e).then(function(e){if("00"===e.data.code){var a=e.data.data,s={};a.forEach(function(e,t){s[e.priceTypeId]=e,e.childs=[]}),a.forEach(function(e,t){e.parentPriceTypeId&&s[e.parentPriceTypeId].childs.push(e)}),t.qudao=a}})},getjiesuan:function(e){var t=this;this.axios.post(this.httpUrl+"/tbd-chanel/systemEnum/list",e).then(function(e){"00"===e.data.code&&(t.jiesuan=e.data.data)})},Getalldata:function(e){var t=this;this.axios.post(this.httpUrl+"/tbd-chanel/channel/load",e).then(function(e){if("00"===e.data.code){t.WebChanelReqVo=e.data.data,t.WebChanelReqVo.payTypes.forEach(function(e,a){t.checkList.push(e.payedType)}),t.WebChanelReqVo.priceTypeps.forEach(function(e,a){t.checkList.push(e.priceTypeId)}),t.show=-1!=t.checkList.indexOf("3");for(var a=0;a<t.WebChanelReqVo.payTypes.length;a++)if(0!=t.WebChanelReqVo.payTypes[a].payedDay){t.fate=t.WebChanelReqVo.payTypes[a].payedDay;break}}})}},created:function(){this.getData(this.WebCompanyPriceTypeReqVo),this.getjiesuan(this.WebSystemEnumReqVo),this.WebChanelReqVo.channelId=this.id,this.Getalldata(this.WebChanelReqVo)}},h={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"box"},[a("div",{staticClass:"center"},[a("p",[a("span",[e._v("修改渠道")]),e._v(" "),a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"},on:{click:e.none}},[a("use",{attrs:{"xlink:href":"#iconguanbi1"}})])]),e._v(" "),a("form",[a("div",{staticClass:"biaodan"},[a("p",[a("span",[e._v("渠道名称:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.companyName,expression:"WebChanelReqVo.companyName"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.companyName},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"companyName",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"p",staticStyle:{"box-sizing":"border-box",padding:"0.1rem","line-height":"0.25rem"}},[a("span",[e._v("渠道类型:")]),e._v(" "),a("div",e._l(e.qudao,function(t,s){return t.parentPriceTypeId?e._e():a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.checkList,expression:"checkList"}],attrs:{type:"checkbox"},domProps:{value:t.priceTypeId,checked:Array.isArray(e.checkList)?e._i(e.checkList,t.priceTypeId)>-1:e.checkList},on:{change:[function(a){var s=e.checkList,n=a.target,i=!!n.checked;if(Array.isArray(s)){var o=t.priceTypeId,r=e._i(s,o);n.checked?r<0&&(e.checkList=s.concat([o])):r>-1&&(e.checkList=s.slice(0,r).concat(s.slice(r+1)))}else e.checkList=i},function(a){return e.change(a,t.priceTypeId)}]}}),e._v("\n "+e._s(t.priceTypeName)+"\n ")]),e._v(" "),t.childs.length>0?a("i",[e._v("(")]):e._e(),e._v(" "),e._l(t.childs,function(t,s){return a("label",{staticStyle:{"margin-left":"0.1rem"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.checkList,expression:"checkList"}],attrs:{type:"checkbox"},domProps:{value:t.priceTypeId,checked:Array.isArray(e.checkList)?e._i(e.checkList,t.priceTypeId)>-1:e.checkList},on:{change:[function(a){var s=e.checkList,n=a.target,i=!!n.checked;if(Array.isArray(s)){var o=t.priceTypeId,r=e._i(s,o);n.checked?r<0&&(e.checkList=s.concat([o])):r>-1&&(e.checkList=s.slice(0,r).concat(s.slice(r+1)))}else e.checkList=i},function(a){return e.change(a,t.priceTypeId)}]}}),e._v("\n "+e._s(t.priceTypeName)+"\n ")])}),e._v(" "),t.childs.length>0?a("i",[e._v(")")]):e._e()],2)}),0)]),e._v(" "),a("p",[a("span",[e._v("法定负责人:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.companyUserName,expression:"WebChanelReqVo.companyUserName"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.companyUserName},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"companyUserName",t.target.value)}}})]),e._v(" "),a("p",[a("span",[e._v("联系人:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.contactUserName,expression:"WebChanelReqVo.contactUserName"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.contactUserName},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"contactUserName",t.target.value)}}})]),e._v(" "),a("p",[a("span",[e._v("联系电话:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.contactPhone,expression:"WebChanelReqVo.contactPhone"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.contactPhone},on:{blur:e.blur,input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"contactPhone",t.target.value)}}})]),e._v(" "),a("p",[a("span",[e._v("详细地址:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebChanelReqVo.companyAddress,expression:"WebChanelReqVo.companyAddress"}],attrs:{type:"text"},domProps:{value:e.WebChanelReqVo.companyAddress},on:{input:function(t){t.target.composing||e.$set(e.WebChanelReqVo,"companyAddress",t.target.value)}}})]),e._v(" "),a("p",{staticClass:"cc",staticStyle:{display:"flex","line-height":"0.25rem"}},[a("span",[e._v("结算规则:")]),e._v(" "),a("el-checkbox-group",{model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},e._l(e.jiesuan,function(t,s){return a("el-checkbox",{key:s,attrs:{label:t.enumValue},on:{change:function(a){return e.reveal(a,t.enumName,t.enumValue)}}},[e._v(e._s(t.enumName))])}),1)],1),e._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"pos"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fate,expression:"fate"}],staticClass:"inputs",attrs:{type:"text"},domProps:{value:e.fate},on:{input:function(t){t.target.composing||(e.fate=t.target.value)}}}),e._v("  天")])]),e._v(" "),a("p",{staticClass:"finally"},[a("button",{staticClass:"inquire",on:{click:function(t){return t.preventDefault(),e.amend(t)}}},[e._v("保存")])])])])])},staticRenderFns:[]};var p=a("C7Lr")(l,h,!1,function(e){a("knER")},"data-v-a0ca7dfc",null).exports,d=a("5XGy"),u=a("RwQt"),m={data:function(){return{channelId:"",xiugai:!1,show:!1,showtwo:!1,value:"",userType:[{value:"0",label:"个人"},{value:"1",label:"企业"}],search:"",ListChanelReqVo:{companyId:this.$store.state.companyId,search:"",pageIndex:1,pageSize:15},list:{}}},components:{ThenewChannel:r,ThenewtourGuide:c.a,date:d.a,ChangeChannels:p,breadNav:u.default},methods:{seek:function(){this.$set(this.ListChanelReqVo,"search",this.search),this.$delete(this.ListChanelReqVo,"pageIndex"),this.getData(this.ListChanelReqVo)},recharge:function(e){this.$router.push({name:"Creditdeposit",query:{id:e}})},rom:function(e){var t=this;this.$commonJs.popUp(this,"渠道",function(){var a={companyId:t.$store.state.companyId,channelId:e,updateUserId:t.$store.state.createUserId};t.axios.post(t.getChanel("channel/remove"),a).then(function(e){console.log(e),"00"===e.data.code&&t.getData(t.ListChanelReqVo)})})},newlyIncreased:function(){this.show=!0},data:function(e,t){this.show=e,void 0!=t&&this.getData(this.ListChanelReqVo)},datas:function(e){this.showtwo=e},TheTourGuideList:function(){this.showtwo=!0},xiugaia:function(e){this.xiugai=!0,this.channelId=e},xiugais:function(e,t){this.xiugai=e,void 0!=t&&this.getData(this.ListChanelReqVo)},getData:function(e){var t=this;this.axios.post(this.getChanel("channel/list"),e).then(function(e){if("00"===e.data.code)for(var a in e.data.data.list.forEach(function(e,t){for(var a in e)e[a]=null===e[a]?"":e[a]}),t.ListChanelReqVo.search="",t.list=e.data.data.list,e.data.data)"list"!=a&&(t.ListChanelReqVo[a]=e.data.data[a])})},page:function(e){this.ListChanelReqVo.pageIndex=e,this.getData(this.ListChanelReqVo)}},created:function(){this.getData(this.ListChanelReqVo)}},v={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("span",{staticClass:"btn4",staticStyle:{"margin-right":"0.4rem"},on:{click:e.newlyIncreased}},[e._v("新增渠道")]),e._v(" "),a("span",{staticClass:"btn4",staticStyle:{"margin-right":"0.4rem"},on:{click:function(t){return e.$router.push({path:"ListThetourguide"})}}},[e._v("导游列表")]),e._v(" "),a("span",{staticClass:"btn4",staticStyle:{"margin-right":"0.4rem"},on:{click:function(t){return e.$router.push({path:"DefaultDistributionSettings"})}}},[e._v("应用关联")]),e._v(" "),a("div",{staticClass:"a"},[a("span",{staticStyle:{display:"inline-block",width:"0.8rem"}},[e._v("渠道名称:")]),e._v(" "),a("el-input",{attrs:{placeholder:"请输入内容"},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}}),e._v(" "),a("span",{staticClass:"btn4",on:{click:e.seek}},[e._v("查询")])],1)]),e._v(" "),a("div",{staticClass:"table"},[a("table",[e._m(0),e._v(" "),e._l(e.list,function(t,s){return a("tr",{key:s},[a("td",[e._v(e._s(s+1))]),e._v(" "),a("td",[e._v(e._s(t.companyName))]),e._v(" "),a("td",[e._v(e._s(t.contactUserName))]),e._v(" "),a("td",[e._v(e._s(t.contactPhone))]),e._v(" "),a("td",[e._v("\n "+e._s(t.payedTypeName)+"\n ")]),e._v(" "),a("td",[a("span",{staticClass:"span",on:{click:function(a){return e.xiugaia(t.channelId)}}},[e._v("修改")]),e._v("   \n "),e._v(" "),a("span",{staticClass:"span",on:{click:function(a){return e.rom(t.channelId)}}},[e._v("删除")]),e._v("   \n "),a("span",{staticClass:"span",on:{click:function(a){return e.recharge(t.channelId)}}},[e._v("充值")])])])})],2)]),e._v(" "),a("date",{attrs:{pagesize:e.ListChanelReqVo.pageSize,total:e.ListChanelReqVo.pageTotal},on:{page:e.page}}),e._v(" "),e.show?a("ThenewChannel",{on:{data:e.data}}):e._e(),e._v(" "),e.showtwo?a("ThenewtourGuide",{on:{data:e.datas}}):e._e(),e._v(" "),e.xiugai?a("ChangeChannels",{attrs:{id:e.channelId},on:{xiugais:e.xiugais}}):e._e()],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("操作")])])}]};var y=a("C7Lr")(m,v,!1,function(e){a("vsv1")},"data-v-29f94193",null);t.default=y.exports},R4U0:function(e,t,a){"use strict";var s={data:function(){return{WebLeaderReqVo:{otherCompanyId:"",companyId:this.$store.state.companyId,leaderName:"",leaderNo:"",leaderMobile:"",leaderCardId:"",leaderStatus:"",createUserId:this.$store.state.createUserId,leaderProvice:"",leaderCity:"",leaderArea:"",leaderAddress:""},show:!1,userType:[{value:0,label:"已停用"},{value:1,label:"可用"}]}},methods:{regular:function(e,t,a,s){""!==e&&(t.test(e)?this.$message({message:a,type:"success",duration:1e3}):this.$message.error(s))},blur:function(){this.regular(this.WebLeaderReqVo.leaderMobile,this.$commonJs.phoneReg(),"手机号通过","请输入11位正确的手机号")},shenfen:function(){this.regular(this.WebLeaderReqVo.leaderCardId,this.$commonJs.idReg(),"身份证通过","请输入正确的身份证号")},none:function(){this.$emit("data",this.show)},click:function(){var e=this;this.$commonJs.phoneReg().test(this.WebLeaderReqVo.leaderMobile)?this.$commonJs.idReg().test(this.WebLeaderReqVo.leaderCardId)?""!==this.WebLeaderReqVo.leaderName?""!==this.WebLeaderReqVo.leaderNo?""!==this.WebLeaderReqVo.leaderMobile?""!==this.WebLeaderReqVo.leaderCardId?""!==this.WebLeaderReqVo.leaderStatus?""!==this.WebLeaderReqVo.leaderAddress?this.axios.post(this.httpUrl+"/tbd-chanel/leader/save",this.WebLeaderReqVo).then(function(t){console.log(t),"00"===t.data.code?e.$emit("data",e.show,"成功"):e.$message.error(t.data.message)}):this.$message.error("地址不能为空"):this.$message.error("状态不能为空"):this.$message.error("身份证号不能为空"):this.$message.error("联系手机不能为空"):this.$message.error("导游证号不能为空"):this.$message.error("导游名称不能为空"):this.$message.error("请输入正确的身份证号"):this.$message.error("请输入11位正确的手机号")}}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"box"},[a("div",{staticClass:"center"},[a("p",[a("span",[e._v("新增导游")]),a("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"},on:{click:e.none}},[a("use",{attrs:{"xlink:href":"#iconguanbi1"}})])]),e._v(" "),a("form",[a("div",{staticClass:"biaodan"},[a("p",[a("span",{staticClass:"span"},[e._v("导游姓名:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebLeaderReqVo.leaderName,expression:"WebLeaderReqVo.leaderName"}],staticClass:"input",attrs:{type:"text"},domProps:{value:e.WebLeaderReqVo.leaderName},on:{input:function(t){t.target.composing||e.$set(e.WebLeaderReqVo,"leaderName",t.target.value)}}})]),e._v(" "),a("p",[a("span",{staticClass:"span"},[e._v("导游证号:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebLeaderReqVo.leaderNo,expression:"WebLeaderReqVo.leaderNo"}],staticClass:"input",attrs:{type:"text"},domProps:{value:e.WebLeaderReqVo.leaderNo},on:{input:function(t){t.target.composing||e.$set(e.WebLeaderReqVo,"leaderNo",t.target.value)}}})]),e._v(" "),a("p",[a("span",{staticClass:"span"},[e._v("联系电话:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebLeaderReqVo.leaderMobile,expression:"WebLeaderReqVo.leaderMobile"}],staticClass:"input",attrs:{type:"text"},domProps:{value:e.WebLeaderReqVo.leaderMobile},on:{blur:e.blur,input:function(t){t.target.composing||e.$set(e.WebLeaderReqVo,"leaderMobile",t.target.value)}}})]),e._v(" "),a("p",[a("span",{staticClass:"span"},[e._v("身份证号:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebLeaderReqVo.leaderCardId,expression:"WebLeaderReqVo.leaderCardId"}],staticClass:"input",attrs:{type:"text"},domProps:{value:e.WebLeaderReqVo.leaderCardId},on:{blur:e.shenfen,input:function(t){t.target.composing||e.$set(e.WebLeaderReqVo,"leaderCardId",t.target.value)}}})]),e._v(" "),a("p",[a("span",{staticClass:"span"},[e._v("地址:")]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.WebLeaderReqVo.leaderAddress,expression:"WebLeaderReqVo.leaderAddress"}],staticClass:"input",attrs:{type:"text"},domProps:{value:e.WebLeaderReqVo.leaderAddress},on:{input:function(t){t.target.composing||e.$set(e.WebLeaderReqVo,"leaderAddress",t.target.value)}}})]),e._v(" "),a("p",[a("span",{staticClass:"span"},[e._v("状态:")]),e._v(" "),a("el-select",{attrs:{placeholder:"用户类型"},model:{value:e.WebLeaderReqVo.leaderStatus,callback:function(t){e.$set(e.WebLeaderReqVo,"leaderStatus",t)},expression:"WebLeaderReqVo.leaderStatus"}},e._l(e.userType,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("p",[a("span",{staticClass:"inquire",on:{click:function(t){return t.preventDefault(),e.click(t)}}},[e._v("保存")])])])])])])},staticRenderFns:[]};var i=a("C7Lr")(s,n,!1,function(e){a("hE2M")},"data-v-d6aee518",null);t.a=i.exports},hE2M:function(e,t){},knER:function(e,t){},vsv1:function(e,t){}});
\ No newline at end of file
webpackJsonp([109],{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([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([110],{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([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([111],{"/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([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([112],{"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([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([113],{"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([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([114],{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([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([115],{QL0w:function(e,t){},Qxbs:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=o("aA9S"),i=o.n(s),a=o("RwQt"),r=o("5XGy"),n=o("KPn7"),p={components:{breadNav:a.default,page:r.a,config:n.a},data:function(){return{configTan:!1,popShow:!1,newBtn:!0,configTitle:"是否删除该设备",tableList:[],pageSize:15,pageIndex:1,pageTotal:0,projectName:"",projectDepositHour:"",projectDepositHourMoney:"",projectDepositLostMoney:"",projectDepositMoney:"",search:"",deposits:[],projectId:"",reviseData:{}}},methods:{addSingleRule:function(){this.deposits.push({depositNumber:"",depositMoney:""})},reduceSingleRule:function(e){this.deposits.splice(e,1)},sureAdd:function(){var e=this;if(this.projectName){var t={projectName:this.projectName,projectDepositHour:this.projectDepositHour,projectDepositHourMoney:this.projectDepositHourMoney,projectDepositLostMoney:this.projectDepositLostMoney,projectDepositMoney:this.projectDepositMoney};this.axios.post(this.getProductUrl("/project/save"),t).then(function(t){"00"==t.data.code?(e.$message.success("新增成功"),e.popShow=!1,e.getList()):e.$message.error(t.data.message)})}else this.$message.error("请添加验证点名称")},cancelAdd:function(){this.popShow=!1},clickAdd:function(){this.popShow=!0,this.newBtn=!0,this.projectName="",this.projectDepositHour="",this.projectDepositHourMoney="",this.projectDepositLostMoney="",this.projectDepositMoney="",this.deposits=[]},clickRevise:function(e){var t=this;this.popShow=!0,this.newBtn=!1;var o={projectId:e};this.axios.post(this.getProductUrl("/project/load"),o).then(function(e){"00"==e.data.code?(t.projectName=e.data.data.projectName,t.projectDepositHour=e.data.data.projectDepositHour,t.projectDepositHourMoney=e.data.data.projectDepositHourMoney,t.projectDepositLostMoney=e.data.data.projectDepositLostMoney,t.projectDepositMoney=e.data.data.projectDepositMoney,t.deposits=e.data.data.deposits,t.reviseData=e.data.data):t.$message.error(e.data.message)})},sureRevise:function(){var e=this;if(this.projectName){var t={projectName:this.projectName,projectDepositHour:this.projectDepositHour,projectDepositHourMoney:this.projectDepositHourMoney,projectDepositLostMoney:this.projectDepositLostMoney,deposits:this.deposits,projectDepositMoney:this.projectDepositMoney},o=i()(this.reviseData,t);this.axios.post(this.getProductUrl("/project/save"),o).then(function(t){"00"==t.data.code?(e.$message.success("修改成功"),e.popShow=!1,e.getList()):e.$message.error(t.data.message)})}else this.$message.error("请添加验证点名称")},getList:function(){var e=this,t={pageIndex:this.pageIndex,pageSize:this.pageSize,projectName:this.search};this.axios.post(this.getProductUrl("/project/query"),t).then(function(t){"00"==t.data.code?(e.pageTotal=t.data.data.pageTotal,e.tableList=t.data.data.list):e.$message.error(t.data.message)})},paging:function(e){this.pageIndex=e,this.getList()},clickDele:function(e){this.configTan=!0,this.projectId=e},dele:function(){var e=this,t={projectId:this.projectId};this.axios.post(this.getProductUrl("project/remove"),t).then(function(t){"00"==t.data.code?(e.$message.success("删除成功"),e.configTan=!1,e.getList()):e.$message.error(t.data.message)})},hidePop:function(e){this.popShow=!1}},mounted:function(){this.getList()},activated:function(){"true"==this.$store.state.refurbish&&(this.projectName="",this.$store.dispatch("getRefurbish","false")),this.getList()}},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",{staticStyle:{"margin-top":"0.2rem"}},[o("a",{staticClass:"btn4",on:{click:function(t){return e.clickAdd()}}},[e._v(" 新增 ")])]),e._v(" "),o("div",{staticClass:"top"},[o("div",[e._v("\n 验证点名称\n "),o("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],attrs:{placeholder:"",type:"text"},domProps:{value:e.search},on:{input:function(t){t.target.composing||(e.search=t.target.value)}}})]),e._v(" "),o("div",[o("a",{staticClass:"btn4",staticStyle:{"margin-left":"0.3rem"},on:{click:function(t){e.pageIndex=1,e.getList()}}},[e._v("查询")])])]),e._v(" "),o("table",{staticClass:"middle"},[e._m(0),e._v(" "),e._l(e.tableList,function(t,s){return o("tr",{key:t.projectId},[o("td",[e._v(e._s(t.projectName))]),e._v(" "),o("td",[e._v(e._s(t.projectDepositMoney))]),e._v(" "),o("td",[e._v(e._s(t.projectDepositHour))]),e._v(" "),o("td",[e._v(e._s(t.projectDepositHourMoney))]),e._v(" "),o("td",[e._v(e._s(t.projectDepositLostMoney))]),e._v(" "),o("td",[o("span",{on:{click:function(o){return e.clickRevise(t.projectId)}}},[e._v("修改")]),e._v(" "),o("span",{staticStyle:{color:"#ff0000"},on:{click:function(o){return e.clickDele(t.projectId)}}},[e._v("删除")])])])})],2),e._v(" "),o("page",{attrs:{pagesize:e.pageSize,total:e.pageTotal,whichpage:e.pageIndex},on:{page:e.paging}}),e._v(" "),o("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}}}),e._v(" "),o("div",[o("a",{staticClass:"btnGray4",on:{click:function(t){return e.$router.go(-1)}}},[e._v("返回")])]),e._v(" "),o("div",{directives:[{name:"show",rawName:"v-show",value:e.popShow,expression:"popShow"}],staticClass:"pop",on:{click:function(t){return t.target!==t.currentTarget?null:e.hidePop(t)}}},[o("div",{staticClass:"discount"},[o("div",{staticClass:"close_pop",on:{click:e.hidePop}},[e._v("关闭")]),e._v(" "),o("div",{staticClass:"discountDiv"},[o("p",[o("span",[e._v(" 验证点名称 ")]),e._v(" "),o("input",{directives:[{name:"model",rawName:"v-model",value:e.projectName,expression:"projectName"}],attrs:{type:"text"},domProps:{value:e.projectName},on:{input:function(t){t.target.composing||(e.projectName=t.target.value)}}}),e._v(" "),o("b",{staticStyle:{color:"#ff0000"}},[e._v("*")])]),e._v(" "),o("p",[o("span",[e._v(" 押金单价: ")]),e._v(" "),o("input",{directives:[{name:"model",rawName:"v-model",value:e.projectDepositMoney,expression:"projectDepositMoney"}],attrs:{type:"number",min:"0"},domProps:{value:e.projectDepositMoney},on:{input:function(t){t.target.composing||(e.projectDepositMoney=t.target.value)}}}),e._v("元\n ")]),e._v(" "),o("p",[o("span",[e._v(" 押金时限 ")]),e._v(" "),o("input",{directives:[{name:"model",rawName:"v-model",value:e.projectDepositHour,expression:"projectDepositHour"}],attrs:{type:"number"},domProps:{value:e.projectDepositHour},on:{input:function(t){t.target.composing||(e.projectDepositHour=t.target.value)}}}),e._v("小时\n ")]),e._v(" "),o("p",[o("span",[e._v(" 押金时扣 ")]),e._v(" "),o("input",{directives:[{name:"model",rawName:"v-model",value:e.projectDepositHourMoney,expression:"projectDepositHourMoney"}],attrs:{type:"number"},domProps:{value:e.projectDepositHourMoney},on:{input:function(t){t.target.composing||(e.projectDepositHourMoney=t.target.value)}}}),e._v("元\n ")]),e._v(" "),o("p",[o("span",[e._v(" 丢失扣款 ")]),e._v(" "),o("input",{directives:[{name:"model",rawName:"v-model",value:e.projectDepositLostMoney,expression:"projectDepositLostMoney"}],attrs:{type:"number"},domProps:{value:e.projectDepositLostMoney},on:{input:function(t){t.target.composing||(e.projectDepositLostMoney=t.target.value)}}}),e._v("元\n ")])]),e._v(" "),o("p",{staticStyle:{"margin-top":"0.5rem"}},[e.newBtn?o("a",{staticClass:"btn4",on:{click:function(t){return e.sureAdd()}}},[e._v("\n 确定新增\n ")]):o("a",{staticClass:"btn4",on:{click:function(t){return e.sureRevise()}}},[e._v("\n 确定修改\n ")]),e._v(" "),o("a",{staticClass:"btnGray4",staticStyle:{"margin-left":"0.4rem"},on:{click:function(t){return e.cancelAdd()}}},[e._v("\n 取消\n ")])])])])],1)},staticRenderFns:[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("tr",[o("td",[e._v("验证点名称")]),e._v(" "),o("td",[e._v("押金单价")]),e._v(" "),o("td",[e._v("押金时限")]),e._v(" "),o("td",[e._v("押金时扣")]),e._v(" "),o("td",[e._v("丢失扣款")]),e._v(" "),o("td",[e._v("操作")])])}]};var u=o("C7Lr")(p,c,!1,function(e){o("QL0w")},"data-v-12189b9f",null);t.default=u.exports}});
\ No newline at end of file
webpackJsonp([43],{DfpX:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("aA9S"),s=a.n(i),r=a("lC5x"),n=a.n(r),l=a("J0Oq"),o=a.n(l),c=a("IHPB"),u=a.n(c),d=a("3cXf"),v=a.n(d),p=a("4YfN"),m=a.n(p),y=a("RwQt"),h=a("ro5b"),_=a("bSIt"),P={components:{breadNav:y.default},data:function(){return{initData:{},active:0,isShowBuy:!1,isShowOther:!1,ruleList:[{name:"验证规则",show:!0},{name:"退改规则",show:!1},{name:"单次优惠规则",show:!1},{name:"结算优惠规则",show:!1},{name:"排号规则",show:!1},{name:"押金设置",show:!1}],ruleList2:[{name:"额外服务","show ":!1}],saleChangePrice:"",salePrice:"",salePricePay:"",salePriceFee:"",productPrice:"",autoSalePrice:"",autoSalePricePay:"",autoSalePriceFee:"",fieldName1:"",fieldName2:"",idList:[],conditionList:[],saleCheckId:"",saleGroupLeader:0,saleStopTime:"",saleStopNoticeTime:"",saleDateFrontDay:"",saleCheckMaxCount:1,saleCheckMaxDay:1,saleLimitData:[],saleCheckMinNum:"",saleCheckMaxNum:"",saleCheckMinAge:"",saleCheckSex:"",sms:"",saleCheckMaxAge:"",Area:[{value:"北京",label:"北京"},{value:"江苏",label:"江苏"},{value:"浙江",label:"浙江"},{value:"安徽",label:"安徽"},{value:"福建",label:"福建"},{value:"江西",label:"江西"},{value:"山东",label:"山东"},{value:"河南",label:"河南"},{value:"湖南",label:"湖南"},{value:"广东",label:"广东"},{value:"天津",label:"天津"},{value:"海南",label:"海南"},{value:"四川",label:"四川"},{value:"贵州",label:"贵州"},{value:"云南",label:"云南"},{value:"陕西",label:"陕西"},{value:"甘肃",label:"甘肃"},{value:"青海",label:"青海"},{value:"台湾",label:"台湾"},{value:"内蒙古",label:"内蒙古"},{value:"广西",label:"广西"},{value:"上海",label:"上海"},{value:"西藏",label:"西藏"},{value:"宁夏",label:"宁夏"},{value:"新疆",label:"新疆"},{value:"香港",label:"香港"},{value:"澳门",label:"澳门"},{value:"重庆",label:"重庆"},{value:"河北",label:"河北"},{value:"山西",label:"山西"},{value:"辽宁",label:"辽宁"},{value:"吉林",label:"吉林"},{value:"黑龙江",label:"黑龙江"}],saleCheckArea:[],returnFlag:"",returnPlayFromHour:"",returnPlayToHour:"",returnMoneyUnitType:"",returnMoneyValue:"",returnMoneyRatio:"",discountsList:[],discountsPayList:[],saleSortAuto:!1,syncToPd:!1,checkToUnitValue:"",checkSaleDelayHour:"",autoPriceFrom:"",autoPriceTo:"",saleDateType:"",saleDateFrom:"",saleDateTo:"",weekList:[{value:1,name:"周一"},{value:2,name:"周二"},{value:3,name:"周三"},{value:4,name:"周四"},{value:5,name:"周五"},{value:6,name:"周六"},{value:7,name:"周日"}],isAllChecked:!1,saleWeek:[],salePayTime:"",isPayTime:"",fields:[],services:[],saleServiceType:"",distributionList:[],returnMoneyType:"",channelId:"",priceTypeId:"",saleType:"",productId:"",versonFlag:"",idFields:[],conditonFields:[],deposits:[],depositTypeList:[{label:"默认",value:0},{label:"无押金",value:1},{label:"下单时支付",value:2},{label:"领取时支付",value:3}],disabledBuy:[],proviceList:[{areaName:"不限",areaId:""}],cityList:[{areaName:"不限",areaId:""}],enabledAreaList:[{areaName:"不限",areaId:""}],sexList:[{label:"不限",value:0},{label:"男",value:1},{label:"女",value:2}],datePayList:[],checkAuto:""}},computed:m()({},Object(_.c)(["actionDistributionSetPlusSet"]),{havePower:function(){return 1==this.actionDistributionSetPlusSet}}),methods:{ruleSet:function(){0==this.returnFlag||1==this.returnFlag?(document.querySelector(".returnPlayToHour").setAttribute("disabled","disabled"),document.querySelector(".returnPlayFromHour").setAttribute("disabled","disabled"),this.returnPlayFromHour="",this.returnPlayToHour=""):2==this.returnFlag?(this.returnPlayToHour="",document.querySelector(".returnPlayFromHour").removeAttribute("disabled"),document.querySelector(".returnPlayToHour").setAttribute("disabled","disabled")):3==this.returnFlag&&(this.returnPlayFromHour="",document.querySelector(".returnPlayToHour").removeAttribute("disabled"),document.querySelector(".returnPlayFromHour").setAttribute("disabled","disabled"))},serviceChange:function(){0==this.returnMoneyUnitType?(this.returnMoneyRatio="",document.querySelector(".returnMoneyRatio").setAttribute("disabled","disabled"),document.querySelector(".returnMoneyValue").removeAttribute("disabled")):1==this.returnMoneyUnitType&&(this.returnMoneyValue="",document.querySelector(".returnMoneyValue").setAttribute("disabled","disabled"),document.querySelector(".returnMoneyRatio").removeAttribute("disabled"))},numberManage:function(){for(var e=document.querySelectorAll("input[type='number']"),t=0;t<e.length;t++)e[t].addEventListener("input",function(e){e.target.value=e.target.value.replace(/\-/g,"")})},payTimeCheck:function(){this.isPayTime?(this.salePayTime=0,document.querySelector(".priceInput").setAttribute("disabled","disabled")):document.querySelector(".priceInput").removeAttribute("disabled")},allCheck:function(){var e=this;0==e.saleWeek.length&&(e.saleWeek=[]),e.isAllChecked?e.weekList.forEach(function(t){e.saleWeek.push(t.value)}):e.saleWeek=[]},singleCheck:function(){this.saleWeek.length==this.weekList.length?this.isAllChecked=!0:this.isAllChecked=!1},clickRule:function(e){this.active=e;for(var t=0;t<this.ruleList.length;t++)this.ruleList[t].show=!1;this.ruleList2[0].show=!1,this.ruleList[e].show=!0},clickRule2:function(){this.active=8;for(var e=0;e<this.ruleList.length;e++)this.ruleList[e].show=!1;this.ruleList2[0].show=!0},initLoad:function(){var e=this;this.idList=[],this.conditionList=[];var t={saleId:this.saleId};this.axios.post(this.getProductUrl("sale/load"),t).then(function(t){if("00"==t.data.code){var a=t.data.data;e.initData=a,e.getDistribution(),e.saleChangePrice=a.saleChangePrice,e.salePrice=a.salePrice,e.salePricePay=a.salePricePay,e.salePriceFee=a.salePriceFee,e.productPrice=a.productPrice,e.autoSalePrice=a.autoSalePrice,e.autoSalePricePay=a.autoSalePricePay,e.autoSalePriceFee=a.autoSalePriceFee,e.saleGroupLeader=a.saleGroupLeader,e.syncToPd=a.syncToPd,e.checkAuto=String(a.checkAuto),e.saleLimitData=a.enabledBuy,e.disabledBuy=a.disabledBuy,e.deposits=a.deposits,a.fields.length>0&&a.fields.forEach(function(t,a){0==t.fieldType?e.idList.push(t):1==t.fieldType&&e.conditionList.push(t),t.inputType&&(1!=t.inputType&&2!=t.item.inputType||(0==t.fieldType?e.idFields.push(t.fieldId):1==t.fieldType&&e.conditonFields.push(t.fieldId)))}),e.saleCheckId=a.saleCheckId,e.saleDateFrontDay=a.saleDateFrontDay,e.saleStopTime=a.saleStopTime,e.saleStopNoticeTime=a.saleStopNoticeTime,e.saleCheckMaxCount=a.saleCheckMaxCount,e.saleCheckMaxDay=a.saleCheckMaxDay,e.saleCheckMinNum=a.saleCheckMinNum,e.saleCheckMaxNum=a.saleCheckMaxNum,e.saleCheckMinAge=a.saleCheckMinAge,e.saleCheckSex=a.saleCheckSex,e.saleCheckMaxAge=a.saleCheckMaxAge,e.returnFlag=a.returnFlag,0==a.returnFlag||1==a.returnFlag?(document.querySelector(".returnPlayToHour").setAttribute("disabled","disabled"),document.querySelector(".returnPlayFromHour").setAttribute("disabled","disabled")):2==e.returnFlag?document.querySelector(".returnPlayToHour").setAttribute("disabled","disabled"):3==e.returnFlag&&document.querySelector(".returnPlayFromHour").setAttribute("disabled","disabled"),e.returnPlayFromHour=a.returnPlayFromHour,e.returnPlayToHour=a.returnPlayToHour,e.checkToUnitValue=a.checkToUnitValue,e.checkSaleDelayHour=a.checkSaleDelayHour,e.returnMoneyUnitType=a.returnMoneyUnitType,0==e.returnMoneyUnitType?document.querySelector(".returnMoneyRatio").setAttribute("disabled","disabled"):1==e.returnMoneyUnitType&&document.querySelector(".returnMoneyValue").setAttribute("disabled","disabled"),e.returnMoneyValue=a.returnMoneyValue,e.returnMoneyRatio=a.returnMoneyRatio,e.saleSortAuto=a.saleSortAuto,e.autoPriceFrom=a.autoPriceFrom,e.autoPriceTo=a.autoPriceTo,e.saleDateType=a.saleDateType,e.saleDateFrom=a.saleDateFrom,e.saleDateTo=a.saleDateTo,e.saleWeek=a.saleWeek,e.saleWeek.length>=7&&(e.isAllChecked=!0),e.channelId=a.channelId,e.priceTypeId=a.priceTypeId,e.saleType=a.saleType,e.productId=a.productId,e.versonFlag=a.versonFlag,e.salePayTime=a.salePayTime,0==e.salePayTime&&(document.querySelector(".priceInput").setAttribute("disabled","disabled"),e.isPayTime=!0),e.discountsList=a.discountsList,e.discountsPayList=a.discountsPayList,a.saleCheckArea&&(e.saleCheckArea=JSON.parse(a.saleCheckArea)),e.saleServiceType=a.saleServiceType,e.services=a.services,e.returnMoneyType=a.returnMoneyType,e.datePayList=a.datePayList}else e.$message.error(t.data.message)})},newPlus1:function(){var e=this;if(this.fieldName1){var t={fieldType:0,fieldName:this.fieldName1};this.axios.post(this.getProductUrl("sale/fieldSave"),t).then(function(t){e.isShowBuy=!1,"00"==t.data.code?(e.fieldName1="",e.initLoad()):e.$message.error(t.data.message)}).catch(function(t){return e.isShowBuy=!1})}else this.$message.error("请输入证件类型名称")},newPlus2:function(){var e=this;if(this.fieldName2){var t={fieldType:1,fieldName:this.fieldName2};this.axios.post(this.getProductUrl("sale/fieldSave"),t).then(function(t){e.isShowOther=!1,"00"==t.data.code?(e.fieldName2="",e.initLoad()):e.$message.error(t.data.message)}).catch(function(t){return e.isShowOther=!1})}else this.$message.error("请输入条件名称")},addSingleRule:function(){var e=this;this.discountsList.push({buyNum:"",salePricePay:""}),this.$nextTick(function(){e.numberManage()})},reduceSingleRule:function(e){var t=this;this.discountsList.splice(e,1),this.$nextTick(function(){t.numberManage()})},addSettleRule:function(){var e=this;this.discountsPayList.push({buyNum:"",salePricePay:"",buyUnit:""}),this.$nextTick(function(){e.numberManage()})},reduceSettleRule:function(e){var t=this;this.discountsPayList.splice(e,1),this.$nextTick(function(){t.numberManage()})},addService:function(){this.services.push({})},reduceService:function(e){this.services.splice(e,1)},extraChange:function(e,t){var a=t;if(a){var i=this.distributionList.findIndex(function(e){return a==e.saleId});this.services[e].productPrice=this.distributionList[i].productPrice,this.services[e].salePricePay=this.distributionList[i].salePricePay,this.services[e].salePrice=this.distributionList[i].salePrice,this.services[e].salePriceFee=this.distributionList[i].salePriceFee}else this.services[e].productPrice="",this.services[e].salePricePay="",this.services[e].salePrice="",this.services[e].salePriceFee=""},getDistribution:function(){var e=this,t=this.initData,a=t.channelId,i=t.priceTypeId,s=t.saleType,r={saleServiceTypes:[1,2],buyChannelId:a,allChannel:a?"":1,priceTypeId:i,saleType:s};this.axios.post(this.getProductUrl("sale/queryItem"),r).then(function(t){"00"==t.data.code?e.distributionList=t.data.data.list:e.$message.error(t.data.message)})},saved:function(e){var t=this;if(this.autoPriceFrom&&this.autoPriceTo&&this.$commonJs.changeTime(this.autoPriceFrom)>this.$commonJs.changeTime(this.autoPriceTo))this.$message.error("定时调价1--开始时间必须小于结束时间");else if(this.saleDateFrom&&this.saleDateTo&&this.$commonJs.changeTime(this.saleDateFrom)>this.$commonJs.changeTime(this.saleDateTo))this.$message.error("售票时间--开始时间必须小于结束时间");else{for(var a=0;a<this.datePayList.length;a++){var i=this.datePayList[a].autoPriceFrom,s=this.datePayList[a].autoPriceTo,r=a+2;if(i&&s&&this.$commonJs.changeTime(i)>this.$commonJs.changeTime(s))return void this.$message.error("定时调价"+r+"--开始时间必须小于结束时间")}var n=this.idFields.map(function(e,t){return{fieldId:e,inputType:1}}),l=this.conditonFields.map(function(e,t){return{fieldId:e,inputType:1}});this.fields=n.concat(l),0==this.saleDateType&&(this.saleDateFrom="",this.saleDateTo=""),this.discountsList.forEach(function(e,t){e.buyNum=parseInt(e.buyNum)}),this.discountsPayList.forEach(function(e,t){e.buyNum=parseInt(e.buyNum)});var o=[];this.services.forEach(function(e,t){e.saleId&&o.push(e.saleId)}),0!=this.saleServiceType&&(o=[]);var c={saleChangePrice:this.saleChangePrice,line:e,saleId:this.saleId,priceTypeId:this.priceTypeId,channelId:this.channelId,saleType:this.saleType,productId:this.productId,salePrice:parseFloat(this.salePrice),salePricePay:parseFloat(this.salePricePay),salePriceFee:parseFloat(this.salePriceFee),autoPriceFrom:this.autoPriceFrom,autoPriceTo:this.autoPriceTo,autoSalePrice:parseFloat(this.autoSalePrice),autoSalePricePay:parseFloat(this.autoSalePricePay),autoSalePriceFee:parseFloat(this.autoSalePriceFee),syncToPd:this.syncToPd,sms:this.sms,saleDateType:parseFloat(this.saleDateType),saleDateFrom:this.saleDateFrom,saleDateTo:this.saleDateTo,saleCheckId:parseFloat(this.saleCheckId),salePayTime:parseFloat(this.salePayTime),saleStopNoticeTime:this.saleStopNoticeTime,saleStopTime:this.saleStopTime,saleDateFrontDay:parseInt(this.saleDateFrontDay),checkSaleDelayHour:parseInt(this.checkSaleDelayHour),checkToUnitValue:parseInt(this.checkToUnitValue),saleCheckMaxCount:parseInt(this.saleCheckMaxCount),saleCheckMaxDay:this.saleCheckMaxDay,saleCheckMinNum:parseInt(this.saleCheckMinNum),saleCheckMaxNum:parseInt(this.saleCheckMaxNum),saleCheckMinAge:parseInt(this.saleCheckMinAge),saleCheckMaxAge:parseInt(this.saleCheckMaxAge),saleCheckSex:parseFloat(this.saleCheckSex),saleCheckArea:v()(this.saleCheckArea),returnFlag:parseFloat(this.returnFlag),returnPlayFromHour:parseInt(this.returnPlayFromHour),returnPlayToHour:parseInt(this.returnPlayToHour),returnMoneyUnitType:parseFloat(this.returnMoneyUnitType),returnMoneyValue:parseFloat(this.returnMoneyValue),returnMoneyRatio:parseFloat(this.returnMoneyRatio),saleSortAuto:this.saleSortAuto,saleWeek:this.saleWeek,discountsList:this.discountsList,discountsPayList:this.discountsPayList,fields:this.fields,versonFlag:this.versonFlag,saleServiceType:this.saleServiceType,services:o,returnMoneyType:parseFloat(this.returnMoneyType),deposits:this.deposits,enabledBuy:this.saleLimitData,disabledBuy:this.disabledBuy,saleGroupLeader:this.saleGroupLeader,datePayList:this.datePayList,checkAuto:this.checkAuto};this.axios.post(this.getProductUrl("sale/save"),c).then(function(e){"00"==e.data.code?(t.$message.success("保存成功"),t.$router.go(-1)):t.$message.error(e.data.message)})}},addLimitRule:function(e){this[e]=[].concat(u()(this[e]),[{ruleBuyAreaId:"",ruleBuyAreaName:"",ruleBuyCityId:"",ruleBuyCityName:"",ruleBuyDateFrom:"",ruleBuyDateTo:"",ruleBuyMaxAge:0,ruleBuyMinAge:0,ruleBuyProvinceId:"",ruleBuyProvinceName:"",ruleBuySex:0,ruleBuyTimeFrom:"",ruleBuyTimeTo:"",companyId:""}])},removeLimitRule:function(e,t,a){this[a].splice(t,1)},disableDay:function(e,t){return new Date(e.Format("yyyy-MM-dd")).getTime()<new Date(t).getTime()},loadAreaList:function(){var e=this;return o()(n.a.mark(function t(){var a,i,s;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a={parentAreaId:1e8,pageSize:1e4},t.next=3,e.axios.post(h.a.getAreaList(),a,{isLoading:!1});case 3:if(i=t.sent,"00"==(s=i.data).code){t.next=7;break}return t.abrupt("return");case 7:e.proviceList=[].concat(u()(e.proviceList),u()(s.data.list));case 8:case"end":return t.stop()}},t,e)}))()},rowProvinceChange:function(e,t,a){var i=s()(this[a][t],{ruleBuyProvinceId:e.areaId,ruleBuyProvinceName:e.areaName,ruleBuyCityId:"",ruleBuyCityName:"",ruleBuyAreaId:"",ruleBuyAreaName:""});this[a].splice(t,1,i),this.cityList=[{areaName:"不限",areaId:""}],this.enabledAreaList=[{areaName:"不限",areaId:""}]},rowCityChange:function(e,t,a){var i=s()(this[a][t],{ruleBuyCityId:e.areaId,ruleBuyCityName:e.areaName,ruleBuyAreaId:"",ruleBuyAreaName:""});this[a].splice(t,1,i),this.enabledAreaList=[{areaName:"不限",areaId:""}]},rowAreaChange:function(e,t,a){var i=s()(this[a][t],{ruleBuyAreaId:e.areaId,ruleBuyAreaName:e.areaName});this[a].splice(t,1,i)},getCityList:function(e){var t=this;return o()(n.a.mark(function a(){var i,s,r;return n.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(i=e.ruleBuyProvinceId){a.next=4;break}return t.cityList=[{areaName:"不限",areaId:""}],a.abrupt("return");case 4:if(!(t.cityList.length>1)){a.next=6;break}return a.abrupt("return");case 6:return a.next=8,t.axios.post(h.a.getAreaList(),{parentAreaId:i,pageSize:1e4},{isLoading:!1});case 8:if(s=a.sent,"00"==(r=s.data).code){a.next=12;break}return a.abrupt("return");case 12:t.cityList=[].concat(u()(t.cityList),u()(r.data.list));case 13:case"end":return a.stop()}},a,t)}))()},getAreaList:function(e){var t=this;return o()(n.a.mark(function a(){var i,s,r;return n.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(i=e.ruleBuyCityId){a.next=4;break}return t.enabledAreaList=[{areaName:"不限",areaId:""}],a.abrupt("return");case 4:if(!(t.enabledAreaList.length>1)){a.next=6;break}return a.abrupt("return");case 6:return a.next=8,t.axios.post(h.a.getAreaList(),{parentAreaId:i,pageSize:1e4},{isLoading:!1});case 8:if(s=a.sent,"00"==(r=s.data).code){a.next=12;break}return a.abrupt("return");case 12:t.enabledAreaList=[].concat(u()(t.enabledAreaList),u()(r.data.list));case 13:case"end":return a.stop()}},a,t)}))()},addDatePay:function(){this.datePayList.push({})},delDatePay:function(e){this.datePayList.splice(e,1)}},beforeCreate:function(){this.saleId=this.$route.query.saleId},mounted:function(){this.numberManage(),this.initLoad(),this.loadAreaList()}},b={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:"name"},[a("div",{staticClass:"name1"},[a("p",[a("span",[e._v(" 产品名称: ")]),e._v(" "),a("b",[e._v("\n "+e._s(e.initData.productName)+"\n ")])]),e._v(" "),a("p",[a("span",[e._v(" 门市价: ")]),e._v(" "),a("b",[e._v(" ¥"+e._s(e.initData.productPrice)+"/份 ")])])]),e._v(" "),a("div",{staticClass:"name2"},[a("p",[a("span",[e._v(" 渠道名称: ")]),e._v(" "),a("b",[e._v("\n "+e._s(e.initData.channelName)+"\n ")])]),e._v(" "),a("p",[a("span",[e._v(" 渠道类型: ")]),e._v(" "),a("b",[e._v("\n "+e._s(e.initData.priceTypeName)+"\n ")])]),e._v(" "),a("p",[a("span",[e._v(" 票种: ")]),e._v(" "),a("b",[e._v("\n "+e._s(e.initData.saleTypeName)+"\n ")])]),e._v(" "),a("p",[a("span",[e._v(" 渠道编码: ")]),e._v(" "),a("b",[e._v("\n "+e._s(e.saleId)+"\n ")])])])]),e._v(" "),a("div",{staticClass:"price"},[a("div",{staticClass:"price1"},[a("p",[a("span",[e._v(" 渠道售价: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:e.salePrice,callback:function(t){e.salePrice=t},expression:"salePrice"}}),e._v(" "),e._v("\n 元/份\n ")],1),e._v(" "),a("p",[a("span",[e._v(" 结算价: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:e.salePricePay,callback:function(t){e.salePricePay=t},expression:"salePricePay"}}),e._v(" "),e._v("\n 元/份\n ")],1),e._v(" "),a("p",[a("span",[e._v(" 手续费率: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:e.salePriceFee,callback:function(t){e.salePriceFee=t},expression:"salePriceFee"}}),e._v(" "),e._v("\n %\n ")],1),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleChangePrice,expression:"saleChangePrice"}],staticStyle:{width:"13px",margin:"0 5px 0 22px"},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.saleChangePrice)?e._i(e.saleChangePrice,null)>-1:e.saleChangePrice},on:{change:function(t){var a=e.saleChangePrice,i=t.target,s=!!i.checked;if(Array.isArray(a)){var r=e._i(a,null);i.checked?r<0&&(e.saleChangePrice=a.concat([null])):r>-1&&(e.saleChangePrice=a.slice(0,r).concat(a.slice(r+1)))}else e.saleChangePrice=s}}}),e._v(" "),a("span",[e._v("更改售价")])]),e._v(" "),a("div",{staticClass:"price2",staticStyle:{"align-items":"center"}},[a("div",[a("span",{staticStyle:{display:"inline-block",width:"70px"}},[e._v(" 定时调价: ")]),e._v(" "),a("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",size:"mini",placeholder:"开始日期"},model:{value:e.autoPriceFrom,callback:function(t){e.autoPriceFrom=t},expression:"autoPriceFrom"}}),e._v("\n\n "),a("el-date-picker",{attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",size:"mini",placeholder:"结束日期"},model:{value:e.autoPriceTo,callback:function(t){e.autoPriceTo=t},expression:"autoPriceTo"}})],1),e._v(" "),a("div",[a("span",[e._v(" 渠道售价: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:e.autoSalePrice,callback:function(t){e.autoSalePrice=t},expression:"autoSalePrice"}}),e._v(" "),e._v("\n 元/份\n ")],1),e._v(" "),a("div",[a("span",[e._v(" 结算价: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:e.autoSalePricePay,callback:function(t){e.autoSalePricePay=t},expression:"autoSalePricePay"}}),e._v(" "),e._v("\n 元/份\n ")],1),e._v(" "),a("div",[a("span",[e._v(" 手续费率: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:e.autoSalePriceFee,callback:function(t){e.autoSalePriceFee=t},expression:"autoSalePriceFee"}}),e._v(" "),e._v("\n %\n ")],1),e._v(" "),a("div",[a("a",{staticClass:"btn4",staticStyle:{width:"0.6rem",height:"0.3rem","line-height":"0.3rem"},on:{click:function(t){return e.addDatePay()}}},[e._v("新增")])])]),e._v(" "),e._l(e.datePayList,function(t,i){return a("div",{key:i,staticClass:"price2",staticStyle:{"align-items":"center"}},[a("div",[a("span",{staticStyle:{display:"inline-block",width:"70px"}}),e._v(" "),a("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",size:"mini",placeholder:"开始日期"},model:{value:t.autoPriceFrom,callback:function(a){e.$set(t,"autoPriceFrom",a)},expression:"item.autoPriceFrom"}}),e._v("\n\n "),a("el-date-picker",{attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",size:"mini",placeholder:"结束日期"},model:{value:t.autoPriceTo,callback:function(a){e.$set(t,"autoPriceTo",a)},expression:"item.autoPriceTo"}})],1),e._v(" "),a("div",[a("span",[e._v(" 渠道售价: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:t.autoSalePrice,callback:function(a){e.$set(t,"autoSalePrice",a)},expression:"item.autoSalePrice"}}),e._v(" "),e._v("\n 元/份\n ")],1),e._v(" "),a("div",[a("span",[e._v(" 结算价: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:t.autoSalePricePay,callback:function(a){e.$set(t,"autoSalePricePay",a)},expression:"item.autoSalePricePay"}}),e._v(" "),e._v("\n 元/份\n ")],1),e._v(" "),a("div",[a("span",[e._v(" 手续费率: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:t.autoSalePriceFee,callback:function(a){e.$set(t,"autoSalePriceFee",a)},expression:"item.autoSalePriceFee"}}),e._v(" "),e._v("\n %\n ")],1),e._v(" "),a("div",[a("a",{staticClass:"btn4",staticStyle:{width:"0.6rem",height:"0.3rem","line-height":"0.3rem"},on:{click:function(t){return e.delDatePay(i)}}},[e._v("删除")])])])}),e._v(" "),a("div",{staticClass:"price3"},[a("span",[e._v(" 售票时间: ")]),e._v(" "),a("div",[a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleDateType,expression:"saleDateType"}],attrs:{type:"radio",name:"saleTime",value:"0"},domProps:{checked:e._q(e.saleDateType,"0")},on:{change:function(t){e.saleDateType="0"}}}),e._v("\n 不限制\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleDateType,expression:"saleDateType"}],attrs:{type:"radio",name:"saleTime",value:"1"},domProps:{checked:e._q(e.saleDateType,"1")},on:{change:function(t){e.saleDateType="1"}}}),e._v("\n 自定义\n ")])]),e._v(" "),a("p",{directives:[{name:"show",rawName:"v-show",value:1==e.saleDateType,expression:"saleDateType == 1"}]},[a("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",placeholder:"开始日期"},on:{change:function(t){return e.judgeTime2()}},model:{value:e.saleDateFrom,callback:function(t){e.saleDateFrom=t},expression:"saleDateFrom"}}),e._v("\n\n "),a("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",placeholder:"结束日期"},on:{change:function(t){return e.judgeTime2()}},model:{value:e.saleDateTo,callback:function(t){e.saleDateTo=t},expression:"saleDateTo"}})],1),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.isAllChecked,expression:"isAllChecked"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.isAllChecked)?e._i(e.isAllChecked,null)>-1:e.isAllChecked},on:{change:[function(t){var a=e.isAllChecked,i=t.target,s=!!i.checked;if(Array.isArray(a)){var r=e._i(a,null);i.checked?r<0&&(e.isAllChecked=a.concat([null])):r>-1&&(e.isAllChecked=a.slice(0,r).concat(a.slice(r+1)))}else e.isAllChecked=s},function(t){return e.allCheck()}]}}),e._v("\n 全部\n ")]),e._v(" "),e._l(e.weekList,function(t,i){return a("label",{key:i},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleWeek,expression:"saleWeek"}],attrs:{type:"checkbox"},domProps:{value:t.value,checked:Array.isArray(e.saleWeek)?e._i(e.saleWeek,t.value)>-1:e.saleWeek},on:{change:[function(a){var i=e.saleWeek,s=a.target,r=!!s.checked;if(Array.isArray(i)){var n=t.value,l=e._i(i,n);s.checked?l<0&&(e.saleWeek=i.concat([n])):l>-1&&(e.saleWeek=i.slice(0,l).concat(i.slice(l+1)))}else e.saleWeek=r},function(t){return e.singleCheck()}]}}),e._v("\n "+e._s(t.name)+"\n ")])})],2),e._v(" "),a("p")])]),e._v(" "),a("el-dialog",{attrs:{title:"新增购买证件",width:"300px",visible:e.isShowBuy,center:""},on:{"update:visible":function(t){e.isShowBuy=t}}},[a("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.fieldName1,expression:"fieldName1",modifiers:{trim:!0}}],staticStyle:{width:"100%"},attrs:{type:"text"},domProps:{value:e.fieldName1},on:{input:function(t){t.target.composing||(e.fieldName1=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"normal",size:"mini"},on:{click:function(t){e.isShowBuy=!1}}},[e._v("返回")]),e._v(" "),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.newPlus1}},[e._v("确定")])],1)]),e._v(" "),a("div",{staticClass:"price4"},[a("span",[e._v(" 购买证件: ")]),e._v(" "),a("div",[a("p",[e._l(e.idList,function(t,i){return a("label",{key:t.fieldId},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.idFields,expression:"idFields"}],attrs:{type:"checkbox",indeterminate:""},domProps:{value:t.fieldId,checked:Array.isArray(e.idFields)?e._i(e.idFields,t.fieldId)>-1:e.idFields},on:{change:function(a){var i=e.idFields,s=a.target,r=!!s.checked;if(Array.isArray(i)){var n=t.fieldId,l=e._i(i,n);s.checked?l<0&&(e.idFields=i.concat([n])):l>-1&&(e.idFields=i.slice(0,l).concat(i.slice(l+1)))}else e.idFields=r}}}),e._v("\n "+e._s(t.fieldName)+"\n ")])}),e._v(" "),a("a",{staticClass:"btn4_mini",staticStyle:{"margin-left":"0.1rem"},on:{click:function(t){e.isShowBuy=!0}}},[e._v("\n 新增\n ")])],2)])]),e._v(" "),a("el-dialog",{attrs:{title:"新增其他条件",width:"300px",visible:e.isShowOther,center:""},on:{"update:visible":function(t){e.isShowOther=t}}},[a("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.fieldName2,expression:"fieldName2",modifiers:{trim:!0}}],staticStyle:{width:"100%"},attrs:{type:"text"},domProps:{value:e.fieldName2},on:{input:function(t){t.target.composing||(e.fieldName2=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"normal",size:"mini"},on:{click:function(t){e.isShowOther=!1}}},[e._v("返回")]),e._v(" "),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.newPlus2}},[e._v("确定")])],1)]),e._v(" "),a("div",{staticClass:"price5"},[a("span",[e._v("其他条件: ")]),e._v(" "),a("div",{staticClass:"price5_right"},[e._l(e.conditionList,function(t,i){return a("div",{key:t.fieldId},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.conditonFields,expression:"conditonFields"}],attrs:{type:"checkbox"},domProps:{value:t.fieldId,checked:Array.isArray(e.conditonFields)?e._i(e.conditonFields,t.fieldId)>-1:e.conditonFields},on:{change:function(a){var i=e.conditonFields,s=a.target,r=!!s.checked;if(Array.isArray(i)){var n=t.fieldId,l=e._i(i,n);s.checked?l<0&&(e.conditonFields=i.concat([n])):l>-1&&(e.conditonFields=i.slice(0,l).concat(i.slice(l+1)))}else e.conditonFields=r}}}),e._v("\n "+e._s(t.fieldName)+"\n ")])])}),e._v(" "),a("a",{staticClass:"btn4_mini",staticStyle:{"margin-left":"0.1rem"},on:{click:function(t){e.isShowOther=!0}}},[e._v("\n 新增\n ")])],2)]),e._v(" "),a("div",{staticClass:"price6"},[a("span",[e._v(" 购买记录: ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleCheckId,expression:"saleCheckId"}],attrs:{type:"radio",name:"buyRecord",value:"1"},domProps:{checked:e._q(e.saleCheckId,"1")},on:{change:function(t){e.saleCheckId="1"}}}),e._v("\n 记录一人\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleCheckId,expression:"saleCheckId"}],attrs:{type:"radio",name:"buyRecord",value:"2"},domProps:{checked:e._q(e.saleCheckId,"2")},on:{change:function(t){e.saleCheckId="2"}}}),e._v("\n 每人记录\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleCheckId,expression:"saleCheckId"}],attrs:{type:"radio",name:"buyRecord",value:"0"},domProps:{checked:e._q(e.saleCheckId,"0")},on:{change:function(t){e.saleCheckId="0"}}}),e._v("\n 无需记录\n ")])])]),e._v(" "),a("div",{staticClass:"price6"},[a("span",[e._v(" 团队导游: ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleGroupLeader,expression:"saleGroupLeader"}],attrs:{type:"radio"},domProps:{value:0,checked:e._q(e.saleGroupLeader,0)},on:{change:function(t){e.saleGroupLeader=0}}}),e._v("\n 需要导游\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleGroupLeader,expression:"saleGroupLeader"}],attrs:{type:"radio"},domProps:{value:1,checked:e._q(e.saleGroupLeader,1)},on:{change:function(t){e.saleGroupLeader=1}}}),e._v("\n 不需要导游\n ")])])]),e._v(" "),a("div",{staticClass:"price6"},[a("span",[e._v(" 服务类型: ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleServiceType,expression:"saleServiceType"}],attrs:{type:"radio",name:"saleServiceType",value:"0"},domProps:{checked:e._q(e.saleServiceType,"0")},on:{change:function(t){e.saleServiceType="0"}}}),e._v("\n 分销\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleServiceType,expression:"saleServiceType"}],attrs:{type:"radio",name:"saleServiceType",value:"1"},domProps:{checked:e._q(e.saleServiceType,"1")},on:{change:function(t){e.saleServiceType="1"}}}),e._v("\n 服务\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleServiceType,expression:"saleServiceType"}],attrs:{type:"radio",name:"saleServiceType",value:"2"},domProps:{checked:e._q(e.saleServiceType,"2")},on:{change:function(t){e.saleServiceType="2"}}}),e._v("\n 分销+服务\n ")])])]),e._v(" "),a("div",{staticClass:"price8"},[a("span",[e._v(" 支付时间: ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.isPayTime,expression:"isPayTime"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.isPayTime)?e._i(e.isPayTime,null)>-1:e.isPayTime},on:{change:[function(t){var a=e.isPayTime,i=t.target,s=!!i.checked;if(Array.isArray(a)){var r=e._i(a,null);i.checked?r<0&&(e.isPayTime=a.concat([null])):r>-1&&(e.isPayTime=a.slice(0,r).concat(a.slice(r+1)))}else e.isPayTime=s},function(t){return e.payTimeCheck()}]}}),e._v("\n 不限制\n ")])]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.salePayTime,expression:"salePayTime"}],staticClass:"priceInput",attrs:{placeholder:"输入时间",type:"number",min:"0",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:e.salePayTime},on:{input:function(t){t.target.composing||(e.salePayTime=t.target.value)}}}),e._v("\n\n ")])])]),e._v(" "),a("div",{staticClass:"price7"},[a("span",[e._v(" 停售设置: ")]),e._v(" "),a("p",[a("el-time-select",{attrs:{"value-format":"HH:mm","picker-options":{start:"00:00",end:"24:00",step:"00:10"},size:"mini",placeholder:"选择时间"},model:{value:e.saleStopTime,callback:function(t){e.saleStopTime=t},expression:"saleStopTime"}}),e._v("\n 停售\n ")],1),e._v(" "),a("p",[a("el-time-select",{attrs:{"value-format":"HH:mm","picker-options":{start:"00:00",end:"24:00",step:"00:10"},size:"mini",placeholder:"选择时间"},model:{value:e.saleStopNoticeTime,callback:function(t){e.saleStopNoticeTime=t},expression:"saleStopNoticeTime"}}),e._v("\n 通知\n ")],1)])],2),e._v(" "),a("div",{staticClass:"rule"},[a("div",{staticClass:"rule_nav"},[a("span",[e._v("规则设置:")]),e._v(" "),a("p",{staticClass:"rule_title"},[e._l(e.ruleList,function(t,i){return a("a",{key:i,staticClass:"btnGray4-mini",class:{on:e.active==i},on:{click:function(t){return e.clickRule(i)}}},[e._v("\n "+e._s(t.name)+"\n ")])}),e._v(" "),0==e.saleServiceType?a("a",{staticClass:"btnGray4-mini",class:{on:8==e.active},on:{click:function(t){return e.clickRule2()}}},[e._v("\n 额外服务\n ")]):e._e()],2)]),e._v(" "),a("hr"),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleList[0].show,expression:"ruleList[0].show"}],staticClass:"verification"},[a("p",[a("span",[e._v(" 预售天数: ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleDateFrontDay,expression:"saleDateFrontDay"}],attrs:{type:"number",min:"0",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:e.saleDateFrontDay},on:{input:function(t){t.target.composing||(e.saleDateFrontDay=t.target.value)}}}),e._v("\n\n ")]),e._v(" "),a("p",[a("span",[e._v(" 生效截止: ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.checkToUnitValue,expression:"checkToUnitValue"}],attrs:{type:"number",min:"0",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:e.checkToUnitValue},on:{input:function(t){t.target.composing||(e.checkToUnitValue=t.target.value)}}}),e._v("天\n ")]),e._v(" "),a("p",[a("span",[e._v(" 验证限制: ")]),e._v("\n 购票\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.checkSaleDelayHour,expression:"checkSaleDelayHour"}],attrs:{type:"number",min:"0",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:e.checkSaleDelayHour},on:{input:function(t){t.target.composing||(e.checkSaleDelayHour=t.target.value)}}}),e._v("\n 小时后可验证\n ")]),e._v(" "),a("div",[a("span",[e._v("\n \t\t自动核销规则\n \t")]),e._v(" "),a("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.checkAuto,callback:function(t){e.checkAuto=t},expression:"checkAuto"}},[a("el-option",{attrs:{label:"不自动核销",value:"0"}}),e._v(" "),a("el-option",{attrs:{label:"游玩时间结束核销",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"游玩时间中随机核销",value:"2"}}),e._v(" "),a("el-option",{attrs:{label:"退票截止时间核销",value:"3"}})],1)],1)]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleList[1].show,expression:"ruleList[1].show"}],staticClass:"retreat"},[a("div",{staticClass:"retreat1"},[a("span",[e._v(" 规则设置: ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnFlag,expression:"returnFlag"}],attrs:{type:"radio",name:"rule",value:"0"},domProps:{checked:e._q(e.returnFlag,"0")},on:{change:[function(t){e.returnFlag="0"},function(t){return e.ruleSet()}]}}),e._v("\n 不可退改\n ")])]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnFlag,expression:"returnFlag"}],attrs:{type:"radio",name:"rule",value:"1"},domProps:{checked:e._q(e.returnFlag,"1")},on:{change:[function(t){e.returnFlag="1"},function(t){return e.ruleSet()}]}}),e._v("\n 随时退改\n ")])]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnFlag,expression:"returnFlag"}],attrs:{type:"radio",name:"rule",value:"2"},domProps:{checked:e._q(e.returnFlag,"2")},on:{change:[function(t){e.returnFlag="2"},function(t){return e.ruleSet()}]}}),e._v("\n 游玩截止时间\n ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnPlayFromHour,expression:"returnPlayFromHour"}],staticClass:"returnPlayFromHour",attrs:{type:"number",min:"0",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:e.returnPlayFromHour},on:{input:function(t){t.target.composing||(e.returnPlayFromHour=t.target.value)}}}),e._v("\n 小时退改\n ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnFlag,expression:"returnFlag"}],attrs:{type:"radio",name:"rule",value:"3"},domProps:{checked:e._q(e.returnFlag,"3")},on:{change:[function(t){e.returnFlag="3"},function(t){return e.ruleSet()}]}}),e._v("\n 过期后\n ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnPlayToHour,expression:"returnPlayToHour"}],staticClass:"returnPlayToHour",attrs:{type:"number",min:"0",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:e.returnPlayToHour},on:{input:function(t){t.target.composing||(e.returnPlayToHour=t.target.value)}}}),e._v("\n 小时退改\n ")])]),e._v(" "),a("div",{staticClass:"retreat2"},[a("span",[e._v(" 手续费: ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnMoneyUnitType,expression:"returnMoneyUnitType"}],attrs:{type:"radio",name:"cost",value:"0"},domProps:{checked:e._q(e.returnMoneyUnitType,"0")},on:{change:[function(t){e.returnMoneyUnitType="0"},function(t){return e.serviceChange()}]}}),e._v("\n 固定值\n ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnMoneyValue,expression:"returnMoneyValue"}],staticClass:"returnMoneyValue",attrs:{type:"number",min:"0"},domProps:{value:e.returnMoneyValue},on:{input:function(t){t.target.composing||(e.returnMoneyValue=t.target.value)}}}),e._v("\n\n ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnMoneyUnitType,expression:"returnMoneyUnitType"}],attrs:{type:"radio",name:"cost",value:"1"},domProps:{checked:e._q(e.returnMoneyUnitType,"1")},on:{change:[function(t){e.returnMoneyUnitType="1"},function(t){return e.serviceChange()}]}}),e._v("\n 票价\n ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnMoneyRatio,expression:"returnMoneyRatio"}],staticClass:"returnMoneyRatio",attrs:{type:"number",min:"0"},domProps:{value:e.returnMoneyRatio},on:{input:function(t){t.target.composing||(e.returnMoneyRatio=t.target.value)}}}),e._v("\n %\n ")])]),e._v(" "),a("div",[a("span",[e._v(" 退款类型: ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnMoneyType,expression:"returnMoneyType"}],attrs:{type:"radio",name:"returnMoneyType",value:"0"},domProps:{checked:e._q(e.returnMoneyType,"0")},on:{change:function(t){e.returnMoneyType="0"}}}),e._v("\n 不退款\n ")])]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnMoneyType,expression:"returnMoneyType"}],attrs:{type:"radio",name:"returnMoneyType",value:"1"},domProps:{checked:e._q(e.returnMoneyType,"1")},on:{change:function(t){e.returnMoneyType="1"}}}),e._v("\n 自动退款\n ")])])])]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleList[2].show,expression:"ruleList[2].show"}],staticClass:"discount"},[a("div",[a("a",{staticClass:"btn4",on:{click:function(t){return e.addSingleRule()}}},[e._v("增加")])]),e._v(" "),e._l(e.discountsList,function(t,i){return a("div",{key:i},[a("p",[a("span",[e._v(" 购买数量: ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.buyNum,expression:"item.buyNum"}],attrs:{type:"number",min:"0",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:t.buyNum},on:{input:function(a){a.target.composing||e.$set(t,"buyNum",a.target.value)}}}),e._v("份\n ")]),e._v(" "),a("p",[a("span",[e._v(" 结算单价: ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.salePricePay,expression:"item.salePricePay"}],attrs:{type:"number",min:"0"},domProps:{value:t.salePricePay},on:{input:function(a){a.target.composing||e.$set(t,"salePricePay",a.target.value)}}}),e._v("元/份\n ")]),e._v(" "),a("i",{on:{click:function(t){return e.reduceSingleRule(i)}}},[e._v(" - ")])])})],2),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleList[3].show,expression:"ruleList[3].show"}],staticClass:"discount"},[a("div",[a("a",{staticClass:"btn4",on:{click:function(t){return e.addSettleRule()}}},[e._v(" 增加 ")])]),e._v(" "),e._l(e.discountsPayList,function(t,i){return a("div",{key:i},[a("p",[a("span",[e._v(" 购买数量: ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.buyNum,expression:"item.buyNum"}],attrs:{type:"number",min:"0",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:t.buyNum},on:{input:function(a){a.target.composing||e.$set(t,"buyNum",a.target.value)}}}),e._v("份\n "),a("select",{directives:[{name:"model",rawName:"v-model",value:t.buyUnit,expression:"item.buyUnit"}],on:{change:function(a){var i=Array.prototype.filter.call(a.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(t,"buyUnit",a.target.multiple?i:i[0])}}},[a("option",{attrs:{value:""}},[e._v("-请选择-")]),e._v(" "),a("option",{attrs:{value:"0"}},[e._v("次")]),e._v(" "),a("option",{attrs:{value:"1"}},[e._v("月")]),e._v(" "),a("option",{attrs:{value:"2"}},[e._v("季度")]),e._v(" "),a("option",{attrs:{value:"3"}},[e._v("年")])])]),e._v(" "),a("p",[a("span",[e._v(" 结算单价: ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.salePricePay,expression:"item.salePricePay"}],attrs:{type:"number",min:"0"},domProps:{value:t.salePricePay},on:{input:function(a){a.target.composing||e.$set(t,"salePricePay",a.target.value)}}}),e._v("元/份\n ")]),e._v(" "),a("i",{on:{click:function(t){return e.reduceSettleRule(i)}}},[e._v(" - ")])])})],2),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleList[4].show,expression:"ruleList[4].show"}],staticClass:"number"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleSortAuto,expression:"saleSortAuto"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.saleSortAuto)?e._i(e.saleSortAuto,null)>-1:e.saleSortAuto},on:{change:function(t){var a=e.saleSortAuto,i=t.target,s=!!i.checked;if(Array.isArray(a)){var r=e._i(a,null);i.checked?r<0&&(e.saleSortAuto=a.concat([null])):r>-1&&(e.saleSortAuto=a.slice(0,r).concat(a.slice(r+1)))}else e.saleSortAuto=s}}}),e._v("\n 购买自动排号\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.syncToPd,expression:"syncToPd"}],staticStyle:{"margin-left":"20px"},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.syncToPd)?e._i(e.syncToPd,null)>-1:e.syncToPd},on:{change:function(t){var a=e.syncToPd,i=t.target,s=!!i.checked;if(Array.isArray(a)){var r=e._i(a,null);i.checked?r<0&&(e.syncToPd=a.concat([null])):r>-1&&(e.syncToPd=a.slice(0,r).concat(a.slice(r+1)))}else e.syncToPd=s}}}),e._v("\n 同步到胖丁\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.sms,expression:"sms"}],staticStyle:{"margin-left":"20px"},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.sms)?e._i(e.sms,null)>-1:e.sms},on:{change:function(t){var a=e.sms,i=t.target,s=!!i.checked;if(Array.isArray(a)){var r=e._i(a,null);i.checked?r<0&&(e.sms=a.concat([null])):r>-1&&(e.sms=a.slice(0,r).concat(a.slice(r+1)))}else e.sms=s}}}),e._v("\n 发送短信\n ")])]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleList[5].show,expression:"ruleList[5].show"}]},[e._l(e.deposits,function(t){return[a("div",{key:t.projectId,staticClass:"disposits"},[a("div",[e._v("\n "+e._s(t.projectName)+"\n ")]),e._v(" "),a("div",[a("div",[a("span",{staticClass:"disposit_label"},[e._v("押金类型")]),e._v(" "),a("el-select",{staticStyle:{width:"120px"},attrs:{size:"mini"},model:{value:t.depositType,callback:function(a){e.$set(t,"depositType",a)},expression:"item.depositType"}},e._l(e.depositTypeList,function(e){return a("el-option",{key:e.label,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("div",[a("span",{staticClass:"disposit_label"},[e._v("押金单价")]),e._v(" "),a("el-input",{staticStyle:{width:"80px"},attrs:{disabled:0==t.depositType||1==t.depositType,size:"mini"},model:{value:t.depositMoney,callback:function(a){e.$set(t,"depositMoney",a)},expression:"item.depositMoney"}})],1),e._v(" "),a("div",[a("span",{staticClass:"disposit_label"},[e._v("押金时限")]),e._v(" "),a("el-input",{staticStyle:{width:"80px"},attrs:{size:"mini"},model:{value:t.depositHour,callback:function(a){e.$set(t,"depositHour",a)},expression:"item.depositHour"}})],1),e._v(" "),a("div",[a("span",{staticClass:"disposit_label"},[e._v("押金时扣")]),e._v(" "),a("el-input",{staticStyle:{width:"80px"},attrs:{size:"mini"},model:{value:t.depositHourMoney,callback:function(a){e.$set(t,"depositHourMoney",a)},expression:"item.depositHourMoney"}})],1),e._v(" "),a("div",[a("span",{staticClass:"disposit_label"},[e._v("丢失扣款")]),e._v(" "),a("el-input",{staticStyle:{width:"80px"},attrs:{size:"mini"},model:{value:t.depositLostMoney,callback:function(a){e.$set(t,"depositLostMoney",a)},expression:"item.depositLostMoney"}})],1)])])]})],2),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleList2[0].show&&0==e.saleServiceType,expression:"ruleList2[0].show && saleServiceType == 0"}],staticClass:"extra"},[a("p",{staticClass:"btn4",on:{click:function(t){return e.addService()}}},[e._v("新增")]),e._v(" "),e._l(e.services,function(t,i){return a("div",{key:i},[e._v("\n 分销产品:\n "),a("div",[a("section",[a("el-select",{attrs:{filterable:""},on:{change:function(a){return e.extraChange(i,t.saleId)}},model:{value:t.saleId,callback:function(a){e.$set(t,"saleId",a)},expression:"item.saleId"}},[a("el-option",{attrs:{label:"-请选择-",value:""}}),e._v(" "),e._l(e.distributionList,function(e){return a("el-option",{key:e.saleId,attrs:{label:e.productName+"+"+e.saleTypeName,value:e.saleId}})})],2)],1)]),e._v(" "),a("div",[e._v("\n 门市价:\n "),a("span",[e._v(e._s(t.productPrice))]),e._v("元/份\n ")]),e._v(" "),a("div",[e._v("\n 渠道售价:\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.salePrice,expression:"item.salePrice"}],attrs:{type:"text",disabled:"disabled"},domProps:{value:t.salePrice},on:{input:function(a){a.target.composing||e.$set(t,"salePrice",a.target.value)}}}),e._v("元/份\n ")]),e._v(" "),a("div",[e._v("\n 结算价:\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.salePricePay,expression:"item.salePricePay"}],attrs:{type:"text",disabled:"disabled"},domProps:{value:t.salePricePay},on:{input:function(a){a.target.composing||e.$set(t,"salePricePay",a.target.value)}}}),e._v("元/份\n ")]),e._v(" "),a("div",[e._v("\n 手续费率:\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.salePriceFee,expression:"item.salePriceFee"}],attrs:{type:"text",disabled:"disabled"},domProps:{value:t.salePriceFee},on:{input:function(a){a.target.composing||e.$set(t,"salePriceFee",a.target.value)}}}),e._v("%\n ")]),e._v(" "),a("i",{on:{click:function(t){return e.reduceService(i)}}},[e._v("-")])])})],2),e._v(" "),a("hr",{staticStyle:{"margin-top":"0.3rem"}})]),e._v(" "),a("div",{staticStyle:{"margin-top":"0.5rem"}},[a("a",{staticClass:"btn4",staticStyle:{"margin-right":"0.6rem"},on:{click:function(t){return e.saved(!0)}}},[e._v("保存上架")]),e._v(" "),a("a",{staticClass:"btn4",staticStyle:{"margin-right":"0.6rem"},on:{click:function(t){return e.saved(!1)}}},[e._v("保存草稿")]),e._v(" "),a("a",{staticClass:"btn4",on:{click:function(t){return e.$router.go(-1)}}},[e._v("返回")])])],1)},staticRenderFns:[]};var f=a("C7Lr")(P,b,!1,function(e){a("Nhcs")},"data-v-b5ec69cc",null);t.default=f.exports},Nhcs:function(e,t){},ro5b:function(e,t,a){"use strict";var i=a("NloU").a,s=i+"/tbd-system/",r=i+"/tbd-order/",n={getAreaList:function(){return s+"/area/list"},getTourList:function(){return r+"/person/list"},sendSms:function(){return r+"/person/sms"}};t.a=n}});
\ No newline at end of file
webpackJsonp([43],{"9FDr":function(e,t){},DfpX:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("aA9S"),s=a.n(i),r=a("lC5x"),n=a.n(r),l=a("J0Oq"),o=a.n(l),c=a("IHPB"),u=a.n(c),d=a("3cXf"),v=a.n(d),p=a("4YfN"),m=a.n(p),y=a("RwQt"),h=a("ro5b"),_=a("bSIt"),P={components:{breadNav:y.default},data:function(){return{initData:{},active:0,isShowBuy:!1,isShowOther:!1,ruleList:[{name:"验证规则",show:!0},{name:"退改规则",show:!1},{name:"单次优惠规则",show:!1},{name:"结算优惠规则",show:!1},{name:"排号规则",show:!1},{name:"押金设置",show:!1}],ruleList2:[{name:"额外服务","show ":!1}],saleChangePrice:"",salePrice:"",salePricePay:"",salePriceFee:"",productPrice:"",autoSalePrice:"",autoSalePricePay:"",autoSalePriceFee:"",fieldName1:"",fieldName2:"",idList:[],conditionList:[],saleCheckId:"",saleGroupLeader:0,saleStopTime:"",saleStopNoticeTime:"",saleDateFrontDay:"",saleCheckMaxCount:1,saleCheckMaxDay:1,saleLimitData:[],saleCheckMinNum:"",saleCheckMaxNum:"",saleCheckMinAge:"",saleCheckSex:"",sms:!1,saleCheckMaxAge:"",Area:[{value:"北京",label:"北京"},{value:"江苏",label:"江苏"},{value:"浙江",label:"浙江"},{value:"安徽",label:"安徽"},{value:"福建",label:"福建"},{value:"江西",label:"江西"},{value:"山东",label:"山东"},{value:"河南",label:"河南"},{value:"湖南",label:"湖南"},{value:"广东",label:"广东"},{value:"天津",label:"天津"},{value:"海南",label:"海南"},{value:"四川",label:"四川"},{value:"贵州",label:"贵州"},{value:"云南",label:"云南"},{value:"陕西",label:"陕西"},{value:"甘肃",label:"甘肃"},{value:"青海",label:"青海"},{value:"台湾",label:"台湾"},{value:"内蒙古",label:"内蒙古"},{value:"广西",label:"广西"},{value:"上海",label:"上海"},{value:"西藏",label:"西藏"},{value:"宁夏",label:"宁夏"},{value:"新疆",label:"新疆"},{value:"香港",label:"香港"},{value:"澳门",label:"澳门"},{value:"重庆",label:"重庆"},{value:"河北",label:"河北"},{value:"山西",label:"山西"},{value:"辽宁",label:"辽宁"},{value:"吉林",label:"吉林"},{value:"黑龙江",label:"黑龙江"}],saleCheckArea:[],returnFlag:"",returnPlayFromHour:"",returnPlayToHour:"",returnMoneyUnitType:"",returnMoneyValue:"",returnMoneyRatio:"",discountsList:[],discountsPayList:[],saleSortAuto:!1,syncToPd:!1,checkToUnitValue:"",checkSaleDelayHour:"",autoPriceFrom:"",autoPriceTo:"",saleDateType:"",saleDateFrom:"",saleDateTo:"",weekList:[{value:1,name:"周一"},{value:2,name:"周二"},{value:3,name:"周三"},{value:4,name:"周四"},{value:5,name:"周五"},{value:6,name:"周六"},{value:7,name:"周日"}],isAllChecked:!1,saleWeek:[],salePayTime:"",isPayTime:"",fields:[],services:[],saleServiceType:"",distributionList:[],returnMoneyType:"",channelId:"",priceTypeId:"",saleType:"",productId:"",versonFlag:"",idFields:[],conditonFields:[],deposits:[],depositTypeList:[{label:"默认",value:0},{label:"无押金",value:1},{label:"下单时支付",value:2},{label:"领取时支付",value:3}],disabledBuy:[],proviceList:[{areaName:"不限",areaId:""}],cityList:[{areaName:"不限",areaId:""}],enabledAreaList:[{areaName:"不限",areaId:""}],sexList:[{label:"不限",value:0},{label:"男",value:1},{label:"女",value:2}],datePayList:[],checkAuto:""}},computed:m()({},Object(_.c)(["actionDistributionSetPlusSet"]),{havePower:function(){return 1==this.actionDistributionSetPlusSet}}),methods:{ruleSet:function(){0==this.returnFlag||1==this.returnFlag?(document.querySelector(".returnPlayToHour").setAttribute("disabled","disabled"),document.querySelector(".returnPlayFromHour").setAttribute("disabled","disabled"),this.returnPlayFromHour="",this.returnPlayToHour=""):2==this.returnFlag?(this.returnPlayToHour="",document.querySelector(".returnPlayFromHour").removeAttribute("disabled"),document.querySelector(".returnPlayToHour").setAttribute("disabled","disabled")):3==this.returnFlag&&(this.returnPlayFromHour="",document.querySelector(".returnPlayToHour").removeAttribute("disabled"),document.querySelector(".returnPlayFromHour").setAttribute("disabled","disabled"))},serviceChange:function(){0==this.returnMoneyUnitType?(this.returnMoneyRatio="",document.querySelector(".returnMoneyRatio").setAttribute("disabled","disabled"),document.querySelector(".returnMoneyValue").removeAttribute("disabled")):1==this.returnMoneyUnitType&&(this.returnMoneyValue="",document.querySelector(".returnMoneyValue").setAttribute("disabled","disabled"),document.querySelector(".returnMoneyRatio").removeAttribute("disabled"))},numberManage:function(){for(var e=document.querySelectorAll("input[type='number']"),t=0;t<e.length;t++)e[t].addEventListener("input",function(e){e.target.value=e.target.value.replace(/\-/g,"")})},payTimeCheck:function(){this.isPayTime?(this.salePayTime=0,document.querySelector(".priceInput").setAttribute("disabled","disabled")):document.querySelector(".priceInput").removeAttribute("disabled")},allCheck:function(){var e=this;0==e.saleWeek.length&&(e.saleWeek=[]),e.isAllChecked?e.weekList.forEach(function(t){e.saleWeek.push(t.value)}):e.saleWeek=[]},singleCheck:function(){this.saleWeek.length==this.weekList.length?this.isAllChecked=!0:this.isAllChecked=!1},clickRule:function(e){this.active=e;for(var t=0;t<this.ruleList.length;t++)this.ruleList[t].show=!1;this.ruleList2[0].show=!1,this.ruleList[e].show=!0},clickRule2:function(){this.active=8;for(var e=0;e<this.ruleList.length;e++)this.ruleList[e].show=!1;this.ruleList2[0].show=!0},initLoad:function(){var e=this;this.idList=[],this.conditionList=[];var t={saleId:this.saleId};this.axios.post(this.getProductUrl("sale/load"),t).then(function(t){if("00"==t.data.code){var a=t.data.data;console.log(a),e.initData=a,e.getDistribution(),e.sms=a.sms,e.saleChangePrice=a.saleChangePrice,e.salePrice=a.salePrice,e.salePricePay=a.salePricePay,e.salePriceFee=a.salePriceFee,e.productPrice=a.productPrice,e.autoSalePrice=a.autoSalePrice,e.autoSalePricePay=a.autoSalePricePay,e.autoSalePriceFee=a.autoSalePriceFee,e.saleGroupLeader=a.saleGroupLeader,e.syncToPd=a.syncToPd,e.checkAuto=String(a.checkAuto),e.saleLimitData=a.enabledBuy,e.disabledBuy=a.disabledBuy,e.deposits=a.deposits,a.fields.length>0&&a.fields.forEach(function(t,a){0==t.fieldType?e.idList.push(t):1==t.fieldType&&e.conditionList.push(t),t.inputType&&(1!=t.inputType&&2!=t.item.inputType||(0==t.fieldType?e.idFields.push(t.fieldId):1==t.fieldType&&e.conditonFields.push(t.fieldId)))}),e.saleCheckId=a.saleCheckId,e.saleDateFrontDay=a.saleDateFrontDay,e.saleStopTime=a.saleStopTime,e.saleStopNoticeTime=a.saleStopNoticeTime,e.saleCheckMaxCount=a.saleCheckMaxCount,e.saleCheckMaxDay=a.saleCheckMaxDay,e.saleCheckMinNum=a.saleCheckMinNum,e.saleCheckMaxNum=a.saleCheckMaxNum,e.saleCheckMinAge=a.saleCheckMinAge,e.saleCheckSex=a.saleCheckSex,e.saleCheckMaxAge=a.saleCheckMaxAge,e.returnFlag=a.returnFlag,0==a.returnFlag||1==a.returnFlag?(document.querySelector(".returnPlayToHour").setAttribute("disabled","disabled"),document.querySelector(".returnPlayFromHour").setAttribute("disabled","disabled")):2==e.returnFlag?document.querySelector(".returnPlayToHour").setAttribute("disabled","disabled"):3==e.returnFlag&&document.querySelector(".returnPlayFromHour").setAttribute("disabled","disabled"),e.returnPlayFromHour=a.returnPlayFromHour,e.returnPlayToHour=a.returnPlayToHour,e.checkToUnitValue=a.checkToUnitValue,e.checkSaleDelayHour=a.checkSaleDelayHour,e.returnMoneyUnitType=a.returnMoneyUnitType,0==e.returnMoneyUnitType?document.querySelector(".returnMoneyRatio").setAttribute("disabled","disabled"):1==e.returnMoneyUnitType&&document.querySelector(".returnMoneyValue").setAttribute("disabled","disabled"),e.returnMoneyValue=a.returnMoneyValue,e.returnMoneyRatio=a.returnMoneyRatio,e.saleSortAuto=a.saleSortAuto,e.autoPriceFrom=a.autoPriceFrom,e.autoPriceTo=a.autoPriceTo,e.saleDateType=a.saleDateType,e.saleDateFrom=a.saleDateFrom,e.saleDateTo=a.saleDateTo,e.saleWeek=a.saleWeek,e.saleWeek.length>=7&&(e.isAllChecked=!0),e.channelId=a.channelId,e.priceTypeId=a.priceTypeId,e.saleType=a.saleType,e.productId=a.productId,e.versonFlag=a.versonFlag,e.salePayTime=a.salePayTime,0==e.salePayTime&&(document.querySelector(".priceInput").setAttribute("disabled","disabled"),e.isPayTime=!0),e.discountsList=a.discountsList,e.discountsPayList=a.discountsPayList,a.saleCheckArea&&(e.saleCheckArea=JSON.parse(a.saleCheckArea)),e.saleServiceType=a.saleServiceType,e.services=a.services,e.returnMoneyType=a.returnMoneyType,e.datePayList=a.datePayList}else e.$message.error(t.data.message)})},newPlus1:function(){var e=this;if(this.fieldName1){var t={fieldType:0,fieldName:this.fieldName1};this.axios.post(this.getProductUrl("sale/fieldSave"),t).then(function(t){e.isShowBuy=!1,"00"==t.data.code?(e.fieldName1="",e.initLoad()):e.$message.error(t.data.message)}).catch(function(t){return e.isShowBuy=!1})}else this.$message.error("请输入证件类型名称")},newPlus2:function(){var e=this;if(this.fieldName2){var t={fieldType:1,fieldName:this.fieldName2};this.axios.post(this.getProductUrl("sale/fieldSave"),t).then(function(t){e.isShowOther=!1,"00"==t.data.code?(e.fieldName2="",e.initLoad()):e.$message.error(t.data.message)}).catch(function(t){return e.isShowOther=!1})}else this.$message.error("请输入条件名称")},addSingleRule:function(){var e=this;this.discountsList.push({buyNum:"",salePricePay:""}),this.$nextTick(function(){e.numberManage()})},reduceSingleRule:function(e){var t=this;this.discountsList.splice(e,1),this.$nextTick(function(){t.numberManage()})},addSettleRule:function(){var e=this;this.discountsPayList.push({buyNum:"",salePricePay:"",buyUnit:""}),this.$nextTick(function(){e.numberManage()})},reduceSettleRule:function(e){var t=this;this.discountsPayList.splice(e,1),this.$nextTick(function(){t.numberManage()})},addService:function(){this.services.push({})},reduceService:function(e){this.services.splice(e,1)},extraChange:function(e,t){var a=t;if(a){var i=this.distributionList.findIndex(function(e){return a==e.saleId});this.services[e].productPrice=this.distributionList[i].productPrice,this.services[e].salePricePay=this.distributionList[i].salePricePay,this.services[e].salePrice=this.distributionList[i].salePrice,this.services[e].salePriceFee=this.distributionList[i].salePriceFee}else this.services[e].productPrice="",this.services[e].salePricePay="",this.services[e].salePrice="",this.services[e].salePriceFee=""},getDistribution:function(){var e=this,t=this.initData,a=t.channelId,i=t.priceTypeId,s=t.saleType,r={saleServiceTypes:[1,2],buyChannelId:a,allChannel:a?"":1,priceTypeId:i,saleType:s};this.axios.post(this.getProductUrl("sale/queryItem"),r).then(function(t){"00"==t.data.code?e.distributionList=t.data.data.list:e.$message.error(t.data.message)})},saved:function(e){var t=this;if(this.autoPriceFrom&&this.autoPriceTo&&this.$commonJs.changeTime(this.autoPriceFrom)>this.$commonJs.changeTime(this.autoPriceTo))this.$message.error("定时调价1--开始时间必须小于结束时间");else if(this.saleDateFrom&&this.saleDateTo&&this.$commonJs.changeTime(this.saleDateFrom)>this.$commonJs.changeTime(this.saleDateTo))this.$message.error("售票时间--开始时间必须小于结束时间");else{for(var a=0;a<this.datePayList.length;a++){var i=this.datePayList[a].autoPriceFrom,s=this.datePayList[a].autoPriceTo,r=a+2;if(i&&s&&this.$commonJs.changeTime(i)>this.$commonJs.changeTime(s))return void this.$message.error("定时调价"+r+"--开始时间必须小于结束时间")}var n=this.idFields.map(function(e,t){return{fieldId:e,inputType:1}}),l=this.conditonFields.map(function(e,t){return{fieldId:e,inputType:1}});this.fields=n.concat(l),0==this.saleDateType&&(this.saleDateFrom="",this.saleDateTo=""),this.discountsList.forEach(function(e,t){e.buyNum=parseInt(e.buyNum)}),this.discountsPayList.forEach(function(e,t){e.buyNum=parseInt(e.buyNum)});var o=[];this.services.forEach(function(e,t){e.saleId&&o.push(e.saleId)}),0!=this.saleServiceType&&(o=[]);var c={saleChangePrice:this.saleChangePrice,line:e,saleId:this.saleId,priceTypeId:this.priceTypeId,channelId:this.channelId,saleType:this.saleType,productId:this.productId,salePrice:parseFloat(this.salePrice),salePricePay:parseFloat(this.salePricePay),salePriceFee:parseFloat(this.salePriceFee),autoPriceFrom:this.autoPriceFrom,autoPriceTo:this.autoPriceTo,autoSalePrice:parseFloat(this.autoSalePrice),autoSalePricePay:parseFloat(this.autoSalePricePay),autoSalePriceFee:parseFloat(this.autoSalePriceFee),syncToPd:this.syncToPd,sms:this.sms,saleDateType:parseFloat(this.saleDateType),saleDateFrom:this.saleDateFrom,saleDateTo:this.saleDateTo,saleCheckId:parseFloat(this.saleCheckId),salePayTime:parseFloat(this.salePayTime),saleStopNoticeTime:this.saleStopNoticeTime,saleStopTime:this.saleStopTime,saleDateFrontDay:parseInt(this.saleDateFrontDay),checkSaleDelayHour:parseInt(this.checkSaleDelayHour),checkToUnitValue:parseInt(this.checkToUnitValue),saleCheckMaxCount:parseInt(this.saleCheckMaxCount),saleCheckMaxDay:this.saleCheckMaxDay,saleCheckMinNum:parseInt(this.saleCheckMinNum),saleCheckMaxNum:parseInt(this.saleCheckMaxNum),saleCheckMinAge:parseInt(this.saleCheckMinAge),saleCheckMaxAge:parseInt(this.saleCheckMaxAge),saleCheckSex:parseFloat(this.saleCheckSex),saleCheckArea:v()(this.saleCheckArea),returnFlag:parseFloat(this.returnFlag),returnPlayFromHour:parseInt(this.returnPlayFromHour),returnPlayToHour:parseInt(this.returnPlayToHour),returnMoneyUnitType:parseFloat(this.returnMoneyUnitType),returnMoneyValue:parseFloat(this.returnMoneyValue),returnMoneyRatio:parseFloat(this.returnMoneyRatio),saleSortAuto:this.saleSortAuto,saleWeek:this.saleWeek,discountsList:this.discountsList,discountsPayList:this.discountsPayList,fields:this.fields,versonFlag:this.versonFlag,saleServiceType:this.saleServiceType,services:o,returnMoneyType:parseFloat(this.returnMoneyType),deposits:this.deposits,enabledBuy:this.saleLimitData,disabledBuy:this.disabledBuy,saleGroupLeader:this.saleGroupLeader,datePayList:this.datePayList,checkAuto:this.checkAuto};this.axios.post(this.getProductUrl("sale/save"),c).then(function(e){"00"==e.data.code?(t.$message.success("保存成功"),t.$router.go(-1)):t.$message.error(e.data.message)})}},addLimitRule:function(e){this[e]=[].concat(u()(this[e]),[{ruleBuyAreaId:"",ruleBuyAreaName:"",ruleBuyCityId:"",ruleBuyCityName:"",ruleBuyDateFrom:"",ruleBuyDateTo:"",ruleBuyMaxAge:0,ruleBuyMinAge:0,ruleBuyProvinceId:"",ruleBuyProvinceName:"",ruleBuySex:0,ruleBuyTimeFrom:"",ruleBuyTimeTo:"",companyId:""}])},removeLimitRule:function(e,t,a){this[a].splice(t,1)},disableDay:function(e,t){return new Date(e.Format("yyyy-MM-dd")).getTime()<new Date(t).getTime()},loadAreaList:function(){var e=this;return o()(n.a.mark(function t(){var a,i,s;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a={parentAreaId:1e8,pageSize:1e4},t.next=3,e.axios.post(h.a.getAreaList(),a,{isLoading:!1});case 3:if(i=t.sent,"00"==(s=i.data).code){t.next=7;break}return t.abrupt("return");case 7:e.proviceList=[].concat(u()(e.proviceList),u()(s.data.list));case 8:case"end":return t.stop()}},t,e)}))()},rowProvinceChange:function(e,t,a){var i=s()(this[a][t],{ruleBuyProvinceId:e.areaId,ruleBuyProvinceName:e.areaName,ruleBuyCityId:"",ruleBuyCityName:"",ruleBuyAreaId:"",ruleBuyAreaName:""});this[a].splice(t,1,i),this.cityList=[{areaName:"不限",areaId:""}],this.enabledAreaList=[{areaName:"不限",areaId:""}]},rowCityChange:function(e,t,a){var i=s()(this[a][t],{ruleBuyCityId:e.areaId,ruleBuyCityName:e.areaName,ruleBuyAreaId:"",ruleBuyAreaName:""});this[a].splice(t,1,i),this.enabledAreaList=[{areaName:"不限",areaId:""}]},rowAreaChange:function(e,t,a){var i=s()(this[a][t],{ruleBuyAreaId:e.areaId,ruleBuyAreaName:e.areaName});this[a].splice(t,1,i)},getCityList:function(e){var t=this;return o()(n.a.mark(function a(){var i,s,r;return n.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(i=e.ruleBuyProvinceId){a.next=4;break}return t.cityList=[{areaName:"不限",areaId:""}],a.abrupt("return");case 4:if(!(t.cityList.length>1)){a.next=6;break}return a.abrupt("return");case 6:return a.next=8,t.axios.post(h.a.getAreaList(),{parentAreaId:i,pageSize:1e4},{isLoading:!1});case 8:if(s=a.sent,"00"==(r=s.data).code){a.next=12;break}return a.abrupt("return");case 12:t.cityList=[].concat(u()(t.cityList),u()(r.data.list));case 13:case"end":return a.stop()}},a,t)}))()},getAreaList:function(e){var t=this;return o()(n.a.mark(function a(){var i,s,r;return n.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(i=e.ruleBuyCityId){a.next=4;break}return t.enabledAreaList=[{areaName:"不限",areaId:""}],a.abrupt("return");case 4:if(!(t.enabledAreaList.length>1)){a.next=6;break}return a.abrupt("return");case 6:return a.next=8,t.axios.post(h.a.getAreaList(),{parentAreaId:i,pageSize:1e4},{isLoading:!1});case 8:if(s=a.sent,"00"==(r=s.data).code){a.next=12;break}return a.abrupt("return");case 12:t.enabledAreaList=[].concat(u()(t.enabledAreaList),u()(r.data.list));case 13:case"end":return a.stop()}},a,t)}))()},addDatePay:function(){this.datePayList.push({})},delDatePay:function(e){this.datePayList.splice(e,1)}},beforeCreate:function(){this.saleId=this.$route.query.saleId},mounted:function(){this.numberManage(),this.initLoad(),this.loadAreaList()}},b={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:"name"},[a("div",{staticClass:"name1"},[a("p",[a("span",[e._v(" 产品名称: ")]),e._v(" "),a("b",[e._v("\n "+e._s(e.initData.productName)+"\n ")])]),e._v(" "),a("p",[a("span",[e._v(" 门市价: ")]),e._v(" "),a("b",[e._v(" ¥"+e._s(e.initData.productPrice)+"/份 ")])])]),e._v(" "),a("div",{staticClass:"name2"},[a("p",[a("span",[e._v(" 渠道名称: ")]),e._v(" "),a("b",[e._v("\n "+e._s(e.initData.channelName)+"\n ")])]),e._v(" "),a("p",[a("span",[e._v(" 渠道类型: ")]),e._v(" "),a("b",[e._v("\n "+e._s(e.initData.priceTypeName)+"\n ")])]),e._v(" "),a("p",[a("span",[e._v(" 票种: ")]),e._v(" "),a("b",[e._v("\n "+e._s(e.initData.saleTypeName)+"\n ")])]),e._v(" "),a("p",[a("span",[e._v(" 渠道编码: ")]),e._v(" "),a("b",[e._v("\n "+e._s(e.saleId)+"\n ")])])])]),e._v(" "),a("div",{staticClass:"price"},[a("div",{staticClass:"price1"},[a("p",[a("span",[e._v(" 渠道售价: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:e.salePrice,callback:function(t){e.salePrice=t},expression:"salePrice"}}),e._v(" "),e._v("\n 元/份\n ")],1),e._v(" "),a("p",[a("span",[e._v(" 结算价: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:e.salePricePay,callback:function(t){e.salePricePay=t},expression:"salePricePay"}}),e._v(" "),e._v("\n 元/份\n ")],1),e._v(" "),a("p",[a("span",[e._v(" 手续费率: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:e.salePriceFee,callback:function(t){e.salePriceFee=t},expression:"salePriceFee"}}),e._v(" "),e._v("\n %\n ")],1),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleChangePrice,expression:"saleChangePrice"}],staticStyle:{width:"13px",margin:"0 5px 0 22px"},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.saleChangePrice)?e._i(e.saleChangePrice,null)>-1:e.saleChangePrice},on:{change:function(t){var a=e.saleChangePrice,i=t.target,s=!!i.checked;if(Array.isArray(a)){var r=e._i(a,null);i.checked?r<0&&(e.saleChangePrice=a.concat([null])):r>-1&&(e.saleChangePrice=a.slice(0,r).concat(a.slice(r+1)))}else e.saleChangePrice=s}}}),e._v(" "),a("span",[e._v("更改售价")])]),e._v(" "),a("div",{staticClass:"price2",staticStyle:{"align-items":"center"}},[a("div",[a("span",{staticStyle:{display:"inline-block",width:"70px"}},[e._v(" 定时调价: ")]),e._v(" "),a("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",size:"mini",placeholder:"开始日期"},model:{value:e.autoPriceFrom,callback:function(t){e.autoPriceFrom=t},expression:"autoPriceFrom"}}),e._v("\n\n "),a("el-date-picker",{attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",size:"mini",placeholder:"结束日期"},model:{value:e.autoPriceTo,callback:function(t){e.autoPriceTo=t},expression:"autoPriceTo"}})],1),e._v(" "),a("div",[a("span",[e._v(" 渠道售价: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:e.autoSalePrice,callback:function(t){e.autoSalePrice=t},expression:"autoSalePrice"}}),e._v(" "),e._v("\n 元/份\n ")],1),e._v(" "),a("div",[a("span",[e._v(" 结算价: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:e.autoSalePricePay,callback:function(t){e.autoSalePricePay=t},expression:"autoSalePricePay"}}),e._v(" "),e._v("\n 元/份\n ")],1),e._v(" "),a("div",[a("span",[e._v(" 手续费率: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:e.autoSalePriceFee,callback:function(t){e.autoSalePriceFee=t},expression:"autoSalePriceFee"}}),e._v(" "),e._v("\n %\n ")],1),e._v(" "),a("div",[a("a",{staticClass:"btn4",staticStyle:{width:"0.6rem",height:"0.3rem","line-height":"0.3rem"},on:{click:function(t){return e.addDatePay()}}},[e._v("新增")])])]),e._v(" "),e._l(e.datePayList,function(t,i){return a("div",{key:i,staticClass:"price2",staticStyle:{"align-items":"center"}},[a("div",[a("span",{staticStyle:{display:"inline-block",width:"70px"}}),e._v(" "),a("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",size:"mini",placeholder:"开始日期"},model:{value:t.autoPriceFrom,callback:function(a){e.$set(t,"autoPriceFrom",a)},expression:"item.autoPriceFrom"}}),e._v("\n\n "),a("el-date-picker",{attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",size:"mini",placeholder:"结束日期"},model:{value:t.autoPriceTo,callback:function(a){e.$set(t,"autoPriceTo",a)},expression:"item.autoPriceTo"}})],1),e._v(" "),a("div",[a("span",[e._v(" 渠道售价: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:t.autoSalePrice,callback:function(a){e.$set(t,"autoSalePrice",a)},expression:"item.autoSalePrice"}}),e._v(" "),e._v("\n 元/份\n ")],1),e._v(" "),a("div",[a("span",[e._v(" 结算价: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:t.autoSalePricePay,callback:function(a){e.$set(t,"autoSalePricePay",a)},expression:"item.autoSalePricePay"}}),e._v(" "),e._v("\n 元/份\n ")],1),e._v(" "),a("div",[a("span",[e._v(" 手续费率: ")]),e._v(" "),a("el-input-number",{staticClass:"input-number-step",attrs:{precision:2,step:.1,min:0,controls:!1,size:"mini"},model:{value:t.autoSalePriceFee,callback:function(a){e.$set(t,"autoSalePriceFee",a)},expression:"item.autoSalePriceFee"}}),e._v(" "),e._v("\n %\n ")],1),e._v(" "),a("div",[a("a",{staticClass:"btn4",staticStyle:{width:"0.6rem",height:"0.3rem","line-height":"0.3rem"},on:{click:function(t){return e.delDatePay(i)}}},[e._v("删除")])])])}),e._v(" "),a("div",{staticClass:"price3"},[a("span",[e._v(" 售票时间: ")]),e._v(" "),a("div",[a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleDateType,expression:"saleDateType"}],attrs:{type:"radio",name:"saleTime",value:"0"},domProps:{checked:e._q(e.saleDateType,"0")},on:{change:function(t){e.saleDateType="0"}}}),e._v("\n 不限制\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleDateType,expression:"saleDateType"}],attrs:{type:"radio",name:"saleTime",value:"1"},domProps:{checked:e._q(e.saleDateType,"1")},on:{change:function(t){e.saleDateType="1"}}}),e._v("\n 自定义\n ")])]),e._v(" "),a("p",{directives:[{name:"show",rawName:"v-show",value:1==e.saleDateType,expression:"saleDateType == 1"}]},[a("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",placeholder:"开始日期"},on:{change:function(t){return e.judgeTime2()}},model:{value:e.saleDateFrom,callback:function(t){e.saleDateFrom=t},expression:"saleDateFrom"}}),e._v("\n\n "),a("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",placeholder:"结束日期"},on:{change:function(t){return e.judgeTime2()}},model:{value:e.saleDateTo,callback:function(t){e.saleDateTo=t},expression:"saleDateTo"}})],1),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.isAllChecked,expression:"isAllChecked"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.isAllChecked)?e._i(e.isAllChecked,null)>-1:e.isAllChecked},on:{change:[function(t){var a=e.isAllChecked,i=t.target,s=!!i.checked;if(Array.isArray(a)){var r=e._i(a,null);i.checked?r<0&&(e.isAllChecked=a.concat([null])):r>-1&&(e.isAllChecked=a.slice(0,r).concat(a.slice(r+1)))}else e.isAllChecked=s},function(t){return e.allCheck()}]}}),e._v("\n 全部\n ")]),e._v(" "),e._l(e.weekList,function(t,i){return a("label",{key:i},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleWeek,expression:"saleWeek"}],attrs:{type:"checkbox"},domProps:{value:t.value,checked:Array.isArray(e.saleWeek)?e._i(e.saleWeek,t.value)>-1:e.saleWeek},on:{change:[function(a){var i=e.saleWeek,s=a.target,r=!!s.checked;if(Array.isArray(i)){var n=t.value,l=e._i(i,n);s.checked?l<0&&(e.saleWeek=i.concat([n])):l>-1&&(e.saleWeek=i.slice(0,l).concat(i.slice(l+1)))}else e.saleWeek=r},function(t){return e.singleCheck()}]}}),e._v("\n "+e._s(t.name)+"\n ")])})],2),e._v(" "),a("p")])]),e._v(" "),a("el-dialog",{attrs:{title:"新增购买证件",width:"300px",visible:e.isShowBuy,center:""},on:{"update:visible":function(t){e.isShowBuy=t}}},[a("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.fieldName1,expression:"fieldName1",modifiers:{trim:!0}}],staticStyle:{width:"100%"},attrs:{type:"text"},domProps:{value:e.fieldName1},on:{input:function(t){t.target.composing||(e.fieldName1=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"normal",size:"mini"},on:{click:function(t){e.isShowBuy=!1}}},[e._v("返回")]),e._v(" "),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.newPlus1}},[e._v("确定")])],1)]),e._v(" "),a("div",{staticClass:"price4"},[a("span",[e._v(" 购买证件: ")]),e._v(" "),a("div",[a("p",[e._l(e.idList,function(t,i){return a("label",{key:t.fieldId},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.idFields,expression:"idFields"}],attrs:{type:"checkbox",indeterminate:""},domProps:{value:t.fieldId,checked:Array.isArray(e.idFields)?e._i(e.idFields,t.fieldId)>-1:e.idFields},on:{change:function(a){var i=e.idFields,s=a.target,r=!!s.checked;if(Array.isArray(i)){var n=t.fieldId,l=e._i(i,n);s.checked?l<0&&(e.idFields=i.concat([n])):l>-1&&(e.idFields=i.slice(0,l).concat(i.slice(l+1)))}else e.idFields=r}}}),e._v("\n "+e._s(t.fieldName)+"\n ")])}),e._v(" "),a("a",{staticClass:"btn4_mini",staticStyle:{"margin-left":"0.1rem"},on:{click:function(t){e.isShowBuy=!0}}},[e._v("\n 新增\n ")])],2)])]),e._v(" "),a("el-dialog",{attrs:{title:"新增其他条件",width:"300px",visible:e.isShowOther,center:""},on:{"update:visible":function(t){e.isShowOther=t}}},[a("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.fieldName2,expression:"fieldName2",modifiers:{trim:!0}}],staticStyle:{width:"100%"},attrs:{type:"text"},domProps:{value:e.fieldName2},on:{input:function(t){t.target.composing||(e.fieldName2=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"normal",size:"mini"},on:{click:function(t){e.isShowOther=!1}}},[e._v("返回")]),e._v(" "),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.newPlus2}},[e._v("确定")])],1)]),e._v(" "),a("div",{staticClass:"price5"},[a("span",[e._v("其他条件: ")]),e._v(" "),a("div",{staticClass:"price5_right"},[e._l(e.conditionList,function(t,i){return a("div",{key:t.fieldId},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.conditonFields,expression:"conditonFields"}],attrs:{type:"checkbox"},domProps:{value:t.fieldId,checked:Array.isArray(e.conditonFields)?e._i(e.conditonFields,t.fieldId)>-1:e.conditonFields},on:{change:function(a){var i=e.conditonFields,s=a.target,r=!!s.checked;if(Array.isArray(i)){var n=t.fieldId,l=e._i(i,n);s.checked?l<0&&(e.conditonFields=i.concat([n])):l>-1&&(e.conditonFields=i.slice(0,l).concat(i.slice(l+1)))}else e.conditonFields=r}}}),e._v("\n "+e._s(t.fieldName)+"\n ")])])}),e._v(" "),a("a",{staticClass:"btn4_mini",staticStyle:{"margin-left":"0.1rem"},on:{click:function(t){e.isShowOther=!0}}},[e._v("\n 新增\n ")])],2)]),e._v(" "),a("div",{staticClass:"price6"},[a("span",[e._v(" 购买记录: ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleCheckId,expression:"saleCheckId"}],attrs:{type:"radio",name:"buyRecord",value:"1"},domProps:{checked:e._q(e.saleCheckId,"1")},on:{change:function(t){e.saleCheckId="1"}}}),e._v("\n 记录一人\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleCheckId,expression:"saleCheckId"}],attrs:{type:"radio",name:"buyRecord",value:"2"},domProps:{checked:e._q(e.saleCheckId,"2")},on:{change:function(t){e.saleCheckId="2"}}}),e._v("\n 每人记录\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleCheckId,expression:"saleCheckId"}],attrs:{type:"radio",name:"buyRecord",value:"0"},domProps:{checked:e._q(e.saleCheckId,"0")},on:{change:function(t){e.saleCheckId="0"}}}),e._v("\n 无需记录\n ")])])]),e._v(" "),a("div",{staticClass:"price6"},[a("span",[e._v(" 团队导游: ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleGroupLeader,expression:"saleGroupLeader"}],attrs:{type:"radio"},domProps:{value:0,checked:e._q(e.saleGroupLeader,0)},on:{change:function(t){e.saleGroupLeader=0}}}),e._v("\n 需要导游\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleGroupLeader,expression:"saleGroupLeader"}],attrs:{type:"radio"},domProps:{value:1,checked:e._q(e.saleGroupLeader,1)},on:{change:function(t){e.saleGroupLeader=1}}}),e._v("\n 不需要导游\n ")])])]),e._v(" "),a("div",{staticClass:"price6"},[a("span",[e._v(" 服务类型: ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleServiceType,expression:"saleServiceType"}],attrs:{type:"radio",name:"saleServiceType",value:"0"},domProps:{checked:e._q(e.saleServiceType,"0")},on:{change:function(t){e.saleServiceType="0"}}}),e._v("\n 分销\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleServiceType,expression:"saleServiceType"}],attrs:{type:"radio",name:"saleServiceType",value:"1"},domProps:{checked:e._q(e.saleServiceType,"1")},on:{change:function(t){e.saleServiceType="1"}}}),e._v("\n 服务\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleServiceType,expression:"saleServiceType"}],attrs:{type:"radio",name:"saleServiceType",value:"2"},domProps:{checked:e._q(e.saleServiceType,"2")},on:{change:function(t){e.saleServiceType="2"}}}),e._v("\n 分销+服务\n ")])])]),e._v(" "),a("div",{staticClass:"price8"},[a("span",[e._v(" 支付时间: ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.isPayTime,expression:"isPayTime"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.isPayTime)?e._i(e.isPayTime,null)>-1:e.isPayTime},on:{change:[function(t){var a=e.isPayTime,i=t.target,s=!!i.checked;if(Array.isArray(a)){var r=e._i(a,null);i.checked?r<0&&(e.isPayTime=a.concat([null])):r>-1&&(e.isPayTime=a.slice(0,r).concat(a.slice(r+1)))}else e.isPayTime=s},function(t){return e.payTimeCheck()}]}}),e._v("\n 不限制\n ")])]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.salePayTime,expression:"salePayTime"}],staticClass:"priceInput",attrs:{placeholder:"输入时间",type:"number",min:"0",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:e.salePayTime},on:{input:function(t){t.target.composing||(e.salePayTime=t.target.value)}}}),e._v("\n\n ")])])]),e._v(" "),a("div",{staticClass:"price7"},[a("span",[e._v(" 停售设置: ")]),e._v(" "),a("p",[a("el-time-select",{attrs:{"value-format":"HH:mm","picker-options":{start:"00:00",end:"24:00",step:"00:10"},size:"mini",placeholder:"选择时间"},model:{value:e.saleStopTime,callback:function(t){e.saleStopTime=t},expression:"saleStopTime"}}),e._v("\n 停售\n ")],1),e._v(" "),a("p",[a("el-time-select",{attrs:{"value-format":"HH:mm","picker-options":{start:"00:00",end:"24:00",step:"00:10"},size:"mini",placeholder:"选择时间"},model:{value:e.saleStopNoticeTime,callback:function(t){e.saleStopNoticeTime=t},expression:"saleStopNoticeTime"}}),e._v("\n 通知\n ")],1)])],2),e._v(" "),a("div",{staticClass:"rule"},[a("div",{staticClass:"rule_nav"},[a("span",[e._v("规则设置:")]),e._v(" "),a("p",{staticClass:"rule_title"},[e._l(e.ruleList,function(t,i){return a("a",{key:i,staticClass:"btnGray4-mini",class:{on:e.active==i},on:{click:function(t){return e.clickRule(i)}}},[e._v("\n "+e._s(t.name)+"\n ")])}),e._v(" "),0==e.saleServiceType?a("a",{staticClass:"btnGray4-mini",class:{on:8==e.active},on:{click:function(t){return e.clickRule2()}}},[e._v("\n 额外服务\n ")]):e._e()],2)]),e._v(" "),a("hr"),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleList[0].show,expression:"ruleList[0].show"}],staticClass:"verification"},[a("p",[a("span",[e._v(" 预售天数: ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleDateFrontDay,expression:"saleDateFrontDay"}],attrs:{type:"text",min:"0",onkeyup:"this.saleDateFrontDay=this.saleDateFrontDay.replace(/[^\\d]/g,'')",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:e.saleDateFrontDay},on:{input:function(t){t.target.composing||(e.saleDateFrontDay=t.target.value)}}}),e._v("\n\n ")]),e._v(" "),a("p",[a("span",[e._v(" 生效截止: ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.checkToUnitValue,expression:"checkToUnitValue"}],attrs:{type:"text",min:"0",onkeyup:"this.checkToUnitValue=this.checkToUnitValue.replace(/[^\\d]/g,'')",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:e.checkToUnitValue},on:{input:function(t){t.target.composing||(e.checkToUnitValue=t.target.value)}}}),e._v("天\n ")]),e._v(" "),a("p",[a("span",[e._v(" 验证限制: ")]),e._v("\n 购票\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.checkSaleDelayHour,expression:"checkSaleDelayHour"}],attrs:{type:"text",min:"0",onkeyup:"this.checkSaleDelayHour=this.checkSaleDelayHour.replace(/[^\\d]/g,'')",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:e.checkSaleDelayHour},on:{input:function(t){t.target.composing||(e.checkSaleDelayHour=t.target.value)}}}),e._v("\n 小时后可验证\n ")]),e._v(" "),a("div",[a("span",[e._v("\n \t\t自动核销规则\n \t")]),e._v(" "),a("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.checkAuto,callback:function(t){e.checkAuto=t},expression:"checkAuto"}},[a("el-option",{attrs:{label:"不自动核销",value:"0"}}),e._v(" "),a("el-option",{attrs:{label:"游玩时间结束核销",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"游玩时间中随机核销",value:"2"}}),e._v(" "),a("el-option",{attrs:{label:"退票截止时间核销",value:"3"}})],1)],1)]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleList[1].show,expression:"ruleList[1].show"}],staticClass:"retreat"},[a("div",{staticClass:"retreat1"},[a("span",[e._v(" 规则设置: ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnFlag,expression:"returnFlag"}],attrs:{type:"radio",name:"rule",value:"0"},domProps:{checked:e._q(e.returnFlag,"0")},on:{change:[function(t){e.returnFlag="0"},function(t){return e.ruleSet()}]}}),e._v("\n 不可退改\n ")])]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnFlag,expression:"returnFlag"}],attrs:{type:"radio",name:"rule",value:"1"},domProps:{checked:e._q(e.returnFlag,"1")},on:{change:[function(t){e.returnFlag="1"},function(t){return e.ruleSet()}]}}),e._v("\n 随时退改\n ")])]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnFlag,expression:"returnFlag"}],attrs:{type:"radio",name:"rule",value:"2"},domProps:{checked:e._q(e.returnFlag,"2")},on:{change:[function(t){e.returnFlag="2"},function(t){return e.ruleSet()}]}}),e._v("\n 游玩截止时间\n ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnPlayFromHour,expression:"returnPlayFromHour"}],staticClass:"returnPlayFromHour",attrs:{type:"number",min:"0",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:e.returnPlayFromHour},on:{input:function(t){t.target.composing||(e.returnPlayFromHour=t.target.value)}}}),e._v("\n 小时退改\n ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnFlag,expression:"returnFlag"}],attrs:{type:"radio",name:"rule",value:"3"},domProps:{checked:e._q(e.returnFlag,"3")},on:{change:[function(t){e.returnFlag="3"},function(t){return e.ruleSet()}]}}),e._v("\n 过期后\n ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnPlayToHour,expression:"returnPlayToHour"}],staticClass:"returnPlayToHour",attrs:{type:"number",min:"0",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:e.returnPlayToHour},on:{input:function(t){t.target.composing||(e.returnPlayToHour=t.target.value)}}}),e._v("\n 小时退改\n ")])]),e._v(" "),a("div",{staticClass:"retreat2"},[a("span",[e._v(" 手续费: ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnMoneyUnitType,expression:"returnMoneyUnitType"}],attrs:{type:"radio",name:"cost",value:"0"},domProps:{checked:e._q(e.returnMoneyUnitType,"0")},on:{change:[function(t){e.returnMoneyUnitType="0"},function(t){return e.serviceChange()}]}}),e._v("\n 固定值\n ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnMoneyValue,expression:"returnMoneyValue"}],staticClass:"returnMoneyValue",attrs:{type:"number",min:"0"},domProps:{value:e.returnMoneyValue},on:{input:function(t){t.target.composing||(e.returnMoneyValue=t.target.value)}}}),e._v("\n\n ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnMoneyUnitType,expression:"returnMoneyUnitType"}],attrs:{type:"radio",name:"cost",value:"1"},domProps:{checked:e._q(e.returnMoneyUnitType,"1")},on:{change:[function(t){e.returnMoneyUnitType="1"},function(t){return e.serviceChange()}]}}),e._v("\n 票价\n ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnMoneyRatio,expression:"returnMoneyRatio"}],staticClass:"returnMoneyRatio",attrs:{type:"number",min:"0"},domProps:{value:e.returnMoneyRatio},on:{input:function(t){t.target.composing||(e.returnMoneyRatio=t.target.value)}}}),e._v("\n %\n ")])]),e._v(" "),a("div",[a("span",[e._v(" 退款类型: ")]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnMoneyType,expression:"returnMoneyType"}],attrs:{type:"radio",name:"returnMoneyType",value:"0"},domProps:{checked:e._q(e.returnMoneyType,"0")},on:{change:function(t){e.returnMoneyType="0"}}}),e._v("\n 不退款\n ")])]),e._v(" "),a("p",[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.returnMoneyType,expression:"returnMoneyType"}],attrs:{type:"radio",name:"returnMoneyType",value:"1"},domProps:{checked:e._q(e.returnMoneyType,"1")},on:{change:function(t){e.returnMoneyType="1"}}}),e._v("\n 自动退款\n ")])])])]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleList[2].show,expression:"ruleList[2].show"}],staticClass:"discount"},[a("div",[a("a",{staticClass:"btn4",on:{click:function(t){return e.addSingleRule()}}},[e._v("增加")])]),e._v(" "),e._l(e.discountsList,function(t,i){return a("div",{key:i},[a("p",[a("span",[e._v(" 购买数量: ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.buyNum,expression:"item.buyNum"}],attrs:{type:"number",min:"0",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:t.buyNum},on:{input:function(a){a.target.composing||e.$set(t,"buyNum",a.target.value)}}}),e._v("份\n ")]),e._v(" "),a("p",[a("span",[e._v(" 结算单价: ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.salePricePay,expression:"item.salePricePay"}],attrs:{type:"number",min:"0"},domProps:{value:t.salePricePay},on:{input:function(a){a.target.composing||e.$set(t,"salePricePay",a.target.value)}}}),e._v("元/份\n ")]),e._v(" "),a("i",{on:{click:function(t){return e.reduceSingleRule(i)}}},[e._v(" - ")])])})],2),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleList[3].show,expression:"ruleList[3].show"}],staticClass:"discount"},[a("div",[a("a",{staticClass:"btn4",on:{click:function(t){return e.addSettleRule()}}},[e._v(" 增加 ")])]),e._v(" "),e._l(e.discountsPayList,function(t,i){return a("div",{key:i},[a("p",[a("span",[e._v(" 购买数量: ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.buyNum,expression:"item.buyNum"}],attrs:{type:"number",min:"0",onKeypress:"return (/[\\d]/.test(String.fromCharCode(event.keyCode)))"},domProps:{value:t.buyNum},on:{input:function(a){a.target.composing||e.$set(t,"buyNum",a.target.value)}}}),e._v("份\n "),a("select",{directives:[{name:"model",rawName:"v-model",value:t.buyUnit,expression:"item.buyUnit"}],on:{change:function(a){var i=Array.prototype.filter.call(a.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(t,"buyUnit",a.target.multiple?i:i[0])}}},[a("option",{attrs:{value:""}},[e._v("-请选择-")]),e._v(" "),a("option",{attrs:{value:"0"}},[e._v("次")]),e._v(" "),a("option",{attrs:{value:"1"}},[e._v("月")]),e._v(" "),a("option",{attrs:{value:"2"}},[e._v("季度")]),e._v(" "),a("option",{attrs:{value:"3"}},[e._v("年")])])]),e._v(" "),a("p",[a("span",[e._v(" 结算单价: ")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.salePricePay,expression:"item.salePricePay"}],attrs:{type:"number",min:"0"},domProps:{value:t.salePricePay},on:{input:function(a){a.target.composing||e.$set(t,"salePricePay",a.target.value)}}}),e._v("元/份\n ")]),e._v(" "),a("i",{on:{click:function(t){return e.reduceSettleRule(i)}}},[e._v(" - ")])])})],2),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleList[4].show,expression:"ruleList[4].show"}],staticClass:"number"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.saleSortAuto,expression:"saleSortAuto"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.saleSortAuto)?e._i(e.saleSortAuto,null)>-1:e.saleSortAuto},on:{change:function(t){var a=e.saleSortAuto,i=t.target,s=!!i.checked;if(Array.isArray(a)){var r=e._i(a,null);i.checked?r<0&&(e.saleSortAuto=a.concat([null])):r>-1&&(e.saleSortAuto=a.slice(0,r).concat(a.slice(r+1)))}else e.saleSortAuto=s}}}),e._v("\n 购买自动排号\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.syncToPd,expression:"syncToPd"}],staticStyle:{"margin-left":"20px"},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.syncToPd)?e._i(e.syncToPd,null)>-1:e.syncToPd},on:{change:function(t){var a=e.syncToPd,i=t.target,s=!!i.checked;if(Array.isArray(a)){var r=e._i(a,null);i.checked?r<0&&(e.syncToPd=a.concat([null])):r>-1&&(e.syncToPd=a.slice(0,r).concat(a.slice(r+1)))}else e.syncToPd=s}}}),e._v("\n 同步到胖丁\n ")]),e._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.sms,expression:"sms"}],staticStyle:{"margin-left":"20px"},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.sms)?e._i(e.sms,null)>-1:e.sms},on:{change:function(t){var a=e.sms,i=t.target,s=!!i.checked;if(Array.isArray(a)){var r=e._i(a,null);i.checked?r<0&&(e.sms=a.concat([null])):r>-1&&(e.sms=a.slice(0,r).concat(a.slice(r+1)))}else e.sms=s}}}),e._v("\n 发送短信\n ")])]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleList[5].show,expression:"ruleList[5].show"}]},[e._l(e.deposits,function(t){return[a("div",{key:t.projectId,staticClass:"disposits"},[a("div",[e._v("\n "+e._s(t.projectName)+"\n ")]),e._v(" "),a("div",[a("div",[a("span",{staticClass:"disposit_label"},[e._v("押金类型")]),e._v(" "),a("el-select",{staticStyle:{width:"120px"},attrs:{size:"mini"},model:{value:t.depositType,callback:function(a){e.$set(t,"depositType",a)},expression:"item.depositType"}},e._l(e.depositTypeList,function(e){return a("el-option",{key:e.label,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("div",[a("span",{staticClass:"disposit_label"},[e._v("押金单价")]),e._v(" "),a("el-input",{staticStyle:{width:"80px"},attrs:{disabled:0==t.depositType||1==t.depositType,size:"mini"},model:{value:t.depositMoney,callback:function(a){e.$set(t,"depositMoney",a)},expression:"item.depositMoney"}})],1),e._v(" "),a("div",[a("span",{staticClass:"disposit_label"},[e._v("押金时限")]),e._v(" "),a("el-input",{staticStyle:{width:"80px"},attrs:{size:"mini"},model:{value:t.depositHour,callback:function(a){e.$set(t,"depositHour",a)},expression:"item.depositHour"}})],1),e._v(" "),a("div",[a("span",{staticClass:"disposit_label"},[e._v("押金时扣")]),e._v(" "),a("el-input",{staticStyle:{width:"80px"},attrs:{size:"mini"},model:{value:t.depositHourMoney,callback:function(a){e.$set(t,"depositHourMoney",a)},expression:"item.depositHourMoney"}})],1),e._v(" "),a("div",[a("span",{staticClass:"disposit_label"},[e._v("丢失扣款")]),e._v(" "),a("el-input",{staticStyle:{width:"80px"},attrs:{size:"mini"},model:{value:t.depositLostMoney,callback:function(a){e.$set(t,"depositLostMoney",a)},expression:"item.depositLostMoney"}})],1)])])]})],2),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.ruleList2[0].show&&0==e.saleServiceType,expression:"ruleList2[0].show && saleServiceType == 0"}],staticClass:"extra"},[a("p",{staticClass:"btn4",on:{click:function(t){return e.addService()}}},[e._v("新增")]),e._v(" "),e._l(e.services,function(t,i){return a("div",{key:i},[e._v("\n 分销产品:\n "),a("div",[a("section",[a("el-select",{attrs:{filterable:""},on:{change:function(a){return e.extraChange(i,t.saleId)}},model:{value:t.saleId,callback:function(a){e.$set(t,"saleId",a)},expression:"item.saleId"}},[a("el-option",{attrs:{label:"-请选择-",value:""}}),e._v(" "),e._l(e.distributionList,function(e){return a("el-option",{key:e.saleId,attrs:{label:e.productName+"+"+e.saleTypeName,value:e.saleId}})})],2)],1)]),e._v(" "),a("div",[e._v("\n 门市价:\n "),a("span",[e._v(e._s(t.productPrice))]),e._v("元/份\n ")]),e._v(" "),a("div",[e._v("\n 渠道售价:\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.salePrice,expression:"item.salePrice"}],attrs:{type:"text",disabled:"disabled"},domProps:{value:t.salePrice},on:{input:function(a){a.target.composing||e.$set(t,"salePrice",a.target.value)}}}),e._v("元/份\n ")]),e._v(" "),a("div",[e._v("\n 结算价:\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.salePricePay,expression:"item.salePricePay"}],attrs:{type:"text",disabled:"disabled"},domProps:{value:t.salePricePay},on:{input:function(a){a.target.composing||e.$set(t,"salePricePay",a.target.value)}}}),e._v("元/份\n ")]),e._v(" "),a("div",[e._v("\n 手续费率:\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.salePriceFee,expression:"item.salePriceFee"}],attrs:{type:"text",disabled:"disabled"},domProps:{value:t.salePriceFee},on:{input:function(a){a.target.composing||e.$set(t,"salePriceFee",a.target.value)}}}),e._v("%\n ")]),e._v(" "),a("i",{on:{click:function(t){return e.reduceService(i)}}},[e._v("-")])])})],2),e._v(" "),a("hr",{staticStyle:{"margin-top":"0.3rem"}})]),e._v(" "),a("div",{staticStyle:{"margin-top":"0.5rem"}},[a("a",{staticClass:"btn4",staticStyle:{"margin-right":"0.6rem"},on:{click:function(t){return e.saved(!0)}}},[e._v("保存上架")]),e._v(" "),a("a",{staticClass:"btn4",staticStyle:{"margin-right":"0.6rem"},on:{click:function(t){return e.saved(!1)}}},[e._v("保存草稿")]),e._v(" "),a("a",{staticClass:"btn4",on:{click:function(t){return e.$router.go(-1)}}},[e._v("返回")])])],1)},staticRenderFns:[]};var f=a("C7Lr")(P,b,!1,function(e){a("9FDr")},"data-v-9e13ec96",null);t.default=f.exports},ro5b:function(e,t,a){"use strict";var i=a("NloU").a,s=i+"/tbd-system/",r=i+"/tbd-order/",n={getAreaList:function(){return s+"/area/list"},getTourList:function(){return r+"/person/list"},sendSms:function(){return r+"/person/sms"}};t.a=n}});
\ No newline at end of file
webpackJsonp([7],{H9Sq:function(t,e,n){t.exports=n.p+"img/peProduct.c182c65.png"},NHiS:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA25pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpEMTQxNzhCQ0M5NkFFNzExODA4QUU3MEMyODgwMzA3NCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo2N0JBRjJCNDkyMDcxMUU3OERFM0E5RDhDRUM3NUVBOCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo2N0JBRjJCMzkyMDcxMUU3OERFM0E5RDhDRUM3NUVBOCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNyAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjQ2YWQ5Zi02OWJmLTIyNGEtOGMxOC0yZGExM2M0NTk0MGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE0MTc4QkNDOTZBRTcxMTgwOEFFNzBDMjg4MDMwNzQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7dM/aUAAAAKlBMVEVVVVWqqqrq6uqgoKD09PTf39+VlZVgYGCAgIDU1NR1dXW/v7+Kior///+4dGxHAAAADnRSTlP/////////////////AEXA3MgAAABHSURBVHjajM47DsAwDAJQiPNvc//rdsgQyFQW9CTLAsuCXSTTYaoI4Xpgx9GNvRoblRlDOZCVbDqjvLMIJxD2+dr8j58AAwCumgpB1Gs+4QAAAABJRU5ErkJggg=="},OE6N:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA25pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpEMTQxNzhCQ0M5NkFFNzExODA4QUU3MEMyODgwMzA3NCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo4MjFEQTMyNTkyMDcxMUU3OUE5REY4MUU0QUE0ODc1OCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo4MjFEQTMyNDkyMDcxMUU3OUE5REY4MUU0QUE0ODc1OCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNyAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjQ2YWQ5Zi02OWJmLTIyNGEtOGMxOC0yZGExM2M0NTk0MGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE0MTc4QkNDOTZBRTcxMTgwOEFFNzBDMjg4MDMwNzQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6SgtL0AAAAJFBMVEVVVVXU1NSAgICgoKC/v7+qqqp1dXXq6ur09PTf399gYGD///+W+TIoAAAADHRSTlP//////////////wAS387OAAAASElEQVR42rTPUQ7AIAgD0DJAmb3/fSeJbrp/m5Dwwk8Bt6CP19yqD0KSguMsmtQya8BIazZIRY/OkmSIBD8uL9j15v5fHwEGAIm6B21QAXXmAAAAAElFTkSuQmCC"},TdAY:function(t,e){},eICZ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("aA9S"),s=n.n(i),a=n("3cXf"),r=n.n(a),o={data:function(){return{isWeb:Base.isWeb,headline:"",n:{},ChangeTheValue:"",BouncedChanges:!1,BooleanValue:!1,show:!0,options:[{value:"微软雅黑",label:"微软雅黑"},{value:"宋体",label:"宋体"},{value:"黑体",label:"黑体"}],PrintHeTemplate:[],typingPaper:{},stencil:"computer_common",value:"微软雅黑",value1:9,i:!0,aTextArea:[],aTextMap:{},TheCurrentInformation:{},ProductPrintVo:{companyId:"",createDate:"",createUserId:"",printContent:"",printId:"",printName:"",removeFlag:"",updateDate:"",updateUserId:"",versonFlag:""},TheListOf:[],CanvasContentStyle:{top:0,left:0},iszoom:!1,direction:0,subscript:-1,a:!1,b:!1,c:!1,lef:"",left:0,top:0,kuan:0,gao:0,estimate:!1,valuess:{},times:null}},created:function(){},computed:{typeface:function(){for(var t=[],e=9;e<=72;e++)t.push({value:e,label:e});return t},CanvasScaleFirst:function(){for(var t=[],e=0;e<=Math.floor(this.typingPaper.printContent.PageWidth/10);e++)t.push({index:e});return t},VerticalScale:function(){for(var t=[],e=0;e<=Math.floor(this.typingPaper.printContent.PageHeight/10);e++)t.push({index:e});return t}},mounted:function(){this.shuju()},methods:{shuju:function(){var t=this;this.$api.post(this.getProductUrl("print/queryCompent"),{companyId:this.$store.state.companyId}).then(function(e){return t.aTextArea=e.data,t.aTextArea.forEach(function(e,n){e.compentDefaultFormat=JSON.parse(e.compentDefaultFormat),t.aTextMap[e.compentField]=e}),t.getmoban}).then(function(e){return e(),t.bindingEvent}).then(function(e){t.times=setInterval(function(){t.bindingEvent()},1e3)})},bindingEvent:function(){var t=this,e=document.querySelectorAll(".ys");0!==e.length&&(clearTimeout(this.times),this.times=null);for(var n=function(n){e[n].onkeydown=function(e){var i=e||window.event;i.preventDefault();var s=i.keyCode||i.which;46===s||8==s?t.call(n):40===s?(t.typingPaper.printContent.Items[n].Top+=.2,t.top=t.typingPaper.printContent.Items[n].Top.toFixed(2)):38===s?(t.typingPaper.printContent.Items[n].Top-=.2,t.top=t.typingPaper.printContent.Items[n].Top.toFixed(2)):37===s?(t.typingPaper.printContent.Items[n].Left-=.2,t.left=t.typingPaper.printContent.Items[n].Left.toFixed(2)):39===s&&(t.typingPaper.printContent.Items[n].Left+=.2,t.left=t.typingPaper.printContent.Items[n].Left.toFixed(2))}},i=0;i<e.length;i++)n(i)},call:function(t){this.typingPaper.printContent.Items.splice(t,1)},dayin:function(){this.$store.state.config.printer?this.$message.error("前往出票页面出票!"):(console.log(this.typingPaper.printContent.Items),this.$message.error("暂无打印机!"))},getmoban:function(t){var e=this;this.$api.post(this.getProductUrl("/print/query"),{companyId:this.$store.state.companyId}).then(function(n){if(n.data.forEach(function(t,e){t.printContent=JSON.parse(t.printContent)}),e.PrintHeTemplate=n.data,0==n.data.length)return e.stencil="",void(e.BooleanValue=!1);void 0!==t?e.PrintHeTemplate.forEach(function(n,i){t===n.printId&&(e.stencil=n.printId)}):e.stencil=e.PrintHeTemplate[0].printId,e.PrintHeTemplate.forEach(function(t,n){t.printContent.Items.forEach(function(t,n){t.Format=t.Format.replace(/\n/g,"<br/>"),t.id||e.$set(t,"id",e.$commonJs.randoms())})}),e.select(e.stencil)})},sanchu:function(){var t=this;return 0==this.PrintHeTemplate.length?this.$message.warning("没有可删除的模板"):this.typingPaper.printId?void this.$confirm("此操作将永久删除当前模板!,是否继续?","提示",{cancelButtonText:"取消",confirmButtonText:"确定",type:"warning"}).then(function(){var e={companyId:t.$store.state.companyId,printId:t.typingPaper.printId,updateDate:t.typingPaper.updateDate,updateUserId:t.$store.state.userName};t.axios.post(t.getProductUrl("print/remove"),e).then(function(e){var n=e.data;if("00"!=n.code)return t.$message.error(n.message);t.$message({type:"success",message:n.message}),t.shuju()})}).catch(function(){}):this.$message.warning("请先保存模板")},empty:function(){this.typingPaper.printContent&&(this.typingPaper.printContent.Items=[],this.$message({type:"success",message:"已清空!"}))},SaveNot:function(){if(0==this.PrintHeTemplate.length)return this.$message.warning("请新建模板");this.BouncedChanges=!0,this.headline="另存为",this.ChangeTheValue=this.typingPaper.printName},rechristen:function(){if(0==this.PrintHeTemplate.length)return this.$message.warning("没有选择模板");this.BouncedChanges=!0,this.headline="重命名",this.ChangeTheValue=this.typingPaper.printName},conserve:function(){if(this.BouncedChanges=!1,"编辑文字"===this.headline){this.valuess[this.n.id]=this.ChangeTheValue,this.n.FormatValue=this.ChangeTheValue;var t=this.aTextMap[this.n.Name]||{compentDefaultFormat:{demo:""}};this.n.FormatValue=this.n.FormatValue.replace("{0}",t.compentDefaultFormat.demo),this.n.Format=this.valuess[this.n.id],this.n.Format=this.n.Format.replace(/\n/g,"<br/>"),this.n.FormatValue=this.n.FormatValue.replace(/\n/g,"<br/>"),this.$message({type:"success",message:"操作成功!"})}else if("重命名"===this.headline)this.typingPaper.printName=this.ChangeTheValue,this.preserve(),this.$message({type:"success",message:"操作成功!"});else if("另存为"===this.headline){var e=JSON.parse(r()(this.typingPaper));e.printId="",e.printName=this.ChangeTheValue,this.PrintHeTemplate.push(e),this.stencil=e.printId,this.select(),this.preserve(),this.$message({type:"success",message:"操作成功!"})}},dblclick:function(t,e){2!==t.Type&&(this.headline="编辑文字",this.BouncedChanges=!0,this.n=t,this.ChangeTheValue=this.valuess[t.id]||t.Format,this.ChangeTheValue=this.ChangeTheValue.replace(/<br\/>/g,"\n"))},newTemplate:function(){for(var t=this,e=0;e<this.PrintHeTemplate.length;e++)if(""===this.PrintHeTemplate[e].printId)return void this.$confirm("需要保存已添加的新建模板么?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.preserve()}).catch(function(){t.$message({type:"info",message:"已取消"})});var n={companyId:this.$store.state.companyId,createDate:this.$commonJs.formattime(new Date),createUserId:"",printContent:{Items:[],MarginBottom:0,MarginLeft:0,MarginRight:0,MarginTop:0,PageHeight:"100",PageWidth:"100",PrintAngle:0},printId:"",printName:"新建模板",updateDate:null};this.PrintHeTemplate.push(n),this.stencil="",this.select()},select:function(t){var e=this;this.PrintHeTemplate.forEach(function(t,n){t.printId===e.stencil&&(e.typingPaper=t,e.BooleanValue=!0,e.typingPaper.printContent.Items.forEach(function(t,n){var i=e.aTextMap[t.Name]||{compentDefaultFormat:{demo:""}};t.Format=t.Format||"",e.$set(t,"FormatValue",e.valuess[t.id]&&e.valuess[t.id].replace("{0}",i.compentDefaultFormat.demo)||t.Format.replace("{0}",i.compentDefaultFormat.demo)||i.compentDefaultFormat.demo);var s=t.Font.split(",");if(e.$set(t,"fontFamily",s[0]),e.$set(t,"fontSize",s[1]),e.$set(t,"textDecoration","none"),e.$set(t,"fontWeight","normal"),e.$set(t,"fontStyle","normal"),-1!==t.Font.indexOf("=")){var a=t.Font.slice(t.Font.indexOf("=")+1,t.Font.length).split(",");"bold"===(a=a.map(function(t,e){return t.slice(0,1).toLowerCase()+t.slice(1)}))[0]&&e.$set(t,"fontWeight",a[0]),"italic"===a[0]&&e.$set(t,"fontStyle",a[0]),"underline"===a[0]&&e.$set(t,"textDecoration",a[0]),"italic"===a[1]&&e.$set(t,"fontStyle",a[1]),"bold"===a[1]&&e.$set(t,"fontWeight",a[1]),"underline"===a[1]&&e.$set(t,"textDecoration",a[1]),"underline"===a[2]&&e.$set(t,"textDecoration",a[2]),"italic"===a[2]&&e.$set(t,"fontStyle",a[2]),"bold"===a[2]&&e.$set(t,"fontWeight",a[2])}}))})},preserve:function(){var t=this;return console.log("保存"),0==this.PrintHeTemplate.length?this.$message.warning("请先新建模板"):this.typingPaper.printContent?(this.typingPaper.printContent.MarginBottom=parseInt(this.typingPaper.printContent.MarginBottom),this.typingPaper.printContent.MarginLeft=parseInt(this.typingPaper.printContent.MarginLeft),this.typingPaper.printContent.MarginRight=parseInt(this.typingPaper.printContent.MarginRight),this.typingPaper.printContent.MarginTop=parseInt(this.typingPaper.printContent.MarginTop),this.typingPaper.printContent.PageHeight=parseInt(this.typingPaper.printContent.PageHeight),this.typingPaper.printContent.PageWidth=parseInt(this.typingPaper.printContent.PageWidth),this.typingPaper.printContent.PrintAngle=parseInt(this.typingPaper.printContent.PrintAngle),this.typingPaper.printContent.Items.forEach(function(t,e){t.Font="";var n="normal"===t.fontWeight?"":t.fontWeight.slice(0,1).toUpperCase()+t.fontWeight.slice(1)+",",i="normal"===t.fontStyle?"":t.fontStyle.slice(0,1).toUpperCase()+t.fontStyle.slice(1)+",",s="none"===t.textDecoration?"":t.textDecoration.slice(0,1).toUpperCase()+t.textDecoration.slice(1)+",",a=t.fontSize,r=t.fontFamily;if(t.Font=r+","+a+",style="+n+i+s,""===n&&""===i&&""===s&&(t.Font=t.Font.slice(0,t.Font.indexOf("s")-1)),-1!==t.Font.indexOf("=")){var o=t.Font.slice(t.Font.indexOf("=")+1,t.Font.length).split(",");if(""===o[1]){var p=o.join().slice(0,o.join().length-1);t.Font=r+","+a+",style="+p}}}),this.typingPaper.printContent.Items.forEach(function(e,n){e.Format=e.Format.replace(/<br\/>/g,"\n"),e.FormatValue=e.FormatValue.replace(/<br\/>/g,"\n"),t.$delete(e,"fontFamily"),t.$delete(e,"fontSize"),t.$delete(e,"fontStyle"),t.$delete(e,"fontWeight"),t.$delete(e,"textDecoration"),t.$delete(e,"id")}),this.typingPaper.printContent=r()(this.typingPaper.printContent),void this.axios.post(this.getProductUrl("print/save"),this.typingPaper).then(function(e){if("00"!=e.data.code)return t.$message({type:"error",message:e.data.message});t.getmoban(e.data.data),t.$message({type:"success",message:"保存成功!"}),t.times=setInterval(function(){t.bindingEvent()},1e3)})):this.$message.error("请新建打印模板")},adjust:function(t){-1!==this.subscript?0===t?this.$set(this.typingPaper.printContent.Items[this.subscript],"Left",this.left):1===t?this.$set(this.typingPaper.printContent.Items[this.subscript],"Top",this.top):2===t?this.$set(this.typingPaper.printContent.Items[this.subscript],"Width",this.kuan):3===t&&this.$set(this.typingPaper.printContent.Items[this.subscript],"Height",this.gao):this.$message.error("请选择你要设置的元件!")},FontPosition:function(t){-1!==this.subscript?2!==this.typingPaper.printContent.Items[this.subscript].Type&&(this.lef=t,this.$set(this.typingPaper.printContent.Items[this.subscript],"TextAlign",t)):this.$message.error("请选择你要设置的元件!")},pattern:function(t,e){-1!==this.subscript?2!==this.typingPaper.printContent.Items[this.subscript].Type&&("fontWeight"===e?"normal"===this.typingPaper.printContent.Items[this.subscript].fontWeight?(this.$set(this.typingPaper.printContent.Items[this.subscript],e,t),this.a=!0):(this.$set(this.typingPaper.printContent.Items[this.subscript],e,"normal"),this.a=!1):"fontStyle"===e?"normal"===this.typingPaper.printContent.Items[this.subscript].fontStyle?(this.$set(this.typingPaper.printContent.Items[this.subscript],e,t),this.b=!0):(this.$set(this.typingPaper.printContent.Items[this.subscript],e,"normal"),this.b=!1):"textDecoration"===e&&("none"===this.typingPaper.printContent.Items[this.subscript].textDecoration?(this.$set(this.typingPaper.printContent.Items[this.subscript],e,t),this.c=!0):(this.$set(this.typingPaper.printContent.Items[this.subscript],e,"none"),this.c=!1))):this.$message.error("请选择你要设置的元件!")},SelectTheFont:function(t){if(-1===this.subscript)return this.$message.error("请选择你要设置的元件!"),void(this.value="微软雅黑");2!==this.typingPaper.printContent.Items[this.subscript].Type?this.$set(this.typingPaper.printContent.Items[this.subscript],"fontFamily",t):this.value="微软雅黑"},fontSize:function(t){if(-1===this.subscript)return this.$message.error("请选择你要设置的元件!"),void(this.value1=9);2!==this.typingPaper.printContent.Items[this.subscript].Type?this.$set(this.typingPaper.printContent.Items[this.subscript],"fontSize",t+"pt"):this.value1=9},switchover:function(t){this.i=t,this.show=t},gain:function(t,e){if(2===t.compentDefaultType){this.TheCurrentInformation={};for(var n=0;n<this.$refs.li.length;n++)this.$refs.li[n].setAttribute("class","");this.$refs.li[e].setAttribute("class","bo"),this.TheCurrentInformation=s()({},this.TheCurrentInformation,{Font:"微软雅黑,9pt",IsVisible:!0,Format:t.compentDefaultFormat.format,FormatValue:t.compentDefaultFormat.demo,Name:t.compentField,TextAlign:1,Top:0,Left:0,Width:20,Height:20,id:this.$commonJs.randoms(),Type:t.compentDefaultType,fontWeight:"normal",fontStyle:"normal",textDecoration:"none",fontSize:"9pt",fontFamily:"微软雅黑"})}else{this.TheCurrentInformation={};for(var i=0;i<this.$refs.li.length;i++)this.$refs.li[i].setAttribute("class","");this.$refs.li[e].setAttribute("class","bo"),this.TheCurrentInformation=s()({},this.TheCurrentInformation,{Font:"微软雅黑,9pt",Format:t.compentDefaultFormat.format,Height:"auto",IsVisible:!0,Left:0,Name:t.compentField,TextAlign:1,Top:0,Type:t.compentDefaultType,Width:"auto",id:this.$commonJs.randoms(),fontWeight:"normal",fontStyle:"normal",textDecoration:"none",fontSize:"9pt",fontFamily:"微软雅黑",FormatValue:t.compentDefaultFormat.format.replace("{0}",t.compentDefaultFormat.demo)})}},huaguo:function(t){if(!this.estimate){var e=window.event,n=e.offsetX,i=e.offsetY,s=this.$refs.divs[t];n<=3&&n>-3||n<s.offsetWidth&&n>=s.offsetWidth-5?(s.style.cursor="w-resize",this.iszoom=!0,this.direction=n<=3?1:2):i>-3&&i<=3||i<s.offsetHeight&&i>=s.offsetHeight-5?(s.style.cursor="s-resize",this.iszoom=!0,this.direction=i<=3?3:4):(s.style.cursor="move",this.iszoom=!1)}},drag:function(t,e){var n=this;this.subscript=t;for(var i=window.event,s=this.$refs.div,a=this.$refs.divs[t],r=0;r<this.$refs.divs.length;r++)this.$refs.divs[r].style.border="";a.style.border="1px solid #000";var o=i.pageX,p=i.pageY,l=a.offsetWidth,c=a.offsetHeight,g=a.offsetLeft,m=a.offsetTop;if(this.typingPaper.printContent.Items[t].fontFamily&&(this.value=this.typingPaper.printContent.Items[t].fontFamily),this.typingPaper.printContent.Items[t].fontSize){var h=this.typingPaper.printContent.Items[t].fontSize.substring(0,this.typingPaper.printContent.Items[t].fontSize.indexOf("p"));this.value1=Math.floor(100*h)/100}else this.value1=9;this.typingPaper.printContent.Items[t].fontWeight&&(this.a="normal"!==this.typingPaper.printContent.Items[t].fontWeight),this.typingPaper.printContent.Items[t].fontStyle&&(this.b="normal"!==this.typingPaper.printContent.Items[t].fontStyle),this.typingPaper.printContent.Items[t].textDecoration&&(this.c="none"!==this.typingPaper.printContent.Items[t].textDecoration),this.typingPaper.printContent.Items[t]&&(this.lef=this.typingPaper.printContent.Items[t].TextAlign);var u=this.typingPaper.printContent.Items[t].Left,d=this.typingPaper.printContent.Items[t].Top;if(this.left=Number(u).toFixed(2),this.top=Number(d).toFixed(2),this.left,this.top,this.kuan=(a.offsetWidth/38*10).toFixed(2),this.gao=(a.offsetHeight/38*10).toFixed(2),this.iszoom)this.estimate=!0,s.onmousemove=function(e){if(1===n.direction){var i=(g-(o-e.pageX))/37.78*10,s=(l+(o-e.pageX))/37.78*10;s>5&&(n.typingPaper.printContent.Items[t].Left=i,n.$set(n.typingPaper.printContent.Items[t],"Width",s))}else if(2===n.direction){var a=String(o-e.pageX);if(Number(a)<0){var r=l+Number(a.slice(1));n.$set(n.typingPaper.printContent.Items[t],"Width",r/37.78*10)}else{if(n.typingPaper.printContent.Items[t].Width<5)return;var h=l-Number(a);n.$set(n.typingPaper.printContent.Items[t],"Width",h/37.78*10)}}else if(3===n.direction){var u=(m-(p-e.pageY))/37.78*10,d=(c+(p-e.pageY))/37.78*10;d>5&&(n.typingPaper.printContent.Items[t].Top=u,n.$set(n.typingPaper.printContent.Items[t],"Height",d))}else if(4===n.direction){var A=String(p-e.pageY);if(Number(A)<0){var y=c+Number(A.slice(1));n.$set(n.typingPaper.printContent.Items[t],"Height",y/37.78*10)}else{if(n.typingPaper.printContent.Items[t].Height<5)return;var f=c-Number(A);n.$set(n.typingPaper.printContent.Items[t],"Height",f/37.78*10)}}n.gao=Number(n.typingPaper.printContent.Items[t].Height).toFixed(2),n.kuan=Number(n.typingPaper.printContent.Items[t].Width).toFixed(2)},s.onmouseup=function(t){n.estimate=!1,s.onmousemove=null,s.onmouseup=null};else{var A=i.clientX-a.offsetLeft,y=i.clientY-a.offsetTop;s.onmousemove=function(e){var i=e.clientX-A,s=e.clientY-y;n.typingPaper.printContent.Items[t].Top=s/37.78*10,n.typingPaper.printContent.Items[t].Left=i/37.78*10,n.top=(s/37.78*10).toFixed(2),n.left=(i/37.78*10).toFixed(2)},s.onmouseup=function(t){s.onmousemove=null,s.onmouseup=null}}},TakeMeNow:function(t){var e=this;if("{}"!==r()(this.TheCurrentInformation)){var n=function(){var n=t||window.event;e.$refs.div;e.typingPaper.printContent.Items.push(e.TheCurrentInformation),e.typingPaper.printContent.Items.forEach(function(t,i){t.id===e.TheCurrentInformation.id&&(e.isWeb?(t.Top=n.layerY/37.78*10,t.Left=n.layerX/37.78*10):(t.Top=n.offsetY/37.78*10,t.Left=n.offsetX/37.78*10))}),e.TheCurrentInformation={};for(var i=0;i<e.$refs.li.length;i++)e.$refs.li[i].setAttribute("class","");e.$nextTick(function(){e.bindingEvent()})};if(0===this.TheCurrentInformation.Type)return this.dblclick(this.TheCurrentInformation),void n();n()}}}},p={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"total index"},[i("p",{staticClass:"head"},[t._v("打印模板>")]),t._v(" "),i("ul",{staticClass:"ul"},[i("li",{staticStyle:{background:"#5A738A",color:"#fff"},on:{click:t.newTemplate}},[t._v("新建")]),t._v(" "),i("li",{on:{click:t.preserve}},[t._v("保存")]),t._v(" "),i("li",{on:{click:t.sanchu}},[t._v("删除")]),t._v(" "),i("li",{attrs:{id:"li"}},[t._v("操作\n "),i("ul",{staticClass:"ul",staticStyle:{"z-index":"99999"}},[i("li",{on:{click:t.SaveNot}},[t._v("另存为")]),t._v(" "),i("li",{on:{click:t.rechristen}},[t._v("重命名")]),t._v(" "),i("li",{on:{click:t.empty}},[t._v("清空")])])])]),t._v(" "),i("ul",{staticClass:"skip"},[i("li",{class:{effect:t.i},on:{click:function(e){return t.switchover(!0)}}},[t._v("开始")]),t._v(" "),i("li",{class:{effect:!t.i},on:{click:function(e){return t.switchover(!1)}}},[t._v("页面布局")])]),t._v(" "),t.show?i("div",{staticClass:"box"},[i("div",[i("p",{staticClass:"p"},[i("span",{staticStyle:{"font-size":"0.18rem"}},[t._v("字体:")]),t._v(" "),i("el-select",{attrs:{placeholder:"请选择"},on:{change:t.SelectTheFont},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.options,function(t){return i("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1),t._v(" "),i("el-select",{staticClass:"typeface",attrs:{placeholder:"请选择"},on:{change:t.fontSize},model:{value:t.value1,callback:function(e){t.value1=e},expression:"value1"}},t._l(t.typeface,function(t){return i("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1)],1),t._v(" "),i("p",{staticClass:"img imgspan"},[i("span",{class:{active:t.a},on:{click:function(e){return t.pattern("bold","fontWeight")}}},[i("img",{attrs:{src:n("iVIb"),alt:""}})]),t._v(" "),i("span",{class:{active:t.b},on:{click:function(e){return t.pattern("italic","fontStyle")}}},[i("img",{attrs:{src:n("NHiS"),alt:""}})]),t._v(" "),i("span",{class:{active:t.c},on:{click:function(e){return t.pattern("underline","textDecoration")}}},[i("img",{attrs:{src:n("OE6N"),alt:""}})])]),t._v(" "),i("p",{staticClass:"img imgspan"},[i("span",{class:{active:1==t.lef},on:{click:function(e){return t.FontPosition(1)}}},[i("img",{attrs:{src:n("zTD+")}})]),t._v(" "),i("span",{class:{active:2==t.lef},on:{click:function(e){return t.FontPosition(2)}}},[i("img",{attrs:{src:n("khod")}})]),t._v(" "),i("span",{class:{active:4==t.lef},on:{click:function(e){return t.FontPosition(4)}}},[i("img",{attrs:{src:n("xqqq")}})])]),t._v(" "),i("div",{staticClass:"img jianju"},[i("span",[t._v("位置:")]),t._v(" "),i("p",[i("span",[t._v("左")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.left,expression:"left"}],attrs:{onkeypress:"return( /[\\d.]/.test(String.fromCharCode(event.keyCode) ) )",type:"number"},domProps:{value:t.left},on:{input:[function(e){e.target.composing||(t.left=e.target.value)},function(e){return t.adjust(0)}]}})]),t._v(" "),i("p",[i("span",[t._v("上")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.top,expression:"top"}],attrs:{onkeypress:"return( /[\\d.]/.test(String.fromCharCode(event.keyCode) ) )",type:"number"},domProps:{value:t.top},on:{input:[function(e){e.target.composing||(t.top=e.target.value)},function(e){return t.adjust(1)}]}})]),t._v(" "),i("p",[i("span",[t._v("宽")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.kuan,expression:"kuan"}],attrs:{onkeypress:"return( /[\\d.]/.test(String.fromCharCode(event.keyCode) ) )",type:"number"},domProps:{value:t.kuan},on:{input:[function(e){e.target.composing||(t.kuan=e.target.value)},function(e){return t.adjust(2)}]}})]),t._v(" "),i("p",[i("span",[t._v("高")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.gao,expression:"gao"}],attrs:{onkeypress:"return( /[\\d.]/.test(String.fromCharCode(event.keyCode) ) )",type:"number"},domProps:{value:t.gao},on:{input:[function(e){e.target.composing||(t.gao=e.target.value)},function(e){return t.adjust(3)}]}})])])])]):t._e(),t._v(" "),t.show?t._e():i("div",{staticClass:"box zhongpai"},[i("div",[i("span",{staticClass:"biaot"},[t._v("打印边距:")]),t._v(" "),i("div",[i("p",[i("span",{staticClass:"span"},[t._v("上")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.typingPaper.printContent.MarginTop,expression:"typingPaper.printContent.MarginTop"}],attrs:{onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )",type:"number"},domProps:{value:t.typingPaper.printContent.MarginTop},on:{input:function(e){e.target.composing||t.$set(t.typingPaper.printContent,"MarginTop",e.target.value)}}}),i("span",{staticClass:"span"},[t._v("右")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.typingPaper.printContent.MarginRight,expression:"typingPaper.printContent.MarginRight"}],attrs:{type:"number",onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )"},domProps:{value:t.typingPaper.printContent.MarginRight},on:{input:function(e){e.target.composing||t.$set(t.typingPaper.printContent,"MarginRight",e.target.value)}}})]),t._v(" "),i("p",[i("span",{staticClass:"span"},[t._v("下")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.typingPaper.printContent.MarginBottom,expression:"typingPaper.printContent.MarginBottom"}],attrs:{onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )",type:"number"},domProps:{value:t.typingPaper.printContent.MarginBottom},on:{input:function(e){e.target.composing||t.$set(t.typingPaper.printContent,"MarginBottom",e.target.value)}}}),i("span",{staticClass:"span"},[t._v("左")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.typingPaper.printContent.MarginLeft,expression:"typingPaper.printContent.MarginLeft"}],attrs:{onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )",type:"number"},domProps:{value:t.typingPaper.printContent.MarginLeft},on:{input:function(e){e.target.composing||t.$set(t.typingPaper.printContent,"MarginLeft",e.target.value)}}})])]),t._v(" "),i("span",{staticClass:"biaot"},[t._v("纸张方向:")]),t._v(" "),i("div",[i("p",[i("el-radio",{attrs:{label:90},model:{value:t.typingPaper.printContent.PrintAngle,callback:function(e){t.$set(t.typingPaper.printContent,"PrintAngle",e)},expression:"typingPaper.printContent.PrintAngle"}},[t._v("横向")])],1),t._v(" "),i("p",[i("el-radio",{attrs:{label:0},model:{value:t.typingPaper.printContent.PrintAngle,callback:function(e){t.$set(t.typingPaper.printContent,"PrintAngle",e)},expression:"typingPaper.printContent.PrintAngle"}},[t._v("纵向")])],1)]),t._v(" "),i("span",{staticClass:"biaot"},[t._v("纸张大小:")]),t._v(" "),i("div",[i("p",[i("span",{staticClass:"span"},[t._v("纸宽")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.typingPaper.printContent.PageWidth,expression:"typingPaper.printContent.PageWidth"}],attrs:{type:"number",onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )"},domProps:{value:t.typingPaper.printContent.PageWidth},on:{input:function(e){e.target.composing||t.$set(t.typingPaper.printContent,"PageWidth",e.target.value)}}})]),t._v(" "),i("p",[i("span",{staticClass:"span"},[t._v("纸高")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.typingPaper.printContent.PageHeight,expression:"typingPaper.printContent.PageHeight"}],attrs:{type:"number",onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )"},domProps:{value:t.typingPaper.printContent.PageHeight},on:{input:function(e){e.target.composing||t.$set(t.typingPaper.printContent,"PageHeight",e.target.value)}}})])])])]),t._v(" "),i("div",{staticClass:"yuanjian"},[i("div",{staticClass:"divs"},[i("ul",t._l(t.aTextArea,function(e,s){return i("li",{key:s,ref:"li",refInFor:!0,staticStyle:{cursor:"pointer",display:"flex"},on:{click:function(n){return t.gain(e,s)}}},[i("img",{key:s,staticClass:"imgs",attrs:{src:n("H9Sq")}}),t._v(" "),i("span",[t._v(t._s(e.compentName))])])}),0)]),t._v(" "),i("div",{staticClass:"base"},[i("el-select",{attrs:{placeholder:"请选择"},on:{change:t.select},model:{value:t.stencil,callback:function(e){t.stencil=e},expression:"stencil"}},t._l(t.PrintHeTemplate,function(t){return i("el-option",{key:t.printId,attrs:{label:t.printName,value:t.printId}})}),1),t._v(" "),t.BooleanValue?i("div",{ref:"div",staticClass:"lineChart",style:{width:t.typingPaper.printContent.PageWidth/10+"cm",height:t.typingPaper.printContent.PageHeight/10+"cm"}},[i("div",{on:{click:t.TakeMeNow}},t._l(t.typingPaper.printContent.Items,function(e,s){return i("div",{key:s,ref:"divs",refInFor:!0,staticClass:"ys",style:{height:e.Height/10+"cm",left:e.Left/10+"cm",textAlign:1===e.TextAlign?"left":2===e.TextAlign?"center":"right",top:e.Top/10+"cm",width:e.Width/10+"cm",fontFamily:e.fontFamily,fontSize:e.fontSize,fontWeight:e.fontWeight||"normal",fontStyle:e.fontStyle||"normal",textDecoration:e.textDecoration||"none"},attrs:{tabIndex:"-1"},on:{dblclick:function(n){return t.dblclick(e,s)},mousedown:function(n){return n.stopPropagation(),t.drag(s,e)},mousemove:function(e){return t.huaguo(s)}}},[2!==e.Type?i("span",{domProps:{innerHTML:t._s(e.FormatValue)}}):t._e(),t._v(" "),2===e.Type?i("div",{style:{position:"absolute",backgroundImage:"url("+n("o6h9")+")",backgroundPosition:"top center",width:e.Width/10+"cm",height:e.Height/10+"cm",backgroundSize:"100% 100%"}}):t._e()])}),0),t._v(" "),i("ul",{staticClass:"ruler1"},t._l(t.CanvasScaleFirst,function(e,n){return i("li",{key:n},[i("span",[i("a",[t._v(t._s(e.index))])]),t._v(" "),i("b")])}),0),t._v(" "),i("ul",{staticClass:"ruler2"},t._l(t.VerticalScale,function(e,n){return i("li",{key:n},[i("span",[i("a",[t._v(t._s(e.index))])]),t._v(" "),i("b")])}),0)]):t._e()],1)]),t._v(" "),t.BouncedChanges?i("div",{staticClass:"popUp"},[i("p",{staticStyle:{background:"#5f7189",width:"100%",height:"0.5rem","line-height":"0.5rem",color:"#fff","padding-left":"0.1rem","box-sizing":"border-box","font-weight":"600","font-size":"0.17rem"}},[t._v(t._s(t.headline))]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ChangeTheValue,expression:"ChangeTheValue"}],domProps:{value:t.ChangeTheValue},on:{input:function(e){e.target.composing||(t.ChangeTheValue=e.target.value)}}}),t._v(" "),i("p",[i("button",{staticClass:"button",on:{click:t.conserve}},[t._v("\n 确定\n ")]),t._v(" "),i("button",{staticClass:"button",on:{click:function(e){t.BouncedChanges=!1}}},[t._v("\n 关闭\n ")])])]):t._e()])},staticRenderFns:[]};var l=n("C7Lr")(o,p,!1,function(t){n("TdAY")},"data-v-36fd001c",null);e.default=l.exports},iVIb:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA25pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpEMTQxNzhCQ0M5NkFFNzExODA4QUU3MEMyODgwMzA3NCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyQ0FDRTU1MDkyMDcxMUU3ODRBRUUyRDVDNEYzODUwMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyQ0FDRTU0RjkyMDcxMUU3ODRBRUUyRDVDNEYzODUwMSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNyAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjQ2YWQ5Zi02OWJmLTIyNGEtOGMxOC0yZGExM2M0NTk0MGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE0MTc4QkNDOTZBRTcxMTgwOEFFNzBDMjg4MDMwNzQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz58Q1eAAAAALVBMVEVVVVWAgICqqqrU1NS0tLRgYGDf39+goKD09PS/v79qamqKioqVlZXq6ur///8eZea/AAAAD3RSTlP//////////////////wDU3JihAAAAVElEQVR42nTPSwrAMAgE0InGfPrx/setLVRNoQMu3sJBoUtgM8nSnAV3alC1QjIVSBwH+rK7jSBRgZx5d3+qnR3kZCaAc5XMt6qxJW7+vPDPS4ABAAVACPiwhkjKAAAAAElFTkSuQmCC"},khod:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA25pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpEMTQxNzhCQ0M5NkFFNzExODA4QUU3MEMyODgwMzA3NCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpBOEE5NEMzOTkyMDcxMUU3QkIyNUY3MTEzMzk5RTI5OSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpBOEE5NEMzODkyMDcxMUU3QkIyNUY3MTEzMzk5RTI5OSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNyAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjQ2YWQ5Zi02OWJmLTIyNGEtOGMxOC0yZGExM2M0NTk0MGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE0MTc4QkNDOTZBRTcxMTgwOEFFNzBDMjg4MDMwNzQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6w6y4aAAAAXVBMVEVVVVX09PRZWVnX19e7u7uurq7t7e3Gxsa6urr19fXs7OzHx8f29vbR0dFqamrZ2dnu7u7g4OCysrKcnJy+vr7KysqYmJhWVlb7+/tiYmLCwsJbW1v8/Pzb29v///+fvc4zAAAAH3RSTlP///////////////////////////////////////8AzRl2EAAAAFhJREFUeNpszVcOgCAQRdFno9p7Zf/LVCLqEDkJHy8ZcmE8uF4+wercnNvMKtykxzKisMGzivQlevxDplaMMSWf7v1tdHMfNOdcN4HukRAVyphYQqHPKcAAUoIP9VqHgSMAAAAASUVORK5CYII="},o6h9:function(t,e,n){t.exports=n.p+"img/QRcode.cae4699.jpg"},xqqq:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA25pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpEMTQxNzhCQ0M5NkFFNzExODA4QUU3MEMyODgwMzA3NCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyNjVEM0E1NTkyMDYxMUU3ODczQ0JCM0EwOUM1OTJBMiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyNjVEM0E1NDkyMDYxMUU3ODczQ0JCM0EwOUM1OTJBMiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNyAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjQ2YWQ5Zi02OWJmLTIyNGEtOGMxOC0yZGExM2M0NTk0MGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE0MTc4QkNDOTZBRTcxMTgwOEFFNzBDMjg4MDMwNzQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz651S4ZAAAAS1BMVEVaWlrf39/Z2dno6Ojc3Nzq6uri4uJiYmJjY2Pp6enY2Njn5+fs7Ozg4ODb29vh4eHk5OTy8vJhYWHe3t6WlpZqampgYGCampr///9fVuTTAAAAGXRSTlP///////////////////////////////8AATQKtwAAAFFJREFUeNpszVcOgDAMA9Cwm042uf9JUYhKBO37s2TLQB9ABpQBirbNbIR/mS2D8BJ33TLsxVZs0XWZw+I3NCpUf30aH7PE65zYelTLr1uAAQCSuwzV6j5cOAAAAABJRU5ErkJggg=="},"zTD+":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA25pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpEMTQxNzhCQ0M5NkFFNzExODA4QUU3MEMyODgwMzA3NCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5NTAxQkFCOTkyMDcxMUU3OEM1QThENkRDQTFGRTZEOSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5NTAxQkFCODkyMDcxMUU3OEM1QThENkRDQTFGRTZEOSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNyAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjQ2YWQ5Zi02OWJmLTIyNGEtOGMxOC0yZGExM2M0NTk0MGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE0MTc4QkNDOTZBRTcxMTgwOEFFNzBDMjg4MDMwNzQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5vDH2yAAAAUVBMVEVaWlrf39/Z2dno6Ojq6uri4uJiYmLc3NxjY2Pb29vp6enn5+fg4ODY2Njm5ubd3d3r6+thYWGMjIzs7Ozk5OTh4eGRkZFgYGDx8fFqamr///9pIUYSAAAAG3RSTlP//////////////////////////////////wAnNAs1AAAAVElEQVR42mzNWQ6AIAxF0SoOlMEB5+5/oQYbQgqev5v0pUACaMg0Afo28UhQHG8du+U2cM44RjhxFltjVWJN9dc1mau2e/85Fs5nHaLr/H0k8xVgAPAtDdov/YAXAAAAAElFTkSuQmCC"}});
\ No newline at end of file
webpackJsonp([7],{H9Sq:function(t,e,n){t.exports=n.p+"img/peProduct.c182c65.png"},NHiS:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA25pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpEMTQxNzhCQ0M5NkFFNzExODA4QUU3MEMyODgwMzA3NCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo2N0JBRjJCNDkyMDcxMUU3OERFM0E5RDhDRUM3NUVBOCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo2N0JBRjJCMzkyMDcxMUU3OERFM0E5RDhDRUM3NUVBOCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNyAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjQ2YWQ5Zi02OWJmLTIyNGEtOGMxOC0yZGExM2M0NTk0MGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE0MTc4QkNDOTZBRTcxMTgwOEFFNzBDMjg4MDMwNzQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7dM/aUAAAAKlBMVEVVVVWqqqrq6uqgoKD09PTf39+VlZVgYGCAgIDU1NR1dXW/v7+Kior///+4dGxHAAAADnRSTlP/////////////////AEXA3MgAAABHSURBVHjajM47DsAwDAJQiPNvc//rdsgQyFQW9CTLAsuCXSTTYaoI4Xpgx9GNvRoblRlDOZCVbDqjvLMIJxD2+dr8j58AAwCumgpB1Gs+4QAAAABJRU5ErkJggg=="},OE6N:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA25pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpEMTQxNzhCQ0M5NkFFNzExODA4QUU3MEMyODgwMzA3NCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo4MjFEQTMyNTkyMDcxMUU3OUE5REY4MUU0QUE0ODc1OCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo4MjFEQTMyNDkyMDcxMUU3OUE5REY4MUU0QUE0ODc1OCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNyAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjQ2YWQ5Zi02OWJmLTIyNGEtOGMxOC0yZGExM2M0NTk0MGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE0MTc4QkNDOTZBRTcxMTgwOEFFNzBDMjg4MDMwNzQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6SgtL0AAAAJFBMVEVVVVXU1NSAgICgoKC/v7+qqqp1dXXq6ur09PTf399gYGD///+W+TIoAAAADHRSTlP//////////////wAS387OAAAASElEQVR42rTPUQ7AIAgD0DJAmb3/fSeJbrp/m5Dwwk8Bt6CP19yqD0KSguMsmtQya8BIazZIRY/OkmSIBD8uL9j15v5fHwEGAIm6B21QAXXmAAAAAElFTkSuQmCC"},eICZ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("aA9S"),s=n.n(i),a=n("3cXf"),r=n.n(a),o={data:function(){return{isWeb:Base.isWeb,headline:"",n:{},ChangeTheValue:"",BouncedChanges:!1,BooleanValue:!1,show:!0,options:[{value:"微软雅黑",label:"微软雅黑"},{value:"宋体",label:"宋体"},{value:"黑体",label:"黑体"}],PrintHeTemplate:[],typingPaper:{},stencil:"computer_common",value:"微软雅黑",value1:9,i:!0,aTextArea:[],aTextMap:{},TheCurrentInformation:{},ProductPrintVo:{companyId:"",createDate:"",createUserId:"",printContent:"",printId:"",printName:"",removeFlag:"",updateDate:"",updateUserId:"",versonFlag:""},TheListOf:[],CanvasContentStyle:{top:0,left:0},iszoom:!1,direction:0,subscript:-1,a:!1,b:!1,c:!1,lef:"",left:0,top:0,kuan:0,gao:0,estimate:!1,valuess:{},times:null}},created:function(){},computed:{typeface:function(){for(var t=[],e=9;e<=72;e++)t.push({value:e,label:e});return t},CanvasScaleFirst:function(){for(var t=[],e=0;e<=Math.floor(this.typingPaper.printContent.PageWidth/10);e++)t.push({index:e});return t},VerticalScale:function(){for(var t=[],e=0;e<=Math.floor(this.typingPaper.printContent.PageHeight/10);e++)t.push({index:e});return t}},mounted:function(){this.shuju()},methods:{shuju:function(){var t=this;this.$api.post(this.getProductUrl("print/queryCompent"),{companyId:this.$store.state.companyId}).then(function(e){return t.aTextArea=e.data,t.aTextArea.forEach(function(e,n){e.compentDefaultFormat=JSON.parse(e.compentDefaultFormat),t.aTextMap[e.compentField]=e}),t.getmoban}).then(function(e){return e(),t.bindingEvent}).then(function(e){t.times=setInterval(function(){t.bindingEvent()},1e3)})},bindingEvent:function(){var t=this,e=document.querySelectorAll(".ys");0!==e.length&&(clearTimeout(this.times),this.times=null);for(var n=function(n){e[n].onkeydown=function(e){var i=e||window.event;i.preventDefault();var s=i.keyCode||i.which;46===s||8==s?t.call(n):40===s?(t.typingPaper.printContent.Items[n].Top+=.2,t.top=t.typingPaper.printContent.Items[n].Top.toFixed(2)):38===s?(t.typingPaper.printContent.Items[n].Top-=.2,t.top=t.typingPaper.printContent.Items[n].Top.toFixed(2)):37===s?(t.typingPaper.printContent.Items[n].Left-=.2,t.left=t.typingPaper.printContent.Items[n].Left.toFixed(2)):39===s&&(t.typingPaper.printContent.Items[n].Left+=.2,t.left=t.typingPaper.printContent.Items[n].Left.toFixed(2))}},i=0;i<e.length;i++)n(i)},call:function(t){this.typingPaper.printContent.Items.splice(t,1)},dayin:function(){this.$store.state.config.printer?this.$message.error("前往出票页面出票!"):(console.log(this.typingPaper.printContent.Items),this.$message.error("暂无打印机!"))},getmoban:function(t){var e=this;this.$api.post(this.getProductUrl("/print/query"),{companyId:this.$store.state.companyId}).then(function(n){if(n.data.forEach(function(t,e){t.printContent=JSON.parse(t.printContent)}),e.PrintHeTemplate=n.data,0==n.data.length)return e.stencil="",void(e.BooleanValue=!1);void 0!==t?e.PrintHeTemplate.forEach(function(n,i){t===n.printId&&(e.stencil=n.printId)}):e.stencil=e.PrintHeTemplate[0].printId,e.PrintHeTemplate.forEach(function(t,n){t.printContent.Items.forEach(function(t,n){t.Format=t.Format.replace(/\n/g,"<br/>"),t.id||e.$set(t,"id",e.$commonJs.randoms())})}),e.select(e.stencil)})},sanchu:function(){var t=this;return 0==this.PrintHeTemplate.length?this.$message.warning("没有可删除的模板"):this.typingPaper.printId?void this.$confirm("此操作将永久删除当前模板!,是否继续?","提示",{cancelButtonText:"取消",confirmButtonText:"确定",type:"warning"}).then(function(){var e={companyId:t.$store.state.companyId,printId:t.typingPaper.printId,updateDate:t.typingPaper.updateDate,updateUserId:t.$store.state.userName};t.axios.post(t.getProductUrl("print/remove"),e).then(function(e){var n=e.data;if("00"!=n.code)return t.$message.error(n.message);t.$message({type:"success",message:n.message}),t.shuju()})}).catch(function(){}):this.$message.warning("请先保存模板")},empty:function(){this.typingPaper.printContent&&(this.typingPaper.printContent.Items=[],this.$message({type:"success",message:"已清空!"}))},SaveNot:function(){if(0==this.PrintHeTemplate.length)return this.$message.warning("请新建模板");this.BouncedChanges=!0,this.headline="另存为",this.ChangeTheValue=this.typingPaper.printName},rechristen:function(){if(0==this.PrintHeTemplate.length)return this.$message.warning("没有选择模板");this.BouncedChanges=!0,this.headline="重命名",this.ChangeTheValue=this.typingPaper.printName},conserve:function(){if(this.BouncedChanges=!1,"编辑文字"===this.headline){this.valuess[this.n.id]=this.ChangeTheValue,this.n.FormatValue=this.ChangeTheValue;var t=this.aTextMap[this.n.Name]||{compentDefaultFormat:{demo:""}};this.n.FormatValue=this.n.FormatValue.replace("{0}",t.compentDefaultFormat.demo),this.n.Format=this.valuess[this.n.id],this.n.Format=this.n.Format.replace(/\n/g,"<br/>"),this.n.FormatValue=this.n.FormatValue.replace(/\n/g,"<br/>"),this.$message({type:"success",message:"操作成功!"})}else if("重命名"===this.headline)this.typingPaper.printName=this.ChangeTheValue,this.preserve(),this.$message({type:"success",message:"操作成功!"});else if("另存为"===this.headline){var e=JSON.parse(r()(this.typingPaper));e.printId="",e.printName=this.ChangeTheValue,this.PrintHeTemplate.push(e),this.stencil=e.printId,this.select(),this.preserve(),this.$message({type:"success",message:"操作成功!"})}},dblclick:function(t,e){2!==t.Type&&(this.headline="编辑文字",this.BouncedChanges=!0,this.n=t,this.ChangeTheValue=this.valuess[t.id]||t.Format,this.ChangeTheValue=this.ChangeTheValue.replace(/<br\/>/g,"\n"))},newTemplate:function(){for(var t=this,e=0;e<this.PrintHeTemplate.length;e++)if(""===this.PrintHeTemplate[e].printId)return void this.$confirm("需要保存已添加的新建模板么?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.preserve()}).catch(function(){t.$message({type:"info",message:"已取消"})});var n={companyId:this.$store.state.companyId,createDate:this.$commonJs.formattime(new Date),createUserId:"",printContent:{Items:[],MarginBottom:0,MarginLeft:0,MarginRight:0,MarginTop:0,PageHeight:"100",PageWidth:"100",PrintAngle:0},printId:"",printName:"新建模板",updateDate:null};this.PrintHeTemplate.push(n),this.stencil="",this.select()},select:function(t){var e=this;this.PrintHeTemplate.forEach(function(t,n){t.printId===e.stencil&&(e.typingPaper=t,e.BooleanValue=!0,e.typingPaper.printContent.Items.forEach(function(t,n){var i=e.aTextMap[t.Name]||{compentDefaultFormat:{demo:""}};t.Format=t.Format||"",e.$set(t,"FormatValue",e.valuess[t.id]&&e.valuess[t.id].replace("{0}",i.compentDefaultFormat.demo)||t.Format.replace("{0}",i.compentDefaultFormat.demo)||i.compentDefaultFormat.demo);var s=t.Font.split(",");if(e.$set(t,"fontFamily",s[0]),e.$set(t,"fontSize",s[1]),e.$set(t,"textDecoration","none"),e.$set(t,"fontWeight","normal"),e.$set(t,"fontStyle","normal"),-1!==t.Font.indexOf("=")){var a=t.Font.slice(t.Font.indexOf("=")+1,t.Font.length).split(",");"bold"===(a=a.map(function(t,e){return t.slice(0,1).toLowerCase()+t.slice(1)}))[0]&&e.$set(t,"fontWeight",a[0]),"italic"===a[0]&&e.$set(t,"fontStyle",a[0]),"underline"===a[0]&&e.$set(t,"textDecoration",a[0]),"italic"===a[1]&&e.$set(t,"fontStyle",a[1]),"bold"===a[1]&&e.$set(t,"fontWeight",a[1]),"underline"===a[1]&&e.$set(t,"textDecoration",a[1]),"underline"===a[2]&&e.$set(t,"textDecoration",a[2]),"italic"===a[2]&&e.$set(t,"fontStyle",a[2]),"bold"===a[2]&&e.$set(t,"fontWeight",a[2])}}))})},preserve:function(){var t=this;return console.log("保存"),0==this.PrintHeTemplate.length?this.$message.warning("请先新建模板"):this.typingPaper.printContent?(this.typingPaper.printContent.MarginBottom=parseInt(this.typingPaper.printContent.MarginBottom),this.typingPaper.printContent.MarginLeft=parseInt(this.typingPaper.printContent.MarginLeft),this.typingPaper.printContent.MarginRight=parseInt(this.typingPaper.printContent.MarginRight),this.typingPaper.printContent.MarginTop=parseInt(this.typingPaper.printContent.MarginTop),this.typingPaper.printContent.PageHeight=parseInt(this.typingPaper.printContent.PageHeight),this.typingPaper.printContent.PageWidth=parseInt(this.typingPaper.printContent.PageWidth),this.typingPaper.printContent.PrintAngle=parseInt(this.typingPaper.printContent.PrintAngle),this.typingPaper.printContent.Items.forEach(function(t,e){t.Font="";var n="normal"===t.fontWeight?"":t.fontWeight.slice(0,1).toUpperCase()+t.fontWeight.slice(1)+",",i="normal"===t.fontStyle?"":t.fontStyle.slice(0,1).toUpperCase()+t.fontStyle.slice(1)+",",s="none"===t.textDecoration?"":t.textDecoration.slice(0,1).toUpperCase()+t.textDecoration.slice(1)+",",a=t.fontSize,r=t.fontFamily;if(t.Font=r+","+a+",style="+n+i+s,""===n&&""===i&&""===s&&(t.Font=t.Font.slice(0,t.Font.indexOf("s")-1)),-1!==t.Font.indexOf("=")){var o=t.Font.slice(t.Font.indexOf("=")+1,t.Font.length).split(",");if(""===o[1]){var p=o.join().slice(0,o.join().length-1);t.Font=r+","+a+",style="+p}}}),this.typingPaper.printContent.Items.forEach(function(e,n){e.Format=e.Format.replace(/<br\/>/g,"\n"),e.FormatValue=e.FormatValue.replace(/<br\/>/g,"\n"),t.$delete(e,"fontFamily"),t.$delete(e,"fontSize"),t.$delete(e,"fontStyle"),t.$delete(e,"fontWeight"),t.$delete(e,"textDecoration"),t.$delete(e,"id")}),this.typingPaper.printContent=r()(this.typingPaper.printContent),void this.axios.post(this.getProductUrl("print/save"),this.typingPaper).then(function(e){if("00"!=e.data.code)return t.$message({type:"error",message:e.data.message});t.getmoban(e.data.data),t.$message({type:"success",message:"保存成功!"}),t.times=setInterval(function(){t.bindingEvent()},1e3)})):this.$message.error("请新建打印模板")},adjust:function(t){-1!==this.subscript?0===t?this.$set(this.typingPaper.printContent.Items[this.subscript],"Left",this.left):1===t?this.$set(this.typingPaper.printContent.Items[this.subscript],"Top",this.top):2===t?this.$set(this.typingPaper.printContent.Items[this.subscript],"Width",this.kuan):3===t&&this.$set(this.typingPaper.printContent.Items[this.subscript],"Height",this.gao):this.$message.error("请选择你要设置的元件!")},FontPosition:function(t){-1!==this.subscript?2!==this.typingPaper.printContent.Items[this.subscript].Type&&(this.lef=t,this.$set(this.typingPaper.printContent.Items[this.subscript],"TextAlign",t)):this.$message.error("请选择你要设置的元件!")},pattern:function(t,e){-1!==this.subscript?2!==this.typingPaper.printContent.Items[this.subscript].Type&&("fontWeight"===e?"normal"===this.typingPaper.printContent.Items[this.subscript].fontWeight?(this.$set(this.typingPaper.printContent.Items[this.subscript],e,t),this.a=!0):(this.$set(this.typingPaper.printContent.Items[this.subscript],e,"normal"),this.a=!1):"fontStyle"===e?"normal"===this.typingPaper.printContent.Items[this.subscript].fontStyle?(this.$set(this.typingPaper.printContent.Items[this.subscript],e,t),this.b=!0):(this.$set(this.typingPaper.printContent.Items[this.subscript],e,"normal"),this.b=!1):"textDecoration"===e&&("none"===this.typingPaper.printContent.Items[this.subscript].textDecoration?(this.$set(this.typingPaper.printContent.Items[this.subscript],e,t),this.c=!0):(this.$set(this.typingPaper.printContent.Items[this.subscript],e,"none"),this.c=!1))):this.$message.error("请选择你要设置的元件!")},SelectTheFont:function(t){if(-1===this.subscript)return this.$message.error("请选择你要设置的元件!"),void(this.value="微软雅黑");2!==this.typingPaper.printContent.Items[this.subscript].Type?this.$set(this.typingPaper.printContent.Items[this.subscript],"fontFamily",t):this.value="微软雅黑"},fontSize:function(t){if(-1===this.subscript)return this.$message.error("请选择你要设置的元件!"),void(this.value1=9);2!==this.typingPaper.printContent.Items[this.subscript].Type?this.$set(this.typingPaper.printContent.Items[this.subscript],"fontSize",t+"pt"):this.value1=9},switchover:function(t){this.i=t,this.show=t},gain:function(t,e){if(2===t.compentDefaultType){this.TheCurrentInformation={};for(var n=0;n<this.$refs.li.length;n++)this.$refs.li[n].setAttribute("class","");this.$refs.li[e].setAttribute("class","bo"),this.TheCurrentInformation=s()({},this.TheCurrentInformation,{Font:"微软雅黑,9pt",IsVisible:!0,Format:t.compentDefaultFormat.format,FormatValue:t.compentDefaultFormat.demo,Name:t.compentField,TextAlign:1,Top:0,Left:0,Width:20,Height:20,id:this.$commonJs.randoms(),Type:t.compentDefaultType,fontWeight:"normal",fontStyle:"normal",textDecoration:"none",fontSize:"9pt",fontFamily:"微软雅黑"})}else{this.TheCurrentInformation={};for(var i=0;i<this.$refs.li.length;i++)this.$refs.li[i].setAttribute("class","");this.$refs.li[e].setAttribute("class","bo"),this.TheCurrentInformation=s()({},this.TheCurrentInformation,{Font:"微软雅黑,9pt",Format:t.compentDefaultFormat.format,Height:"auto",IsVisible:!0,Left:0,Name:t.compentField,TextAlign:1,Top:0,Type:t.compentDefaultType,Width:"auto",id:this.$commonJs.randoms(),fontWeight:"normal",fontStyle:"normal",textDecoration:"none",fontSize:"9pt",fontFamily:"微软雅黑",FormatValue:t.compentDefaultFormat.format.replace("{0}",t.compentDefaultFormat.demo)})}},huaguo:function(t){if(!this.estimate){var e=window.event,n=e.offsetX,i=e.offsetY,s=this.$refs.divs[t];n<=3&&n>-3||n<s.offsetWidth&&n>=s.offsetWidth-5?(s.style.cursor="w-resize",this.iszoom=!0,this.direction=n<=3?1:2):i>-3&&i<=3||i<s.offsetHeight&&i>=s.offsetHeight-5?(s.style.cursor="s-resize",this.iszoom=!0,this.direction=i<=3?3:4):(s.style.cursor="move",this.iszoom=!1)}},drag:function(t,e){var n=this;this.subscript=t;for(var i=window.event,s=this.$refs.div,a=this.$refs.divs[t],r=0;r<this.$refs.divs.length;r++)this.$refs.divs[r].style.border="";a.style.border="1px solid #000";var o=i.pageX,p=i.pageY,l=a.offsetWidth,c=a.offsetHeight,g=a.offsetLeft,m=a.offsetTop;if(this.typingPaper.printContent.Items[t].fontFamily&&(this.value=this.typingPaper.printContent.Items[t].fontFamily),this.typingPaper.printContent.Items[t].fontSize){var h=this.typingPaper.printContent.Items[t].fontSize.substring(0,this.typingPaper.printContent.Items[t].fontSize.indexOf("p"));this.value1=Math.floor(100*h)/100}else this.value1=9;this.typingPaper.printContent.Items[t].fontWeight&&(this.a="normal"!==this.typingPaper.printContent.Items[t].fontWeight),this.typingPaper.printContent.Items[t].fontStyle&&(this.b="normal"!==this.typingPaper.printContent.Items[t].fontStyle),this.typingPaper.printContent.Items[t].textDecoration&&(this.c="none"!==this.typingPaper.printContent.Items[t].textDecoration),this.typingPaper.printContent.Items[t]&&(this.lef=this.typingPaper.printContent.Items[t].TextAlign);var u=this.typingPaper.printContent.Items[t].Left,d=this.typingPaper.printContent.Items[t].Top;if(this.left=Number(u).toFixed(2),this.top=Number(d).toFixed(2),this.left,this.top,this.kuan=(a.offsetWidth/38*10).toFixed(2),this.gao=(a.offsetHeight/38*10).toFixed(2),this.iszoom)this.estimate=!0,s.onmousemove=function(e){if(1===n.direction){var i=(g-(o-e.pageX))/37.78*10,s=(l+(o-e.pageX))/37.78*10;s>5&&(n.typingPaper.printContent.Items[t].Left=i,n.$set(n.typingPaper.printContent.Items[t],"Width",s))}else if(2===n.direction){var a=String(o-e.pageX);if(Number(a)<0){var r=l+Number(a.slice(1));n.$set(n.typingPaper.printContent.Items[t],"Width",r/37.78*10)}else{if(n.typingPaper.printContent.Items[t].Width<5)return;var h=l-Number(a);n.$set(n.typingPaper.printContent.Items[t],"Width",h/37.78*10)}}else if(3===n.direction){var u=(m-(p-e.pageY))/37.78*10,d=(c+(p-e.pageY))/37.78*10;d>5&&(n.typingPaper.printContent.Items[t].Top=u,n.$set(n.typingPaper.printContent.Items[t],"Height",d))}else if(4===n.direction){var A=String(p-e.pageY);if(Number(A)<0){var y=c+Number(A.slice(1));n.$set(n.typingPaper.printContent.Items[t],"Height",y/37.78*10)}else{if(n.typingPaper.printContent.Items[t].Height<5)return;var f=c-Number(A);n.$set(n.typingPaper.printContent.Items[t],"Height",f/37.78*10)}}n.gao=Number(n.typingPaper.printContent.Items[t].Height).toFixed(2),n.kuan=Number(n.typingPaper.printContent.Items[t].Width).toFixed(2)},s.onmouseup=function(t){n.estimate=!1,s.onmousemove=null,s.onmouseup=null};else{var A=i.clientX-a.offsetLeft,y=i.clientY-a.offsetTop;s.onmousemove=function(e){var i=e.clientX-A,s=e.clientY-y;n.typingPaper.printContent.Items[t].Top=s/37.78*10,n.typingPaper.printContent.Items[t].Left=i/37.78*10,n.top=(s/37.78*10).toFixed(2),n.left=(i/37.78*10).toFixed(2)},s.onmouseup=function(t){s.onmousemove=null,s.onmouseup=null}}},TakeMeNow:function(t){var e=this;if("{}"!==r()(this.TheCurrentInformation)){var n=function(){var n=t||window.event;e.$refs.div;e.typingPaper.printContent.Items.push(e.TheCurrentInformation),e.typingPaper.printContent.Items.forEach(function(t,i){t.id===e.TheCurrentInformation.id&&(e.isWeb?(t.Top=n.layerY/37.78*10,t.Left=n.layerX/37.78*10):(t.Top=n.offsetY/37.78*10,t.Left=n.offsetX/37.78*10))}),e.TheCurrentInformation={};for(var i=0;i<e.$refs.li.length;i++)e.$refs.li[i].setAttribute("class","");e.$nextTick(function(){e.bindingEvent()})};if(0===this.TheCurrentInformation.Type)return this.dblclick(this.TheCurrentInformation),void n();n()}}}},p={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"total index"},[i("p",{staticClass:"head"},[t._v("打印模板>")]),t._v(" "),i("ul",{staticClass:"ul"},[i("li",{staticStyle:{background:"#5A738A",color:"#fff"},on:{click:t.newTemplate}},[t._v("新建")]),t._v(" "),i("li",{on:{click:t.preserve}},[t._v("保存")]),t._v(" "),i("li",{on:{click:t.sanchu}},[t._v("删除")]),t._v(" "),i("li",{attrs:{id:"li"}},[t._v("操作\n "),i("ul",{staticClass:"ul",staticStyle:{"z-index":"99999"}},[i("li",{on:{click:t.SaveNot}},[t._v("另存为")]),t._v(" "),i("li",{on:{click:t.rechristen}},[t._v("重命名")]),t._v(" "),i("li",{on:{click:t.empty}},[t._v("清空")])])])]),t._v(" "),i("ul",{staticClass:"skip"},[i("li",{class:{effect:t.i},on:{click:function(e){return t.switchover(!0)}}},[t._v("开始")]),t._v(" "),i("li",{class:{effect:!t.i},on:{click:function(e){return t.switchover(!1)}}},[t._v("页面布局")])]),t._v(" "),t.show?i("div",{staticClass:"box"},[i("div",[i("p",{staticClass:"p"},[i("span",{staticStyle:{"font-size":"0.18rem"}},[t._v("字体:")]),t._v(" "),i("el-select",{attrs:{placeholder:"请选择"},on:{change:t.SelectTheFont},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.options,function(t){return i("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1),t._v(" "),i("el-select",{staticClass:"typeface",attrs:{placeholder:"请选择"},on:{change:t.fontSize},model:{value:t.value1,callback:function(e){t.value1=e},expression:"value1"}},t._l(t.typeface,function(t){return i("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1)],1),t._v(" "),i("p",{staticClass:"img imgspan"},[i("span",{class:{active:t.a},on:{click:function(e){return t.pattern("bold","fontWeight")}}},[i("img",{attrs:{src:n("iVIb"),alt:""}})]),t._v(" "),i("span",{class:{active:t.b},on:{click:function(e){return t.pattern("italic","fontStyle")}}},[i("img",{attrs:{src:n("NHiS"),alt:""}})]),t._v(" "),i("span",{class:{active:t.c},on:{click:function(e){return t.pattern("underline","textDecoration")}}},[i("img",{attrs:{src:n("OE6N"),alt:""}})])]),t._v(" "),i("p",{staticClass:"img imgspan"},[i("span",{class:{active:1==t.lef},on:{click:function(e){return t.FontPosition(1)}}},[i("img",{attrs:{src:n("zTD+")}})]),t._v(" "),i("span",{class:{active:2==t.lef},on:{click:function(e){return t.FontPosition(2)}}},[i("img",{attrs:{src:n("khod")}})]),t._v(" "),i("span",{class:{active:4==t.lef},on:{click:function(e){return t.FontPosition(4)}}},[i("img",{attrs:{src:n("xqqq")}})])]),t._v(" "),i("div",{staticClass:"img jianju"},[i("span",[t._v("位置:")]),t._v(" "),i("p",[i("span",[t._v("左")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.left,expression:"left"}],attrs:{onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )",type:"number"},domProps:{value:t.left},on:{input:[function(e){e.target.composing||(t.left=e.target.value)},function(e){return t.adjust(0)}]}})]),t._v(" "),i("p",[i("span",[t._v("上")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.top,expression:"top"}],attrs:{onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )",type:"number"},domProps:{value:t.top},on:{input:[function(e){e.target.composing||(t.top=e.target.value)},function(e){return t.adjust(1)}]}})]),t._v(" "),i("p",[i("span",[t._v("宽")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.kuan,expression:"kuan"}],attrs:{onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )",type:"number"},domProps:{value:t.kuan},on:{input:[function(e){e.target.composing||(t.kuan=e.target.value)},function(e){return t.adjust(2)}]}})]),t._v(" "),i("p",[i("span",[t._v("高")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.gao,expression:"gao"}],attrs:{onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )",type:"number"},domProps:{value:t.gao},on:{input:[function(e){e.target.composing||(t.gao=e.target.value)},function(e){return t.adjust(3)}]}})])])])]):t._e(),t._v(" "),t.show?t._e():i("div",{staticClass:"box zhongpai"},[i("div",[i("span",{staticClass:"biaot"},[t._v("打印边距:")]),t._v(" "),i("div",[i("p",[i("span",{staticClass:"span"},[t._v("上")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.typingPaper.printContent.MarginTop,expression:"typingPaper.printContent.MarginTop"}],attrs:{onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )",type:"number"},domProps:{value:t.typingPaper.printContent.MarginTop},on:{input:function(e){e.target.composing||t.$set(t.typingPaper.printContent,"MarginTop",e.target.value)}}}),i("span",{staticClass:"span"},[t._v("右")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.typingPaper.printContent.MarginRight,expression:"typingPaper.printContent.MarginRight"}],attrs:{type:"number",onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )"},domProps:{value:t.typingPaper.printContent.MarginRight},on:{input:function(e){e.target.composing||t.$set(t.typingPaper.printContent,"MarginRight",e.target.value)}}})]),t._v(" "),i("p",[i("span",{staticClass:"span"},[t._v("下")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.typingPaper.printContent.MarginBottom,expression:"typingPaper.printContent.MarginBottom"}],attrs:{onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )",type:"number"},domProps:{value:t.typingPaper.printContent.MarginBottom},on:{input:function(e){e.target.composing||t.$set(t.typingPaper.printContent,"MarginBottom",e.target.value)}}}),i("span",{staticClass:"span"},[t._v("左")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.typingPaper.printContent.MarginLeft,expression:"typingPaper.printContent.MarginLeft"}],attrs:{onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )",type:"number"},domProps:{value:t.typingPaper.printContent.MarginLeft},on:{input:function(e){e.target.composing||t.$set(t.typingPaper.printContent,"MarginLeft",e.target.value)}}})])]),t._v(" "),i("span",{staticClass:"biaot"},[t._v("纸张方向:")]),t._v(" "),i("div",[i("p",[i("el-radio",{attrs:{label:90},model:{value:t.typingPaper.printContent.PrintAngle,callback:function(e){t.$set(t.typingPaper.printContent,"PrintAngle",e)},expression:"typingPaper.printContent.PrintAngle"}},[t._v("横向")])],1),t._v(" "),i("p",[i("el-radio",{attrs:{label:0},model:{value:t.typingPaper.printContent.PrintAngle,callback:function(e){t.$set(t.typingPaper.printContent,"PrintAngle",e)},expression:"typingPaper.printContent.PrintAngle"}},[t._v("纵向")])],1)]),t._v(" "),i("span",{staticClass:"biaot"},[t._v("纸张大小:")]),t._v(" "),i("div",[i("p",[i("span",{staticClass:"span"},[t._v("纸宽")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.typingPaper.printContent.PageWidth,expression:"typingPaper.printContent.PageWidth"}],attrs:{type:"number",onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )"},domProps:{value:t.typingPaper.printContent.PageWidth},on:{input:function(e){e.target.composing||t.$set(t.typingPaper.printContent,"PageWidth",e.target.value)}}})]),t._v(" "),i("p",[i("span",{staticClass:"span"},[t._v("纸高")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.typingPaper.printContent.PageHeight,expression:"typingPaper.printContent.PageHeight"}],attrs:{type:"number",onkeypress:"return( /[\\d]/.test(String.fromCharCode(event.keyCode) ) )"},domProps:{value:t.typingPaper.printContent.PageHeight},on:{input:function(e){e.target.composing||t.$set(t.typingPaper.printContent,"PageHeight",e.target.value)}}})])])])]),t._v(" "),i("div",{staticClass:"yuanjian"},[i("div",{staticClass:"divs"},[i("ul",t._l(t.aTextArea,function(e,s){return i("li",{key:s,ref:"li",refInFor:!0,staticStyle:{cursor:"pointer",display:"flex"},on:{click:function(n){return t.gain(e,s)}}},[i("img",{key:s,staticClass:"imgs",attrs:{src:n("H9Sq")}}),t._v(" "),i("span",[t._v(t._s(e.compentName))])])}),0)]),t._v(" "),i("div",{staticClass:"base"},[i("el-select",{attrs:{placeholder:"请选择"},on:{change:t.select},model:{value:t.stencil,callback:function(e){t.stencil=e},expression:"stencil"}},t._l(t.PrintHeTemplate,function(t){return i("el-option",{key:t.printId,attrs:{label:t.printName,value:t.printId}})}),1),t._v(" "),t.BooleanValue?i("div",{ref:"div",staticClass:"lineChart",style:{width:t.typingPaper.printContent.PageWidth/10+"cm",height:t.typingPaper.printContent.PageHeight/10+"cm"}},[i("div",{on:{click:t.TakeMeNow}},t._l(t.typingPaper.printContent.Items,function(e,s){return i("div",{key:s,ref:"divs",refInFor:!0,staticClass:"ys",style:{height:e.Height/10+"cm",left:e.Left/10+"cm",textAlign:1===e.TextAlign?"left":2===e.TextAlign?"center":"right",top:e.Top/10+"cm",width:e.Width/10+"cm",fontFamily:e.fontFamily,fontSize:e.fontSize,fontWeight:e.fontWeight||"normal",fontStyle:e.fontStyle||"normal",textDecoration:e.textDecoration||"none"},attrs:{tabIndex:"-1"},on:{dblclick:function(n){return t.dblclick(e,s)},mousedown:function(n){return n.stopPropagation(),t.drag(s,e)},mousemove:function(e){return t.huaguo(s)}}},[2!==e.Type?i("span",{domProps:{innerHTML:t._s(e.FormatValue)}}):t._e(),t._v(" "),2===e.Type?i("div",{style:{position:"absolute",backgroundImage:"url("+n("o6h9")+")",backgroundPosition:"top center",width:e.Width/10+"cm",height:e.Height/10+"cm",backgroundSize:"100% 100%"}}):t._e()])}),0),t._v(" "),i("ul",{staticClass:"ruler1"},t._l(t.CanvasScaleFirst,function(e,n){return i("li",{key:n},[i("span",[i("a",[t._v(t._s(e.index))])]),t._v(" "),i("b")])}),0),t._v(" "),i("ul",{staticClass:"ruler2"},t._l(t.VerticalScale,function(e,n){return i("li",{key:n},[i("span",[i("a",[t._v(t._s(e.index))])]),t._v(" "),i("b")])}),0)]):t._e()],1)]),t._v(" "),t.BouncedChanges?i("div",{staticClass:"popUp"},[i("p",{staticStyle:{background:"#5f7189",width:"100%",height:"0.5rem","line-height":"0.5rem",color:"#fff","padding-left":"0.1rem","box-sizing":"border-box","font-weight":"600","font-size":"0.17rem"}},[t._v(t._s(t.headline))]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ChangeTheValue,expression:"ChangeTheValue"}],domProps:{value:t.ChangeTheValue},on:{input:function(e){e.target.composing||(t.ChangeTheValue=e.target.value)}}}),t._v(" "),i("p",[i("button",{staticClass:"button",on:{click:t.conserve}},[t._v("\n 确定\n ")]),t._v(" "),i("button",{staticClass:"button",on:{click:function(e){t.BouncedChanges=!1}}},[t._v("\n 关闭\n ")])])]):t._e()])},staticRenderFns:[]};var l=n("C7Lr")(o,p,!1,function(t){n("xW2i")},"data-v-5bdf8084",null);e.default=l.exports},iVIb:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA25pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpEMTQxNzhCQ0M5NkFFNzExODA4QUU3MEMyODgwMzA3NCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyQ0FDRTU1MDkyMDcxMUU3ODRBRUUyRDVDNEYzODUwMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyQ0FDRTU0RjkyMDcxMUU3ODRBRUUyRDVDNEYzODUwMSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNyAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjQ2YWQ5Zi02OWJmLTIyNGEtOGMxOC0yZGExM2M0NTk0MGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE0MTc4QkNDOTZBRTcxMTgwOEFFNzBDMjg4MDMwNzQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz58Q1eAAAAALVBMVEVVVVWAgICqqqrU1NS0tLRgYGDf39+goKD09PS/v79qamqKioqVlZXq6ur///8eZea/AAAAD3RSTlP//////////////////wDU3JihAAAAVElEQVR42nTPSwrAMAgE0InGfPrx/setLVRNoQMu3sJBoUtgM8nSnAV3alC1QjIVSBwH+rK7jSBRgZx5d3+qnR3kZCaAc5XMt6qxJW7+vPDPS4ABAAVACPiwhkjKAAAAAElFTkSuQmCC"},khod:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA25pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpEMTQxNzhCQ0M5NkFFNzExODA4QUU3MEMyODgwMzA3NCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpBOEE5NEMzOTkyMDcxMUU3QkIyNUY3MTEzMzk5RTI5OSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpBOEE5NEMzODkyMDcxMUU3QkIyNUY3MTEzMzk5RTI5OSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNyAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjQ2YWQ5Zi02OWJmLTIyNGEtOGMxOC0yZGExM2M0NTk0MGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE0MTc4QkNDOTZBRTcxMTgwOEFFNzBDMjg4MDMwNzQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6w6y4aAAAAXVBMVEVVVVX09PRZWVnX19e7u7uurq7t7e3Gxsa6urr19fXs7OzHx8f29vbR0dFqamrZ2dnu7u7g4OCysrKcnJy+vr7KysqYmJhWVlb7+/tiYmLCwsJbW1v8/Pzb29v///+fvc4zAAAAH3RSTlP///////////////////////////////////////8AzRl2EAAAAFhJREFUeNpszVcOgCAQRdFno9p7Zf/LVCLqEDkJHy8ZcmE8uF4+wercnNvMKtykxzKisMGzivQlevxDplaMMSWf7v1tdHMfNOdcN4HukRAVyphYQqHPKcAAUoIP9VqHgSMAAAAASUVORK5CYII="},o6h9:function(t,e,n){t.exports=n.p+"img/QRcode.cae4699.jpg"},xW2i:function(t,e){},xqqq:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA25pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpEMTQxNzhCQ0M5NkFFNzExODA4QUU3MEMyODgwMzA3NCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyNjVEM0E1NTkyMDYxMUU3ODczQ0JCM0EwOUM1OTJBMiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyNjVEM0E1NDkyMDYxMUU3ODczQ0JCM0EwOUM1OTJBMiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNyAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjQ2YWQ5Zi02OWJmLTIyNGEtOGMxOC0yZGExM2M0NTk0MGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE0MTc4QkNDOTZBRTcxMTgwOEFFNzBDMjg4MDMwNzQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz651S4ZAAAAS1BMVEVaWlrf39/Z2dno6Ojc3Nzq6uri4uJiYmJjY2Pp6enY2Njn5+fs7Ozg4ODb29vh4eHk5OTy8vJhYWHe3t6WlpZqampgYGCampr///9fVuTTAAAAGXRSTlP///////////////////////////////8AATQKtwAAAFFJREFUeNpszVcOgDAMA9Cwm042uf9JUYhKBO37s2TLQB9ABpQBirbNbIR/mS2D8BJ33TLsxVZs0XWZw+I3NCpUf30aH7PE65zYelTLr1uAAQCSuwzV6j5cOAAAAABJRU5ErkJggg=="},"zTD+":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA25pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpEMTQxNzhCQ0M5NkFFNzExODA4QUU3MEMyODgwMzA3NCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5NTAxQkFCOTkyMDcxMUU3OEM1QThENkRDQTFGRTZEOSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5NTAxQkFCODkyMDcxMUU3OEM1QThENkRDQTFGRTZEOSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNyAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjQ2YWQ5Zi02OWJmLTIyNGEtOGMxOC0yZGExM2M0NTk0MGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDE0MTc4QkNDOTZBRTcxMTgwOEFFNzBDMjg4MDMwNzQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5vDH2yAAAAUVBMVEVaWlrf39/Z2dno6Ojq6uri4uJiYmLc3NxjY2Pb29vp6enn5+fg4ODY2Njm5ubd3d3r6+thYWGMjIzs7Ozk5OTh4eGRkZFgYGDx8fFqamr///9pIUYSAAAAG3RSTlP//////////////////////////////////wAnNAs1AAAAVElEQVR42mzNWQ6AIAxF0SoOlMEB5+5/oQYbQgqev5v0pUACaMg0Afo28UhQHG8du+U2cM44RjhxFltjVWJN9dc1mau2e/85Fs5nHaLr/H0k8xVgAPAtDdov/YAXAAAAAElFTkSuQmCC"}});
\ No newline at end of file
webpackJsonp([73],{Qxbs:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=o("aA9S"),i=o.n(s),a=o("RwQt"),r=o("5XGy"),n=o("KPn7"),p={components:{breadNav:a.default,page:r.a,config:n.a},data:function(){return{configTan:!1,popShow:!1,newBtn:!0,configTitle:"是否删除该设备",tableList:[],pageSize:15,pageIndex:1,pageTotal:0,projectName:"",projectDepositHour:"",projectDepositHourMoney:"",projectDepositLostMoney:"",projectDepositMoney:"",zrId:"",search:"",deposits:[],projectId:"",reviseData:{}}},methods:{addSingleRule:function(){this.deposits.push({depositNumber:"",depositMoney:""})},reduceSingleRule:function(t){this.deposits.splice(t,1)},sureAdd:function(){var t=this;if(this.projectName){var e={zrId:this.zrId,projectName:this.projectName,projectDepositHour:this.projectDepositHour,projectDepositHourMoney:this.projectDepositHourMoney,projectDepositLostMoney:this.projectDepositLostMoney,projectDepositMoney:this.projectDepositMoney};this.axios.post(this.getProductUrl("/project/save"),e).then(function(e){"00"==e.data.code?(t.$message.success("新增成功"),t.popShow=!1,t.getList()):t.$message.error(e.data.message)})}else this.$message.error("请添加验证点名称")},cancelAdd:function(){this.popShow=!1},clickAdd:function(){this.popShow=!0,this.newBtn=!0,this.projectName="",this.projectDepositHour="",this.projectDepositHourMoney="",this.projectDepositLostMoney="",this.projectDepositMoney="",this.deposits=[]},clickRevise:function(t){var e=this;this.popShow=!0,this.newBtn=!1;var o={projectId:t};this.axios.post(this.getProductUrl("/project/load"),o).then(function(t){"00"==t.data.code?(e.projectName=t.data.data.projectName,e.projectDepositHour=t.data.data.projectDepositHour,e.projectDepositHourMoney=t.data.data.projectDepositHourMoney,e.projectDepositLostMoney=t.data.data.projectDepositLostMoney,e.projectDepositMoney=t.data.data.projectDepositMoney,e.zrId=t.data.data.zrId,e.deposits=t.data.data.deposits,e.reviseData=t.data.data):e.$message.error(t.data.message)})},sureRevise:function(){var t=this;if(this.projectName){var e={zrId:this.zrId,projectName:this.projectName,projectDepositHour:this.projectDepositHour,projectDepositHourMoney:this.projectDepositHourMoney,projectDepositLostMoney:this.projectDepositLostMoney,deposits:this.deposits,projectDepositMoney:this.projectDepositMoney},o=i()(this.reviseData,e);this.axios.post(this.getProductUrl("/project/save"),o).then(function(e){"00"==e.data.code?(t.$message.success("修改成功"),t.popShow=!1,t.getList()):t.$message.error(e.data.message)})}else this.$message.error("请添加验证点名称")},getList:function(){var t=this,e={pageIndex:this.pageIndex,pageSize:this.pageSize,projectName:this.search};this.axios.post(this.getProductUrl("/project/query"),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.getList()},clickDele:function(t){this.configTan=!0,this.projectId=t},dele:function(){var t=this,e={projectId:this.projectId};this.axios.post(this.getProductUrl("project/remove"),e).then(function(e){"00"==e.data.code?(t.$message.success("删除成功"),t.configTan=!1,t.getList()):t.$message.error(e.data.message)})},hidePop:function(t){this.popShow=!1}},mounted:function(){this.getList()},activated:function(){"true"==this.$store.state.refurbish&&(this.projectName="",this.$store.dispatch("getRefurbish","false")),this.getList()}},c={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"bigBox"},[o("breadNav",[t._v("添加消费点")]),t._v(" "),o("div",{staticStyle:{"margin-top":"0.2rem"}},[o("a",{staticClass:"btn4",on:{click:function(e){return t.clickAdd()}}},[t._v(" 新增 ")])]),t._v(" "),o("div",{staticClass:"top"},[o("div",[t._v("\n 验证点名称\n "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],attrs:{placeholder:"",type:"text"},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}})]),t._v(" "),o("div",[o("a",{staticClass:"btn4",staticStyle:{"margin-left":"0.3rem"},on:{click:function(e){t.pageIndex=1,t.getList()}}},[t._v("查询")])])]),t._v(" "),o("table",{staticClass:"middle"},[t._m(0),t._v(" "),t._l(t.tableList,function(e,s){return o("tr",{key:e.projectId},[o("td",[t._v(t._s(e.projectName))]),t._v(" "),o("td",[t._v(t._s(e.zrId))]),t._v(" "),o("td",[t._v(t._s(e.projectDepositMoney))]),t._v(" "),o("td",[t._v(t._s(e.projectDepositHour))]),t._v(" "),o("td",[t._v(t._s(e.projectDepositHourMoney))]),t._v(" "),o("td",[t._v(t._s(e.projectDepositLostMoney))]),t._v(" "),o("td",[o("span",{on:{click:function(o){return t.clickRevise(e.projectId)}}},[t._v("修改")]),t._v(" "),o("span",{staticStyle:{color:"#ff0000"},on:{click:function(o){return t.clickDele(e.projectId)}}},[t._v("删除")])])])})],2),t._v(" "),o("page",{attrs:{pagesize:t.pageSize,total:t.pageTotal,whichpage:t.pageIndex},on:{page:t.paging}}),t._v(" "),o("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(" "),o("div",[o("a",{staticClass:"btnGray4",on:{click:function(e){return t.$router.go(-1)}}},[t._v("返回")])]),t._v(" "),o("div",{directives:[{name:"show",rawName:"v-show",value:t.popShow,expression:"popShow"}],staticClass:"pop",on:{click:function(e){return e.target!==e.currentTarget?null:t.hidePop(e)}}},[o("div",{staticClass:"discount"},[o("div",{staticClass:"close_pop",on:{click:t.hidePop}},[t._v("关闭")]),t._v(" "),o("div",{staticClass:"discountDiv"},[o("p",[o("span",[t._v(" 验证点名称 ")]),t._v(" "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.projectName,expression:"projectName"}],attrs:{type:"text"},domProps:{value:t.projectName},on:{input:function(e){e.target.composing||(t.projectName=e.target.value)}}}),t._v(" "),o("b",{staticStyle:{color:"#ff0000"}},[t._v("*")])]),t._v(" "),o("p",[o("span",[t._v(" 众仁科技ID ")]),t._v(" "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.zrId,expression:"zrId"}],attrs:{type:"text"},domProps:{value:t.zrId},on:{input:function(e){e.target.composing||(t.zrId=e.target.value)}}})]),t._v(" "),o("p",[o("span",[t._v(" 押金单价: ")]),t._v(" "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.projectDepositMoney,expression:"projectDepositMoney"}],attrs:{type:"number",min:"0"},domProps:{value:t.projectDepositMoney},on:{input:function(e){e.target.composing||(t.projectDepositMoney=e.target.value)}}}),t._v("元\n ")]),t._v(" "),o("p",[o("span",[t._v(" 押金时限 ")]),t._v(" "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.projectDepositHour,expression:"projectDepositHour"}],attrs:{type:"number"},domProps:{value:t.projectDepositHour},on:{input:function(e){e.target.composing||(t.projectDepositHour=e.target.value)}}}),t._v("小时\n ")]),t._v(" "),o("p",[o("span",[t._v(" 押金时扣 ")]),t._v(" "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.projectDepositHourMoney,expression:"projectDepositHourMoney"}],attrs:{type:"number"},domProps:{value:t.projectDepositHourMoney},on:{input:function(e){e.target.composing||(t.projectDepositHourMoney=e.target.value)}}}),t._v("元\n ")]),t._v(" "),o("p",[o("span",[t._v(" 丢失扣款 ")]),t._v(" "),o("input",{directives:[{name:"model",rawName:"v-model",value:t.projectDepositLostMoney,expression:"projectDepositLostMoney"}],attrs:{type:"number"},domProps:{value:t.projectDepositLostMoney},on:{input:function(e){e.target.composing||(t.projectDepositLostMoney=e.target.value)}}}),t._v("元\n ")])]),t._v(" "),o("p",{staticStyle:{"margin-top":"0.5rem"}},[t.newBtn?o("a",{staticClass:"btn4",on:{click:function(e){return t.sureAdd()}}},[t._v("\n 确定新增\n ")]):o("a",{staticClass:"btn4",on:{click:function(e){return t.sureRevise()}}},[t._v("\n 确定修改\n ")]),t._v(" "),o("a",{staticClass:"btnGray4",staticStyle:{"margin-left":"0.4rem"},on:{click:function(e){return t.cancelAdd()}}},[t._v("\n 取消\n ")])])])])],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("tr",[o("td",[t._v("验证点名称")]),t._v(" "),o("td",[t._v("众仁科技ID")]),t._v(" "),o("td",[t._v("押金单价")]),t._v(" "),o("td",[t._v("押金时限")]),t._v(" "),o("td",[t._v("押金时扣")]),t._v(" "),o("td",[t._v("丢失扣款")]),t._v(" "),o("td",[t._v("操作")])])}]};var d=o("C7Lr")(p,c,!1,function(t){o("iJwm")},"data-v-79d0f8ba",null);e.default=d.exports},iJwm:function(t,e){}});
\ No newline at end of file
webpackJsonp([74],{"jq/0":function(t,e){},zKdQ:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{position:"relative"}},[this._m(0),this._v(" "),e("ve-line",{attrs:{data:this.data,width:"100%",height:"300px",extend:this.$bigData_home.channellineEchartyear()}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{position:"absolute",right:"0px","margin-top":"-20px"}},[e("span",{staticStyle:{color:"#bbb"}},[this._v("单价:元")])])}]},s=a("C7Lr")({props:["data"]},n,!1,null,null,null).exports,i=a("0j0D"),o=a("ZotE"),c=a("wuLK"),r=a("jDIm"),h={components:{daydate:i.a,dates:o.a,monthdate:c.a,yearcharts:s,selectmore:r.a,selectmorem:r.a},data:function(){return this.chartSettings={dimension:["name","value"]},{total_travel:"0px",total_travels:"0px",travelheight:"0px",products:[],productsId:[],channels:[],channelsId:[],travels:[],travelsId:[],options:[],dayproduct:[],daychannel:[],height:"300px",monthproduct:[],monthchannel:[],travel:[],travelproduct:[],traveltotalpeople:0,traveltotalmoney:0,travelsdata:"",checkyear:[],pageTotal:"",startDate:"",endDate:"",merchant_name:"",subOrderType:"",yearData:[],travelNewtime:"",dayNewtime:[],monthNewtime:[],traveltime:!1,current:0,checkchannels:[],checktravels:[],navbar:["汇总数据","旅行社数据","日数据","月数据","年数据"],channelData:{columns:["name","value"],rows:[]},channelmoneyData:{columns:["name","value"],rows:[]},monthchannelpieDatacount:{columns:["name","value"],rows:[]},monthchannelpieDatamoney:{columns:["name","value"],rows:[]},travelData:{columns:["name","value"],rows:[]},daychannelpieDatacount:{columns:["name","value"],rows:[]},daychannelpieDatamoney:{columns:["name","value"],rows:[]},dayproductallmoney:{columns:[],rows:[]},dayproductallcount:{columns:[],rows:[]},monthproductallmoney:{columns:[],rows:[]},monthproductallcount:{columns:[],rows:[]},TableExportObject:{config:{title:"渠道综合报表",subTitle:"2019 - 1 - 15 至2019 - 9 - 9",rowHeight:50,columns:[{name:"id",title:"id",width:200,field:"order"},{name:"产品",title:"产品",width:200,field:"channel"},{name:"游客",title:"游客: 人",width:200,field:"people"},{name:"收入",title:"收入:元",width:200,field:"get"}]},cond:{}},queryObject:{companyId:this.$store.state.companyId,pageSize:50,search:"",beginCreateDate:"",finishCreateDate:"",beginPlayDateFrom:"",finishPlayDateFrom:""}}},methods:{getyearmoney:function(){var t=this,e=this.$commonJs.today().substr(0,5)+"12-31";0==this.checkyear.length&&this.$refs.all.changeall();var a={calcSyncKey:"channel_money_year",condition:{companyId:this.$store.state.companyId,createDateFrom:["2016-01-01"],createDateTo:[e]}};this.$api.gethome_total(this,a).then(function(e){if("00"==e.code){t.yearData=[];var a=e.data.rows,n=1*t.$commonJs.today().substr(0,4)+1,s=0;t.checkyear.sort(function(t,e){return t-e}).forEach(function(e){t.yearData[s]={},t.yearData[s].columns=["time"],t.yearData[s].rows=[],a.forEach(function(e){t.yearData[s].columns.push(e.channelName)});for(var i=function(n,i){t.yearData[s].rows[i]={},t.yearData[s].rows[i].time=n+"",a.forEach(function(a){1*e+1==n&&(t.yearData[s].rows[i-1][a.channelName]=a[n-1+"-BuyMoney"],t.yearData[s].rows[i][a.channelName]=a[n+"-BuyMoney"])})},o=2016,c=0;o<=n;o++,c++)i(o,c);s++}),t.$forceUpdate()}else t.$message.error(e.message)})},getmonthcount:function(){var t=this.monthNewtime,e=this.monthchannelpieDatacount,a=this.monthproductallcount;this.getday("channel_money_month",e,a,t,12,2)},getmonthmoney:function(){var t=this.monthNewtime,e=this.monthchannelpieDatamoney,a=this.monthproductallmoney;this.getday("channel_month",e,a,t,12,1)},getdaymoney:function(){var t=this.dayNewtime,e=this.daychannelpieDatamoney,a=this.dayproductallmoney;this.getday("channel_money_day",e,a,t,31,2)},getdaycount:function(){var t=this.dayNewtime,e=this.daychannelpieDatacount,a=this.dayproductallcount;this.getday("channel_day",e,a,t,31,1)},daydata:function(t,e,a,n,s){e.rows=[],a.rows=[],a.columns=["day"];var i=0;t.forEach(function(t){e.rows[i]={},null==t.channelName?e.rows[i].name="未知":e.rows[i].name=t.channelName,e.rows[i].value=1==s?t.buyNum:t.buyMoney,a.columns.push(t.channelName),i++});for(var o=function(e){a.rows[e]={},31==n?a.rows[e].day=e+1+"":12==n&&(a.rows[e].day=e+1+""),t.forEach(function(t){a.rows[e][t.channelName]=1==s?t[e+1+"-BuyNum"]:t[e+1+"-BuyMoney"]})},c=0;c<n;c++)o(c);this.$forceUpdate()},getday:function(t,e,a,n,s,i){var o=this,c=[],r=[],h=[],l=[];h.push(n[0]),l.push(n[1]),31==s?(0==this.daychannel.length?c=this.channelsId:this.daychannel.forEach(function(t){c.push(o.channelsId[o.channels.indexOf(t)])}),0==this.dayproduct.length?r=this.productsId:this.dayproduct.forEach(function(t){r.push(o.productsId[o.products.indexOf(t)])})):12==s&&(0==this.monthchannel.length?c=this.channelsId:this.monthchannel.forEach(function(t){c.push(o.channelsId[o.channels.indexOf(t)])}),0==this.monthproduct.length?r=this.productsId:this.monthproduct.forEach(function(t){r.push(o.productsId[o.products.indexOf(t)])}));var d={calcSyncKey:t,condition:{companyId:this.$store.state.companyId,createDateFrom:h,createDateTo:l,productId:r,channelId:c}};this.$api.gethome_total(this,d).then(function(t){if("00"==t.code){12==s&&t.data.rows.length>=10&&(o.height=30*t.data.rows.length+"px");var n=t.data.rows;o.daydata(n,e,a,s,i)}else o.$message.error(t.message)})},traveldata:function(){var t=this,e=[],a=[];this.travel.forEach(function(a){e.push(t.travelsId[t.travels.indexOf(a)])}),this.travelproduct.forEach(function(e){a.push(t.productsId[t.products.indexOf(e)])});var n={calcSyncKey:"channel_group_day",condition:{companyId:this.$store.state.companyId,createDateFrom:this.travelNewtime[0],createDateTo:this.travelNewtime[1],productId:a,channelId:e}};this.$api.gethome_total(this,n).then(function(e){"00"==e.code?(t.travelsdata=e.data.rows,e.data.rows.forEach(function(e){t.traveltotalpeople+=e.buyNum,t.traveltotalmoney+=e.buyMoney})):t.$message.error(e.message)})},get_travel_total:function(){var t=this,e={calcSyncKey:"channel_group_total",condition:{companyId:this.$store.state.companyId}};this.$api.gethome_total(this,e).then(function(e){if("00"==e.code){var a=e.data.rows;t.travelheight=15+45*a.length+"px";var n=t.travelData,s=a.length-1;n.rows=[],a.forEach(function(e){t.travels.push(e.channelName),t.travelsId.push(e.channelId),n.rows[s]={},n.rows[s].name=e.channelName,n.rows[s].value=e.buyNum,s--})}else t.$message.error(e.message)})},total_data:function(t,e){var a=this;t.rows=[];var n=e.length-1;e.forEach(function(e){t.rows[n]={},null==e.channelName?t.rows[n].name="未知":t.rows[n].name=e.channelName,t==a.channelData?t.rows[n].value=e.buyNum:t.rows[n].value=e.buyMoney,n--})},get_channelding_money:function(){var t=this,e={calcSyncKey:"channel_product_money_total",condition:{companyId:this.$store.state.companyId}};this.$api.gethome_total(this,e).then(function(e){if("00"==e.code){var a=e.data.rows;t.total_travel=35*a.length+"px",t.total_travels=250+30*a.length+"px",t.total_data(t.channelmoneyData,a)}else t.$message.error(e.message)})},get_channelding_total:function(){var t=this,e={calcSyncKey:"channel_product_total",condition:{companyId:this.$store.state.companyId}};this.$api.gethome_total(this,e).then(function(e){if("00"==e.code){var a=e.data.rows;a.forEach(function(e){t.channels.push(e.channelName),t.channelsId.push(e.channelId)}),t.total_data(t.channelData,a)}else t.$message.error(e.message)})},getProdect:function(){var t=this;this.axios.post(this.getProductUrl("product/query"),{companyId:this.$store.state.companyId,pageIndex:1,pageSize:200}).then(function(e){"00"==e.code?e.data.data.list.forEach(function(e){t.products.push(e.productName),t.productsId.push(e.productId)}):t.$message.error(e.message)})},changeNavbar:function(t){this.current=t},changeTravel:function(){this.traveltime=!this.traveltime},getoldtime:function(t){this.travelNewtime=t},selectdayproduct:function(t){this.dayproduct=t},selectdaychannel:function(t){this.daychannel=t},daytimeselect:function(t){this.dayNewtime=t},selectmonthproduct:function(t){this.monthproduct=t},selectmonthchannel:function(t){this.monthchannel=t},monthtimeselect:function(t){t&&(this.monthNewtime[0]=t[0]+"-01",this.monthNewtime[1]=t[1]+"-"+this.$commonJs.testday(t[1]))},selecttravelproduct:function(t){this.travelproduct=t},selecttravel:function(t){this.travel=t},selectyear:function(t){this.checkyear=t},getforyear:function(){for(var t=this.$commonJs.today().substr(0,4),e=2016,a=0;e<=t;e++,a++)this.options[a]=e;var n=this.$commonJs.today().substr(0,8)+"01",s=this.$commonJs.today().substr(0,5);this.dayNewtime.push(n),this.dayNewtime.push(this.$commonJs.today()),this.monthNewtime.push(s+"01-01"),this.monthNewtime.push(this.$commonJs.today())},daochu:function(){if(this.TableExportObject.cond=this.queryObject,this.TableExportObject.config.subTitle=this.queryObject.finishCreateDate+this.queryObject.beginCreateDate||this.queryObject.finishPlayDateFrom+this.queryObject.beginPlayDateFrom||"全部统计",-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.TableExportObject.config.columns=this.columns,this.axios({method:"post",responseType:"blob",url:this.getReportUrl("/report/exportChannel"),data:this.TableExportObject}).then(function(t){var e=new Blob([t.data],{type:type}),a=document.createElement("a");a.download="统计.xlsx",a.href=URL.createObjectURL(e),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)})},chudaymonth:function(){this.getdaycount(),this.getdaymoney(),this.getmonthcount(),this.getmonthmoney()}},mounted:function(){this.getProdect(),this.get_travel_total(),this.get_channelding_money(),this.get_channelding_total(),this.$forceUpdate(),this.chudaymonth()},created:function(){this.getforyear()}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bigBox"},[t._m(0),t._v(" "),a("div",{staticClass:"nav"},[a("ul",t._l(t.navbar,function(e,n){return a("li",{key:n,class:{focus:n==t.current},on:{click:function(e){return t.changeNavbar(n)}}},[t._v(t._s(e))])}),0)]),t._v(" "),0==t.current?a("div",[a("div",{staticClass:"channelone"},[a("div",{staticClass:"onetotalzhu"},[t._m(1),t._v(" "),a("div",[a("ve-bar",{attrs:{data:t.channelData,width:"100%",height:t.total_travel,settings:t.chartSettings,extend:this.$bigData_home.channelzhuEchartrow()}})],1)]),t._v(" "),a("div",{staticClass:"onetotalzhu"},[t._m(2),t._v(" "),a("div",[a("ve-pie",{attrs:{data:t.channelData,widht:"100%",extend:this.$bigData_home.channelpieEchart(),height:t.total_travels}})],1)])]),t._v(" "),a("div",{staticClass:"channelone",staticStyle:{"margin-top":"30px"}},[a("div",{staticClass:"onetotalzhu"},[t._m(3),t._v(" "),a("div",[a("ve-bar",{attrs:{data:t.channelmoneyData,width:"100%",height:t.total_travel,settings:t.chartSettings,extend:this.$bigData_home.channelzhuEchartrowjing()}})],1)]),t._v(" "),a("div",{staticClass:"onetotalzhu"},[t._m(4),t._v(" "),a("div",{staticStyle:{"margin-top":"10px"}},[a("ve-pie",{attrs:{data:t.channelmoneyData,width:"100%",extend:this.$bigData_home.channelpieEchart(),height:t.total_travels}})],1)])])]):1==t.current?a("div",[a("div",{staticClass:"travel"},[t._m(5),t._v(" "),a("div",[a("div",[a("table",{staticStyle:{height:"100%"}},[t._m(6),t._v(" "),t._l(t.travelData.rows,function(e,n){return a("tr",{key:n},[a("td",[t._v(t._s(e.name))]),t._v(" "),a("td",[t._v(t._s(t.$commonJs.zc_three(e.value)||0))])])})],2)]),t._v(" "),a("div",[a("ve-bar",{attrs:{data:t.travelData,width:"100%",height:t.travelheight,settings:t.chartSettings,extend:this.$bigData_home.travelzhuEchartrow()}})],1)])]),t._v(" "),a("p",{staticClass:"biganniu",on:{click:t.changeTravel}},[t._v("旅行社报表")]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.traveltime,expression:"traveltime"}]},[a("div",{staticClass:"travels"},[a("span",[t._v("日期:")]),t._v(" "),a("dates",{on:{changeDate:t.getoldtime}}),t._v(" "),a("span",{staticStyle:{"margin-left":"10px"}},[t._v("产品:")]),t._v(" "),a("selectmore",{attrs:{options:t.products},on:{select:t.selecttravelproduct}}),t._v(" "),a("span",{staticStyle:{"margin-left":"10px"}},[t._v("旅行社:")]),t._v(" "),a("selectmore",{attrs:{options:t.travels},on:{select:t.selecttravel}}),t._v(" "),a("span",{staticClass:"btn",staticStyle:{"margin-left":"10px"},on:{click:t.traveldata}},[t._v("生成")])],1),t._v(" "),a("div",{staticClass:"biaoheader"},[a("div",[a("span",[t._v(t._s(t.travelNewtime[0]))]),t._v(" --\n\t\t\t\t\t\t"),a("span",[t._v(t._s(t.travelNewtime[1]))])]),t._v(" "),a("span",{staticClass:"title"},[t._v("\n\t\t\t\t\t\t旅行社报表\n\t\t\t\t\t")]),t._v(" "),a("div",[a("span",[t._v("游客总量:")]),t._v(" "),a("span",[t._v(t._s(t.traveltotalpeople)+" 人   ")]),t._v(" "),a("span",[t._v(" 金额汇总:")]),t._v(" "),a("span",[t._v(t._s(t.traveltotalmoney)+" 元")])])]),t._v(" "),a("table",{staticClass:"tabletwo",staticStyle:{height:"100%"}},[t._m(7),t._v(" "),t._l(t.travelsdata,function(e,n){return a("tr",{key:n},[a("td",[t._v(t._s(e.channelName))]),t._v(" "),a("td",[t._v(t._s(e.productName))]),t._v(" "),a("td",[t._v(t._s(e.buyNum))]),t._v(" "),a("td",[t._v(t._s(e.buyCount))]),t._v(" "),a("td",[t._v(t._s(t.$commonJs.zc_three(e.buyMoney)))])])})],2)])]):2==t.current?a("div",[a("div",{staticClass:"daychannel"},[a("span",[t._v("日期:")]),t._v(" "),a("daydate",{on:{changeDate:t.daytimeselect}}),t._v(" "),a("span",[t._v("产品:")]),t._v(" "),a("selectmore",{attrs:{options:t.products},on:{select:t.selectdayproduct}}),t._v(" "),a("span",[t._v("渠道:")]),t._v(" "),a("selectmore",{attrs:{options:t.channels},on:{select:t.selectdaychannel}}),t._v(" "),a("span",{staticClass:"btn",on:{click:function(e){t.getdaycount(),t.getdaymoney()}}},[t._v("生成")])],1),t._v(" "),this.daychannelpieDatacount.rows.length?a("div",{staticClass:"daytubiao"},[a("div",[a("div",{staticClass:"tubiaoone"},[t._m(8),t._v(" "),a("ve-pie",{staticStyle:{"margin-top":"10px"},attrs:{data:t.daychannelpieDatacount,extend:this.$bigData_home.channeldaypieEchart(),width:"100%",height:"300px"}}),t._v(" "),a("span",{staticClass:"center"},[t._v(t._s(t.dayNewtime[0])+" -- "+t._s(t.dayNewtime[1].substr(-2))+"(张)")])],1),t._v(" "),a("div",{staticStyle:{width:"60%"}},[t._m(9),t._v(" "),a("ve-line",{staticStyle:{"margin-top":"10px"},attrs:{data:t.dayproductallcount,extend:this.$bigData_home.channellineEchart(),width:"100%",height:"300px"}})],1)]),t._v(" "),a("div",{staticStyle:{"margin-top":"50px"}},[a("div",{staticClass:"tubiaoone"},[t._m(10),t._v(" "),a("ve-pie",{staticStyle:{"margin-top":"10px"},attrs:{data:t.daychannelpieDatamoney,extend:this.$bigData_home.channeldaypieEchart(),width:"100%",height:"300px"}}),t._v(" "),a("span",{staticClass:"center"},[t._v(t._s(t.dayNewtime[0])+" -- "+t._s(t.dayNewtime[1].substr(-2))+"(元)")])],1),t._v(" "),a("div",{staticStyle:{width:"60%"}},[t._m(11),t._v(" "),a("ve-line",{staticStyle:{"margin-top":"10px"},attrs:{data:t.dayproductallmoney,extend:this.$bigData_home.channellineEchart(),width:"100%",height:"300px"}})],1)])]):t._e()]):t._e(),t._v(" "),3==t.current?a("div",[a("div",{staticClass:"daychannel"},[a("span",[t._v("日期:")]),t._v(" "),a("monthdate",{on:{changeDate:t.monthtimeselect}}),t._v(" "),a("span",[t._v("产品:")]),t._v(" "),a("selectmorem",{attrs:{options:t.products},on:{select:t.selectmonthproduct}}),t._v(" "),a("span",[t._v("渠道:")]),t._v(" "),a("selectmorem",{attrs:{options:t.channels},on:{select:t.selectmonthchannel}}),t._v(" "),a("span",{staticClass:"btn",on:{click:function(e){t.getmonthcount(),t.getmonthmoney()}}},[t._v("生成")])],1),t._v(" "),this.monthchannelpieDatacount.rows.length?a("div",{staticClass:"daytubiao"},[a("div",[a("div",{staticClass:"tubiaoone"},[t._m(12),t._v(" "),a("ve-pie",{staticStyle:{"margin-top":"10px"},attrs:{data:t.monthchannelpieDatacount,extend:this.$bigData_home.channeldaypieEchart(),width:"100%",height:t.height}}),t._v(" "),a("span",{staticClass:"center"},[t._v(t._s(t.monthNewtime[0].substr(0,7))+" -- "+t._s(t.monthNewtime[0].split("-")[1])+"(张)")])],1),t._v(" "),a("div",{staticStyle:{width:"60%"}},[t._m(13),t._v(" "),a("ve-line",{staticStyle:{"margin-top":"10px"},attrs:{data:t.monthproductallcount,extend:this.$bigData_home.channellineEchart(),width:"100%",height:"300px"}})],1)]),t._v(" "),a("div",{staticStyle:{"margin-top":"50px"}},[a("div",{staticClass:"tubiaoone"},[t._m(14),t._v(" "),a("ve-pie",{staticStyle:{"margin-top":"10px"},attrs:{data:t.monthchannelpieDatamoney,extend:this.$bigData_home.channeldaypieEchart(),width:"100%",height:t.height}}),t._v(" "),a("span",{staticClass:"center"},[t._v(t._s(t.monthNewtime[0].substr(0,7))+" -- "+t._s(t.monthNewtime[0].split("-")[1])+"(元)")])],1),t._v(" "),a("div",{staticStyle:{width:"60%"}},[t._m(15),t._v(" "),a("ve-line",{staticStyle:{"margin-top":"10px"},attrs:{data:t.monthproductallmoney,extend:this.$bigData_home.channellineEchart(),width:"100%",height:"300px"}})],1)])]):t._e()]):4==t.current?a("div",[a("div",{staticClass:"yearchannel"},[a("div",{staticClass:"gettime"},[a("div",[a("span",{staticStyle:{"margin-top":"3px"}},[t._v("日期:")]),t._v(" "),a("selectmore",{ref:"all",attrs:{options:t.options},on:{select:t.selectyear}}),t._v(" "),a("button",{staticClass:"btn",staticStyle:{margin:"7px 0px 0px 10px"},on:{click:function(e){return t.getyearmoney()}}},[t._v("生成")])],1)])]),t._v(" "),t._l(t.yearData,function(t,e){return a("div",{key:e},[a("yearcharts",{staticClass:"year",attrs:{data:t}})],1)})],2):t._e()])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",[this._v("渠道数据")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",[this._v("渠道订单汇总 TOP")]),this._v(" "),e("span",{staticStyle:{color:"#ccc"}},[this._v("单位:人")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",[this._v("渠道订单汇总")]),this._v(" "),e("span",{staticStyle:{color:"#ccc"}},[this._v("单位:张")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",[this._v("渠道资金汇总 TOP")]),this._v(" "),e("span",{staticStyle:{color:"#ccc"}},[this._v("单位:元")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",[this._v("渠道资金汇总")]),this._v(" "),e("span",{staticStyle:{color:"#ccc"}},[this._v("单位:元")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",[this._v("旅行社汇总 TOP10")]),this._v(" "),e("span",{staticStyle:{color:"#ccc"}},[this._v("单位:人")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("td",[this._v("名称")]),this._v(" "),e("td",[this._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("实收金额(元)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:张")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:张    产品:全部  ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:元")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:元    产品:全部  ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:张")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:张    产品:全部  ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:元")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:元    产品:全部  ")])])}]};var d=a("C7Lr")(h,l,!1,function(t){a("jq/0")},"data-v-787cb475",null);e.default=d.exports}});
\ No newline at end of file
webpackJsonp([74],{"3qKs":function(t,e){},zKdQ:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{position:"relative"}},[this._m(0),this._v(" "),e("ve-line",{attrs:{data:this.data,width:"100%",height:"300px",extend:this.$bigData_home.channellineEchartyear()}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{position:"absolute",right:"0px","margin-top":"-20px"}},[e("span",{staticStyle:{color:"#bbb"}},[this._v("单价:元")])])}]},s=a("C7Lr")({props:["data"]},n,!1,null,null,null).exports,i=a("0j0D"),o=a("ZotE"),c=a("wuLK"),r=a("jDIm"),h={components:{daydate:i.a,dates:o.a,monthdate:c.a,yearcharts:s,selectmore:r.a,selectmorem:r.a},data:function(){return this.chartSettings={dimension:["name","value"]},{total_travel:"0px",total_travels:"0px",travelheight:"0px",products:[],productsId:[],channels:[],channelsId:[],travels:[],travelsId:[],options:[],dayproduct:[],daychannel:[],height:"300px",monthproduct:[],monthchannel:[],travel:[],travelproduct:[],traveltotalpeople:0,traveltotalmoney:0,travelsdata:"",checkyear:[],pageTotal:"",startDate:"",endDate:"",merchant_name:"",subOrderType:"",yearData:[],travelNewtime:"",dayNewtime:[],monthNewtime:[],traveltime:!1,current:0,checkchannels:[],checktravels:[],navbar:["汇总数据","旅行社数据","日数据","月数据","年数据"],channelData:{columns:["name","value"],rows:[]},channelmoneyData:{columns:["name","value"],rows:[]},monthchannelpieDatacount:{columns:["name","value"],rows:[]},monthchannelpieDatamoney:{columns:["name","value"],rows:[]},travelData:{columns:["name","value"],rows:[]},daychannelpieDatacount:{columns:["name","value"],rows:[]},daychannelpieDatamoney:{columns:["name","value"],rows:[]},dayproductallmoney:{columns:[],rows:[]},dayproductallcount:{columns:[],rows:[]},monthproductallmoney:{columns:[],rows:[]},monthproductallcount:{columns:[],rows:[]},TableExportObject:{config:{title:"渠道综合报表",subTitle:"2019 - 1 - 15 至2019 - 9 - 9",rowHeight:50,columns:[{name:"id",title:"id",width:200,field:"order"},{name:"产品",title:"产品",width:200,field:"channel"},{name:"游客",title:"游客: 人",width:200,field:"people"},{name:"收入",title:"收入:元",width:200,field:"get"}]},cond:{}},queryObject:{companyId:this.$store.state.companyId,pageSize:50,search:"",beginCreateDate:"",finishCreateDate:"",beginPlayDateFrom:"",finishPlayDateFrom:""}}},methods:{getyearmoney:function(){var t=this,e=this.$commonJs.today().substr(0,5)+"12-31";0==this.checkyear.length&&this.$refs.all.changeall();var a={calcSyncKey:"channel_money_year",condition:{companyId:this.$store.state.companyId,createDateFrom:["2016-01-01"],createDateTo:[e]}};this.$api.gethome_total(this,a).then(function(e){if("00"==e.code){t.yearData=[];var a=e.data.rows,n=1*t.$commonJs.today().substr(0,4)+1,s=0;t.checkyear.sort(function(t,e){return t-e}).forEach(function(e){t.yearData[s]={},t.yearData[s].columns=["time"],t.yearData[s].rows=[],a.forEach(function(e){t.yearData[s].columns.push(e.channelName)});for(var i=function(n,i){t.yearData[s].rows[i]={},t.yearData[s].rows[i].time=n+"",a.forEach(function(a){1*e+1==n&&(t.yearData[s].rows[i-1][a.channelName]=a[n-1+"-BuyMoney"],t.yearData[s].rows[i][a.channelName]=a[n+"-BuyMoney"])})},o=2016,c=0;o<=n;o++,c++)i(o,c);s++}),t.$forceUpdate()}else t.$message.error(e.message)})},getmonthcount:function(){var t=this.monthNewtime,e=this.monthchannelpieDatacount,a=this.monthproductallcount;this.getday("channel_money_month",e,a,t,12,2)},getmonthmoney:function(){var t=this.monthNewtime,e=this.monthchannelpieDatamoney,a=this.monthproductallmoney;this.getday("channel_month",e,a,t,12,1)},getdaymoney:function(){var t=this.dayNewtime,e=this.daychannelpieDatamoney,a=this.dayproductallmoney;this.getday("channel_money_day",e,a,t,31,2)},getdaycount:function(){var t=this.dayNewtime,e=this.daychannelpieDatacount,a=this.dayproductallcount;this.getday("channel_day",e,a,t,31,1)},daydata:function(t,e,a,n,s){e.rows=[],a.rows=[],a.columns=["day"];var i=0;t.forEach(function(t){e.rows[i]={},e.rows[i].name=t.channelName,e.rows[i].value=1==s?t.buyNum:t.buyMoney,a.columns.push(t.channelName),i++});for(var o=function(e){a.rows[e]={},31==n?a.rows[e].day=e+1+"":12==n&&(a.rows[e].day=e+1+""),t.forEach(function(t){a.rows[e][t.channelName]=1==s?t[e+1+"-BuyNum"]:t[e+1+"-BuyMoney"]})},c=0;c<n;c++)o(c);this.$forceUpdate()},getday:function(t,e,a,n,s,i){var o=this,c=[],r=[],h=[],l=[];h.push(n[0]),l.push(n[1]),31==s?(0==this.daychannel.length?c=this.channelsId:this.daychannel.forEach(function(t){c.push(o.channelsId[o.channels.indexOf(t)])}),0==this.dayproduct.length?r=this.productsId:this.dayproduct.forEach(function(t){r.push(o.productsId[o.products.indexOf(t)])})):12==s&&(0==this.monthchannel.length?c=this.channelsId:this.monthchannel.forEach(function(t){c.push(o.channelsId[o.channels.indexOf(t)])}),0==this.monthproduct.length?r=this.productsId:this.monthproduct.forEach(function(t){r.push(o.productsId[o.products.indexOf(t)])}));var d={calcSyncKey:t,condition:{companyId:this.$store.state.companyId,createDateFrom:h,createDateTo:l,productId:r,channelId:c}};this.$api.gethome_total(this,d).then(function(t){if("00"==t.code){12==s&&t.data.rows.length>=10&&(o.height=30*t.data.rows.length+"px");var n=t.data.rows;o.daydata(n,e,a,s,i)}else o.$message.error(t.message)})},traveldata:function(){var t=this,e=[],a=[];this.travel.forEach(function(a){e.push(t.travelsId[t.travels.indexOf(a)])}),this.travelproduct.forEach(function(e){a.push(t.productsId[t.products.indexOf(e)])});var n={calcSyncKey:"channel_group_day",condition:{companyId:this.$store.state.companyId,createDateFrom:this.travelNewtime[0],createDateTo:this.travelNewtime[1],productId:a,channelId:e}};this.$api.gethome_total(this,n).then(function(e){"00"==e.code?(t.travelsdata=e.data.rows,e.data.rows.forEach(function(e){t.traveltotalpeople+=e.buyNum,t.traveltotalmoney+=e.buyMoney})):t.$message.error(e.message)})},get_travel_total:function(){var t=this,e={calcSyncKey:"channel_group_total",condition:{companyId:this.$store.state.companyId}};this.$api.gethome_total(this,e).then(function(e){if("00"==e.code){var a=e.data.rows;t.travelheight=15+45*a.length+"px";var n=t.travelData,s=a.length-1;n.rows=[],a.forEach(function(e){t.travels.push(e.channelName),t.travelsId.push(e.channelId),n.rows[s]={},n.rows[s].name=e.channelName,n.rows[s].value=e.buyNum,s--})}else t.$message.error(e.message)})},total_data:function(t,e){var a=this;t.rows=[];var n=e.length-1;e.forEach(function(e){t.rows[n]={},t.rows[n].name=e.channelName,t==a.channelData?t.rows[n].value=e.buyNum:t.rows[n].value=e.buyMoney,n--})},get_channelding_money:function(){var t=this,e={calcSyncKey:"channel_product_money_total",condition:{companyId:this.$store.state.companyId}};this.$api.gethome_total(this,e).then(function(e){if("00"==e.code){var a=e.data.rows;t.total_travel=35*a.length+"px",t.total_travels=200+30*a.length+"px",t.total_data(t.channelmoneyData,a)}else t.$message.error(e.message)})},get_channelding_total:function(){var t=this,e={calcSyncKey:"channel_product_total",condition:{companyId:this.$store.state.companyId}};this.$api.gethome_total(this,e).then(function(e){if("00"==e.code){var a=e.data.rows;a.forEach(function(e){t.channels.push(e.channelName),t.channelsId.push(e.channelId)}),t.total_data(t.channelData,a)}else t.$message.error(e.message)})},getProdect:function(){var t=this;this.axios.post(this.getProductUrl("product/query"),{companyId:this.$store.state.companyId,pageIndex:1,pageSize:200}).then(function(e){"00"==e.code?e.data.data.list.forEach(function(e){t.products.push(e.productName),t.productsId.push(e.productId)}):t.$message.error(e.message)})},changeNavbar:function(t){this.current=t},changeTravel:function(){this.traveltime=!this.traveltime},getoldtime:function(t){this.travelNewtime=t},selectdayproduct:function(t){this.dayproduct=t},selectdaychannel:function(t){this.daychannel=t},daytimeselect:function(t){this.dayNewtime=t},selectmonthproduct:function(t){this.monthproduct=t},selectmonthchannel:function(t){this.monthchannel=t},monthtimeselect:function(t){t&&(this.monthNewtime[0]=t[0]+"-01",this.monthNewtime[1]=t[1]+"-"+this.$commonJs.testday(t[1]))},selecttravelproduct:function(t){this.travelproduct=t},selecttravel:function(t){this.travel=t},selectyear:function(t){this.checkyear=t},getforyear:function(){for(var t=this.$commonJs.today().substr(0,4),e=2016,a=0;e<=t;e++,a++)this.options[a]=e;var n=this.$commonJs.today().substr(0,8)+"01",s=this.$commonJs.today().substr(0,5);this.dayNewtime.push(n),this.dayNewtime.push(this.$commonJs.today()),this.monthNewtime.push(s+"01-01"),this.monthNewtime.push(this.$commonJs.today())},daochu:function(){if(this.TableExportObject.cond=this.queryObject,this.TableExportObject.config.subTitle=this.queryObject.finishCreateDate+this.queryObject.beginCreateDate||this.queryObject.finishPlayDateFrom+this.queryObject.beginPlayDateFrom||"全部统计",-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.TableExportObject.config.columns=this.columns,this.axios({method:"post",responseType:"blob",url:this.getReportUrl("/report/exportChannel"),data:this.TableExportObject}).then(function(t){var e=new Blob([t.data],{type:type}),a=document.createElement("a");a.download="统计.xlsx",a.href=URL.createObjectURL(e),document.body.appendChild(a),a.click(),URL.revokeObjectURL(a.href),document.body.removeChild(a)})},chudaymonth:function(){this.getdaycount(),this.getdaymoney(),this.getmonthcount(),this.getmonthmoney()}},mounted:function(){this.getProdect(),this.get_travel_total(),this.get_channelding_money(),this.get_channelding_total(),this.$forceUpdate(),this.chudaymonth()},created:function(){this.getforyear()}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bigBox"},[t._m(0),t._v(" "),a("div",{staticClass:"nav"},[a("ul",t._l(t.navbar,function(e,n){return a("li",{key:n,class:{focus:n==t.current},on:{click:function(e){return t.changeNavbar(n)}}},[t._v(t._s(e))])}),0)]),t._v(" "),0==t.current?a("div",[a("div",{staticClass:"channelone"},[a("div",{staticClass:"onetotalzhu"},[t._m(1),t._v(" "),a("div",[a("ve-bar",{attrs:{data:t.channelData,width:"100%",height:t.total_travel,settings:t.chartSettings,extend:this.$bigData_home.channelzhuEchartrow()}})],1)]),t._v(" "),a("div",{staticClass:"onetotalzhu"},[t._m(2),t._v(" "),a("div",[a("ve-pie",{attrs:{data:t.channelData,widht:"100%",extend:this.$bigData_home.channelpieEchart(),height:t.total_travels}})],1)])]),t._v(" "),a("div",{staticClass:"channelone",staticStyle:{"margin-top":"30px"}},[a("div",{staticClass:"onetotalzhu"},[t._m(3),t._v(" "),a("div",[a("ve-bar",{attrs:{data:t.channelmoneyData,width:"100%",height:t.total_travel,settings:t.chartSettings,extend:this.$bigData_home.channelzhuEchartrowjing()}})],1)]),t._v(" "),a("div",{staticClass:"onetotalzhu"},[t._m(4),t._v(" "),a("div",{staticStyle:{"margin-top":"10px"}},[a("ve-pie",{attrs:{data:t.channelmoneyData,width:"100%",extend:this.$bigData_home.channelpieEchart(),height:t.total_travels}})],1)])])]):1==t.current?a("div",[a("div",{staticClass:"travel"},[t._m(5),t._v(" "),a("div",[a("div",[a("table",{staticStyle:{height:"100%"}},[t._m(6),t._v(" "),t._l(t.travelData.rows,function(e,n){return a("tr",{key:n},[a("td",[t._v(t._s(e.name))]),t._v(" "),a("td",[t._v(t._s(t.$commonJs.zc_three(e.value)||0))])])})],2)]),t._v(" "),a("div",[a("ve-bar",{attrs:{data:t.travelData,width:"100%",height:t.travelheight,settings:t.chartSettings,extend:this.$bigData_home.travelzhuEchartrow()}})],1)])]),t._v(" "),a("p",{staticClass:"biganniu",on:{click:t.changeTravel}},[t._v("旅行社报表")]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.traveltime,expression:"traveltime"}]},[a("div",{staticClass:"travels"},[a("span",[t._v("日期:")]),t._v(" "),a("dates",{on:{changeDate:t.getoldtime}}),t._v(" "),a("span",{staticStyle:{"margin-left":"10px"}},[t._v("产品:")]),t._v(" "),a("selectmore",{attrs:{options:t.products},on:{select:t.selecttravelproduct}}),t._v(" "),a("span",{staticStyle:{"margin-left":"10px"}},[t._v("旅行社:")]),t._v(" "),a("selectmore",{attrs:{options:t.travels},on:{select:t.selecttravel}}),t._v(" "),a("span",{staticClass:"btn",staticStyle:{"margin-left":"10px"},on:{click:t.traveldata}},[t._v("生成")])],1),t._v(" "),a("div",{staticClass:"biaoheader"},[a("div",[a("span",[t._v(t._s(t.travelNewtime[0]))]),t._v(" --\n\t\t\t\t\t\t"),a("span",[t._v(t._s(t.travelNewtime[1]))])]),t._v(" "),a("span",{staticClass:"title"},[t._v("\n\t\t\t\t\t\t旅行社报表\n\t\t\t\t\t")]),t._v(" "),a("div",[a("span",[t._v("游客总量:")]),t._v(" "),a("span",[t._v(t._s(t.traveltotalpeople)+" 人   ")]),t._v(" "),a("span",[t._v(" 金额汇总:")]),t._v(" "),a("span",[t._v(t._s(t.traveltotalmoney)+" 元")])])]),t._v(" "),a("table",{staticClass:"tabletwo",staticStyle:{height:"100%"}},[t._m(7),t._v(" "),t._l(t.travelsdata,function(e,n){return a("tr",{key:n},[a("td",[t._v(t._s(e.channelName))]),t._v(" "),a("td",[t._v(t._s(e.productName))]),t._v(" "),a("td",[t._v(t._s(e.buyNum))]),t._v(" "),a("td",[t._v(t._s(e.buyCount))]),t._v(" "),a("td",[t._v(t._s(t.$commonJs.zc_three(e.buyMoney)))])])})],2)])]):2==t.current?a("div",[a("div",{staticClass:"daychannel"},[a("span",[t._v("日期:")]),t._v(" "),a("daydate",{on:{changeDate:t.daytimeselect}}),t._v(" "),a("span",[t._v("产品:")]),t._v(" "),a("selectmore",{attrs:{options:t.products},on:{select:t.selectdayproduct}}),t._v(" "),a("span",[t._v("渠道:")]),t._v(" "),a("selectmore",{attrs:{options:t.channels},on:{select:t.selectdaychannel}}),t._v(" "),a("span",{staticClass:"btn",on:{click:function(e){t.getdaycount(),t.getdaymoney()}}},[t._v("生成")])],1),t._v(" "),this.daychannelpieDatacount.rows.length?a("div",{staticClass:"daytubiao"},[a("div",[a("div",{staticClass:"tubiaoone"},[t._m(8),t._v(" "),a("ve-pie",{staticStyle:{"margin-top":"10px"},attrs:{data:t.daychannelpieDatacount,extend:this.$bigData_home.channeldaypieEchart(),width:"100%",height:"300px"}}),t._v(" "),a("span",{staticClass:"center"},[t._v(t._s(t.dayNewtime[0])+" -- "+t._s(t.dayNewtime[1].substr(-2))+"(张)")])],1),t._v(" "),a("div",{staticStyle:{width:"60%"}},[t._m(9),t._v(" "),a("ve-line",{staticStyle:{"margin-top":"10px"},attrs:{data:t.dayproductallcount,extend:this.$bigData_home.channellineEchart(),width:"100%",height:"300px"}})],1)]),t._v(" "),a("div",{staticStyle:{"margin-top":"50px"}},[a("div",{staticClass:"tubiaoone"},[t._m(10),t._v(" "),a("ve-pie",{staticStyle:{"margin-top":"10px"},attrs:{data:t.daychannelpieDatamoney,extend:this.$bigData_home.channeldaypieEchart(),width:"100%",height:"300px"}}),t._v(" "),a("span",{staticClass:"center"},[t._v(t._s(t.dayNewtime[0])+" -- "+t._s(t.dayNewtime[1].substr(-2))+"(元)")])],1),t._v(" "),a("div",{staticStyle:{width:"60%"}},[t._m(11),t._v(" "),a("ve-line",{staticStyle:{"margin-top":"10px"},attrs:{data:t.dayproductallmoney,extend:this.$bigData_home.channellineEchart(),width:"100%",height:"300px"}})],1)])]):t._e()]):t._e(),t._v(" "),3==t.current?a("div",[a("div",{staticClass:"daychannel"},[a("span",[t._v("日期:")]),t._v(" "),a("monthdate",{on:{changeDate:t.monthtimeselect}}),t._v(" "),a("span",[t._v("产品:")]),t._v(" "),a("selectmorem",{attrs:{options:t.products},on:{select:t.selectmonthproduct}}),t._v(" "),a("span",[t._v("渠道:")]),t._v(" "),a("selectmorem",{attrs:{options:t.channels},on:{select:t.selectmonthchannel}}),t._v(" "),a("span",{staticClass:"btn",on:{click:function(e){t.getmonthcount(),t.getmonthmoney()}}},[t._v("生成")])],1),t._v(" "),this.monthchannelpieDatacount.rows.length?a("div",{staticClass:"daytubiao"},[a("div",[a("div",{staticClass:"tubiaoone"},[t._m(12),t._v(" "),a("ve-pie",{staticStyle:{"margin-top":"10px"},attrs:{data:t.monthchannelpieDatacount,extend:this.$bigData_home.channeldaypieEchart(),width:"100%",height:t.height}}),t._v(" "),a("span",{staticClass:"center"},[t._v(t._s(t.monthNewtime[0].substr(0,7))+" -- "+t._s(t.monthNewtime[0].split("-")[1])+"(张)")])],1),t._v(" "),a("div",{staticStyle:{width:"60%"}},[t._m(13),t._v(" "),a("ve-line",{staticStyle:{"margin-top":"10px"},attrs:{data:t.monthproductallcount,extend:this.$bigData_home.channellineEchart(),width:"100%",height:"300px"}})],1)]),t._v(" "),a("div",{staticStyle:{"margin-top":"50px"}},[a("div",{staticClass:"tubiaoone"},[t._m(14),t._v(" "),a("ve-pie",{staticStyle:{"margin-top":"10px"},attrs:{data:t.monthchannelpieDatamoney,extend:this.$bigData_home.channeldaypieEchart(),width:"100%",height:t.height}}),t._v(" "),a("span",{staticClass:"center"},[t._v(t._s(t.monthNewtime[0].substr(0,7))+" -- "+t._s(t.monthNewtime[0].split("-")[1])+"(元)")])],1),t._v(" "),a("div",{staticStyle:{width:"60%"}},[t._m(15),t._v(" "),a("ve-line",{staticStyle:{"margin-top":"10px"},attrs:{data:t.monthproductallmoney,extend:this.$bigData_home.channellineEchart(),width:"100%",height:"300px"}})],1)])]):t._e()]):4==t.current?a("div",[a("div",{staticClass:"yearchannel"},[a("div",{staticClass:"gettime"},[a("div",[a("span",{staticStyle:{"margin-top":"3px"}},[t._v("日期:")]),t._v(" "),a("selectmore",{ref:"all",attrs:{options:t.options},on:{select:t.selectyear}}),t._v(" "),a("button",{staticClass:"btn",staticStyle:{margin:"7px 0px 0px 10px"},on:{click:function(e){return t.getyearmoney()}}},[t._v("生成")])],1)])]),t._v(" "),t._l(t.yearData,function(t,e){return a("div",{key:e},[a("yearcharts",{staticClass:"year",attrs:{data:t}})],1)})],2):t._e()])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",[this._v("渠道数据")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",[this._v("渠道订单汇总 TOP")]),this._v(" "),e("span",{staticStyle:{color:"#ccc"}},[this._v("单位:人")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",[this._v("渠道订单汇总")]),this._v(" "),e("span",{staticStyle:{color:"#ccc"}},[this._v("单位:张")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",[this._v("渠道资金汇总 TOP")]),this._v(" "),e("span",{staticStyle:{color:"#ccc"}},[this._v("单位:元")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",[this._v("渠道资金汇总")]),this._v(" "),e("span",{staticStyle:{color:"#ccc"}},[this._v("单位:元")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("span",[this._v("旅行社汇总 TOP10")]),this._v(" "),e("span",{staticStyle:{color:"#ccc"}},[this._v("单位:人")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("td",[this._v("名称")]),this._v(" "),e("td",[this._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("实收金额(元)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:张")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:张    产品:全部  ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:元")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:元    产品:全部  ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:张")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:张    产品:全部  ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:元")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"right"},[e("span",[this._v("单位:元    产品:全部  ")])])}]};var d=a("C7Lr")(h,l,!1,function(t){a("3qKs")},"data-v-73a34580",null);e.default=d.exports}});
\ No newline at end of file
webpackJsonp([73],{TzGg:function(e,t){},sEKF:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("GZf/"),i=a("KPn7"),n=a("RwQt"),c={components:{page:s.a,config:i.a,breadNav:n.default},data:function(){return{pageIndex:"",pageSize:15,listArr:[],pageTotal:"",yPage:!1,configTitle1:"是否删除该设备",configTitle2:"是否批量删除该设备",config1:!1,config2:!1,updateId:"",isAllChecked:!1,chooseVal:[]}},methods:{list:function(){var e=this,t={pageIndex:this.pageIndex,pageSize:this.pageSize};this.axios.post(this.getSystem("update/updateList"),t).then(function(t){"00"==t.data.code?(e.listArr=t.data.data.list,e.pageTotal=t.data.data.pageTotal,e.listArr.length>0&&(e.yPage=!0)):e.$message({message:t.data.message,type:"error"})})},paging:function(e){this.pageIndex=e,this.list()},clickDel:function(e){this.config1=!0,this.updateId=e},configDel1:function(){var e=this,t={updateId:this.updateId};this.axios.post(this.getSystem("update/updateRemove"),t).then(function(t){"00"==t.data.code?(e.$message({message:"删除成功",type:"success"}),e.config1=!1,e.list()):(e.config1=!1,e.$message({message:t.data.message,type:"error"}))})},configDel2:function(){var e=this;if(this.chooseVal.length<=0)this.$message({message:"请选择设备类型",type:"error"});else{var t={updateIds:this.chooseVal};console.log(t),this.axios.post(this.getSystem("update/updateRemove"),t).then(function(t){"00"==t.data.code?(e.$message({message:"删除成功",type:"success"}),e.config2=!1,e.list()):(e.config2=!1,e.$message({message:t.data.message,type:"error"}))})}},chooseAll:function(){this.isAllChecked?this.chooseVal=this.listArr.map(function(e){return e.updateId}):this.chooseVal=[]},chooseSingle:function(){this.listArr.length==this.chooseVal.length?this.isAllChecked=!0:this.isAllChecked=!1}},mounted:function(){this.list()}},o={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"bigBox"},[a("div",{staticClass:"list"},[a("breadNav",[e._v("\n\t\t\t\t版本更新\n\t\t\t")]),e._v(" "),a("p",[a("a",{staticClass:"btn4",on:{click:function(t){return e.$router.push("/scenic/sMymanagement/versionPlus")}}},[e._v("新增")]),e._v(" "),a("a",{staticClass:"btn4",staticStyle:{"margin-left":"2rem"},on:{click:function(t){return e.list()}}},[e._v("刷新")]),e._v(" "),a("a",{staticClass:"btn4",staticStyle:{"margin-left":"2rem"},on:{click:function(t){e.config2=!0}}},[e._v("批量删除")])]),e._v(" "),a("table",[a("tr",[a("th",{staticStyle:{width:"0.8rem"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.isAllChecked,expression:"isAllChecked"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.isAllChecked)?e._i(e.isAllChecked,null)>-1:e.isAllChecked},on:{change:[function(t){var a=e.isAllChecked,s=t.target,i=!!s.checked;if(Array.isArray(a)){var n=e._i(a,null);s.checked?n<0&&(e.isAllChecked=a.concat([null])):n>-1&&(e.isAllChecked=a.slice(0,n).concat(a.slice(n+1)))}else e.isAllChecked=i},e.chooseAll]}})]),e._v(" "),a("th",[e._v("设备类型")]),e._v(" "),a("th",[e._v("版本编号")]),e._v(" "),a("th",[e._v("上传状态")]),e._v(" "),a("th",[e._v("文件名")]),e._v(" "),a("th",[e._v("文件大小")]),e._v(" "),a("th",{staticStyle:{width:"5rem"}},[e._v("备注")]),e._v(" "),a("th",{staticStyle:{width:"0.8rem"}},[e._v("操作")])]),e._v(" "),e._l(e.listArr,function(t,s){return a("tr",{key:t.updateId},[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.chooseVal,expression:"chooseVal"}],attrs:{type:"checkbox"},domProps:{value:t.updateId,checked:Array.isArray(e.chooseVal)?e._i(e.chooseVal,t.updateId)>-1:e.chooseVal},on:{change:[function(a){var s=e.chooseVal,i=a.target,n=!!i.checked;if(Array.isArray(s)){var c=t.updateId,o=e._i(s,c);i.checked?o<0&&(e.chooseVal=s.concat([c])):o>-1&&(e.chooseVal=s.slice(0,o).concat(s.slice(o+1)))}else e.chooseVal=n},function(t){return e.chooseSingle()}]}})]),e._v(" "),a("td",[e._v(e._s(t.deviceType))]),e._v(" "),a("td",[e._v(e._s(t.updateId))]),e._v(" "),a("td",[0==t.updateStatus?a("span",[e._v(e._s(t.updateStatusName))]):e._e(),e._v(" "),1==t.updateStatus?a("span",[e._v(e._s(t.updateStatusName))]):e._e(),e._v(" "),2==t.updateStatus?a("span",[e._v(e._s(t.updateStatusName))]):e._e(),e._v(" "),3==t.updateStatus?a("span",[e._v(e._s(t.updateStatusName))]):e._e(),e._v(" "),4==t.updateStatus?a("span",[e._v(e._s(t.updateStatusName))]):e._e()]),e._v(" "),a("td",[e._v(e._s(t.updateFileName))]),e._v(" "),a("td",[e._v(e._s(t.updateFileMax))]),e._v(" "),a("td",{staticStyle:{"line-height":"0.2rem"}},[e._v(e._s(t.versionRemark))]),e._v(" "),a("td",{staticStyle:{color:"#FF0000",cursor:"pointer"},on:{click:function(a){return e.clickDel(t.updateId)}}},[e._v("删除")])])})],2)],1),e._v(" "),e.yPage?a("page",{attrs:{pagesize:e.pageSize,total:e.pageTotal},on:{page:e.paging}}):e._e(),e._v(" "),a("config",{directives:[{name:"show",rawName:"v-show",value:e.config1,expression:"config1"}],attrs:{configTitle:e.configTitle1},on:{cancel:function(t){e.config1=!1},config:function(t){return e.configDel1()}}}),e._v(" "),a("config",{directives:[{name:"show",rawName:"v-show",value:e.config2,expression:"config2"}],attrs:{configTitle:e.configTitle2},on:{cancel:function(t){e.config2=!1},config:function(t){return e.configDel2()}}})],1)},staticRenderFns:[]};var l=a("C7Lr")(c,o,!1,function(e){a("TzGg")},"data-v-75dfadee",null);t.default=l.exports}});
\ No newline at end of file
webpackJsonp([75],{TzGg:function(e,t){},sEKF:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("GZf/"),i=a("KPn7"),n=a("RwQt"),c={components:{page:s.a,config:i.a,breadNav:n.default},data:function(){return{pageIndex:"",pageSize:15,listArr:[],pageTotal:"",yPage:!1,configTitle1:"是否删除该设备",configTitle2:"是否批量删除该设备",config1:!1,config2:!1,updateId:"",isAllChecked:!1,chooseVal:[]}},methods:{list:function(){var e=this,t={pageIndex:this.pageIndex,pageSize:this.pageSize};this.axios.post(this.getSystem("update/updateList"),t).then(function(t){"00"==t.data.code?(e.listArr=t.data.data.list,e.pageTotal=t.data.data.pageTotal,e.listArr.length>0&&(e.yPage=!0)):e.$message({message:t.data.message,type:"error"})})},paging:function(e){this.pageIndex=e,this.list()},clickDel:function(e){this.config1=!0,this.updateId=e},configDel1:function(){var e=this,t={updateId:this.updateId};this.axios.post(this.getSystem("update/updateRemove"),t).then(function(t){"00"==t.data.code?(e.$message({message:"删除成功",type:"success"}),e.config1=!1,e.list()):(e.config1=!1,e.$message({message:t.data.message,type:"error"}))})},configDel2:function(){var e=this;if(this.chooseVal.length<=0)this.$message({message:"请选择设备类型",type:"error"});else{var t={updateIds:this.chooseVal};console.log(t),this.axios.post(this.getSystem("update/updateRemove"),t).then(function(t){"00"==t.data.code?(e.$message({message:"删除成功",type:"success"}),e.config2=!1,e.list()):(e.config2=!1,e.$message({message:t.data.message,type:"error"}))})}},chooseAll:function(){this.isAllChecked?this.chooseVal=this.listArr.map(function(e){return e.updateId}):this.chooseVal=[]},chooseSingle:function(){this.listArr.length==this.chooseVal.length?this.isAllChecked=!0:this.isAllChecked=!1}},mounted:function(){this.list()}},o={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"bigBox"},[a("div",{staticClass:"list"},[a("breadNav",[e._v("\n\t\t\t\t版本更新\n\t\t\t")]),e._v(" "),a("p",[a("a",{staticClass:"btn4",on:{click:function(t){return e.$router.push("/scenic/sMymanagement/versionPlus")}}},[e._v("新增")]),e._v(" "),a("a",{staticClass:"btn4",staticStyle:{"margin-left":"2rem"},on:{click:function(t){return e.list()}}},[e._v("刷新")]),e._v(" "),a("a",{staticClass:"btn4",staticStyle:{"margin-left":"2rem"},on:{click:function(t){e.config2=!0}}},[e._v("批量删除")])]),e._v(" "),a("table",[a("tr",[a("th",{staticStyle:{width:"0.8rem"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.isAllChecked,expression:"isAllChecked"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.isAllChecked)?e._i(e.isAllChecked,null)>-1:e.isAllChecked},on:{change:[function(t){var a=e.isAllChecked,s=t.target,i=!!s.checked;if(Array.isArray(a)){var n=e._i(a,null);s.checked?n<0&&(e.isAllChecked=a.concat([null])):n>-1&&(e.isAllChecked=a.slice(0,n).concat(a.slice(n+1)))}else e.isAllChecked=i},e.chooseAll]}})]),e._v(" "),a("th",[e._v("设备类型")]),e._v(" "),a("th",[e._v("版本编号")]),e._v(" "),a("th",[e._v("上传状态")]),e._v(" "),a("th",[e._v("文件名")]),e._v(" "),a("th",[e._v("文件大小")]),e._v(" "),a("th",{staticStyle:{width:"5rem"}},[e._v("备注")]),e._v(" "),a("th",{staticStyle:{width:"0.8rem"}},[e._v("操作")])]),e._v(" "),e._l(e.listArr,function(t,s){return a("tr",{key:t.updateId},[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.chooseVal,expression:"chooseVal"}],attrs:{type:"checkbox"},domProps:{value:t.updateId,checked:Array.isArray(e.chooseVal)?e._i(e.chooseVal,t.updateId)>-1:e.chooseVal},on:{change:[function(a){var s=e.chooseVal,i=a.target,n=!!i.checked;if(Array.isArray(s)){var c=t.updateId,o=e._i(s,c);i.checked?o<0&&(e.chooseVal=s.concat([c])):o>-1&&(e.chooseVal=s.slice(0,o).concat(s.slice(o+1)))}else e.chooseVal=n},function(t){return e.chooseSingle()}]}})]),e._v(" "),a("td",[e._v(e._s(t.deviceType))]),e._v(" "),a("td",[e._v(e._s(t.updateId))]),e._v(" "),a("td",[0==t.updateStatus?a("span",[e._v(e._s(t.updateStatusName))]):e._e(),e._v(" "),1==t.updateStatus?a("span",[e._v(e._s(t.updateStatusName))]):e._e(),e._v(" "),2==t.updateStatus?a("span",[e._v(e._s(t.updateStatusName))]):e._e(),e._v(" "),3==t.updateStatus?a("span",[e._v(e._s(t.updateStatusName))]):e._e(),e._v(" "),4==t.updateStatus?a("span",[e._v(e._s(t.updateStatusName))]):e._e()]),e._v(" "),a("td",[e._v(e._s(t.updateFileName))]),e._v(" "),a("td",[e._v(e._s(t.updateFileMax))]),e._v(" "),a("td",{staticStyle:{"line-height":"0.2rem"}},[e._v(e._s(t.versionRemark))]),e._v(" "),a("td",{staticStyle:{color:"#FF0000",cursor:"pointer"},on:{click:function(a){return e.clickDel(t.updateId)}}},[e._v("删除")])])})],2)],1),e._v(" "),e.yPage?a("page",{attrs:{pagesize:e.pageSize,total:e.pageTotal},on:{page:e.paging}}):e._e(),e._v(" "),a("config",{directives:[{name:"show",rawName:"v-show",value:e.config1,expression:"config1"}],attrs:{configTitle:e.configTitle1},on:{cancel:function(t){e.config1=!1},config:function(t){return e.configDel1()}}}),e._v(" "),a("config",{directives:[{name:"show",rawName:"v-show",value:e.config2,expression:"config2"}],attrs:{configTitle:e.configTitle2},on:{cancel:function(t){e.config2=!1},config:function(t){return e.configDel2()}}})],1)},staticRenderFns:[]};var l=a("C7Lr")(c,o,!1,function(e){a("TzGg")},"data-v-75dfadee",null);t.default=l.exports}});
\ No newline at end of file
webpackJsonp([75],{"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([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([76],{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([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([77],{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([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([78],{"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([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([79],{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([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([80],{"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([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([81],{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([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([82],{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([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([83],{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([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([84],{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([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([85],{"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([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([86],{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([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([87],{"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([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([88],{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([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([89],{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([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([90],{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([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([91],{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([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([92],{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([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([93],{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([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([94],{"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([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([95],{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([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([96],{"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([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([97],{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([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([99],{"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([98],{"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([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 f=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,u=0,i=[];u<a.length;u++)t=a[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(f&&f(a,b,n);i.length;)i.shift()();if(n)for(u=0;u<n.length;u++)o=d(d.s=n[u]);return o};var a={},c={124:0};function d(f){if(a[f])return a[f].exports;var c=a[f]={i:f,l:!1,exports:{}};return e[f].call(c.exports,c,c.exports,d),c.l=!0,c.exports}d.e=function(e){var f=c[e];if(0===f)return new Promise(function(e){e()});if(f)return f[2];var a=new Promise(function(a,d){f=c[e]=[a,d]});f[2]=a;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:"23da6ee5ce5270f2ebbc",1:"047a83a40fbbffee2477",2:"583fe2350a17d08c48eb",3:"f3e568ff1d30162e9ba2",4:"fd55a40e479c79bf6723",5:"13ce5e56f42459311d6d",6:"e535dd0cd8202cf05446",7:"63f2e71977c3fec03289",8:"bb37b0aea19d8d657d6b",9:"bcbf38f9242f9fe69c68",10:"0bfeafd93a4ed6f9b617",11:"55f8cd390bfe801ea5d2",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:"6516ee816c72f9927416",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:"c08c7353d7b8b3537e22",74:"d251f86f0ea856e50d5a",75:"57dc5f515c8c3fe62b6c",76:"f3cb10aadf862f41b81e",77:"d5904bcf74d052406d89",78:"8268a354a09e4096626e",79:"069b4f9312aeb1f33830",80:"ce82b7d6bff7fd4704fb",81:"fe502d301ec2420d2360",82:"b94a9d855abf4f41056f",83:"c454ec345386af6d5c73",84:"2255401bf9ea054c9a55",85:"1cba6047adc7cc2c9ea4",86:"2eb109e45fe23b593709",87:"28e44f2ee20dadd2e506",88:"3a5897346e46cf4d2b05",89:"d7c8da0081798e08b64e",90:"60f0fb0c1c6612668d37",91:"b590761ca88df98438f3",92:"8f558760780ecec1688d",93:"e2a6a9fec439a427b2f0",94:"23980e5552c11c2e8371",95:"efe7561fbc468ea6059c",96:"aef72aee97af81cd8d06",97:"730e7a26f044b4c66362",98:"52f16dd45947151f3e69",99:"4fd15e27755b7e7b101e",100:"c878113a098596efbfa4",101:"e1839fa41f4df5977247",102:"a6b88fa15d4800acf7cb",103:"3b130d2908786c4e73d0",104:"b51f933117cec7f545a1",105:"313153c69da5b98da2a6",106:"f80e6620e2dc91d53149",107:"18f3135caff61eb7bdb3",108:"45f834c540b909d16fa2",109:"5599430e01314dce6e01",110:"63e58c9872f63475e5ff",111:"262463c09d1808fcf6cd",112:"ab11aac2237ab0a52b8f",113:"ca5905eff3881c93b30f",114:"7139c010591be3993305",115:"d3ea43edcaa66a5b7767",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 f=c[e];0!==f&&(f&&f[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,f,a){d.o(e,f)||Object.defineProperty(e,f,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(f,"a",f),f},d.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},d.p="/",d.oe=function(e){throw console.error(e),e}}([]);
\ 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
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