File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -215,6 +215,7 @@ onMounted(async () => {
215
215
})
216
216
</script >
217
217
218
+ <!-- TODO @lesan:可以用 cursor 搞成 unocss 哈 -->
218
219
<style lang="scss" scoped>
219
220
.border-bottom {
220
221
border-bottom : 1px solid #dcdfe6 ;
Original file line number Diff line number Diff line change 77
77
<el-table-column label =" 备注" align =" center" prop =" remark" />
78
78
<el-table-column label =" 状态" align =" center" key =" status" >
79
79
<template #default =" scope " >
80
- <el-switch
81
- v-model =" scope.row.status"
82
- :active-value =" 0"
83
- :inactive-value =" 1"
84
- disabled
85
- />
80
+ <dict-tag :type =" DICT_TYPE.COMMON_STATUS" :value =" scope.row.status" />
86
81
</template >
87
82
</el-table-column >
88
83
<el-table-column label =" 操作" align =" center" fixed =" right" >
122
117
import { DICT_TYPE , getIntDictOptions } from ' @/utils/dict'
123
118
import * as WorkflowApi from ' @/api/ai/workflow'
124
119
import { dateFormatter } from ' @/utils/formatTime'
125
- import { checkPermi } from ' @/utils/permission'
126
120
127
121
defineOptions ({ name: ' AiWorkflow' })
128
122
@@ -193,7 +187,7 @@ const openForm = async (type: string, id?: number) => {
193
187
}
194
188
195
189
/** 初始化 **/
196
- onMounted (async () => {
190
+ onMounted (() => {
197
191
getList ()
198
192
})
199
193
</script >
You can’t perform that action at this time.
0 commit comments