分布式调度框架。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
74 KiB

webpackJsonp([1],{1000:function(t,e,n){"use strict";var r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("m-conditions",[n("template",{slot:"search-group"},[n("div",{staticClass:"list"},[n("x-button",{attrs:{type:"ghost",size:"small",icon:"fa fa-search"},on:{click:t._ckQuery}})],1),t._v(" "),n("div",{staticClass:"list"},[n("x-datepicker",{ref:"datepicker",attrs:{type:"daterange",format:"YYYY-MM-DD HH:mm:ss",placement:"bottom-end",panelNum:2},on:{"on-change":t._onChangeStartStop},scopedSlots:t._u([{key:"input",fn:function(e){var r=e.value;return n("x-input",{staticStyle:{width:"310px"},attrs:{readonly:"",value:r,size:"small",placeholder:t.$t("按选择日期区间")}},[n("i",{directives:[{name:"show",rawName:"v-show",value:r,expression:"value"}],staticClass:"ans-icon-fail-solid",staticStyle:{"font-size":"13px",cursor:"pointer","margin-top":"1px"},attrs:{slot:"suffix"},on:{click:function(e){return e.stopPropagation(),t._dateEmpty()}},slot:"suffix"})])}}]),model:{value:t.datepicker,callback:function(e){t.datepicker=e},expression:"datepicker"}})],1),t._v(" "),n("div",{staticClass:"list"},[n("x-select",{staticStyle:{width:"160px"},attrs:{value:t.stateType},on:{"on-change":t._onChangeState},scopedSlots:t._u([{key:"trigger",fn:function(e){var r=e.selectedModel;return n("x-input",{staticStyle:{width:"160px"},attrs:{readonly:"",value:r?r.label:"",size:"small",placeholder:t.$t("按状态"),"suffix-icon":"ans-icon-arrow-down"}})}}])},[t._v(" "),t._l(t.stateTypeList,function(t){return n("x-option",{key:t.label,attrs:{value:t.code,label:t.label}})})],2)],1),t._v(" "),n("div",{staticClass:"list"},[n("x-input",{staticStyle:{width:"140px"},attrs:{size:"small",placeholder:t.$t("host")},model:{value:t.host,callback:function(e){t.host=e},expression:"host"}})],1),t._v(" "),n("div",{staticClass:"list"},[n("x-input",{staticStyle:{width:"200px"},attrs:{size:"small",placeholder:t.$t("按名称")},model:{value:t.searchVal,callback:function(e){t.searchVal=e},expression:"searchVal"}})],1)])],2)},staticRenderFns:[]};e.a=r},1039:function(t,e,n){"use strict";e.__esModule=!0;var r=d(n(28)),o=n(123),a=d(n(1146)),i=n(802),s=d(n(646)),u=d(n(999)),c=d(n(654)),l=d(n(650)),f=d(n(663));function d(t){return t&&t.__esModule?t:{default:t}}e.default={name:"task-instance-list-index",data:function(){return{isLoading:!0,total:null,taskInstanceList:[],searchParams:{pageSize:10,pageNo:1,searchVal:"",processInstanceId:"",host:"",stateType:"",startDate:"",endDate:""}}},props:{},methods:Object.assign({},(0,o.mapActions)("dag",["getTaskInstanceList"]),{_onQuery:function(t){this.searchParams=r.default.assign(this.searchParams,t),this.searchParams.taskName&&(this.searchParams.taskName="",(0,i.setUrlParams)({taskName:""})),this._debounceGET()},_page:function(t){this.searchParams.pageNo=t,(0,i.setUrlParams)({pageNo:this.searchParams.pageNo}),this._debounceGET()},_getTaskInstanceList:function(t){var e=this;this.isLoading=!t,this.getTaskInstanceList(this.searchParams).then(function(t){e.taskInstanceList=[],e.taskInstanceList=t.totalList,e.total=t.total,e.isLoading=!1}).catch(function(t){e.isLoading=!1})},_debounceGET:r.default.debounce(function(t){this._getTaskInstanceList(t)},100,{leading:!1,trailing:!0})}),watch:{$route:function(t){r.default.isEmpty(t.query)?(this.searchParams.pageNo=1,this.searchParams.processInstanceId=""):this.searchParams.pageNo=t.query.pageNo||1},searchParams:{deep:!0,handler:function(){this._debounceGET()}}},created:function(){r.default.isEmpty(this.$route.query)||(this.searchParams=r.default.assign(this.searchParams,this.$route.query))},mounted:function(){this._debounceGET()},components:{mList:a.default,mConditions:u.default,mSpin:s.default,mListConstruction:l.default,mSecondaryMenu:c.default,mNoData:f.default}}},1040:function(t,e,n){"use strict";e.__esModule=!0,n(668);var r=i(n(126)),o=i(n(803)),a=n(225);function i(t){return t&&t.__esModule?t:{default:t}}e.default={name:"list",data:function(){return{list:[],isAuth:r.default.getAuth(),backfillItem:{}}},props:{taskInstanceList:Array,pageNo:Number,pageSize:Number},methods:{_r
//# sourceMappingURL=1.bdb0cc7.js.map