update dialog: 多上传组件上传、下载和更新

This commit is contained in:
2022-08-16 15:49:51 +08:00
parent 3d851e4362
commit 8ad162aab6
2 changed files with 41 additions and 12 deletions

View File

@@ -266,16 +266,16 @@ export default {
},
// 新增 / 修改
addOrUpdateHandle(id) {
// this.addOrUpdateVisible = true
// this.$nextTick(() => {
// this.$refs.addOrUpdate.init(id)
// })
this.$router.push({
name: 'monitoring-equipmentAdd',
params: {
equipmentId: id
}
this.addOrUpdateVisible = true
this.$nextTick(() => {
this.$refs.addOrUpdate.init(id)
})
// this.$router.push({
// name: 'monitoring-equipmentAdd',
// params: {
// equipmentId: id
// }
// })
},
// 删除
deleteHandle(id) {