feat:2.3.0

1. 控制台菜单图标替换
2. 控制台新增帮助文档菜单
This commit is contained in:
byteblogs168 2023-09-12 22:08:59 +08:00
parent 5e0e798629
commit 4b2d8b2ffd
29 changed files with 29 additions and 313 deletions

View File

@ -1 +1 @@
<!DOCTYPE html><html lang="zh-cmn-Hans"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/logo.png"><title>Easy Retry</title><style>.first-loading-wrp{display:flex;justify-content:center;align-items:center;flex-direction:column;min-height:420px;height:100%}.first-loading-wrp>h1{font-size:128px}.first-loading-wrp .loading-wrp{padding:98px;display:flex;justify-content:center;align-items:center}.dot{animation:antRotate 1.2s infinite linear;transform:rotate(45deg);position:relative;display:inline-block;font-size:32px;width:32px;height:32px;box-sizing:border-box}.dot i{width:14px;height:14px;position:absolute;display:block;background-color:#1890ff;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove 1s infinite linear alternate}.dot i:nth-child(1){top:0;left:0}.dot i:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.dot i:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.dot i:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}@keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@-webkit-keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@keyframes antSpinMove{to{opacity:1}}@-webkit-keyframes antSpinMove{to{opacity:1}}</style><link href="/css/chunk-758b2aa4.1c9c785f.css" rel="prefetch"><link href="/css/chunk-ec9b3564.28cc4171.css" rel="prefetch"><link href="/css/chunk-ff9025ec.a34448d4.css" rel="prefetch"><link href="/css/user.6ccd4506.css" rel="prefetch"><link href="/js/chunk-251479d0.688d2e5a.js" rel="prefetch"><link href="/js/chunk-2d0a4079.b3bd8da2.js" rel="prefetch"><link href="/js/chunk-2d0b7230.6ac331bb.js" rel="prefetch"><link href="/js/chunk-2d0c8f97.162edd8b.js" rel="prefetch"><link href="/js/chunk-2d0f085f.7fcdd328.js" rel="prefetch"><link href="/js/chunk-2d21a08f.6680d62a.js" rel="prefetch"><link href="/js/chunk-2d228eef.f4e152b4.js" rel="prefetch"><link href="/js/chunk-35f76107.7108d178.js" rel="prefetch"><link href="/js/chunk-40597980.6069e261.js" rel="prefetch"><link href="/js/chunk-74bac939.5b75714c.js" rel="prefetch"><link href="/js/chunk-758b2aa4.34807467.js" rel="prefetch"><link href="/js/chunk-ec9b3564.efd301b8.js" rel="prefetch"><link href="/js/chunk-ff9025ec.04dc7204.js" rel="prefetch"><link href="/js/fail.b1630a12.js" rel="prefetch"><link href="/js/lang-zh-CN-account-settings.f8f25eaf.js" rel="prefetch"><link href="/js/lang-zh-CN-account.c724e71d.js" rel="prefetch"><link href="/js/lang-zh-CN-dashboard-analysis.98c2997a.js" rel="prefetch"><link href="/js/lang-zh-CN-dashboard.6a9e378b.js" rel="prefetch"><link href="/js/lang-zh-CN-form-basicForm.ff3088ac.js" rel="prefetch"><link href="/js/lang-zh-CN-form.cc39e450.js" rel="prefetch"><link href="/js/lang-zh-CN-global.bf0df5c8.js" rel="prefetch"><link href="/js/lang-zh-CN-menu.25425a62.js" rel="prefetch"><link href="/js/lang-zh-CN-result-fail.232762aa.js" rel="prefetch"><link href="/js/lang-zh-CN-result-success.3519c60c.js" rel="prefetch"><link href="/js/lang-zh-CN-result.32c5cf1c.js" rel="prefetch"><link href="/js/lang-zh-CN-setting.8c2ce690.js" rel="prefetch"><link href="/js/lang-zh-CN-user.81513cba.js" rel="prefetch"><link href="/js/lang-zh-CN.c417ca85.js" rel="prefetch"><link href="/js/user.d16c3935.js" rel="prefetch"><link href="/css/app.524a89d7.css" rel="preload" as="style"><link href="/css/chunk-vendors.fecaff35.css" rel="preload" as="style"><link href="/js/app.359a9541.js" rel="preload" as="script"><link href="/js/chunk-vendors.87c1e94d.js" rel="preload" as="script"><link href="/css/chunk-vendors.fecaff35.css" rel="stylesheet"><link href="/css/app.524a89d7.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but vue-antd-pro doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"><div class="first-loading-wrp"><img src="/logo.png" style="height: 44px; vertical-align: top; margin-right: 16px; border-style: none;"><h2>Easy Retry</h2><div class="loading-wrp"><span class="dot dot-spin"><i></i><i></i><i></i><i></i></span></div><div style="display: flex; justify-content: center; align-items: center;">致力提高分布式业务系统一致性的分布式重试平台</div></div></div><script src="//cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.min.js"></script><script src="//cdn.jsdelivr.net/npm/vue-router@3.5.1/dist/vue-router.min.js"></script><script src="//cdn.jsdelivr.net/npm/vuex@3.1.1/dist/vuex.min.js"></script><script src="//cdn.jsdelivr.net/npm/axios@0.21.1/dist/axios.min.js"></script><script src="/js/chunk-vendors.87c1e94d.js"></script><script src="/js/app.359a9541.js"></script></body></html> <!DOCTYPE html><html lang="zh-cmn-Hans"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/logo.png"><title>Easy Retry</title><style>.first-loading-wrp{display:flex;justify-content:center;align-items:center;flex-direction:column;min-height:420px;height:100%}.first-loading-wrp>h1{font-size:128px}.first-loading-wrp .loading-wrp{padding:98px;display:flex;justify-content:center;align-items:center}.dot{animation:antRotate 1.2s infinite linear;transform:rotate(45deg);position:relative;display:inline-block;font-size:32px;width:32px;height:32px;box-sizing:border-box}.dot i{width:14px;height:14px;position:absolute;display:block;background-color:#1890ff;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove 1s infinite linear alternate}.dot i:nth-child(1){top:0;left:0}.dot i:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.dot i:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.dot i:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}@keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@-webkit-keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@keyframes antSpinMove{to{opacity:1}}@-webkit-keyframes antSpinMove{to{opacity:1}}</style><link href="/css/chunk-758b2aa4.1c9c785f.css" rel="prefetch"><link href="/css/chunk-ec9b3564.28cc4171.css" rel="prefetch"><link href="/css/chunk-ff9025ec.a34448d4.css" rel="prefetch"><link href="/css/user.6ccd4506.css" rel="prefetch"><link href="/js/chunk-251479d0.5d4c7427.js" rel="prefetch"><link href="/js/chunk-2d0a4079.9b402f7e.js" rel="prefetch"><link href="/js/chunk-2d0b7230.0db51c7a.js" rel="prefetch"><link href="/js/chunk-2d0c8f97.64d04dc5.js" rel="prefetch"><link href="/js/chunk-2d0f085f.b3f39acd.js" rel="prefetch"><link href="/js/chunk-2d21a08f.afdde57f.js" rel="prefetch"><link href="/js/chunk-2d228eef.ceb84e40.js" rel="prefetch"><link href="/js/chunk-35f76107.6f3c6d6a.js" rel="prefetch"><link href="/js/chunk-40597980.def395a1.js" rel="prefetch"><link href="/js/chunk-74bac939.cae10fe4.js" rel="prefetch"><link href="/js/chunk-758b2aa4.bb551cf1.js" rel="prefetch"><link href="/js/chunk-ec9b3564.58010de6.js" rel="prefetch"><link href="/js/chunk-ff9025ec.85b45020.js" rel="prefetch"><link href="/js/fail.42ea5a82.js" rel="prefetch"><link href="/js/lang-zh-CN-account-settings.f8f25eaf.js" rel="prefetch"><link href="/js/lang-zh-CN-account.7e2ad2ea.js" rel="prefetch"><link href="/js/lang-zh-CN-dashboard-analysis.98c2997a.js" rel="prefetch"><link href="/js/lang-zh-CN-dashboard.ea812f6e.js" rel="prefetch"><link href="/js/lang-zh-CN-form-basicForm.ff3088ac.js" rel="prefetch"><link href="/js/lang-zh-CN-form.5f6efd97.js" rel="prefetch"><link href="/js/lang-zh-CN-global.bf0df5c8.js" rel="prefetch"><link href="/js/lang-zh-CN-menu.25425a62.js" rel="prefetch"><link href="/js/lang-zh-CN-result-fail.232762aa.js" rel="prefetch"><link href="/js/lang-zh-CN-result-success.3519c60c.js" rel="prefetch"><link href="/js/lang-zh-CN-result.7201a99b.js" rel="prefetch"><link href="/js/lang-zh-CN-setting.8c2ce690.js" rel="prefetch"><link href="/js/lang-zh-CN-user.81513cba.js" rel="prefetch"><link href="/js/lang-zh-CN.72b79d71.js" rel="prefetch"><link href="/js/user.3cecfe76.js" rel="prefetch"><link href="/css/app.f24fef3a.css" rel="preload" as="style"><link href="/css/chunk-vendors.fecaff35.css" rel="preload" as="style"><link href="/js/app.cc0839ae.js" rel="preload" as="script"><link href="/js/chunk-vendors.2d5d4160.js" rel="preload" as="script"><link href="/css/chunk-vendors.fecaff35.css" rel="stylesheet"><link href="/css/app.f24fef3a.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but vue-antd-pro doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"><div class="first-loading-wrp"><img src="/logo.png" style="height: 44px; vertical-align: top; margin-right: 16px; border-style: none;"><h2>Easy Retry</h2><div class="loading-wrp"><span class="dot dot-spin"><i></i><i></i><i></i><i></i></span></div><div style="display: flex; justify-content: center; align-items: center;">致力提高分布式业务系统一致性的分布式重试平台</div></div></div><script src="//cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.min.js"></script><script src="//cdn.jsdelivr.net/npm/vue-router@3.5.1/dist/vue-router.min.js"></script><script src="//cdn.jsdelivr.net/npm/vuex@3.1.1/dist/vuex.min.js"></script><script src="//cdn.jsdelivr.net/npm/axios@0.21.1/dist/axios.min.js"></script><script src="/js/chunk-vendors.2d5d4160.js"></script><script src="/js/app.cc0839ae.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21a08f"],{ba93:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("a-card",{attrs:{bordered:!1}},[e("div",{staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{layout:"inline"}},[e("a-row",{attrs:{gutter:48}},[[e("a-col",{attrs:{md:8,sm:24}},[e("a-form-item",{attrs:{label:"组名称"}},[e("a-input",{attrs:{placeholder:"请输入组名称",allowClear:""},model:{value:t.queryParam.groupName,callback:function(e){t.$set(t.queryParam,"groupName",e)},expression:"queryParam.groupName"}})],1)],1)],e("a-col",{attrs:{md:t.advanced?24:8,sm:24}},[e("span",{staticClass:"table-page-search-submitButtons",style:t.advanced&&{float:"right",overflow:"hidden"}||{}},[e("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.$refs.table.refresh(!0)}}},[t._v("查询")]),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:function(){return t.queryParam={}}}},[t._v("重置")])],1)])],2)],1)],1),e("div",{staticClass:"table-operator"},[t.$auth("group.add")?e("a-button",{attrs:{type:"primary",icon:"plus"},on:{click:function(e){return t.handleNew()}}},[t._v("新建")]):t._e()],1),e("s-table",{ref:"table",attrs:{size:"default",rowKey:"key",columns:t.columns,data:t.loadData,alert:t.options.alert,rowSelection:t.options.rowSelection,scroll:{x:1600}},scopedSlots:t._u([{key:"serial",fn:function(a,n,r){return e("span",{},[t._v(" "+t._s(r+1)+" ")])}},{key:"groupStatus",fn:function(a){return e("span",{},[t._v(" "+t._s(0===a?"停用":"启用")+" ")])}},{key:"initScene",fn:function(a){return e("span",{},[t._v(" "+t._s(0===a?"否":"是")+" ")])}},{key:"action",fn:function(a,n){return e("span",{},[[e("a",{on:{click:function(e){return t.handleEdit(n)}}},[t._v("编辑")]),e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.handleEditStatus(n)}}},[t._v(t._s(1===n.groupStatus?"停用":"启用"))])]],2)}}])})],1)},r=[],o=(a("d3b7"),a("25f0"),a("27e3")),s=a("0fea"),i=a("2af9"),u=a("c1df"),c=a.n(u),d={name:"TableListWrapper",components:{AInput:o["a"],STable:i["j"]},data:function(){var t=this;return{advanced:!1,queryParam:{},columns:[{title:"#",scopedSlots:{customRender:"serial"}},{title:"名称",dataIndex:"groupName"},{title:"状态",dataIndex:"groupStatus",scopedSlots:{customRender:"groupStatus"}},{title:"路由策略",dataIndex:"routeKey",customRender:function(e){return t.routeKey[e]}},{title:"版本",dataIndex:"version"},{title:"分区",dataIndex:"groupPartition",needTotal:!0},{title:"ID生成模式",dataIndex:"idGeneratorModeName"},{title:"初始化场景",dataIndex:"initScene",scopedSlots:{customRender:"initScene"}},{title:"更新时间",dataIndex:"updateDt",sorter:!0,customRender:function(t){return c()(t).format("YYYY-MM-DD HH:mm:ss")}},{title:"描述",dataIndex:"description"},{title:"OnLine机器",dataIndex:"onlinePodList",customRender:function(t){return t.toString()}},{title:"操作",dataIndex:"action",width:"150px",fixed:"right",scopedSlots:{customRender:"action"}}],loadData:function(e){return Object(s["k"])(Object.assign(e,t.queryParam)).then((function(t){return t}))},selectedRowKeys:[],selectedRows:[],options:{alert:{show:!0,clear:function(){t.selectedRowKeys=[]}},rowSelection:{selectedRowKeys:this.selectedRowKeys,onChange:this.onSelectChange}},routeKey:{1:"一致性hash算法",2:"随机算法",3:"最近最久未使用算法"}}},created:function(){},methods:{handleNew:function(){this.$router.push("/basic-config")},handleEdit:function(t){this.$router.push({path:"/basic-config",query:{groupName:t.groupName}})},toggleAdvanced:function(){this.advanced=!this.advanced},handleEditStatus:function(t){var e=this,a=t.groupStatus,n=t.groupName,r=this.$notification;Object(s["H"])({groupName:n,groupStatus:1===a?0:1}).then((function(t){0===t.status?r["error"]({message:t.message}):(r["success"]({message:t.message}),e.$refs.table.refresh())}))}}},l=d,p=a("2877"),f=Object(p["a"])(l,n,r,!1,null,null,null);e["default"]=f.exports}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21a08f"],{ba93:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("a-card",{attrs:{bordered:!1}},[e("div",{staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{layout:"inline"}},[e("a-row",{attrs:{gutter:48}},[[e("a-col",{attrs:{md:8,sm:24}},[e("a-form-item",{attrs:{label:"组名称"}},[e("a-input",{attrs:{placeholder:"请输入组名称",allowClear:""},model:{value:t.queryParam.groupName,callback:function(e){t.$set(t.queryParam,"groupName",e)},expression:"queryParam.groupName"}})],1)],1)],e("a-col",{attrs:{md:t.advanced?24:8,sm:24}},[e("span",{staticClass:"table-page-search-submitButtons",style:t.advanced&&{float:"right",overflow:"hidden"}||{}},[e("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.$refs.table.refresh(!0)}}},[t._v("查询")]),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:function(){return t.queryParam={}}}},[t._v("重置")])],1)])],2)],1)],1),e("div",{staticClass:"table-operator"},[t.$auth("group.add")?e("a-button",{attrs:{type:"primary",icon:"plus"},on:{click:function(e){return t.handleNew()}}},[t._v("新建")]):t._e()],1),e("s-table",{ref:"table",attrs:{size:"default",rowKey:"key",columns:t.columns,data:t.loadData,alert:t.options.alert,rowSelection:t.options.rowSelection,scroll:{x:1600}},scopedSlots:t._u([{key:"serial",fn:function(a,n,r){return e("span",{},[t._v(" "+t._s(r+1)+" ")])}},{key:"groupStatus",fn:function(a){return e("span",{},[t._v(" "+t._s(0===a?"停用":"启用")+" ")])}},{key:"initScene",fn:function(a){return e("span",{},[t._v(" "+t._s(0===a?"否":"是")+" ")])}},{key:"action",fn:function(a,n){return e("span",{},[[e("a",{on:{click:function(e){return t.handleEdit(n)}}},[t._v("编辑")]),e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.handleEditStatus(n)}}},[t._v(t._s(1===n.groupStatus?"停用":"启用"))])]],2)}}])})],1)},r=[],o=(a("d3b7"),a("25f0"),a("27e3")),s=a("0fea"),i=a("2af9"),u=a("c1df"),c=a.n(u),d={name:"TableListWrapper",components:{AInput:o["a"],STable:i["j"]},data:function(){var t=this;return{advanced:!1,queryParam:{},columns:[{title:"#",scopedSlots:{customRender:"serial"}},{title:"名称",dataIndex:"groupName"},{title:"状态",dataIndex:"groupStatus",scopedSlots:{customRender:"groupStatus"}},{title:"路由策略",dataIndex:"routeKey",customRender:function(e){return t.routeKey[e]}},{title:"版本",dataIndex:"version"},{title:"分区",dataIndex:"groupPartition",needTotal:!0},{title:"ID生成模式",dataIndex:"idGeneratorModeName"},{title:"初始化场景",dataIndex:"initScene",scopedSlots:{customRender:"initScene"}},{title:"更新时间",dataIndex:"updateDt",sorter:!0,customRender:function(t){return c()(t).format("YYYY-MM-DD HH:mm:ss")}},{title:"描述",dataIndex:"description"},{title:"OnLine机器",dataIndex:"onlinePodList",customRender:function(t){return t.toString()}},{title:"操作",dataIndex:"action",width:"150px",fixed:"right",scopedSlots:{customRender:"action"}}],loadData:function(e){return Object(s["k"])(Object.assign(e,t.queryParam)).then((function(t){return t}))},selectedRowKeys:[],selectedRows:[],options:{alert:{show:!0,clear:function(){t.selectedRowKeys=[]}},rowSelection:{selectedRowKeys:this.selectedRowKeys,onChange:this.onSelectChange}},routeKey:{1:"一致性hash算法",2:"随机算法",3:"最近最久未使用算法"}}},created:function(){},methods:{handleNew:function(){this.$router.push("/basic-config")},handleEdit:function(t){this.$router.push({path:"/basic-config",query:{groupName:t.groupName}})},toggleAdvanced:function(){this.advanced=!this.advanced},handleEditStatus:function(t){var e=this,a=t.groupStatus,n=t.groupName,r=this.$notification;Object(s["J"])({groupName:n,groupStatus:1===a?0:1}).then((function(t){0===t.status?r["error"]({message:t.message}):(r["success"]({message:t.message}),e.$refs.table.refresh())}))}}},l=d,p=a("2877"),f=Object(p["a"])(l,n,r,!1,null,null,null);e["default"]=f.exports}}]);

