联调 在线监测详情

This commit is contained in:
GGJ
2024-07-09 13:20:11 +08:00
parent d3b7219854
commit 609489a4c5
5 changed files with 41 additions and 34 deletions

View File

@@ -939,11 +939,14 @@ watch(
}
)
const resendId = ref('')
const status = ref('')
const open = async (row: any) => {
title.value = row.title
dialogFormVisible.value = true
if (row.row) {
resendId.value = row.row.id
status.value = row.row.status
if (props.update) {
await getUserReportUpdateById(row.row.id).then(res => {
handleResponse(res.data.userReportMessageJson)
@@ -1361,8 +1364,10 @@ const confirmForm = (flag: boolean) => {
})
} else {
confirmFormData.id = resendId.value
if (props.normalizedControl) {
if (title.value == '编辑') {
if (status.value != '') confirmFormData.status = status.value
addEditor(confirmFormData).then(res => {
ElMessage({
message: '发起成功',