|
@@ -50,7 +50,10 @@
|
|
|
>
|
|
>
|
|
|
<template #operator class="table-operator">
|
|
<template #operator class="table-operator">
|
|
|
<a-space>
|
|
<a-space>
|
|
|
- <a-button type="primary" @click="formRef.onOpen(undefined, searchFormState.category, searchFormState.orgId)">
|
|
|
|
|
|
|
+ <a-button
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ @click="formRef.onOpen(undefined, searchFormState.category, searchFormState.orgId)"
|
|
|
|
|
+ >
|
|
|
<template #icon><plus-outlined /></template>
|
|
<template #icon><plus-outlined /></template>
|
|
|
新增角色
|
|
新增角色
|
|
|
</a-button>
|
|
</a-button>
|
|
@@ -64,8 +67,8 @@
|
|
|
<template v-if="column.dataIndex === 'action'">
|
|
<template v-if="column.dataIndex === 'action'">
|
|
|
<a @click="formRef.onOpen(record)">编辑</a>
|
|
<a @click="formRef.onOpen(record)">编辑</a>
|
|
|
<a-divider type="vertical" />
|
|
<a-divider type="vertical" />
|
|
|
- <a-popconfirm title="确定删除此角色?" @confirm="removeOrg(record)">
|
|
|
|
|
- <a-button type="link" danger size="small">删除</a-button>
|
|
|
|
|
|
|
+ <a-popconfirm title="确定删除此角色?" :disabled="record.isBuiltin === '1'" @confirm="removeOrg(record)">
|
|
|
|
|
+ <a-button type="link" danger :disabled="record.isBuiltin === '1'" size="small">删除</a-button>
|
|
|
</a-popconfirm>
|
|
</a-popconfirm>
|
|
|
<a-divider type="vertical" />
|
|
<a-divider type="vertical" />
|
|
|
<a-dropdown>
|
|
<a-dropdown>
|