NEZ-598 alert message 页面修改

This commit is contained in:
songjingcheng
2021-05-08 09:40:53 +08:00
parent d8f727e542
commit a8ced7e52b
86 changed files with 2099 additions and 1450 deletions

View File

@@ -127,7 +127,7 @@ export default {
linkId: '',
reason: '',
time: [],
matcher: [
matchers: [
{ name: '', value: '', regex: 0 }
],
name: ''
@@ -172,7 +172,18 @@ export default {
this.blackObject.endAt = bus.timeFormate(bus.getOffsetTimezoneData(1), 'yyyy-MM-dd hh:mm:ss')
this.object = JSON.parse(JSON.stringify(this.blackObject))
this.rightBox.show = true
}
},
edit (u) {
this.$get(`${this.url}/${u.id}`).then(response => {
if (response.code === 200) {
this.object = {
...response.data,
matchers: JSON.parse(response.data.matchers)
}
this.rightBox.show = true
}
})
},
}
}
</script>