Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘文虎
account-book
Commits
1b63ddbf
Commit
1b63ddbf
authored
Jul 27, 2022
by
刘文虎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
36b45e58
Pipeline
#2944
canceled with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
mid-popup.vue
components/mid-popup/mid-popup.vue
+2
-2
bill.vue
pages/index/bill/bill.vue
+2
-2
common.js
utils/common.js
+1
-1
No files found.
components/mid-popup/mid-popup.vue
View file @
1b63ddbf
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<
script
>
<
script
>
import
BillingDetails
from
'@/components/billing-daily/billing-daily.vue'
;
import
BillingDetails
from
'@/components/billing-daily/billing-daily.vue'
;
import
{
minPopupOptions
}
from
'@/utils/options/index/index.js'
;
import
{
minPopupOptions
}
from
'@/utils/options/index/index.js'
;
import
{
checkLogin
}
from
'@/utils/common.js'
;
import
{
checkLogin
AndVip
}
from
'@/utils/common.js'
;
export
default
{
export
default
{
name
:
'mid-popup'
,
name
:
'mid-popup'
,
components
:
{
components
:
{
...
@@ -41,7 +41,7 @@ export default {
...
@@ -41,7 +41,7 @@ export default {
this
.
show
=
false
;
this
.
show
=
false
;
},
},
clickItem
(
item
){
clickItem
(
item
){
checkLogin
(()
=>
{
checkLogin
AndVip
(()
=>
{
this
.
openBill
(
item
)
this
.
openBill
(
item
)
})
})
},
},
...
...
pages/index/bill/bill.vue
View file @
1b63ddbf
...
@@ -31,7 +31,7 @@ import NavbarNormal from '@/components/navbar-normal';
...
@@ -31,7 +31,7 @@ import NavbarNormal from '@/components/navbar-normal';
import
ScrollBox
from
'./components/scroll-box.vue'
;
import
ScrollBox
from
'./components/scroll-box.vue'
;
import
{
tabbar
}
from
'@/utils/settings.js'
;
import
{
tabbar
}
from
'@/utils/settings.js'
;
import
{
baseUrl
}
from
'@/utils/config.js'
;
import
{
baseUrl
}
from
'@/utils/config.js'
;
import
{
keepTwoDecimalFull
,
checkLogin
}
from
'@/utils/common.js'
;
import
{
keepTwoDecimalFull
,
checkLogin
AndVip
}
from
'@/utils/common.js'
;
import
{
downLoad
}
from
'@/utils/download.js'
;
import
{
downLoad
}
from
'@/utils/download.js'
;
import
{
getList
,
getStatistics
}
from
'@/api/bill/index.js'
;
import
{
getList
,
getStatistics
}
from
'@/api/bill/index.js'
;
import
{
exportBill
}
from
'@/api/bill/index.js'
;
import
{
exportBill
}
from
'@/api/bill/index.js'
;
...
@@ -131,7 +131,7 @@ export default {
...
@@ -131,7 +131,7 @@ export default {
};
};
},
},
handlClickOut
()
{
handlClickOut
()
{
checkLogin
(()
=>
{
checkLogin
AndVip
(()
=>
{
this
.
visible
=
true
this
.
visible
=
true
})
})
},
},
...
...
utils/common.js
View file @
1b63ddbf
...
@@ -83,7 +83,7 @@ export function getAutoLogin() {
...
@@ -83,7 +83,7 @@ export function getAutoLogin() {
}
}
export
function
checkLogin
(
callback
){
export
function
checkLogin
AndVip
(
callback
){
if
(
checkToken
()){
if
(
checkToken
()){
if
(
checkVip
()){
if
(
checkVip
()){
if
(
callback
){
if
(
callback
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment