YM-WMS-WCS/dist/js/chunk-2505857e.37424f40.js

1 line
6.3 KiB
JavaScript
Raw Permalink Normal View History

2023-04-14 15:56:50 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2505857e"],{"9fca":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{visible:t.visible,title:t.$t("schedule.log"),"close-on-click-modal":!1,"close-on-press-escape":!1,width:"75%"},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{attrs:{inline:!0,model:t.dataForm},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getDataList()}}},[a("el-form-item",[a("el-input",{attrs:{placeholder:t.$t("schedule.jobId"),clearable:""},model:{value:t.dataForm.jobId,callback:function(e){t.$set(t.dataForm,"jobId",e)},expression:"dataForm.jobId"}})],1),a("el-form-item",[a("el-button",{on:{click:function(e){return t.getDataList()}}},[t._v(t._s(t.$t("query")))])],1)],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.dataListLoading,expression:"dataListLoading"}],staticStyle:{width:"100%"},attrs:{data:t.dataList,border:"",height:"460"},on:{"sort-change":t.dataListSortChangeHandle}},[a("el-table-column",{attrs:{prop:"jobId",label:t.$t("schedule.jobId"),"header-align":"center",align:"center",width:"80"}}),a("el-table-column",{attrs:{prop:"beanName",label:t.$t("schedule.beanName"),"header-align":"center",align:"center"}}),a("el-table-column",{attrs:{prop:"params",label:t.$t("schedule.params"),"header-align":"center",align:"center"}}),a("el-table-column",{attrs:{prop:"status",label:t.$t("schedule.status"),"header-align":"center",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[1===e.row.status?a("el-tag",{attrs:{size:"small"}},[t._v(t._s(t.$t("schedule.statusLog1")))]):a("el-tag",{staticStyle:{cursor:"pointer"},attrs:{type:"danger",size:"small"},nativeOn:{click:function(a){return t.showErrorInfo(e.row.id)}}},[t._v(t._s(t.$t("schedule.statusLog0")))])]}}])}),a("el-table-column",{attrs:{prop:"times",label:t.$t("schedule.times"),"header-align":"center",align:"center"}}),a("el-table-column",{attrs:{prop:"createDate",label:t.$t("schedule.createDate"),"header-align":"center",align:"center",width:"180"}})],1),a("el-pagination",{attrs:{"current-page":t.page,"page-sizes":[10,20,50,100],"page-size":t.limit,total:t.total,layout:"total, sizes, prev, pager, next, jumper"},on:{"size-change":t.pageSizeChangeHandle,"current-change":t.pageCurrentChangeHandle}})],1)},n=[],s=a("e1a5"),o={mixins:[s["a"]],data:function(){return{visible:!1,mixinViewModuleOptions:{getDataListURL:"/sys/scheduleLog/page",getDataListIsPage:!0},dataForm:{jobId:""}}},methods:{init:function(){this.visible=!0,this.getDataList()},showErrorInfo:function(t){var e=this;this.$http.get("/sys/scheduleLog/".concat(t)).then((function(t){var a=t.data;if(0!==a.code)return e.$message.error(a.msg);e.$alert(a.data.error)})).catch((function(){}))}}},r=o,l=a("2877"),d=Object(l["a"])(r,i,n,!1,null,null,null);e["default"]=d.exports},e1a5:function(t,e,a){"use strict";a("99af"),a("4de4"),a("d81d"),a("b0c0"),a("ac1f"),a("5319");var i=a("5530"),n=a("a78e"),s=a.n(n),o=a("4328"),r=a.n(o);e["a"]={data:function(){return{mixinViewModuleOptions:{createdIsNeed:!0,activatedIsNeed:!1,getDataListURL:"",getDataListIsPage:!1,deleteURL:"",deleteIsBatch:!1,deleteIsBatchKey:"id",exportURL:""},dataForm:{},dataList:[],order:"",orderField:"",page:1,limit:10,total:0,dataListLoading:!1,dataListSelections:[],addOrUpdateVisible:!1}},created:function(){this.mixinViewModuleOptions.createdIsNeed&&this.query()},activated:function(){this.mixinViewModuleOptions.activatedIsNeed&&this.query()},methods:{query:function(){var t=this;this.dataListLoading=!0,this.$http.get(this.mixinViewModuleOptions.getDataListURL,{params:Object(i["a"])({order:this.order?this.order:null,orderField:this.orderField?this.orderField:null,page:this.mixinViewModuleOptions.getDataListIsPage?this.page:null,limit:this.mixinViewModuleOptions.getDataListIsPage?this.limit:null},this.dataForm)}).then((function(e){var a=e.data;if(t.dataListLoading=!1,0!==a.code)return t.dataList=[],t.total=0,t.$message.error(a.msg);t.dataList=t