分布式调度框架。
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
68 KiB

webpackJsonp([1],{1010:function(t,e,n){"use strict";e.__esModule=!0;var r=i(n(30)),o=n(880),a=i(n(750));function i(t){return t&&t.__esModule?t:{default:t}}e.default={name:"instance-conditions",data:function(){return{stateTypeList:o.stateType,searchParams:{stateType:"",startDate:"",endDate:"",searchVal:"",host:""}}},props:{},methods:{_ckQuery:function(){this.$emit("on-query",this.searchParams)},_onChangeStartStop:function(t){this.searchParams.startDate=t[0],this.searchParams.endDate=t[1]},_onChangeState:function(t){this.searchParams.stateType=t.value},_dateEmpty:function(){this.searchParams.startDate="",this.searchParams.endDate="",this.$refs.datepicker.empty()}},watch:{},created:function(){r.default.isEmpty(this.$route.query)||(this.searchParams=r.default.assign(this.searchParams,this.$route.query))},mounted:function(){},computed:{},components:{mConditions:a.default}}},1045:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1010),o=n.n(r);for(var a in r)"default"!==a&&function(t){n.d(e,t,function(){return r[t]})}(a);var i=n(1046),s=n(29)(o.a,i.a,!1,null,null,null);e.default=s.exports},1046: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",value:[t.searchParams.startDate,t.searchParams.endDate],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("Select date range")}},[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"})])}}])})],1),t._v(" "),n("div",{staticClass:"list"},[n("x-select",{staticStyle:{width:"160px"},attrs:{value:t.searchParams.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("State"),"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.searchParams.host,callback:function(e){t.$set(t.searchParams,"host",e)},expression:"searchParams.host"}})],1),t._v(" "),n("div",{staticClass:"list"},[n("x-input",{staticStyle:{width:"200px"},attrs:{size:"small",placeholder:t.$t("name")},model:{value:t.searchParams.searchVal,callback:function(e){t.$set(t.searchParams,"searchVal",e)},expression:"searchParams.searchVal"}})],1)])],2)},staticRenderFns:[]};e.a=r},1099:function(t,e,n){"use strict";e.__esModule=!0;var r=d(n(30)),o=n(123),a=d(n(1204)),i=d(n(701)),s=d(n(696)),c=d(n(848)),u=d(n(742)),l=d(n(697)),f=d(n(1045));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:""}}},mixins:[c.default],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=""),this.searchParams.pageNo=1},_page:function(t){this.searchParams.pageNo=t},_getList:function(t){var e=this;this.isLoading=!t,this.getTaskInstanceList(this.searchParams).then(fu
//# sourceMappingURL=1.3ff7adc.js.map