Browse Source

森语-首页-显示字段调整

jbb 2 years ago
parent
commit
0014f5ffa9
2 changed files with 8 additions and 8 deletions
  1. 2 2
      src/views/dashboard/MyToDo.vue
  2. 6 6
      src/views/dashboard/MyoaTabs.vue

+ 2 - 2
src/views/dashboard/MyToDo.vue

@@ -513,7 +513,7 @@ export default {
               annType =
                 '<span style="color:rgba(255, 165, 0,.8);border:1px solid rgba(255, 165, 0,.8);padding:0 4px;border-radius:3px;">项目</span>'
             }
-            var list = [item.id, annType, item.title, item.createBy, item.createTime]
+            var list = [item.id, item.title, item.createBy, item.createTime]
 
             scrollData.push(list) //取到的每一个数据放到轮播表数据中
           })
@@ -521,7 +521,7 @@ export default {
           this.config = {
             oddRowBGC: 'white',
             evenRowBGC: 'white',
-            columnWidth: [50, 200, 600, 300, 400],
+            columnWidth: [50, 600, 300, 400],
             align: ['center'],
             rowNum: 8,
             waitTime: 2000,

+ 6 - 6
src/views/dashboard/MyoaTabs.vue

@@ -80,13 +80,13 @@ export default {
                         if (item.priority == '2') {
                             priorityCode = '<span style="color:red;">紧急</span>'
                         }
-                        var list = [item.id, item.name, item.processName,item.description,item.applyer, priorityCode, item.createTime]
+                        var list = [item.id, item.name, item.processName,item.applyer, priorityCode, item.createTime]
                         scrollData.push(list)
                     })
                     this.todoConfig = {
                         oddRowBGC: 'white',
                         evenRowBGC: 'white',
-                        columnWidth: [150, 190,190, 190, 190, 120, 300],
+                        columnWidth: [150, 190,190, 190, 120, 300],
                         align: ['center'],
                         rowNum: 5,
                         waitTime: 9000,
@@ -120,14 +120,14 @@ export default {
                         }
 
                         // var list = [item.id, item.title, item.processName, item.description,item.currTaskName, resultCode, item.applyTime]
-                        var list = [item.id, item.processName, item.description,item.currTaskName, resultCode, item.applyTime]
+                        var list = [item.id, item.processName,item.currTaskName, resultCode, item.applyTime]
                         scrollData.push(list)
                     })
                     this.applyConfig = {
                         oddRowBGC: 'white',
                         evenRowBGC: 'white',
                         // columnWidth: [150, 200, 200, 200,  200, 150, 300],
-                        columnWidth: [150, 200, 200,  200, 120, 300],
+                        columnWidth: [150, 200,  200, 120, 300],
                         align: ['center'],
                         rowNum: 5,
                         waitTime: 2000,
@@ -154,13 +154,13 @@ export default {
                           reallyResult = item.deleteReason
                         }
 
-                        var list = [item.id, item.name, item.processName, item.description,item.applyer, reallyResult, item.createTime]
+                        var list = [item.id, item.name, item.processName,item.applyer, reallyResult, item.createTime]
                         scrollData.push(list)
                     })
                     this.doneConfig = {
                         oddRowBGC: 'white',
                         evenRowBGC: 'white',
-                        columnWidth: [150, 200, 200, 200, 150, 150, 300],
+                        columnWidth: [150, 200, 200, 150, 150, 300],
                         align: ['center'],
                         rowNum: 5,
                         waitTime: 2000,