From a1e1613baafdc77a27ea623649f30fafcc373f6e Mon Sep 17 00:00:00 2001 From: tianq Date: Wed, 15 Mar 2023 14:41:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8=E7=8A=B6=E6=80=81=20?= =?UTF-8?q?=E6=94=B9=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/scss/dataBoard/listBox.scss | 3 ++- src/views/dataBoard/cpts/tb.vue | 18 +++++++++++-- src/views/dataBoard/sida/xq/list.vue | 37 ++++++++++++++++++++------ 3 files changed, 47 insertions(+), 11 deletions(-) diff --git a/src/assets/scss/dataBoard/listBox.scss b/src/assets/scss/dataBoard/listBox.scss index 356b5cced..5cf377130 100644 --- a/src/assets/scss/dataBoard/listBox.scss +++ b/src/assets/scss/dataBoard/listBox.scss @@ -24,7 +24,7 @@ .title_line { margin-left: 8px; - width: 60%; + width: 244px; height: 1px; background: linear-gradient(270deg, rgba(55, 198, 255, 0.1) 0%, #1995ff 100%); @@ -54,3 +54,4 @@ } } } + diff --git a/src/views/dataBoard/cpts/tb.vue b/src/views/dataBoard/cpts/tb.vue index 81d308a02..4f7e6d3d6 100644 --- a/src/views/dataBoard/cpts/tb.vue +++ b/src/views/dataBoard/cpts/tb.vue @@ -43,7 +43,16 @@ > {{ item }} - +
+ {{ item.name }} +
{{ tableTitle }}
- 个性需求  - 政府支持 + 个性需求 +   + + 政府支撑 + 社会保障 + 社区环境 + 商家支撑 +
{ + let a = ''; + + if (item.status == '已接单') { + a = 'green'; + } else if (item.status == '已完成') { + a = 'green'; + } else if (item.status == '待处理') { + a = 'orange'; + } + let obj = { + name: item.status, + class: a + }; + return [ index + 1, item.need_type ? item.need_type : '--', item.content ? item.content : '--', - item.status ? item.status : '--', + item.status ? obj : '--', + // item.status=="已接单"?"<span>已接2单</span>":"<span>已接单2</span>", item.date ? item.date : '--', { type: 'operate', list: ['查看'] } ]; }); - + console.log('this.list', this.list); this.total = this.list.length; } else { this.$message.error(msg);