diff --git a/src/views/projectcenter/TaskPage.vue b/src/views/projectcenter/TaskPage.vue index 357f0090..f22f189d 100644 --- a/src/views/projectcenter/TaskPage.vue +++ b/src/views/projectcenter/TaskPage.vue @@ -74,9 +74,7 @@
@@ -95,9 +93,7 @@
@@ -1485,23 +1481,25 @@ export default { customRender: (text) => { if (text.record.rank == "1") { return ( -
- fewfwe -
+ ); } else if (text.record.rank == "2") { - return
ggg
; + return ( + + ); } else if (text.record.rank == "3") { - return
ggg
; + return ( + + ); } else { return
{text.record.rank}
; } @@ -1587,6 +1585,32 @@ export default { width: 50, align: "center", className: "h", + customRender: (text) => { + if (text.record.rank == "1") { + return ( + + ); + } else if (text.record.rank == "2") { + return ( + + ); + } else if (text.record.rank == "3") { + return ( + + ); + } else { + return
{text.record.rank}
; + } + }, }, { title: "名称", @@ -1668,6 +1692,32 @@ export default { width: 50, align: "center", className: "h", + customRender: (text) => { + if (text.record.rank == "1") { + return ( + + ); + } else if (text.record.rank == "2") { + return ( + + ); + } else if (text.record.rank == "3") { + return ( + + ); + } else { + return
{text.record.rank}
; + } + }, }, { title: "名称", @@ -1789,10 +1839,10 @@ export default { padding: 0; .modalHeader { background: linear-gradient( - 0deg, - rgba(78, 166, 255, 0) 0%, - rgba(78, 166, 255, 0.2) 100% - ); + 0deg, + rgba(78, 166, 255, 0) 0%, + rgba(78, 166, 255, 0.2) 100% + ); } .modalMain { .projectname {