View File

@ -1 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-74bac939"],{"9141d":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("a-card",{attrs:{bordered:!1}},[e("div",{staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{layout:"inline"}},[e("a-row",{attrs:{gutter:48}},[[e("a-col",{attrs:{md:8,sm:24}},[e("a-form-item",{attrs:{label:"组名称"}},[e("a-input",{attrs:{placeholder:"请输入组名称",allowClear:""},model:{value:t.queryParam.groupName,callback:function(e){t.$set(t.queryParam,"groupName",e)},expression:"queryParam.groupName"}})],1)],1)],e("a-col",{attrs:{md:t.advanced?24:8,sm:24}},[e("span",{staticClass:"table-page-search-submitButtons",style:t.advanced&&{float:"right",overflow:"hidden"}||{}},[e("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.$refs.table.refresh(!0)}}},[t._v("查询")]),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:function(){return t.queryParam={}}}},[t._v("重置")])],1)])],2)],1)],1),e("s-table",{ref:"table",attrs:{size:"default",rowKey:"key",columns:t.columns,data:t.loadData,alert:t.options.alert,rowSelection:t.options.rowSelection,scroll:{x:1600}},scopedSlots:t._u([{key:"serial",fn:function(a,o,n){return e("span",{},[t._v(" "+t._s(n+1)+" ")])}},{key:"contextPath",fn:function(a,o){return e("span",{},[1===o.nodeType?e("div",[t._v(" 路径: "),e("a-tag",{attrs:{color:"#108ee9"}},[t._v(" "+t._s(a)+" ")])],1):e("div",[t._v(" 组: "),t._l(o.consumerGroup,(function(a){return e("a-tag",{key:a,staticStyle:{"margin-bottom":"16px"},attrs:{color:"pink"}},[t._v(" "+t._s(a)+" ")])}))],2)])}}])})],1)},n=[],r=a("c1df"),s=a.n(r),l=a("0fea"),c=a("2af9"),d={name:"PodList",components:{STable:c["j"]},data:function(){var t=this;return{advanced:!1,queryParam:{},columns:[{title:"#",scopedSlots:{customRender:"serial"},width:"6%"},{title:"类型",dataIndex:"nodeType",customRender:function(e){return t.nodeType[e]},width:"8%"},{title:"组名称",dataIndex:"groupName",width:"10%"},{title:"PodId",dataIndex:"hostId",width:"18%"},{title:"IP",dataIndex:"hostIp",width:"12%"},{title:"Port",dataIndex:"hostPort",width:"8%"},{title:"路径/组",dataIndex:"contextPath",scopedSlots:{customRender:"contextPath"},width:"22%"},{title:"更新时间",dataIndex:"updateDt",sorter:!0,customRender:function(t){return s()(t).format("YYYY-MM-DD HH:mm:ss")}}],loadData:function(e){return Object(l["A"])(Object.assign(e,t.queryParam)).then((function(t){return t}))},selectedRowKeys:[],selectedRows:[],options:{alert:{show:!0,clear:function(){t.selectedRowKeys=[]}},rowSelection:{selectedRowKeys:this.selectedRowKeys,onChange:this.onSelectChange}},nodeType:{1:"客户端",2:"服务端"}}},methods:{}},i=d,u=a("2877"),p=Object(u["a"])(i,o,n,!1,null,"1902f2a8",null);e["default"]=p.exports}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-74bac939"],{"9141d":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("a-card",{attrs:{bordered:!1}},[e("div",{staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{layout:"inline"}},[e("a-row",{attrs:{gutter:48}},[[e("a-col",{attrs:{md:8,sm:24}},[e("a-form-item",{attrs:{label:"组名称"}},[e("a-input",{attrs:{placeholder:"请输入组名称",allowClear:""},model:{value:t.queryParam.groupName,callback:function(e){t.$set(t.queryParam,"groupName",e)},expression:"queryParam.groupName"}})],1)],1)],e("a-col",{attrs:{md:t.advanced?24:8,sm:24}},[e("span",{staticClass:"table-page-search-submitButtons",style:t.advanced&&{float:"right",overflow:"hidden"}||{}},[e("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.$refs.table.refresh(!0)}}},[t._v("查询")]),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:function(){return t.queryParam={}}}},[t._v("重置")])],1)])],2)],1)],1),e("s-table",{ref:"table",attrs:{size:"default",rowKey:"key",columns:t.columns,data:t.loadData,alert:t.options.alert,rowSelection:t.options.rowSelection,scroll:{x:1600}},scopedSlots:t._u([{key:"serial",fn:function(a,o,n){return e("span",{},[t._v(" "+t._s(n+1)+" ")])}},{key:"contextPath",fn:function(a,o){return e("span",{},[1===o.nodeType?e("div",[t._v(" 路径: "),e("a-tag",{attrs:{color:"#108ee9"}},[t._v(" "+t._s(a)+" ")])],1):e("div",[t._v(" 组: "),t._l(o.consumerGroup,(function(a){return e("a-tag",{key:a,staticStyle:{"margin-bottom":"16px"},attrs:{color:"pink"}},[t._v(" "+t._s(a)+" ")])}))],2)])}}])})],1)},n=[],r=a("c1df"),s=a.n(r),l=a("0fea"),c=a("2af9"),d={name:"PodList",components:{STable:c["j"]},data:function(){var t=this;return{advanced:!1,queryParam:{},columns:[{title:"#",scopedSlots:{customRender:"serial"},width:"6%"},{title:"类型",dataIndex:"nodeType",customRender:function(e){return t.nodeType[e]},width:"8%"},{title:"组名称",dataIndex:"groupName",width:"10%"},{title:"PodId",dataIndex:"hostId",width:"18%"},{title:"IP",dataIndex:"hostIp",width:"12%"},{title:"Port",dataIndex:"hostPort",width:"8%"},{title:"路径/组",dataIndex:"contextPath",scopedSlots:{customRender:"contextPath"},width:"22%"},{title:"更新时间",dataIndex:"updateDt",sorter:!0,customRender:function(t){return s()(t).format("YYYY-MM-DD HH:mm:ss")}}],loadData:function(e){return Object(l["C"])(Object.assign(e,t.queryParam)).then((function(t){return t}))},selectedRowKeys:[],selectedRows:[],options:{alert:{show:!0,clear:function(){t.selectedRowKeys=[]}},rowSelection:{selectedRowKeys:this.selectedRowKeys,onChange:this.onSelectChange}},nodeType:{1:"客户端",2:"服务端"}}},methods:{}},i=d,u=a("2877"),p=Object(u["a"])(i,o,n,!1,null,"1902f2a8",null);e["default"]=p.exports}}]);

