seimin 6 天之前
父节点
当前提交
61e6657642

+ 0 - 8
src/components/RealTimeDeliveryOrder.vue

@@ -49,20 +49,12 @@ export default {
49
   methods: {
49
   methods: {
50
     // 故障工单实时动态
50
     // 故障工单实时动态
51
     async getRealTimeDeliveryOrder () {
51
     async getRealTimeDeliveryOrder () {
52
-      const startTime = this.$moment()
53
-        .startOf('day')
54
-        .format('YYYY-MM-DD HH:mm:ss') // 今日
55
-      const endTime = this.$moment()
56
-        .endOf('day')
57
-        .format('YYYY-MM-DD HH:mm:ss') // 今日
58
       const result = await post(
52
       const result = await post(
59
         '/itsm/report/index',
53
         '/itsm/report/index',
60
         {
54
         {
61
           parentDutyId: this.parentDutyId,
55
           parentDutyId: this.parentDutyId,
62
           hosId: this.hosId,
56
           hosId: this.hosId,
63
           dutyId: this.dutyId,
57
           dutyId: this.dutyId,
64
-          startDate: startTime,
65
-          endDate: endTime,
66
           type: 'hsmsOrderCount',
58
           type: 'hsmsOrderCount',
67
           businessType: 'hsms'
59
           businessType: 'hsms'
68
         }
60
         }

+ 0 - 4
src/components/RealTimeRepairOrder.vue

@@ -49,16 +49,12 @@ export default {
49
   methods: {
49
   methods: {
50
     // 故障工单实时动态
50
     // 故障工单实时动态
51
     async getRealTimeRepairOrder () {
51
     async getRealTimeRepairOrder () {
52
-      const startTime = this.$moment().subtract(1, 'month').startOf('month').format('YYYY-MM-DD HH:mm:ss')
53
-      const endTime = this.$moment().subtract(1, 'month').endOf('month').format('YYYY-MM-DD HH:mm:ss')
54
       const result = await post(
52
       const result = await post(
55
         '/itsm/report/index',
53
         '/itsm/report/index',
56
         {
54
         {
57
           parentDutyId: this.parentDutyId,
55
           parentDutyId: this.parentDutyId,
58
           hosId: this.hosId,
56
           hosId: this.hosId,
59
           dutyId: this.dutyId,
57
           dutyId: this.dutyId,
60
-          startDate: startTime,
61
-          endDate: endTime,
62
           type: 'itsmIncidentCount'
58
           type: 'itsmIncidentCount'
63
         }
59
         }
64
       )
60
       )

+ 2 - 0
src/components/TotalStatistics.vue

@@ -176,6 +176,7 @@ export default {
176
           margin-right: .2rem;
176
           margin-right: .2rem;
177
         }
177
         }
178
         .repair__content{
178
         .repair__content{
179
+          flex: 1;
179
           .repair__total{
180
           .repair__total{
180
             margin-top: .3rem;
181
             margin-top: .3rem;
181
             &:first-of-type{
182
             &:first-of-type{
@@ -256,6 +257,7 @@ export default {
256
           margin-left: .2rem;
257
           margin-left: .2rem;
257
         }
258
         }
258
         .delivery__content{
259
         .delivery__content{
260
+          flex: 1;
259
           .delivery__total{
261
           .delivery__total{
260
             margin-top: .3rem;
262
             margin-top: .3rem;
261
             &:first-of-type{
263
             &:first-of-type{

+ 3 - 3
src/views/AppIndex.vue

@@ -19,10 +19,10 @@
19
               </h2>
19
               </h2>
20
               <MaintenanceDepartmentTotal class="app-item__body"></MaintenanceDepartmentTotal>
20
               <MaintenanceDepartmentTotal class="app-item__body"></MaintenanceDepartmentTotal>
21
             </div>
21
             </div>
22
-            <!-- 上月维修人员积分TOP5 -->
22
+            <!-- 上月维修人员工单数TOP5 -->
23
             <div class="app-item">
23
             <div class="app-item">
24
               <h2 class="app-item__header app-item__header--big">
24
               <h2 class="app-item__header app-item__header--big">
25
-                上月维修人员积分TOP5
25
+                上月维修人员工单数TOP5
26
               </h2>
26
               </h2>
27
               <PersonnelIntegral class="app-item__body"></PersonnelIntegral>
27
               <PersonnelIntegral class="app-item__body"></PersonnelIntegral>
28
             </div>
28
             </div>
@@ -110,7 +110,7 @@ export default {
110
     MaintenanceDepartmentTotal, // 上月维修科室排名TOP5
110
     MaintenanceDepartmentTotal, // 上月维修科室排名TOP5
111
     DeliveryTotal, // 上月配送陪检科室排名TOP5
111
     DeliveryTotal, // 上月配送陪检科室排名TOP5
112
     DeliveryUserTotal, // 运送人员排名TOP5
112
     DeliveryUserTotal, // 运送人员排名TOP5
113
-    PersonnelIntegral, // 上月维修人员积分TOP5
113
+    PersonnelIntegral, // 上月维修人员工单数TOP5
114
     CategoryTotal, // 上月故障现象占比
114
     CategoryTotal, // 上月故障现象占比
115
     BusinessTotal // 上月业务分类工单占比
115
     BusinessTotal // 上月业务分类工单占比
116
   },
116
   },