(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(t,e,n){t.exports=n("56d7")},"0247":function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-Iphone",use:"icon-Iphone-usage",viewBox:"0 0 20 20",content:'\r\n\r\n\r\n\r\n'});o.a.add(s);e["default"]=s},"079a":function(t,e,n){},"09e7":function(t,e,n){},"0e98":function(t,e,n){},"18f0":function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);e["default"]=s},"1d4a":function(t,e,n){},2558:function(t,e,n){"use strict";n("6dcd")},"2a3d":function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);e["default"]=s},"2b29":function(t,e,n){"use strict";n("1d4a")},"2c83":function(t,e,n){"use strict";n("5507")},"30c3":function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);e["default"]=s},4360:function(t,e,n){"use strict";var a=n("8b20"),i=n("6db4"),r=(n("7212"),{sidebar:function(t){return t.app.sidebar},device:function(t){return t.app.device},token:function(t){return t.user.token},avatar:function(t){return t.user.avatar},name:function(t){return t.user.name},rolesTree:function(t){return t.user.rolesTree},keepList:function(t){return t.user.keepList},editableTabs:function(t){return t.user.editableTabs},editableTabsValue:function(t){return t.user.editableTabsValue}}),o=r,s=n("39a4"),l=n.n(s),c={sidebar:{opened:!l.a.get("sidebarStatus")||!!+l.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},u={TOGGLE_SIDEBAR:function(t){t.sidebar.opened=!t.sidebar.opened,t.sidebar.withoutAnimation=!1,t.sidebar.opened?(console.log(111),l.a.set("sidebarStatus",1)):(console.log(2322),l.a.set("sidebarStatus",0))},CLOSE_SIDEBAR:function(t,e){l.a.set("sidebarStatus",0),t.sidebar.opened=!1,t.sidebar.withoutAnimation=e},TOGGLE_DEVICE:function(t,e){t.device=e}},d={toggleSideBar:function(t){var e=t.commit;e("TOGGLE_SIDEBAR")},closeSideBar:function(t,e){var n=t.commit,a=e.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(t,e){var n=t.commit;n("TOGGLE_DEVICE",e)}},p={namespaced:!0,state:c,mutations:u,actions:d},f=n("83d6"),h=n.n(f),m=h.a.showSettings,b=h.a.fixedHeader,g=h.a.sidebarLogo,v={showSettings:m,fixedHeader:b,sidebarLogo:g},w={CHANGE_SETTING:function(t,e){var n=e.key,a=e.value;t.hasOwnProperty(n)&&(t[n]=a)}},y={changeSetting:function(t,e){var n=t.commit;n("CHANGE_SETTING",e)}},O={namespaced:!0,state:v,mutations:w,actions:y},x=n("639f"),k=(n("e491"),n("4348"),n("b138"),n("8f26"),n("d9d9"),n("209c"),n("f803"),n("6d35"),n("0401"),n("066b"),n("b775"));function _(t){return Object(k["a"])({url:"/login",method:"post",data:t})}var C=n("5f87"),j=n("a18c"),S=n("b1be"),E=function(){return{token:Object(C["a"])(),name:"",avatar:"",rolesTree:[],keepList:localStorage.getItem("user-tabs")&&JSON.parse(localStorage.getItem("user-tabs"))||[],editableTabs:[],editableTabsValue:null}},T=E(),A={RESET_STATE:function(t){Object.assign(t,E())},SET_TOKEN:function(t,e){t.token=e},SET_ROLESTREE:function(t,e){t.rolesTree=e},SET_NAME:function(t,e){t.name=e},SET_AVATAR:function(t,e){t.avatar=e},ADD_TABS:function(t,e){t.keepList||(t.keepList=[]);var n=t.keepList.findIndex((function(t){return t.path===e.path}));-1===n?t.keepList.push(e):t.keepList[n]=Object(x["a"])(Object(x["a"])({},t.keepList[n]),e),L(t.keepList)},REMOVE_TAB_BY_PATH:function(t,e){if(t.keepList&&Array.isArray(t.keepList)){var n=t.keepList.length;t.keepList=t.keepList.filter((function(t){return t.path!==e}));var a=t.keepList.length;n!==a&&(console.log("删除了标签: ".concat(e)),L(t.keepList),"undefined"!==typeof window&&window.dispatchEvent(new CustomEvent("tab-removed",{detail:{path:e}})))}}};function L(t){try{localStorage.setItem("user-tabs",JSON.stringify(t))}catch(e){console.error("保存缓存失败:",e)}}var P={login:function(t,e){var n=t.commit,a=e.username,i=e.password,r=e.code;return new Promise((function(t,e){_({username:a.trim(),password:i,code:r}).then((function(e){T.keepList=[],localStorage.setItem("user-tabs",[]);var a=e.data;console.log(a,"login"),Object(S["Notification"])({title:"成功",message:"欢迎登陆~",type:"success"}),n("SET_TOKEN",a.token),Object(C["c"])(a.token),t()})).catch((function(t){e(t)}))}))},logout:function(t){var e=t.commit;t.state;return new Promise((function(t,n){Object(C["b"])(),Object(j["b"])(),e("RESET_STATE"),t()}))},resetToken:function(t){var e=t.commit;return new Promise((function(t){Object(C["b"])(),e("RESET_STATE"),t()}))},addTab:function(t,e){var n=t.commit;n("ADD_TABS",e)}},D={namespaced:!0,state:T,mutations:A,actions:P};a["default"].use(i["a"]);var M=new i["a"].Store({modules:{app:p,settings:O,user:D},getters:o});e["a"]=M},"458a":function(t,e,n){},"46a9":function(t,e,n){"use strict";n("50a3")},"47f1":function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);e["default"]=s},"4df5":function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});o.a.add(s);e["default"]=s},"4e67":function(t,e,n){},"50a3":function(t,e,n){},"51ff":function(t,e,n){var a={"./Android.svg":"62c8","./Apple.svg":"f3bb","./Devices.svg":"e9d5","./Iphone.svg":"0247","./Remind.svg":"a6eb","./dashboard.svg":"f782","./empt.svg":"6110","./example.svg":"30c3","./eye-open.svg":"d7ec","./eye.svg":"4df5","./form.svg":"eb1b","./link.svg":"18f0","./nested.svg":"dcf8","./password.svg":"2a3d","./phone.svg":"dd82","./table.svg":"47f1","./tree.svg":"93cd","./type.svg":"f4c4","./user.svg":"b3b5","./useragency.svg":"86e5"};function i(t){var e=r(t);return n(e)}function r(t){if(!n.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}i.keys=function(){return Object.keys(a)},i.resolve=r,t.exports=i,i.id="51ff"},5507:function(t,e,n){},"56d7":function(t,e,n){"use strict";n.r(e);n("e610"),n("8bef"),n("f9d1"),n("5c7d");var a=n("8b20"),i=(n("9c7d"),n("b1be")),r=n.n(i),o=(n("0e2c"),n("e395")),s=n.n(o),l=(n("b20f"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)}),c=[],u=(n("7e1e"),{name:"App"}),d=u,p=(n("591a"),n("1805")),f=Object(p["a"])(d,l,c,!1,null,null,null),h=f.exports,m=n("4360"),b=n("a18c"),g=(n("0da6"),n("8f26"),n("963e"),n("0401"),n("e7bb"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isExternal?n("div",t._g({staticClass:"svg-external-icon svg-icon",style:t.styleExternalIcon},t.$listeners)):n("svg",t._g({class:t.svgClass,attrs:{"aria-hidden":"true"}},t.$listeners),[n("use",{attrs:{"xlink:href":t.iconName}})])}),v=[],w=n("61f7"),y={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(w["a"])(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},O=y,x=(n("2b29"),Object(p["a"])(O,g,v,!1,null,"f9f7fefc",null)),k=x.exports;a["default"].component("svg-icon",k);var _=n("51ff"),C=function(t){return t.keys().map(t)};C(_);var j=n("8802"),S=n("41cd1"),E=(n("7212"),n("929e")),T=n.n(E),A=(n("5f73"),n("5f87")),L=(n("b15b"),n("83d6")),P=n.n(L),D=P.a.title||"Vue Admin Template";function M(t){return t?"".concat(t," - ").concat(D):"".concat(D)}T.a.configure({showSpinner:!1});var B=["/login"];b["a"].beforeEach(function(){var t=Object(S["a"])(Object(j["a"])().m((function t(e,n,a){var r,o,s;return Object(j["a"])().w((function(t){while(1)switch(t.p=t.n){case 0:if(T.a.start(),document.title=M(e.meta.title),r=Object(A["a"])(),!r){t.n=6;break}if("/login"!==e.path){t.n=1;break}a({path:"/"}),T.a.done(),t.n=5;break;case 1:if(o=m["a"].getters.name,!o){t.n=2;break}a(),t.n=5;break;case 2:t.p=2,a(),t.n=5;break;case 3:return t.p=3,s=t.v,t.n=4,m["a"].dispatch("user/resetToken");case 4:i["Message"].error(s||"Has Error"),a("/login?redirect=".concat(e.path)),T.a.done();case 5:t.n=7;break;case 6:-1!==B.indexOf(e.path)?a():(a("/login?redirect=".concat(e.path)),T.a.done());case 7:return t.a(2)}}),t,null,[[2,3]])})));return function(e,n,a){return t.apply(this,arguments)}}()),b["a"].afterEach((function(){T.a.done()}));var V=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ym-table",style:t.customStyle},[n("div",{staticClass:"table-opts"},[t._t("table-opts-left"),t.tableOptsJudge("add")?n("el-button",{attrs:{type:"primary",icon:"el-icon-plus",size:"small"},on:{click:t.handleAddRowItem}},[t._v(" 新增 ")]):t._e(),t.tableOptsJudge("reject")?n("el-button",{attrs:{loading:t.batchRejectLoading,type:"danger",size:"small"},on:{click:function(e){return t.handlesetStatus("reject")}}},[t._v(" 批量驳回 ")]):t._e(),t.tableOptsJudge("pass")?n("el-button",{attrs:{loading:t.batchPassLoading,type:"primary",size:"small"},on:{click:function(e){return t.handlesetStatus("pass")}}},[t._v(" 批量通过 ")]):t._e(),t.tableOptsJudge("import")?n("Excel2Table",{attrs:{options:t.tableOpts.import,apis:t.apis},on:{callback:t.handleTableImportCallback}}):t._e(),t.tableOptsJudge("download")?n("a",{staticClass:"el-button el-button--small",attrs:{href:t.comDownloadUrl,download:""}},[n("i",{staticClass:"el-icon-download"}),t._v(" 模板下载 ")]):t._e(),t.tableOptsJudge("export")?n("Table2Excel",{ref:"table2Excel",attrs:{options:t.tableOpts.export,"thead-map":t.tableOpts.export.theadMap,"thead-props":t.tableOpts.export.theadProps,"base-api":t.tableOpts.export.baseApi,"data-name":t.tableOpts.export.dataName,"tfoot-data":t.tableOpts.export.tfootData},on:{click:function(e){return t.handleExport()}}}):t._e(),t.tableOptsJudge("batchDelete")?n("el-tooltip",{attrs:{disabled:t.delTooltipAble,"popper-class":"button-del-tooltip",effect:"dark",content:"请选择要删除的数据",placement:"top"}},[t.selection?n("el-button",{attrs:{icon:"el-icon-delete",size:"small",loading:t.batchDeleteLoading,disabled:t.deleteLoading},on:{click:function(e){return e.stopPropagation(),t.handleBatchDelete()}}},[t._v("批量删除 ")]):t._e()],1):t._e(),t._t("table-opts"),n("div",{staticClass:"table-opts-right"},[t._t("table-opts-right")],2)],2),t.alertTip?n("el-alert",{staticStyle:{"margin-bottom":"8px",padding:"0"},attrs:{type:"warning","show-icon":"",title:t.alertTip,closable:!1}}):t._e(),t.columns.length>0?n("el-table",t._g(t._b({directives:[{name:"loading",rawName:"v-loading",value:t.listLoadingConfig,expression:"listLoadingConfig"}],key:t.tableKey,ref:"table"+t.tableKey,style:{width:"100%"},attrs:{id:"listTable"+t.tableKey,border:!1,"element-loading-text":"Loading","highlight-current-row":"",stripe:!1,height:"100%",data:t.listData},on:{"header-click":t.headerClick,"selection-change":t.handleSelectionChange}},"el-table",t.$attrs,!1),t.$listeners),[t.selection?n("el-table-column",{attrs:{type:"selection",width:"60",fixed:"left",align:"center",selectable:t.selectableFunc}}):t._e(),t.index?n("el-table-column",{attrs:{label:"序号","label-class-name":"indexClass","min-width":"80px",type:"index",fixed:"left",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.limit*(t.page-1)+(e.$index+1))+" ")]}}],null,!1,814819778)}):t._e(),t._l(t.columns,(function(e,a){return n("el-table-column",{key:a,attrs:{label:e.label,prop:e.prop,sortable:e.sortable,width:e.image?"100px":e.width,"min-width":"100px","max-width":"300px",align:"center",fixed:e.fixed},scopedSlots:t._u([{key:"default",fn:function(a){return e.children?void 0:[t._t(e.prop,[n("div",{class:{link:"link"===e.type},staticStyle:{"text-align":"center"},on:{mouseover:function(e){return e.stopPropagation(),t.handleMouseOver(e)}}},[n("el-tooltip",{attrs:{disabled:!t.showOverflowTooltip,"popper-class":"ym-table-tooltip",placement:"top",effect:"dark"}},[n("div",{staticClass:"ym-table-tooltip-content",attrs:{slot:"content"},domProps:{innerHTML:t._s(e.method?e.method(a.row):a.row[e.prop])},slot:"content"}),e.html?n("div",{domProps:{innerHTML:t._s(e.method?e.method(a.row):a.row[e.prop])}}):e.svgIcon?n("svg-icon",{staticClass:"type_icon",attrs:{"icon-class":e.method?e.method(a.row):a.row[e.prop]}}):e.link?n("div",[n("span",{staticStyle:{color:"#3a8ee6",cursor:"pointer"},on:{click:function(n){e.click?e.click(a.row):t.changeHtml()}}},[t._v(t._s(e.method?e.method(a.row):a.row[e.prop]))])]):e.image?n("div",[0===t.imageUrl(a.row[e.prop]).length?n("span",[t._v("--")]):n("el-image",{staticStyle:{width:"80px",height:"80px"},attrs:{"scroll-container":"#listTable"+t.tableKey+" .el-table__body-wrapper",lazy:!0,src:t.imageUrl(a.row[e.prop])[0],"preview-src-list":t.imageUrl(a.row[e.prop])}})],1):e.popover?n("div",[n("el-popover",{attrs:{trigger:"hover",placement:"top"}},[t._l(e.options,(function(e,i){return n("div",{directives:[{name:"show",rawName:"v-show",value:!e.vShow||e.vShow(a.row),expression:"option.vShow?option.vShow(scope.row):true"}],key:i},[t._v(" "+t._s(e.label)+": "+t._s(t.getValueByPath(a.row,e.value))+" ")])})),n("div",{staticClass:"name-wrapper",attrs:{slot:"reference"},slot:"reference"},[n("el-tag",{attrs:{type:e.tagType?e.tagType(a.row):"",size:"medium"}},[t._v(t._s(t.getValueByPath(a.row,e.props)||e.default))])],1)],2)],1):e.video?n("div",[""===a.row[e.prop]?n("span",[t._v("--")]):n("video",{staticStyle:{width:"150px",height:"80px"},attrs:{controls:"",src:a.row[e.prop]}},[n("source",{attrs:{src:a.row[e.prop],type:"video/mp4"}})])]):e.switch?n("div",[n("el-switch",{attrs:{disabled:!!e.disabled&&e.disabled(a.row),"active-color":"#13ce66","inactive-color":"#e2e2e3","active-value":e.activeValue,"inactive-value":e.inactiveValue,"active-text":e.activeText||"","inactive-text":e.inactiveText||""},on:{change:function(t){e.switchChange&&e.switchChange(a.row)}},model:{value:a.row[e.prop],callback:function(n){t.$set(a.row,e.prop,n)},expression:"scope.row[item.prop]"}})],1):e.method?n("div",{attrs:{contenteditable:"false",celleditable:e.input},on:{dblclick:function(n){return t.handleDbclickCell(n,e.input)},blur:function(n){return t.handleCellBlur(n,a.row,e)}}},[t._v(" "+t._s(e.method(a.row))+" ")]):e.options?n("div",[t._v(" "+t._s(t.renderOptions(a.row[e.prop],e.options))+" ")]):n("div",{attrs:{contenteditable:"false",celleditable:e.input},on:{dblclick:function(n){return t.handleDbclickCell(n,e.input)},blur:function(n){return t.handleCellBlur(n,a.row,e)}}},[t._v(" "+t._s(t.dealWithValue(a.row[e.prop]||"--"))+" ")])],1)],1)],{row:a.row})]}}],null,!0)},[n("template",{slot:"header"},[n("span",{domProps:{innerHTML:t._s(e.label)}})]),e.children?[t._l(e.children,(function(i){return[n("el-table-column",{attrs:{width:i.width||i.image?"100px":"","show-overflow-tooltip":!0,align:"center"},scopedSlots:t._u([{key:"default",fn:function(a){var r=a.row;return[t._t(i.prop,[n("div",{class:{link:"link"===i.type},staticStyle:{"text-align":"center"},on:{mouseover:function(e){return e.stopPropagation(),t.handleMouseOver(e)}}},[n("el-tooltip",{attrs:{disabled:!t.showOverflowTooltip,"popper-class":"ym-table-tooltip",placement:"top",effect:"dark"}},[n("div",{staticClass:"ym-table-tooltip-content",attrs:{slot:"content"},domProps:{innerHTML:t._s(e.method?e.method(r):r[i.prop])},slot:"content"}),i.html?n("p",{domProps:{innerHTML:t._s(r[i.prop])}}):i.image?n("div",[0===t.imageUrl(r[i.prop]).length?n("span",[t._v("--")]):n("el-image",{staticStyle:{width:"80px",height:"80px"},attrs:{"scroll-container":"#listTable"+t.tableKey+" .el-table__body-wrapper",lazy:!0,src:t.imageUrl(r[i.prop])[0],"preview-src-list":t.imageUrl(r[i.prop])}})],1):i.method?n("p",{attrs:{contenteditable:"false",celleditable:i.input},on:{dblclick:function(e){return t.handleDbclickCell(e,i.input)},blur:function(e){return t.handleCellBlur(e,r,i)}}},[t._v(" "+t._s(i.method(r))+" ")]):i.options?n("p",[t._v(" "+t._s(t.renderOptions(r[i.prop],i.options))+" ")]):n("p",{attrs:{contenteditable:"false",celleditable:i.input},on:{dblclick:function(e){return t.handleDbclickCell(e,i.input)},blur:function(e){return t.handleCellBlur(e,r,i)}}},[t._v(" "+t._s(t.dealWithValue(r[i.prop]||"--"))+" ")])])],1)],{row:r})]}}],null,!0)},[n("template",{slot:"header"},[n("span",{domProps:{innerHTML:t._s(i.label)}})]),t._l(i.children,(function(i){return n("el-table-column",{key:i.prop+a,attrs:{width:i.width||i.image?"100px":"","show-overflow-tooltip":!0,align:"center"},scopedSlots:t._u([{key:"default",fn:function(a){var r=a.row;return[t._t(i.prop,[n("div",{class:{link:"link"===i.type},staticStyle:{"text-align":"center"},on:{mouseover:function(e){return e.stopPropagation(),t.handleMouseOver(e)}}},[n("el-tooltip",{attrs:{disabled:!t.showOverflowTooltip,"popper-class":"ym-table-tooltip",placement:"top",effect:"dark"}},[n("div",{staticClass:"ym-table-tooltip-content",attrs:{slot:"content"},domProps:{innerHTML:t._s(e.method?e.method(r):r[i.prop])},slot:"content"}),i.html?n("p",{domProps:{innerHTML:t._s(r[i.prop])}}):i.image?n("div",[0===t.imageUrl(r[i.prop]).length?n("span",[t._v("--")]):n("el-image",{staticStyle:{width:"80px",height:"80px"},attrs:{"scroll-container":"#listTable"+t.tableKey+" .el-table__body-wrapper",lazy:!0,src:t.imageUrl(r[i.prop])[0],"preview-src-list":t.imageUrl(r[i.prop])}})],1):i.method?n("p",{attrs:{contenteditable:"false",celleditable:i.input},on:{dblclick:function(e){return t.handleDbclickCell(e,i.input)},blur:function(e){return t.handleCellBlur(e,r,i)}}},[t._v(" "+t._s(i.method(r))+" ")]):i.options?n("p",[t._v(" "+t._s(t.renderOptions(r[i.prop],i.options))+" ")]):n("p",{attrs:{contenteditable:"false",celleditable:i.input},on:{dblclick:function(e){return t.handleDbclickCell(e,i.input)},blur:function(e){return t.handleCellBlur(e,r,i)}}},[t._v(" "+t._s(t.dealWithValue(r[i.prop]||"--"))+" ")])])],1)],{row:r})]}}],null,!0)},[n("template",{slot:"header"},[n("span",{domProps:{innerHTML:t._s(i.label)}})])],2)}))],2)]}))]:t._e()],2)})),t.tableRowsActions&&t.tableRowsActions.length?n("el-table-column",{attrs:{label:"操作",fixed:"right",align:"center",width:t.tableRowsActions.length>=3?t.actionsWidth||"200":t.actionsWidth?t.actionsWidth:80*t.tableRowsActions.length},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[t._l(t.tableRowsActions,(function(e){return[!e.vIF||e.vIF(a)?n("el-button",{key:e.key,class:e.class,style:e.style,attrs:{type:e.type||"text",icon:e.icon,size:"small",disabled:!!e.disabled&&e.disabled(a)},on:{click:function(n){e.method?e.method(a):t.handleTableRowOpt(e.key,a)}}},[t._v(" "+t._s(e.setLabel?e.setLabel(a):e.label)+" ")]):t._e()]}))]}}],null,!1,963078665)}):t._e()],2):t._e(),t._t("table_footer"),0===t.columns.length?n("el-alert",{staticStyle:{height:"100%"},attrs:{title:"无表格配置数据",type:"warning",center:"",closable:!1,"show-icon":""}}):t._e(),t.columns.length>0&&t.isPage?n("el-pagination",{attrs:{background:"",layout:"total, prev, pager, next, jumper","page-size":t.limit,"page-sizes":[15,30,45,60],"current-page":t.page,total:t.totalPage},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}):t._e(),n("TableDetail",{ref:"tableDetail",attrs:{"detail-format":t.detailFormat,"detail-data":t.selectRow},model:{value:t.tableDetailDrawerVisible,callback:function(e){t.tableDetailDrawerVisible=e},expression:"tableDetailDrawerVisible"}}),n("TableEditor",{ref:"tableEditor",attrs:{"edit-form":t.editForm,"edit-data":t.selectRow,config:t.editConfig,apis:t.apiParams,"opt-type":t.optType},on:{onValueChange:t.editValueChange,callback:t.handleTableEditorCallback},scopedSlots:t._u([t._l(t.editForm[0]?t.editForm[0].body.filter((function(t){return t.custom})):[],(function(e){return{key:e.prop,fn:function(n){return[t._t(e.prop,null,null,n)]}}}))],null,!0),model:{value:t.tableEditorDrawerVisible,callback:function(e){t.tableEditorDrawerVisible=e},expression:"tableEditorDrawerVisible"}})],2)},$=[],H=n("a9da"),z=n("5ab0"),R=n("ff3d"),I=(n("637a"),n("e292"),n("17ee"),n("2153"),n("3739"),n("666b"),n("209c"),n("4786"),n("6d35"),n("d27c"),n("2d28"),n("b3c4"),n("86d6"),n("fddf"),n("b775")),U=function(){return n.e("chunk-b409ec92").then(n.bind(null,"c33a"))},N=function(){return n.e("chunk-0eaba360").then(n.bind(null,"40d8"))},F=function(){return n.e("chunk-2100bc84").then(n.bind(null,"2948"))},W={name:"YMTable",components:{TableDetail:F,TableEditor:N,Table2Excel:U},props:{tableKey:{type:[String,Number],default:1},loading:{type:Boolean,default:!1},customLoading:{type:Boolean,default:!0},customStyle:{type:[String,Object],default:function(){return{}}},summarySpan:{type:Array,default:function(){return[]}},tableOptions:{type:Object,default:function(){return{export:{show:!1,theadMap:{type:Array,default:function(){return[]}},theadProps:{type:Array,default:function(){}},tableData:{type:Array,default:function(){return[]}},tfootData:{type:Array,default:function(){return[]}},dataName:{type:String,default:"excel.xlsx"}}}}},selection:{type:Boolean,default:!1},selectableAction:{type:Function,default:function(){return!0}},index:{type:Boolean,default:!0},rowsActions:{type:Array,default:function(){return[]}},actionsWidth:{type:Number,default:null},columns:{type:Array,default:function(){return[]}},editForm:{type:Array,default:function(){return[]}},editConfig:{type:Object,default:function(){return{title:"",addTip:"",editTip:"",size:""}}},detailFormat:{type:Array,default:function(){return[]}},apis:{type:Object,default:function(){}},alertTip:{type:String,default:""},isPage:{type:Boolean,default:!0}},data:function(){return{optType:"add",showOverflowTooltip:!1,tableOpts:Object.assign({},{hideAll:!1,add:{show:!1},batchDelete:{show:!1},import:{show:!1},export:{show:!1},download:{show:!1,url:"/static/template.xlsx"}},this.tableOptions),tableRowsActions:[],apiParams:Object.assign({},{list:{url:"",params:{},dataParam:"data"},preivew:{},import:{},edit:{}},this.apis),selectionList:[],page:1,limit:15,totalPage:0,isExport:!1,listData:[],listLoading:!1,tableDetailDrawerVisible:!1,tableEditorDrawerVisible:!1,selectRow:{},batchDeleteLoading:!1,deleteLoading:!1,searchParams:{},batchPassLoading:!1,batchRejectLoading:!1}},computed:{listLoadingConfig:function(){return this.listLoading&&this.customLoading},removeHtml:function(){return function(t){return t}},selectableFunc:function(){var t=this;return function(e,n){return t.selectableAction(e,n)}},delTooltipAble:function(){return!!this.selectionList.length},formatImageUrl:function(){var t=this;return function(e){if(!e)return[];if("[]"===String(e))return"";if(String(e).indexOf("http")>-1)return e;if(!e)return[];"/"!==e.charAt(0)&&(e="/".concat(e));var n=t.apiParams.imgApi||Object({NODE_ENV:"production",VUE_APP_BASE_API:"",BASE_URL:""}).VUE_APP_BASE_IMG;return"".concat(n).concat(e)}},imageUrl:function(){var t=this;return function(e){if(!e)return[];if(Array.isArray(e)||(e=e.split(",")),String(e).includes("[]"))return[];if(Array.isArray(e))return e.map((function(e){return t.formatImageUrl(e)}))||[];if(String(e).includes("[")&&String(e).includes("]")&&!String(e).includes("[]")){if(!e)return[];var n=JSON.parse(e);if(!Array.isArray(n))return[];var a=n.map((function(e){return"object"===Object(R["a"])(e)?t.formatImageUrl(e.url):t.formatImageUrl(e)}));return console.log("🚀 表格显示的图片:",a),a}if(String(e).includes('""')){var i=e.replace('""',"");return t.imageUrl(i)}var r=String(e).split(",");r.includes("")&&r.splice(r.indexOf(""),1);var o=r.map((function(e){return t.formatImageUrl(String(e).includes("[]")?"":e)}))||[];return o}},comDownloadUrl:function(){var t;console.log("process.env.VUE_APP_BASE_DOWNLOAD",Object({NODE_ENV:"production",VUE_APP_BASE_API:"",BASE_URL:""}).VUE_APP_BASE_DOWNLOAD);var e=(null===(t=this.tableOpts)||void 0===t||null===(t=t.download)||void 0===t?void 0:t.prefix)||(void 0!==Object({NODE_ENV:"production",VUE_APP_BASE_API:"",BASE_URL:""}).VUE_APP_BASE_DOWNLOAD?Object({NODE_ENV:"production",VUE_APP_BASE_API:"",BASE_URL:""}).VUE_APP_BASE_DOWNLOAD:Object({NODE_ENV:"production",VUE_APP_BASE_API:"",BASE_URL:""}).VUE_APP_BASE_PREFIX);return e+this.tableOpts.download.url},tableOptsJudge:function(){var t=this;return function(e){var n=t.tableOpts[e];if(!n)return!1;var a=void 0!==n.show&&n.show;return a&&!t.tableOptions.hideAll}},renderOptions:function(){return function(t,e){var n;return e&&e.length&&(null===(n=e.find((function(e){return"string"===typeof t?String(e.value)===String(t):"number"===typeof t?Number(e.value)===Number(t):e.value===t})))||void 0===n?void 0:n.label)||t}},dealWithValue:function(){return function(t){return"number"===typeof t?parseFloat(Math.round(t*Math.pow(10,2))/Math.pow(10,2)):t}}},watch:{loading:function(t){this.listLoading=t},listData:{handler:function(t){var e=this;this.$refs["table"+this.tableKey]&&this.$nextTick((function(){if(e.$attrs["show-summary"]&&e.summarySpan.length){var t=document.querySelectorAll("#listTable"+e.tableKey+" .el-table__footer-wrapper tr>td"),n=document.querySelectorAll("#listTable"+e.tableKey+" .el-table__fixed-footer-wrapper tr>td");e.summarySpan.forEach((function(e,a){"object"===Object(R["a"])(e)?(t[a].colSpan=e.span,t[a].innerText=e.value,n[a].colSpan=e.span):e?(t[a].colSpan=e.span,n[a].colSpan=e.span):(t[a].style.display="none",n[a].style.display="none")}))}e.$refs["table"+e.tableKey].doLayout(),e.$refs["table"+e.tableKey].bodyWrapper.scrollTop=0}))},immediate:!0}},updated:function(){var t=this;this.$nextTick((function(){t.$refs["table"+t.tableKey]&&t.$refs["table"+t.tableKey].doLayout()}))},created:function(){var t,e,n;(console.log(this.$listeners,842),console.log("$slots",this.$slots,this.$attrs),this._dealWidthRowsActions(),null!==(t=this.apiParams)&&void 0!==t&&null!==(t=t.list)&&void 0!==t&&t.url&&[void 0,!0].includes(null===(e=this.apiParams)||void 0===e||null===(e=e.list)||void 0===e?void 0:e.init))&&this.getList(null===(n=this.apiParams)||void 0===n||null===(n=n.list)||void 0===n?void 0:n.Params)},methods:{getValueByPath:function(t,e){if(!t||!e)return"";var n="";if("string"===typeof e?n=e:Array.isArray(e)&&e.length>0&&(n=e[0]),!n)return"";var a,i=n.split("."),r=t,o=Object(z["a"])(i);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(null===r||void 0===r)return"";r=r[s]||"--"}}catch(l){o.e(l)}finally{o.f()}return void 0!==r&&null!==r?r:""},changeHtml:function(){},handleDbclickCell:function(t,e){e&&t.target.setAttribute("contenteditable",!0)},handleCellBlur:function(t,e,n){var a=Object(H["a"])({},n.prop,n.validate?n.validate(t.target.innerText):t.target.innerText);console.log(),"true"===t.target.contentEditable&&this.$emit("onTableEdit",a,Object.assign({},e,a)),t.target.setAttribute("contenteditable",!1)},editValueChange:function(t){this.$emit("onEditValueChange",t)},handleMouseOver:function(t){var e,n,a=null===(e=t.fromElement)||void 0===e||null===(e=e.childNodes[0])||void 0===e||null===(e=e.childNodes[0])||void 0===e?void 0:e.clientHeight,i=null===(n=t.fromElement)||void 0===n||null===(n=n.childNodes[0])||void 0===n||null===(n=n.childNodes[0])||void 0===n?void 0:n.scrollHeight;this.showOverflowTooltip=a0&&(e.searchParams=t),e._getList(t).then((function(t){e.listLoading=!1;var a=e._returnResponse(t),i=e._returnListData(t);e.$listeners.onResponse&&e.$emit("onResponse",a),e.isExport?(console.log("🚀 导出数据:",i),e.isExport=!1,e.$refs.table2Excel.exportToExcel(i)):(e.listData=i,e.totalPage=a.total,n(t))})).catch((function(t){e.isExport=!1,e.listLoading=!1,a(t)}))}))},_getList:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};null!==t&&void 0!==t&&t.page&&(this.page=t.page),console.log("🚀 查询列表参数:",t);var e=this.apiParams.list,n=e.url,a=e.params,i=void 0===a?{}:a,r=e.method,o=e.limit,s=void 0===o?"limit":o,l=e.page,c=void 0===l?"page":l,u={method:r||"GET",url:n};return t&&Object.keys(t).length&&Object.assign(i,t),"post"===String(r).toLocaleLowerCase()?Object.assign(u,{data:i}):(Object.assign(i,this.isExport?this.searchParams:{},Object(H["a"])(Object(H["a"])({},c,this.isExport?1:this.page),s,this.isExport?99999:this.limit)),Object.assign(u,{params:i})),new Promise((function(t,e){t(Object(I["a"])(u))}))},handlesetStatus:function(t){var e=this;if(0===this.selectionList.length)return this.$message.error("选择批量操作数据!");"pass"===t?this.$confirm("确定通过审核?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.setStatus(t)})):this.$prompt("请输入原因","提示",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/^\S+$/,inputErrorMessage:"请输入原因"}).then((function(n){var a=n.value;e.setStatus(t,a)}))},setStatus:function(t,e){var n=this,a=this.selectionList,i=this.apiParams[t],r=null===i||void 0===i?void 0:i.params,o=null===i||void 0===i?void 0:i.status,s=null===i||void 0===i?void 0:i.remark,l=null===i||void 0===i?void 0:i.statusValue,c="";if(null!==i&&void 0!==i&&i.additionParams&&i.additionParams.length&&(c=null===i||void 0===i?void 0:i.additionParams.map((function(t){return n.selectionList[t]})).join("/"),c="/"+c),null!==i&&void 0!==i&&i.url){var u={url:(null===i||void 0===i?void 0:i.url)+c,method:null===i||void 0===i?void 0:i.method};u=Object.assign({},u,{data:Object(H["a"])(Object(H["a"])(Object(H["a"])({},r||"ids",a),o,l),s,e)}),"pass"===t?this.batchPassLoading=!0:this.batchRejectLoading=!0,Object(I["a"])(u).then((function(){n.batchPassLoading=!1,n.batchRejectLoading=!1,n.getList(n.searchParams),n.$message({type:"success",message:"操作成功"})})).finally((function(){n.batchPassLoading=!1,n.batchRejectLoading=!1}))}else this.$message.error("url参数缺失!")},handleBatchDelete:function(){if(!this.delTooltipAble)return!1;this._optDelete("batchDelete",this.selectionList)},_optDelete:function(t,e){var n,a=this;this.$confirm("delete"===t?"确定删除该条数据吗?":'数据删除后不可恢复,是否确认删除所选'.concat(null===(n=this.selectionList)||void 0===n?void 0:n.length,"条数据?"),"温馨提示",{type:"warning",dangerouslyUseHTMLString:!0}).then((function(){var n="delete"===t?e.id:a.selectionList.join(",");if(a.$listeners["delete"])a.$emit("delete",n);else{var i=a.apiParams[t],r=null===i||void 0===i?void 0:i.params,o="";if(null!==i&&void 0!==i&&i.additionParams&&i.additionParams.length&&(o=null===i||void 0===i?void 0:i.additionParams.map((function(t){return e[t]})).join("/"),o="/"+o),null===i||void 0===i||!i.url)return void a.$message.error("url参数缺失!");var s={url:(null===i||void 0===i?void 0:i.url)+o,method:(null===i||void 0===i?void 0:i.method)||"delete"};s=Object.assign({},s,{data:Object(H["a"])({},r||"id",n)}),"batchDelete"===t&&(a.batchDeleteLoading=!0),a.deleteLoading=!0,Object(I["a"])(s).then((function(){var e;a.deleteLoading=!1,a.batchDeleteLoading=!1,a.$message({type:"success",message:"删除成功"});var n=a.listData.length,r="delete"===t?1:null===(e=a.selectionList)||void 0===e?void 0:e.length;n-r>0?a.handleCurrentChange(a.page):a.page>1?a.handleCurrentChange(a.page-1):a.handleCurrentChange(1),null===i||void 0===i||i.callback()})).finally((function(){a.deleteLoading=!1,a.batchDeleteLoading=!1}))}}))},handleTableRowOpt:function(t,e){console.log("🚀 表格当前操作行:",t,e),this.selectRow=e,"edit"===t?(this.optType="edit",this.tableEditorDrawerVisible=!0):"delete"===t?this._optDelete("delete",e):"detail"===t?(this.$emit("detail",e),this.tableDetailDrawerVisible=!0):"preview"===t?this.tableEditorDrawerVisible=!0:console.log("🚀 表格操作行:",e)},handleAddRowItem:function(){var t,e,n,a;null!==(t=this.tableOpts)&&void 0!==t&&null!==(t=t.add)&&void 0!==t&&t.method?null===(e=this.tableOpts)||void 0===e||null===(e=e.add)||void 0===e||e.method():(this.selectRow=null!==(n=this.tableOpts)&&void 0!==n&&null!==(n=n.add)&&void 0!==n&&n.initData?null===(a=this.tableOpts)||void 0===a||null===(a=a.add)||void 0===a?void 0:a.initData():{},this.optType="add",this.tableEditorDrawerVisible=!0)}}},G=W,q=(n("e51c"),n("2c83"),Object(p["a"])(G,V,$,!1,null,"120292a6",null)),K=q.exports,J=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ym-table-search",attrs:{id:"ym-table-search"}},[n("div",{staticClass:"main-content"},[n("el-form",{ref:"form",attrs:{model:t.form,"label-width":"78px",inline:!1,size:"small"}},[n("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[t._l(t.renderSearchForm,(function(e,a){return n("div",{key:a},["button"===e.type?n("el-button",{attrs:{type:e.danger?"danger":"primary",size:"small"},on:{click:e.method}},[t._v(t._s(e.text))]):t._e(),n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:!e.isHide,expression:"!item.isHide"}],attrs:{"label-width":e.labelWidth,label:e.label,prop:e.prop,required:e.required}},["input"===e.type?n("el-input",{staticStyle:{width:"150px","margin-right":"16px"},attrs:{placeholder:e.placeholder||"请输入"+e.label,clearable:t.clearable(e)},model:{value:t.form[e.prop],callback:function(n){t.$set(t.form,e.prop,n)},expression:"form[item.prop]"}}):t._e(),"select"===e.type?n("el-select",{staticStyle:{width:"150px","margin-right":"16px"},attrs:{placeholder:e.placeholder||"请选择"+e.label,clearable:t.clearable(e)},on:{change:function(n){e.method&&e.method(t.form[e.prop])}},model:{value:t.form[e.prop],callback:function(n){t.$set(t.form,e.prop,n)},expression:"form[item.prop]"}},t._l(e.options,(function(t,e){return n("el-option",{key:t.value+""+e,attrs:{label:t.label,value:t.value}})})),1):t._e(),n("div",{staticStyle:{"margin-right":"16px"}},[t.isDateType(e.type)?n("el-date-picker",{style:{width:"datetimerange"===e.type||"daterange"===e.type?"230px":"150px"},attrs:{"value-format":e.valueFormat||t.dateValueFormat(e.type),format:e.format,type:e.type,placeholder:e.placeholder||"请选择"+e.label,"start-placeholder":e.startPlaceholder||"开始日期","end-placeholder":e.endPlaceholder||"结束日期",clearable:t.clearable(e)},model:{value:t.form[e.prop],callback:function(n){t.$set(t.form,e.prop,n)},expression:"form[item.prop]"}}):t._e()],1),"cascader"===e.type?n("el-cascader",{ref:"areaCascader",refInFor:!0,staticStyle:{width:"150px","margin-right":"16px"},attrs:{options:e.options||t.areaOptions,clearable:t.clearable(e),filterable:"",props:Object.assign({expandTrigger:"hover",checkStrictly:!0,label:"label",value:"value",children:"children"},e.props)},on:{change:function(n){return t.onAreaChange(n,e.prop)}},model:{value:t.form[e.prop],callback:function(n){t.$set(t.form,e.prop,n)},expression:"form[item.prop]"}}):t._e(),e.slotName&&"slot"===e.type?t._t(e.slotName,null,{form:t.form,formItem:t.form[e.prop]}):t._e()],2)],1)})),t.renderSearchForm.length?n("el-col",{staticClass:"opts-item",staticStyle:{"margin-left":"auto"},attrs:{span:2}},[n("el-form-item",{staticClass:"opts-item-btns",class:{"flex-start":1===t.renderSearchForm.length}},[n("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:t.onSubmit}},[t._v("查询")]),t.renderSearchForm.length>1?n("el-button",{on:{click:t.onReset}},[t._v("重置")]):t._e()],1)],1):n("el-col",{staticStyle:{"padding-bottom":"20px"},attrs:{span:24}},[n("el-alert",{attrs:{title:"无表单数据",type:"warning",center:"",closable:!1,"show-icon":""}})],1)],2)])],1),n("div",{staticClass:"extra-content"},[t._t("extra")],2)])},Z=[],Y=n("253c"),X=n("639f"),Q=(n("e491"),n("d9d9"),{name:"YMTableSearch",props:{searchForm:{type:Array,default:function(){return[]}},loading:{type:Boolean,default:!1}},data:function(){return{initFlag:!0,dropdownAction:!1,form:{},areaOptions:[],areaListProp:"",searchHeight:0,optsCols:24,cancalDebounce:null}},computed:{clearable:function(){return function(t){return void 0===t.clearable||t.clearable}},actionCols:function(){return this.optsCols},isDateType:function(){return function(t){return-1!=="year/month/date/dates/months/years/week/datetime/datetimerange/daterange/monthrange".indexOf(t)}},dateValueFormat:function(){return function(t){var e={year:"yyyy",month:"yyyy-MM",date:"yyyy-MM-dd",dates:"yyyy-MM-dd",months:"yyyy-MM",years:"yyyy",week:"yyyy-ww",datetime:"yyyy-MM-dd HH:mm:ss",datetimerange:"yyyy-MM-dd HH:mm:ss",daterange:"yyyy-MM-dd"};return e[t]}},searchFormNum:function(){return this.renderSearchForm.length},colSpan:function(){if(!this.renderSearchForm)return this.$message.warning("请配置查询表单"),24;var t=3-this.searchFormNum%3;return 8*t},renderSearchForm:function(){return this.searchForm.filter((function(t,e){return Object(X["a"])({},t)}))}},watch:{form:{handler:function(t){this.$emit("onValueChange",t)},deep:!0}},mounted:function(){this.getWindowInfo(),window.addEventListener("resize",this.cancalDebounce)},beforeDestroy:function(){window.removeEventListener("resize",this.cancalDebounce)},created:function(){this.initData();var t=this.renderSearchForm.find((function(t){return t.isArea}));t&&(console.log("🚀 获取区域数据……"),this.areaList(t)),this.cancalDebounce=this.debounce(this.getWindowInfo,500),window.addEventListener("resize",this.cancalDebounce),this.getWindowInfo()},methods:{getWindowInfo:function(){var t=document.body.getBoundingClientRect(),e=t.width;this.optsCols=e<768?this.freeSpace(2):e>=768&&e<1920?this.freeSpace(3):this.freeSpace(4),this.initFlag?this.initFlag=!1:console.log("刷新")},freeSpace:function(t){var e=this.renderSearchForm.length,n=e%t,a=24/t,i=24-n*a;return i},debounce:function(t,e){var n;return function(){n&&clearTimeout(n),n=setTimeout((function(){t()}),e)}},initData:function(){this.form=Object.assign.apply(Object,[{}].concat(Object(Y["a"])(this.searchForm.map((function(t){return Object(H["a"])({},t.prop,t.default||"")}))))),console.table("🚀 初始化查询参数:",this.searchForm,this.form)},onSubmit:function(){var t=Object.assign({},this.form,{page:1});this.$emit("submit",t)},resetFields:function(){console.log("🚀 重置查询"),this.$refs.form.resetFields()},onReset:function(){this.resetFields(),this.onSubmit()},areaList:function(t){var e=this,n=t.isArea;[!0,1,2,3,4,5].includes(n)?Object(I["a"])({url:"/lv/area_list",method:"get",params:{type:!0===n?4:n}}).then((function(a){[!0,4].includes(n)?e.areaOptions=e.areaOptions.concat(a.data[0].children):[1,2,3].includes(n)&&(e.areaOptions=e.areaOptions.concat(a.data),[1,3].includes(n)&&(e.cascaderProps=Object.assign({},e.cascaderProps,{label:"name",value:"id"}))),null!==t&&void 0!==t&&t.areaOptions&&(e.areaOptions=[].concat(Object(Y["a"])(null===t||void 0===t?void 0:t.areaOptions),Object(Y["a"])(e.areaOptions)))})):this.$message.error("请设置isArea为1/2/3/4/5/true")},onAreaChange:function(t,e){console.log("🚀 区域变化值:",t,e),this.form[e]=t},getAreaValue:function(){if(this.$refs.areaCascader)return this.$refs.areaCascader[0].getCheckedNodes()}}}),tt=Q,et=(n("2558"),Object(p["a"])(tt,J,Z,!1,null,"6871ef5c",null)),nt=et.exports;n("7cce"),n("e901"),n("5fd8"),n("5889"),n("9826"),n("7acf");function at(t){if(!t)return"-";function e(t){return t>9?t:"0"+t}var n=new Date(t);console.log("时间",n);var a=n.getFullYear(),i=e(n.getMonth()+1),r=e(n.getDate()),o=n.getHours();o=e(o);var s=e(n.getMinutes()),l=e(n.getSeconds()),c=a+"-"+i+"-"+r+" "+o+":"+s+":"+l;return c}function it(t,e){if(0===arguments.length||!t)return null;var n,a=e||"{y}-{m}-{d} {h}:{i}:{s}";"object"===Object(R["a"])(t)?n=t:("string"===typeof t&&(t=/^[0-9]+$/.test(t)?parseInt(t):t.replace(new RegExp(/-/gm),"/")),"number"===typeof t&&10===t.toString().length&&(t*=1e3),n=new Date(t));var i={y:n.getFullYear(),m:n.getMonth()+1,d:n.getDate(),h:n.getHours(),i:n.getMinutes(),s:n.getSeconds(),a:n.getDay()},r=a.replace(/{([ymdhisa])+}/g,(function(t,e){var n=i[e];return"a"===e?["日","一","二","三","四","五","六"][n]:n.toString().padStart(2,"0")}));return r}a["default"].prototype.$parseTime=it,a["default"].prototype.$utcToBeijing=at,a["default"].component("YMTable",K),a["default"].component("YMTableSearch",nt),a["default"].use(r.a,{locale:s.a}),a["default"].config.productionTip=!1,new a["default"]({el:"#app",router:b["a"],store:m["a"],render:function(t){return t(h)}})},"591a":function(t,e,n){"use strict";n("4e67")},"5f87":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return l}));var a=n("39a4"),i=n.n(a),r="Bearer ";function o(){return i.a.get(r)}function s(t){return i.a.set(r,t)}function l(){return i.a.remove(r)}},6110:function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-empt",use:"icon-empt-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);e["default"]=s},"61f7":function(t,e,n){"use strict";n.d(e,"a",(function(){return C}));n("8802"),n("639f"),n("41cd1"),n("0f5d"),n("e292"),n("0401"),n("d27c"),n("5889"),n("b775"),n("b1be");var a=n("8b20"),i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Dialog",{ref:"dialog",attrs:{"dialog-actions":{width:t.width,title:t.title}},on:{confirm:t.handleConfirm,cancel:t.handleCancel},scopedSlots:t._u([{key:"content",fn:function(){return[n("div",{staticClass:"confirm-content"},[t.message?n("p",{staticClass:"tip-message"},[t._v(t._s(t.message))]):t._e(),n("el-input",{class:{"error-border":t.showError},attrs:{type:"textarea",rows:5,placeholder:t.placeholder},on:{input:t.handleInput},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}}),n("transition",{attrs:{name:"el-zoom-in-top"}},[t.showError?n("p",{staticClass:"error-msg"},[t._v(t._s(t.errorMessage))]):t._e()])],1)]},proxy:!0}])})},r=[],o=n("a9da"),s=(n("066b"),n("9039")),l={name:"InputConfirmDialog",components:{Dialog:s["a"]},props:{prop:{type:String,default:"inputValue"},visible:{type:Boolean,default:!1},title:{type:String,default:"提示"},width:{type:String,default:"620px"},message:String,placeholder:{type:String,default:"请输入确认内容"},errorMessage:{type:String,default:"输入内容不能为空"},validate:{type:Function,default:function(t){return t.trim().length>0}}},data:function(){return{inputValue:"",showError:!1}},watch:{visible:{immediate:!0,handler:function(t){var e=this;this.$nextTick((function(){t?e.$refs.dialog.open():e.$refs.dialog.close(),t||e.resetState()}))}}},methods:{handleInput:function(){this.showError=!this.validate(this.inputValue)},handleConfirm:function(){if(this.validate(this.inputValue)){var t=Object(o["a"])({},this.prop,this.inputValue);this.$emit("confirm",t),this.closeDialog()}else this.showError=!0},handleCancel:function(){this.$emit("cancel"),this.closeDialog()},resetState:function(){this.inputValue="",this.showError=!1},closeDialog:function(){this.resetState(),this.$emit("update:visible",!1)}}},c=l,u=(n("9f61"),n("1805")),d=Object(u["a"])(c,i,r,!1,null,"bf345dbe",null),p=d.exports,f=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Dialog",{ref:"dialog",staticClass:"report-dialog",attrs:{"dialog-actions":{width:t.width,title:t.title,confirmButtom:!1}},scopedSlots:t._u([{key:"content",fn:function(){return[n("div",{staticClass:"dialog-content"},[n("div",{staticClass:"report-header"},[n("div",{staticClass:"reporter"},[n("span",{staticClass:"label"},[t._v("举报者:")]),n("span",{staticClass:"value"},[t._v("用户_123456")])]),n("div",{staticClass:"reported"},[n("span",{staticClass:"label"},[t._v("被举报者:")]),n("span",{staticClass:"value"},[t._v("用户_654321")])])]),n("div",{staticClass:"report-content"},[n("div",{staticClass:"content-title"},[t._v("举报内容")]),n("div",{staticClass:"content-box"},[t._v(t._s(t.inputValue))])]),n("div",{staticClass:"image-section"},[n("div",{staticClass:"subtitle"},[t._v("图片说明")]),n("div",{staticClass:"image-list"},[n("el-image",{staticClass:"evidence-image",attrs:{src:"https://cube.elemecdn.com/6/94/4d3ea53c084bad6931a56d5158a48jpeg.jpeg","preview-src-list":["https://cube.elemecdn.com/6/94/4d3ea53c084bad6931a56d5158a48jpeg.jpeg"],fit:"cover"}},[n("div",{staticClass:"image-error",attrs:{slot:"error"},slot:"error"},[n("i",{staticClass:"el-icon-picture-outline"})])])],1)])])]},proxy:!0}])})},h=[],m={components:{Dialog:s["a"]},props:{prop:{type:String,default:"xxxx"},visible:{type:Boolean,default:!1},title:{type:String,default:"提示"},width:{type:String,default:"620px"},inputValue:{type:String,default:"举报内容举报内容举报内容举报内容"}},watch:{visible:{immediate:!0,handler:function(t){var e=this;this.$nextTick((function(){t?e.$refs.dialog.open():e.$refs.dialog.close()}))}}}},b=m,g=(n("8bfd"),Object(u["a"])(b,f,h,!1,null,"2d5e46f5",null)),v=g.exports,w=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Dialog",{ref:"dialog",staticClass:"report-dialog",attrs:{"dialog-actions":{title:t.title,width:t.width,confirmButtom:!1}}},[n("template",{slot:"content"},[n("div",{staticClass:"dialog-content"},[n("div",{staticClass:"report-header"},[n("div",{staticClass:"reporter"},[n("span",{staticClass:"label"},[t._v("被举报者:")]),n("span",{staticClass:"value"},[t._v("用户_654321")])]),n("div",{staticClass:"reported"},[n("span",{staticClass:"label"},[t._v("被举报单号:")]),n("span",{staticClass:"value"},[t._v("654321")])])]),n("div",{staticClass:"report-content"},[n("div",{staticClass:"content-title"},[t._v("受理内容")]),n("div",{staticClass:"content-box"},[t._v(t._s(t.inputValue))])])])])],2)},y=[],O={name:"InputConfirmDialog",components:{Dialog:s["a"]},props:{prop:{type:String,default:"xxxx"},visible:{type:Boolean,default:!1},title:{type:String,default:"提示"},width:{type:String,default:"620px"}},data:function(){return{inputValue:"受理内容受理内容受理内容"}},watch:{visible:function(t){t?this.$refs.dialog.open():this.$refs.dialog.close()}},methods:{}},x=O,k=(n("a495"),Object(u["a"])(x,w,y,!1,null,"6fa33a1e",null)),_=k.exports;a["default"].extend(v),a["default"].extend(_),a["default"].extend(p);function C(t){return/^(https?:|mailto:|tel:)/.test(t)}},"62c8":function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-Android",use:"icon-Android-usage",viewBox:"0 0 20 20",content:'\r\n\r\n'});o.a.add(s);e["default"]=s},"6dcd":function(t,e,n){},"71a0":function(t,e,n){"use strict";n("f77d")},"72a9":function(t,e,n){},7345:function(t,e,n){},"783d":function(t,e,n){},"7e1e":function(t,e,n){"use strict";n.d(e,"A",(function(){return i})),n.d(e,"Ib",(function(){return r})),n.d(e,"Hb",(function(){return o})),n.d(e,"fb",(function(){return s})),n.d(e,"gb",(function(){return l})),n.d(e,"Jb",(function(){return c})),n.d(e,"Cb",(function(){return u})),n.d(e,"mb",(function(){return d})),n.d(e,"pb",(function(){return p})),n.d(e,"e",(function(){return f})),n.d(e,"hb",(function(){return h})),n.d(e,"O",(function(){return m})),n.d(e,"d",(function(){return b})),n.d(e,"c",(function(){return g})),n.d(e,"R",(function(){return v})),n.d(e,"Q",(function(){return w})),n.d(e,"eb",(function(){return y})),n.d(e,"p",(function(){return O})),n.d(e,"B",(function(){return x})),n.d(e,"C",(function(){return k})),n.d(e,"E",(function(){return _})),n.d(e,"ab",(function(){return C})),n.d(e,"bb",(function(){return j})),n.d(e,"Z",(function(){return S})),n.d(e,"Y",(function(){return E})),n.d(e,"Ab",(function(){return T})),n.d(e,"D",(function(){return A})),n.d(e,"Eb",(function(){return L})),n.d(e,"Db",(function(){return P})),n.d(e,"U",(function(){return D})),n.d(e,"a",(function(){return M})),n.d(e,"Kb",(function(){return B})),n.d(e,"Bb",(function(){return V})),n.d(e,"zb",(function(){return $})),n.d(e,"Lb",(function(){return H})),n.d(e,"g",(function(){return z})),n.d(e,"z",(function(){return R})),n.d(e,"P",(function(){return I})),n.d(e,"b",(function(){return U})),n.d(e,"N",(function(){return N})),n.d(e,"i",(function(){return F})),n.d(e,"S",(function(){return W})),n.d(e,"m",(function(){return G})),n.d(e,"f",(function(){return q})),n.d(e,"L",(function(){return K})),n.d(e,"K",(function(){return J})),n.d(e,"rb",(function(){return Z})),n.d(e,"ob",(function(){return Y})),n.d(e,"kb",(function(){return X})),n.d(e,"j",(function(){return Q})),n.d(e,"T",(function(){return tt})),n.d(e,"Fb",(function(){return et})),n.d(e,"Gb",(function(){return nt})),n.d(e,"ub",(function(){return at})),n.d(e,"I",(function(){return it})),n.d(e,"J",(function(){return rt})),n.d(e,"H",(function(){return ot})),n.d(e,"yb",(function(){return st})),n.d(e,"Mb",(function(){return lt})),n.d(e,"M",(function(){return ct})),n.d(e,"sb",(function(){return ut})),n.d(e,"tb",(function(){return dt})),n.d(e,"s",(function(){return pt})),n.d(e,"vb",(function(){return ft})),n.d(e,"r",(function(){return ht})),n.d(e,"wb",(function(){return mt})),n.d(e,"qb",(function(){return bt})),n.d(e,"q",(function(){return gt})),n.d(e,"l",(function(){return vt})),n.d(e,"lb",(function(){return wt})),n.d(e,"n",(function(){return yt})),n.d(e,"X",(function(){return Ot})),n.d(e,"W",(function(){return xt})),n.d(e,"V",(function(){return kt})),n.d(e,"xb",(function(){return _t})),n.d(e,"db",(function(){return Ct})),n.d(e,"o",(function(){return jt})),n.d(e,"t",(function(){return St})),n.d(e,"nb",(function(){return Et})),n.d(e,"v",(function(){return Tt})),n.d(e,"u",(function(){return At})),n.d(e,"cb",(function(){return Lt})),n.d(e,"w",(function(){return Pt})),n.d(e,"G",(function(){return Dt})),n.d(e,"y",(function(){return Mt})),n.d(e,"x",(function(){return Bt})),n.d(e,"F",(function(){return Vt})),n.d(e,"k",(function(){return $t})),n.d(e,"jb",(function(){return Ht})),n.d(e,"h",(function(){return zt})),n.d(e,"ib",(function(){return Rt}));var a=n("b775");function i(t){return Object(a["a"])({url:"home",method:"get",params:t})}function r(t){return Object(a["a"])({url:"wallet/topUp",method:"post",data:t})}function o(t){return Object(a["a"])({url:"wallet/debiting",method:"post",data:t})}function s(t){return Object(a["a"])({url:"room/completed",method:"post",data:t})}function l(t){return Object(a["a"])({url:"room/setScore",method:"post",data:t})}function c(t){return Object(a["a"])({url:"withdraw/setStatus",method:"post",data:t})}function u(t){return Object(a["a"])({url:"wallet/verifyRecharge",method:"post",data:t})}function d(t){return Object(a["a"])({url:"setPassword",method:"post",data:t})}function p(t){return Object(a["a"])({url:"user/setPassword ",method:"post",data:t})}function f(t){return Object(a["a"])({url:"config/set",method:"post",data:t})}function h(t){return Object(a["a"])({url:"config/sendChannelMessage",method:"post",data:t})}function m(t){return Object(a["a"])({url:"menu/check",method:"post",data:{uri:t}})}function b(t){return Object(a["a"])({url:"config/getAll",method:"get",params:t})}function g(t){return Object(a["a"])({url:"/config/get",method:"get",params:t})}function v(t){return Object(a["a"])({url:"menu/mineMenu",method:"get",params:t})}function w(t){return Object(a["a"])({url:"menu/tree",method:"get",params:t})}function y(t){return Object(a["a"])({url:"role/all",method:"get",params:t})}function O(t){return Object(a["a"])({url:"wallet/getPendingTasks",method:"get",params:t})}function x(t){return Object(a["a"])({url:"issue/betting",method:"post",data:t})}function k(t){return Object(a["a"])({url:"issue/close",method:"post",data:t})}function _(t){return Object(a["a"])({url:"issue/lotteryDraw",method:"post",data:t})}function C(t){return Object(a["a"])({url:"pcIssue/preDraw",method:"post",data:t})}function j(t){return Object(a["a"])({url:"rebate/submit",method:"post",data:t})}function S(t){return Object(a["a"])({url:"config/pc28Switch",method:"post",data:t})}function E(t){return Object(a["a"])({url:"config/setField",method:"post",data:t})}function T(t){return Object(a["a"])({url:"/user/merge",method:"post",data:t})}function A(t){return Object(a["a"])({url:"issue/failure",method:"post",data:t})}function L(t){return Object(a["a"])({url:"wallet/bankList",method:"get",params:t})}function P(t){return Object(a["a"])({url:"wallet/address",method:"get",params:t})}function D(t){return Object(a["a"])({url:"paymentOrder/check",method:"get",params:t})}function M(t){return Object(a["a"])({url:"paymentOrder/audit",method:"post",data:t})}function B(t){return Object(a["a"])({url:"withdraw/setNote",method:"post",data:t})}function V(t){return Object(a["a"])({url:"user/setNote",method:"post",data:t})}function $(t){return Object(a["a"])({url:"user/banned",method:"post",data:t})}function H(t){return Object(a["a"])({url:"withdraw/setRmbNote",method:"post",data:t})}function z(t){return Object(a["a"])({url:"ActivityUser/finish",method:"post",data:t})}function R(t){return Object(a["a"])({url:"ActivityUser/gift",method:"post",data:t})}function I(t){return Object(a["a"])({url:"menu/submit",method:"post",data:t})}function U(t){return Object(a["a"])({url:"backflow/grant",method:"post",data:t})}function N(t){return Object(a["a"])({url:"menu/all",method:"get",params:t})}function F(t){return Object(a["a"])({url:"wallet/getChangeTypes",method:"get",params:t})}function W(t){return Object(a["a"])({url:"operation/index",method:"get",params:t})}function G(t){return Object(a["a"])({url:"order/info",method:"get",params:t})}function q(t){return Object(a["a"])({url:"banner/delete",method:"get",params:t})}function K(t){return Object(a["a"])({url:"lhcNumber/list",method:"get",params:t})}function J(t){return Object(a["a"])({url:"lhcOrder/info",method:"get",params:t})}function Z(t){return Object(a["a"])({url:"sport/info",method:"get",params:t})}function Y(t){return Object(a["a"])({url:"sport/setStatus",method:"post",data:t})}function X(t){return Object(a["a"])({url:"sport/setOddsLocked",method:"post",data:t})}function Q(t){return Object(a["a"])({url:"sport/getFixtures",method:"post",data:t})}function tt(t){return Object(a["a"])({url:"order/refund",method:"post",data:t})}function et(t){return Object(a["a"])({url:"wallet/orderDebiting",method:"post",data:t})}function nt(t){return Object(a["a"])({url:"wallet/orderTopUp",method:"post",data:t})}function at(t){return Object(a["a"])({url:"sport/setValuesLocked",method:"post",data:t})}function it(t){return Object(a["a"])({url:"level/list",method:"get",params:t})}function rt(t){return Object(a["a"])({url:"level/update",method:"post",data:t})}function ot(t){return Object(a["a"])({url:"level/delete",method:"get",params:t})}function st(t){return Object(a["a"])({url:"user/loginLog",method:"get",params:t})}function lt(t){return Object(a["a"])({url:"yuebao/log",method:"get",params:t})}function ct(t){return Object(a["a"])({url:"lhcNumber/setOdds",method:"post",data:t})}function ut(t){return Object(a["a"])({url:"sport/oddsList",method:"get",params:t})}function dt(t){return Object(a["a"])({url:"sport/setOdds",method:"post",data:t})}function pt(t){return Object(a["a"])({url:"rechargeChannel/list",method:"get",params:t})}function ft(t){return Object(a["a"])({url:"rechargeChannel/update",method:"post",data:t})}function ht(t){return Object(a["a"])({url:"rechargeChannel/groupList",method:"get",params:t})}function mt(t){return Object(a["a"])({url:"rechargeChannel/updateGroup",method:"post",data:t})}function bt(t){return Object(a["a"])({url:"user/setRechargeChannelGroup",method:"post",data:t})}function gt(t){return Object(a["a"])({url:"rechargeChannel/getChannel",method:"get",params:t})}function vt(t){return Object(a["a"])({url:"lhcLottery/list",method:"get",params:t})}function wt(t){return Object(a["a"])({url:"lhcLottery/setAdvanceCode",method:"post",data:t})}function yt(t){return Object(a["a"])({url:"paymentOrder",method:"get",params:t})}function Ot(t){return Object(a["a"])({url:"paymentOrder/setPayData",method:"post",data:t})}function xt(t){return Object(a["a"])({url:"paymentOrder/manualAudit",method:"post",data:t})}function kt(t){return Object(a["a"])({url:"paymentOrder/audit",method:"post",data:t})}function _t(t){return Object(a["a"])({url:"withdraw/setIsLocked",method:"post",data:t})}function Ct(t){return Object(a["a"])({url:"paymentOrder/setIsLocked",method:"post",data:t})}function jt(t){return Object(a["a"])({url:"paymentOrder/unProcessed",method:"get",params:t})}function St(t){return Object(a["a"])({url:"sportGame/list",method:"get",params:t})}function Et(t){return Object(a["a"])({url:"sportGame/setOdds",method:"post",data:t})}function Tt(t){return Object(a["a"])({url:"sportGameOrder/list",method:"get",params:t})}function At(t){return Object(a["a"])({url:"sportGameOrder/info",method:"get",params:t})}function Lt(t){return Object(a["a"])({url:"sportGameOrder/refund",method:"post",data:t})}function Pt(t){return Object(a["a"])({url:"jisuGame/list",method:"get",params:t})}function Dt(t){return Object(a["a"])({url:"jisuGame/setOdds",method:"post",data:t})}function Mt(t){return Object(a["a"])({url:"jisuGameOrder/list",method:"get",params:t})}function Bt(t){return Object(a["a"])({url:"jisuGameOrder/info",method:"get",params:t})}function Vt(t){return Object(a["a"])({url:"jisuGameOrder/refund",method:"post",data:t})}function $t(t){return Object(a["a"])({url:"jisuLottery/list",method:"get",params:t})}function Ht(t){return Object(a["a"])({url:"jisuLottery/setAdvanceCode",method:"post",data:t})}var zt=function(t){return Object(a["a"])({url:"config/gameList",method:"get",params:t})},Rt=function(t){return Object(a["a"])({url:"config/setField",method:"post",data:t})}},"825c":function(t,e,n){},"83d6":function(t,e){t.exports={title:"Vue Admin Template",fixedHeader:!1,sidebarLogo:!1}},"86e5":function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-useragency",use:"icon-useragency-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);e["default"]=s},"8bfd":function(t,e,n){"use strict";n("a0e4")},"8dd0":function(t,e,n){"use strict";n("825c")},9039:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dialog",t._g(t._b({attrs:{visible:t.visible,width:t.actions.width,modal:t.actions.modal},on:{"update:visible":function(e){t.visible=e}}},"el-dialog",t.$attrs,!1),t.$listeners),[n("template",{slot:"title"},[n("div",{staticClass:"title"},[t._v(t._s(t.actions.title))])]),n("span",[t._t("content")],2),t.actions.buttom?n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t.actions.cancelButtom?n("el-button",{on:{click:t.close}},[t._v(" "+t._s(t.actions.buttonTextLeft))]):t._e(),t.actions.confirmButtom?n("el-button",{attrs:{loading:t.loading,type:"primary"},on:{click:t.handleSubmit}},[t._v(t._s(t.actions.buttonTextRight))]):t._e()],1):t._e()],2)},i=[],r=n("639f"),o={props:{dialogActions:{type:Object,default:function(){return{}}},loading:{type:Boolean,default:!1}},data:function(){return{visible:!1,actions:Object.assign(Object(r["a"])({title:"提示",editTip:"",width:"1080px",buttom:!0,confirmButtom:!0,cancelButtom:!0,buttonTextLeft:"取消",buttonTextRight:"确定",modal:!0},this.dialogActions))}},mounted:function(){},created:function(){},methods:{open:function(){this.visible=!0,this.$emit("update:visible",!0)},close:function(){this.visible=!1,this.$emit("update:visible",!1)},handleSubmit:function(){this.$emit("confirm")}}},s=o,l=(n("bc88"),n("1805")),c=Object(l["a"])(s,a,i,!1,null,"251c7193",null);e["a"]=c.exports},"93cd":function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);e["default"]=s},"9f61":function(t,e,n){"use strict";n("458a")},a0e4:function(t,e,n){},a18c:function(t,e,n){"use strict";n.d(e,"b",(function(){return Rt}));n("0401"),n("b3c4"),n("e7bb");var a,i,r=n("8b20"),o=n("e789"),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-wrapper",class:t.classObj},["mobile"!==t.device&&t.sidebar.opened?n("div",{staticClass:"theTitle"},[t._v("后台管理")]):t._e(),"mobile"===t.device&&t.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:t.handleClickOutside}}):t._e(),n("sidebar",{staticClass:"sidebar-container"}),n("div",{staticClass:"main-container"},[n("navbar"),n("app-main")],1)],1)},l=[],c=(n("b15b"),n("b138"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"navbar"},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.sidebar.opened,expression:"sidebar.opened"}],staticClass:"theTitle"},[t._v("后台管理")]),a("hamburger",{staticClass:"hamburger-container",attrs:{"is-active":t.sidebar.opened},on:{toggleClick:t.toggleSideBar}}),a("breadcrumb",{staticClass:"breadcrumb-container"}),a("div",{staticClass:"right-menu"},[a("div",{staticStyle:{display:"flex","align-items":"center","margin-right":"25px"}},[a("div",{staticStyle:{display:"flex","align-items":"center","margin-right":"15px","margin-top":"6px"}},[a("i",{staticClass:"el-icon-bell",staticStyle:{"margin-right":"5px","font-size":"16px",color:"#5a5e66"}}),a("el-switch",{on:{change:t.handleSoundChange},model:{value:t.isSoundOn,callback:function(e){t.isSoundOn=e},expression:"isSoundOn"}})],1),a("el-popover",{attrs:{placement:"bottom",width:"170",trigger:"hover"}},[a("div",{staticStyle:{padding:"10px 5px"}},[a("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"15px"}},[a("el-badge",{attrs:{value:t.PendingData.usdtRecharge,max:99,hidden:t.PendingData.usdtRecharge<=0}},[a("span",{staticClass:"pending-text",on:{click:function(e){return t.goPage("withdraw/topUp")}}},[t._v("USDT充值订单")])])],1),a("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"15px"}},[a("el-badge",{attrs:{value:t.PendingData.rgRecharge,max:99,hidden:t.PendingData.rgRecharge<=0}},[a("span",{staticClass:"pending-text",on:{click:function(e){return t.goPage("ManualTopUp")}}},[t._v("人工充值订单")])])],1),a("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"15px"}},[a("el-badge",{attrs:{value:t.PendingData.rmbRecharge,max:99,hidden:t.PendingData.rmbRecharge<=0}},[a("span",{staticClass:"pending-text",on:{click:function(e){return t.goPage("treePay")}}},[t._v("人民币充值订单")])])],1),a("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"15px"}},[a("el-badge",{attrs:{value:t.PendingData.usdtWithdraw,max:99,hidden:t.PendingData.usdtWithdraw<=0}},[a("span",{staticClass:"pending-text",on:{click:function(e){return t.goPage("listUSDT")}}},[t._v("USDT提现订单")])])],1),a("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"15px"}},[a("el-badge",{attrs:{value:t.PendingData.rgWithdraw,max:99,hidden:t.PendingData.rgWithdraw<=0}},[a("span",{staticClass:"pending-text",on:{click:function(e){return t.goPage("Manualwithdrawal")}}},[t._v("人工提现订单")])])],1),a("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[a("el-badge",{attrs:{value:t.PendingData.rmbWithdraw,max:99,hidden:t.PendingData.rmbWithdraw<=0}},[a("span",{staticClass:"pending-text",on:{click:function(e){return t.goPage("listRMB")}}},[t._v("人民币提现订单")])])],1)]),a("div",{staticStyle:{cursor:"pointer",display:"flex","align-items":"center","margin-top":"6px"},attrs:{slot:"reference"},slot:"reference"},[a("el-badge",{staticStyle:{"line-height":"1","margin-right":"5px"},attrs:{value:t.totalPending,max:99,hidden:t.totalPending<=0}},[a("span",{staticStyle:{"font-size":"14px",color:"#5a5e66"}},[t._v("待处理 "),a("i",{staticClass:"el-icon-arrow-down"})])])],1)])],1),a("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[a("div",{staticClass:"avatar-wrapper"},[a("img",{staticClass:"user-avatar",attrs:{src:n("fcb5")}}),a("i",{staticClass:"el-icon-caret-bottom"})]),a("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{nativeOn:{click:function(e){return t.logout(e)}}},[a("span",{staticStyle:{display:"block"}},[t._v("退出登陆")])]),a("el-dropdown-item",{nativeOn:{click:function(e){return t.setPassword(e)}}},[a("span",{staticStyle:{display:"block"}},[t._v("修改密码")])])],1)],1)],1),a("setPassword",{ref:"setPassword"})],1)}),u=[],d=n("8802"),p=n("41cd1"),f=n("639f"),h=n("39a4"),m=n.n(h),b=n("6db4"),g=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._l(t.keepList,(function(e){return n("el-tag",{key:e.name,staticStyle:{"margin-top":"20px","margin-right":"10px",cursor:"pointer"},attrs:{closable:"",type:t.activeMenu(e)},on:{click:function(n){return t.toPath(e)},close:function(n){return t.close(e)}}},[t._v(" "+t._s(e.name)+" ")])})),1)},v=[],w=(n("7212"),{data:function(){return{levelList:null}},computed:{keepList:function(){return this.$store.state.user.keepList}},watch:{keepList:{handler:function(t,e){t&&t.length>=12&&this.$store.commit("user/REMOVE_TAB_BY_PATH",t[0].path)},deep:!0,immediate:!0}},created:function(){},methods:{activeMenu:function(t){return console.log(this.$route,t,"this.$route.name"),this.$route.name===t.path?"danger":""},close:function(t){this.$store.commit("user/REMOVE_TAB_BY_PATH",t.path),this.$route.name===t.path&&this.keepList.length>0&&this.toPath(this.keepList[this.keepList.length-1])},toPath:function(t){this.$router.push({name:t.path})}}}),y=w,O=(n("a4f9"),n("1805")),x=Object(O["a"])(y,g,v,!1,null,"2036708d",null),k=x.exports,_=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{padding:"0 15px"},on:{click:t.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":t.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},C=[],j={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},S=j,E=(n("8dd0"),Object(O["a"])(S,_,C,!1,null,"49e15297",null)),T=E.exports,A=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dialog",{attrs:{title:"修改密码",visible:t.dialogVisible,width:"500px"},on:{"update:visible":function(e){t.dialogVisible=e},close:t.handleClose}},[n("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"100px"}},[n("el-form-item",{attrs:{label:"旧密码",prop:"oldPassword"}},[n("el-input",{attrs:{type:"password","show-password":"",placeholder:"请输入当前密码"},model:{value:t.form.oldPassword,callback:function(e){t.$set(t.form,"oldPassword",e)},expression:"form.oldPassword"}})],1),n("el-form-item",{attrs:{label:"新密码",prop:"password"}},[n("el-input",{attrs:{type:"password","show-password":"",placeholder:"6-16位字母数字组合"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),n("el-form-item",{attrs:{label:"确认密码",prop:"password_confirmation"}},[n("el-input",{attrs:{type:"password","show-password":"",placeholder:"请再次输入新密码"},on:{blur:t.validateConfirmPass},nativeOn:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.submitForm(e)}},model:{value:t.form.password_confirmation,callback:function(e){t.$set(t.form,"password_confirmation",e)},expression:"form.password_confirmation"}})],1)],1),n("span",{attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取消")]),n("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("确定")])],1)],1)},L=[],P=(n("0f5d"),n("7e1e")),D=n("b1be"),M={data:function(){var t=this,e=function(e,n,a){n?n.length<=8?a(new Error("密码需大于8位")):(t.form.password_confirmation&&t.$refs.form.validateField("password_confirmation"),a()):a(new Error("请输入新密码"))},n=function(e,n,a){n?n!==t.form.password?a(new Error("两次输入密码不一致")):a():a(new Error("请确认密码"))};return{dialogVisible:!1,form:{oldPassword:"",password:"",password_confirmation:""},rules:{oldPassword:[{required:!0,message:"请输入旧密码",trigger:"blur"}],password:[{validator:e,trigger:"blur"}],password_confirmation:[{validator:n,trigger:"blur"}]}}},methods:{handleClose:function(){this.$refs.form.resetFields()},validateConfirmPass:function(){this.$refs.form.validateField("password_confirmation")},submitForm:function(){var t=this;this.$refs.form.validate((function(e){e&&(console.log("提交数据:",t.form),Object(P["mb"])(t.form).then((function(){Object(D["Notification"])({title:"成功",message:"修改成功~",type:"success"}),t.dialogVisible=!1})))}))},openClose:function(){this.dialogVisible=!this.dialogVisible}}},B=M,V=Object(O["a"])(B,A,L,!1,null,null,null),$=V.exports,H={components:{Breadcrumb:k,Hamburger:T,setPassword:$},data:function(){return{isSoundOn:"false"!==localStorage.getItem("isSoundOn"),isShow:m.a.get("sidebarStatus"),PendingData:{usdtRecharge:0,rgRecharge:0,rmbRecharge:0,usdtWithdraw:0,rgWithdraw:0,rmbWithdraw:0},intervalSeconds:3,timer:null,audi:n("f040")}},computed:Object(f["a"])(Object(f["a"])({},Object(b["b"])(["sidebar","avatar"])),{},{totalPending:function(){var t=this.PendingData;return(t.usdtRecharge||0)+(t.rgRecharge||0)+(t.rmbRecharge||0)+(t.usdtWithdraw||0)+(t.rgWithdraw||0)+(t.rmbWithdraw||0)}}),created:function(){var t=this;this.fetchPendingData(),this.timer=setInterval((function(){t.fetchPendingData()}),1e3*this.intervalSeconds)},beforeDestroy:function(){this.timer&&clearInterval(this.timer)},methods:{goPage:function(t){this.$router.push({name:t})},handleSoundChange:function(t){localStorage.setItem("isSoundOn",t)},fetchPendingData:function(){var t=this;Object(P["o"])().then((function(e){Object.assign(t.PendingData,e.data),console.log(t.PendingData,67),t.totalPending>0&&t.isSoundOn&&t.playSound()}))},playSound:function(){var t=new Audio(this.audi);t.currentTime=0,t.play().catch((function(t){return console.error("播放失败:",t)}))},setPassword:function(){this.$refs.setPassword.openClose()},toggleSideBar:function(){console.log(m.a.get("sidebarStatus")),this.isShow=m.a.get("sidebarStatus"),this.$store.dispatch("app/toggleSideBar")},logout:function(){var t=this;return Object(p["a"])(Object(d["a"])().m((function e(){return Object(d["a"])().w((function(e){while(1)switch(e.n){case 0:return e.n=1,t.$store.dispatch("user/logout");case 1:t.$router.push("/login?redirect=".concat(t.$route.fullPath));case 2:return e.a(2)}}),e)})))()}}},z=H,R=(n("46a9"),Object(O["a"])(z,c,u,!1,null,"0751439c",null)),I=R.exports,U=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:{"has-logo":t.showLogo}},[t.showLogo?n("logo",{attrs:{collapse:t.isCollapse}}):t._e(),n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":t.activeMenu,collapse:t.isCollapse,"background-color":t.variables.menuBg,"text-color":t.variables.menuText,"unique-opened":!1,"active-text-color":t.variables.menuActiveText,"collapse-transition":!1,mode:"vertical"}},t._l(t.routes,(function(t){return n("sidebar-item",{key:t.uri,attrs:{item:t,"base-path":t.uri}})})),1)],1)],1)},N=[],F=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:t.collapse}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[t.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[t.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:t.logo}}):n("h1",{staticClass:"sidebar-title"},[t._v(t._s(t.title)+" ")])]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[t.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:t.logo}}):t._e(),n("h1",{staticClass:"sidebar-title"},[t._v(t._s(t.title)+" ")])])],1)],1)},W=[],G={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},data:function(){return{title:"Vue Admin Template",logo:"https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png"}}},q=G,K=(n("71a0"),Object(O["a"])(q,F,W,!1,null,"5bb1c0e2",null)),J=K.exports,Z=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.item.children.length>0?n("el-submenu",{ref:"subMenu",attrs:{index:t.item.uri,"popper-append-to-body":""}},[n("template",{slot:"title"},[n("item",{attrs:{icon:t.item&&t.item.icon,title:t.item.title}})],1),t._l(t.item.children,(function(t){return n("sidebar-item",{key:t.uri,attrs:{"is-nest":!0,item:t,"base-path":t.uri}})}))],2):n("router-link",{attrs:{to:{name:t.item.uri}}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!t.isNest},attrs:{index:t.item.uri},on:{click:function(e){return t.openMenuItem(t.item)}}},[n("item",{attrs:{icon:t.item.icon,title:t.item.title}})],1)],1)],1)},Y=[],X=(n("e491"),n("8f26"),n("d9d9"),n("0028")),Q=n.n(X),tt=n("61f7"),et=(n("e292"),n("2d28"),{name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(t,e){var n=e.props,a=n.icon,i=n.title,r=[];return a&&(a.includes("el-icon")?r.push(t("i",{class:[a,"sub-el-icon"]})):r.push(t("svg-icon",{attrs:{"icon-class":a}}))),i&&r.push(t("span",{slot:"title"},[i])),r}}),nt=et,at=(n("f87e"),Object(O["a"])(nt,a,i,!1,null,"18eeea00",null)),it=at.exports,rt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.type,t._b({tag:"component"},"component",t.linkProps(t.to),!1),[t._t("default")],2)},ot=[],st={props:{to:{type:String,required:!0}},computed:{isExternal:function(){return Object(tt["a"])(this.to)},type:function(){return this.isExternal?"a":"router-link"}},methods:{linkProps:function(t){return this.isExternal?{href:t,target:"_blank",rel:"noopener"}:{to:t}}}},lt=st,ct=Object(O["a"])(lt,rt,ot,!1,null,null,null),ut=ct.exports,dt={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var t=this,e=this.$refs.subMenu;if(e){var n=e.handleMouseleave;e.handleMouseleave=function(e){"mobile"!==t.device&&n(e)}}}}},pt={name:"SidebarItem",components:{Item:it,AppLink:ut},mixins:[dt],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{openMenuItem:function(t){var e={name:t.title,path:t.uri,id:t.id};this.$store.commit("user/ADD_TABS",e)},hasOneShowingChild:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,a=e.filter((function(e){return!e.hidden&&(t.onlyOneChild=e,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(f["a"])(Object(f["a"])({},n),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(t){return Object(tt["a"])(t)?t:Object(tt["a"])(this.basePath)?this.basePath:Q.a.resolve(this.basePath,t)}}},ft=pt,ht=Object(O["a"])(ft,Z,Y,!1,null,null,null),mt=ht.exports,bt=n("cf1e"),gt=n.n(bt),vt={data:function(){return{routes:[]}},components:{SidebarItem:mt,Logo:J},computed:Object(f["a"])(Object(f["a"])({},Object(b["b"])(["sidebar"])),{},{activeMenu:function(){var t=this.$route;return null===t||void 0===t?void 0:t.name},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return gt.a},isCollapse:function(){return!this.sidebar.opened}}),mounted:function(){this.getMenu()},methods:{getMenu:function(){var t=this;return Object(p["a"])(Object(d["a"])().m((function e(){var n,a;return Object(d["a"])().w((function(e){while(1)switch(e.n){case 0:return t.routes=[],e.n=1,Object(P["R"])();case 1:n=e.v,a=n.data,t.routes=a,t.$store.commit("user/SET_ROLESTREE",t.routes),console.log(t.routes,"this.routes");case 2:return e.a(2)}}),e)})))()}}},wt=vt,yt=Object(O["a"])(wt,U,N,!1,null,null,null),Ot=yt.exports,xt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("router-view",{key:t.key})],1)],1)},kt=[],_t={name:"AppMain",computed:{key:function(){return this.$route.path}}},Ct=_t,jt=(n("b3f7"),n("f4ba"),Object(O["a"])(Ct,xt,kt,!1,null,"395a6c9c",null)),St=jt.exports,Et=n("4360"),Tt=document,At=Tt.body,Lt=992,Pt={watch:{$route:function(t){"mobile"===this.device&&this.sidebar.opened&&Et["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var t=this.$_isMobile();t&&(Et["a"].dispatch("app/toggleDevice","mobile"),Et["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var t=At.getBoundingClientRect();return t.width-10&&(i=!0,t.$notify({title:e.title,message:"".concat(e.message," 《").concat(r,"》"),position:"bottom-right",duration:6e4,onClick:function(){t.$router.push({name:e.pathName})}}))})),i&&t.audioPlay()}))},audioPlay:function(){var t=new Audio(this.audi);t.currentTime=0,t.play().catch((function(t){return console.error("播放失败:",t)}))},handleClickOutside:function(){this.$store.dispatch("app/closeSideBar",{withoutAnimation:!1})}}},Mt=Dt,Bt=(n("c889"),Object(O["a"])(Mt,s,l,!1,null,"5c5bfdc8",null)),Vt=Bt.exports;r["default"].use(o["a"]);var $t=[{path:"/login",component:function(){return n.e("chunk-e745e858").then(n.bind(null,"9ed6"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-44ab9ce2").then(n.bind(null,"8cdb"))},hidden:!0},{path:"/test",component:Vt,children:[{path:"test",component:function(){return n.e("chunk-2d238672").then(n.bind(null,"feda"))},name:"示例",meta:{title:"示例",icon:"table"}}]},{path:"/",name:"/",component:Vt,redirect:"/Homepage",meta:{title:"统计面板",icon:"form"},children:[{path:"Homepage",component:function(){return Promise.all([n.e("chunk-ed0e50b2"),n.e("chunk-703342be")]).then(n.bind(null,"cd81"))},name:"Homepage",meta:{title:"统计面板"}}]},{path:"/user",name:"user",component:Vt,redirect:"/user/userList",meta:{title:"会员列表",icon:"form"},children:[{path:"userList",component:function(){return n.e("chunk-306bc5c7").then(n.bind(null,"f4c9"))},name:"userList",meta:{title:"会员列表"}},{path:"userLevel",component:function(){return n.e("chunk-d4b7b1d8").then(n.bind(null,"22d56"))},name:"userLevel",meta:{title:"会员等级"}},{path:"userLoginLog",component:function(){return n.e("chunk-2268f390").then(n.bind(null,"f4ff"))},name:"userLoginLog",meta:{title:"用户登录日志"}}]},{path:"/chamber",name:"chamber",component:Vt,redirect:"/chamber/room",meta:{title:"房间管理",icon:"form"},children:[{path:"room",component:function(){return n.e("chunk-7c6fd69c").then(n.bind(null,"42fe"))},name:"room",meta:{title:"游戏房间"}},{path:"game",component:function(){return n.e("chunk-2d21a994").then(n.bind(null,"bbca"))},name:"game",meta:{title:"游戏管理"}}]},{path:"/withdraw",name:"withdraw",component:Vt,redirect:"/withdraw/listUSDT",meta:{title:"提现列表USDT",icon:"form"},children:[{path:"withdraw/ManualTopUp",component:function(){return n.e("chunk-bec69ede").then(n.bind(null,"5671"))},name:"ManualTopUp",meta:{title:"人工充值"}},{path:"withdraw/MemberBonus",component:function(){return n.e("chunk-95a334ce").then(n.bind(null,"1d47"))},name:"MemberBonus",meta:{title:"会员彩金"}},{path:"withdraw/Manualwithdrawal",component:function(){return n.e("chunk-2ed8cf7e").then(n.bind(null,"256a"))},name:"Manualwithdrawal",meta:{title:"人工提现"}},{path:"withdraw/topUp",component:function(){return n.e("chunk-dc5e93c4").then(n.bind(null,"ff3d8"))},name:"withdraw/topUp",meta:{title:"充值列表"}},{path:"treePay",component:function(){return n.e("chunk-2d0cf866").then(n.bind(null,"63a4"))},name:"treePay",meta:{title:"第三方支付"}},{path:"balance",component:function(){return n.e("chunk-231b178a").then(n.bind(null,"c8f6"))},name:"balance",meta:{title:"钱包记录"}},{path:"listUSDT",component:function(){return n.e("chunk-a50fb9be").then(n.bind(null,"4985"))},name:"listUSDT",meta:{title:"提现列表USDT"}},{path:"listRMB",component:function(){return n.e("chunk-6a51fd41").then(n.bind(null,"bb8f"))},name:"listRMB",meta:{title:"提现列表RMB"}},{path:"yuebao",component:function(){return n.e("chunk-2d0df1f5").then(n.bind(null,"8920"))},name:"yuebao",meta:{title:"余额宝记录"}},{path:"topUpChannel",component:function(){return n.e("chunk-7379dff1").then(n.bind(null,"aca3"))},name:"topUpChannel",meta:{title:"充值通道"}}]},{path:"/Activity",name:"Activity",component:Vt,redirect:"/Activity/ActivityUser",meta:{title:"活动管理",icon:"form"},children:[{path:"ActivityUser",component:function(){return n.e("chunk-2d0e2665").then(n.bind(null,"7f11"))},name:"ActivityUser",meta:{title:"参与列表"}},{path:"ActivityReward",component:function(){return Promise.all([n.e("chunk-1e806a0c"),n.e("chunk-364da8f6")]).then(n.bind(null,"4fd5"))},name:"ActivityReward",meta:{title:"活动列表"}},{path:"Banner",component:function(){return n.e("chunk-2d21f0bd").then(n.bind(null,"d7c7"))},name:"Banner",meta:{title:"Banner"}}]},{path:"/config",name:"配置管理",component:Vt,redirect:"/config/getAll",meta:{title:"所有配置",icon:"form"},children:[{path:"reply",component:function(){return n.e("chunk-2d0ae9a2").then(n.bind(null,"0b82"))},name:"reply",meta:{title:"回复管理"}},{path:"configlist",component:function(){return n.e("chunk-2d0f04bf").then(n.bind(null,"9c87"))},name:"configlist",meta:{title:"配置列表"}},{path:"playing",component:function(){return n.e("chunk-2d2226a2").then(n.bind(null,"cf09"))},name:"playing",meta:{title:"玩法管理"}},{path:"getAll",component:function(){return n.e("chunk-5c3aef43").then(n.bind(null,"af0e"))},name:"getAll",meta:{title:"所有配置"}},{path:"Message",component:function(){return n.e("chunk-180bb5f9").then(n.bind(null,"95f8"))},name:"Message",meta:{title:"频道管理"}},{path:"pcConfig",component:function(){return n.e("chunk-2d0d2c0c").then(n.bind(null,"5a9c"))},name:"pcConfig",meta:{title:"游戏切换"}},{path:"LotteryManagement",component:function(){return n.e("chunk-f12693be").then(n.bind(null,"13b3"))},name:"LotteryManagement",meta:{title:"游戏切换"}}]},{path:"/certification",name:"certification",component:Vt,redirect:"/certification/issuenumber",meta:{title:"开奖记录",icon:"form"},children:[{path:"issuenumber",component:function(){return n.e("chunk-18484b88").then(n.bind(null,"5312"))},name:"issuenumber",meta:{title:"PC28"}},{path:"abnormal",component:function(){return n.e("chunk-eff0d26e").then(n.bind(null,"d956"))},name:"abnormal",meta:{title:"错误分页"}},{path:"pcIssue",component:function(){return n.e("chunk-6fe1c55d").then(n.bind(null,"3bea"))},name:"pcIssue",meta:{title:"极速28"}},{path:"jisuGame",component:function(){return n.e("chunk-2f28e70e").then(n.bind(null,"1252"))},name:"jisuGame",meta:{title:"极速游戏"}},{path:"jisuOrder",component:function(){return n.e("chunk-6c5adcac").then(n.bind(null,"d8b9"))},name:"jisuOrder",meta:{title:"极速游戏订单"}},{path:"jisuOrderDetail",component:function(){return n.e("chunk-2df0fff0").then(n.bind(null,"f862"))},name:"jisuOrderDetail",meta:{title:"极速游戏订单详情"}},{path:"jisuHistory",component:function(){return n.e("chunk-8e72ec4c").then(n.bind(null,"191d"))},name:"jisuHistory",meta:{title:"极速游戏历史记录"}}]},{path:"/order",name:"order",component:Vt,redirect:"/order/index",meta:{title:"投注记录",icon:"form"},children:[{path:"order",component:function(){return n.e("chunk-60c84ea6").then(n.bind(null,"6af2"))},name:"order",meta:{title:"投注记录"}}]},{path:"/Digital",name:"Digital",component:Vt,redirect:"/Digital/index",meta:{title:"六合彩",icon:"form"},children:[{path:"DigitalOrder",component:function(){return n.e("chunk-56b70454").then(n.bind(null,"858a"))},name:"DigitalOrder",meta:{title:"六合彩订单"}},{path:"DigitalHistory",component:function(){return n.e("chunk-3f1dbe78").then(n.bind(null,"1965"))},name:"DigitalHistory",meta:{title:"开奖历史"}},{path:"DigitalNumberManage",component:function(){return n.e("chunk-4a235564").then(n.bind(null,"208f"))},name:"DigitalNumberManage",meta:{title:"号码管理"}},{path:"DigitalDetail",component:function(){return n.e("chunk-c9f931c4").then(n.bind(null,"e4a0"))},name:"DigitalDetail",meta:{title:"详情"}},{path:"MacauMarkSix",component:function(){return n.e("chunk-5c20749f").then(n.bind(null,"67bc"))},name:"MacauMarkSix",meta:{title:"澳门六合彩"}}]},{path:"/rebate",name:"rebate",component:Vt,redirect:"/rebate/rebate",meta:{title:"返拥管理",icon:"form"},children:[{path:"rebate",component:function(){return n.e("chunk-2d0b3299").then(n.bind(null,"26cb"))},name:"rebate",meta:{title:"笔笔返"}},{path:"backflow",component:function(){return n.e("chunk-2d0ce753").then(n.bind(null,"6014"))},name:"backflow",meta:{title:"回水返"}}]},{path:"/authority",name:"authority",component:Vt,redirect:"/authority/menu",meta:{title:"权限管理",icon:"form"},children:[{path:"menu",component:function(){return n.e("chunk-1ad36b34").then(n.bind(null,"625b"))},name:"menu",meta:{title:"菜单管理"}},{path:"role",component:function(){return n.e("chunk-2d0a38bb").then(n.bind(null,"0346"))},name:"role",meta:{title:"角色管理"}},{path:"account",component:function(){return n.e("chunk-2d0c51f8").then(n.bind(null,"3e6f"))},name:"account",meta:{title:"账号管理"}}]},{path:"/operation",name:"operation",component:Vt,redirect:"/operation/index",meta:{title:"运营数据",icon:"chart"},children:[{path:"operationIndex",component:function(){return n.e("chunk-0a0880e4").then(n.bind(null,"caf4"))},name:"operationIndex",meta:{title:"数据概览"}}]},{path:"/userReports",name:"userReports",component:Vt,redirect:"/userReports/index",meta:{title:"用户报表",icon:"chart"},children:[{path:"userReportsIndex",component:function(){return n.e("chunk-7c513d91").then(n.bind(null,"6150"))},name:"userReportsIndex",meta:{title:"用户报表"}}]},{path:"/promoteUsers",name:"promoteUsers",component:Vt,redirect:"/promoteUsers/index",meta:{title:"推广用户",icon:"chart"},children:[{path:"promoteUsersIndex",component:function(){return n.e("chunk-55da212f").then(n.bind(null,"3c40"))},name:"promoteUsersIndex",meta:{title:"推广用户"}}]},{path:"/views/orderManage",name:"订单管理",component:Vt,redirect:"/views/orderManage",meta:{title:"订单管理",icon:"form"},children:[{path:"TotalSoccerAdvance",component:function(){return n.e("chunk-6d05661d").then(n.bind(null,"91d4"))},name:"TotalSoccerAdvance",meta:{title:"冠军足球"}},{path:"TotalSoccerAdvanceOrder",component:function(){return n.e("chunk-36ebfc38").then(n.bind(null,"d6d9"))},name:"TotalSoccerAdvanceOrder",meta:{title:"冠军足球订单列表"}},{path:"TotalSoccerAdvanceOrderDetail",component:function(){return n.e("chunk-49266234").then(n.bind(null,"7d8e"))},name:"TotalSoccerAdvanceOrderDetail",meta:{title:"冠军足球订单详情"}},{path:"orderList",component:function(){return n.e("chunk-fb5a2db0").then(n.bind(null,"2e16"))},name:"orderList",meta:{title:"订单列表"}},{path:"EventList",component:function(){return n.e("chunk-706a2400").then(n.bind(null,"6ff1"))},name:"EventList",meta:{title:"赛事列表"}},{path:"EventErrorList",component:function(){return n.e("chunk-320700bc").then(n.bind(null,"55e5"))},name:"EventErrorList",meta:{title:"异常赛事"}},{path:"EventDetail",component:function(){return n.e("chunk-4d9621fc").then(n.bind(null,"febb"))},name:"EventDetail",meta:{title:"赛事详情"}},{path:"orderDetail",component:function(){return n.e("chunk-6f852ffe").then(n.bind(null,"e3c3"))},name:"orderDetail",meta:{title:"订单详情"}},{path:"EventInformationIndex",component:function(){return n.e("chunk-050a8d78").then(n.bind(null,"06e7"))},name:"EventInformationIndex",meta:{title:"赛事信息"}},{path:"FootballGameplayList",component:function(){return n.e("chunk-5cb8ea34").then(n.bind(null,"47cd"))},name:"FootballGameplayList",meta:{title:"玩法列表"}}]},{path:"*",redirect:"/404",hidden:!0}],Ht=function(){return new o["a"]({scrollBehavior:function(){return{y:0}},routes:$t})},zt=Ht();function Rt(){var t=Ht();zt.matcher=t.matcher}e["a"]=zt},a495:function(t,e,n){"use strict";n("72a9")},a4f9:function(t,e,n){"use strict";n("783d")},a6eb:function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-Remind",use:"icon-Remind-usage",viewBox:"0 0 24 24",content:'\r\n\r\n\r\n'});o.a.add(s);e["default"]=s},b20f:function(t,e,n){t.exports={menuText:"#333",menuActiveText:"#2474d3",subMenuActiveText:"#3e7bfa",menuBg:"#fff",menuHover:"#e7eeff",subMenuBg:"#001529",subMenuHover:"#e7eeff",sideBarWidth:"210px"}},b3b5:function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});o.a.add(s);e["default"]=s},b3f7:function(t,e,n){"use strict";n("079a")},b775:function(t,e,n){"use strict";n("b138"),n("0401");var a=n("0ee5"),i=n.n(a),r=n("b1be"),o=n("5f87"),s=n("a18c"),l=n("4360"),c=i.a.create({baseURL:window.global.baseURL,timeout:3e4});c.interceptors.request.use((function(t){return Object(o["a"])()&&(t.headers["Authorization"]=Object(o["a"])()),t})),c.interceptors.response.use((function(t){var e=t.data;return 0===e.code||99===e.code?e:101011!==e.code?-1===e.code||"-1"===e.code?(Object(r["Notification"])({title:"警告",message:e.msg,type:"warning"}),Promise.reject(e)):(Object(r["Notification"])({title:"失败",message:e.msg,type:"error"}),Promise.reject(e)):(Object(r["Notification"])({title:"失败",message:"登录失效,请重新登录",type:"error"}),void setTimeout((function(){l["a"].dispatch("user/logout").then((function(){s["a"].push("/login")}))}),500))}),(function(t){return Promise.reject(t)})),e["a"]=c},bc88:function(t,e,n){"use strict";n("d7c6")},c58a:function(t,e,n){},c889:function(t,e,n){"use strict";n("c58a")},cf1e:function(t,e,n){t.exports={menuText:"#333",menuActiveText:"#2474d3",subMenuActiveText:"#3e7bfa",menuBg:"#fff",menuHover:"#e7eeff",subMenuBg:"#001529",subMenuHover:"#e7eeff",sideBarWidth:"210px"}},d7c6:function(t,e,n){},d7ec:function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);e["default"]=s},dcf8:function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);e["default"]=s},dd82:function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-phone",use:"icon-phone-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);e["default"]=s},e51c:function(t,e,n){"use strict";n("0e98")},e9d5:function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-Devices",use:"icon-Devices-usage",viewBox:"0 0 20 20",content:'\r\n\r\n\r\n\r\n\r\n'});o.a.add(s);e["default"]=s},eb1b:function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);e["default"]=s},f040:function(t,e,n){t.exports=n.p+"static/media/masg.4b6e1513.mp3"},f3bb:function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-Apple",use:"icon-Apple-usage",viewBox:"0 0 20 20",content:'\r\n\r\n\r\n'});o.a.add(s);e["default"]=s},f4ba:function(t,e,n){"use strict";n("7345")},f4c4:function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-type",use:"icon-type-usage",viewBox:"0 0 1097 1024",content:''});o.a.add(s);e["default"]=s},f77d:function(t,e,n){},f782:function(t,e,n){"use strict";n.r(e);var a=n("aef5"),i=n.n(a),r=n("6fb4"),o=n.n(r),s=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});o.a.add(s);e["default"]=s},f87e:function(t,e,n){"use strict";n("09e7")},fcb5:function(t,e,n){t.exports=n.p+"static/img/logo.55c9512c.webp"}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]);