|
@ -73,7 +73,7 @@ |
|
|
plain |
|
|
plain |
|
|
icon="Plus" |
|
|
icon="Plus" |
|
|
@click="handleAdd" |
|
|
@click="handleAdd" |
|
|
v-hasPermi="['${moduleName}:${businessName}:add']" |
|
|
v-hasPermi="['${permissionPrefix}:add']" |
|
|
>新增</el-button> |
|
|
>新增</el-button> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="1.5"> |
|
|
<el-col :span="1.5"> |
|
@ -83,7 +83,7 @@ |
|
|
icon="Edit" |
|
|
icon="Edit" |
|
|
:disabled="single" |
|
|
:disabled="single" |
|
|
@click="handleUpdate" |
|
|
@click="handleUpdate" |
|
|
v-hasPermi="['${moduleName}:${businessName}:edit']" |
|
|
v-hasPermi="['${permissionPrefix}:edit']" |
|
|
>修改</el-button> |
|
|
>修改</el-button> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="1.5"> |
|
|
<el-col :span="1.5"> |
|
@ -93,7 +93,7 @@ |
|
|
icon="Delete" |
|
|
icon="Delete" |
|
|
:disabled="multiple" |
|
|
:disabled="multiple" |
|
|
@click="handleDelete" |
|
|
@click="handleDelete" |
|
|
v-hasPermi="['${moduleName}:${businessName}:remove']" |
|
|
v-hasPermi="['${permissionPrefix}:remove']" |
|
|
>删除</el-button> |
|
|
>删除</el-button> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="1.5"> |
|
|
<el-col :span="1.5"> |
|
@ -102,7 +102,7 @@ |
|
|
plain |
|
|
plain |
|
|
icon="Download" |
|
|
icon="Download" |
|
|
@click="handleExport" |
|
|
@click="handleExport" |
|
|
v-hasPermi="['${moduleName}:${businessName}:export']" |
|
|
v-hasPermi="['${permissionPrefix}:export']" |
|
|
>导出</el-button> |
|
|
>导出</el-button> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> |
|
|
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> |
|
@ -148,8 +148,8 @@ |
|
|
#end |
|
|
#end |
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
|
|
<template #default="scope"> |
|
|
<template #default="scope"> |
|
|
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['${moduleName}:${businessName}:edit']">修改</el-button> |
|
|
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['${permissionPrefix}:edit']">修改</el-button> |
|
|
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['${moduleName}:${businessName}:remove']">删除</el-button> |
|
|
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['${permissionPrefix}:remove']">删除</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|