联调
This commit is contained in:
@@ -3,7 +3,13 @@
|
||||
<el-card shadow="always" :body-style="{ padding: '10px' }">
|
||||
<div class="flex justify-between items-center" style="width: 300px">
|
||||
<div class="text-16px font-bold">角色列表</div>
|
||||
<el-button type="primary" style="padding: 0px" text @click="openForm('create')">
|
||||
<el-button
|
||||
type="primary"
|
||||
style="padding: 0px"
|
||||
text
|
||||
@click="openForm('create')"
|
||||
v-hasPermi="['basic:role:add']"
|
||||
>
|
||||
新增
|
||||
</el-button>
|
||||
</div>
|
||||
@@ -21,6 +27,7 @@
|
||||
type="primary"
|
||||
style="padding: 0px"
|
||||
text
|
||||
v-hasPermi="['basic:role:update']"
|
||||
@click="openForm('update', item.id)"
|
||||
>
|
||||
修改
|
||||
@@ -30,6 +37,7 @@
|
||||
class="ml-10px"
|
||||
style="padding: 0px"
|
||||
text
|
||||
v-hasPermi="['basic:role:delete']"
|
||||
@click="handleDelete(item.id)"
|
||||
>
|
||||
删除
|
||||
@@ -84,7 +92,7 @@ const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
const total = ref(0) // 列表的总页数
|
||||
const list = ref([]) // 列表的数据
|
||||
const list = ref<any>([]) // 列表的数据
|
||||
|
||||
const libraryIndex = ref(0)
|
||||
const queryParams = reactive({
|
||||
|
||||
Reference in New Issue
Block a user