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

webpackJsonp([6],{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},1092:function(t,e,n){"use strict";e.__esModule=!0;var r=p(n(30)),o=n(123),a=p(n(1186)),i=p(n(701)),s=p(n(227)),c=n(752),u=p(n(696)),l=p(n(742)),f=p(n(697)),d=p(n(1045));function p(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),(0,c.setUrlParams)(this.searchParams),this._debounceGET()},_page:function(t){this.searchParams.pageNo=t,(0,c.setUrlParams)(this.searchParams),this._debounceGET()},_getProcessInstanceListP:function(t){var e=this;this.isLoading=!t,this.getProcessInstance(this.searchParam
//# sourceMappingURL=6.c7ff80d.js.map