温度监测修改上报状态
This commit is contained in:
parent
b63375f441
commit
87ad8b6e78
|
@ -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) => {})
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue