File tree 2 files changed +8
-15
lines changed
services/model/db-resource
views/resource-manage/record
2 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,6 @@ export default class MachineEvent {
42
42
this . update_at = payload . update_at ;
43
43
}
44
44
45
- get bizDisplay ( ) {
46
- return this . bk_biz_id ? `${ this . bk_biz_name } (#${ this . bk_biz_id } ,${ this . db_app_abbr } )` : '--' ;
47
- }
48
-
49
45
get eventDisplay ( ) {
50
46
return machineEventsDisplayMap [ this . event ] ;
51
47
}
Original file line number Diff line number Diff line change 46
46
<BkTableColumn
47
47
field =" updater"
48
48
:label =" t('操作人')"
49
- :width =" 200" >
49
+ show-overflow =" tooltip"
50
+ :width =" 120" >
50
51
</BkTableColumn >
51
52
<BkTableColumn
52
53
field =" updateAtDisplay"
53
54
:label =" t('操作时间')"
54
55
:width =" 200" >
55
56
</BkTableColumn >
56
57
<BkTableColumn
57
- field =" bizDisplay "
58
+ field =" bk_biz_name "
58
59
:label =" t('所属业务')"
59
- :width =" 250" >
60
- <template #default =" { data }: { data: MachineEvent } " >
61
- {{ data.ticket ? data.bizDisplay : '--' }}
62
- </template >
60
+ :min-width =" 180" >
63
61
</BkTableColumn >
64
62
<BkTableColumn
65
63
field =" ticket"
66
64
:label =" t('关联单据')"
67
- :width =" 200" >
65
+ :min- width =" 200" >
68
66
<template #default =" { data }: { data: MachineEvent } " >
69
67
<RouterLink
70
68
v-if =" data.ticket"
83
81
<BkTableColumn
84
82
field =" clusters"
85
83
:label =" t('集群')"
86
- show-overflow = " tooltip "
87
- :width = " 450 " >
84
+ :min-width = " 300 "
85
+ show-overflow = " tooltip " >
88
86
<template #default =" { data }: { data: MachineEvent } " >
89
87
{{ data.clusters.length ? data.clusters.map((item) => item.immute_domain).join(', ') : '--' }}
90
88
</template >
91
89
</BkTableColumn >
92
90
<BkTableColumn
93
91
field =" operationDetail"
94
- fixed =" right"
95
92
:label =" t('操作明细')"
96
93
show-overflow =" tooltip"
97
- :width =" 320 " >
94
+ :width =" 300 " >
98
95
</BkTableColumn >
99
96
</DbTable >
100
97
</div >
You can’t perform that action at this time.
0 commit comments