|
@@ -40,7 +40,7 @@
|
|
|
|
|
|
<!-- 操作按钮区域 -->
|
|
<!-- 操作按钮区域 -->
|
|
<div class="table-operator">
|
|
<div class="table-operator">
|
|
- <a-button v-if="interlockType == '1'" @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
|
|
|
|
|
+ <a-button v-if="interlockType == '1'" v-has="'add:summary'" @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">
|
|
<a-button type="primary" icon="import">导入</a-button>
|
|
<a-button type="primary" icon="import">导入</a-button>
|
|
@@ -244,7 +244,7 @@
|
|
// scopedSlots: { customRender: 'action' },
|
|
// scopedSlots: { customRender: 'action' },
|
|
customRender: (text,record,index)=> {
|
|
customRender: (text,record,index)=> {
|
|
var childrenEdit = (<a onclick={() => { this.handleEdit(record) }}>编辑</a>)
|
|
var childrenEdit = (<a onclick={() => { this.handleEdit(record) }}>编辑</a>)
|
|
- var childrenDivider = (<a-divider type="vertical" />)
|
|
|
|
|
|
+ var childrenDivider = (<a-divider type="vertical"/>)
|
|
var childrenMore = (
|
|
var childrenMore = (
|
|
<a-dropdown>
|
|
<a-dropdown>
|
|
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
|
|
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
|