seimin hace 6 días
padre
commit
61e6657642

+ 0 - 8
src/components/RealTimeDeliveryOrder.vue

@@ -49,20 +49,12 @@ export default {
49 49
   methods: {
50 50
     // 故障工单实时动态
51 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 52
       const result = await post(
59 53
         '/itsm/report/index',
60 54
         {
61 55
           parentDutyId: this.parentDutyId,
62 56
           hosId: this.hosId,
63 57
           dutyId: this.dutyId,
64
-          startDate: startTime,
65
-          endDate: endTime,
66 58
           type: 'hsmsOrderCount',
67 59
           businessType: 'hsms'
68 60
         }

+ 0 - 4
src/components/RealTimeRepairOrder.vue

@@ -49,16 +49,12 @@ export default {
49 49
   methods: {
50 50
     // 故障工单实时动态
51 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 52
       const result = await post(
55 53
         '/itsm/report/index',
56 54
         {
57 55
           parentDutyId: this.parentDutyId,
58 56
           hosId: this.hosId,
59 57
           dutyId: this.dutyId,
60
-          startDate: startTime,
61
-          endDate: endTime,
62 58
           type: 'itsmIncidentCount'
63 59
         }
64 60
       )

+ 2 - 0
src/components/TotalStatistics.vue

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

+ 3 - 3
src/views/AppIndex.vue

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