设备icd

This commit is contained in:
sjl
2025-01-13 18:32:42 +08:00
parent 505cd93446
commit e54cbfbc0a
3 changed files with 5 additions and 5 deletions

View File

@@ -19,6 +19,6 @@ VITE_API_URL=/api
# 开发环境跨域代理,支持配置多个
VITE_PROXY=[["/api","http://192.168.1.124:18092/"]]
VITE_PROXY=[["/api","http://192.168.1.125:18092/"]]
#VITE_PROXY=[["/api","http://192.168.1.125:18092/"]]
# VITE_PROXY=[["/api","http://192.168.1.138:8080/"]]张文

View File

@@ -56,7 +56,7 @@ export namespace Device {
createTime?: string| null; //创建时间
updateBy?: string| null; //更新用户
updateTime?: string| null; //更新时间
icd: string;
icdId: string;
power: string;
}

View File

@@ -231,7 +231,7 @@ const fetchDevTypeOptions = async () => {
reCheckNum:0,
state: 1,
factorFlag:0,
icd:'',
icdId:'',
power:''
})
return { dialogVisible, titleType, formContent }
@@ -260,7 +260,7 @@ const fetchDevTypeOptions = async () => {
reCheckNum:0,
state: 1,
factorFlag:0,
icd:'',
icdId:'',
power:''
}
}
@@ -438,7 +438,7 @@ const handleDevTypeChange = (value: string) => {
formContent.value.devChns = dev.devChns; // 默认值为1
formContent.value.devCurr = dev.devCurr; // 默认值为1
formContent.value.devVolt = dev.devVolt; // 默认值为1
formContent.value.icd = dev.icd
formContent.value.icdId = dev.icd
formContent.value.power = dev.power
} else {
formContent.value.devChns = 1; // 默认值为1