← Back
Editing: index-legacy51.js
!function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}var t=["search"];function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return n};var t,n={},o=Object.prototype,a=o.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",s=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof b?t:b,a=Object.create(o.prototype),u=new A(n||[]);return i(a,"_invoke",{value:V(e,r,u)}),a}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var v="suspendedStart",d="suspendedYield",y="executing",m="completed",g={};function b(){}function w(){}function x(){}var _={};f(_,l,(function(){return this}));var L=Object.getPrototypeOf,O=L&&L(L(D([])));O&&O!==o&&a.call(O,l)&&(_=O);var S=x.prototype=b.prototype=Object.create(_);function j(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function k(t,r){function n(o,i,u,l){var c=h(t[o],t,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==e(f)&&a.call(f,"__await")?r.resolve(f.__await).then((function(e){n("next",e,u,l)}),(function(e){n("throw",e,u,l)})):r.resolve(f).then((function(e){s.value=e,u(s)}),(function(e){return n("throw",e,u,l)}))}l(c.arg)}var o;i(this,"_invoke",{value:function(e,t){function a(){return new r((function(r,o){n(e,t,r,o)}))}return o=o?o.then(a,a):a()}})}function V(e,r,n){var o=v;return function(a,i){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var u=n.delegate;if(u){var l=E(u,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===v)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var c=h(e,r,n);if("normal"===c.type){if(o=n.done?m:d,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function E(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function D(r){if(r||""===r){var n=r[l];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,i=function e(){for(;++o<r.length;)if(a.call(r,o))return e.value=r[o],e.done=!1,e;return e.value=t,e.done=!0,e};return i.next=i}}throw new TypeError(e(r)+" is not iterable")}return w.prototype=x,i(S,"constructor",{value:x,configurable:!0}),i(x,"constructor",{value:w,configurable:!0}),w.displayName=f(x,s,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,f(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},n.awrap=function(e){return{__await:e}},j(k.prototype),f(k.prototype,c,(function(){return this})),n.AsyncIterator=k,n.async=function(e,t,r,o,a){void 0===a&&(a=Promise);var i=new k(p(e,t,r,o),a);return n.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},j(S),f(S,s,"Generator"),f(S,l,(function(){return this})),f(S,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},n.values=D,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},n}function n(e,t,r,n,o,a,i){try{var u=e[a](i),l=u.value}catch(e){return void r(e)}u.done?t(l):Promise.resolve(l).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function u(e){n(i,o,a,u,l,"next",e)}function l(e){n(i,o,a,u,l,"throw",e)}u(void 0)}))}}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(t,r,n){return(r=function(t){var r=function(t,r){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,r||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==e(r)?r:r+""}(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}System.register(["./utils-lib-legacy.js?v=VERSION_NUMBER","./base-lib-legacy.js?v=VERSION_NUMBER","./useStore-legacy6.js?v=VERSION_NUMBER","./index-legacy323.js?v=VERSION_NUMBER","./index-legacy103.js?v=VERSION_NUMBER","./useController-legacy8.js?v=VERSION_NUMBER","./index-legacy123.js?v=VERSION_NUMBER","./index-legacy116.js?v=VERSION_NUMBER","./validator-legacy.js?v=VERSION_NUMBER"],(function(e,n){"use strict";var a,u,l,c,s,f,p,h,v,d,y,m,g,b,w,x,_,L,O,S,j,k,V,E,P,C,A,D,T,N,W,F,G,M,R,H,I,J,U,Y,z,B,K,q,Q,$,X;return{setters:[function(e){a=e.u,u=e.a6,l=e.c_,c=e.a7,s=e.$,f=e.J,p=e.K,h=e.n,v=e.L,d=e.p,y=e.ag,m=e.al,g=e.e},function(e){b=e.c,w=e.q,x=e.M,_=e.A,L=e.e,O=e.B,S=e.x,j=e.D,k=e.s,V=e.G,E=e.v,P=e.y,C=e.C,A=e.H,D=e.K,T=e.al,N=e.aQ,W=e.T,F=e.b6,G=e.r,M=e.p,R=e.P},function(e){H=e.L,I=e.p},function(e){J=e.u,U=e.A},function(e){Y=e._},function(e){z=e.L,B=e.u,K=e.d,q=e.a},function(e){Q=e._},function(e){$=e._},function(e){X=e.p}],execute:function(){var Z=b({__name:"index",setup:function(e,r){var n=r.expose;a();var o=z(),s=o.getOperateLog,f=o.outLogs,p=B().isRefreshList,h=u({request:function(e){var r=e.search,n=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,t);return s(i(i({keywords:r},n),{},{stype:"网站管理"}))},columns:[{label:"用户",prop:"username",width:180},{label:"操作类型",prop:"type",width:100},{label:"详情",render:function(e){var t=(new DOMParser).parseFromString(e.log,"text/html");return L("span",{innerHTML:l(t.body.innerHTML)},null)}},{label:"操作时间",width:150,prop:"addtime",align:"right"}],extension:[c(p)]}),v=h.BtTable,d=h.BtPage,y=h.BtSearch,m=h.BtRefresh;return n({init:h.refresh}),function(e,t){var r=j,n=Y;return w(),x(n,null,{"header-left":_((function(){return[L(r,{onClick:S(f)},{default:_((function(){return t[0]||(t[0]=[O("导出日志")])})),_:1},8,["onClick"])]})),"header-right":_((function(){return[L(S(y),{class:"mr-1rem !w-[24rem]",placeholder:"请输入搜索关键字"}),L(S(m))]})),content:_((function(){return[L(S(v))]})),"footer-right":_((function(){return[L(S(d))]})),_:1})}}}),ee={class:"flex flex-col"},te={class:"flex items-center justify-end mb-[12px]"},re={class:"flex justify-between w-full flex-wrap"},ne={class:"flex items-center"},oe={class:"pl-[1rem] mr-[8px]"},ae={class:"flex items-center mt-4px"},ie={class:"ml-1rem"},ue=b({__name:"index",setup:function(e,t){var r=t.expose,n=a().mainHeight,o=z(),i=k(o),u=i.logParams,l=i.logMsg,c=i.preLoading,p=[{label:"运行日志",value:"access"},{label:"异常日志",value:"error"}];return r({init:function(){return He("WebLogs")}}),function(e,t){var r=j,o=T,a=N,i=W,h=s,v=F,d=f,y=Q,m=V("bt-loading");return w(),E("div",ee,[P("div",te,[P("div",re,[P("div",ne,[L(r,{type:"default",onClick:S(Ne)},{default:_((function(){return t[6]||(t[6]=[O(" 清理日志 ")])})),_:1},8,["onClick"]),L(r,{type:"default",class:"!mr-[8px]",onClick:S(We)},{default:_((function(){return t[7]||(t[7]=[O(" 导出日志 ")])})),_:1},8,["onClick"]),L(o,{modelValue:S(u).keywordSwitch,"onUpdate:modelValue":t[0]||(t[0]=function(e){return S(u).keywordSwitch=e}),width:36,onChange:S(Me)},null,8,["modelValue","onChange"]),P("span",oe,[L(a,{content:"点击开启日志关键词告警",placement:"top"},{default:_((function(){return t[8]||(t[8]=[P("span",null,[P("span",{class:"lt-xl:hidden"},"关键词"),O("告警 ")],-1)])})),_:1}),P("span",{class:"cursor-pointer text-primary",onClick:t[1]||(t[1]=function(){return S(Ge)&&S(Ge).apply(void 0,arguments)})}," [配置] ")]),"access"===S(u).typeValue?(w(),x(i,{key:0,modelValue:S(u).ipArea,"onUpdate:modelValue":t[2]||(t[2]=function(e){return S(u).ipArea=e}),class:"pr-[2rem]",onChange:S(Re)},{default:_((function(){return t[9]||(t[9]=[P("div",{class:"flex items-center"},[P("span",{class:"text-[1.2rem]"},"显示IP归属地"),P("i",{class:"svgtofont-icon-ltd text-[#9F834F] !text-[2rem]"})],-1)])})),_:1},8,["modelValue","onChange"])):C("",!0)]),P("div",ae,[L(h,{type:"button",size:"default",class:"mr-1rem",modelValue:S(u).typeValue,"onUpdate:modelValue":t[3]||(t[3]=function(e){return S(u).typeValue=e}),onChange:S(Fe),options:p},null,8,["modelValue","onChange"]),L(v,{modelValue:S(u).timeValue,"onUpdate:modelValue":t[4]||(t[4]=function(e){return S(u).timeValue=e}),format:"YYYY/MM/DD","value-format":"x",onChange:S(Fe),type:"daterange","range-separator":"-","disabled-date":S(Te),"start-placeholder":"开始",class:"!lt-xl:w-[12rem] !at-lg:w-[12rem] !at-xl:w-[12rem] !w-[20rem]","end-placeholder":"结束"},null,8,["modelValue","onChange","disabled-date"]),P("div",ie,[L(d,{class:"!lt-xl:w-[16rem] !w-[24rem]",modelValue:S(u).searchValue,"onUpdate:modelValue":t[5]||(t[5]=function(e){return S(u).searchValue=e}),placeholder:"请输入搜索关键字",onSearch:S(Fe)},null,8,["modelValue","onSearch"])]),L(y,{class:"ml-1rem",onRefresh:S(Fe)},null,8,["onRefresh"])])])]),A(L($,{content:S(l),isHtml:!0,autoScroll:!0,fullScreen:{title:"全屏查看-日志",onRefresh:function(){return S(He)("WebLogs")}},style:D("height:"+(S(n)-292)+"px;min-height:400px;")},null,8,["content","fullScreen","style"]),[[m,S(c)]])])}}}),le=k(H()),ce=le.selectedWebSite,se=(le.webTabActive,le.outDataForm),fe=le.configData,pe=z(),he=pe.clearWebLogEvent,ve=(pe.outWebLogEvent,pe.setKeyWordConfigEvent),de=pe.onConfirmKeyConfig,ye=pe.getKeywordAlarmData,me=pe.delLogSourceEvent,ge=pe.sendSourceConfirm,be=pe.getLogSystemSite,we=pe.getSiteLogsData,xe=pe.logSystemConfirm,_e=B(),Le=_e.logParams,Oe=_e.isRefreshLogSystem,Se=_e.isRefreshList,je=_e.logSystemList,ke=a().payment,Ve=J(),Ee=Ve.isRefreshList,Pe=Ve.routeData,Ce=[{label:"网站日志",name:"WebLogs",lazy:!0,render:function(){return L(ue,null,null)}},{label:"操作日志",name:"OperateLog",lazy:!0,render:function(){return L(Z,null,null)}},{label:"web日志分析",name:"WebLogAnalysis",lazy:!0,render:function(){return L(U,null,null)}}],Ae=e("a",G([])),De=function(){var e=o(r().mark((function e(){var t,n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p({loading:"正在获取网站列表,请稍后...",request:I(),data:{msg:Array}});case 2:if(t=e.sent,n=t.msg,!Array.isArray(n)){e.next=8;break}return ce.value=Array.isArray(n)&&n[0]||"",Ae.value=n.map((function(e){return{label:e,value:e}})),e.abrupt("return",n);case 8:return Ae.value=[],e.abrupt("return",[]);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Te=function(e){return e.getTime()>Date.now()},Ne=function(){var e;h({title:"清理【"+ce.value+"】网站日志",area:44,component:function(){return v((function(){return n.import("./index-legacy321.js?v=VERSION_NUMBER")}),void 0,n.meta.url)},compData:{tips:"清理相关日志可能会导致故障排查困难,请谨慎操作",type:"website",clearEvent:(e=o(r().mark((function e(t,n){var o,a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=K(t),e.next=3,he(o,n);case 3:return a=e.sent,Fe(),e.abrupt("return",a.status);case 6:case"end":return e.stop()}}),e)}))),function(t,r){return e.apply(this,arguments)})},showFooter:!0})},We=function(){se.value.type=H().getType("website"),fe.value={type:"website"},h({title:"导出日志",area:44,component:function(){return v((function(){return n.import("./index-legacy278.js?v=VERSION_NUMBER")}),void 0,n.meta.url)},showFooter:!0,compData:{type:"website"}})},Fe=function(){var e=function(){var e={ip_area:Le.value.ipArea?1:0,siteName:ce.value,search:Le.value.searchValue};return Le.value.timeValue&&(Le.value.timeValue[0]=new Date(Le.value.timeValue[0]).setHours(0,0,0,0),Le.value.timeValue[1]=new Date(Le.value.timeValue[1]).setHours(23,59,59,0),e.time_search=JSON.stringify([Le.value.timeValue[0]/1e3,Le.value.timeValue[1]/1e3])),Le.value.searchValue||delete e.search,e}();we(e),"error"!==Le.value.typeValue&&ye()},Ge=function(){h({title:"关键字告警配置",area:62,component:function(){return v((function(){return n.import("./keyword-config-legacy.js?v=VERSION_NUMBER")}),void 0,n.meta.url)},showFooter:!0})},Me=function(){var e=o(r().mark((function e(t){var n,o,a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=Le.value.keywordConfig).keys.length&&n.channel&&n.cycle||!t){e.next=5;break}return Le.value.keywordSwitch=!t,Ge(),e.abrupt("return");case 5:return o={sitename:ce.value},t&&(o.cycle=Le.value.keywordConfig.cycle,o.keys=JSON.stringify(Le.value.keywordConfig.keys),o.channel=Le.value.keywordConfig.channel),e.next=9,ve(o);case 9:a=e.sent,a.status&&(Le.value.keywordSwitch=t);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Re=function(e){if("ltd"!==ke.value.authType)return Le.value.ipArea=!e,X({sourceId:107});Fe()},He=(e("c",function(){var e=o(r().mark((function e(t,n,o){var a,i;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n();case 3:return a={cycle:t.value.cycle,channel:t.value.give.join(","),keys:JSON.stringify(t.value.keyword.split(","))},e.next=6,de(a);case 6:return i=e.sent,ye(),e.abrupt("return",i.status);case 11:e.prev=11,e.t0=e.catch(0);case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t,r,n){return e.apply(this,arguments)}}()),e("d",function(){var e=o(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d({title:"删除【"+t.site_name+"】日志源",icon:"warning-filled",content:"是否删除【"+t.site_name+"】?"});case 2:return n={server_id:t.server.id,source_type:t.source_type,source_list:JSON.stringify([t.site_name])},e.next=5,me(n);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e("s",function(){var e=o(r().mark((function e(t){var n,o,a,i;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=je.value.length>0,o={server_data:JSON.stringify({ip:t.ip,port:t.port})},n?o.server_id=null===(a=je.value[0])||void 0===a?void 0:a.id:o.server_type="bt_log_server",e.next=6,xe(o);case 6:return(i=e.sent).status&&be(),e.abrupt("return",i.status);case 11:e.prev=11,e.t0=e.catch(0);case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}()),e("b",function(){var e=o(r().mark((function e(t){var n,o;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n={server_id:t.server_id,source_type:"site",source_list:JSON.stringify(t.site)},e.next=4,ge(n);case 4:return o=e.sent,Oe.value=!0,e.abrupt("return",o.status);case 9:e.prev=9,e.t0=e.catch(0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t){return e.apply(this,arguments)}}()),function(e){"WebLogs"===e?Fe():"WebLogAnalysis"===e?(Ee.value=!0,Pe.value.name=ce.value):Se.value=!0}),Ie={class:"flex items-center mb-[20px]"},Je={key:0},Ue=b({__name:"index",setup:function(e){var t=k(H()),a=t.selectedWebSite,i=t.webTabActive,u=function(){h({title:"日志服务系统",area:60,component:function(){return v((function(){return n.import("./index-legacy322.js?v=VERSION_NUMBER")}),void 0,n.meta.url)}})};return M(o(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,De();case 2:"WebLogs"===i.value&&Fe();case 3:case"end":return e.stop()}}),e)})))),function(e,t){var r=y,n=j,o=m;return w(),E("div",null,[P("div",Ie,[t[6]||(t[6]=O(" 网站: ")),L(r,{modelValue:S(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return R(a)?a.value=e:null}),options:S(Ae),onChange:t[1]||(t[1]=function(e){return S(He)(S(i))}),placeholder:"请选择网站",class:"!w-[22rem]",filterable:""},null,8,["modelValue","options"]),"WebLogs"===S(i)?(w(),E("div",Je,[L(n,{class:"!ml-12px",onClick:u},{default:_((function(){return t[4]||(t[4]=[O(" 日志服务系统 ")])})),_:1})])):C("",!0),P("div",{class:"flex items-center ml-[16px]",onClick:t[2]||(t[2]=function(e){return S(q)()})},t[5]||(t[5]=[P("i",{class:"svgtofont-desired text-[1.6rem]"},null,-1),P("span",{class:"bt-link"},"需求反馈",-1)]))]),L(o,{type:"card",modelValue:S(i),"onUpdate:modelValue":t[3]||(t[3]=function(e){return R(i)?i.value=e:null}),options:S(Ce)},null,8,["modelValue","options"])])}}}),Ye=g(Ue,[["__scopeId","data-v-276b29ef"]]),ze=Object.freeze(Object.defineProperty({__proto__:null,default:Ye},Symbol.toStringTag,{value:"Module"}));e("i",ze)}}}))}();
Save File
Cancel