更新检测相关功能

This commit is contained in:
许允枞 2024-11-04 11:35:33 +08:00
parent fcbc03396b
commit bf3a148e06

View File

@ -32,7 +32,7 @@
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="openForm(undefined)"
v-hasPermi="['inspection:dl-inspection-project:create']">新增
>新增
</el-button>
</el-col>
<!-- <el-col :span="1.5">-->
@ -58,10 +58,10 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template v-slot="scope">
<el-button size="mini" type="text" icon="el-icon-edit" @click="openForm(scope.row.id)"
v-hasPermi="['inspection:dl-inspection-project:update']">修改
>修改
</el-button>
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
v-hasPermi="['inspection:dl-inspection-project:delete']">删除
>删除
</el-button>
</template>
</el-table-column>