|
@@ -6,11 +6,11 @@
|
|
|
<a-form-model layout="inline" :model="queryParam" @keyup.enter.native="searchQuery">
|
|
|
<a-row :gutter="24">
|
|
|
|
|
|
- <a-col :md="6" :sm="10">
|
|
|
+ <!-- <a-col :md="6" :sm="10">
|
|
|
<a-form-model-item label="任务类名" prop="jobClassName">
|
|
|
<a-input placeholder="请输入任务类名" v-model="queryParam.jobClassName"></a-input>
|
|
|
</a-form-model-item>
|
|
|
- </a-col>
|
|
|
+ </a-col> -->
|
|
|
<a-col :md="6" :sm="10">
|
|
|
<a-form-model-item label="任务状态" prop="status">
|
|
|
<a-select style="width: 220px" v-model="queryParam.status" placeholder="请选择状态">
|
|
@@ -33,7 +33,7 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- 操作按钮区域 -->
|
|
|
- <div class="table-operator">
|
|
|
+ <!-- <div class="table-operator">
|
|
|
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
|
|
<a-button type="primary" icon="download" @click="handleExportXls('定时任务信息')">导出</a-button>
|
|
|
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
|
@@ -45,14 +45,14 @@
|
|
|
</a-menu>
|
|
|
<a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
|
|
|
</a-dropdown>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
|
|
|
<!-- table区域-begin -->
|
|
|
<div>
|
|
|
- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
|
|
+ <!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
|
|
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
|
|
|
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
|
|
|
<a-table
|
|
|
ref="table"
|
|
@@ -63,9 +63,9 @@
|
|
|
:dataSource="dataSource"
|
|
|
:pagination="ipagination"
|
|
|
:loading="loading"
|
|
|
- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
|
|
:scroll="{x:true}"
|
|
|
@change="handleTableChange">
|
|
|
+ <!-- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" -->
|
|
|
|
|
|
<!-- 字符串超长截取省略号显示-->
|
|
|
<span slot="description" slot-scope="text">
|
|
@@ -86,11 +86,11 @@
|
|
|
<a-menu slot="overlay">
|
|
|
<a-menu-item><a @click="executeImmediately(record)">执行一次</a></a-menu-item>
|
|
|
<a-menu-item><a @click="handleEdit(record)">编辑</a></a-menu-item>
|
|
|
- <a-menu-item>
|
|
|
+ <!-- <a-menu-item>
|
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
|
<a>删除</a>
|
|
|
</a-popconfirm>
|
|
|
- </a-menu-item>
|
|
|
+ </a-menu-item> -->
|
|
|
</a-menu>
|
|
|
</a-dropdown>
|
|
|
</span>
|
|
@@ -130,7 +130,7 @@
|
|
|
// 表头
|
|
|
columns: [
|
|
|
{
|
|
|
- title: '#',
|
|
|
+ title: '序号',
|
|
|
dataIndex: '',
|
|
|
key:'rowIndex',
|
|
|
width:60,
|