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);