Kaynağa Gözat

Merge branch 'master' of http://47.100.37.243:10191/wutt/manHourHousekeeper into master

seyason 8 ay önce
ebeveyn
işleme
276f968141

+ 1 - 1
fhKeeper/formulahousekeeper/inva_4_tivo/customerNew.html

@@ -68,7 +68,7 @@
       <div class="core-content">
         <div class="core-content-item">
           <div class="item-img"><img src="./image/customerNew/core1.png" /></div>
-          <div class="item-title">AI 智能报</div>
+          <div class="item-title">AI 智能报</div>
           <div class="item-text">通过AI大模型对数据的理解,<br /> 根据用户描述的需求实时生成报表。</div>
         </div>
         <div class="core-content-item">

+ 25 - 13
fhKeeper/formulahousekeeper/inva_4_tivo/dynamic.html

@@ -1,20 +1,22 @@
 <!DOCTYPE html>
 <html lang="en">
+
 <head>
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="keywords" content="工时管理,工时统计,工时填报,项目成本统计,生产工时管理系统,工时成本管理,工时管理软件,研发工时管理系统,企业工时管理系统,项目工时统计,项目工时统计软件,项目工时统计系统,工时统计系统,工时统计表" />
-    <meta name="description" content="工时管家提供专业的工时填报和统计报表。支持PC和手机端。可按项目,部门,岗位等多维度统计成本。"/>
+    <meta name="keywords"
+        content="工时管理,工时统计,工时填报,项目成本统计,生产工时管理系统,工时成本管理,工时管理软件,研发工时管理系统,企业工时管理系统,项目工时统计,项目工时统计软件,项目工时统计系统,工时统计系统,工时统计表" />
+    <meta name="description" content="工时管家提供专业的工时填报和统计报表。支持PC和手机端。可按项目,部门,岗位等多维度统计成本。" />
     <title>工时管家-专注工时管理,手机移动填报,核算项目投入人力成本,企业IPO利器!</title>
     <link rel="shortcut icon" type="image/x-icon" href="./favicon.ico" />
-    <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700&display=swap&subset=latin-ext" rel="stylesheet">
+    <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/font-awesome.css" rel="stylesheet">
     <link href="css/swiper.css" rel="stylesheet">
-	<link href="css/magnific-popup.css" rel="stylesheet">
-	<link href="css/styles.css" rel="stylesheet">
-    <link rel="icon" href="images/favicon.png">
+    <link href="css/magnific-popup.css" rel="stylesheet">
+    <link href="css/styles.css" rel="stylesheet">
     <link rel="stylesheet" href="css/reset.css">
     <link rel="stylesheet" href="css/tongyong.css">
     <link rel="stylesheet" href="css/dynamic.css">
@@ -25,8 +27,9 @@
     <script src="./js/vue.min.js"></script>
     <script src="./js/element-ui.js"></script>
 </head>
+
 <body data-spy="scroll" data-target=".fixed-top">
-	<div class="spinner-wrapper">
+    <div class="spinner-wrapper">
         <div class="spinner">
             <div class="bounce1"></div>
             <div class="bounce2"></div>
@@ -59,7 +62,8 @@
                     </div>
                 </div>
                 <div class="paging">
-                    <el-pagination background layout="prev, pager, next" :total="total" :page-size="pageSize" @current-change="pageIndexChange"></el-pagination>
+                    <el-pagination background layout="prev, pager, next" :total="total" :page-size="pageSize"
+                        @current-change="pageIndexChange"></el-pagination>
                 </div>
             </div>
             <!-- 详情 -->
