Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
hrs_app_h5
/
bill
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
731b6969
authored
Oct 16, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'dev'
parents
db125b5f
8fbbbdfc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
150 deletions
public/index.html
src/views/Bill/index.vue
public/index.html
View file @
731b6969
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no,viewport-fit=cover"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<title>
业务账单
</title>
<style>
/* Absolute Center Spinner */
.loading
{
position
:
fixed
;
z-index
:
999
;
height
:
2em
;
width
:
2em
;
overflow
:
visible
;
margin
:
auto
;
top
:
0
;
left
:
0
;
bottom
:
0
;
right
:
0
;
}
/* Transparent Overlay */
.loading
:before
{
content
:
''
;
display
:
block
;
position
:
fixed
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
0.3
);
}
/* :not(:required) hides these rules from IE9 and below */
.loading
:not
(
:required
)
{
/* hide "loading..." text */
font
:
0
/
0
a
;
color
:
transparent
;
text-shadow
:
none
;
background-color
:
transparent
;
border
:
0
;
}
.loading
:not
(
:required
)
:after
{
content
:
''
;
display
:
block
;
font-size
:
10px
;
width
:
1em
;
height
:
1em
;
margin-top
:
-0.5em
;
-webkit-animation
:
spinner
1500ms
infinite
linear
;
-moz-animation
:
spinner
1500ms
infinite
linear
;
-ms-animation
:
spinner
1500ms
infinite
linear
;
-o-animation
:
spinner
1500ms
infinite
linear
;
animation
:
spinner
1500ms
infinite
linear
;
border-radius
:
0.5em
;
-webkit-box-shadow
:
rgba
(
0
,
0
,
0
,
0.75
)
1.5em
0
0
0
,
rgba
(
0
,
0
,
0
,
0.75
)
1.1em
1.1em
0
0
,
rgba
(
0
,
0
,
0
,
0.75
)
0
1.5em
0
0
,
rgba
(
0
,
0
,
0
,
0.75
)
-1.1em
1.1em
0
0
,
rgba
(
0
,
0
,
0
,
0.5
)
-1.5em
0
0
0
,
rgba
(
0
,
0
,
0
,
0.5
)
-1.1em
-1.1em
0
0
,
rgba
(
0
,
0
,
0
,
0.75
)
0
-1.5em
0
0
,
rgba
(
0
,
0
,
0
,
0.75
)
1.1em
-1.1em
0
0
;
box-shadow
:
rgba
(
0
,
0
,
0
,
0.75
)
1.5em
0
0
0
,
rgba
(
0
,
0
,
0
,
0.75
)
1.1em
1.1em
0
0
,
rgba
(
0
,
0
,
0
,
0.75
)
0
1.5em
0
0
,
rgba
(
0
,
0
,
0
,
0.75
)
-1.1em
1.1em
0
0
,
rgba
(
0
,
0
,
0
,
0.75
)
-1.5em
0
0
0
,
rgba
(
0
,
0
,
0
,
0.75
)
-1.1em
-1.1em
0
0
,
rgba
(
0
,
0
,
0
,
0.75
)
0
-1.5em
0
0
,
rgba
(
0
,
0
,
0
,
0.75
)
1.1em
-1.1em
0
0
;
}
/* Animation */
@-webkit-keyframes
spinner
{
0
%
{
-webkit-transform
:
rotate
(
0deg
);
-moz-transform
:
rotate
(
0deg
);
-ms-transform
:
rotate
(
0deg
);
-o-transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
);
}
100
%
{
-webkit-transform
:
rotate
(
360deg
);
-moz-transform
:
rotate
(
360deg
);
-ms-transform
:
rotate
(
360deg
);
-o-transform
:
rotate
(
360deg
);
transform
:
rotate
(
360deg
);
}
}
@-moz-keyframes
spinner
{
0
%
{
-webkit-transform
:
rotate
(
0deg
);
-moz-transform
:
rotate
(
0deg
);
-ms-transform
:
rotate
(
0deg
);
-o-transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
);
}
100
%
{
-webkit-transform
:
rotate
(
360deg
);
-moz-transform
:
rotate
(
360deg
);
-ms-transform
:
rotate
(
360deg
);
-o-transform
:
rotate
(
360deg
);
transform
:
rotate
(
360deg
);
}
}
@-o-keyframes
spinner
{
0
%
{
-webkit-transform
:
rotate
(
0deg
);
-moz-transform
:
rotate
(
0deg
);
-ms-transform
:
rotate
(
0deg
);
-o-transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
);
}
100
%
{
-webkit-transform
:
rotate
(
360deg
);
-moz-transform
:
rotate
(
360deg
);
-ms-transform
:
rotate
(
360deg
);
-o-transform
:
rotate
(
360deg
);
transform
:
rotate
(
360deg
);
}
}
@keyframes
spinner
{
0
%
{
-webkit-transform
:
rotate
(
0deg
);
-moz-transform
:
rotate
(
0deg
);
-ms-transform
:
rotate
(
0deg
);
-o-transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
);
}
100
%
{
-webkit-transform
:
rotate
(
360deg
);
-moz-transform
:
rotate
(
360deg
);
-ms-transform
:
rotate
(
360deg
);
-o-transform
:
rotate
(
360deg
);
transform
:
rotate
(
360deg
);
}
}
</style>
</head>
<body>
<noscript>
<strong>
We're sorry but
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
doesn't work properly without JavaScript enabled.
Please enable it to continue.
</strong>
</noscript>
<div
id=
"app"
>
<div
class=
"loading"
>
Loading
…
</div>
</div>
<!-- built files will be auto injected -->
</body>
</html>
\ No newline at end of file
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<title>
业务账单
</title>
</head>
<body>
<noscript>
<strong>
We're sorry but
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong>
</noscript>
<div
id=
"app"
></div>
<!-- built files will be auto injected -->
</body>
</html>
src/views/Bill/index.vue
View file @
731b6969
...
...
@@ -477,6 +477,7 @@ export default {
const
localPerIndex
=
this
.
getCurPerIndex
;
if
(
localPerIndex
&&
localPerIndex
!=
"undefined"
)
{
localPerIndex
=
localPerIndex
>
this
.
period
.
length
-
1
?
this
.
period
.
length
-
1
:
localPerIndex
;
this
.
currentPerIndex
=
localPerIndex
;
this
.
currentPerId
=
this
.
period
[
localPerIndex
].
id
;
this
.
currentPerName
=
this
.
period
[
localPerIndex
].
name
;
...
...
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