feat: 2.6.0

1. 决策未通过单独设立一个icon
This commit is contained in:
byteblogs168 2024-01-23 17:56:20 +08:00
parent e49ff9cf3b
commit 197b465f3f
82 changed files with 135 additions and 80 deletions

View File

@ -0,0 +1 @@
.log[data-v-4a9e5221]{height:calc(100vh - 56px);color:#abb2bf;background-color:#282c34;position:relative!important;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.log[data-v-4a9e5221] ::-webkit-scrollbar{width:10px;height:10px}.log[data-v-4a9e5221] ::-webkit-scrollbar-track{width:6px;background:rgba(16,31,28,.1);border-radius:2em}.log[data-v-4a9e5221] ::-webkit-scrollbar-thumb{background-color:rgba(144,147,153,.5);background-clip:padding-box;min-height:28px;border-radius:2em;-webkit-transition:background-color .3s;transition:background-color .3s;cursor:pointer}.log[data-v-4a9e5221] ::-webkit-scrollbar-thumb:hover{background-color:rgba(144,147,153,.3)}.log .scroller[data-v-4a9e5221]{height:100%;overflow:auto;display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-align:start!important;-ms-flex-align:start!important;align-items:flex-start!important;font-family:monospace;line-height:1.4;position:relative;z-index:0}.log .scroller .index[data-v-4a9e5221]{width:32px;min-width:32px;height:100%;background-color:#1e1f22;color:#7d8799;text-align:center;vertical-align:top;padding-top:4px;font-size:16px;z-index:200}.log .scroller .gutters[data-v-4a9e5221]{min-height:100%;position:sticky;background-color:#1e1f22;border:none;-ms-flex-negative:0;flex-shrink:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;inset-inline-start:0;z-index:200}.log .scroller .gutters .gutter-element[data-v-4a9e5221],.log .scroller .gutters[data-v-4a9e5221]{color:#7d8799;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box}.log .scroller .gutters .gutter-element[data-v-4a9e5221]{height:25px;font-size:14px;padding:0 8px 0 5px;min-width:20px;text-align:right;white-space:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.log .scroller .content[data-v-4a9e5221]{-moz-tab-size:4;-o-tab-size:4;tab-size:4;caret-color:transparent!important;margin:0;white-space:pre;padding:4px 8px;outline:none;color:#bcbec4}.log .scroller .content .line[data-v-4a9e5221]{height:25px;caret-color:transparent!important;font-size:16px;display:contents;padding:0 2px 0 6px}.log .scroller .content .line .flex[data-v-4a9e5221]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:5px}.log .scroller .content .line .text[data-v-4a9e5221]{font-size:16px}[data-v-4a9e5221] .ant-modal{max-width:100%;top:0;padding-bottom:0;margin:0}[data-v-4a9e5221] .ant-modal-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100vh}[data-v-4a9e5221] .ant-modal-body{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0}

View File

@ -0,0 +1 @@
.ant-layout-content{margin:0}.ant-layout-footer{display:none}

View File

@ -0,0 +1 @@
.ant-layout-content{margin:0}.ant-layout-footer{display:none}

View File

@ -0,0 +1 @@
.ant-layout-content{margin:0}.ant-layout-footer{display:none}

View File

@ -0,0 +1 @@
.ant-layout-content{margin:0}.ant-layout-footer{display:none}

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2a97ef32"],{"74c4":function(e,t,n){"use strict";n("806a")},"806a":function(e,t,n){},"8f70":function(e,t,n){"use strict";n("99af");var s=function(){var e=this,t=e._self._c;return t("iframe",{ref:"iframe",style:"width: 100%;height:calc(99vh - 60px)",attrs:{src:"/lib?id=".concat(e.id,"&x1c2Hdd6=").concat(e.value),marginwidth:"0",frameborder:"no"}})},a=[],o=n("53ca"),i={name:"WorkFlow",components:{},props:{value:{type:String,default:""}},data:function(){return{id:""}},mounted:function(){this.id=this.$route.query.id},created:function(){window.addEventListener("message",this.handleMessage,!1)},destroyed:function(){window.removeEventListener("message",this.handleMessage)},methods:{save:function(){window.removeEventListener("message",this.handleMessage),this.$message.info("工作流新增成功"),this.$router.push({path:"/job/workflow/list"})},cancel:function(){window.removeEventListener("message",this.handleMessage),this.$router.push({path:"/job/workflow/list"})},update:function(){this.$message.info("工作流修改成功"),this.$router.push({path:"/job/workflow/list"})},handleMessage:function(e){"object"===Object(o["a"])(e.data)&&("SV5ucvLBhvFkOftb"===e.data.code?this.save():"kb4DO9h6WIiqFhbp"===e.data.code?this.cancel():"8Rr3XPtVVAHfduQg"===e.data.code&&this.update())}}},r=i,c=(n("74c4"),n("2877")),u=Object(c["a"])(r,s,a,!1,null,null,null);t["a"]=u.exports},e9f5:function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e._self._c;return t("work-flow",{attrs:{value:"wA4wN1nZ"}})},a=[],o=n("8f70"),i={name:"WorkFlowEdit",components:{WorkFlow:o["a"]}},r=i,c=n("2877"),u=Object(c["a"])(r,s,a,!1,null,null,null);t["default"]=u.exports}}]);

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2b6fdc2a"],{"49de":function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e._self._c;return t("work-flow",{attrs:{value:"D7Rzd7Oe"}})},a=[],o=n("8f70"),i={name:"WorkFlowEdit",components:{WorkFlow:o["a"]}},r=i,c=n("2877"),u=Object(c["a"])(r,s,a,!1,null,null,null);t["default"]=u.exports},"74c4":function(e,t,n){"use strict";n("806a")},"806a":function(e,t,n){},"8f70":function(e,t,n){"use strict";n("99af");var s=function(){var e=this,t=e._self._c;return t("iframe",{ref:"iframe",style:"width: 100%;height:calc(99vh - 60px)",attrs:{src:"/lib?id=".concat(e.id,"&x1c2Hdd6=").concat(e.value),marginwidth:"0",frameborder:"no"}})},a=[],o=n("53ca"),i={name:"WorkFlow",components:{},props:{value:{type:String,default:""}},data:function(){return{id:""}},mounted:function(){this.id=this.$route.query.id},created:function(){window.addEventListener("message",this.handleMessage,!1)},destroyed:function(){window.removeEventListener("message",this.handleMessage)},methods:{save:function(){window.removeEventListener("message",this.handleMessage),this.$message.info("工作流新增成功"),this.$router.push({path:"/job/workflow/list"})},cancel:function(){window.removeEventListener("message",this.handleMessage),this.$router.push({path:"/job/workflow/list"})},update:function(){this.$message.info("工作流修改成功"),this.$router.push({path:"/job/workflow/list"})},handleMessage:function(e){"object"===Object(o["a"])(e.data)&&("SV5ucvLBhvFkOftb"===e.data.code?this.save():"kb4DO9h6WIiqFhbp"===e.data.code?this.cancel():"8Rr3XPtVVAHfduQg"===e.data.code&&this.update())}}},r=i,c=(n("74c4"),n("2877")),u=Object(c["a"])(r,s,a,!1,null,null,null);t["a"]=u.exports}}]);

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0aa660"],{"119c":function(t,a,e){"use strict";e.r(a);e("ac1f"),e("5319"),e("b0c0");var o=function(){var t=this,a=this,e=a._self._c;return e("div",[a.showHeader?e("page-header-wrapper",{staticStyle:{margin:"-24px -1px 0"},on:{back:function(){return a.$router.replace("/job/batch/list")}}},[e("div")]):a._e(),null!==a.jobBatchInfo?e("a-card",{attrs:{bordered:!1}},[e("a-descriptions",{attrs:{title:"",column:a.column,bordered:""}},[e("a-descriptions-item",{attrs:{label:"组名称"}},[a._v(" "+a._s(a.jobBatchInfo.groupName)+" ")]),e("a-descriptions-item",{attrs:{label:"任务名称"}},[a._v(" "+a._s(a.jobBatchInfo.jobName)+" ")]),e("a-descriptions-item",{attrs:{label:"状态"}},[e("a-tag",{attrs:{color:a.taskBatchStatus[a.jobBatchInfo.taskBatchStatus].color}},[a._v(" "+a._s(a.taskBatchStatus[a.jobBatchInfo.taskBatchStatus].name)+" ")])],1),e("a-descriptions-item",{attrs:{label:"执行器类型"}},[e("a-tag",{attrs:{color:a.executorType[a.jobBatchInfo.executorType].color}},[a._v(" "+a._s(a.executorType[a.jobBatchInfo.executorType].name)+" ")])],1),e("a-descriptions-item",{attrs:{label:"操作原因"}},[e("a-tag",{attrs:{color:a.operationReason[a.jobBatchInfo.operationReason].color}},[a._v(" "+a._s(a.operationReason[a.jobBatchInfo.operationReason].name)+" ")])],1),e("a-descriptions-item",{attrs:{label:"开始执行时间"}},[a._v(" "+a._s(a.jobBatchInfo.executionAt)+" ")]),e("a-descriptions-item",{attrs:{label:"执行器名称",span:"4"}},[a._v(" "+a._s(a.jobBatchInfo.executorInfo)+" ")]),e("a-descriptions-item",{attrs:{label:"创建时间"}},[a._v(" "+a._s(a.jobBatchInfo.createDt)+" ")])],1)],1):a._e(),e("div",{staticStyle:{margin:"20px 0","border-left":"#f5222d 5px solid","font-size":"medium","font-weight":"bold"}},[e("span",{staticStyle:{"padding-left":"18px"}},[a._v("任务项列表")]),e("span",{staticStyle:{"padding-left":"18px"}},[e("a-icon",{attrs:{type:"sync"},on:{click:function(){return t.$refs.JobTaskListRef.refreshTable(t.queryParam)}}})],1)]),e("JobTaskList",{ref:"JobTaskListRef"})],1)},r=[],s=(e("a9e3"),e("3b7a")),n=e("c1df"),c=e.n(n),i=e("38b7"),p=e.n(i),u=e("36e8"),l={name:"JobInfo",components:{JobTaskList:u["default"]},props:{showHeader:{type:Boolean,default:!0},column:{type:Number,default:3}},data:function(){return{jobBatchInfo:null,taskBatchStatus:p.a.taskBatchStatus,operationReason:p.a.operationReason,taskType:p.a.taskType,triggerType:p.a.triggerType,blockStrategy:p.a.blockStrategy,executorType:p.a.executorType,queryParam:{}}},created:function(){var t=this.$route.query.id,a=this.$route.query.groupName;t&&a?this.jobBatchDetail(t):this.showHeader&&this.$router.push({path:"/404"})},methods:{parseDate:function(t){return c()(t).format("YYYY-MM-DD HH:mm:ss")},jobBatchDetail:function(t){var a=this;Object(s["f"])(t).then((function(e){a.jobBatchInfo=e.data,a.queryParam={groupName:a.jobBatchInfo.groupName,taskBatchId:t},a.$refs.JobTaskListRef.refreshTable(a.queryParam)}))}}},b=l,f=e("2877"),h=Object(f["a"])(b,o,r,!1,null,"aa07bd40",null);a["default"]=h.exports}}]);
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0aa660"],{"119c":function(t,a,e){"use strict";e.r(a);e("ac1f"),e("5319"),e("b0c0");var o=function(){var t=this,a=this,e=a._self._c;return e("div",[a.showHeader?e("page-header-wrapper",{staticStyle:{margin:"-24px -1px 0"},on:{back:function(){return a.$router.replace("/job/batch/list")}}},[e("div")]):a._e(),null!==a.jobBatchInfo?e("a-card",{attrs:{bordered:!1}},[e("a-descriptions",{attrs:{title:"",column:a.column,bordered:""}},[e("a-descriptions-item",{attrs:{label:"组名称"}},[a._v(" "+a._s(a.jobBatchInfo.groupName)+" ")]),e("a-descriptions-item",{attrs:{label:"任务名称"}},[a._v(" "+a._s(a.jobBatchInfo.jobName)+" ")]),e("a-descriptions-item",{attrs:{label:"状态"}},[e("a-tag",{attrs:{color:a.taskBatchStatus[a.jobBatchInfo.taskBatchStatus].color}},[a._v(" "+a._s(a.taskBatchStatus[a.jobBatchInfo.taskBatchStatus].name)+" ")])],1),e("a-descriptions-item",{attrs:{label:"执行器类型"}},[e("a-tag",{attrs:{color:a.executorType[a.jobBatchInfo.executorType].color}},[a._v(" "+a._s(a.executorType[a.jobBatchInfo.executorType].name)+" ")])],1),e("a-descriptions-item",{attrs:{label:"操作原因"}},[e("a-tag",{attrs:{color:a.operationReason[a.jobBatchInfo.operationReason].color}},[a._v(" "+a._s(a.operationReason[a.jobBatchInfo.operationReason].name)+" ")])],1),e("a-descriptions-item",{attrs:{label:"开始执行时间"}},[a._v(" "+a._s(a.jobBatchInfo.executionAt)+" ")]),e("a-descriptions-item",{attrs:{label:"执行器名称",span:"4"}},[a._v(" "+a._s(a.jobBatchInfo.executorInfo)+" ")]),e("a-descriptions-item",{attrs:{label:"创建时间"}},[a._v(" "+a._s(a.jobBatchInfo.createDt)+" ")])],1)],1):a._e(),e("div",{staticStyle:{margin:"20px 0","border-left":"#f5222d 5px solid","font-size":"medium","font-weight":"bold"}},[e("span",{staticStyle:{"padding-left":"18px"}},[a._v("任务项列表")]),e("span",{staticStyle:{"padding-left":"18px"}},[e("a-icon",{attrs:{type:"sync"},on:{click:function(){return t.$refs.JobTaskListRef.refreshTable(t.queryParam)}}})],1)]),e("JobTaskList",{ref:"JobTaskListRef"})],1)},r=[],s=(e("a9e3"),e("3b7a")),n=e("c1df"),c=e.n(n),i=e("38b7"),p=e.n(i),u=e("36e8"),l={name:"JobInfo",components:{JobTaskList:u["default"]},props:{showHeader:{type:Boolean,default:!0},column:{type:Number,default:3}},data:function(){return{jobBatchInfo:null,taskBatchStatus:p.a.taskBatchStatus,operationReason:p.a.operationReason,taskType:p.a.taskType,triggerType:p.a.triggerType,blockStrategy:p.a.blockStrategy,executorType:p.a.executorType,queryParam:{}}},created:function(){var t=this.$route.query.id,a=this.$route.query.groupName;t&&a?this.jobBatchDetail(t):this.showHeader&&this.$router.push({path:"/404"})},methods:{parseDate:function(t){return c()(t).format("YYYY-MM-DD HH:mm:ss")},jobBatchDetail:function(t){var a=this;Object(s["g"])(t).then((function(e){a.jobBatchInfo=e.data,a.queryParam={groupName:a.jobBatchInfo.groupName,taskBatchId:t,startId:0,fromIndex:0},a.$refs.JobTaskListRef.refreshTable(a.queryParam)}))}}},b=l,f=e("2877"),d=Object(f["a"])(b,o,r,!1,null,"14ced32a",null);a["default"]=d.exports}}]);

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3624fc66"],{"74c4":function(e,t,n){"use strict";n("806a")},"806a":function(e,t,n){},"8f70":function(e,t,n){"use strict";n("99af");var s=function(){var e=this,t=e._self._c;return t("iframe",{ref:"iframe",style:"width: 100%;height:calc(99vh - 60px)",attrs:{src:"/lib?id=".concat(e.id,"&x1c2Hdd6=").concat(e.value),marginwidth:"0",frameborder:"no"}})},a=[],o=n("53ca"),i={name:"WorkFlow",components:{},props:{value:{type:String,default:""}},data:function(){return{id:""}},mounted:function(){this.id=this.$route.query.id},created:function(){window.addEventListener("message",this.handleMessage,!1)},destroyed:function(){window.removeEventListener("message",this.handleMessage)},methods:{save:function(){window.removeEventListener("message",this.handleMessage),this.$message.info("工作流新增成功"),this.$router.push({path:"/job/workflow/list"})},cancel:function(){window.removeEventListener("message",this.handleMessage),this.$router.push({path:"/job/workflow/list"})},update:function(){this.$message.info("工作流修改成功"),this.$router.push({path:"/job/workflow/list"})},handleMessage:function(e){"object"===Object(o["a"])(e.data)&&("SV5ucvLBhvFkOftb"===e.data.code?this.save():"kb4DO9h6WIiqFhbp"===e.data.code?this.cancel():"8Rr3XPtVVAHfduQg"===e.data.code&&this.update())}}},r=i,c=(n("74c4"),n("2877")),u=Object(c["a"])(r,s,a,!1,null,null,null);t["a"]=u.exports},af96:function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e._self._c;return t("work-flow",{attrs:{value:"xkjIc2ZHZ0"}})},a=[],o=n("8f70"),i={name:"WorkFlowDetail",components:{WorkFlow:o["a"]}},r=i,c=n("2877"),u=Object(c["a"])(r,s,a,!1,null,null,null);t["default"]=u.exports}}]);

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4566a337"],{6543:function(e,t,n){},"74c4":function(e,t,n){"use strict";n("806a")},"806a":function(e,t,n){},8186:function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e._self._c;return t("work-flow",{attrs:{value:"kaxC8Iml"}})},a=[],o=n("8f70"),i={name:"WorkFlowDetail",components:{WorkFlow:o["a"]}},r=i,c=(n("9af3"),n("2877")),u=Object(c["a"])(r,s,a,!1,null,null,null);t["default"]=u.exports},"8f70":function(e,t,n){"use strict";n("99af");var s=function(){var e=this,t=e._self._c;return t("iframe",{ref:"iframe",style:"width: 100%;height:calc(99vh - 60px)",attrs:{src:"/lib?id=".concat(e.id,"&x1c2Hdd6=").concat(e.value),marginwidth:"0",frameborder:"no"}})},a=[],o=n("53ca"),i={name:"WorkFlow",components:{},props:{value:{type:String,default:""}},data:function(){return{id:""}},mounted:function(){this.id=this.$route.query.id},created:function(){window.addEventListener("message",this.handleMessage,!1)},destroyed:function(){window.removeEventListener("message",this.handleMessage)},methods:{save:function(){window.removeEventListener("message",this.handleMessage),this.$message.info("工作流新增成功"),this.$router.push({path:"/job/workflow/list"})},cancel:function(){window.removeEventListener("message",this.handleMessage),this.$router.push({path:"/job/workflow/list"})},update:function(){this.$message.info("工作流修改成功"),this.$router.push({path:"/job/workflow/list"})},handleMessage:function(e){"object"===Object(o["a"])(e.data)&&("SV5ucvLBhvFkOftb"===e.data.code?this.save():"kb4DO9h6WIiqFhbp"===e.data.code?this.cancel():"8Rr3XPtVVAHfduQg"===e.data.code&&this.update())}}},r=i,c=(n("74c4"),n("2877")),u=Object(c["a"])(r,s,a,!1,null,null,null);t["a"]=u.exports},"9af3":function(e,t,n){"use strict";n("6543")}}]);

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5e4dab78"],{"12b3":function(o,e){var a={sceneStatus:{0:{name:"停用",color:"#9c1f1f"},1:{name:"启用",color:"#f5a22d"}},backOffLabels:{1:{name:"延迟等级",color:"#d06892"},2:{name:"固定时间",color:"#f5a22d"},3:{name:"CRON表达式",color:"#e1f52d"},4:{name:"随机等待",color:"#a127f3"}},triggerInterval:{1:{name:"CRON表达式",color:"#d06892"},2:{name:"固定时间",color:"#f5a22d"}},notifyScene:{1:{name:"场景重试数量超过阈值",color:"#d06892"},2:{name:"场景重试失败数量超过阈值",color:"#f5a22d"},3:{name:"客户端上报失败",color:"#e1f52d"},4:{name:"客户端组件异常",color:"#a127f3"},5:{name:"任务重试失败数量超过阈值",color:"#f5a22d"},6:{name:"任务重试失败进入死信队列",color:"#f5a22d"}},routeKey:{4:{name:"轮询",color:"#8f68d2"},1:{name:"一致性Hash",color:"#d06892"},2:{name:"随机",color:"#f5a22d"},3:{name:"LRU",color:"#e1f52d"}},notifyType:{1:{name:"钉钉通知",color:"#64a6ea"},2:{name:"邮箱通知",color:"#1b7ee5"},3:{name:"企业微信",color:"#0082EF"},4:{name:"飞书",color:"#087da1"}},rateLimiterStatus:{0:{name:"未启用",color:"#9c1f1f"},1:{name:"启用",color:"#f5a22d"}},notifyStatus:{0:{name:"停用",color:"#9c1f1f"},1:{name:"启用",color:"#f5a22d"}},idGenMode:{1:{name:"号段模式",color:"#1b7ee5"},2:{name:"雪花算法",color:"#087da1"}},groupStatus:{0:{name:"停用",color:"#9c1f1f"},1:{name:"启用",color:"#f5a22d"}},initScene:{0:{name:"否",color:"#9c1f1f"},1:{name:"是",color:"#f5a22d"}}};o.exports=a},"9b4b":function(o,e,a){"use strict";a.r(e);a("ac1f"),a("5319"),a("b0c0"),a("a4d3"),a("e01a");var r=function(){var o=this,e=o._self._c;return e("div",[o.showHeader?e("page-header-wrapper",{staticStyle:{margin:"-24px -1px 0"},on:{back:function(){return o.$router.replace("/group/list")}}},[e("div")]):o._e(),null!==o.groupInfo?e("a-card",{attrs:{bordered:!1}},[e("a-descriptions",{attrs:{title:"通用配置",column:o.column,bordered:""}},[e("a-descriptions-item",{attrs:{label:"组名称"}},[o._v(" "+o._s(o.groupInfo.groupName)+" ")]),e("a-descriptions-item",{attrs:{label:"状态"}},[e("a-tag",{attrs:{color:o.groupStatus[o.groupInfo.groupStatus].color}},[o._v(" "+o._s(o.groupStatus[o.groupInfo.groupStatus].name)+" ")])],1),e("a-descriptions-item",{attrs:{label:"版本"}},[o._v(" "+o._s(o.groupInfo.version)+" ")]),e("a-descriptions-item",{attrs:{label:"描述",span:"3"}},[o._v(" "+o._s(o.groupInfo.description)+" ")]),e("a-descriptions-item",{attrs:{label:"OnLine机器",span:"3"}},o._l(o.podInfo,(function(a){return e("a-tag",{key:a,attrs:{color:"blue"}},[o._v(" "+o._s(a)+" ")])})),1)],1),e("br"),e("a-descriptions",{attrs:{title:"重试配置",column:o.column,bordered:""}},[e("a-descriptions-item",{attrs:{label:"ID生成模式"}},[e("a-tag",{attrs:{color:o.idGeneratorMode[o.groupInfo.idGeneratorMode].color}},[o._v(" "+o._s(o.idGeneratorMode[o.groupInfo.idGeneratorMode].name)+" ")])],1),e("a-descriptions-item",{attrs:{label:"分区"}},[o._v(" "+o._s(o.groupInfo.groupPartition)+" ")]),e("a-descriptions-item",{attrs:{label:"初始化场景"}},[e("a-tag",{attrs:{color:o.initScene[o.groupInfo.initScene].color}},[o._v(" "+o._s(o.initScene[o.groupInfo.initScene].name)+" ")])],1)],1)],1):o._e()],1)},t=[],n=(a("a9e3"),a("0fea")),c=a("12b3"),i=a.n(c),l={name:"GroupInfo",components:{},props:{showHeader:{type:Boolean,default:!0},column:{type:Number,default:3}},data:function(){return{groupInfo:null,podInfo:[],initScene:i.a.initScene,groupStatus:i.a.groupStatus,idGeneratorMode:i.a.idGenMode}},created:function(){var o=this.$route.query.groupName;o?this.groupConfigDetail(o):this.showHeader&&this.$router.push({path:"/404"})},methods:{groupConfigDetail:function(o){var e=this;Object(n["o"])(o).then((function(o){e.groupInfo=o.data})),Object(n["I"])(o).then((function(o){e.podInfo=o.data}))}}},s=l,d=a("2877"),u=Object(d["a"])(s,r,t,!1,null,"4f09eb18",null);e["default"]=u.exports}}]);

View File

@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5e4dab78"],{"12b3":function(o,e){var a={sceneStatus:{0:{name:"停用",color:"#9c1f1f"},1:{name:"启用",color:"#f5a22d"}},backOffLabels:{1:{name:"延迟等级",color:"#d06892"},2:{name:"固定时间",color:"#f5a22d"},3:{name:"CRON表达式",color:"#e1f52d"},4:{name:"随机等待",color:"#a127f3"}},triggerInterval:{1:{name:"CRON表达式",color:"#d06892"},2:{name:"固定时间",color:"#f5a22d"}},notifyScene:{1:{name:"场景重试数量超过阈值",color:"#d06892"},2:{name:"场景重试失败数量超过阈值",color:"#f5a22d"},3:{name:"客户端上报失败",color:"#e1f52d"},4:{name:"客户端组件异常",color:"#a127f3"},5:{name:"任务重试失败数量超过阈值",color:"#f5a22d"},6:{name:"任务重试失败进入死信队列",color:"#f5a22d"}},routeKey:{4:{name:"轮询",color:"#8f68d2"},1:{name:"一致性Hash",color:"#d06892"},2:{name:"随机",color:"#f5a22d"},3:{name:"LRU",color:"#e1f52d"}},notifyType:{1:{name:"钉钉通知",color:"#64a6ea"},2:{name:"邮箱通知",color:"#1b7ee5"},4:{name:"飞书",color:"#087da1"}},rateLimiterStatus:{0:{name:"未启用",color:"#9c1f1f"},1:{name:"启用",color:"#f5a22d"}},notifyStatus:{0:{name:"停用",color:"#9c1f1f"},1:{name:"启用",color:"#f5a22d"}},idGenMode:{1:{name:"号段模式",color:"#1b7ee5"},2:{name:"雪花算法",color:"#087da1"}},groupStatus:{0:{name:"停用",color:"#9c1f1f"},1:{name:"启用",color:"#f5a22d"}},initScene:{0:{name:"否",color:"#9c1f1f"},1:{name:"是",color:"#f5a22d"}}};o.exports=a},"9b4b":function(o,e,a){"use strict";a.r(e);a("ac1f"),a("5319"),a("b0c0"),a("a4d3"),a("e01a");var r=function(){var o=this,e=o._self._c;return e("div",[o.showHeader?e("page-header-wrapper",{staticStyle:{margin:"-24px -1px 0"},on:{back:function(){return o.$router.replace("/group/list")}}},[e("div")]):o._e(),null!==o.groupInfo?e("a-card",{attrs:{bordered:!1}},[e("a-descriptions",{attrs:{title:"通用配置",column:o.column,bordered:""}},[e("a-descriptions-item",{attrs:{label:"组名称"}},[o._v(" "+o._s(o.groupInfo.groupName)+" ")]),e("a-descriptions-item",{attrs:{label:"状态"}},[e("a-tag",{attrs:{color:o.groupStatus[o.groupInfo.groupStatus].color}},[o._v(" "+o._s(o.groupStatus[o.groupInfo.groupStatus].name)+" ")])],1),e("a-descriptions-item",{attrs:{label:"版本"}},[o._v(" "+o._s(o.groupInfo.version)+" ")]),e("a-descriptions-item",{attrs:{label:"描述",span:"3"}},[o._v(" "+o._s(o.groupInfo.description)+" ")]),e("a-descriptions-item",{attrs:{label:"OnLine机器",span:"3"}},o._l(o.podInfo,(function(a){return e("a-tag",{key:a,attrs:{color:"blue"}},[o._v(" "+o._s(a)+" ")])})),1)],1),e("br"),e("a-descriptions",{attrs:{title:"重试配置",column:o.column,bordered:""}},[e("a-descriptions-item",{attrs:{label:"ID生成模式"}},[e("a-tag",{attrs:{color:o.idGeneratorMode[o.groupInfo.idGeneratorMode].color}},[o._v(" "+o._s(o.idGeneratorMode[o.groupInfo.idGeneratorMode].name)+" ")])],1),e("a-descriptions-item",{attrs:{label:"分区"}},[o._v(" "+o._s(o.groupInfo.groupPartition)+" ")]),e("a-descriptions-item",{attrs:{label:"初始化场景"}},[e("a-tag",{attrs:{color:o.initScene[o.groupInfo.initScene].color}},[o._v(" "+o._s(o.initScene[o.groupInfo.initScene].name)+" ")])],1)],1)],1):o._e()],1)},t=[],n=(a("a9e3"),a("0fea")),c=a("12b3"),i=a.n(c),l={name:"GroupInfo",components:{},props:{showHeader:{type:Boolean,default:!0},column:{type:Number,default:3}},data:function(){return{groupInfo:null,podInfo:[],initScene:i.a.initScene,groupStatus:i.a.groupStatus,idGeneratorMode:i.a.idGenMode}},created:function(){var o=this.$route.query.groupName;o?this.groupConfigDetail(o):this.showHeader&&this.$router.push({path:"/404"})},methods:{groupConfigDetail:function(o){var e=this;Object(n["o"])(o).then((function(o){e.groupInfo=o.data})),Object(n["I"])(o).then((function(o){e.podInfo=o.data}))}}},s=l,d=a("2877"),u=Object(d["a"])(s,r,t,!1,null,"4f09eb18",null);e["default"]=u.exports}}]);

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

@ -0,0 +1,16 @@
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Easy Retry</title>
<script type="module" crossorigin src="./assets/xMenDk_H.js"></script>
<link rel="stylesheet" crossorigin href="./assets/TTUOwtFQ.css">
</head>
<body>
<div id="app"></div>
</body>
</html>

View File

@ -56,6 +56,7 @@ import java.util.stream.Collectors;
@RequiredArgsConstructor
public class WorkflowBatchServiceImpl implements WorkflowBatchService {
private static final Integer NOT_HANDLE_STATUS = 99;
private static final Integer WORKFLOW_DECISION_FAILED_STATUS = 98;
private final WorkflowTaskBatchMapper workflowTaskBatchMapper;
private final WorkflowMapper workflowMapper;
private final WorkflowNodeMapper workflowNodeMapper;
@ -147,7 +148,12 @@ public class WorkflowBatchServiceImpl implements WorkflowBatchService {
if (!CollectionUtils.isEmpty(jobTaskBatchList)) {
nodeInfo.setJobBatchList(JobBatchResponseVOConverter.INSTANCE.jobTaskBatchToJobBatchResponseVOs(jobTaskBatchList));
// 取第最新的一条状态
nodeInfo.setTaskBatchStatus(jobTaskBatchList.get(0).getTaskBatchStatus());
JobTaskBatch jobTaskBatch = jobTaskBatchList.get(0);
if (JobOperationReasonEnum.WORKFLOW_DECISION_FAILED.getReason() == jobTaskBatch.getOperationReason()) {
// 前端展示使用
jobTaskBatch.setTaskBatchStatus(WORKFLOW_DECISION_FAILED_STATUS);
}
if (jobTaskBatchList.stream()
.filter(Objects::nonNull)
.anyMatch(WorkflowBatchServiceImpl::isNoOperation)) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,8 +5,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Easy Retry</title>
<script type="module" crossorigin src="./assets/06nP_ETa.js"></script>
<link rel="stylesheet" crossorigin href="./assets/dSfAux_s.css">
<script type="module" crossorigin src="./assets/xMenDk_H.js"></script>
<link rel="stylesheet" crossorigin href="./assets/TTUOwtFQ.css">
</head>
<body>