123 |
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../js/basisMoudle/login.Cw8CFOEk.js","../js/element-plus/element-plus.DqqeXZzT.js","../js/@vue/@vue.lccsL1Mu.js","../js/lodash-es/lodash-es.LxYfApIs.js","../js/async-validator/async-validator.DSgsWN2H.js","../js/@vueuse/@vueuse.D2YafqsA.js","../js/dayjs/dayjs.D4rZQhfm.js","../js/axios/axios.CUN3se9v.js","../js/@ctrl/@ctrl.D2oWfImC.js","../js/@popperjs/@popperjs.D3lHDW-0.js","../js/escape-html/escape-html.J6B7JOz4.js","../js/normalize-wheel-es/normalize-wheel-es.Erkn7R64.js","./element-plus-BV4pKPU5.css","../js/vue-router/vue-router.D86bYXwF.js","../js/api/api.BtQEnbVN.js","../js/js-md5/js-md5.D7bVTTXZ.js","../js/pinia/pinia.DodrAXQg.js","../js/vue-demi/vue-demi.Dq6ymT-8.js","../js/pinia-plugin-persist/pinia-plugin-persist.Cjrd7Wf_.js","../js/@element-plus/@element-plus.BWbqilIf.js","../js/echarts/echarts.C_nC9ACL.js","../js/tslib/tslib.DduEQve-.js","../js/zrender/zrender.XYf_pgl8.js","./login-dB2P6o4O.css","../js/layout/index_head.DqmKyc5s.js","../js/index/index.CmWIdSRZ.js","../js/arrow-down/arrow-down.3pXuoMMM.js","./index-B1JClhP1.css","./index_head-BC-83KWn.css","../js/configArea/index.DGYTH5rk.js","../js/_select/_select.DVQW4rAo.js","./_select-DCE1AjSe.css","../js/_inputAppend/_inputAppend.C1EyRdze.js","../js/tagBlock/tagBlock.Cf6XNaIm.js","../js/_dialog/_dialog.ium6sOk7.js","./_dialog-Cw4PR-FH.css","../js/_input/_input.DPT4C86A.js","./_input-Bvu5nGRe.css","./tagBlock-DYOsf7bq.css","./_inputAppend-B1EJvhIl.css","../js/checkboxDefault/checkboxDefault.BYyTAJkZ.js","./checkboxDefault-CSV6-fP8.css","../js/tableInfo/tableInfo.DCb2GEsc.js","../js/caret-top/caret-top.BxG-YGIs.js","../js/question-filled/question-filled.CpBGPdbF.js","./tableInfo-B21lqvFo.css","../js/weekTime/weekTime.A8_d2KnD.js","../js/lodash/lodash.S3QqMfIB.js","./weekTime-DJvq-DAY.css","../js/radioGroup/radioGroup.DXKMGiGl.js","../js/warning-filled/warning-filled.Br0zWNXs.js","../js/_tooltip/_tooltip.5el2jQVf.js","./radioGroup-BmVzMsDa.css","../js/document/document.CNUdQE32.js","../js/circle-close/circle-close.0nWerT7N.js","../js/warning/warning.B4Eab-Me.js","./warning-Cx-00zKA.css","../js/timeScreen/timeScreen.BqNtDQOu.js","./timeScreen-CHVZYEZH.css","../js/materialBlock/materialBlock.eRCaDsvC.js","../js/_drawer/_drawer.C0e253H5.js","../js/staticTools/staticTools.BUMUrNJJ.js","./materialBlock-Bcfugj72.css","../js/materialTs/materialTs.B85P9nCh.js","../js/edit/edit.A4ubo7z3.js","../js/_popconfirm/_popconfirm.C2WlUwAw.js","../js/api/api.D60NzXqX.js","../js/await-to-js/await-to-js.BuwTFY8y.js","../js/index/index.DzCC7HZa.js","./index-CJlvxq-2.css","../js/vue-clipboard3/vue-clipboard3.CQOAoICA.js","../js/clipboard/clipboard.D1vou_7m.js","../js/qrcode/qrcode.BKSz2tcB.js","../js/encode-utf8/encode-utf8.BpfgcHrw.js","../js/dijkstrajs/dijkstrajs.GSylJV2k.js","../js/define/define.Bw5ccVBh.js","./index-CQvy_Sfo.css","../js/configArea/index.CYCKVjcS.js","../js/weekTime/weekTime.B9alpeNM.js","./weekTime-DjQwoLpJ.css","../js/api/api.DPEqJKWi.js","./index-C6aWbT7U.css","../js/document/index.CLWur4tr.js","./index-Cqe3UruU.css","../js/layout/index.CktSFseq.js","./index-B21Hny3E.css","../js/basisMoudle/error.DWhGQGL6.js","./error-SDQCW7kd.css","../js/Home/index.DsHGrT3s.js","../js/Echarts/Echarts.D2RVNpV7.js","./index-Mm8TPTPy.css","../js/materialLibrary/index.MnBXhjcG.js","../js/more/more.BP9Sk64c.js","../js/_dropdown/_dropdown.9LepB-OS.js","./index-DzcZ7hlX.css","../js/collectClip/index.CyDJqUl_.js","./index-BqJl-r1C.css","../js/taskList/index.lc_4yyi4.js","./index-CSCRIppM.css","../js/adqManage/index.BPm4BAog.js","../js/eventModel/eventModel.ekFf8kiN.js","./index-Dd_AxV7X.css","../js/adqManage3/index.CyoORYsS.js","./index-Bgx1H18x.css","../js/limitManage/index.C6zu1YMt.js","./index-Vdp8rdqo.css","../js/memberManage/index.BO8D4vLu.js","./index-CRtJTb1U.css","../js/projectManage/index.CBGVEb7B.js","./index-BtzV0UX9.css","../js/teamManage/index.B_Vc0MMA.js","./index-DcqnqAfx.css","../js/miniprogram/index.Czjk2eeJ.js","./index-D805VMUN.css","../js/wechatPage/index.CzQ5Jy5v.js","./index-DWxWULrU.css","../js/gdtList/index.BY29RRqS.js","../js/commonList/commonList.D8OnBao6.js","../js/list/list.W6MLSjHS.js","../js/index/index.D45M3qEr.js","../js/vuedraggable/vuedraggable.5P1kLX_e.js","../js/vue/vue.DM_RCOLp.js","../js/sortablejs/sortablejs.eDTBsIhC.js","./index-CnVoBBNG.css","./index-D3-Mm4Vz.css","../js/gdtList3/index.EncUVmjz.js","./index-Ccml9y6Z.css","../js/adTask/index.BpIsJSYE.js","./index-Dxu4Udqb.css","../js/adTask3/index.C_whBG-R.js","./index-BcIqRcTM.css","../js/menu/index.CXITLafI.js","./index-BrX_Dg9m.css","../js/acStatement/index.CpTUYDjb.js","../js/index/index.vPeoHBQC.js","./index-DrCYgGrV.css","../js/materialData/index.CaPkSqCi.js","./index-C6_Wcdyj.css","../js/oeAdAccount/index.ByVhMlPg.js","./index-eeZa9YGW.css","../js/adAccountGroup/index.iZz5BBHp.js","./index-DSQ7fKBy.css","../js/oePromoterData/index.DRVV5gx5.js","./index-BB42jfKI.css","../js/oeAdAccountData/index.8_z_KMPY.js","./index-Ciz2B-9H.css","../js/oePlayletData/index.D9tiz9OA.js","./index-BPfg6U3k.css"])))=>i.map(i=>d[i]);
- var J=Object.defineProperty;var Y=(E,u,L)=>u in E?J(E,u,{enumerable:!0,configurable:!0,writable:!0,value:L}):E[u]=L;var M=(E,u,L)=>(Y(E,typeof u!="symbol"?u+"":u,L),L);import{J as z,o as B,ae as K,as as W}from"../js/@vue/@vue.lccsL1Mu.js";import{c as Q,a as X}from"../js/vue-router/vue-router.D86bYXwF.js";import{c as Z,d as tt}from"../js/pinia/pinia.DodrAXQg.js";import{i as et}from"../js/pinia-plugin-persist/pinia-plugin-persist.Cjrd7Wf_.js";import{b as at}from"../js/axios/axios.CUN3se9v.js";import{E as s}from"../js/element-plus/element-plus.DqqeXZzT.js";import{E as rt}from"../js/@element-plus/@element-plus.BWbqilIf.js";import{e as ot}from"../js/echarts/echarts.C_nC9ACL.js";import"../js/vue-demi/vue-demi.Dq6ymT-8.js";import"../js/lodash-es/lodash-es.LxYfApIs.js";import"../js/async-validator/async-validator.DSgsWN2H.js";import"../js/@vueuse/@vueuse.D2YafqsA.js";import"../js/dayjs/dayjs.D4rZQhfm.js";import"../js/@ctrl/@ctrl.D2oWfImC.js";import"../js/@popperjs/@popperjs.D3lHDW-0.js";import"../js/escape-html/escape-html.J6B7JOz4.js";import"../js/normalize-wheel-es/normalize-wheel-es.Erkn7R64.js";import"../js/tslib/tslib.DduEQve-.js";import"../js/zrender/zrender.XYf_pgl8.js";let v,I,R,P,x,D,A,F,V,l,T,h,k,q,$,N,j,O,C,i,U,S,G,nt=(async()=>{(function(){const t=document.createElement("link").relList;if(!(t&&t.supports&&t.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))a(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const n of r.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&a(n)}).observe(document,{childList:!0,subtree:!0})}function a(e){if(e.ep)return;e.ep=!0;const r=function(n){const o={};return n.integrity&&(o.integrity=n.integrity),n.referrerPolicy&&(o.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?o.credentials="include":n.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}(e);fetch(e.href,r)}})(),R=(t,a)=>{const e=t.__vccOpts||t;for(const[r,n]of a)e[r]=n;return e};let E,u,L,y,w;E=R({},[["render",function(t,a){const e=K("router-view");return B(),z(e)}]]),u={},i=function(t,a,e){let r=Promise.resolve();if(a&&a.length>0){const n=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),c=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.all(a.map(m=>{if(m=function(d,f){return new URL(d,f).href}(m,e),m in u)return;u[m]=!0;const p=m.endsWith(".css"),g=p?'[rel="stylesheet"]':"";if(e)for(let d=n.length-1;d>=0;d--){const f=n[d];if(f.href===m&&(!p||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${m}"]${g}`))return;const _=document.createElement("link");return _.rel=p?"stylesheet":"modulepreload",p||(_.as="script",_.crossOrigin=""),_.href=m,c&&_.setAttribute("nonce",c),document.head.appendChild(_),p?new Promise((d,f)=>{_.addEventListener("load",d),_.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${m}`)))}):void 0}))}return r.then(()=>t()).catch(n=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=n,window.dispatchEvent(o),!o.defaultPrevented)throw n})},L=[{path:"/login",name:"login",component:()=>i(()=>import("../js/basisMoudle/login.Cw8CFOEk.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]),import.meta.url)},{path:"/LayoutHead",name:"LayoutHead",redirect:"/home",component:()=>i(()=>import("../js/layout/index_head.DqmKyc5s.js"),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11,12,25,26,13,27,16,17,18,19,20,21,22,28]),import.meta.url),children:[{path:"/gdtList/batchGdt",name:"batchGdt",component:()=>i(()=>import("../js/configArea/index.DGYTH5rk.js").then(async t=>(await t.__tla,t)),__vite__mapDeps([29,1,2,3,4,5,6,7,8,9,10,11,12,30,31,32,33,14,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,13,64,65,66,67,19,68,69,70,71,72,73,74,75,16,17,18,20,21,22,76]),import.meta.url)},{path:"/gdtList3/batchGdt3",name:"batchGdt3",component:()=>i(()=>import("../js/configArea/index.CYCKVjcS.js").then(async t=>(await t.__tla,t)),__vite__mapDeps([77,1,2,3,4,5,6,7,8,9,10,11,12,30,31,32,33,14,34,35,36,37,38,39,42,43,44,45,78,47,50,51,79,40,41,53,54,55,56,57,58,59,60,61,62,13,64,65,80,67,19,68,69,70,71,72,73,74,75,16,17,18,20,21,22,81]),import.meta.url)},{path:"/document",name:"document",component:()=>i(()=>import("../js/document/index.CLWur4tr.js"),__vite__mapDeps([82,1,2,3,4,5,6,7,8,9,10,11,12,53,83]),import.meta.url),meta:{noPermission:!0}}]},{path:"/",name:"Layout",redirect:"/home",component:()=>i(()=>import("../js/layout/index.CktSFseq.js"),__vite__mapDeps([84,1,2,3,4,5,6,7,8,9,10,11,12,13,25,26,27,16,17,18,19,20,21,22,85]),import.meta.url),children:[{path:"/404",name:"error",component:()=>i(()=>import("../js/basisMoudle/error.DWhGQGL6.js"),__vite__mapDeps([86,13,2,16,17,18,7,1,3,4,5,6,8,9,10,11,12,19,20,21,22,87]),import.meta.url)},{path:"/home",component:()=>i(()=>import("../js/Home/index.DsHGrT3s.js"),__vite__mapDeps([88,1,2,3,4,5,6,7,8,9,10,11,12,14,89,20,21,22,13,16,17,18,19,90]),import.meta.url),name:"home",meta:{title:"\u4E3B\u9875"}},{path:"/textLibrary",component:()=>i(()=>import("../js/index/index.DzCC7HZa.js").then(t=>t.i),__vite__mapDeps([68,1,2,3,4,5,6,7,8,9,10,11,12,34,35,50,64,36,37,14,42,43,44,45,65,69]),import.meta.url),name:"textLibrary",meta:{title:"\u6587\u6848\u5E93"}},{path:"/materialLibrary",component:()=>i(()=>import("../js/materialLibrary/index.MnBXhjcG.js"),__vite__mapDeps([91,55,2,56,1,3,4,5,6,7,8,9,10,11,12,34,35,14,30,31,92,36,37,33,38,59,60,61,62,54,42,43,44,45,57,58,93,26,63,13,16,17,18,19,20,21,22,94]),import.meta.url),name:"materialLibrary",meta:{title:"\u672C\u5730\u7D20\u6750"}},{path:"/collectClip",component:()=>i(()=>import("../js/collectClip/index.CyDJqUl_.js"),__vite__mapDeps([95,55,2,56,1,3,4,5,6,7,8,9,10,11,12,36,37,59,34,35,30,31,14,60,33,38,61,62,92,57,58,13,16,17,18,19,20,21,22,96]),import.meta.url),name:"collectClip",meta:{title:"\u6536\u85CF\u5939"}},{path:"/taskList",component:()=>i(()=>import("../js/taskList/index.lc_4yyi4.js"),__vite__mapDeps([97,65,1,2,3,4,5,6,7,8,9,10,11,12,42,43,44,45,36,37,30,31,60,14,13,16,17,18,19,20,21,22,98]),import.meta.url),name:"taskList",meta:{title:"\u4EFB\u52A1\u5217\u8868"}},{path:"/adqManage",component:()=>i(()=>import("../js/adqManage/index.BPm4BAog.js"),__vite__mapDeps([99,1,2,3,4,5,6,7,8,9,10,11,12,30,31,65,42,43,44,45,36,37,14,67,100,47,19,13,16,17,18,20,21,22,101]),import.meta.url),name:"adqManage",meta:{title:"adq\u6388\u6743"}},{path:"/adqManage3",component:()=>i(()=>import("../js/adqManage3/index.CyoORYsS.js"),__vite__mapDeps([102,1,2,3,4,5,6,7,8,9,10,11,12,30,31,65,42,43,44,45,36,37,14,67,100,47,19,13,16,17,18,20,21,22,103]),import.meta.url),name:"adqManage3",meta:{title:"adq\u6388\u6743"}},{path:"/limitManage",component:()=>i(()=>import("../js/limitManage/index.C6zu1YMt.js"),__vite__mapDeps([104,1,2,3,4,5,6,7,8,9,10,11,12,65,42,43,44,45,60,36,37,14,13,16,17,18,19,20,21,22,105]),import.meta.url),name:"limitManage",meta:{title:"\u6743\u9650\u7BA1\u7406"}},{path:"/memberManage",component:()=>i(()=>import("../js/memberManage/index.BO8D4vLu.js"),__vite__mapDeps([106,1,2,3,4,5,6,7,8,9,10,11,12,42,43,44,45,14,65,34,35,36,37,30,31,13,16,17,18,19,20,21,22,107]),import.meta.url),name:"memberManage",meta:{title:"\u6210\u5458\u7BA1\u7406"}},{path:"/projectManage",component:()=>i(()=>import("../js/projectManage/index.CBGVEb7B.js"),__vite__mapDeps([108,1,2,3,4,5,6,7,8,9,10,11,12,36,37,65,42,43,44,45,14,49,50,51,52,30,31,34,35,13,16,17,18,19,20,21,22,109]),import.meta.url),name:"projectManage",meta:{title:"\u9879\u76EE\u7BA1\u7406"}},{path:"/teamManage",component:()=>i(()=>import("../js/teamManage/index.B_Vc0MMA.js"),__vite__mapDeps([110,1,2,3,4,5,6,7,8,9,10,11,12,65,42,43,44,45,34,35,36,37,19,13,16,17,18,20,21,22,111]),import.meta.url),name:"teamManage",meta:{title:"\u56E2\u961F\u7BA1\u7406"}},{path:"/miniprogram",component:()=>i(()=>import("../js/miniprogram/index.Czjk2eeJ.js"),__vite__mapDeps([112,1,2,3,4,5,6,7,8,9,10,11,12,14,67,61,70,71,13,16,17,18,19,20,21,22,113]),import.meta.url),name:"miniprogram",meta:{title:"\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F"}},{path:"/wechatPage",component:()=>i(()=>import("../js/wechatPage/index.CzQ5Jy5v.js"),__vite__mapDeps([114,1,2,3,4,5,6,7,8,9,10,11,12,14,67,61,65,72,73,74,47,13,16,17,18,19,20,21,22,115]),import.meta.url),name:"wechatPage",meta:{title:"\u5FAE\u4FE1\u539F\u751F\u9875"}},{path:"/gdtList",component:()=>i(()=>import("../js/gdtList/index.BY29RRqS.js").then(async t=>(await t.__tla,t)),__vite__mapDeps([116,1,2,3,4,5,6,7,8,9,10,11,12,13,55,56,43,44,117,14,30,31,57,58,36,37,34,35,46,47,40,41,48,42,45,49,50,51,52,60,93,26,118,119,120,121,122,123,65,64,19,16,17,18,20,21,22,124]),import.meta.url),name:"gdtList",meta:{title:"\u5E7F\u70B9\u901A"}},{path:"/gdtList3",component:()=>i(()=>import("../js/gdtList3/index.EncUVmjz.js").then(async t=>(await t.__tla,t)),__vite__mapDeps([125,1,2,3,4,5,6,7,8,9,10,11,12,13,55,56,43,44,117,14,30,31,57,58,36,37,34,35,78,47,50,51,79,42,45,60,93,26,65,19,16,17,18,20,21,22,126]),import.meta.url),name:"gdtList3",meta:{title:"\u5E7F\u70B9\u901A3.0"}},{path:"/adTask",component:()=>i(()=>import("../js/adTask/index.BpIsJSYE.js"),__vite__mapDeps([127,1,2,3,4,5,6,7,8,9,10,11,12,64,44,36,37,30,31,57,58,75,14,66,34,35,60,13,16,17,18,19,20,21,22,128]),import.meta.url),name:"adTask",meta:{title:"\u4EFB\u52A1\u4E2D\u5FC3"}},{path:"/adTask3",component:()=>i(()=>import("../js/adTask3/index.C_whBG-R.js"),__vite__mapDeps([129,1,2,3,4,5,6,7,8,9,10,11,12,64,44,36,37,30,31,57,58,14,80,34,35,60,13,16,17,18,19,20,21,22,130]),import.meta.url),name:"adTask3",meta:{title:"\u4EFB\u52A1\u4E2D\u5FC3"}},{path:"/menuList",component:()=>i(()=>import("../js/menu/index.CXITLafI.js"),__vite__mapDeps([131,1,2,3,4,5,6,7,8,9,10,11,12,100,13,16,17,18,19,20,21,22,132]),import.meta.url),name:"menuList",meta:{title:"\u83DC\u5355\u4E2D\u5FC3"}},{path:"/acStatement",component:()=>i(()=>import("../js/acStatement/index.CpTUYDjb.js"),__vite__mapDeps([133,1,2,3,4,5,6,7,8,9,10,11,12,14,30,31,89,20,21,22,43,44,118,134,119,120,121,122,47,123,19,13,16,17,18,135]),import.meta.url),name:"acStatement dataNoTeam",meta:{title:"\u8D26\u6237\u5217\u8868"}},{path:"/materialData",component:()=>i(()=>import("../js/materialData/index.CaPkSqCi.js"),__vite__mapDeps([136,1,2,3,4,5,6,7,8,9,10,11,12,33,14,34,35,30,31,36,37,38,13,67,43,44,118,134,119,120,121,122,47,123,19,16,17,18,20,21,22,137]),import.meta.url),name:"materialData dataNoTeam",meta:{title:"\u7D20\u6750\u62A5\u8868"}},{path:"/oeAdAccount",component:()=>i(()=>import("../js/oeAdAccount/index.ByVhMlPg.js"),__vite__mapDeps([138,1,2,3,4,5,6,7,8,9,10,11,12,30,31,65,42,43,44,45,36,37,14,67,100,47,19,13,16,17,18,20,21,22,139]),import.meta.url),name:"oeAdAccount",meta:{title:"\u5E7F\u544A\u8D26\u6237\u7BA1\u7406"}},{path:"/adAccountGroup",component:()=>i(()=>import("../js/adAccountGroup/index.iZz5BBHp.js"),__vite__mapDeps([140,1,2,3,4,5,6,7,8,9,10,11,12,36,37,65,30,31,42,43,44,45,14,34,35,67,100,47,19,13,16,17,18,20,21,22,141]),import.meta.url),name:"adAccountGroup",meta:{title:"\u8D26\u6237\u7EC4"}},{path:"/oePromoterData",component:()=>i(()=>import("../js/oePromoterData/index.DRVV5gx5.js"),__vite__mapDeps([142,1,2,3,4,5,6,7,8,9,10,11,12,14,30,31,43,44,118,134,13,16,17,18,19,20,21,22,143]),import.meta.url),name:"oePromoterData",meta:{title:"\u6295\u624B\u6570\u636E"}},{path:"/oeAdAccountData",component:()=>i(()=>import("../js/oeAdAccountData/index.8_z_KMPY.js"),__vite__mapDeps([144,1,2,3,4,5,6,7,8,9,10,11,12,14,30,31,43,44,118,134,19,13,16,17,18,20,21,22,145]),import.meta.url),name:"oeAdAccountData",meta:{title:"\u8D26\u53F7\u6570\u636E"}},{path:"/oePlayletData",component:()=>i(()=>import("../js/oePlayletData/index.D9tiz9OA.js"),__vite__mapDeps([146,1,2,3,4,5,6,7,8,9,10,11,12,14,30,31,43,44,118,134,19,13,16,17,18,20,21,22,147]),import.meta.url),name:"oePlayletData",meta:{title:"\u77ED\u5267\u6570\u636E"}}]}],y=Q({history:X(""),routes:L}),w=Z(),w.use(et),S=(t,a,e)=>{t="db_"+t;var r=new Date;r.setTime(r.getTime()+7776e6),document.cookie=t+"="+escape(a)+";expires="+r.toUTCString()+";path=/;"},l=t=>{t="db_"+t;var a,e=new RegExp("(^| )"+t+"=([^;]*)(;|$)");return!!(a=document.cookie.match(e))&&unescape(a[2])},A=()=>{var t=document.cookie.match(/[^ =;]+(?==)/g);if(t)for(var a=t.length;a--;)document.domain.indexOf("zhitou.wenxingshuju.com")!=-1&&(document.cookie=t[a]+"=0;path=/;domain=zhitou.wenxingshuju.com;expires="+new Date(0).toUTCString()),t[a]!="db_uuid"&&t[a]!="db_source"&&(document.cookie=t[a]+"=0;path=/;expires="+new Date(0).toUTCString())},D=()=>sessionStorage.clear(),P=()=>localStorage.clear(),V=function(t){if(typeof parseFloat(t)=="number"&&!isNaN(t)&&t!=null){let a="",e=0;if(t=Number(t).toFixed(2),(t=(t=parseFloat(t)).toString()).indexOf(".")==-1){for(let r=t.length-1;r>=0;r--)a=e%3==0&&e!=0&&t.charAt(r)!="-"?t.charAt(r)+","+a:t.charAt(r)+a,e++;t=a}else{for(let r=t.indexOf(".")-1;r>=0;r--)a=e%3==0&&e!=0&&t.charAt(r)!="-"?t.charAt(r)+","+a:t.charAt(r)+a,e++;t=a+t.substring(t.indexOf("."),t.length)}}return t},I=(t,a)=>typeof parseFloat(t)!="number"||isNaN(t)?t??"-":t>=1e4&&t<1e8||t<=-1e4&&t>-1e8?O(t/1e7,a)==10?"1\u4EBF":O(t/1e4,a)+"w":t>=1e8||t<=-1e8?O(t/1e8,a)+"\u4EBF":t==null?"-":O(t,a),O=(t,a,e=!0)=>{if(t&&typeof parseFloat(t)=="number"&&!isNaN(t)){var r=1;return a&&(r=a),e?V((t+"").indexOf(".")!=-1?parseFloat(Number(t).toFixed(r)):t):(t+"").indexOf(".")!=-1?parseFloat(Number(t).toFixed(r)):t}return t},C=()=>{var t=new Date,a=t.getHours(),e=t.getMinutes(),r=t.getSeconds();return a+":"+h(e)+":"+h(r)},k=(t,a)=>{var e=new Date,r=e.getTime()+864e5*t;e.setTime(r);var n=e.getFullYear(),o=e.getMonth(),c=e.getDate(),m=e.getHours(),p=e.getMinutes(),g=e.getSeconds();return o=_(o+1),c=_(c),a?t==0?{now:n+"-"+o+"-"+c+" "+(m<10?"0"+m:m)+":"+(p<10?"0"+p:p)+":"+(g<10?"0"+g:g),zero:n+"-"+o+"-"+c+" 00:00:00"}:n+"-"+o+"-"+c+" "+m+":"+p+":"+g:n+"-"+o+"-"+c;function _(d){var f=d;return d.toString().length==1&&(f="0"+d),f}},h=t=>Number(t)<10?"0"+t:t,F=(t,a=!0)=>{var e=parseInt(t),r=0,n=0;e>60&&(r=parseInt(e/60+""),e=parseInt(e%60+""),r>60&&(n=parseInt(r/60+""),r=parseInt(r%60+"")));var o=(a?"00:00:":"00:")+h(e);return r>0&&(o=(a?"00:":"")+h(r)+":"+h(e)),n>0&&(o=h(n)+":"+h(r)+":"+h(e)),o},x=()=>{const t=new Date;var a=t.getFullYear(),e=t.getMonth()+1,r=t.getDate();return a+"-"+(e=e>9?e:"0"+e)+"-"+(r=r<10?"0"+r:r)},q=(t,a)=>{let e=new Date(t),r=e.getTime()+24*a*60*60*1e3;return e.setTime(r),e.getFullYear()+"-"+(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-"+(e.getDate()<10?"0"+e.getDate():e.getDate())},G=t=>{var a;if(t){let e=((a=String(t))==null?void 0:a.length)==10?1e3*Number(t):t,r=new Date(e),n=r.getFullYear(),o=r.getMonth()+1,c=r.getDate(),m=r.getHours(),p=r.getMinutes(),g=r.getSeconds();return n+"-"+(o<10?"0"+o:o)+"-"+(c<10?"0"+c:c)+" "+(m<10?"0"+m:m)+":"+(p<10?"0"+p:p)+":"+(g<10?"0"+g:g)}return""},U=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((a,e)=>a+((e&=63)<36?e.toString(36):e<62?(e-26).toString(36).toUpperCase():e>62?"-":"_"),""),$=t=>String(t).replace(/[^\d^\.]+/g,"").replace(/^0+(\d)/,"$1").replace(/^\./,"0.").match(/^\d*(\.?\d{0,2})/g)[0]||"",j=t=>String(t).replace(/[^\d]/g,""),T=new class{constructor(t){M(this,"instance");this.instance=at.create(t),this.interceptors()}interceptors(){this.instance.interceptors.request.use(t=>{let a={admin_id:l("admin_id"),ttl:Number(l("ttl")),sign:l("sign")};try{let e=JSON.parse(l("userInfo"));e.userAuth<=10?l("admin_select_team_id")&&(a.team_id=l("admin_select_team_id")):a.team_id=e.team_id}catch{}return l("admin_id")&&l("ttl")&&l("sign")&&(t.params=Object.assign(a,t.params?t.params:{})),t.headers={...t.headers},t},t=>(t.data={},t.data.msg="\u670D\u52A1\u5668\u5F02\u5E38\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\uFF01",t)),this.instance.interceptors.response.use(t=>{if(t&&t.data){const a=t;if(a.status==600)window.location.href="/login",A(),P(),D();else{if(a.data.errNo!=1001)return a.status==200||t.config.responseType==="arraybuffer"?t:(s.error(a.statusText||"\u670D\u52A1\u5668\u51FA\u9519!"),t||null);window.location.href="/login",A(),P(),D()}}},t=>{var a;if(t&&t.response)switch(t.data={},t.response.status){case 400:t.data.msg="\u9519\u8BEF\u8BF7\u6C42",s.error(t.data.msg);break;case 401:t.data.msg="\u672A\u6388\u6743\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55",s.error(t.data.msg);break;case 403:t.data.msg="\u62D2\u7EDD\u8BBF\u95EE",s.error(t.data.msg);break;case 404:t.data.msg="\u8BF7\u6C42\u9519\u8BEF,\u672A\u627E\u5230\u8BE5\u8D44\u6E90",s.error(t.data.msg);break;case 405:t.data.msg="\u8BF7\u6C42\u65B9\u6CD5\u672A\u5141\u8BB8",s.error(t.data.msg);break;case 408:t.data.msg="\u8BF7\u6C42\u8D85\u65F6",s.error(t.data.msg);break;case 500:t.data.msg="\u670D\u52A1\u5668\u7AEF\u51FA\u9519",s.error(t.data.msg);break;case 501:t.data.msg="\u7F51\u7EDC\u672A\u5B9E\u73B0",s.error(t.data.msg);break;case 502:t.data.msg="\u7F51\u7EDC\u9519\u8BEF",s.error(t.data.msg);break;case 503:t.data.msg="\u670D\u52A1\u4E0D\u53EF\u7528",s.error(t.data.msg);break;case 504:t.data.msg="\u7F51\u7EDC\u8D85\u65F6",s.error(t.data.msg);break;case 505:t.data.msg="http\u7248\u672C\u4E0D\u652F\u6301\u8BE5\u8BF7\u6C42",s.error(t.data.msg);break;default:t.data.msg=`\u8FDE\u63A5\u9519\u8BEF${t.response.status}`,s.error(t.data.msg)}else s.error(`\u8FDE\u63A5\u5230\u670D\u52A1\u5668\u5931\u8D25(${(a=t.config)==null?void 0:a.url})`);return t})}getParms(t){let a="";if(Object.is(t,null))a="";else for(const e in t)t.hasOwnProperty(e)&&t[e]&&(a+=`${t[e]}/`);return a&&(a=a.substr(0,a.length-1)),a}get(t,a){return new Promise((e,r)=>{this.instance.get(t,{params:a}).then(n=>{e(n.data)}).catch(n=>{r(n)})})}post(t,a){return new Promise((e,r)=>{let n={transformRequest:[o=>JSON.stringify(o)],headers:{"Content-Type":"application/json"}};this.instance.post(t,a,n).then(o=>{e(o.data)}).catch(o=>{r(o)})})}}({baseURL:"",timeout:6e4}),v=function(t){return new Promise(async(a,e)=>{const r=await T.get("/api/sys/teamList",t);r.errNo==0?(S("teamList",JSON.stringify(r.rst)),a(r.rst)):(s.error(r.errMsg),e())})};let b;N=tt("menuStore",{state:()=>({menuList:[]}),persist:{enabled:!0,strategies:[]},getters:{},actions:{getMenuList(t){return new Promise((a,e)=>{new Promise(async(r,n)=>{const o=await T.get("/api/sys/permissionTree",{});o.errNo==0?r(o.rst):(s.error(o.errMsg),n())}).then(r=>{this.menuList=r,a(this.menuList),t&&t()}).catch(r=>{console.log("\u4FA7\u8FB9\u680F\u8BF7\u6C42\u9519\u8BEF"),e(r)})})},getRouteList(){let t=[];return this.menuList&&this.menuList.length>0&&this.menuList.forEach(a=>{a.route&&t.push(a.route),a.childs&&a.childs.length>0&&a.childs.forEach(e=>{e.route&&t.push(e.route)})}),t.length==0&&(t=["home"]),t}}}),b=W(E),b.use(w).use(y).mount("#app"),b.config.globalProperties.$echarts=ot,b.config.globalProperties.$http=T,b.config.globalProperties.$NumberHandle=I,b.config.globalProperties.$getDay=k;for(const[t,a]of Object.entries(rt))b.component(t,a);const H=["/login"];y.beforeEach(async(t,a,e)=>{const r=N().getRouteList();if(l("isLogin"))if(t.path==="/login"||t.path==="/"||t.meta.noPermission)e();else if(r&&r.length>0)if(r.indexOf(t.path.split("/")[1])!==-1)e();else try{e({path:"/home"})}catch{A(),D(),P(),s.info("\u8BF7\u767B\u5F55"),e({path:"/login"})}else A(),D(),P(),e({path:"/login"});else H.indexOf(t.path)!==-1?e():(A(),D(),P(),e({path:"/login"}))})})();export{v as A,I as N,R as _,nt as __tla,P as a,x as b,D as c,A as d,F as e,V as f,l as g,T as h,h as i,k as j,q as k,$ as l,N as m,j as n,O as o,C as p,i as q,U as r,S as s,G as t};
|