File tree Expand file tree Collapse file tree
module_monitor/cache/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 size="small"
1111 />
1212 <ElButton type="primary" size="small" plain @click =" toggleExpandAll " >
13- <template #icon ><SwitchIcon /></template >
13+ <template #icon >
14+ <FaSvgIcon :icon =" isExpanded ? ' ri:arrow-up-s-line' : ' ri:arrow-down-s-line' " />
15+ </template >
1416 {{ isExpanded ? "收起" : "展开" }}
1517 </ElButton >
1618 <ElCheckbox v-model =" parentChildLinked " >父子联动</ElCheckbox >
@@ -216,3 +218,14 @@ watch(filterText, (val) => {
216218 }
217219});
218220 </script >
221+
222+ <style scoped>
223+ :deep(.el-tree-node__expand-icon ) {
224+ color : var (--el-text-color-secondary );
225+ font-size : 16px ;
226+ }
227+
228+ :deep(.el-tree-node__expand-icon.is-leaf ) {
229+ color : transparent ;
230+ }
231+ </style >
Original file line number Diff line number Diff line change 6363 <FaEmptyState icon="ri:inbox-line " title="没有扫描到键" compact />
6464 </template >
6565 <template #operation =" { row } " >
66- <ElButton link type="danger" @click .stop =" removeKey (row )" >删除</ElButton >
66+ <ElButton link type="danger" @click .stop =" removeKey (row )" >
67+ <FaSvgIcon icon="ri:delete-bin-4-line " class="mr-1" />删除
68+ </ElButton >
6769 </template >
6870 </FaTable >
6971 </section >
Original file line number Diff line number Diff line change 139139 size="small"
140140 @click =" handleOpenDialog (' update' , item .id ! )"
141141 >
142- 处理
142+ < FaSvgIcon icon="ri: edit-2-line " class="mr-1" /> 处理
143143 </ElButton >
144144 <ElButton
145145 v-if =" item .status ! < 3 "
149149 size="small"
150150 @click =" closeTicket (item .id ! )"
151151 >
152- 关闭
152+ < FaSvgIcon icon="ri: close-circle-line " class="mr-1" /> 关闭
153153 </ElButton >
154154 <ElButton
155155 v-hasPerm =" [' module_system:ticket:delete' ] "
158158 size="small"
159159 @click =" deleteTicketRow (item .id ! , item .title ?? ' ' )"
160160 >
161- 删除
161+ < FaSvgIcon icon="ri: delete-bin-4-line " class="mr-1" /> 删除
162162 </ElButton >
163163 </div >
164164 </template >
Original file line number Diff line number Diff line change 108108 size="small"
109109 @click =" item .id != null && handleExecuteOnce (item .id )"
110110 >
111- 立即执行
111+ < FaSvgIcon icon="ri: play-circle-line " class="mr-1" /> 立即执行
112112 </ElButton >
113113 <ElButton
114114 v-hasPerm =" [' module_task:cronjob:node:update' ] "
117117 size="small"
118118 @click =" handleToggleRowStatus (item )"
119119 >
120- {{ item.status === 1 ? "启用" : "停用" }}
120+ <FaSvgIcon
121+ :icon =" item .status === 1 ? ' ri:play-line' : ' ri:pause-circle-line' "
122+ class="mr-1"
123+ />{{ item.status === 1 ? "启用" : "停用" }}
121124 </ElButton >
122125 <ElButton
123126 v-hasPerm =" [' module_task:cronjob:job:query' ] "
126129 size="small"
127130 @click =" handleCardCommand (' logs' , item )"
128131 >
129- 记录
132+ < FaSvgIcon icon="ri: file-list-3-line " class="mr-1" /> 记录
130133 </ElButton >
131134 <ElButton
132135 v-hasPerm =" [' module_task:cronjob:node:update' ] "
135138 size="small"
136139 @click =" handleCardCommand (' edit' , item )"
137140 >
138- 编辑
141+ < FaSvgIcon icon="ri: edit-2-line " class="mr-1" /> 编辑
139142 </ElButton >
140143 <ElButton
141144 v-hasPerm =" [' module_task:cronjob:node:delete' ] "
144147 size="small"
145148 @click =" handleCardCommand (' delete' , item )"
146149 >
147- 删除
150+ < FaSvgIcon icon="ri: delete-bin-4-line " class="mr-1" /> 删除
148151 </ElButton >
149152 </div >
150153 </template >
You can’t perform that action at this time.
0 commit comments