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