gtsoft-snail-job-server/x-retry-server/src/main/resources/admin/js/chunk-08798c7e.215a17f7.js
byteblogs168 3b1e7f3209 0.0.2.0
打包前端
2023-01-14 21:02:27 +08:00

8 lines
15 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-08798c7e"],{"00d8":function(e,t){(function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],r=0,n=0;r<e.length;r++,n+=8)t[n>>>5]|=e[r]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r<e.length;r++)t.push((e[r]>>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(parseInt(e.substr(r,2),16));return t},bytesToBase64:function(e){for(var r=[],n=0;n<e.length;n+=3)for(var o=e[n]<<16|e[n+1]<<8|e[n+2],a=0;a<4;a++)8*n+6*a<=8*e.length?r.push(t.charAt(o>>>6*(3-a)&63)):r.push("=");return r.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var r=[],n=0,o=0;n<e.length;o=++n%4)0!=o&&r.push((t.indexOf(e.charAt(n-1))&Math.pow(2,-2*o+8)-1)<<2*o|t.indexOf(e.charAt(n))>>>6-2*o);return r}};e.exports=r})()},"044b":function(e,t){function r(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function n(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&r(e.slice(0,0))}
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
e.exports=function(e){return null!=e&&(r(e)||n(e)||!!e._isBuffer)}},"0fea":function(e,t,r){"use strict";r.d(t,"h",(function(){return a})),r.d(t,"t",(function(){return u})),r.d(t,"a",(function(){return s})),r.d(t,"c",(function(){return i})),r.d(t,"b",(function(){return c})),r.d(t,"g",(function(){return l})),r.d(t,"e",(function(){return f})),r.d(t,"o",(function(){return d})),r.d(t,"l",(function(){return p})),r.d(t,"q",(function(){return m})),r.d(t,"p",(function(){return g})),r.d(t,"n",(function(){return h})),r.d(t,"m",(function(){return b})),r.d(t,"k",(function(){return y})),r.d(t,"j",(function(){return v})),r.d(t,"u",(function(){return j})),r.d(t,"d",(function(){return w})),r.d(t,"s",(function(){return O})),r.d(t,"r",(function(){return T})),r.d(t,"i",(function(){return L})),r.d(t,"f",(function(){return k})),r.d(t,"v",(function(){return B})),r.d(t,"w",(function(){return x}));var n=r("b775"),o={user:"/user",role:"/role",service:"/service",permission:"/permission",permissionNoPager:"/permission/no-pager",orgTree:"/org/tree",groupConfigForPage:"/group/list",saveGroup:"/group",groupConfigByGroupName:"/group",allGroupNameList:"/group/all/group-name/list",retryTaskPage:"/retry-task/list",retryTaskById:"/retry-task/",retryTaskLogPage:"/retry-task-log/list",retryTaskLogById:"/retry-task-log/",retryDeadLetterPage:"/retry-dead-letter/list",retryDeadLetterById:"/retry-dead-letter/",retryDeadLetterRollback:"/retry-dead-letter/rollback/",deleteRetryDeadLetter:"/retry-dead-letter/",scenePageList:"/scene-config/page/list",sceneList:"/scene-config/list",notifyConfigList:"/notify-config/list",userPageList:"/user/page/list",saveUser:"/user",systemUserByUserName:"/user/username/user-info",countTask:"/dashboard/task/count",countDispatch:"/dashboard/dispatch/count",countActivePod:"/dashboard/active-pod/count",rankSceneQuantity:"/dashboard/scene/rank",lineDispatchQuantity:"/dashboard/dispatch/line"};function a(e){return Object(n["b"])({url:o.lineDispatchQuantity,method:"get",params:e})}function u(e){return Object(n["b"])({url:o.rankSceneQuantity,method:"get",params:e})}function s(){return Object(n["b"])({url:o.countActivePod,method:"get"})}function i(){return Object(n["b"])({url:o.countTask,method:"get"})}function c(){return Object(n["b"])({url:o.countDispatch,method:"get"})}function l(e){return Object(n["b"])({url:o.groupConfigForPage,method:"get",params:e})}function f(e){return Object(n["b"])({url:o.allGroupNameList,method:"get",params:e})}function d(e){return Object(n["b"])({url:o.retryTaskPage,method:"get",params:e})}function p(e,t){return Object(n["b"])({url:o.retryTaskById+e,method:"get",params:t})}function m(e){return Object(n["b"])({url:o.scenePageList,method:"get",params:e})}function g(e){return Object(n["b"])({url:o.sceneList,method:"get",params:e})}function h(e){return Object(n["b"])({url:o.retryTaskLogPage,method:"get",params:e})}function b(e){return Object(n["b"])({url:o.retryTaskLogById+e,method:"get"})}function y(e){return Object(n["b"])({url:o.retryDeadLetterPage,method:"get",params:e})}function v(e,t){return Object(n["b"])({url:o.retryDeadLetterById+e,method:"get",params:t})}function j(e,t){return Object(n["b"])({url:o.retryDeadLetterRollback+e,method:"get",params:t})}function w(e,t){return Object(n["b"])({url:o.deleteRetryDeadLetter+e,method:"delete",params:t})}function O(e){return Object(n["b"])({url:o.userPageList,method:"get",params:e})}function T(e){return Object(n["b"])({url:o.systemUserByUserName,method:"get",params:e})}function L(e){return Object(n["b"])({url:o.notifyConfigList,method:"get",params:e})}function k(e){return Object(n["b"])({url:o.groupConfigByGroupName+"/".concat(e),method:"get"})}function B(e){return Object(n["b"])({url:o.saveGroup,method:0===e.id?"post":"put",data:e})}function x(e){return Object(n["b"])({url:o.saveUser,method:void 0===e.id?"post":"put",data:e})}},6821:function(e,t,r){(function(){var t=r("00d8"),n=r("9a634").utf8,o=r("044b"),a=r("9a634").bin,u=function(e,r){e.constructor==String?e=r&&"binary"===r.encoding?a.stringToBytes(e):n.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var s=t.bytesToWords(e),i=8*e.length,c=1732584193,l=-271733879,f=-1732584194,d=271733878,p=0;p<s.length;p++)s[p]=16711935&(s[p]<<8|s[p]>>>24)|4278255360&(s[p]<<24|s[p]>>>8);s[i>>>5]|=128<<i%32,s[14+(i+64>>>9<<4)]=i;var m=u._ff,g=u._gg,h=u._hh,b=u._ii;for(p=0;p<s.length;p+=16){var y=c,v=l,j=f,w=d;c=m(c,l,f,d,s[p+0],7,-680876936),d=m(d,c,l,f,s[p+1],12,-389564586),f=m(f,d,c,l,s[p+2],17,606105819),l=m(l,f,d,c,s[p+3],22,-1044525330),c=m(c,l,f,d,s[p+4],7,-176418897),d=m(d,c,l,f,s[p+5],12,1200080426),f=m(f,d,c,l,s[p+6],17,-1473231341),l=m(l,f,d,c,s[p+7],22,-45705983),c=m(c,l,f,d,s[p+8],7,1770035416),d=m(d,c,l,f,s[p+9],12,-1958414417),f=m(f,d,c,l,s[p+10],17,-42063),l=m(l,f,d,c,s[p+11],22,-1990404162),c=m(c,l,f,d,s[p+12],7,1804603682),d=m(d,c,l,f,s[p+13],12,-40341101),f=m(f,d,c,l,s[p+14],17,-1502002290),l=m(l,f,d,c,s[p+15],22,1236535329),c=g(c,l,f,d,s[p+1],5,-165796510),d=g(d,c,l,f,s[p+6],9,-1069501632),f=g(f,d,c,l,s[p+11],14,643717713),l=g(l,f,d,c,s[p+0],20,-373897302),c=g(c,l,f,d,s[p+5],5,-701558691),d=g(d,c,l,f,s[p+10],9,38016083),f=g(f,d,c,l,s[p+15],14,-660478335),l=g(l,f,d,c,s[p+4],20,-405537848),c=g(c,l,f,d,s[p+9],5,568446438),d=g(d,c,l,f,s[p+14],9,-1019803690),f=g(f,d,c,l,s[p+3],14,-187363961),l=g(l,f,d,c,s[p+8],20,1163531501),c=g(c,l,f,d,s[p+13],5,-1444681467),d=g(d,c,l,f,s[p+2],9,-51403784),f=g(f,d,c,l,s[p+7],14,1735328473),l=g(l,f,d,c,s[p+12],20,-1926607734),c=h(c,l,f,d,s[p+5],4,-378558),d=h(d,c,l,f,s[p+8],11,-2022574463),f=h(f,d,c,l,s[p+11],16,1839030562),l=h(l,f,d,c,s[p+14],23,-35309556),c=h(c,l,f,d,s[p+1],4,-1530992060),d=h(d,c,l,f,s[p+4],11,1272893353),f=h(f,d,c,l,s[p+7],16,-155497632),l=h(l,f,d,c,s[p+10],23,-1094730640),c=h(c,l,f,d,s[p+13],4,681279174),d=h(d,c,l,f,s[p+0],11,-358537222),f=h(f,d,c,l,s[p+3],16,-722521979),l=h(l,f,d,c,s[p+6],23,76029189),c=h(c,l,f,d,s[p+9],4,-640364487),d=h(d,c,l,f,s[p+12],11,-421815835),f=h(f,d,c,l,s[p+15],16,530742520),l=h(l,f,d,c,s[p+2],23,-995338651),c=b(c,l,f,d,s[p+0],6,-198630844),d=b(d,c,l,f,s[p+7],10,1126891415),f=b(f,d,c,l,s[p+14],15,-1416354905),l=b(l,f,d,c,s[p+5],21,-57434055),c=b(c,l,f,d,s[p+12],6,1700485571),d=b(d,c,l,f,s[p+3],10,-1894986606),f=b(f,d,c,l,s[p+10],15,-1051523),l=b(l,f,d,c,s[p+1],21,-2054922799),c=b(c,l,f,d,s[p+8],6,1873313359),d=b(d,c,l,f,s[p+15],10,-30611744),f=b(f,d,c,l,s[p+6],15,-1560198380),l=b(l,f,d,c,s[p+13],21,1309151649),c=b(c,l,f,d,s[p+4],6,-145523070),d=b(d,c,l,f,s[p+11],10,-1120210379),f=b(f,d,c,l,s[p+2],15,718787259),l=b(l,f,d,c,s[p+9],21,-343485551),c=c+y>>>0,l=l+v>>>0,f=f+j>>>0,d=d+w>>>0}return t.endian([c,l,f,d])};u._ff=function(e,t,r,n,o,a,u){var s=e+(t&r|~t&n)+(o>>>0)+u;return(s<<a|s>>>32-a)+t},u._gg=function(e,t,r,n,o,a,u){var s=e+(t&n|r&~n)+(o>>>0)+u;return(s<<a|s>>>32-a)+t},u._hh=function(e,t,r,n,o,a,u){var s=e+(t^r^n)+(o>>>0)+u;return(s<<a|s>>>32-a)+t},u._ii=function(e,t,r,n,o,a,u){var s=e+(r^(t|~n))+(o>>>0)+u;return(s<<a|s>>>32-a)+t},u._blocksize=16,u._digestsize=16,e.exports=function(e,r){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var n=t.wordsToBytes(u(e,r));return r&&r.asBytes?n:r&&r.asString?a.bytesToString(n):t.bytesToHex(n)}})()},"88bc":function(e,t,r){(function(t){var r=1/0,n=9007199254740991,o="[object Arguments]",a="[object Function]",u="[object GeneratorFunction]",s="[object Symbol]",i="object"==typeof t&&t&&t.Object===Object&&t,c="object"==typeof self&&self&&self.Object===Object&&self,l=i||c||Function("return this")();function f(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function d(e,t){var r=-1,n=e?e.length:0,o=Array(n);while(++r<n)o[r]=t(e[r],r,e);return o}function p(e,t){var r=-1,n=t.length,o=e.length;while(++r<n)e[o+r]=t[r];return e}var m=Object.prototype,g=m.hasOwnProperty,h=m.toString,b=l.Symbol,y=m.propertyIsEnumerable,v=b?b.isConcatSpreadable:void 0,j=Math.max;function w(e,t,r,n,o){var a=-1,u=e.length;r||(r=k),o||(o=[]);while(++a<u){var s=e[a];t>0&&r(s)?t>1?w(s,t-1,r,n,o):p(o,s):n||(o[o.length]=s)}return o}function O(e,t){return e=Object(e),T(e,t,(function(t,r){return r in e}))}function T(e,t,r){var n=-1,o=t.length,a={};while(++n<o){var u=t[n],s=e[u];r(s,u)&&(a[u]=s)}return a}function L(e,t){return t=j(void 0===t?e.length-1:t,0),function(){var r=arguments,n=-1,o=j(r.length-t,0),a=Array(o);while(++n<o)a[n]=r[t+n];n=-1;var u=Array(t+1);while(++n<t)u[n]=r[n];return u[t]=a,f(e,this,u)}}function k(e){return S(e)||x(e)||!!(v&&e&&e[v])}function B(e){if("string"==typeof e||D(e))return e;var t=e+"";return"0"==t&&1/e==-r?"-0":t}function x(e){return N(e)&&g.call(e,"callee")&&(!y.call(e,"callee")||h.call(e)==o)}var S=Array.isArray;function _(e){return null!=e&&C(e.length)&&!A(e)}function N(e){return I(e)&&_(e)}function A(e){var t=P(e)?h.call(e):"";return t==a||t==u}function C(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}function P(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function I(e){return!!e&&"object"==typeof e}function D(e){return"symbol"==typeof e||I(e)&&h.call(e)==s}var q=L((function(e,t){return null==e?{}:O(e,d(w(t,1),B))}));e.exports=q}).call(this,r("c8ba"))},"9a634":function(e,t){var r={utf8:{stringToBytes:function(e){return r.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(r.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t},bytesToString:function(e){for(var t=[],r=0;r<e.length;r++)t.push(String.fromCharCode(e[r]));return t.join("")}}};e.exports=r},bf80:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("a-card",{staticClass:"card",attrs:{title:"组配置",bordered:!1}},[r("a-form",e._b({attrs:{form:e.form,"body-style":{padding:"24px 32px"}},on:{submit:e.handleSubmit}},"a-form",e.formItemLayout,!1),[r("a-form-item",[r("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["id"],expression:"['id']"}],attrs:{hidden:""}})],1),r("a-form-item",{attrs:{label:"用户名"}},[r("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["username",{rules:[{required:!0,message:"请输入用户名",whitespace:!0}]}],expression:"[\n 'username',\n {rules: [{ required: true, message: '请输入用户名', whitespace: true}]}\n ]"}],attrs:{placeholder:"请输入用户名"}})],1),r("a-form-item",{attrs:{label:"密码"}},[r("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["password",{rules:[{required:"create"===e.formType,message:"请输入密码",whitespace:!0}]}],expression:"[\n 'password',\n {rules: [{ required: formType === 'create', message: '请输入密码', whitespace: true}]}\n ]"}],attrs:{placeholder:"请输入密码"}})],1),r("a-form-item",{attrs:{label:"角色"}},[r("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["role",{rules:[{required:!0,message:"请选择角色"}]}],expression:"[\n 'role',\n {rules: [{ required: true, message: '请选择角色'}]}\n ]"}],attrs:{placeholder:"请选择角色"},on:{change:function(t){return e.handleChange(t)}}},[r("a-select-option",{attrs:{value:"1"}},[e._v("普通用户")]),r("a-select-option",{attrs:{value:"2"}},[e._v("管理员")])],1)],1),"2"!==e.role?r("a-form-item",{attrs:{label:"权限"}},[r("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["groupNameList",{rules:[{required:!0,message:"请分配组"}]}],expression:"[\n 'groupNameList',\n {rules: [{ required: true, message: '请分配组'}]}\n ]"}],staticStyle:{width:"100%"},attrs:{mode:"tags","token-separators":[","]}},e._l(e.groupNameList,(function(t,n){return r("a-select-option",{key:n,attrs:{value:t}},[e._v(" "+e._s(t)+" ")])})),1)],1):e._e(),r("a-form-item",{attrs:{"wrapper-col":{xs:{span:24,offset:0},sm:{span:16,offset:8},lg:{span:7}}}},[r("a-button",{attrs:{htmlType:"submit",type:"primary"}},[e._v("提交")])],1)],1)],1)},o=[],a=(r("ac1f"),r("d3b7"),r("25f0"),r("6821")),u=r.n(a),s=r("0fea"),i=r("88bc"),c=r.n(i),l={name:"UserForm",props:{},data:function(){return{form:this.$form.createForm(this),role:0,formType:"create",formItemLayout:{labelCol:{lg:{span:7},sm:{span:7}},wrapperCol:{lg:{span:10},sm:{span:17}}},groupNameList:[]}},mounted:function(){var e=this;Object(s["e"])().then((function(t){e.groupNameList=t.data})),this.$nextTick((function(){e.$route.query.username&&Object(s["r"])({username:e.$route.query.username}).then((function(t){e.loadEditInfo(t.data)}))}))},methods:{handleChange:function(e){this.role=e},handleSubmit:function(e){var t=this;e.preventDefault(),this.form.validateFields((function(e,r){e||(r.password&&(r.password=u()(r.password)),r.role=parseInt(r.role),Object(s["w"])(r).then((function(e){t.$message.success("操作成功"),t.$router.push("/user-list")})))}))},validate:function(e,t,r){var n=/^user-(.*)$/;n.test(t)||r(new Error("需要以 user- 开头")),r()},loadEditInfo:function(e){this.formType="edit";var t=this.form;new Promise((function(e){setTimeout(e,1500)})).then((function(){var r=c()(e,["id","username","role","groupNameList"]);r.role=r.role.toString(),t.setFieldsValue(r)}))}}},f=l,d=r("2877"),p=Object(d["a"])(f,n,o,!1,null,"56a81628",null);t["default"]=p.exports}}]);