File tree Expand file tree Collapse file tree 2 files changed +34
-14
lines changed
web/src/view/superAdmin/dictionary Expand file tree Collapse file tree 2 files changed +34
-14
lines changed Original file line number Diff line number Diff line change 3030 >
3131 </template >
3232 </el-input >
33- <el-button
34- class =" ml-auto"
35- :icon =" Search"
36- @click =" showSearchInputHandler"
37- ></el-button >
38- <el-button type =" success" @click =" openImportDialog" :icon =" Upload" >
39- </el-button >
40- <el-button type =" warning" @click =" openAiDialog" >AI</el-button >
41- <el-button type =" primary" @click =" openDrawer" :icon =" Plus" >
42- </el-button >
33+ <el-button-group class =" ml-auto" >
34+ <el-tooltip content =" 搜索" placement =" top" >
35+ <el-button
36+ :icon =" Search"
37+ @click =" showSearchInputHandler"
38+ />
39+ </el-tooltip >
40+ <el-tooltip content =" 导入字典" placement =" top" >
41+ <el-button
42+ type =" success"
43+ :icon =" Upload"
44+ @click =" openImportDialog"
45+ />
46+ </el-tooltip >
47+ <el-tooltip content =" AI 生成字典" placement =" top" >
48+ <el-button
49+ type =" warning"
50+ @click =" openAiDialog"
51+ >
52+ AI
53+ </el-button >
54+ </el-tooltip >
55+ <el-tooltip content =" 新建字典" placement =" top" >
56+ <el-button
57+ type =" primary"
58+ :icon =" Plus"
59+ @click =" openDrawer"
60+ />
61+ </el-tooltip >
62+ </el-button-group >
4363 </div >
4464 <el-scrollbar class =" mt-4" style =" height : calc (100vh - 300px )" >
4565 <div
6686
6787 <div class =" min-w-[60px] flex items-center gap-2" >
6888 <el-icon
69- class =" text-green-500"
89+ class =" ! text-green-500"
7090 @click.stop =" exportDictionary(dictionary)"
7191 title =" 导出字典"
7292 >
7393 <Download />
7494 </el-icon >
7595 <el-icon
76- class =" text-blue-500"
96+ class =" ! text-blue-500"
7797 @click.stop =" updateSysDictionaryFunc(dictionary)"
7898 >
7999 <Edit />
80100 </el-icon >
81101 <el-icon
82- class =" ml-2 text-red-500"
102+ class =" ! text-red-500"
83103 @click =" deleteSysDictionaryFunc(dictionary)"
84104 >
85105 <Delete />
Original file line number Diff line number Diff line change 7272 >
7373 <template #default =" scope " >
7474 <el-button
75- type =" success "
75+ type =" primary "
7676 link
7777 icon =" plus"
7878 @click =" addChildNode(scope.row)"
You can’t perform that action at this time.
0 commit comments