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
30 KiB
2 lines
30 KiB
6 years ago
|
webpackJsonp([19],{1042:function(t,e,n){"use strict";e.__esModule=!0;var a=d(n(36)),s=n(123),i=d(n(1150)),r=d(n(646)),o=d(n(663)),l=d(n(670)),c=d(n(654)),u=d(n(650));function d(t){return t&&t.__esModule?t:{default:t}}e.default={name:"task-record-list-index",data:function(){return{pageSize:10,pageNo:1,total:null,taskRecordList:[],isLoading:!0,taskName:"",state:"",sourceTable:"",destTable:"",taskDate:"",startDate:"",endDate:"",stateList:[{label:""+a.default.$t("无"),code:""},{label:""+a.default.$t("成功"),code:""+a.default.$t("成功")},{label:""+a.default.$t("等待"),code:""+a.default.$t("等待")},{label:""+a.default.$t("执行中"),code:""+a.default.$t("执行中")},{label:""+a.default.$t("完成"),code:""+a.default.$t("完成")},{label:""+a.default.$t("失败"),code:""+a.default.$t("失败")}]}},props:{},methods:Object.assign({},(0,s.mapActions)("dag",["getTaskRecordList"]),{_dateEmpty:function(){this.startDate="",this.endDate="",this.$refs.datepicker.empty()},_ckQuery:function(){this._getTaskRecordList()},_onChangeState:function(t){this.state=t.value},_onChangeStartStop:function(t){this.startDate=t[0],this.endDate=t[1]},_onChangeDate:function(t){this.taskDate=t.replace(/-/g,"")},_page:function(t){this.pageNo=t,this._getTaskRecordList()},_getTaskRecordList:function(t){var e=this;this.isLoading=!t;var n={pageSize:this.pageSize,pageNo:this.pageNo,taskName:this.taskName,state:this.state,sourceTable:this.sourceTable,destTable:this.destTable,taskDate:this.taskDate,startDate:this.startDate,endDate:this.endDate};this.taskRecordList=[],this.getTaskRecordList(n).then(function(t){e.taskRecordList=t.totalList,e.total=t.total,e.isLoading=!1}).catch(function(t){e.isLoading=!1})},_onUpdate:function(){this._getTaskRecordList("false")}}),watch:{},created:function(){},mounted:function(){this._getTaskRecordList()},components:{mList:i.default,mConditions:l.default,mSpin:r.default,mListConstruction:u.default,mSecondaryMenu:c.default,mNoData:o.default}}},1043:function(t,e,n){"use strict";e.__esModule=!0,n(668),e.default={name:"list",data:function(){return{list:[],backfillItem:{}}},props:{taskRecordList:Array,pageNo:Number,pageSize:Number},methods:{_rtTooltip:function(t){return'<div style="word-wrap:break-word;text-align: left;">'+t+"</div>"}},watch:{taskRecordList:function(t){var e=this;this.list=[],setTimeout(function(){e.list=t})}},created:function(){},mounted:function(){this.list=this.taskRecordList},components:{}}},1150:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(1043),s=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,function(){return a[t]})}(i);var r=n(1151),o=n(27)(s.a,r.a,!1,null,null,null);e.default=o.exports},1151:function(t,e,n){"use strict";var a={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"list-model"},[n("div",{staticClass:"table-box"},[n("table",{staticClass:"fixed"},[n("tr",[n("th",[n("span",[t._v(t._s(t.$t("编号")))])]),t._v(" "),n("th",[n("span",[t._v(t._s(t.$t("任务名称")))])]),t._v(" "),n("th",{attrs:{width:"66"}},[n("span",[t._v(t._s(t.$t("任务日期")))])]),t._v(" "),n("th",{attrs:{width:"150"}},[n("span",[t._v(t._s(t.$t("开始时间")))])]),t._v(" "),n("th",{attrs:{width:"150"}},[n("span",[t._v(t._s(t.$t("结束时间")))])]),t._v(" "),n("th",{attrs:{width:"134"}},[n("span",[t._v(t._s(t.$t("运行时长"))+"("+t._s(t.$t("秒"))+")")])]),t._v(" "),n("th",[n("span",[t._v(t._s(t.$t("源表")))])]),t._v(" "),n("th",{attrs:{width:"100"}},[n("span",[t._v(t._s(t.$t("记录数")))])]),t._v(" "),n("th",[n("span",[t._v(t._s(t.$t("目标表")))])]),t._v(" "),n("th",{attrs:{width:"100"}},[n("span",[t._v(t._s(t.$t("记录数")))])]),t._v(" "),n("th",{attrs:{width:"88"}},[n("span",[t._v(t._s(t.$t("状态")))])])]),t._v(" "),t._l(t.list,function(e,a){return n("tr",{key:e.id},[n("td",[n("span",[t._v(t._s(parseInt(1===t.pageNo?a+1:a+1+t.pageSize*(t.pageNo-1))))])]),t._v(" "),n("td",[n("span",{staticClass:"ellipsis",attrs:{"data-toggle":"tooltip","data-container":"body",title:t._rtTooltip(e.procName),"data-html":"true"}},[
|
||
|
//# sourceMappingURL=19.35e5748.js.map
|