new_naweigete/crmeb/public/admin/dist/system_static/js/chunk-18608ea2.dce5a5f0.js
2025-03-13 09:24:48 +08:00

1 line
17 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-18608ea2"],{"0203":function(t,e,n){},"23f6":function(t,e,n){n("0203")},"2c3e":function(t,e,n){var r=n("83ab"),i=n("9f7f").MISSED_STICKY,u=n("c6b6"),o=n("edd0"),a=n("69f3").get,c=RegExp.prototype,s=TypeError;r&&i&&o(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===u(this))return!!a(this).sticky;throw new s("Incompatible receiver, RegExp required")}}})},3142:function(t,e,n){},"3eeb":function(t,e,n){n.r(e),n("4de4"),n("b0c0"),n("e9f5"),n("910d"),n("d3b7");var r={name:"parent",data:function(){return{refreshRouterViewKey:null,keepAliveNameList:[],keepAliveNameNewList:[]}},computed:{setTransitionName:function(){return this.$store.state.themeConfig.themeConfig.animation},isTagHistory:function(){return this.$store.state.themeConfig.themeConfig.isTagsview}},created:function(){var t=this;this.keepAliveNameList=this.getKeepAliveNames(),this.bus.$on("onTagsViewRefreshRouterView",(function(e){if(t.$route.path!==e)return!1;t.keepAliveNameList=t.getKeepAliveNames().filter((function(e){return t.$route.name!==e})),t.refreshRouterViewKey=t.$route.path,t.$nextTick((function(){t.refreshRouterViewKey=null,t.keepAliveNameList=t.getKeepAliveNames()}))}))},methods:{getKeepAliveNames:function(){return this.$store.state.keepAliveNames.keepAliveNames}}},i=n("2877"),u=(r=Object(i.a)(r,(function(){var t=this,e=t._self._c;return e("div",{class:t.isTagHistory?"h100":"h101"},[e("transition",{attrs:{name:t.setTransitionName,mode:"out-in"}},[e("keep-alive",{attrs:{include:t.keepAliveNameList}},[e("router-view",{key:t.refreshRouterViewKey})],1)],1)],1)}),[],!1,null,null,null).exports,n("8593")),o={name:"i-copyright",data:function(){return{links:[{title:"官网",key:"官网",href:"https://www.crmeb.com"},{title:"社区",key:"社区",href:"http://q.crmeb.com"},{title:"文档",key:"文档",href:"http://doc.crmeb.com"}],copyright:"",version:""}},created:function(){this.getVersion()},methods:{getVersion:function(){var t=this;this.version=this.$store.state.userInfo.version,Object(u.z)().then((function(e){t.copyright=e.data.copyrightContext}))}}};n("23f6"),o={components:{iCopyright:Object(i.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"ivu-global-footer i-copyright"},[t.copyright?t._e():e("div",{staticClass:"ivu-global-footer-links"},t._l(t.links,(function(n,r){return e("a",{key:r,attrs:{href:n.href,target:"_blank"}},[t._v(t._s(n.title))])})),0),e("div",{staticClass:"ivu-global-footer-copyright"},t.copyright?[t._v(t._s(t.copyright))]:[t._v("\n Copyright © 2006-2025\n "),e("a",{attrs:{href:"https://www.crmeb.com",target:"_blank"}},[t._v(t._s(t.version))])])])}),[],!1,null,null,null).exports},name:"layoutFooter",data:function(){return{}}},n("a1c5"),o=Object(i.a)(o,(function(){var t=this._self._c;return t("div",{staticClass:"layout-footer mt15"},[t("div",{staticClass:"layout-footer-warp"},[t("iCopyright")],1)])}),[],!1,null,"74dafe83",null).exports;n("99af"),n("a15b"),n("4d63"),n("c607"),n("ac1f"),n("2c3e"),n("00b4"),n("25f0"),n("5319");var a={name:"layoutLinkView",props:{meta:{type:Object,default:function(){}}},methods:{onGotoFullPage:function(){var t=window.location,e=t.origin;t=t.pathname;/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(this.isLink)?window.open(this.isLink):window.open("".concat(e).concat(t,"#").concat(this.isLink))}}};n("d2195"),n=Object(i.a)(a,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"layout-scrollbar layout-link-container"},[e("div",{staticClass:"layout-view-bg-white flex layout-view-link"},[e("div",{staticClass:"layout-link-warp"},[e("i",{staticClass:"layout-link-icon iconfont icon-xingqiu"}),e("div",{staticClass:"layout-link-msg"},[t._v('页面 "'+t._s(t.$t(t.meta.title))+'" 已在新窗口中打开')]),e("el-button",{staticClass:"mt30",attrs:{round:"",size:"small"},on:{click:t.onGotoFullPage}},[e("i",{staticClass:"iconfont icon-lianjie"}),e("span",[t._v("立即前往")])])],1)])])}),[],!1,null,"386d1451",null).exports,a={name:"layoutIfameView",props:{meta:{type:Object,default:function(){}}},data:function(){return{iframeLoading:!0}},created:function(){var t=this;this.bus.$on("onTagsViewRefreshRouterView",(function(e){if(t.$route.path!==e)return!1;t.$emit("getCurrentRouteMeta")}))},mounted:function(){this.initIframeLoad()},methods:{initIframeLoad:function(){var t=this;this.$nextTick((function(){t.iframeLoading=!0;var e=document.getElementById("iframe");if(!e)return!1;e.onload=function(){t.iframeLoading=!1}}))}}},r={name:"layoutMain",components:{LayoutParentView:r,Footers:o,Links:n,Iframes:Object(i.a)(a,(function(){var t=this._self._c;return t("div",[t("div",{directives:[{name:"loading",rawName:"v-loading",value:this.iframeLoading,expression:"iframeLoading"}],staticClass:"layout-view-bg-white flex h100"},[t("iframe",{attrs:{src:this.meta.isLink,frameborder:"0",height:"100%",width:"100%",id:"iframe"}})])])}),[],!1,null,null,null).exports},data:function(){return{headerHeight:"",currentRouteMeta:{},isShowLink:!1}},computed:{getThemeConfig:function(){return this.$store.state.themeConfig.themeConfig}},mounted:function(){this.initHeaderHeight(),this.initCurrentRouteMeta(this.$route.meta)},methods:{initCurrentRouteMeta:function(t){var e=this;this.isShowLink=!1,this.currentRouteMeta=t,setTimeout((function(){e.isShowLink=!0}),100)},initHeaderHeight:function(){var t=this.$store.state.themeConfig.themeConfig.isTagsview;return this.headerHeight=t?"84px":"50px"},onGetCurrentRouteMeta:function(){this.initCurrentRouteMeta(this.$route.meta)}},watch:{"$store.state.themeConfig.themeConfig":{handler:function(t){if(this.headerHeight=t.isTagsview?"84px":"50px",t.isFixedHeaderChange!==t.isFixedHeader){if(!this.$refs.layoutScrollbarRef)return!1;this.$refs.layoutScrollbarRef.update()}},deep:!0},$route:{handler:function(t){this.initCurrentRouteMeta(t.meta),this.$refs.layoutScrollbarRef.wrap.scrollTop=0},deep:!0}}},o=Object(i.a)(r,(function(){var t=this,e=t._self._c;return e("el-main",{staticClass:"layout-main"},[e("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:!t.currentRouteMeta.isLink&&!t.currentRouteMeta.isIframe,expression:"!currentRouteMeta.isLink && !currentRouteMeta.isIframe"}],ref:"layoutScrollbarRef",staticClass:"layout-scrollbar",style:{minHeight:"calc(100vh - ".concat(t.headerHeight)}},[e("LayoutParentView"),t.getThemeConfig.isFooter?e("Footers"):t._e()],1),t.currentRouteMeta.isLink&&!t.currentRouteMeta.isIframe?e("Links",{style:{height:"calc(100vh - ".concat(t.headerHeight)},attrs:{meta:t.currentRouteMeta}}):t._e(),t.currentRouteMeta.isLink&&t.currentRouteMeta.isIframe&&t.isShowLink?e("Iframes",{style:{height:"calc(100vh - ".concat(t.headerHeight)},attrs:{meta:t.currentRouteMeta},on:{getCurrentRouteMeta:t.onGetCurrentRouteMeta}}):t._e()],1)}),[],!1,null,null,null);e.default=o.exports},"4d63":function(t,e,n){var r=n("83ab"),i=n("cfe9"),u=n("e330"),o=n("94ca"),a=n("7156"),c=n("9112"),s=n("7c73"),f=n("241c").f,l=n("3a9b"),d=n("44e7"),m=n("577e"),h=n("90d8"),g=n("9f7f"),p=n("aeb0"),b=n("cb2d"),y=n("d039"),v=n("1a2d"),O=n("69f3").enforce,j=n("2626"),k=n("b622"),_=n("fce3"),w=n("107c"),R=k("match"),C=i.RegExp,T=C.prototype,x=i.SyntaxError,L=u(T.exec),E=u("".charAt),S=u("".replace),M=u("".indexOf),$=u("".slice),I=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,N=/a/g,A=/a/g,G=(n=new C(N)!==N,g.MISSED_STICKY),H=g.UNSUPPORTED_Y;k=r&&(!n||G||_||w||y((function(){return A[R]=!1,C(N)!==N||C(A)===A||"/a/i"!==String(C(N,"i"))})));if(o("RegExp",k)){for(var V=function(t,e){var n,r,i=l(T,this),u=d(t),o=void 0===e,f=[],g=t;if(!i&&u&&o&&t.constructor===V)return t;if((u||l(T,t))&&(t=t.source,o)&&(e=h(g)),t=void 0===t?"":m(t),e=void 0===e?"":m(e),g=t,u=e=_&&"dotAll"in N&&(n=!!e&&-1<M(e,"s"))?S(e,/s/g,""):e,G&&"sticky"in N&&(r=!!e&&-1<M(e,"y"))&&H&&(e=S(e,/y/g,"")),w&&(t=(o=(t=>{for(var e,n=t.length,r=0,i="",u=[],o=s(null),a=!1,c=!1,f=0,l="";r<=n;r++){if("\\"===(e=E(t,r)))e+=E(t,++r);else if("]"===e)a=!1;else if(!a)switch(!0){case"["===e:a=!0;break;case"("===e:if(i+=e,"?:"===$(t,r+1,r+3))continue;L(I,$(t,r+1))&&(r+=2,c=!0),f++;continue;case">"===e&&c:if(""===l||v(o,l))throw new x("Invalid capture group name");o[l]=!0,c=!(u[u.length]=[l,f]),l="";continue}c?l+=e:i+=e}return[i,u]})(t))[0],f=o[1]),o=a(C(t,e),i?this:T,V),(n||r||f.length)&&(e=O(o),n&&(e.dotAll=!0,e.raw=V((t=>{for(var e,n=t.length,r=0,i="",u=!1;r<=n;r++)"\\"===(e=E(t,r))?i+=e+E(t,++r):u||"."!==e?("["===e?u=!0:"]"===e&&(u=!1),i+=e):i+="[\\s\\S]";return i})(t),u)),r&&(e.sticky=!0),f.length)&&(e.groups=f),t!==g)try{c(o,"source",""===g?"(?:)":g)}catch(t){}return o},P=f(C),F=0;P.length>F;)p(V,C,P[F++]);(T.constructor=V).prototype=T,b(i,"RegExp",V,{constructor:!0})}j("RegExp")},7354:function(t,e,n){},8593:function(t,e,n){n.d(e,"i",(function(){return i})),n.d(e,"g",(function(){return u})),n.d(e,"h",(function(){return o})),n.d(e,"W",(function(){return a})),n.d(e,"m",(function(){return c})),n.d(e,"k",(function(){return s})),n.d(e,"l",(function(){return f})),n.d(e,"j",(function(){return l})),n.d(e,"J",(function(){return d})),n.d(e,"B",(function(){return m})),n.d(e,"I",(function(){return h})),n.d(e,"G",(function(){return g})),n.d(e,"D",(function(){return p})),n.d(e,"E",(function(){return b})),n.d(e,"F",(function(){return y})),n.d(e,"H",(function(){return v})),n.d(e,"T",(function(){return O})),n.d(e,"Y",(function(){return j})),n.d(e,"s",(function(){return k})),n.d(e,"c",(function(){return _})),n.d(e,"e",(function(){return w})),n.d(e,"b",(function(){return R})),n.d(e,"d",(function(){return C})),n.d(e,"f",(function(){return T})),n.d(e,"w",(function(){return x})),n.d(e,"u",(function(){return L})),n.d(e,"v",(function(){return E})),n.d(e,"M",(function(){return S})),n.d(e,"L",(function(){return M})),n.d(e,"N",(function(){return $})),n.d(e,"S",(function(){return I})),n.d(e,"o",(function(){return N})),n.d(e,"n",(function(){return A})),n.d(e,"O",(function(){return G})),n.d(e,"q",(function(){return H})),n.d(e,"t",(function(){return V})),n.d(e,"P",(function(){return P})),n.d(e,"a",(function(){return F})),n.d(e,"C",(function(){return K})),n.d(e,"kb",(function(){return z})),n.d(e,"jb",(function(){return U})),n.d(e,"x",(function(){return q})),n.d(e,"U",(function(){return D})),n.d(e,"y",(function(){return Y})),n.d(e,"V",(function(){return J})),n.d(e,"p",(function(){return B})),n.d(e,"A",(function(){return Q})),n.d(e,"z",(function(){return W})),n.d(e,"Q",(function(){return X})),n.d(e,"eb",(function(){return Z})),n.d(e,"gb",(function(){return tt})),n.d(e,"db",(function(){return et})),n.d(e,"hb",(function(){return nt})),n.d(e,"fb",(function(){return rt})),n.d(e,"r",(function(){return it})),n.d(e,"ib",(function(){return ut})),n.d(e,"Z",(function(){return ot})),n.d(e,"X",(function(){return at})),n.d(e,"ab",(function(){return ct})),n.d(e,"R",(function(){return st})),n.d(e,"cb",(function(){return ft})),n.d(e,"K",(function(){return lt})),n.d(e,"bb",(function(){return dt})),n("99af");var r=n("6b6c");function i(t){return Object(r.a)({url:"setting/config_class",method:"get",params:t})}function u(t){return Object(r.a)({url:"setting/config_class/create",method:"get"})}function o(t){return Object(r.a)({url:"setting/config_class/".concat(t,"/edit"),method:"get"})}function a(t){return Object(r.a)({url:"setting/config_class/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function c(t){return Object(r.a)({url:"setting/config",method:"get",params:t})}function s(t){return Object(r.a)({url:"setting/config/create",method:"get",params:t})}function f(t){return Object(r.a)({url:"/setting/config/".concat(t,"/edit"),method:"get"})}function l(t,e){return Object(r.a)({url:"setting/config/set_status/".concat(t,"/").concat(e),method:"PUT"})}function d(t){return Object(r.a)({url:"setting/group",method:"get",params:t})}function m(t){return Object(r.a)({url:t.url,method:t.method,data:t.datas})}function h(t){return Object(r.a)({url:"setting/group/".concat(t),method:"get"})}function g(t,e){return Object(r.a)({url:e,method:"get",params:t})}function p(t,e){return Object(r.a)({url:e,method:"get",params:t})}function b(t,e){return Object(r.a)({url:e,method:"get",params:t})}function y(t,e){return Object(r.a)({url:e,method:"get",params:t})}function v(t){return Object(r.a)({url:t,method:"PUT"})}function O(t){return Object(r.a)({url:"system/log/search_admin",method:"GET"})}function j(t){return Object(r.a)({url:"system/log",method:"GET",params:t})}function k(){return Object(r.a)({url:"system/file",method:"GET"})}function _(){return Object(r.a)({url:"system/backup",method:"GET"})}function w(t){return Object(r.a)({url:"system/backup/read",method:"GET",params:t})}function R(t){return Object(r.a)({url:"system/backup/backup",method:"put",data:t})}function C(t){return Object(r.a)({url:"system/backup/optimize",method:"put",data:t})}function T(t){return Object(r.a)({url:"system/backup/repair",method:"put",data:t})}function x(t){return Object(r.a)({url:"system/backup/file_list",method:"GET"})}function L(t){return Object(r.a)({url:"backup/download",method:"get",params:t})}function E(t){return Object(r.a)({url:"system/backup/import",method:"POST",data:t})}function S(t){return Object(r.a)({url:"system/file/login",method:"POST",data:t})}function M(t){return Object(r.a)({url:"system/file/opendir",method:"GET",params:t,file_edit:!0})}function $(t){return Object(r.a)({url:"system/file/openfile",method:"GET",params:t,file_edit:!0})}function I(t){return Object(r.a)({url:"system/file/savefile?fileToken=".concat(t.fileToken),method:"post",data:t,file_edit:!0})}function N(t){return Object(r.a)({url:"system/file/createFolder",method:"GET",params:t,file_edit:!0})}function A(t){return Object(r.a)({url:"system/file/createFile",method:"GET",params:t,file_edit:!0})}function G(t){return Object(r.a)({url:"system/file/rename",method:"GET",params:t,file_edit:!0})}function H(t){return Object(r.a)({url:"system/file/delFolder",method:"GET",params:t,file_edit:!0})}function V(t){return Object(r.a)({url:"system/file/mark",method:"get",params:t,file_edit:!0})}function P(t){return Object(r.a)({url:"system/replace_site_url",method:"post",data:t})}function F(){return Object(r.a)({url:"auth",method:"get"})}function K(){return Object(r.a)({url:"setting/group_all",method:"get"})}function z(t){return Object(r.a)({url:"system/version_list",method:"get",params:t})}function U(t){return Object(r.a)({url:"system/version_crate/".concat(t),method:"get"})}function q(){return Object(r.a)({url:"setting/get_user_agreement",method:"get"})}function D(t){return Object(r.a)({url:"setting/set_user_agreement",method:"post",data:t})}function Y(t){return Object(r.a)({url:"setting/get_agreement/".concat(t),method:"get"})}function J(t,e){return Object(r.a)({url:"setting/save_agreement",method:"post",data:t})}function B(t){return Object(r.a)({url:"crmeb_product",method:"get",params:t})}function Q(){return Object(r.a)({url:"setting/get_version",method:"get"})}function W(){return Object(r.a)({url:"copyright",method:"get"})}function X(t){return Object(r.a)({url:"copyright",method:"post",data:t})}function Z(t){return Object(r.a)({url:"/system/upgrade/list",method:"get",params:t})}function tt(){return Object(r.a)({url:"/system/upgrade_progress",method:"get"})}function et(){return Object(r.a)({url:"/system/upgrade/agreement",method:"get"})}function nt(){return Object(r.a)({url:"/system/upgrade_status",method:"get"})}function rt(t){return Object(r.a)({url:"/system/upgrade_log/list",method:"get",params:t})}function it(t){return Object(r.a)({url:"/system/upgrade_download/"+t,method:"POST"})}function ut(t){return Object(r.a)({url:"/system/upgradeable/list",method:"get",params:t})}function ot(t){return Object(r.a)({url:"system/crontab/list",params:t})}function at(t,e){return Object(r.a)({url:"system/crontab/set_open/".concat(t,"/").concat(e)})}function ct(t){return Object(r.a)({url:"system/crontab/info/".concat(t)})}function st(t){return Object(r.a)({url:"system/crontab/save",method:"post",data:t})}function ft(t){return Object(r.a)({url:"system/database/update_mark",method:"post",data:t})}function lt(t,e){return Object(r.a)({url:"system/file/mark/save?fileToken=".concat(t),method:"post",data:e})}function dt(){return Object(r.a)({url:"system/crontab/mark"})}},a1c5:function(t,e,n){n("3142")},c607:function(t,e,n){var r=n("83ab"),i=n("fce3"),u=n("c6b6"),o=n("edd0"),a=n("69f3").get,c=RegExp.prototype,s=TypeError;r&&i&&o(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===u(this))return!!a(this).dotAll;throw new s("Incompatible receiver, RegExp required")}}})},d2195:function(t,e,n){n("7354")}}]);