gtsoft-snail-job-server/easy-retry-server/easy-retry-server-starter/src/main/resources/admin/js/chunk-4c014765.d120fa75.js

1 line
11 KiB
JavaScript
Raw Normal View History

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4c014765"],{"237d":function(t,o,e){"use strict";e.r(o);e("b0c0"),e("b64b");var n=function(){var t=this,o=t._self._c;return o("div",[o("a-card",{attrs:{bordered:!1}},[o("div",{staticClass:"table-page-search-wrapper"},[o("a-form",{attrs:{layout:"inline"}},[o("a-row",{attrs:{gutter:48}},[o("a-col",{attrs:{md:8,sm:24}},[o("a-form-item",{attrs:{label:"组名称"}},[o("a-select",{attrs:{placeholder:"请输入组名称"},on:{change:function(o){return t.handleChange(o)}},model:{value:t.queryParam.groupName,callback:function(o){t.$set(t.queryParam,"groupName",o)},expression:"queryParam.groupName"}},t._l(t.groupNameList,(function(e){return o("a-select-option",{key:e,attrs:{value:e}},[t._v(t._s(e))])})),1)],1)],1),o("a-col",{attrs:{md:8,sm:24}},[o("a-form-item",{attrs:{label:"任务名称"}},[o("a-select",{attrs:{"show-search":"",placeholder:"请输入任务名称","default-active-first-option":!1,"show-arrow":!0,"filter-option":!1,"not-found-content":null},on:{search:t.handleSearch},model:{value:t.queryParam.jobId,callback:function(o){t.$set(t.queryParam,"jobId",o)},expression:"queryParam.jobId"}},t._l(t.jobNameList,(function(e,n){return o("a-select-option",{key:n,attrs:{value:e.id}},[t._v(" "+t._s(e.jobName)+" ")])})),1)],1)],1),void 0,o("a-col",{attrs:{md:t.advanced?24:8,sm:24}},[o("span",{staticClass:"table-page-search-submitButtons",style:t.advanced&&{float:"right",overflow:"hidden"}||{}},[o("a-button",{attrs:{type:"primary"},on:{click:function(o){return t.$refs.table.refresh(!0)}}},[t._v("查询")]),o("a-button",{staticStyle:{"margin-left":"8px"},on:{click:function(){return t.queryParam={}}}},[t._v("重置")]),o("a",{staticStyle:{"margin-left":"8px"},on:{click:t.toggleAdvanced}},[t._v(" "+t._s(t.advanced?"收起":"展开")+" "),o("a-icon",{attrs:{type:t.advanced?"up":"down"}})],1)],1)])],2)],1)],1),o("div",{staticClass:"table-operator"},[o("a-button",{attrs:{type:"primary",icon:"plus"},on:{click:function(o){return t.handleNew()}}},[t._v("新增")])],1),o("s-table",{ref:"table",attrs:{size:"default",rowKey:function(t){return t.id},columns:t.notifyColumns,data:t.loadData,alert:t.options.alert,rowSelection:t.options.rowSelection},scopedSlots:t._u([{key:"notifyType",fn:function(e){return o("span",{},[o("a-tag",{attrs:{color:t.notifyTypeList[e].color}},[t._v(" "+t._s(t.notifyTypeList[e].name)+" ")])],1)}},{key:"notifyStatus",fn:function(e){return o("span",{},[o("a-tag",{attrs:{color:t.notifyStatusList[e].color}},[t._v(" "+t._s(t.notifyStatusList[e].name)+" ")])],1)}},{key:"notifyScene",fn:function(e){return o("span",{},[o("a-tag",{attrs:{color:t.notifySceneList[e].color}},[t._v(" "+t._s(t.notifySceneList[e].name)+" ")])],1)}},{key:"notifyAttribute",fn:function(e,n){return o("span",{},[t._v(" "+t._s(t.parseJson(JSON.parse(e),n))+" ")])}},{key:"notifyThreshold",fn:function(e){return o("span",{},[t._v(" "+t._s(0===e?"无":e)+" ")])}},{key:"action",fn:function(e){return o("span",{},[[o("a",{on:{click:function(o){return t.handleEdit(e)}}},[t._v("编辑")])]],2)}}])})],1)],1)},a=[],r=e("0fea"),i=e("2af9"),c=e("3b7a"),u=e("38b7"),s={name:"JobNotifyList",components:{STable:i["i"]},data:function(){var t=this;return{notifyColumns:[{title:"组名",dataIndex:"groupName",key:"groupName",width:"15%",scopedSlots:{customRender:"groupName"}},{title:"任务",dataIndex:"jobName",key:"jobName",width:"15%",scopedSlots:{customRender:"jobName"}},{title:"通知状态",dataIndex:"notifyStatus",width:"10%",scopedSlots:{customRender:"notifyStatus"}},{title:"通知类型",dataIndex:"notifyType",key:"notifyType",width:"10%",scopedSlots:{customRender:"notifyType"}},{title:"通知场景",dataIndex:"notifyScene",key:"notifyScene",width:"15%",scopedSlots:{customRender:"notifyScene"}},{title:"通知阈值",dataIndex:"notifyThreshold",key:"notifyThreshold",width:"10%",scopedSlots:{customRender:"notifyThreshold"}},{title:"描述",dataIndex:"description",key:"description",width:"15%",scopedSlots:{customRender:"description"}},{title:"操作",key:"action",fixed:"right",width:"180px",scopedSlots:{customR