|
@@ -11,19 +11,19 @@
|
|
|
|
|
|
<!-- 操作按钮区域 -->
|
|
|
<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-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">
|
|
|
<a-button type="primary" icon="import">导入</a-button>
|
|
|
- </a-upload>
|
|
|
+ </a-upload> -->
|
|
|
<!-- 高级查询区域 -->
|
|
|
<j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
|
|
|
- <a-dropdown v-if="selectedRowKeys.length > 0">
|
|
|
+ <!-- <a-dropdown v-if="selectedRowKeys.length > 0">
|
|
|
<a-menu slot="overlay">
|
|
|
<a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
|
|
|
</a-menu>
|
|
|
<a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
|
|
|
- </a-dropdown>
|
|
|
+ </a-dropdown> -->
|
|
|
</div>
|
|
|
|
|
|
<!-- table区域-begin -->
|
|
@@ -31,6 +31,9 @@
|
|
|
<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>
|
|
|
+ <span style="float:right;">
|
|
|
+ <a @click="loadData()"><a-icon type="sync" />刷新</a>
|
|
|
+ </span>
|
|
|
</div>
|
|
|
|
|
|
<a-table
|
|
@@ -43,9 +46,9 @@
|
|
|
:dataSource="dataSource"
|
|
|
:pagination="ipagination"
|
|
|
:loading="loading"
|
|
|
- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
|
|
class="j-table-force-nowrap"
|
|
|
@change="handleTableChange">
|
|
|
+ <!-- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" -->
|
|
|
|
|
|
<template slot="htmlSlot" slot-scope="text">
|
|
|
<div v-html="text"></div>
|
|
@@ -67,7 +70,7 @@
|
|
|
</a-button>
|
|
|
</template>
|
|
|
|
|
|
- <span slot="action" slot-scope="text, record">
|
|
|
+ <!-- <span slot="action" slot-scope="text, record">
|
|
|
<a @click="handleEdit(record)">编辑</a>
|
|
|
|
|
|
<a-divider type="vertical" />
|
|
@@ -84,7 +87,7 @@
|
|
|
</a-menu-item>
|
|
|
</a-menu>
|
|
|
</a-dropdown>
|
|
|
- </span>
|
|
|
+ </span> -->
|
|
|
|
|
|
</a-table>
|
|
|
</div>
|
|
@@ -112,7 +115,7 @@
|
|
|
// 表头
|
|
|
columns: [
|
|
|
{
|
|
|
- title: '#',
|
|
|
+ title: '序号',
|
|
|
dataIndex: '',
|
|
|
key:'rowIndex',
|
|
|
width:60,
|
|
@@ -127,6 +130,11 @@
|
|
|
dataIndex: 'taskno'
|
|
|
},
|
|
|
{
|
|
|
+ title:'部门',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'sysOrgCode'
|
|
|
+ },
|
|
|
+ {
|
|
|
title:'任务名称',
|
|
|
align:"center",
|
|
|
dataIndex: 'taskname'
|
|
@@ -146,19 +154,19 @@
|
|
|
align:"center",
|
|
|
dataIndex: 'content'
|
|
|
},
|
|
|
- {
|
|
|
- title:'推送状态',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'status'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '操作',
|
|
|
- dataIndex: 'action',
|
|
|
- align:"center",
|
|
|
- fixed:"right",
|
|
|
- width:147,
|
|
|
- scopedSlots: { customRender: 'action' }
|
|
|
- }
|
|
|
+ // {
|
|
|
+ // title:'推送状态',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'status'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '操作',
|
|
|
+ // dataIndex: 'action',
|
|
|
+ // align:"center",
|
|
|
+ // fixed:"right",
|
|
|
+ // width:147,
|
|
|
+ // scopedSlots: { customRender: 'action' }
|
|
|
+ // }
|
|
|
],
|
|
|
url: {
|
|
|
list: "/projectPushList/projectPushList/list",
|