|
|
@@ -15,7 +15,6 @@
|
|
|
<div class="test-list">
|
|
|
<ul class="list-items">
|
|
|
<li
|
|
|
- v-show="item.qu_yu_ !='留样区'"
|
|
|
class="list-item quyu-item"
|
|
|
:style="{
|
|
|
background: quyuShows == item.qu_yu_+'' ? '#FF9900' : '#0099CC',
|
|
|
@@ -408,11 +407,12 @@ export default {
|
|
|
curdPost("sql", sqlString).then((response) => {
|
|
|
let person = response.variables.data;
|
|
|
let obj = {};
|
|
|
+
|
|
|
let peon = person.reduce((cur, next) => {
|
|
|
obj[next.qu_yu_] ? "" : (obj[next.qu_yu_] = true && cur.push(next));
|
|
|
return cur;
|
|
|
}, []); //设置cur默认类型为数组,并且初始值为空的数组
|
|
|
- // console.log(peon);
|
|
|
+ console.log(peon,"12");
|
|
|
this_.quyu_arr = peon; //区域获取
|
|
|
this_.quyu_arr.forEach((item) => {
|
|
|
if (item.qu_yu_ == "") {
|
|
|
@@ -427,6 +427,7 @@ export default {
|
|
|
this_.leixingcare = true;
|
|
|
}
|
|
|
});
|
|
|
+ console.log(this_.quyu_arr,"12")
|
|
|
if (!this.firstLoadActive) {
|
|
|
this_.formInline.qu_yu_value = "";
|
|
|
}
|