update: 图标组件替换
This commit is contained in:
parent
5352ef782a
commit
8b86084d82
|
@ -9,7 +9,7 @@
|
||||||
visible
|
visible
|
||||||
>
|
>
|
||||||
<h5 class="row">
|
<h5 class="row">
|
||||||
<exclamation-circle-outlined style="margin-right: 6px" />
|
<AIcon type="ExclamationCircleOutlined" style="margin-right: 6px" />
|
||||||
只能分配有“共享”权限的资产数据
|
只能分配有“共享”权限的资产数据
|
||||||
</h5>
|
</h5>
|
||||||
|
|
||||||
|
@ -132,7 +132,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
|
|
||||||
import { getImage } from '@/utils/comm';
|
import { getImage } from '@/utils/comm';
|
||||||
import { uniq, intersection } from 'lodash-es';
|
import { uniq, intersection } from 'lodash-es';
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
class="search-input"
|
class="search-input"
|
||||||
>
|
>
|
||||||
<template #suffix>
|
<template #suffix>
|
||||||
<search-outlined />
|
<AIcon type="SearchOutlined" />
|
||||||
</template>
|
</template>
|
||||||
</j-input>
|
</j-input>
|
||||||
<div class="add-btn">
|
<div class="add-btn">
|
||||||
|
@ -89,7 +89,6 @@ import { debounce, cloneDeep, omit } from 'lodash-es';
|
||||||
import { ArrayToTree } from '@/utils/utils';
|
import { ArrayToTree } from '@/utils/utils';
|
||||||
import EditDepartmentDialog from './EditDepartmentDialog.vue';
|
import EditDepartmentDialog from './EditDepartmentDialog.vue';
|
||||||
|
|
||||||
import { SearchOutlined } from '@ant-design/icons-vue';
|
|
||||||
import { message } from 'ant-design-vue';
|
import { message } from 'ant-design-vue';
|
||||||
|
|
||||||
const permission = 'system/Department';
|
const permission = 'system/Department';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="setting-container">
|
<div class="setting-container">
|
||||||
<h5 class="top">
|
<h5 class="top">
|
||||||
<exclamation-circle-outlined />
|
<AIcon type="ExclamationCircleOutlined" />
|
||||||
<span style="padding-left: 12px"
|
<span style="padding-left: 12px"
|
||||||
>基于系统源代码中的菜单数据,配置系统菜单。</span
|
>基于系统源代码中的菜单数据,配置系统菜单。</span
|
||||||
>
|
>
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
<template #title
|
<template #title
|
||||||
>根据系统代码自动读取的菜单数据</template
|
>根据系统代码自动读取的菜单数据</template
|
||||||
>
|
>
|
||||||
<question-circle-outlined />
|
<AIcon type="QuestionCircleOutlined" />
|
||||||
</j-tooltip>
|
</j-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<div class="title-func">
|
<div class="title-func">
|
||||||
|
@ -36,7 +36,10 @@
|
||||||
placeholder="请输入菜单名称"
|
placeholder="请输入菜单名称"
|
||||||
>
|
>
|
||||||
<template #prefix>
|
<template #prefix>
|
||||||
<search-outlined style="color: #b3b3b3" />
|
<AIcon
|
||||||
|
type="SearchOutlined"
|
||||||
|
style="color: #b3b3b3"
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
</j-input>
|
</j-input>
|
||||||
<j-tree
|
<j-tree
|
||||||
|
@ -63,7 +66,7 @@
|
||||||
<template #title
|
<template #title
|
||||||
>菜单管理页面配置的菜单数据</template
|
>菜单管理页面配置的菜单数据</template
|
||||||
>
|
>
|
||||||
<question-circle-outlined />
|
<AIcon type="QuestionCircleOutlined" />
|
||||||
</j-tooltip>
|
</j-tooltip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -74,7 +77,10 @@
|
||||||
placeholder="请输入菜单名称"
|
placeholder="请输入菜单名称"
|
||||||
>
|
>
|
||||||
<template #prefix>
|
<template #prefix>
|
||||||
<search-outlined style="color: #b3b3b3" />
|
<AIcon
|
||||||
|
type="SearchOutlined"
|
||||||
|
style="color: #b3b3b3"
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
</j-input>
|
</j-input>
|
||||||
<j-tree
|
<j-tree
|
||||||
|
@ -103,7 +109,7 @@
|
||||||
style="padding: 0"
|
style="padding: 0"
|
||||||
type="link"
|
type="link"
|
||||||
>
|
>
|
||||||
<close-outlined />
|
<AIcon type="CloseOutlined" />
|
||||||
</j-button>
|
</j-button>
|
||||||
</j-tooltip>
|
</j-tooltip>
|
||||||
</j-popconfirm>
|
</j-popconfirm>
|
||||||
|
@ -114,7 +120,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<j-button type="primary" style="margin-top: 24px;">保存</j-button>
|
<j-button type="primary" style="margin-top: 24px">保存</j-button>
|
||||||
|
|
||||||
<div class="dialogs">
|
<div class="dialogs">
|
||||||
<j-modal
|
<j-modal
|
||||||
|
@ -131,13 +137,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts" name="MenuSetting">
|
<script setup lang="ts" name="MenuSetting">
|
||||||
import {
|
|
||||||
ExclamationCircleOutlined,
|
|
||||||
QuestionCircleOutlined,
|
|
||||||
SearchOutlined,
|
|
||||||
CloseOutlined,
|
|
||||||
} from '@ant-design/icons-vue';
|
|
||||||
|
|
||||||
import { getMenuTree_api } from '@/api/system/menu';
|
import { getMenuTree_api } from '@/api/system/menu';
|
||||||
import { getSystemPermission as getSystemPermission_api } from '@/api/initHome';
|
import { getSystemPermission as getSystemPermission_api } from '@/api/initHome';
|
||||||
import { filterMenu, getKeys, loop } from './utils';
|
import { filterMenu, getKeys, loop } from './utils';
|
||||||
|
|
|
@ -64,8 +64,13 @@
|
||||||
onConfirm: () => table.changeStatus(slotProps),
|
onConfirm: () => table.changeStatus(slotProps),
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<stop-outlined v-if="slotProps.status" />
|
<AIcon
|
||||||
<play-circle-outlined v-else />
|
:type="
|
||||||
|
slotProps.status
|
||||||
|
? 'StopOutlined'
|
||||||
|
: 'PlayCircleOutlined'
|
||||||
|
"
|
||||||
|
/>
|
||||||
</PermissionButton>
|
</PermissionButton>
|
||||||
<PermissionButton
|
<PermissionButton
|
||||||
:hasPermission="`${permission}:update`"
|
:hasPermission="`${permission}:update`"
|
||||||
|
@ -117,7 +122,6 @@ import {
|
||||||
changeUserStatus_api,
|
changeUserStatus_api,
|
||||||
deleteUser_api,
|
deleteUser_api,
|
||||||
} from '@/api/system/user';
|
} from '@/api/system/user';
|
||||||
import { StopOutlined, PlayCircleOutlined } from '@ant-design/icons-vue';
|
|
||||||
import { message } from 'ant-design-vue';
|
import { message } from 'ant-design-vue';
|
||||||
|
|
||||||
const permission = 'system/User';
|
const permission = 'system/User';
|
||||||
|
|
Loading…
Reference in New Issue