|
|
@ -145,9 +145,19 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
handleClickItem(item) { |
|
|
|
console.log("handleClickItem", item); |
|
|
|
if (item.categoryKey) { |
|
|
|
this.currentKey = item.categoryKey; |
|
|
|
this.currentItem = { ...item }; |
|
|
|
if (item.categoryKey != this.currentKey) { |
|
|
|
this.currentKey = item.categoryKey; |
|
|
|
this.currentItem = { ...item }; |
|
|
|
} else { |
|
|
|
this.currentKey = ""; |
|
|
|
this.currentItem = { |
|
|
|
categoryKey: "", |
|
|
|
coverageType: "", |
|
|
|
placeType: "", |
|
|
|
}; |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.currentUnfolded = |
|
|
|
this.currentUnfolded == item.placeType ? "" : item.placeType; |
|
|
|