新增字段

This commit is contained in:
lai
2025-07-15 18:44:24 +08:00
parent 772593e6da
commit bcca03d983
3 changed files with 36 additions and 13 deletions

View File

@@ -415,6 +415,7 @@ export default {
tacHelp:'The TAC value is a decimal string, separated by ";" for multiple TAC values.', tacHelp:'The TAC value is a decimal string, separated by ";" for multiple TAC values.',
cellIdHelp:'The CellId value is a hexadecimal string, separated by ";" for multiple CellId values.', cellIdHelp:'The CellId value is a hexadecimal string, separated by ";" for multiple CellId values.',
areaId:'The areaId value is a hexadecimal string.', areaId:'The areaId value is a hexadecimal string.',
detail:'Detail',
} }
}, },
dashboard: { dashboard: {

View File

@@ -419,6 +419,7 @@ export default {
tacHelp:'TAC值是十进制字符串,通过";"分隔多个TAC值', tacHelp:'TAC值是十进制字符串,通过";"分隔多个TAC值',
cellIdHelp:'CellId值是十六进制字符串,通过";"分隔多个CellId值', cellIdHelp:'CellId值是十六进制字符串,通过";"分隔多个CellId值',
areaId:'areaId值是十六进制字符串', areaId:'areaId值是十六进制字符串',
detail:'详情',
} }
}, },
dashboard: { dashboard: {

View File

@@ -32,6 +32,7 @@ let queryParams = reactive({
/**网元ID */ /**网元ID */
neId: undefined, neId: undefined,
status: undefined, status: undefined,
eventName:'',
/**记录开始时间 */ /**记录开始时间 */
startTime: '', startTime: '',
/**记录结束时间 */ /**记录结束时间 */
@@ -132,6 +133,20 @@ let tableColumns: ColumnsType = [
return messageJson.startTime; return messageJson.startTime;
}, },
}, },
{
title: t('views.cbc.cbe.status'),
dataIndex: 'status',
key: 'status',
align: 'left',
width: 100,
},
{
title: t('views.cbc.cbe.detail'),
dataIndex: 'detail',
align: 'center',
width: 250,
},
{ {
title: t('views.cbc.cbe.createdAt'), title: t('views.cbc.cbe.createdAt'),
dataIndex: 'createdAt', dataIndex: 'createdAt',
@@ -142,13 +157,6 @@ let tableColumns: ColumnsType = [
return parseDateToStr(opt.value / 1000); return parseDateToStr(opt.value / 1000);
}, },
}, },
{
title: t('views.cbc.cbe.status'),
dataIndex: 'status',
key: 'status',
align: 'left',
width: 100,
},
{ {
title: t('common.operate'), title: t('common.operate'),
key: 'cbeId', key: 'cbeId',
@@ -693,7 +701,8 @@ function fnRecordSend(record: any) {
}); });
}, },
onCancel() { onCancel() {
record.status = record.status === '1' ? '0' : '1'; console.log(record.status);
record.status = record.status === 'ACTIVE' ? 'INACTIVE' : 'ACTIVE';
}, },
}); });
} }
@@ -865,7 +874,7 @@ onMounted(() => {
<!-- 表格搜索栏 --> <!-- 表格搜索栏 -->
<a-form :model="queryParams" name="queryParams" layout="horizontal"> <a-form :model="queryParams" name="queryParams" layout="horizontal">
<a-row :gutter="16"> <a-row :gutter="16">
<a-col :lg="6" :md="12" :xs="24"> <a-col :lg="8" :md="12" :xs="24">
<a-form-item :label="t('views.cbc.cbe.neType')" name="neId "> <a-form-item :label="t('views.cbc.cbe.neType')" name="neId ">
<a-select <a-select
v-model:value="queryParams.neId" v-model:value="queryParams.neId"
@@ -876,7 +885,13 @@ onMounted(() => {
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :lg="6" :md="12" :xs="24"> <a-col :lg="8" :md="12" :xs="24">
<a-form-item :label="t('views.cbc.cbe.eventName')" name="eventName">
<a-input v-model:value="queryParams.eventName" />
</a-form-item>
</a-col>
<a-col :lg="8" :md="12" :xs="24">
<a-form-item :label="t('views.cbc.cbe.status')" name="status"> <a-form-item :label="t('views.cbc.cbe.status')" name="status">
<a-select <a-select
v-model:value="queryParams.status" v-model:value="queryParams.status"
@@ -889,7 +904,7 @@ onMounted(() => {
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :lg="6" :md="12" :xs="24"> <a-col :lg="8" :md="12" :xs="24">
<a-form-item <a-form-item
:label="t('views.cbc.cbe.createdAt')" :label="t('views.cbc.cbe.createdAt')"
name="queryRangePicker" name="queryRangePicker"
@@ -1598,7 +1613,10 @@ onMounted(() => {
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :lg="10" :md="10" :xs="24"> <a-col :lg="10" :md="10" :xs="24">
<a-form-item label="EUTRA CellId" :help="t('views.cbc.cbe.cellIdHelp')"> <a-form-item
label="EUTRA CellId"
:help="t('views.cbc.cbe.cellIdHelp')"
>
<a-input <a-input
v-model:value="item.eutraCellId" v-model:value="item.eutraCellId"
placeholder="EUTRA CellId" placeholder="EUTRA CellId"
@@ -1606,7 +1624,10 @@ onMounted(() => {
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :lg="10" :md="10" :xs="24"> <a-col :lg="10" :md="10" :xs="24">
<a-form-item label="NR CellId" :help="t('views.cbc.cbe.cellIdHelp')"> <a-form-item
label="NR CellId"
:help="t('views.cbc.cbe.cellIdHelp')"
>
<a-input <a-input
v-model:value="item.nrCellId" v-model:value="item.nrCellId"
placeholder="NR CellId" placeholder="NR CellId"