Remove unnecessary dialogDetail assignments
This commit is contained in:
parent
f8aa384406
commit
6b1b0981e2
@ -582,7 +582,6 @@ const showDetail = () => {
|
||||
dataSub.value = []
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
dialogDetail.value = true
|
||||
getDetail()
|
||||
}
|
||||
}
|
||||
|
@ -1178,7 +1178,6 @@ const showDetail = () => {
|
||||
dataSub.value = []
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
dialogDetail.value = true
|
||||
getDetail()
|
||||
}
|
||||
}
|
||||
|
@ -911,7 +911,6 @@ const showDetail = () => {
|
||||
dataSub.value = []
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
dialogDetail.value = true
|
||||
getDetail()
|
||||
}
|
||||
}
|
||||
|
@ -1341,8 +1341,7 @@ const showDetail = () => {
|
||||
if (agreeToShowDialog.value) {
|
||||
dataSub.value = []
|
||||
dataSubSelected.value = null
|
||||
// dialogDetail.value = true
|
||||
getDetail()
|
||||
// getDetail()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -578,8 +578,7 @@ const showDetail = () => {
|
||||
dataSub.value = []
|
||||
dataSubSelected.value = null
|
||||
if (date.value != '') {
|
||||
// dialogDetail.value = true
|
||||
getDetail()
|
||||
// getDetail()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -560,8 +560,7 @@ const showDetail = () => {
|
||||
clearSelection()
|
||||
dataSubSelected.value = null
|
||||
if (monthSelected.value != null) {
|
||||
// dialogDetail.value = true
|
||||
getDetail()
|
||||
// getDetail()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -973,8 +973,7 @@ const showDetail = () => {
|
||||
dataSub.value = []
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
// dialogDetail.value = true
|
||||
getDetail()
|
||||
// getDetail()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1237,8 +1237,7 @@ const showDetail = () => {
|
||||
dataSub.value = []
|
||||
dataSubSelected.value = null
|
||||
if (monthSelected.value != null) {
|
||||
// dialogDetail.value = true
|
||||
getDetail()
|
||||
// getDetail()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -995,8 +995,7 @@ const showDetail = () => {
|
||||
dataSub.value = []
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
// dialogDetail.value = true
|
||||
getDetail()
|
||||
// getDetail()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1006,8 +1006,7 @@ const showDetail = () => {
|
||||
dataSub.value = []
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
// dialogDetail.value = true
|
||||
getDetail()
|
||||
// getDetail()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -757,8 +757,7 @@ const showDetail = () => {
|
||||
dataSub.value = []
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
// dialogDetail.value = true
|
||||
getDetail()
|
||||
// getDetail()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -758,8 +758,7 @@ const showDetail = () => {
|
||||
dataSub.value = []
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
// dialogDetail.value = true
|
||||
getDetail()
|
||||
// getDetail()
|
||||
}
|
||||
}
|
||||
const closeDialog = () => {
|
||||
|
@ -752,8 +752,7 @@ const showDetail = () => {
|
||||
dataSub.value = []
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
// dialogDetail.value = true
|
||||
getDetail()
|
||||
// getDetail()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -994,7 +994,6 @@ const showDetail = () => {
|
||||
if (agreeToShowDialog.value) {
|
||||
dataSub.value = []
|
||||
dataSubSelected.value = null
|
||||
dialogDetail.value = true
|
||||
getDetail()
|
||||
}
|
||||
}
|
||||
|
@ -612,7 +612,6 @@ const showDetail = () => {
|
||||
clearSelection()
|
||||
dataSubSelected.value = null
|
||||
if (date.value != '') {
|
||||
dialogDetail.value = true
|
||||
getDetail()
|
||||
}
|
||||
}
|
||||
|
@ -940,7 +940,6 @@ const showDetail = () => {
|
||||
clearSelection()
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
dialogDetail.value = true
|
||||
getDetail()
|
||||
}
|
||||
}
|
||||
|
@ -1077,7 +1077,6 @@ const showDetail = () => {
|
||||
clearSelection()
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
dialogDetail.value = true
|
||||
getDetail()
|
||||
}
|
||||
}
|
||||
|
@ -942,7 +942,6 @@ const showDetail = () => {
|
||||
clearSelection()
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
dialogDetail.value = true
|
||||
getDetail()
|
||||
}
|
||||
}
|
||||
|
@ -940,7 +940,6 @@ const showDetail = () => {
|
||||
clearSelection()
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
dialogDetail.value = true
|
||||
getDetail()
|
||||
}
|
||||
}
|
||||
|
@ -1072,7 +1072,6 @@ const showDetail = () => {
|
||||
clearSelection()
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
dialogDetail.value = true
|
||||
getDetail()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user