Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
22ba3895
authored
Mar 24, 2025
by
tzdxf
Committed by
Gitee
Mar 24, 2025
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitee.com:yudaocode/yudao-ui-admin-vue3 into fix-dialog-submit
Signed-off-by: tzdxf <tzdxf.fei@qq.com>
parents
1b5227a2
5216d184
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
7 deletions
+23
-7
src/components/Dialog/src/Dialog.vue
+14
-3
src/views/ai/utils/constants.ts
+5
-0
src/views/system/loginlog/index.vue
+2
-2
src/views/system/operatelog/index.vue
+2
-2
No files found.
src/components/Dialog/src/Dialog.vue
View file @
22ba3895
<
script
lang=
"ts"
setup
>
import
{
propTypes
}
from
'@/utils/propTypes'
import
{
isNumber
}
from
'@/utils/is'
defineOptions
({
name
:
'Dialog'
})
const
slots
=
useSlots
()
const
emits
=
defineEmits
([
'update:modelValue'
])
const
props
=
defineProps
({
modelValue
:
propTypes
.
bool
.
def
(
false
),
...
...
@@ -57,6 +59,15 @@ const dialogStyle = computed(() => {
})
const
closing
=
ref
(
false
)
function
closeHandler
()
{
emits
(
'update:modelValue'
,
false
)
closing
.
value
=
true
}
function
closedHandler
()
{
closing
.
value
=
false
}
</
script
>
<
template
>
...
...
@@ -70,8 +81,8 @@ const closing = ref(false)
draggable
class=
"com-dialog"
:show-close=
"false"
@
close=
"clos
ing=true
"
@
closed=
"clos
ing=false
"
@
close=
"clos
eHandler
"
@
closed=
"clos
edHandler
"
>
<template
#
header=
"
{ close }">
<div
class=
"relative h-54px flex items-center justify-between pl-15px pr-15px"
>
...
...
@@ -105,7 +116,7 @@ const closing = ref(false)
</ElScrollbar>
<slot
v-else
></slot>
<
template
v-if=
"slots.footer"
#
footer
>
<div
:style=
"
{
'pointer-events': closing ? 'none' : 'auto'
}">
<div
:style=
"
{
'pointer-events': closing ? 'none' : 'auto'
}">
<slot
name=
"footer"
></slot>
</div>
</
template
>
...
...
src/views/ai/utils/constants.ts
View file @
22ba3895
...
...
@@ -16,6 +16,7 @@ export const AiPlatformEnum = {
DEEP_SEEK
:
'DeepSeek'
,
// DeepSeek
ZHI_PU
:
'ZhiPu'
,
// 智谱 AI
XING_HUO
:
'XingHuo'
,
// 讯飞
SiliconFlow
:
'SiliconFlow'
,
// 硅基流动
OPENAI
:
'OpenAI'
,
Ollama
:
'Ollama'
,
STABLE_DIFFUSION
:
'StableDiffusion'
,
// Stability AI
...
...
@@ -44,6 +45,10 @@ export const OtherPlatformEnum: ImageModelVO[] = [
{
key
:
AiPlatformEnum
.
ZHI_PU
,
name
:
'智谱 AI'
},
{
key
:
AiPlatformEnum
.
SiliconFlow
,
name
:
'硅基流动'
}
]
...
...
src/views/system/loginlog/index.vue
View file @
22ba3895
...
...
@@ -47,7 +47,7 @@
plain
@
click=
"handleExport"
:loading=
"exportLoading"
v-hasPermi=
"['
infra
:login-log:export']"
v-hasPermi=
"['
system
:login-log:export']"
>
<Icon
icon=
"ep:download"
class=
"mr-5px"
/>
导出
</el-button>
...
...
@@ -85,7 +85,7 @@
link
type=
"primary"
@
click=
"openDetail(scope.row)"
v-hasPermi=
"['
infra
:login-log:query']"
v-hasPermi=
"['
system
:login-log:query']"
>
详情
</el-button>
...
...
src/views/system/operatelog/index.vue
View file @
22ba3895
...
...
@@ -81,7 +81,7 @@
plain
@
click=
"handleExport"
:loading=
"exportLoading"
v-hasPermi=
"['
infra
:operate-log:export']"
v-hasPermi=
"['
system
:operate-log:export']"
>
<Icon
icon=
"ep:download"
class=
"mr-5px"
/>
导出
</el-button>
...
...
@@ -112,7 +112,7 @@
link
type=
"primary"
@
click=
"openDetail(scope.row)"
v-hasPermi=
"['
infra
:operate-log:query']"
v-hasPermi=
"['
system
:operate-log:query']"
>
详情
</el-button>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment