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

webpackJsonp([2],{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},1031:function(t,e,n){"use strict";e.__esModule=!0;var r=d(n(28)),o=n(123),a=d(n(1125)),i=d(n(999)),s=d(n(646)),u=d(n(226)),c=n(802),l=d(n(663)),f=d(n(654)),p=d(n(650));function d(t){return t&&t.__esModule?t:{default:t}}e.default={name:"instance-list-index",data:function(){return{isLoading:!0,total:null,processInstanceList:[],searchParams:{searchVal:"",pageSize:10,pageNo:1,host:"",stateType:"",startDate:"",endDate:""}}},props:{},methods:Object.assign({},(0,o.mapActions)("dag",["getProcessInstance"]),{_onQuery:function(t){this.searchParams=r.default.assign(this.searchParams,t)},_page:function(t){this.searchParams.pageNo=t,(0,c.setUrlParams)({pageNo:this.searchParams.pageNo})},_getProcessInstanceListP:function(t){var e=this;this.isLoading=!t,this.getProcessInstance(this.searchParams).then(function(t){e.processInstanceList=[],e.processInstanceList=t.totalList,e.total=t.total,e.isLoading=!1}).catch(function(t){e.isLoading=!1})},_onUpdate:function(){this._debounceGET("false")},_routerView:function(){return"projects-instance-details"===this.$route.name},_debounceGET:r.default.debounce(function(t){this._getProcessInstanceListP(t)},100,{leading:!1,trailing:!0})}),watch:{$route:function(t,e){"instance"===t.name&&"projects-instance-details"===e.name?this._debounceGET():this.searchParams.pageNo=!r.default.isEmpty(t.query)&&t.query.pageNo||1},searchParams:{deep:!0,handler:function(){this._debounceGET()}}},created:function(){u.default.removeItem("subProcessId"),r.default.isEmpty(this.$route.query)||(this.searchParams=r.default.assign(this.searchParams,this.$route.query)),this._routerView()||this._debounceGET()},mounted:function(){var t=this;this.setIntervalP=setInterval(function(){t._debounceGET("false")},9e4)},beforeDestroy:function(){clearInterval(this.setIntervalP)},components:{mList:a.default,mConditions:i.default,mSpin:s.default,mListConstruction:p.default,mSecondaryMenu:f.default,mNoData:l.default}}},1032:function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(28),a=(r=o)&&r.__esModule?r:{default:r},i=n(123);n(
//# sourceMappingURL=2.d6885e7.js.map