|
@@ -43,19 +43,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-button type="primary" icon="import">导入</a-button>
|
|
|
- </a-upload>
|
|
|
+<!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">-->
|
|
|
+<!-- <a-button type="primary" icon="import">导入</a-button>-->
|
|
|
+<!-- </a-upload>-->
|
|
|
<!-- 高级查询区域 -->
|
|
|
- <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
|
|
|
- <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>
|
|
|
+<!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>-->
|
|
|
+<!-- <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>-->
|
|
|
</div>
|
|
|
|
|
|
<!-- table区域-begin -->
|
|
@@ -102,20 +102,20 @@
|
|
|
<span slot="action" slot-scope="text, record">
|
|
|
<a @click="handleEdit(record)">编辑</a>
|
|
|
|
|
|
- <a-divider type="vertical" />
|
|
|
- <a-dropdown>
|
|
|
- <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
|
|
|
- <a-menu slot="overlay">
|
|
|
- <a-menu-item>
|
|
|
- <a @click="handleDetail(record)">详情</a>
|
|
|
- </a-menu-item>
|
|
|
- <a-menu-item>
|
|
|
- <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
|
- <a>删除</a>
|
|
|
- </a-popconfirm>
|
|
|
- </a-menu-item>
|
|
|
- </a-menu>
|
|
|
- </a-dropdown>
|
|
|
+<!-- <a-divider type="vertical" />-->
|
|
|
+<!-- <a-dropdown>-->
|
|
|
+<!-- <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>-->
|
|
|
+<!-- <a-menu slot="overlay">-->
|
|
|
+<!-- <a-menu-item>-->
|
|
|
+<!-- <a @click="handleDetail(record)">详情</a>-->
|
|
|
+<!-- </a-menu-item>-->
|
|
|
+<!-- <a-menu-item>-->
|
|
|
+<!-- <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">-->
|
|
|
+<!-- <a>删除</a>-->
|
|
|
+<!-- </a-popconfirm>-->
|
|
|
+<!-- </a-menu-item>-->
|
|
|
+<!-- </a-menu>-->
|
|
|
+<!-- </a-dropdown>-->
|
|
|
</span>
|
|
|
<span slot="action2" slot-scope="text, item">
|
|
|
<a-popconfirm :title="item.deviceStatus == 3 ? '确定取消设备故障吗': '确定设备出现故障吗'" @confirm="() => handleGuzhang(item)">
|
|
@@ -247,7 +247,7 @@
|
|
|
dataIndex: 'action',
|
|
|
align:"center",
|
|
|
fixed:"right",
|
|
|
- width:147,
|
|
|
+ width:70,
|
|
|
scopedSlots: { customRender: 'action' }
|
|
|
}
|
|
|
],
|