修改 承载能力评估 添加谐波次数

This commit is contained in:
GGJ
2024-07-15 14:49:52 +08:00
parent 1326b934db
commit afc0e875d8
8 changed files with 69 additions and 34 deletions

View File

@@ -1,8 +1,8 @@
<template>
<el-dialog draggable v-model="dialogVisible" :title="title" width="800px" :before-close="handleClose">
<el-dialog draggable v-model="dialogVisible" v-loading="loading" :title="title" width="80%" :before-close="handleClose">
<div style="height: 45vh">
<vxe-table height="auto" v-bind="defaultAttribute" :data="List">
<vxe-column field="time" title="日期" width="250px"></vxe-column>
<vxe-table show-overflow v-bind="defaultAttribute" :data="List">
<vxe-column field="time" title="日期" width="230px"></vxe-column>
<vxe-column field="overLimitInfo" title="越限详情"></vxe-column>
</vxe-table>
</div>
@@ -19,10 +19,12 @@ const dictData = useDictData()
const dialogVisible = ref(false)
const title: any = ref('')
const List: any = ref([])
const loading = ref(false)
const open = (row: any) => {
dialogVisible.value = true
title.value = row.text
loading.value = true
List.value = []
overLimitDetail({
lineId: row.row.lineId,
targetId: row.row.targetType,
@@ -30,6 +32,7 @@ const open = (row: any) => {
searchEndTime: row.list.searchEndTime
}).then(res => {
List.value = res.data
loading.value = false
})
}
@@ -39,4 +42,7 @@ const handleClose = () => {
defineExpose({ open })
</script>
<style lang="scss" scoped></style>
<style lang="scss">
/* 提升 VxeTable tooltip 的层级 */
</style>

View File

@@ -316,7 +316,9 @@ const tableStore = new TableStore({
})
tableStore.table.params.alertThreshold = 5
tableStore.table.params.alarmThreshold = 5
tableStore.table.params.targetList = []
tableStore.table.params.targetList = exceeded.filter(item => item.code == 'Total_Indicator')[0].id
? [exceeded.filter(item => item.code == 'Total_Indicator')[0].id]
: []
tableStore.table.params.lineType = ''
tableStore.table.params.dataType = '1'
tableStore.table.params.deptId = dictData.state.area[0].id
@@ -325,6 +327,7 @@ provide('tableStore', tableStore)
onMounted(() => {
tableStore.index()
})
const changeAlert = e => {
if (e == null) {
tableStore.table.params.alertThreshold = 5

View File

@@ -182,7 +182,7 @@ const tableStore = new TableStore({
// visible:!jb_pl.value && !jb_dky.value?true:false,
{
title: '操作',
minWidth: 180,
minWidth: 300,
fixed: 'right',
render: 'buttons',

View File

@@ -129,22 +129,22 @@ const tableStore = new TableStore({
return !row.processInstanceId
}
},
{
name: 'edit',
title: '编辑',
type: 'primary',
icon: 'el-icon-Open',
render: 'basicButton',
showDisabled: row => {
return row.createBy != adminInfo.$state.id || !(row.status == 0)
},
disabled: row => {
return !(row.status == 0)
},
click: row => {
debugForms.value.open('编辑', row)
}
},
// {
// name: 'edit',
// title: '编辑',
// type: 'primary',
// icon: 'el-icon-Open',
// render: 'basicButton',
// showDisabled: row => {
// return row.createBy != adminInfo.$state.id || !(row.status == 0)
// },
// disabled: row => {
// return !(row.status == 0)
// },
// click: row => {
// debugForms.value.open('编辑', row)
// }
// },
{
name: 'productSetting',
title: '申请联调',

View File

@@ -299,7 +299,7 @@
/>
</el-select>
</el-form-item>
<el-form-item for="-" label="监测点编码:" prop="lineId">
<el-form-item for="-" label="监测点编码:" >
<el-input v-model="form.lineId" autocomplete="off" placeholder="请输入监测点编码" />
</el-form-item>
<el-form-item for="-" label="监测点性质:" prop="pointNature">