diff --git a/pages.json b/pages.json
index 4e40796..c655341 100644
--- a/pages.json
+++ b/pages.json
@@ -45,7 +45,7 @@
}
],
"subPackages": [{
- "root": "pages/login", //登录相关
+ "root": "pages/login",
"name": "login",
"pages": [{
"path": "index"
diff --git a/pages/reportExcel/weekReport.vue b/pages/reportExcel/weekReport.vue
index 0fc74a1..7cf25bc 100644
--- a/pages/reportExcel/weekReport.vue
+++ b/pages/reportExcel/weekReport.vue
@@ -145,10 +145,10 @@
{{ data.activeCustomer }}
- {{ data.avgDuration }}m
+ {{ tofixed2(data.avgDuration)}}m
- {{ data.avgDuration/60 }}m
+ {{ tofixed2(data.avgDuration/60) }}m
{{ data.fraction }}%
@@ -164,6 +164,7 @@
{{ data.fractionContrast > 0 ? `+${data.fractionContrast}` : data.fractionContrast }}%
+ --
@@ -200,7 +201,7 @@
inactive-color="#F2F2F2" :show-percent="false" :percent="percent.value">
- {{ percent.value || '0' }} %
+ {{ percent.value || '0' }}%
@@ -581,6 +582,13 @@
},
methods: {
+ tofixed2(time){
+ if(time){
+ return time.toFixed(2)
+ }else{
+ return 0
+ }
+ },
forShare() {
this.$u.get("/zkMessage/shareMessage", {
id: this.id