@@ -98,7 +102,14 @@
                 pageSize: 1,
                 chronicleEventsDetils: {},
                 chronicleEvents: [
-                    [   
+                    [
+                        {
+                            title: '发布AI智能客户管家管理系统',
+                            text: '帮助企业的销售环节完成简单低成本的数字化转型。系统通过灵活的自定义表单数据底座,实现从线索管理,商机管理到订单的转化。轻松创建和跟踪任务,提高团队协作效率。提供丰富可定制的数据报表,帮助您洞察业务趋势。价格透明,没有隐藏费用或功能限制。让您的企业拥有一个高效、可靠、易于使用的CRM系统。',
+                            date: '2024.08.01',
+                            img: './image/journal/xitong.jpg',
+                            showText: true
+                        },
                         {
                             title: '',
                             text: '增加全球化网络访问的支持,方便在海外工作的客户使用。',
@@ -124,13 +135,13 @@
                             date: '2023.11.18',
                             img: './image/journal/dongtaiThree.jpeg'
                         },
+                    ], [
                         {
                             title: '',
                             text: '签约重庆物奇微电子股份有限公司,帮助上百人的研发团队实现便捷轻松的工时管理。',
                             date: '2023.10.09',
                             img: './image/journal/dongtaiFou.jpeg'
                         },
-                    ], [
                         {
                             title: '',
                             text: '工时管家发布新版,支持钉钉和飞书平台。',
@@ -155,13 +166,13 @@
                             date: '2022.06.10',
                             img: './image/journal/dongtaiba.jpeg'
                         },
+                    ], [
                         {
                             title: '',
                             text: '上海威派格智慧水务有限公司之前一直使用宜搭来管理工时,但随着人员增长到1000人规模,对软件的需求越来越深入后,零代码平台已经无法实现他们的目标。切换到工时管家后,得益于我们平台的行业经验积累,通过我们内置的一些模块快速实现了业务需求。',
                             date: '2022.03.21',
                             img: './image/journal/dongtaijiu.jpeg'
                         },
-                    ], [
                         {
                             title: '',
                             text: '签约北京首钢集团信息化技术有限公司。为北京首钢提供了定制化需求和私有化部署,支持他们8000人规模的企业员工同时使用。',
@@ -189,11 +200,11 @@
                     ]
                 ]
             },
-            mounted () {
+            mounted() {
                 this.total = this.chronicleEvents.length
             },
             methods: {
-                pageIndexChange (val) {
+                pageIndexChange(val) {
                     this.pageIndex = val
                 },
                 learnMore(item) {
@@ -206,4 +217,5 @@
 
     <script src="js/iframe.js"></script>
 </body>
+
 </html>

BIN
fhKeeper/formulahousekeeper/inva_4_tivo/image/journal/xitong.jpg


+ 16 - 0
fhKeeper/formulahousekeeper/management-platform/src/main/java/com/management/platform/service/impl/ReportServiceImpl.java

@@ -5794,6 +5794,11 @@ public class ReportServiceImpl extends ServiceImpl<ReportMapper, Report> impleme
                 //titles.add("审核流程状态");
                 titles.add(MessageUtils.message("excel.reviewProcessStatus"));
             }
+            //新版按周填报增加周总结
+            if (timeType.getEnableNewWeeklyfill() == 1) {
+                //titles.add("周总结");
+                titles.add(MessageUtils.message("excel.weekSummary"));
+            }
             dataList.add(titles);
             //新增数据行 并且装填数据
             int rowNum = 1;
@@ -6319,6 +6324,17 @@ public class ReportServiceImpl extends ServiceImpl<ReportMapper, Report> impleme
                         }
                     }
                 }
+
+                if (timeType.getEnableNewWeeklyfill() == 1) {
+                    String createDate = new SimpleDateFormat("yyyy-MM-dd")
+                            .format((java.sql.Date) map.get("createDate"));
+                    ReportBatch batchItem = reportBatchMapper.selectOne(new QueryWrapper<ReportBatch>().eq("creator_id", map.get("creatorId")).eq("start_date", createDate).last("limit 1"));
+                    if (batchItem != null) {
+                        item.add(batchItem.getSummary());
+                    } else {
+                        item.add("");
+                    }
+                }
                 dataList.add(item);
                 rowNum++;
             }

+ 1 - 0
fhKeeper/formulahousekeeper/management-platform/src/main/resources/i18n/messages.properties

@@ -702,6 +702,7 @@ excel.deptHeadCount=部门人数
 excel.joinCenterCount=参与的研究中心的数量
 excel.tripPeopleCount=出差的人次
 excel.reviewProcessStatus=审核流程状态
