mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-02-04 05:49:01 +08:00
style: change process management style (#10619)
This commit is contained in:
parent
e16ab09253
commit
4597cb26a1
3 changed files with 7 additions and 6 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue