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
c653188d
Commit
c653188d
authored
Sep 10, 2024
by
袁玲利
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消费报告
parent
33fefed3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
116 additions
and
106 deletions
+116
-106
src/pages/ConsumptionSystem/AbnormalConsumption/AbnormalConsumption.vue
...umptionSystem/AbnormalConsumption/AbnormalConsumption.vue
+1
-1
src/pages/SchoolReport/SchoolReport.vue
src/pages/SchoolReport/SchoolReport.vue
+115
-105
No files found.
src/pages/ConsumptionSystem/AbnormalConsumption/AbnormalConsumption.vue
View file @
c653188d
...
...
@@ -406,7 +406,7 @@ export default {
},
params
);
if
(
data
.
code
!=
2
00
)
{
if
(
data
.
code
!=
100
00
)
{
uni
.
showToast
({
icon
:
"
none
"
,
title
:
data
.
message
||
"
发生异常!
"
,
...
...
src/pages/SchoolReport/SchoolReport.vue
View file @
c653188d
...
...
@@ -3191,11 +3191,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
sortCalculateType
:
function
(
a
,
b
)
{
...
...
@@ -3253,6 +3253,16 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
if
(
data
.
code
==
200
)
{
this
.
campusConsumerDetailObj
=
{}
this
.
campusConsumerDetailObj
.
campusConsumerDetailList
=
[]
this
.
trendColorList
=
[]
this
.
consumerDetailCalculateObj
.
canteenData
=
0
this
.
consumerDetailCalculateObj
.
totalData
=
0
this
.
consumerDetailCalculateObj
.
cateringNumber
=
0
this
.
consumerDetailCalculateObj
.
notCateringNumber
=
0
if
(
!
data
.
obj
){
return
;
}
if
(
data
.
obj
&&
data
.
obj
.
campusConsumerDetailList
&&
...
...
@@ -3394,11 +3404,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
// 查询就餐情况
...
...
@@ -3453,11 +3463,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
// 三对象排序
...
...
@@ -3620,11 +3630,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
livingCostType
:
function
(
a
,
b
)
{
...
...
@@ -3817,11 +3827,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
// 日消费趋势
...
...
@@ -3921,11 +3931,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
// 饭友分析
...
...
@@ -3945,11 +3955,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
);
if
(
data
.
code
!=
200
)
{
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
data
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: data.message,
//
});
return
;
}
this
.
mealPalData
=
data
.
obj
||
[];
...
...
@@ -3962,11 +3972,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
// 异常就餐日期
...
...
@@ -4016,11 +4026,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
);
if
(
data
.
code
!=
200
)
{
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
data
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: data.message,
//
});
return
;
}
if
(
data
.
obj
)
{
...
...
@@ -4050,11 +4060,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
// 获取公话报告
...
...
@@ -4074,11 +4084,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
);
if
(
data
.
code
!=
0
)
{
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
data
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: data.message,
//
});
return
;
}
this
.
pubTalkReport
=
data
.
data
||
{};
...
...
@@ -4095,11 +4105,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
// 出入校报告
...
...
@@ -4120,22 +4130,22 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
);
if
(
data
.
code
!=
200
)
{
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
data
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: data.message,
//
});
return
;
}
this
.
attendanceReport
=
data
.
data
||
{};
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
// 出入情况明细
...
...
@@ -4154,11 +4164,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
);
if
(
data
.
code
!=
200
)
{
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
data
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: data.message,
//
});
return
;
}
var
tempList
=
data
.
data
;
...
...
@@ -4183,11 +4193,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
// 是否开通会员功能
...
...
@@ -4277,11 +4287,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
// 查询是否开通服务项(入口展示服务项)
...
...
@@ -4297,11 +4307,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
);
if
(
data
.
code
!=
200
)
{
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
data
.
msg
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: data.msg,
//
});
return
;
}
const
tempList
=
data
.
obj
||
[];
...
...
@@ -4313,11 +4323,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
// 查询会员消费金额
...
...
@@ -4345,11 +4355,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
// 查询消费会员权益项
...
...
@@ -4421,11 +4431,11 @@ color: #FF8646;padding:13rpx 12rpx 30rpx 17rpx;`,
}
catch
(
e
)
{
//TODO handle the exception
console
.
log
(
e
);
uni
.
showToast
({
icon
:
"
none
"
,
mask
:
true
,
title
:
e
.
message
,
});
//
uni.showToast({
//
icon: "none",
//
mask: true,
//
title: e.message,
//
});
}
},
equityPay
:
function
()
{
...
...
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