seimin 1 тиждень тому
батько
коміт
53cae1b7f0

+ 1 - 1
src/components/CategoryProportion.vue

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

+ 0 - 3
src/components/DeptPrice.vue

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

+ 0 - 8
src/components/GroupPraise.vue

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

+ 0 - 3
src/components/PointsRanking.vue

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