温度监测修改上报状态
This commit is contained in:
parent
b63375f441
commit
87ad8b6e78
|
@ -187,18 +187,11 @@ function tableRowClassName(record){
|
||||||
}
|
}
|
||||||
|
|
||||||
function editReportType(record){
|
function editReportType(record){
|
||||||
console.log(record.reportType);
|
|
||||||
const model = reactive<Record<string, any>>({
|
const model = reactive<Record<string, any>>({
|
||||||
id: record.id,
|
id: record.id,
|
||||||
reportType: record.reportType
|
reportType: record.reportType
|
||||||
})
|
})
|
||||||
updateType(model).then((res) => {
|
updateType(model).then((res) => {})
|
||||||
if (res.success) {
|
|
||||||
createMessage.success(res.message);
|
|
||||||
} else {
|
|
||||||
createMessage.warning(res.message);
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue