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
Commit
8d9d9e76
authored
Mar 30, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码评审】AI:工作流
parent
dafc54c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
src/views/ai/workflow/form/index.vue
+1
-0
src/views/ai/workflow/index.vue
+2
-8
No files found.
src/views/ai/workflow/form/index.vue
View file @
8d9d9e76
...
@@ -215,6 +215,7 @@ onMounted(async () => {
...
@@ -215,6 +215,7 @@ onMounted(async () => {
})
})
</
script
>
</
script
>
<!-- TODO @lesan:可以用 cursor 搞成 unocss 哈 -->
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.border-bottom
{
.border-bottom
{
border-bottom
:
1px
solid
#dcdfe6
;
border-bottom
:
1px
solid
#dcdfe6
;
...
...
src/views/ai/workflow/index.vue
View file @
8d9d9e76
...
@@ -77,12 +77,7 @@
...
@@ -77,12 +77,7 @@
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark"
/>
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark"
/>
<el-table-column
label=
"状态"
align=
"center"
key=
"status"
>
<el-table-column
label=
"状态"
align=
"center"
key=
"status"
>
<template
#
default=
"scope"
>
<template
#
default=
"scope"
>
<el-switch
<dict-tag
:type=
"DICT_TYPE.COMMON_STATUS"
:value=
"scope.row.status"
/>
v-model=
"scope.row.status"
:active-value=
"0"
:inactive-value=
"1"
disabled
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
fixed=
"right"
>
<el-table-column
label=
"操作"
align=
"center"
fixed=
"right"
>
...
@@ -122,7 +117,6 @@
...
@@ -122,7 +117,6 @@
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getIntDictOptions
}
from
'@/utils/dict'
import
*
as
WorkflowApi
from
'@/api/ai/workflow'
import
*
as
WorkflowApi
from
'@/api/ai/workflow'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
checkPermi
}
from
'@/utils/permission'
defineOptions
({
name
:
'AiWorkflow'
})
defineOptions
({
name
:
'AiWorkflow'
})
...
@@ -193,7 +187,7 @@ const openForm = async (type: string, id?: number) => {
...
@@ -193,7 +187,7 @@ const openForm = async (type: string, id?: number) => {
}
}
/** 初始化 **/
/** 初始化 **/
onMounted
(
async
()
=>
{
onMounted
(()
=>
{
getList
()
getList
()
})
})
</
script
>
</
script
>
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