温度监测修改上报状态

This commit is contained in:
曹磊 2024-12-11 11:29:16 +08:00
parent b63375f441
commit 87ad8b6e78
1 changed files with 1 additions and 8 deletions

View File

@ -187,18 +187,11 @@ function tableRowClassName(record){
}
function editReportType(record){
console.log(record.reportType);
const model = reactive<Record<string, any>>({
id: record.id,
reportType: record.reportType
})
updateType(model).then((res) => {
if (res.success) {
createMessage.success(res.message);
} else {
createMessage.warning(res.message);
}
})
updateType(model).then((res) => {})
}
/**