gtsoft-snail-job-server/snail-job-server/snail-job-server-starter/src/main/resources/admin/js/chunk-56d0ab76.79a9fd8b.js

1 line
9.4 KiB
JavaScript
Raw Normal View History

2024-03-10 12:54:54 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-56d0ab76","chunk-2d0aa660"],{"119c":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=this,a=e.$createElement,o=e._self._c||a;return o("div",[e.showHeader?o("page-header-wrapper",{staticStyle:{margin:"-24px -1px 0"},on:{back:function(){return e.$router.replace("/job/batch/list")}}},[o("div")]):e._e(),null!==e.jobBatchInfo?o("a-card",{attrs:{bordered:!1}},[o("a-descriptions",{attrs:{title:"",column:e.column,bordered:""}},[o("a-descriptions-item",{attrs:{label:"组名称"}},[e._v(" "+e._s(e.jobBatchInfo.groupName)+" ")]),o("a-descriptions-item",{attrs:{label:"任务名称"}},[e._v(" "+e._s(e.jobBatchInfo.jobName)+" ")]),o("a-descriptions-item",{attrs:{label:"状态"}},[o("a-tag",{attrs:{color:e.taskBatchStatus[e.jobBatchInfo.taskBatchStatus].color}},[e._v(" "+e._s(e.taskBatchStatus[e.jobBatchInfo.taskBatchStatus].name)+" ")])],1),o("a-descriptions-item",{attrs:{label:"执行器类型"}},[o("a-tag",{attrs:{color:e.executorType[e.jobBatchInfo.executorType].color}},[e._v(" "+e._s(e.executorType[e.jobBatchInfo.executorType].name)+" ")])],1),o("a-descriptions-item",{attrs:{label:"操作原因"}},[o("a-tag",{attrs:{color:e.operationReason[e.jobBatchInfo.operationReason].color}},[e._v(" "+e._s(e.operationReason[e.jobBatchInfo.operationReason].name)+" ")])],1),o("a-descriptions-item",{attrs:{label:"开始执行时间"}},[e._v(" "+e._s(e.jobBatchInfo.executionAt)+" ")]),o("a-descriptions-item",{attrs:{label:"执行器名称",span:"4"}},[e._v(" "+e._s(e.jobBatchInfo.executorInfo)+" ")]),o("a-descriptions-item",{attrs:{label:"创建时间"}},[e._v(" "+e._s(e.jobBatchInfo.createDt)+" ")])],1)],1):e._e(),o("div",{staticStyle:{margin:"20px 0","border-left":"#f5222d 5px solid","font-size":"medium","font-weight":"bold"}},[o("span",{staticStyle:{"padding-left":"18px"}},[e._v("任务项列表")]),o("span",{staticStyle:{"padding-left":"18px"}},[o("a-icon",{attrs:{type:"sync"},on:{click:function(){return t.$refs.JobTaskListRef.refreshTable(t.queryParam)}}})],1)]),o("JobTaskList",{ref:"JobTaskListRef"})],1)},r=[],n=(a("d6a4"),a("3b7a")),s=a("1635"),c=a.n(s),i=a("38b7"),l=a.n(i),u=a("36e8"),d={name:"JobInfo",components:{JobTaskList:u["default"]},props:{showHeader:{type:Boolean,default:!0},column:{type:Number,default:3}},data:function(){return{jobBatchInfo:null,taskBatchStatus:l.a.taskBatchStatus,operationReason:l.a.operationReason,taskType:l.a.taskType,triggerType:l.a.triggerType,blockStrategy:l.a.blockStrategy,executorType:l.a.executorType,queryParam:{}}},created:function(){var t=this.$route.query.id,e=this.$route.query.groupName;t&&e?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 e=this;Object(n["g"])(t).then((function(a){e.jobBatchInfo=a.data,e.queryParam={groupName:e.jobBatchInfo.groupName,taskBatchId:t,startId:0,fromIndex:0},e.$refs.JobTaskListRef.refreshTable(e.queryParam)}))}}},h=d,f=a("f7c6"),p=Object(f["a"])(h,o,r,!1,null,"14ced32a",null);e["default"]=p.exports},"29e5":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a-card",{attrs:{bordered:!1}},[a("div",{staticClass:"table-page-search-wrapper"},[a("a-form",{attrs:{layout:"inline"}},[a("a-row",{attrs:{gutter:48}},[a("a-col",{attrs:{md:8,sm:24}},[a("a-form-item",{attrs:{label:"组名称"}},[a("a-select",{attrs:{placeholder:"请输入组名称"},on:{change:function(e){return t.handleChange(e)}},model:{value:t.queryParam.groupName,callback:function(e){t.$set(t.queryParam,"groupName",e)},expression:"queryParam.groupName"}},t._l(t.groupNameList,(function(e){return a("a-select-option",{key:e,attrs:{value:e}},[t._v(t._s(e))])})),1)],1)],1),a("a-col",{attrs:{md:8,sm:24}},[a("a-form-item",{attrs:{label:"任务名称"}},[a("a-select",{attrs:{"show-search":"",placeholder:"请输入任务名称","default-active-first-option":!1,"show-arrow":!0,"filter-option":!1,"not-found-content":null,allowClear:""},on:{search:t.handleSear