style: change process management style (#10619)

This commit is contained in:
CityFun 2025-10-13 21:28:36 +08:00 committed by GitHub
parent e16ab09253
commit 4597cb26a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,7 @@
<template>
<DrawerPro v-model="open" :header="$t('app.param')" @close="handleClose" size="normal">
<template #buttons>
<el-button type="primary" plain @click="editParam" :disabled="loading">
<el-button type="primary" plain @click="editParam" :disabled="loading" :icon="edit ? '' : 'Edit'">
{{ edit ? $t('app.detail') : $t('commons.button.edit') }}
</el-button>
</template>
@ -11,7 +11,7 @@
<span v-if="!openConfig">
{{ appConfigUpdate.webUI }}
<el-button size="small" @click="openConfig = true">
{{ $t('commons.button.edit') }}
{{ $t('container.custom') }}
</el-button>
</span>
<span class="flex" v-else>

View file

@ -13,7 +13,7 @@
collapse-tags-tooltip
:max-collapse-tags="2"
@change="search()"
class="p-w-400"
class="p-w-300"
>
<el-option
v-for="item in statusOptions"

View file

@ -9,7 +9,7 @@
:placeholder="$t('commons.table.status')"
clearable
@change="search()"
class="p-w-400"
class="p-w-300"
multiple
collapse-tags
collapse-tags-tooltip
@ -114,6 +114,8 @@ const columns = ref([
title: 'PID',
dataKey: 'PID',
width: 120,
sortable: true,
sortMethod: sortByNum,
},
{
key: 'name',
@ -126,7 +128,6 @@ const columns = ref([
title: i18n.global.t('process.ppid'),
dataKey: 'PPID',
width: 120,
sortable: true,
},
{
key: 'numThreads',
@ -190,7 +191,7 @@ const columns = ref([
key: 'actions',
title: i18n.global.t('commons.table.operate'),
dataKey: 'actions',
width: 200,
width: 300,
cellRenderer: ({ rowData }) => {
return h('div', { class: 'action-buttons' }, [
h(