| | |
| | | |
| | | <a-col :md="6" :sm="6"> |
| | | <a-form-item label="任务名称"> |
| | | <a-input placeholder="请输入任务名称" v-model="queryParam.jobClassName"></a-input> |
| | | <a-input placeholder="请输入任务名称" v-model="queryParam.jobName"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :md="6" :sm="6"> |
| | | <a-form-item label="时间"> |
| | | <a-range-picker @change="dateParamChange" :disabledDate="disabledDate" format="YYYY-MM-DD HH:mm:ss" v-model="dates"/> |
| | | <a-range-picker show-time @change="dateParamChange" :disabledDate="disabledDate" format="YYYY-MM-DD HH:mm:ss" v-model="dates"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :md="2" :sm="2"> |
| | | <a-col :md="4" :sm="4"> |
| | | <a-button type="primary" @click="searchQuery" icon="search">查询</a-button> |
| | | <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button> |
| | | |
| | | </a-col> |
| | | <a-col :md="2" :sm="2"> |
| | | <a-button type="primary" icon="download" @click="handleExportXls('执行日志导出')">导出</a-button> |
| | |
| | | superQueryParams: '', |
| | | /** 高级查询拼接方式 */ |
| | | superQueryMatchType: 'and', |
| | | |
| | | columns: [ |
| | | { |
| | | title: '#', |
| | |
| | | return parseInt(index) + 1; |
| | | } |
| | | }, |
| | | // { |
| | | // title: '任务名称', |
| | | // align: 'center', |
| | | // dataIndex: 'jobClassName', |
| | | // }, |
| | | // { |
| | | // title: 'cron表达式', |
| | | // align: 'center', |
| | | // dataIndex: 'cronExpression', |
| | | // }, |
| | | { |
| | | |
| | | title: '任务名称', |
| | | align: 'center', |
| | | dataIndex: 'jobClassName', |
| | | }, |
| | | { |
| | | title: 'cron表达式', |
| | | align: 'center', |
| | | dataIndex: 'cronExpression', |
| | | dataIndex: 'jobName' |
| | | }, |
| | | { |
| | | title: '参数', |
| | | align: 'center', |
| | | dataIndex: 'parameter' |
| | | }, |
| | | { |
| | | title: '描述', |
| | | align: 'center', |
| | | dataIndex: 'description' |
| | | }, |
| | | |
| | | { |
| | | title: '报错信息', |
| | | dataIndex: 'action', |
| | |
| | | |
| | | }, |
| | | { |
| | | title: '创建时间', |
| | | title: '任务执行时间', |
| | | align: 'center', |
| | | dataIndex: 'createTime' |
| | | }, |
| | |
| | | } |
| | | //update-end---author:zhangyafei Date:20201118 for:适配不分页的数据列表------------ |
| | | }else{ |
| | | this.$message.warning(res.message) |
| | | // this.$message.warning(res.message) |
| | | this.$notification.warning({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |
| | | } |
| | | }).finally(() => { |
| | | this.loading = false |