diff --git a/src/assets/images/smartPartyBuilding/classification_bg.png b/src/assets/images/smartPartyBuilding/classification_bg.png index 402d385..5262194 100644 Binary files a/src/assets/images/smartPartyBuilding/classification_bg.png and b/src/assets/images/smartPartyBuilding/classification_bg.png differ diff --git a/src/assets/images/smartPartyBuilding/classification_bg1.png b/src/assets/images/smartPartyBuilding/classification_bg1.png new file mode 100644 index 0000000..402d385 Binary files /dev/null and b/src/assets/images/smartPartyBuilding/classification_bg1.png differ diff --git a/src/views/sevenLargeScreen/comprehensiveManage/guidancePartyBuilding/leftTop.vue b/src/views/sevenLargeScreen/comprehensiveManage/guidancePartyBuilding/leftTop.vue index 1af8958..ea0dac8 100644 --- a/src/views/sevenLargeScreen/comprehensiveManage/guidancePartyBuilding/leftTop.vue +++ b/src/views/sevenLargeScreen/comprehensiveManage/guidancePartyBuilding/leftTop.vue @@ -18,7 +18,7 @@
{{ item.classificationName || " " }}
-
{{ item.children instanceof Array && item.children.length > 0 ? 2 : 1 }}
+
{{ item.children instanceof Array && item.children.length > 0 ? item.children.length : 1 }}
@@ -91,12 +91,15 @@ const onListActive = (item: any, type: number) => { if (type == 1) { partyInfo.frameworkFlag = true; partyInfo.classificationId = item.id; + loadChildrenInfo.partyList = []; + loadWorkInfo.partyList = []; emits("openDialog", 99); loadChildrenInfo.pageNo = 1; getPartyConstruction(); } else if (type == 2) { loadChildrenInfo.classificationId = item.id; loadWorkInfo.pageNo = 1; + loadWorkInfo.partyList = []; getPartyConstructionMember(); } }; diff --git a/src/views/sevenLargeScreen/comprehensiveManage/guidancePartyBuilding/topCenter.vue b/src/views/sevenLargeScreen/comprehensiveManage/guidancePartyBuilding/topCenter.vue index a6fdc1a..ebc2c6d 100644 --- a/src/views/sevenLargeScreen/comprehensiveManage/guidancePartyBuilding/topCenter.vue +++ b/src/views/sevenLargeScreen/comprehensiveManage/guidancePartyBuilding/topCenter.vue @@ -72,21 +72,25 @@ const videoInfo = reactive({ secondTime: 0 }); const getLiveScreenDanmuList = async () => { - let data = { - projectSn: store.sn, - pageNo: 1, - pageSize: 2, - userId: store.userId - }; - const res: any = await getLiveScreenDanmuPage(data, true); - if (res.result) { - // console.log("我是弹幕", res.result.records); - videoInfo.barrageString = res.result.records[0].content; - const htmlText = videoInfo.barrageString.replace(/<[^>]*>/g, ""); - videoInfo.secondTime = Math.ceil(htmlText.length / 1.2); - // console.log(videoInfo.secondTime); - // videoInfo.videoList = res.result.records; - } + // let data = { + // projectSn: store.sn, + // pageNo: 1, + // pageSize: 2, + // userId: store.userId + // }; + // const res: any = await getLiveScreenDanmuPage(data, true); + // if (res.result) { + // // console.log("我是弹幕", res.result.records); + // videoInfo.barrageString = res.result.records[0].content; + // const htmlText = videoInfo.barrageString.replace(/<[^>]*>/g, ""); + // videoInfo.secondTime = Math.ceil(htmlText.length / 1.2); + // // console.log(videoInfo.secondTime); + // // videoInfo.videoList = res.result.records; + // } + videoInfo.barrageString = + '

项目党建工作理念:党建统领、思想铸魂、安全铸基、质量铸根、人才铸本

'; + const htmlText = videoInfo.barrageString.replace(/<[^>]*>/g, ""); + videoInfo.secondTime = Math.ceil(htmlText.length / 1.2); }; onMounted(() => { getPromoteVideo();