NEZ-2842 feat:新增alert message页面 高级搜索 回显

This commit is contained in:
zhangyu
2023-06-07 14:45:51 +08:00
parent 930a4d1755
commit cf683627e7
5 changed files with 134 additions and 14 deletions

View File

@@ -555,12 +555,15 @@ export default {
defaultPick: {
immediate: true,
handler (n, o) {
if (n && Number.isInteger(n)) {
if (Number.isInteger(n)) {
const showTime = this.timeData.find((item) => item.id == n)
if (showTime) {
this.showTime = Object.assign({}, showTime)
this.searchTime = this.$parent.searchTime
this.nowTimeType = this.showTime
if (showTime.id == 0) {
this.isCustom = true
}
}
if (this.showEmpty && this.defaultPick === 12) {
this.searchTime = []