seimin 1 nedēļu atpakaļ
vecāks
revīzija
53cae1b7f0

+ 1 - 1
src/components/CategoryProportion.vue

@@ -45,7 +45,7 @@ export default {
45 45
           {
46 46
             name: '',
47 47
             type: 'pie',
48
-            center: ['50%', '58%'],
48
+            center: ['50%', '63%'],
49 49
             radius: ['35%', '50%'],
50 50
             avoidLabelOverlap: true,
51 51
             label: {

+ 0 - 3
src/components/DeptPrice.vue

@@ -213,9 +213,6 @@ export default {
213 213
       )
214 214
       this.gradeRankingListNum = []
215 215
       this.gradeRankingListName = []
216
-      if (result.data.length > 5) {
217
-        result.data = result.data.slice(0, 5)
218
-      }
219 216
       if (result.data.length > 0) {
220 217
         result.data.forEach(item => {
221 218
           this.gradeRankingListNum.push(item.price || 0) // 获取到的数据

+ 0 - 8
src/components/GroupPraise.vue

@@ -49,20 +49,12 @@ export default {
49 49
   methods: {
50 50
     // 工单实时动态
51 51
     async getGroupPraise () {
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: 'itsmIncidentCount'
67 59
         }
68 60
       )

+ 0 - 3
src/components/PointsRanking.vue

@@ -213,9 +213,6 @@ export default {
213 213
       )
214 214
       this.gradeRankingListNum = []
215 215
       this.gradeRankingListName = []
216
-      if (result.data.length > 5) {
217
-        result.data = result.data.slice(0, 5)
218
-      }
219 216
       if (result.data.length > 0) {
220 217
         result.data.forEach(item => {
221 218
           this.gradeRankingListNum.push(item.total || 0) // 获取到的数据