联调 在线监测 页面 修改云效问题

This commit is contained in:
GGJ
2024-06-25 15:13:47 +08:00
parent 8551527aa6
commit 7b7b8b0b89
19 changed files with 411 additions and 90 deletions

View File

@@ -138,6 +138,9 @@ const tableStore = new TableStore({
showDisabled: row => {
return row.createBy != adminInfo.$state.id || !(row.status == 0)
},
disabled: row => {
return !(row.status == 0)
},
click: row => {
debugForms.value.open('编辑', row)
}

View File

@@ -565,7 +565,7 @@ const resetForm = () => {
shortCapacity: '10', // 短路容量
dealCapacity: '10', //协议容量
devCapacity: '10', //终端容量
standardCapacity: '10', //基准容量
standardCapacity: 10, //基准容量
isGridConnectionPoint: 0, //是否并网点
isStatistical: 0, // 是否参与统计
lineId: '', // 监测点编码
@@ -634,6 +634,30 @@ const changevoltageDeviationLimit = async () => {
form.value.pt1 = val * 10
form.value.pt2 = 1
}
if (Number(val) < 0.6) {
form.value.standardCapacity = 10
} else if (Number(val) < 20) {
form.value.standardCapacity = 100
} else if (Number(val) < 35) {
form.value.standardCapacity = 200
} else if (Number(val) < 66) {
form.value.standardCapacity = 250
} else if (Number(val) < 110) {
form.value.standardCapacity = 500
} else if (Number(val) < 220) {
form.value.standardCapacity = 750
} else if (Number(val) < 330) {
form.value.standardCapacity = 2000
} else if (Number(val) < 500) {
form.value.standardCapacity = 3000
} else if (Number(val) < 750) {
form.value.standardCapacity = 4500
} else if (Number(val) < 1000) {
form.value.standardCapacity = 7000
} else {
form.value.standardCapacity = 9000
}
}
findAllMonitoringTerminalList()
//获取树形图数据
@@ -710,7 +734,7 @@ const changeUserName = () => {
shortCapacity: 0, // 短路容量
dealCapacity: obj.userReportProjectPO?.agreementCapacity, //协议容量
devCapacity: 0, //终端容量
standardCapacity: 0 //基准容量
standardCapacity: 10 //基准容量
}
getDictTree(obj.userReportProjectPO?.nonlinearDeviceType)
})
@@ -723,7 +747,7 @@ const changeUserName = () => {
shortCapacity: 0, // 短路容量
dealCapacity: 0, //协议容量
devCapacity: 0, //终端容量
standardCapacity: 0 //基准容量
standardCapacity: 10 //基准容量
}
getDictTree()
})

View File

@@ -132,6 +132,10 @@ const tableStore = new TableStore({
showDisabled: row => {
return row.createBy != adminInfo.$state.id || !(row.status == 0)
},
disabled: row => {
return !(row.status == 0)
},
click: row => {
addForms.value.open({
title: '编辑',

View File

@@ -175,6 +175,9 @@ const tableStore = new TableStore({
showDisabled: row => {
return row.createBy != adminInfo.$state.id || !(row.status == 0)
},
disabled: row => {
return !(row.status == 0)
},
click: row => {
addForms.value.open({
title: '编辑',