修改南工程反馈问题整改
This commit is contained in:
@@ -891,6 +891,7 @@ const affiliatiedFrontArr: any = ref([])
|
||||
const comTypeStatusArr = dictData.getBasicData('Front_Type')
|
||||
const factoryArr = dictData.getBasicData('Dev_Manufacturers')
|
||||
const voltageLevelArr = dictData.getBasicData('Dev_Voltage_Stand')
|
||||
console.log("🚀 ~ voltageLevelArr:", voltageLevelArr)
|
||||
const typeArr = dictData.getBasicData('Dev_Type')
|
||||
const industryTypeArr = dictData.getBasicData('Business_Type')
|
||||
const loadTypeArr = dictData.getBasicData('Interference_Source')
|
||||
@@ -1979,6 +1980,7 @@ const selectChanged = (value: any) => {
|
||||
AddProjectBO.value.deviceParam[deviceIndex.value].subVoltageParam[
|
||||
busBarIndex.value
|
||||
].lineParam[0].shortCapacity = 10
|
||||
|
||||
//750kv
|
||||
} else if (value === '4cf2d844c47a15a1c16a65b4bbfd1b0e') {
|
||||
AddProjectBO.value.deviceParam[deviceIndex.value].subVoltageParam[
|
||||
@@ -2113,7 +2115,45 @@ const selectChanged = (value: any) => {
|
||||
busBarIndex.value
|
||||
].lineParam[0].shortCapacity = 10
|
||||
}
|
||||
|
||||
|
||||
setvoltageDev(voltageLevelArr.filter(item =>item.id == value)[0].value)
|
||||
}
|
||||
const setvoltageDev=(value: any)=> {
|
||||
let voltageDev=7
|
||||
let uvoltageDev= -7
|
||||
|
||||
if (value > 110) {
|
||||
voltageDev=10
|
||||
uvoltageDev=-10
|
||||
}else if(value > 66){
|
||||
voltageDev=7
|
||||
uvoltageDev=-3
|
||||
}else if(value >= 35){
|
||||
voltageDev = 10
|
||||
uvoltageDev = -10
|
||||
}else if(value >= 2){
|
||||
voltageDev = 7.0;
|
||||
uvoltageDev = -7.0;
|
||||
}else if(value >0.22){
|
||||
voltageDev = 7.0;
|
||||
uvoltageDev = -7.0;
|
||||
}else{
|
||||
voltageDev = 7.0;
|
||||
uvoltageDev = -10.0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
AddProjectBO.value.deviceParam[deviceIndex.value].subVoltageParam[
|
||||
busBarIndex.value
|
||||
].lineParam[0].voltageDev =voltageDev
|
||||
AddProjectBO.value.deviceParam[deviceIndex.value].subVoltageParam[
|
||||
busBarIndex.value
|
||||
].lineParam[0].uvoltageDev = uvoltageDev
|
||||
}
|
||||
const area = () => {
|
||||
areaTree({ id: '', type: 0 }).then((res: any) => {
|
||||
treeOptions.value = res.data
|
||||
|
||||
Reference in New Issue
Block a user