|
|
@ -36,15 +36,50 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="indexcontentbttom-item-bottom-bottom" @click="nextblack(item)" v-show="item.isReport">
|
|
|
|
<view class="" v-if="navbarValue == '同人同诉'">
|
|
|
|
非同一事件
|
|
|
|
<template class="" v-if="tabscurrent !=0">
|
|
|
|
|
|
|
|
<view class="indexcontentbttom-item-bottom-bottom lvse" v-show="!item.isReport">
|
|
|
|
|
|
|
|
同人同诉事件
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="indexcontentbttom-item-bottom-bottom " v-show="item.isReport == 2">
|
|
|
|
|
|
|
|
非同人事件
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="indexcontentbttom-item-bottom-bottom " v-show="item.isReport == 3">
|
|
|
|
|
|
|
|
非同诉事件
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="indexcontentbttom-item-bottom-bottom lvse indexcontentbttom-item-bottom-bottomTRTS"
|
|
|
|
|
|
|
|
:class="" v-show="tabscurrent == 0">
|
|
|
|
|
|
|
|
<view class="" @click="nextblack(item,2)">
|
|
|
|
|
|
|
|
<u-icon name="tags" size="24" color="#2baa04" class="" class="icon"
|
|
|
|
|
|
|
|
v-show='item.caseSerialShowleft'>
|
|
|
|
|
|
|
|
</u-icon>
|
|
|
|
|
|
|
|
非同人事件
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="" @click="nextblack(item,3)">
|
|
|
|
|
|
|
|
<u-icon name="tags" size="24" color="#2baa04" class="" class="icon"
|
|
|
|
|
|
|
|
v-show='item.caseSerialShowRight'>
|
|
|
|
|
|
|
|
</u-icon>
|
|
|
|
|
|
|
|
非同诉事件
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="indexcontentbttom-item-bottom-bottom lvse" :class="" @click="nextblack(item)"
|
|
|
|
<view class="" v-else>
|
|
|
|
v-show="!item.isReport">
|
|
|
|
<view class="indexcontentbttom-item-bottom-bottom" @click="nextblack(item)"
|
|
|
|
<u-icon name="tags" size="24" color="#2baa04" class="" class="icon"
|
|
|
|
v-show="item.isReport">
|
|
|
|
v-show="item.caseSerialShow"></u-icon>
|
|
|
|
{{navbarValue=='重点人员'?'非重点事件':navbarValue=='一人多诉'?'非同一人事件':'非同一事件'}}
|
|
|
|
同一事件
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="indexcontentbttom-item-bottom-bottom lvse" :class="" @click="nextblack(item)"
|
|
|
|
|
|
|
|
v-show="!item.isReport">
|
|
|
|
|
|
|
|
<u-icon name="tags" size="24" color="#2baa04" class="" class="icon"
|
|
|
|
|
|
|
|
v-show="item.caseSerialShow">
|
|
|
|
|
|
|
|
</u-icon>
|
|
|
|
|
|
|
|
{{navbarValue=='重点人员'?'重点事件':navbarValue=='一人多诉'?'同一人事件':'同一事件'}}
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
@ -71,24 +106,68 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
shijianList: [],
|
|
|
|
shijianList: [],
|
|
|
|
innerEventId: "",
|
|
|
|
innerEventId: "",
|
|
|
|
tabscurrent:""
|
|
|
|
// 判断从哪里来 0 是 待审核 1 是已上报 2是重训练
|
|
|
|
|
|
|
|
tabscurrent: "",
|
|
|
|
|
|
|
|
navbarValue: ""
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
nextblack(item) {
|
|
|
|
nextblack(item, type) {
|
|
|
|
if(this.tabscurrent != 0) return
|
|
|
|
if (this.tabscurrent != 0) return
|
|
|
|
item.caseSerialShow = !item.caseSerialShow
|
|
|
|
|
|
|
|
if (!item.caseSerialShow) {
|
|
|
|
//判断是否为同人同诉,如果为,那么判断点击时的状态 2 为非同人 ,对应字段caseSerialShowleft
|
|
|
|
this.shijianList = this.shijianList.filter((obj) => {
|
|
|
|
//3 为 非同诉,对应字段caseSerialShowRight
|
|
|
|
return obj != item.caseSerial;
|
|
|
|
if (this.navbarValue == '同人同诉') {
|
|
|
|
});
|
|
|
|
let obj = {
|
|
|
|
|
|
|
|
key: item.caseSerial,
|
|
|
|
|
|
|
|
value: type
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (type == 2) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
item.caseSerialShowleft = !item.caseSerialShowleft
|
|
|
|
|
|
|
|
item.caseSerialShowRight = false
|
|
|
|
|
|
|
|
if (!item.caseSerialShowleft) {
|
|
|
|
|
|
|
|
//删除操作
|
|
|
|
|
|
|
|
this.shijianList = this.shijianList.filter((obj) => {
|
|
|
|
|
|
|
|
return obj.key != item.caseSerial;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.shijianList = this.shijianList.filter((obj) => {
|
|
|
|
|
|
|
|
return obj.key != item.caseSerial;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
this.shijianList.push(obj)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else if (type == 3) {
|
|
|
|
|
|
|
|
item.caseSerialShowRight = !item.caseSerialShowRight
|
|
|
|
|
|
|
|
item.caseSerialShowleft = false
|
|
|
|
|
|
|
|
if (!item.caseSerialShowRight) {
|
|
|
|
|
|
|
|
// 删除操作
|
|
|
|
|
|
|
|
this.shijianList = this.shijianList.filter((obj) => {
|
|
|
|
|
|
|
|
return obj.key != item.caseSerial;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.shijianList = this.shijianList.filter((obj) => {
|
|
|
|
|
|
|
|
return obj.key != item.caseSerial;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
this.shijianList.push(obj)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.shijianList.push(item.caseSerial)
|
|
|
|
item.caseSerialShow = !item.caseSerialShow
|
|
|
|
|
|
|
|
if (!item.caseSerialShow) {
|
|
|
|
|
|
|
|
this.shijianList = this.shijianList.filter((obj) => {
|
|
|
|
|
|
|
|
return obj != item.caseSerial;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.shijianList.push(item.caseSerial)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.$store.dispatch("setstate", this.shijianList)
|
|
|
|
this.$store.dispatch("setstate", this.shijianList)
|
|
|
|
console.log(this.shijianList);
|
|
|
|
console.log(this.shijianList);
|
|
|
|
console.log(this.$store.state.tijiaoList.shijianList);
|
|
|
|
console.log(this.$store.state.tijiaoList.shijianList);
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
|
massEventsinfoTow(this.innerEventId, this.massEventsObj).then(res => {
|
|
|
|
massEventsinfoTow(this.innerEventId, this.massEventsObj).then(res => {
|
|
|
@ -97,13 +176,29 @@
|
|
|
|
this.tiaoshu = res.data.total
|
|
|
|
this.tiaoshu = res.data.total
|
|
|
|
this.contentList = res.data.records
|
|
|
|
this.contentList = res.data.records
|
|
|
|
|
|
|
|
|
|
|
|
this.contentList = this.contentList.map((obj) => {
|
|
|
|
if (this.navbarValue == '同人同诉') {
|
|
|
|
const caseSerialShow = storeList.includes(obj.caseSerial);
|
|
|
|
this.contentList = this.contentList.map((obj) => {
|
|
|
|
return {
|
|
|
|
|
|
|
|
...obj,
|
|
|
|
const caseSerialShowleft = storeList.some(res => res.key == obj.caseSerial &&
|
|
|
|
caseSerialShow
|
|
|
|
res.value == 2);
|
|
|
|
};
|
|
|
|
const caseSerialShowRight = storeList.some(res => res.key == obj.caseSerial &&
|
|
|
|
});
|
|
|
|
res.value == 3);
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
...obj,
|
|
|
|
|
|
|
|
caseSerialShowleft,
|
|
|
|
|
|
|
|
caseSerialShowRight
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.contentList = this.contentList.map((obj) => {
|
|
|
|
|
|
|
|
const caseSerialShow = storeList.includes(obj.caseSerial);
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
|
|
...obj,
|
|
|
|
|
|
|
|
caseSerialShow
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -111,6 +206,7 @@
|
|
|
|
onLoad(opent) {
|
|
|
|
onLoad(opent) {
|
|
|
|
this.innerEventId = opent.innerEventId
|
|
|
|
this.innerEventId = opent.innerEventId
|
|
|
|
this.tabscurrent = opent.tabscurrent
|
|
|
|
this.tabscurrent = opent.tabscurrent
|
|
|
|
|
|
|
|
this.navbarValue = opent.navbarValue
|
|
|
|
this.getList()
|
|
|
|
this.getList()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -196,6 +292,29 @@
|
|
|
|
color: #2baa04;
|
|
|
|
color: #2baa04;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.indexcontentbttom-item-bottom-bottomTRTS {
|
|
|
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
|
|
|
|
grid-column-gap: 20rpx;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
view {
|
|
|
|
|
|
|
|
background: rgba(0, 170, 0, .1);
|
|
|
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
line-height: 69rpx;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
|
|
|
|
background: rgba(0, 170, 0, 0);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|