+excel.weekSummary=周总结
 #推送
 push.fillIn=您今天的工时填报还未完成
 push.name=屈跃庭

+ 1 - 0
fhKeeper/formulahousekeeper/management-platform/src/main/resources/i18n/messages_en_US.properties

@@ -702,6 +702,7 @@ excel.deptHeadCount=Department headcount
 excel.joinCenterCount=Number of research centers involved
 excel.tripPeopleCount=Number of people on business trip
 excel.reviewProcessStatus=Review process status
+excel.weekSummary=Weekly summary
 #推送
 push.fillIn=Your work hour report for today has not been completed.
 push.name=Qu Yue ting

+ 5 - 5
fhKeeper/formulahousekeeper/management-platform/src/main/resources/mapper/ReportMapper.xml

@@ -62,7 +62,7 @@
     </sql>
     <!--根据日期获取全部报告信息-->
     <select id="getAllReportByDate" resultType="java.util.Map">
-        SELECT a.id, c.name,uwb.name as realName,c.job_number as jobNumber,c.corpwx_userid as corpwxUserId,c.corpwx_deptid as corpwxDeptId, b.project_name AS project,b.project_code as projectCode,b.category_name as categoryName, a.working_time AS duration, a.content, a.create_time   AS time,a.create_date as createDate,
+        SELECT a.id, a.creator_id as creatorId, c.name,uwb.name as realName,c.job_number as jobNumber,c.corpwx_userid as corpwxUserId,c.corpwx_deptid as corpwxDeptId, b.project_name AS project,b.project_code as projectCode,b.category_name as categoryName, a.working_time AS duration, a.content, a.create_time   AS time,a.create_date as createDate,
         a.state, a.time_type as timeType, a.cost, a.report_time_type as reportTimeType,a.start_time as startTime,u.job_number as jobNumber,
         a.end_time  as endTime, d.name as subProjectName,d.code as subProjectCode,a.task_id as taskId, task.name as taskName, a.is_overtime as isOvertime,a.progress as progress,
         a.department_audit_state as departmentAuditState, a.stage, a.pic_str as picStr, multi_worktime as multiWorktime,a.is_dept_audit as isDeptAudit,a.group_audit_state as groupAuditState,task_group.incharger_id as inchargerId,a.project_audit_state as projectAuditState,a.audit_dept_managerid as deptAuditorName
@@ -119,7 +119,7 @@
     </select>
 
     <select id="getAllReportByDateWithReportLog" resultType="java.util.Map">
-        SELECT a.id, c.name,uwb.name as realName,c.job_number as jobNumber,c.corpwx_userid as corpwxUserId,c.corpwx_deptid as corpwxDeptId, b.project_name AS project,b.project_code as projectCode,b.category_name as categoryName, a.working_time AS duration, a.content, a.create_time   AS time,a.create_date as createDate,
+        SELECT a.id, a.creator_id as creatorId, c.name,uwb.name as realName,c.job_number as jobNumber,c.corpwx_userid as corpwxUserId,c.corpwx_deptid as corpwxDeptId, b.project_name AS project,b.project_code as projectCode,b.category_name as categoryName, a.working_time AS duration, a.content, a.create_time   AS time,a.create_date as createDate,
         a.state, a.time_type as timeType, a.cost, a.report_time_type as reportTimeType,a.start_time as startTime,u.job_number as jobNumber,
         a.end_time  as endTime, d.name as subProjectName,d.code as subProjectCode,a.task_id as taskId, task.name as taskName, a.is_overtime as isOvertime,a.progress as progress,
         a.department_audit_state as departmentAuditState, a.stage, a.pic_str as picStr, multi_worktime as multiWorktime,a.is_dept_audit as isDeptAudit,a.group_audit_state as groupAuditState,task_group.incharger_id as inchargerId,a.project_audit_state as projectAuditState,a.audit_dept_managerid as deptAuditorName
@@ -197,7 +197,7 @@
     </select>
 
     <select id="getProjectMembReportByDate" resultType="java.util.Map">
