移除按钮权限验证
This commit is contained in:
parent
b9e0f20647
commit
38af3e465f
|
@ -50,8 +50,8 @@
|
|||
<span style="color:royalblue;" v-if="text === 4">等待中</span>
|
||||
</template>
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="processFile(record)" v-has="'cont:btn'">解析</a>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a @click="processFile(record)">解析</a>
|
||||
<a-divider type="vertical" />
|
||||
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
||||
<a>删除</a>
|
||||
</a-popconfirm>
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
<span style="color:royalblue;" v-if="text === 4">等待中</span>
|
||||
</template>
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="processFile(record)" v-has="'cont:btn'">解析</a>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a @click="processFile(record)">解析</a>
|
||||
<a-divider type="vertical" />
|
||||
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
||||
<a>删除</a>
|
||||
</a-popconfirm>
|
||||
|
|
|
@ -70,10 +70,10 @@
|
|||
<span style="color:#87d068;" v-if="text === 2">已完成</span>
|
||||
</template>
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="handleEdit(record)" v-has="'cont:btn'">编辑</a>
|
||||
<a-divider type="vertical" v-has ="'cont:btn'" />
|
||||
<a @click="getSyncLog(record)" v-has="'cont:btn'">详情</a>
|
||||
<a-divider type="vertical" v-has ="'cont:btn'" />
|
||||
<a @click="handleEdit(record)">编辑</a>
|
||||
<a-divider type="vertical" />
|
||||
<a @click="getSyncLog(record)">详情</a>
|
||||
<a-divider type="vertical" />
|
||||
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
||||
<a>删除</a>
|
||||
</a-popconfirm>
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<a-popconfirm title="确定恢复吗?" @confirm="() => processFile(record.id)">
|
||||
<a>恢复文件</a>
|
||||
</a-popconfirm>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a-divider type="vertical" />
|
||||
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
||||
<a>删除文件</a>
|
||||
</a-popconfirm>
|
||||
|
|
|
@ -47,10 +47,10 @@
|
|||
<span style="color:#87d068;" v-if="text === 2">完成</span>
|
||||
</template>
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="handleEdit(record)" v-has="'cont:btn'">详情</a>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a v-has="'cont:btn'">查看日志</a>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a @click="handleEdit(record)">详情</a>
|
||||
<a-divider type="vertical" />
|
||||
<a >查看日志</a>
|
||||
<a-divider type="vertical" />
|
||||
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
||||
<a>删除</a>
|
||||
</a-popconfirm>
|
||||
|
|
|
@ -47,10 +47,10 @@
|
|||
<span style="color:#87d068;" v-if="text === 2">完成</span>
|
||||
</template>
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="handleEdit(record)" v-has="'cont:btn'">恢复备份</a>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a v-has="'cont:btn'">恢复日志</a>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a @click="handleEdit(record)">恢复备份</a>
|
||||
<a-divider type="vertical" />
|
||||
<a >恢复日志</a>
|
||||
<a-divider type="vertical" />
|
||||
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
||||
<a>删除</a>
|
||||
</a-popconfirm>
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
<j-ellipsis :value="text" :length="20" />
|
||||
</span>
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="handleEdit(record)" v-has="'cont:btn'">修改</a>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a @click="handleEdit(record)">修改</a>
|
||||
<a-divider type="vertical" />
|
||||
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
||||
<a>删除</a>
|
||||
</a-popconfirm>
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
<j-ellipsis :value="text" :length="20" />
|
||||
</span>
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="handleEdit(record)" v-has="'cont:btn'">修改</a>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a @click="handleEdit(record)">修改</a>
|
||||
<a-divider type="vertical" />
|
||||
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
||||
<a>删除</a>
|
||||
</a-popconfirm>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<j-ellipsis :value="text" :length="20" />
|
||||
</span>
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="handleEdit(record)" v-has="'cont:btn'">修改</a>
|
||||
<a @click="handleEdit(record)">修改</a>
|
||||
</span>
|
||||
</a-table>
|
||||
</div>
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
<!-- 字符串超长截取省略号显示-->
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="handleEdit(record)" v-has="'cont:btn'">修改</a>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a @click="handleEdit(record)">修改</a>
|
||||
<a-divider type="vertical" />
|
||||
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
||||
<a>删除</a>
|
||||
</a-popconfirm>
|
||||
|
|
|
@ -31,12 +31,12 @@
|
|||
|
||||
<!-- 操作按钮区域 -->
|
||||
<div class="table-operator">
|
||||
<a-button @click="handleAdd" type="primary" v-has="'cont:btn'" icon="plus">新增</a-button>
|
||||
<a-button type="primary" v-has="'cont:btn'" icon="download" @click="handleExportXls('源端数据库配置')" >导出</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" v-has="'cont:btn'" icon="import">导入</a-button>
|
||||
<a-button type="primary" icon="import">导入</a-button>
|
||||
</a-upload>
|
||||
<a-dropdown v-if="selectedRowKeys.length > 0" v-has="'cont:btn'">
|
||||
<a-dropdown v-if="selectedRowKeys.length > 0">
|
||||
<a-menu slot="overlay">
|
||||
<a-menu-item key="1" @click="batchDel">
|
||||
<a-icon type="delete"/>
|
||||
|
|
|
@ -35,10 +35,10 @@
|
|||
<j-ellipsis :value="text" :length="20" />
|
||||
</span>
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="handleEdit(record)" v-has="'cont:btn'">修改</a>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a @click="handleDistribute(record.id)" v-has="'cont:btn'">下发任务</a>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a @click="handleEdit(record)">修改</a>
|
||||
<a-divider type="vertical" />
|
||||
<a @click="handleDistribute(record.id)">下发任务</a>
|
||||
<a-divider type="vertical" />
|
||||
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
||||
<a>删除</a>
|
||||
</a-popconfirm>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
</a-col>
|
||||
<a-col :md="6" :sm="10" >
|
||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||
<a-button @click="loadData" type="primary" v-has="'cont:btn'" icon="search">查询</a-button>
|
||||
<a-button @click="loadData" type="primary" icon="search">查询</a-button>
|
||||
</span>
|
||||
</a-col>
|
||||
</a-row>
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
<!-- 字符串超长截取省略号显示-->
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="handleEdit(record)" v-has="'cont:btn'">选中</a>
|
||||
<a @click="handleEdit(record)">选中</a>
|
||||
</span>
|
||||
</a-table>
|
||||
</a-col>
|
||||
|
|
Loading…
Reference in New Issue
Block a user