[fix 84051] 去掉确认弹框

This commit is contained in:
danshihao
2024-04-25 17:29:41 +08:00
parent 65cc833901
commit 0b69e36edc
@@ -601,30 +601,30 @@ export default {
this.timer = null this.timer = null
}, },
handleConfirm (record) { handleConfirm (record) {
this.$confirm({ // this.$confirm({
title: '确认报警', // title: '确认报警',
content: '确定报警该数据吗?', // content: '确定报警该数据吗?',
onOk: () => { // onOk: () => {
record.disabledConfirm = true // record.disabledConfirm = true
this.$forceUpdate() // this.$forceUpdate()
} // }
}) // })
}, },
handleShow () { handleShow () {
}, },
// 全部报警 // 全部报警
handleAllAlarms () { handleAllAlarms () {
this.$confirm({ // this.$confirm({
title: '确认报警', // title: '确认报警',
content: '确定报警全部数据吗?', // content: '确定报警全部数据吗?',
onOk: () => { // onOk: () => {
this.dataSource.forEach(item => { // this.dataSource.forEach(item => {
item.disabledConfirm = true // item.disabledConfirm = true
}) // })
this.$forceUpdate() // this.$forceUpdate()
} // }
}) // })
}, },
// 加载实时数据(油井实时参数、实时示功图、载荷分布图)(每10s请求一次) // 加载实时数据(油井实时参数、实时示功图、载荷分布图)(每10s请求一次)
loadOilWellRealTimeData () { loadOilWellRealTimeData () {