diff --git a/src/components/cockpit/monitoringPointList/index.vue b/src/components/cockpit/monitoringPointList/index.vue index 1d002ad..32d36cf 100644 --- a/src/components/cockpit/monitoringPointList/index.vue +++ b/src/components/cockpit/monitoringPointList/index.vue @@ -229,9 +229,8 @@ const tableStore: any = new TableStore({ } }, { - title: '操作', + title: '操作', fixed: 'right', width: 150, - // fixed: 'right', render: 'buttons', buttons: [ { diff --git a/src/views/auth/audit/index.vue b/src/views/auth/audit/index.vue index 057185b..7ad9fdc 100644 --- a/src/views/auth/audit/index.vue +++ b/src/views/auth/audit/index.vue @@ -33,7 +33,7 @@ const tableStore = new TableStore({ { title: '类型', field: 'casualUserName' }, { title: '状态', field: 'stateName' }, { - title: '操作', + title: '操作', fixed: 'right', width: '180', render: 'buttons', buttons: [ diff --git a/src/views/auth/menu/api.vue b/src/views/auth/menu/api.vue index 52316da..e9253dd 100644 --- a/src/views/auth/menu/api.vue +++ b/src/views/auth/menu/api.vue @@ -1,116 +1,134 @@ - - + + diff --git a/src/views/auth/menu/menu.vue b/src/views/auth/menu/menu.vue index 0a8ff61..67c1783 100644 --- a/src/views/auth/menu/menu.vue +++ b/src/views/auth/menu/menu.vue @@ -1,140 +1,140 @@ - - + + diff --git a/src/views/auth/role/index.vue b/src/views/auth/role/index.vue index 3b2b6b2..04027fb 100644 --- a/src/views/auth/role/index.vue +++ b/src/views/auth/role/index.vue @@ -90,7 +90,7 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作', fixed: 'right', align: 'center', width: '180', render: 'buttons', diff --git a/src/views/auth/userList/index.vue b/src/views/auth/userList/index.vue index 6ecdc8a..820ec56 100644 --- a/src/views/auth/userList/index.vue +++ b/src/views/auth/userList/index.vue @@ -79,10 +79,10 @@ const tableStore = new TableStore({ } }, { - title: '操作', + title: '操作', fixed: 'right', width: '180', render: 'buttons', - fixed: 'right', + buttons: [ { name: 'edit', diff --git a/src/views/govern/alarm/Transient.vue b/src/views/govern/alarm/Transient.vue index ca92000..7c3b791 100644 --- a/src/views/govern/alarm/Transient.vue +++ b/src/views/govern/alarm/Transient.vue @@ -141,9 +141,10 @@ const tableStore = new TableStore({ { title: '暂降(聚升)幅值(%)', minWidth: 100, field: 'evtParamVVaDepth', align: 'center', sortable: true }, { - title: '操作', + title: '操作', fixed: 'right', align: 'center', width: '180', + render: 'buttons', buttons: [ { @@ -165,9 +166,10 @@ const tableStore = new TableStore({ row.loading1 = false if (res != undefined) { boxoList.value = row + boxoList.value.persistTime = row.evtParamTm boxoList.value.featureAmplitude = - row.evtParamVVaDepth != '-' ? row.evtParamVVaDepth - 0 : null - boxoList.value.systemType = 'ZL' + row.evtParamVVaDepth != '-' ? (row.evtParamVVaDepth - 0) / 100 : null + boxoList.value.systemType = 'YPT' wp.value = res.data } loading.value = false diff --git a/src/views/govern/analyze/DVR/index.vue b/src/views/govern/analyze/DVR/index.vue index bab1afa..3d31075 100644 --- a/src/views/govern/analyze/DVR/index.vue +++ b/src/views/govern/analyze/DVR/index.vue @@ -136,6 +136,14 @@ const tableStore = new TableStore({ url: '/cs-harmonic-boot/eventUser/queryEventpageWeb', method: 'POST', column: [ + { + field: 'index', + title: '序号', + width: '80', + formatter: (row: any) => { + return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1 + } + }, { title: '事件描述', field: 'showName', minWidth: 150 }, { title: '发生位置', field: 'evtParamPosition', minWidth: 150 }, { @@ -160,6 +168,7 @@ const tableStore = new TableStore({ { title: '发生时刻', field: 'startTime', sortable: true, minWidth: 180 }, { title: '操作', + fixed: 'right', align: 'center', width: '180', render: 'buttons', @@ -184,8 +193,11 @@ const tableStore = new TableStore({ if (res != undefined) { boxoList.value = row boxoList.value.featureAmplitude = - row.evtParamVVaDepth != '-' ? row.evtParamVVaDepth - 0 : null + row.evtParamVVaDepth != '-' ? row.evtParamVVaDepth.split('%')[0] / 100 : null + boxoList.value.persistTime = + row.evtParamTm != '-' ? Math.floor(row.evtParamTm * 10000) / 100 : null // boxoList.value.systemType = 'WX' + boxoList.value.systemType = 'YPT' wp.value = res.data } loading.value = false diff --git a/src/views/govern/device/control/analysisList/index.vue b/src/views/govern/device/control/analysisList/index.vue index 0f9e697..2ad8955 100644 --- a/src/views/govern/device/control/analysisList/index.vue +++ b/src/views/govern/device/control/analysisList/index.vue @@ -82,7 +82,7 @@ const tableStore: any = new TableStore({ // }, }, { - title: '操作', + title: '操作', fixed: 'right', width: '100', render: 'buttons', buttons: [ diff --git a/src/views/govern/device/control/analysisList/popup.vue b/src/views/govern/device/control/analysisList/popup.vue index b153d41..021d0f8 100644 --- a/src/views/govern/device/control/analysisList/popup.vue +++ b/src/views/govern/device/control/analysisList/popup.vue @@ -1,123 +1,123 @@ - - - - + + + + diff --git a/src/views/govern/device/control/index.vue b/src/views/govern/device/control/index.vue index c3df524..c0a989c 100644 --- a/src/views/govern/device/control/index.vue +++ b/src/views/govern/device/control/index.vue @@ -50,10 +50,18 @@ --> - {{ devData.ptRatio || '/' }} + {{ + devData.ptRatio == null + ? '/' + : devData.ptRatio + (devData.pt2Ratio == null ? '' : ':' + devData.pt2Ratio) + }} - {{ devData.ctRatio || '/' }} + {{ + devData.ctRatio == null + ? '/' + : devData.ctRatio + (devData.ct2Ratio == null ? '' : ':' + devData.ct2Ratio) + }} - +