设备icd
This commit is contained in:
@@ -56,7 +56,7 @@ export namespace Device {
|
||||
createTime?: string| null; //创建时间
|
||||
updateBy?: string| null; //更新用户
|
||||
updateTime?: string| null; //更新时间
|
||||
icd: string;
|
||||
icdId: string;
|
||||
power: string;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user