Skip to content

Commit 6b167d7

Browse files
fix: bugs
1 parent 0886459 commit 6b167d7

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

ui/src/components/folder-breadcrumb/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<el-breadcrumb separator-icon="ArrowRight" style="line-height: 22px">
3-
<h4 v-if="breadcrumbData?.length === 1">{{ breadcrumbData[0]?.name }}</h4>
3+
<h2 v-if="breadcrumbData?.length === 1">{{ breadcrumbData[0]?.name }}</h2>
44
<el-breadcrumb-item v-for="(item, index) in breadcrumbData" :key="index" v-else>
55
<h5 class="ml-4" v-if="index === breadcrumbData.length - 1">{{ item.name }}</h5>
66
<el-button v-else link @click="handleClick(item)">{{ item.name }}</el-button>

ui/src/views/application/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<LayoutContainer class="application-manage">
33
<template #left>
4-
<h4 class="p-16 pb-0">{{ $t('views.application.title') }}</h4>
4+
<h4 class="p-12-16 pb-0 mt-12">{{ $t('views.application.title') }}</h4>
55
<folder-tree
66
:source="FolderSource.APPLICATION"
77
:data="folderList"

ui/src/views/knowledge/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<LayoutContainer class="knowledge-manage">
33
<template #left>
4-
<h4 class="p-16 pb-0">{{ $t('views.knowledge.title') }}</h4>
4+
<h4 class="p-12-16 pb-0 mt-12">{{ $t('views.knowledge.title') }}</h4>
55
<folder-tree
66
:source="FolderSource.KNOWLEDGE"
77
:data="folderList"

ui/src/views/model/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<LayoutContainer class="model-manage">
33
<template #left>
4-
<h4 class="p-16 mb-8 pb-0">{{ $t('views.model.provider') }}</h4>
4+
<h4 class="p-12-16 pb-0 mt-12">{{ $t('views.model.provider') }}</h4>
55
<ProviderComponent
66
:data="provider_list"
77
@click="clickListHandle"

ui/src/views/system/resource-authorization/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<el-card style="--el-card-padding: 0">
2020
<div class="flex main-calc-height">
21-
<div class="resource-authorization__left border-r p-8">
21+
<div class="resource-authorization__left border-r p-16">
2222
<div class="p-8">
2323
<h4 class="mb-12">{{ $t('views.resourceAuthorization.member') }}</h4>
2424
<el-input
@@ -49,7 +49,7 @@
4949
</el-scrollbar>
5050
</div>
5151
</div>
52-
<div class="permission-setting p-16 flex" v-loading="rLoading">
52+
<div class="permission-setting p-24 flex" v-loading="rLoading">
5353
<div class="resource-authorization__table">
5454
<h4 class="mb-4">{{ $t('views.resourceAuthorization.permissionSetting') }}</h4>
5555
<el-tabs
@@ -401,7 +401,7 @@ onMounted(() => {
401401
position: relative;
402402
.submit-button {
403403
position: absolute;
404-
top: 16px;
404+
top: 24px;
405405
right: 24px;
406406
}
407407
}

ui/src/views/system/role/component/Member.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676

7777
<script setup lang="ts">
7878
import { onMounted, ref, reactive, watch } from 'vue'
79-
import RoleApi from '@/api/system/role'
8079
import type { RoleItem, RoleMemberItem } from '@/api/type/role'
8180
import { MsgSuccess, MsgConfirm } from '@/utils/message'
8281
import { t } from '@/locales'

ui/src/views/system/role/component/PermissionConfiguration.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ import type {
5757
ChildrenPermissionItem,
5858
} from '@/api/type/role'
5959
import { loadPermissionApi } from '@/utils/dynamics-api/permission-api'
60+
import RoleApi from '@/api/system/role'
6061
import { MsgSuccess } from '@/utils/message'
6162
import { t } from '@/locales'
6263
@@ -91,7 +92,7 @@ async function getRolePermission() {
9192
if (!props.currentRole?.id) return
9293
try {
9394
tableData.value = []
94-
const res = await loadPermissionApi('role').getRolePermissionList(props.currentRole.id, loading)
95+
const res = await RoleApi.getRolePermissionList(props.currentRole.id, loading)
9596
tableData.value = transformData(res.data)
9697
} catch (error) {
9798
console.error(error)

ui/src/views/tool/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<LayoutContainer class="tool-manage">
33
<template #left>
4-
<h4 class="p-16 pb-0">{{ $t('views.tool.title') }}</h4>
4+
<h4 class="p-12-16 pb-0 mt-12">{{ $t('views.tool.title') }}</h4>
55
<folder-tree
66
:source="FolderSource.TOOL"
77
:data="folderList"

0 commit comments

Comments
 (0)