Преглед изворни кода

首页-待办事项-字段调整

jbb пре 1 година
родитељ
комит
42e4e345a9
1 измењених фајлова са 12 додато и 12 уклоњено
  1. 12 12
      src/views/dashboard/MyoaTabs.vue

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

@@ -70,23 +70,23 @@ export default {
 
                     this.todoList.map(item => {
                         // 优先级
-                        var priorityCode = ''
-                        if (item.priority == '0') {
-                            priorityCode = '<span style="color:green;">普通</span>'
-                        }
-                        if (item.priority == '1') {
-                            priorityCode = '<span style="color:orange;">重要</span>'
-                        }
-                        if (item.priority == '2') {
-                            priorityCode = '<span style="color:red;">紧急</span>'
-                        }
-                        var list = [item.id, item.name, item.processName,item.applyer, priorityCode, item.createTime]
+                        // var priorityCode = ''
+                        // if (item.priority == '0') {
+                        //     priorityCode = '<span style="color:green;">普通</span>'
+                        // }
+                        // if (item.priority == '1') {
+                        //     priorityCode = '<span style="color:orange;">重要</span>'
+                        // }
+                        // if (item.priority == '2') {
+                        //     priorityCode = '<span style="color:red;">紧急</span>'
+                        // }
+                        var list = [item.id, item.name, item.processName,item.applyer, item.createTime]
                         scrollData.push(list)
                     })
                     this.todoConfig = {
                         oddRowBGC: 'white',
                         evenRowBGC: 'white',
-                        columnWidth: [150, 190,190, 190, 120, 300],
+                        columnWidth: [150, 190,190, 190, 300],
                         align: ['center'],
                         rowNum: 5,
                         waitTime: 9000,