diff --git a/src/assets/images/smartPartyBuilding/contentBox.png b/src/assets/images/smartPartyBuilding/contentBox.png
new file mode 100644
index 0000000..3e92090
Binary files /dev/null and b/src/assets/images/smartPartyBuilding/contentBox.png differ
diff --git a/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/bottomCenter.vue b/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/bottomCenter.vue
index b5e5f33..b1c05b2 100644
--- a/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/bottomCenter.vue
+++ b/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/bottomCenter.vue
@@ -17,7 +17,7 @@
+
diff --git a/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/leftCenter.vue b/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/leftCenter.vue
index 9b08699..0f00f7e 100644
--- a/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/leftCenter.vue
+++ b/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/leftCenter.vue
@@ -3,6 +3,7 @@
+
@@ -10,10 +11,17 @@
import { onMounted, ref } from "vue";
import * as echarts from "echarts";
import Card from "@/components/card.vue";
+import partyBuildDialog from "@/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/party-build-dialog.vue";
import { GlobalStore } from "@/stores";
const store = GlobalStore();
const airType = ref(1);
let rangeTime = ref("" as any);
+// 政治面貌弹窗
+const partyBuildRef = ref();
+const openPeopleCountDialog = (type: any) => {
+ partyBuildRef.value.openDialog(type);
+ console.log(partyBuildRef.value);
+};
let dataList = ref([
{
value: 37,
@@ -51,7 +59,7 @@ let dataList = ref([
]);
function Pie() {
let dataArr = [];
- for (var i = 0; i < 150; i++) {
+ for (let i = 0; i < 150; i++) {
if (i % 2 === 0) {
dataArr.push({
name: (i + 1).toString(),
@@ -91,6 +99,21 @@ function drawEchart() {
max = max + item.value;
});
let echartsTest = echarts.init(document.getElementById("politicalOutlook"));
+ echartsTest.on("legendselectchanged", function (params) {
+ openPeopleCountDialog(4);
+ // 判断点击的元素类型
+ // console.log(params, "输出点击数据");
+ // if (params.componentType === "series") {
+ // // 获取点击的柱状图数据
+ // let clickedData = params.data;
+ // // 在控制台输出点击的柱状图数据
+ // console.log(clickedData, "输出点击的数据");
+ // // openQualitySafeDialog(1);
+ // // 在这里可以根据需要执行自定义的点击事件操作
+ // // 例如根据柱状图数据加载相关数据,跳转到其他页面等
+ // // ...
+ // }
+ });
let option = {
tooltip: {
trigger: "item"
@@ -115,7 +138,7 @@ function drawEchart() {
}
},
legend: {
- selectedMode: false, // 取消图例上的点击事件
+ selectedMode: true, // 取消图例上的点击事件
icon: "rect",
type: "plain",
orient: "vertical",
diff --git a/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/party-build-dialog.vue b/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/party-build-dialog.vue
index fb29282..0a30801 100644
--- a/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/party-build-dialog.vue
+++ b/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/party-build-dialog.vue
@@ -7,6 +7,15 @@
{{ dialogTitle }}
+
+
+
+
+
@@ -16,7 +25,9 @@
+
+
diff --git a/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/political-outlook.vue b/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/political-outlook.vue
new file mode 100644
index 0000000..6753f23
--- /dev/null
+++ b/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/political-outlook.vue
@@ -0,0 +1,397 @@
+
+
+
+
+
序号
+
姓名
+
性别
+
民族
+
出生日期
+
文化程度
+
岗位
+
政治面貌
+
联系电话
+
+
+
+
+
{{ index + 1 }}
+
+
+
{{ item.name }}
+
{{ item.sex }}
+
{{ item.nation }}
+
{{ item.birthday }}
+
{{ item.education }}
+
{{ item.post }}
+
{{ item.politicalOutlook }}
+
{{ item.phone }}
+
+
+

+
暂无数据
+
+
+
+
+
+
+
抓拍详情
+
+
+

+
+
+
+
+
+
记录时间
+
2023-01-01 12:00:00
+
+
+
+
抓拍大图
+
+

+
+
+
+
+
+
+
+
+
+
+