View File

@ -1,6 +1,5 @@
// eslint-disable-next-line // eslint-disable-next-line
import { UserLayout, BasicLayout, BlankLayout } from '@/layouts' import { UserLayout, BasicLayout, BlankLayout } from '@/layouts'
import { bxAnaalyse } from '@/core/icons'
const RouteView = { const RouteView = {
name: 'RouteView', name: 'RouteView',
@ -22,7 +21,7 @@ export const asyncRouterMap = [
redirect: '/dashboard/analysis', redirect: '/dashboard/analysis',
hideChildrenInMenu: true, hideChildrenInMenu: true,
component: RouteView, component: RouteView,
meta: { title: 'menu.dashboard', keepAlive: true, icon: bxAnaalyse, permission: ['dashboard'] }, meta: { title: 'menu.dashboard', keepAlive: true, icon: 'dashboard', permission: ['dashboard'] },
children: [ children: [
{ {
path: '/dashboard/analysis', path: '/dashboard/analysis',
@ -43,7 +42,7 @@ export const asyncRouterMap = [
path: '/basic-config-list', path: '/basic-config-list',
name: 'basicConfigList', name: 'basicConfigList',
component: () => import('@/views/config/GroupList'), component: () => import('@/views/config/GroupList'),
meta: { title: '组管理', icon: 'profile', permission: ['group'] } meta: { title: '组管理', icon: 'team', permission: ['group'] }
}, },
{ {
path: '/basic-config', path: '/basic-config',
@ -58,7 +57,7 @@ export const asyncRouterMap = [
component: RouteView, component: RouteView,
hideChildrenInMenu: true, hideChildrenInMenu: true,
redirect: '/retry-task/list', redirect: '/retry-task/list',
meta: { title: '任务管理', icon: 'profile', hideChildrenInMenu: true, keepAlive: true, permission: ['retryTask'] }, meta: { title: '任务管理', icon: 'schedule', hideChildrenInMenu: true, keepAlive: true, permission: ['retryTask'] },
children: [ children: [
{ {
path: '/retry-task/info', path: '/retry-task/info',
@ -80,7 +79,7 @@ export const asyncRouterMap = [
component: RouteView, component: RouteView,
hideChildrenInMenu: true, hideChildrenInMenu: true,
redirect: '/retry-dead-letter/list', redirect: '/retry-dead-letter/list',
meta: { title: '死信队列管理', icon: 'profile', permission: ['retryDeadLetter'] }, meta: { title: '死信队列管理', icon: 'exception', permission: ['retryDeadLetter'] },
children: [ children: [
{ {
path: '/retry-dead-letter/list', path: '/retry-dead-letter/list',
@ -122,7 +121,7 @@ export const asyncRouterMap = [
path: '/user-list', path: '/user-list',
name: 'UserList', name: 'UserList',
component: () => import('@/views/user/UserList'), component: () => import('@/views/user/UserList'),
meta: { title: '用户管理', icon: 'profile', permission: ['user'] } meta: { title: '用户管理', icon: 'user', permission: ['user'] }
}, },
{ {
path: '/user-form', path: '/user-form',
@ -130,295 +129,12 @@ export const asyncRouterMap = [
hidden: true, hidden: true,
component: () => import('@/views/user/UserForm'), component: () => import('@/views/user/UserForm'),
meta: { title: '新增或更新用户', icon: 'profile', permission: ['userForm'] } meta: { title: '新增或更新用户', icon: 'profile', permission: ['userForm'] }
} },
// forms
// {
// path: '/form',
// redirect: '/form/base-form',
// component: RouteView,
// meta: { title: 'menu.form', icon: 'form', permission: ['form'] },
// children: [
// {
// path: '/form/base-form',
// name: 'BaseForm',
// component: () => import('@/views/form/basicForm'),
// meta: { title: 'menu.form.basic-form', keepAlive: true, permission: ['form'] }
// },
// {
// path: '/form/step-form',
// name: 'StepForm',
// component: () => import('@/views/form/stepForm/StepForm'),
// meta: { title: 'menu.form.step-form', keepAlive: true, permission: ['form'] }
// },
// {
// path: '/form/advanced-form',
// name: 'AdvanceForm',
// component: () => import('@/views/form/advancedForm/AdvancedForm'),
// meta: { title: 'menu.form.advanced-form', keepAlive: true, permission: ['form'] }
// }
// ]
// },
// // list
// {
// path: '/list',
// name: 'list',
// component: RouteView,
// redirect: '/list/table-list',
// meta: { title: 'menu.list', icon: 'table', permission: ['table'] },
// children: [
// {
// path: '/list/table-list/:pageNo([1-9]\\d*)?',
// name: 'TableListWrapper',
// hideChildrenInMenu: true, // 强制显示 MenuItem 而不是 SubMenu
// component: () => import('@/views/list/TableList'),
// meta: { title: 'menu.list.table-list', keepAlive: true, permission: ['table'] }
// },
// {
// path: '/list/basic-list',
// name: 'BasicList',
// component: () => import('@/views/list/BasicList'),
// meta: { title: 'menu.list.basic-list', keepAlive: true, permission: ['table'] }
// },
// {
// path: '/list/card',
// name: 'CardList',
// component: () => import('@/views/list/CardList'),
// meta: { title: 'menu.list.card-list', keepAlive: true, permission: ['table'] }
// },
// {
// path: '/list/search',
// name: 'SearchList',
// component: () => import('@/views/list/search/SearchLayout'),
// redirect: '/list/search/article',
// meta: { title: 'menu.list.search-list', keepAlive: true, permission: ['table'] },
// children: [
// {
// path: '/list/search/article',
// name: 'SearchArticles',
// component: () => import('../views/list/search/Article'),
// meta: { title: 'menu.list.search-list.articles', permission: ['table'] }
// },
// {
// path: '/list/search/project',
// name: 'SearchProjects',
// component: () => import('../views/list/search/Projects'),
// meta: { title: 'menu.list.search-list.projects', permission: ['table'] }
// },
// {
// path: '/list/search/application',
// name: 'SearchApplications',
// component: () => import('../views/list/search/Applications'),
// meta: { title: 'menu.list.search-list.applications', permission: ['table'] }
// }
// ]
// }
// ]
// },
//
// // profile
// {
// path: '/profile',
// name: 'profile',
// component: RouteView,
// redirect: '/profile/basic',
// meta: { title: 'menu.profile', icon: 'profile', permission: ['profile'] },
// children: [
// {
// path: '/profile/basic',
// name: 'ProfileBasic',
// component: () => import('@/views/profile/basic'),
// meta: { title: 'menu.profile.basic', permission: ['profile'] }
// },
// {
// path: '/profile/advanced',
// name: 'ProfileAdvanced',
// component: () => import('@/views/profile/advanced/Advanced'),
// meta: { title: 'menu.profile.advanced', permission: ['profile'] }
// }
// ]
// },
//
// // result
// {
// path: '/result',
// name: 'result',
// component: RouteView,
// redirect: '/result/success',
// meta: { title: 'menu.result', icon: 'check-circle-o', permission: ['result'] },
// children: [
// {
// path: '/result/success',
// name: 'ResultSuccess',
// component: () => import(/* webpackChunkName: "result" */ '@/views/result/Success'),
// meta: { title: 'menu.result.success', keepAlive: false, hiddenHeaderContent: true, permission: ['result'] }
// },
// {
// path: '/result/fail',
// name: 'ResultFail',
// component: () => import(/* webpackChunkName: "result" */ '@/views/result/Error'),
// meta: { title: 'menu.result.fail', keepAlive: false, hiddenHeaderContent: true, permission: ['result'] }
// }
// ]
// },
//
// // Exception
// {
// path: '/exception',
// name: 'exception',
// component: RouteView,
// redirect: '/exception/403',
// meta: { title: 'menu.exception', icon: 'warning', permission: ['exception'] },
// children: [
// {
// path: '/exception/403',
// name: 'Exception403',
// component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/403'),
// meta: { title: 'menu.exception.not-permission', permission: ['exception'] }
// },
// {
// path: '/exception/404',
// name: 'Exception404',
// component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404'),
// meta: { title: 'menu.exception.not-find', permission: ['exception'] }
// },
// {
// path: '/exception/500',
// name: 'Exception500',
// component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/500'),
// meta: { title: 'menu.exception.server-error', permission: ['exception'] }
// }
// ]
// },
//
// // account
// {
// path: '/account',
// component: RouteView,
// redirect: '/account/center',
// name: 'account',
// meta: { title: 'menu.account', icon: 'user', keepAlive: true, permission: ['user'] },
// children: [
// {
// path: '/account/center',
// name: 'center',
// component: () => import('@/views/account/center'),
// meta: { title: 'menu.account.center', keepAlive: true, permission: ['user'] }
// },
// {
// path: '/account/settings',
// name: 'settings',
// component: () => import('@/views/account/settings/Index'),
// meta: { title: 'menu.account.settings', hideHeader: true, permission: ['user'] },
// redirect: '/account/settings/basic',
// hideChildrenInMenu: true,
// children: [
// {
// path: '/account/settings/basic',
// name: 'BasicSettings',
// component: () => import('@/views/account/settings/BasicSetting'),
// meta: { title: 'account.settings.menuMap.basic', hidden: true, permission: ['user'] }
// },
// {
// path: '/account/settings/security',
// name: 'SecuritySettings',
// component: () => import('@/views/account/settings/Security'),
// meta: {
// title: 'account.settings.menuMap.security',
// hidden: true,
// keepAlive: true,
// permission: ['user']
// }
// },
// {
// path: '/account/settings/custom',
// name: 'CustomSettings',
// component: () => import('@/views/account/settings/Custom'),
// meta: { title: 'account.settings.menuMap.custom', hidden: true, keepAlive: true, permission: ['user'] }
// },
// {
// path: '/account/settings/binding',
// name: 'BindingSettings',
// component: () => import('@/views/account/settings/Binding'),
// meta: { title: 'account.settings.menuMap.binding', hidden: true, keepAlive: true, permission: ['user'] }
// },
// {
// path: '/account/settings/notification',
// name: 'NotificationSettings',
// component: () => import('@/views/account/settings/Notification'),
// meta: {
// title: 'account.settings.menuMap.notification',
// hidden: true,
// keepAlive: true,
// permission: ['user']
// }
// }
// ]
// }
// ]
// }
// other
/*
{ {
path: '/other', path: 'https://www.easyretry.com',
name: 'otherPage', name: 'HelpDocs',
component: PageView, meta: { title: '帮助文档', icon: 'question-circle', target: '_blank' }
meta: { title: '其他组件', icon: 'slack', permission: [ 'dashboard' ] },
redirect: '/other/icon-selector',
children: [
{
path: '/other/icon-selector',
name: 'TestIconSelect',
component: () => import('@/views/other/IconSelectorView'),
meta: { title: 'IconSelector', icon: 'tool', keepAlive: true, permission: [ 'dashboard' ] }
},
{
path: '/other/list',
component: RouteView,
meta: { title: '业务布局', icon: 'layout', permission: [ 'support' ] },
redirect: '/other/list/tree-list',
children: [
{
path: '/other/list/tree-list',
name: 'TreeList',
component: () => import('@/views/other/TreeList'),
meta: { title: '树目录表格', keepAlive: true }
},
{
path: '/other/list/edit-table',
name: 'EditList',
component: () => import('@/views/other/TableInnerEditList'),
meta: { title: '内联编辑表格', keepAlive: true }
},
{
path: '/other/list/user-list',
name: 'UserList',
component: () => import('@/views/other/UserList'),
meta: { title: '用户列表', keepAlive: true }
},
{
path: '/other/list/role-list',
name: 'RoleList',
component: () => import('@/views/other/RoleList'),
meta: { title: '角色列表', keepAlive: true }
},
{
path: '/other/list/system-role',
name: 'SystemRole',
component: () => import('@/views/role/RoleList'),
meta: { title: '角色列表2', keepAlive: true }
},
{
path: '/other/list/permission-list',
name: 'PermissionList',
component: () => import('@/views/other/PermissionList'),
meta: { title: '权限列表', keepAlive: true }
}
]
}
]
} }
*/
] ]
}, },
{ {

View File

@ -368,10 +368,10 @@ export default {
updateRetryTaskStatus({ id: record.id, groupName: record.groupName, retryStatus: 1 }).then((res) => { updateRetryTaskStatus({ id: record.id, groupName: record.groupName, retryStatus: 1 }).then((res) => {
const { status } = res const { status } = res
if (status === 0) { if (status === 0) {
this.$message.error('重试完成失败') this.$message.error('执行失败')
} else { } else {
this.$refs.table.refresh(true) this.$refs.table.refresh(true)
this.$message.success('重试完成成功') this.$message.success('执行成功')
} }
}) })
}, },
@ -383,7 +383,7 @@ export default {
this.$message.error('执行失败') this.$message.error('执行失败')
} else { } else {
this.$refs.table.refresh(true) this.$refs.table.refresh(true)
this.$message.success('重试完成成功') this.$message.success('执行成功')
} }
}) })
} else { } else {
@ -393,7 +393,7 @@ export default {
this.$message.error('执行失败') this.$message.error('执行失败')
} else { } else {
this.$refs.table.refresh(true) this.$refs.table.refresh(true)
this.$message.success('重试完成成功') this.$message.success('执行完成')
} }
}) })
} }