|
@@ -61,16 +61,25 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item>
|
|
<el-form-item>
|
|
|
- <el-button @click="handleQuery">
|
|
|
|
|
|
|
+ <el-button @click="handleQuery" v-hasPermi="['rq:qhse-device-cert:query']">
|
|
|
<Icon icon="ep:search" class="mr-5px" /> 搜索
|
|
<Icon icon="ep:search" class="mr-5px" /> 搜索
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button @click="resetQuery">
|
|
<el-button @click="resetQuery">
|
|
|
<Icon icon="ep:refresh" class="mr-5px" /> 重置
|
|
<Icon icon="ep:refresh" class="mr-5px" /> 重置
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <el-button type="primary" plain @click="openForm('create')">
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-hasPermi="['rq:qhse-device-cert:create']"
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ plain
|
|
|
|
|
+ @click="openForm('create')">
|
|
|
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
|
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <el-button type="success" plain @click="handleExport" :loading="exportLoading">
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-hasPermi="['rq:qhse-device-cert:export']"
|
|
|
|
|
+ type="success"
|
|
|
|
|
+ plain
|
|
|
|
|
+ @click="handleExport"
|
|
|
|
|
+ :loading="exportLoading">
|
|
|
<Icon icon="ep:download" class="mr-5px" /> 导出
|
|
<Icon icon="ep:download" class="mr-5px" /> 导出
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -125,10 +134,18 @@
|
|
|
</zm-table-column>
|
|
</zm-table-column>
|
|
|
<zm-table-column label="操作" align="center" width="140" fixed="right" action>
|
|
<zm-table-column label="操作" align="center" width="140" fixed="right" action>
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
- <el-button link type="primary" @click="openForm('update', scope.row.id)">
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ link
|
|
|
|
|
+ v-hasPermi="['rq:qhse-device-cert:update']"
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ @click="openForm('update', scope.row.id)">
|
|
|
编辑
|
|
编辑
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <el-button link type="danger" @click="handleDelete(scope.row.id)">
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-hasPermi="['rq:qhse-device-cert:delete']"
|
|
|
|
|
+ link
|
|
|
|
|
+ type="danger"
|
|
|
|
|
+ @click="handleDelete(scope.row.id)">
|
|
|
删除
|
|
删除
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</template>
|
|
</template>
|