Browse Source

工时管家——管理系统\官网修改

ZhouRuiTing 5 years ago
parent
commit
973d836f1b

+ 3 - 2
fhKeeper/formulahousekeeper/inva_4_tivo/download.html

@@ -3,8 +3,9 @@
 <head>
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
-    <meta name="description" content="Tivo is a free HTML landing page template built with Bootstrap to help you crate engaging presentations for SaaS apps and convert visitors into users.">
-    <title>工时管家</title>
+    <meta name="keywords" content="工时管家,远程办公,员工管理,项目管理,绩效考核,项目成本统计,远程监控,兼职软件开发,软件外包,外包人员管理" />
+    <meta name="description" content="工时管家利用智能图像识别技术,统计员工每日实际的工作时长,并能自动分析员工每天时间分配情况,如研发,设计,上网,影视娱乐等,能有效提高领导对团队工作时间的把控,进而制定降低成本、提高效率的措施。同时领导可以查看员工在每个项目上投入的时间,核算项目的人力成本。"/>
+    <title>工时管家|反馈真实工作情况,提供员工考核数据</title>
     <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700&display=swap&subset=latin-ext" rel="stylesheet">
     <link href="css/bootstrap.css" rel="stylesheet">
     <!-- <link href="css/fontawesome-all.css" rel="stylesheet"> -->

+ 1 - 2
fhKeeper/formulahousekeeper/inva_4_tivo/index.html

@@ -22,8 +22,7 @@
           var s = document.getElementsByTagName("script")[0];
           s.parentNode.insertBefore(hm, s);
         })();
-        </script>
-
+    </script>
 </head>
 <body data-spy="scroll" data-target=".fixed-top">
 	<div class="spinner-wrapper">

+ 9 - 3
fhKeeper/formulahousekeeper/timesheet/src/views/project/cost.vue

@@ -22,8 +22,9 @@
                         for(var i in list) {
                             xList.push(list[i].project);
                             yList.push({
-                                value: list[i].cost,
+                                "value": list[i].cost,
                                 "id": list[i].id,
+                                "cost": list[i].costMoney
                             });
                         }
 
@@ -56,12 +57,17 @@
                                 }
                             },
                             tooltip:{
-                                trigger:'axis'
+                                trigger:'axis',
+                                formatter: function (params,ticket,callback) {
+                                    var res = params[0].name + "<br/>工作时长(h)"+" : " + params[0].data.value 
+                                    + "h <br/>工作成本(元)"+" : " + params[0].data.cost + "元";
+                                    return res;
+                                }
                             },
                             xAxis: {
                                 data: xList,
                                 axisLabel: {
-                                    interval:0,rotate:40
+                                    interval:0,rotate:20
                                 }
                             },
                             yAxis: [{

+ 11 - 3
fhKeeper/formulahousekeeper/timesheet/src/views/project/detail.vue

@@ -58,7 +58,10 @@
                         this.cost = res.data.totalMoneyCost;
                         for(var i in list) {
                             xList.push(list[i].name);
-                            yList.push(list[i].cost);
+                            yList.push({
+                                "value": list[i].cost,
+                                "cost": list[i].costMoney
+                            });
                         }
 
                         var myChart = echarts.init(document.getElementById("container"));
@@ -86,12 +89,17 @@
                                 }
                             },
                             tooltip:{
-                                trigger:'axis'
+                                trigger:'axis',
+                                formatter: function (params,ticket,callback) {
+                                    var res = params[0].name + "<br/>工作时长(h)"+" : " + params[0].data.value 
+                                    + "h <br/>工作成本(元)"+" : " + params[0].data.cost + "元";
+                                    return res;
+                                }
                             },
                             xAxis: {
                                 data: xList,
                                 axisLabel: {
-                                    interval:0,rotate:40
+                                    interval:0,rotate:20
                                 }
                             },
                             yAxis: [{