Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
A
az-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
李智书
az-uniapp-wechat-web
Commits
e21474a7
Commit
e21474a7
authored
May 12, 2021
by
李智书
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.班周消费报告页面修改
parent
24d28a68
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
7 deletions
+26
-7
faceico.ico
faceico.ico
+0
-0
pages/ClsWeekReport/ClsWeekReport.vue
pages/ClsWeekReport/ClsWeekReport.vue
+25
-7
template.h5.html
template.h5.html
+1
-0
No files found.
faceico.ico
0 → 100644
View file @
e21474a7
9.48 KB
pages/ClsWeekReport/ClsWeekReport.vue
View file @
e21474a7
...
@@ -154,12 +154,28 @@
...
@@ -154,12 +154,28 @@
content
:
"
统计周期为上周一至上周五
"
,
content
:
"
统计周期为上周一至上周五
"
,
})
})
},
},
bindPickerChange
:
function
(
e
)
{
async
bindPickerChange
(
e
)
{
console
.
log
(
'
picker发送选择改变,携带值为
'
,
e
.
target
.
value
)
try
{
this
.
index
=
e
.
target
.
value
uni
.
showLoading
({
title
:
"
加载中.....
"
// 切换班级获取报告
})
this
.
QueryClsReport
(
this
.
array
[
e
.
target
.
value
].
DepId
)
console
.
log
(
'
picker发送选择改变,携带值为
'
,
e
.
target
.
value
)
this
.
index
=
e
.
target
.
value
// 切换班级获取报告
await
this
.
QueryClsReport
(
this
.
array
[
e
.
target
.
value
].
DepId
)
uni
.
setNavigationBarTitle
({
title
:
(
this
.
array
[
e
.
target
.
value
].
Name
||
"
未知名班级
"
)
+
"
周消费报告
"
})
uni
.
hideLoading
()
}
catch
(
e
)
{
//TODO handle the exception
uni
.
hideLoading
()
uni
.
showModal
({
title
:
"
系统提示
"
,
showCancel
:
false
,
content
:
e
.
message
,
})
}
},
},
// 切换班级选择汇总
// 切换班级选择汇总
...
@@ -595,7 +611,6 @@
...
@@ -595,7 +611,6 @@
uni
.
showLoading
({
uni
.
showLoading
({
title
:
"
加载中.....
"
title
:
"
加载中.....
"
})
})
try
{
try
{
await
this
.
tokenqrcode2Token
();
await
this
.
tokenqrcode2Token
();
let
AdminCls
=
await
this
.
QueryAdminCls
();
let
AdminCls
=
await
this
.
QueryAdminCls
();
...
@@ -613,6 +628,9 @@
...
@@ -613,6 +628,9 @@
// }]
// }]
}
}
await
this
.
QueryClsReport
(
AdminCls
.
results
[
0
].
DepId
);
await
this
.
QueryClsReport
(
AdminCls
.
results
[
0
].
DepId
);
uni
.
setNavigationBarTitle
({
title
:
(
this
.
array
[
0
].
Name
||
"
未知名班级
"
)
+
"
周消费报告
"
})
await
this
.
CaptureEvent
()
await
this
.
CaptureEvent
()
uni
.
hideLoading
()
uni
.
hideLoading
()
}
catch
(
e
)
{
}
catch
(
e
)
{
...
...
template.h5.html
View file @
e21474a7
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
>
<link
rel=
"shortcut icon"
type=
"image/x-icon"
href=
"./faceico.ico"
/>
<title>
<title>
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
</title>
</title>
...
...
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