Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
李智书
xzf_uniapp-wechat-web
Commits
469813d9
Commit
469813d9
authored
May 12, 2022
by
aifen@azjy1.onexmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校园报告tab
parent
c46e9339
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
src/pages/SchoolReport/SchoolReport.vue
src/pages/SchoolReport/SchoolReport.vue
+7
-3
No files found.
src/pages/SchoolReport/SchoolReport.vue
View file @
469813d9
...
@@ -41,13 +41,13 @@
...
@@ -41,13 +41,13 @@
<view
class=
"school-report-context"
>
<view
class=
"school-report-context"
>
<view
class=
"school-report-context-tab"
>
<view
class=
"school-report-context-tab"
>
<view
class=
"school-report-context-tab-item"
>
<view
class=
"school-report-context-tab-item"
>
<view
class=
"school-report-context-tab-item-one
active
"
>
<view
class=
"school-report-context-tab-item-one
"
:class=
"tabIndex==1?'active':''"
@
tap=
"tabTap(1)
"
>
<text>
消费报告
</text>
<text>
消费报告
</text>
</view>
</view>
<view
class=
"school-report-context-tab-item-one"
>
<view
class=
"school-report-context-tab-item-one"
:class=
"tabIndex==2?'active':''"
@
tap=
"tabTap(2)"
>
<text>
门禁报告
</text>
<text>
门禁报告
</text>
</view>
</view>
<view
class=
"school-report-context-tab-item-one"
>
<view
class=
"school-report-context-tab-item-one"
:class=
"tabIndex==3?'active':''"
@
tap=
"tabTap(3)"
>
<text>
公话报告
</text>
<text>
公话报告
</text>
</view>
</view>
</view>
</view>
...
@@ -416,6 +416,7 @@
...
@@ -416,6 +416,7 @@
maxDate
:
new
Date
(),
maxDate
:
new
Date
(),
imgUrl
:
''
,
// 存储base64图片
imgUrl
:
''
,
// 存储base64图片
dialogShow
:
false
,
dialogShow
:
false
,
tabIndex
:
1
,
// 就餐情况
// 就餐情况
diningSituations
:
{
diningSituations
:
{
diningSituationsDate
:
''
,
diningSituationsDate
:
''
,
...
@@ -484,6 +485,9 @@
...
@@ -484,6 +485,9 @@
}
}
},
},
methods
:
{
methods
:
{
tabTap
:
function
(
num
){
this
.
tabIndex
=
num
;
},
toImage
:
function
()
{
toImage
:
function
()
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
html2cancas
(
document
.
getElementsByClassName
(
"
tainer
"
)[
0
],
{
html2cancas
(
document
.
getElementsByClassName
(
"
tainer
"
)[
0
],
{
...
...
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