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 () => {
215215})
216216 </script >
217217
218+ <!-- TODO @lesan:可以用 cursor 搞成 unocss 哈 -->
218219<style lang="scss" scoped>
219220.border-bottom {
220221 border-bottom : 1px solid #dcdfe6 ;
Original file line number Diff line number Diff line change 7777 <el-table-column label =" 备注" align =" center" prop =" remark" />
7878 <el-table-column label =" 状态" align =" center" key =" status" >
7979 <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" />
8681 </template >
8782 </el-table-column >
8883 <el-table-column label =" 操作" align =" center" fixed =" right" >
122117import { DICT_TYPE , getIntDictOptions } from ' @/utils/dict'
123118import * as WorkflowApi from ' @/api/ai/workflow'
124119import { dateFormatter } from ' @/utils/formatTime'
125- import { checkPermi } from ' @/utils/permission'
126120
127121defineOptions ({ name: ' AiWorkflow' })
128122
@@ -193,7 +187,7 @@ const openForm = async (type: string, id?: number) => {
193187}
194188
195189/** 初始化 **/
196- onMounted (async () => {
190+ onMounted (() => {
197191 getList ()
198192})
199193 </script >
You can’t perform that action at this time.
0 commit comments