-        SELECT a.id, c.name,c.job_number as jobNumber,c.corpwx_userid as corpwxUserId,c.corpwx_deptid as corpwxDeptId, b.project_name AS project, b.project_code as projectCode, b.category_name as categoryName,a.working_time AS duration,
+        SELECT a.id, a.creator_id as creatorId, c.name,c.job_number as jobNumber,c.corpwx_userid as corpwxUserId,c.corpwx_deptid as corpwxDeptId, b.project_name AS project, b.project_code as projectCode, b.category_name as categoryName,a.working_time AS duration,
         a.content, a.create_time AS time, a.create_date as createDate,
         a.state, a.time_type as timeType, a.cost, a.report_time_type as reportTimeType, a.start_time as startTime,
         a.end_time as endTime, d.name as subProjectName,d.code as subProjectCode,a.task_id as taskId, task.name as taskName, a.is_overtime as
@@ -265,7 +265,7 @@
     </select>
 
     <select id="getProjectMembReportByDateWithReportLog" resultType="java.util.Map">
-        SELECT a.id, c.name,c.job_number as jobNumber,c.corpwx_userid as corpwxUserId,c.corpwx_deptid as corpwxDeptId, b.project_name AS project, b.project_code as projectCode, b.category_name as categoryName,a.working_time AS duration,
+        SELECT a.id, a.creator_id as creatorId, c.name,c.job_number as jobNumber,c.corpwx_userid as corpwxUserId,c.corpwx_deptid as corpwxDeptId, b.project_name AS project, b.project_code as projectCode, b.category_name as categoryName,a.working_time AS duration,
         a.content, a.create_time AS time, a.create_date as createDate,
         a.state, a.time_type as timeType, a.cost, a.report_time_type as reportTimeType, a.start_time as startTime,
         a.end_time as endTime, d.name as subProjectName, d.code as subProjectCode,a.task_id as taskId, task.name as taskName, a.is_overtime as
@@ -334,7 +334,7 @@
         ORDER BY a.creator_id, a.create_date desc
     </select>
     <select id="getDeptMembReportByDate" resultType="java.util.Map">
-        SELECT a.id, c.name,c.job_number as jobNumber,c.corpwx_userid as corpwxUserId,c.corpwx_deptid as corpwxDeptId, b.project_name AS project, b.project_code as projectCode,b.category_name as categoryName, a.working_time AS duration, a.content, a.create_time AS time,a.create_date as createDate,
+        SELECT a.id, a.creator_id as creatorId, c.name,c.job_number as jobNumber,c.corpwx_userid as corpwxUserId,c.corpwx_deptid as corpwxDeptId, b.project_name AS project, b.project_code as projectCode,b.category_name as categoryName, a.working_time AS duration, a.content, a.create_time AS time,a.create_date as createDate,
         a.state, a.time_type as timeType, a.cost, a.report_time_type as reportTimeType, a.start_time as startTime,
         a.end_time as endTime, d.name as subProjectName,d.code as subProjectCode,a.task_id as taskId, task.name as taskName, a.is_overtime as isOvertime,a.progress as progress,
         a.department_audit_state as departmentAuditState,a.stage, a.pic_str as picStr, multi_worktime as multiWorktime,a.is_dept_audit as isDeptAudit,a.group_audit_state as groupAuditState,task_group.incharger_id as inchargerId,a.project_audit_state as projectAuditState,a.audit_dept_managerid as deptAuditorName

+ 2 - 1
fhKeeper/formulahousekeeper/timesheet_h5/src/views/exaLeave/applyLeave.vue

@@ -50,7 +50,8 @@
                     <template #input>
                         <van-radio-group v-model="editForm.timeType" direction="horizontal" @change="timeTypeChange">
                             <van-radio name="0">按天</van-radio>
-                            <van-radio name="1" v-if="editForm.leaveType != 6">按小时</van-radio>
+                            <!-- <van-radio name="1" v-if="editForm.leaveType != 6">按小时</van-radio> -->
+                            <van-radio name="1">按小时</van-radio>
                         </van-radio-group>
                     </template>
                 </van-field>