EMS2.0-Documents/7.部署文档/Linux安装/项目前端文件/IEMS/js/chunk-79a19055.9bbb45d9.js

2 lines
17 KiB
JavaScript
Raw Normal View History

2024-11-28 09:29:02 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-79a19055"],{1276:function(e,t,n){"use strict";var i=n("2ba4"),s=n("c65b"),o=n("e330"),a=n("d784"),r=n("44e7"),l=n("825a"),c=n("1d80"),u=n("4840"),p=n("8aa5"),m=n("50c4"),d=n("577e"),h=n("dc4a"),f=n("4dae"),b=n("14c3"),g=n("9263"),v=n("9f7f"),w=n("d039"),$=v.UNSUPPORTED_Y,y=4294967295,C=Math.min,S=[].push,x=o(/./.exec),_=o(S),k=o("".slice),T=!w((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=d(c(this)),a=void 0===n?y:n>>>0;if(0===a)return[];if(void 0===e)return[o];if(!r(e))return s(t,o,e,a);var l,u,p,m=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),b=0,v=new RegExp(e.source,h+"g");while(l=s(g,v,o)){if(u=v.lastIndex,u>b&&(_(m,k(o,b,l.index)),l.length>1&&l.index<o.length&&i(S,m,f(l,1)),p=l[0].length,b=u,m.length>=a))break;v.lastIndex===l.index&&v.lastIndex++}return b===o.length?!p&&x(v,"")||_(m,""):_(m,k(o,b)),m.length>a?f(m,0,a):m}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:s(t,this,e,n)}:t,[function(t,n){var i=c(this),a=void 0==t?void 0:h(t,e);return a?s(a,t,i,n):s(o,d(i),t,n)},function(e,i){var s=l(this),a=d(e),r=n(o,s,a,i,o!==t);if(r.done)return r.value;var c=u(s,RegExp),h=s.unicode,f=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+($?"g":"y"),g=new c($?"^(?:"+s.source+")":s,f),v=void 0===i?y:i>>>0;if(0===v)return[];if(0===a.length)return null===b(g,a)?[a]:[];var w=0,S=0,x=[];while(S<a.length){g.lastIndex=$?0:S;var T,P=b(g,$?k(a,S):a);if(null===P||(T=C(m(g.lastIndex+($?S:0)),a.length))===w)S=p(a,S,h);else{if(_(x,k(a,w,S)),x.length===v)return x;for(var D=1;D<=P.length-1;D++)if(_(x,P[D]),x.length===v)return x;S=w=T}}return _(x,k(a,w)),x}]}),!T,$)},"1f27":function(e,t,n){"use strict";n.d(t,"h",(function(){return a})),n.d(t,"f",(function(){return r})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"e",(function(){return p})),n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return d}));n("e9c4");var i=n("b775"),s=n("4328"),o=n.n(s);function a(){return Object(i["a"])({url:"user-service/permission/getDeptPermissionTree",method:"get"})}function r(e){var t=JSON.stringify(e);return Object(i["a"])({headers:{"Content-Type":"application/json"},url:"user-service/permission/updatePermission",method:"post",data:t})}function l(e){var t=JSON.stringify(e);return Object(i["a"])({headers:{"Content-Type":"application/json"},url:"user-service/permission/savePermission",method:"post",data:t})}function c(e){var t={permissionIds:e};return Object(i["a"])({url:"user-service/permission/removePermission",method:"get",params:t})}function u(){return Object(i["a"])({url:"user-service/appPermission/getAppDeptPermissionTree",method:"get"})}function p(e){var t=o.a.stringify(e);return Object(i["a"])({url:"user-service/appPermission/updatePermission",method:"post",data:t})}function m(e){var t=o.a.stringify(e);return Object(i["a"])({url:"user-service/appPermission/savePermission",method:"post",data:t})}function d(e){var t={permissionIds:e};return Object(i["a"])({headers:{"Content-Type":"application/json"},url:"user-service/appPermission/removePermission",method:"get",params:t})}},"2a07":function(e,t,n){"use strict";n("ccc9")},4381:function(e,t,n){"use strict";n("d3b7"),n("caad"),n("2532"),n("d9e2");var i=n("4360"),s={inserted:function(e,t){var n=t.value,s=i["a"].getters&&i["a"].getters.butPermission;if(console.log(s,"roles"),!(n&&n instanceof Array&&n.length>0))throw new Error("need roles! Like v-permission=\"['admin','editor']\"");var o=n,a=s.some((function(e){return o.includes(e)}));if(console.log(a,"hasPermission"),a)i["a"].state.user.permissionFlag[o]=!1;else{i["a"].state.user.permissionFlag[o]=!0,console.
//# sourceMappingURL=chunk-79a19055.9bbb45d9.js.map