Skip to content

Commit 071ee03

Browse files
author
zhangtao
committed
Merge branch 'dev' into master
2 parents 7419009 + 0b2c5f0 commit 071ee03

4 files changed

Lines changed: 28 additions & 10 deletions

File tree

‎frontend/web/src/components/navigation/fa-menu-tree-table/index.vue‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
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>

‎frontend/web/src/views/module_monitor/cache/components/CacheKeyspaceManager.vue‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@
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>

‎frontend/web/src/views/module_system/ticket/index.vue‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
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"
@@ -149,7 +149,7 @@
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']"
@@ -158,7 +158,7 @@
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>

‎frontend/web/src/views/module_task/cronjob/node/index.vue‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
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']"
@@ -117,7 +117,10 @@
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']"
@@ -126,7 +129,7 @@
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']"
@@ -135,7 +138,7 @@
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']"
@@ -144,7 +147,7 @@
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>

0 commit comments

Comments
 (0)