diff --git a/src/api/screen/subScreen/subOneAuditSuper.ts b/src/api/screen/subScreen/subOneAuditSuper.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/api/screen/subScreen/subOneMailVisits.ts b/src/api/screen/subScreen/subOneMailVisits.ts new file mode 100644 index 0000000..9b07d72 --- /dev/null +++ b/src/api/screen/subScreen/subOneMailVisits.ts @@ -0,0 +1,10 @@ +import request from "@/api/request"; +import {getFirstAndRepeatMail} from "../mail"; + + + +export function getSubOneFirstAndRepeatMail(departId, times) { + return request.get({ + url: `/datav/sub1/mailVisits/getSubOneFirstAndRepeatMail?departId=${departId}&beginTime=${times[0]}&endTime=${times[1]}` + }); +} \ No newline at end of file diff --git a/src/api/screen/subScreen/subOneRightsConfort.ts b/src/api/screen/subScreen/subOneRightsConfort.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/components/datav/chart-bar.vue b/src/components/datav/chart-bar.vue index 6b76a00..7c46848 100644 --- a/src/components/datav/chart-bar.vue +++ b/src/components/datav/chart-bar.vue @@ -23,7 +23,7 @@ }" > - {{ item.value + props.unit }} + {{ item.value + props.unit }} import('@/views/datav/Lmgz.vue'), }, - { - path: '/datav/sub1', - component: () => import('@/views/datav/Sub1.vue'), - }, + { path: '/datav/sub2', component: () => import('@/views/datav/Sub2.vue'), }, { path: '/datav/subOneVideoInsp', - component: () => import('@/views/datav/subonedatav/SubOneVideoInsp.vue'), + component: () => import('@/views/datav/subOnedatav/SubOneVideoInsp.vue'), }, { path: '/401', component: () => import('@/views/error/401.vue'), }, + { + path: '/datav/subOneSceneInsp', + component: () => import('@/views/datav/subOnedatav/SubOneSceneInsp.vue'), + }, + { + path: '/datav/sub1', + component: () => import('@/views/datav/Sub1.vue'), + }, { path: '/datav/subOneCaseVerif', - component: () => import('@/views/datav/subonedatav/SubOneCaseVerif.vue'), + component: () => import('@/views/datav/subOnedatav/SubOneCaseVerif.vue'), + }, + { + path: '/datav/subOneMailVisits', + component: () => import('@/views/datav/subOnedatav/SubOneMailVisits.vue'), }, - + + + ]; export const INDEX_ROUTE_NAME = Symbol() diff --git a/src/views/datav/CaseVerif.vue b/src/views/datav/CaseVerif.vue index 62c86c0..e6a300c 100644 --- a/src/views/datav/CaseVerif.vue +++ b/src/views/datav/CaseVerif.vue @@ -24,6 +24,7 @@ :data="jsdwBarList" :max="11" size="large" + :color="colors" /> @@ -339,6 +340,11 @@ const option = ref({ geo: { // 是上面注册时的名字哦,registerMap('名字保持一致') map: "changsha", + itemStyle: { + normal: { + opacity: 0 // 设置透明度 + }, + } }, tooltip: { trigger: 'item', @@ -356,7 +362,7 @@ const option = ref({
  • 查处问题(个) ${dataItem.dealCasePro}
  • 问责人次 ${dataItem.punishPre}
  • 问责单位数 ${dataItem.punishOrg}
  • -
  • 查实率 ${dataItem.rate}
  • +
  • 查实率 ${dataItem.rate}%
  • `; @@ -407,6 +413,7 @@ const option = ref({ name: "长沙", type: "map", map: "changsha", + roam: true, hoverAnimation: true, label: { show: true, diff --git a/src/views/datav/Gobal.vue b/src/views/datav/Gobal.vue index bbddb3b..db51e86 100644 --- a/src/views/datav/Gobal.vue +++ b/src/views/datav/Gobal.vue @@ -235,6 +235,11 @@ echarts.registerMap("changsha", changshaMap); const option = ref({ geo: { map: "changsha", + itemStyle: { + normal: { + opacity: 0 // 设置透明度 + }, + } }, tooltip: { trigger: 'item', @@ -308,6 +313,7 @@ const option = ref({ type: "map", map: "changsha", hoverAnimation: true, + roam: true, label: { show: true, color: "white", @@ -316,7 +322,8 @@ const option = ref({ normal: { areaColor: "#02215E", borderColor: "#24D2EE", - borderWidth: 1 // 高亮时边框宽度 + borderWidth: 1, // 高亮时边框宽度 + opacity: 1 // 设置透明度 }, }, emphasis: { @@ -529,9 +536,6 @@ watch(time, () => { const handleClick = (params) => { const departId = params.data.departId; - const {name} = params.data; - // alert("部门id:"+departId); - // alert("部门名字:"+name); const url = router.resolve({ path: "/datav/sub1", query: {departId: departId}, diff --git a/src/views/datav/MailVisits.vue b/src/views/datav/MailVisits.vue index a21aa19..b113b5e 100644 --- a/src/views/datav/MailVisits.vue +++ b/src/views/datav/MailVisits.vue @@ -166,6 +166,7 @@ style="height: 450px" :option="option" autoresize + @click="handleClick" /> @@ -354,6 +355,7 @@ import { //region 所有变量 let timer; +const router = useRouter(); const activeTab = ref("1"); const bwzdActiveTab = ref("1"); // 部委支队初重信tab const activeMailTrend = ref("1"); // 信访趋势tab @@ -984,7 +986,14 @@ onMounted(() => { // console.log("Active Tab: ", activeMailTab.value); // }, 3000); // 每3秒切换一次 }); - +const handleClick = (params) => { + const departId = params.data.departId; + const url = router.resolve({ + path: "/datav/subOneMailVisits", + query: {departId: departId}, + }).href; + window.open(url, "_blank"); +} const colors = [ { color: "linear-gradient( 270deg, #FB002D 0%, #822232 100%)", diff --git a/src/views/datav/SceneInsp.vue b/src/views/datav/SceneInsp.vue index fafbed1..ccf022f 100644 --- a/src/views/datav/SceneInsp.vue +++ b/src/views/datav/SceneInsp.vue @@ -137,32 +137,32 @@
    { getAllSupervisionNotifyCount(time.value).then((res) => { - Object.assign(overview.value, { - correctionRate: Number(res.overview.correctionRate), - supervisionNotifyPreTotal: Number(res.overview.supervisionNotifyPreTotal), - supervisionNotifyChangingTotal: Number(res.overview.supervisionNotifyChangingTotal), - supervisionNotifyChangedTotal: Number(res.overview.supervisionNotifyChangedTotal), - supervisionNotifyTotal: Number(res.overview.supervisionNotifyTotal), - supervisionNotifyOrgTotal: Number(res.overview.supervisionNotifyOrgTotal), - - }); + overview.value= res.overview; }); getChangedRank(time.value, 3).then((res) => { diff --git a/src/views/datav/Sub1.vue b/src/views/datav/Sub1.vue index f064da6..1a68395 100644 --- a/src/views/datav/Sub1.vue +++ b/src/views/datav/Sub1.vue @@ -114,7 +114,7 @@ :size="small" title="整改率排名" - sub-title="已整改/问题数" + sub-title="完成数/问题数" unit="%" /> @@ -461,8 +461,10 @@ @@ -791,9 +793,6 @@ const mailTrend = ref({ echarts.registerMap("changsha", changshaMap); const option = ref({ - geo: { - map: "changsha", - }, tooltip: { trigger: 'item', }, @@ -818,6 +817,7 @@ const option = ref({ type: "map", map: "changsha", hoverAnimation: true, + roam:true, label: { show: true, color: "white", diff --git a/src/views/datav/VideoInsp.vue b/src/views/datav/VideoInsp.vue index 4f5b4b0..9d2be8f 100644 --- a/src/views/datav/VideoInsp.vue +++ b/src/views/datav/VideoInsp.vue @@ -42,7 +42,7 @@ - + @@ -61,6 +61,7 @@ :data="jsdwRankList" :max="11" size="large" + :color="colors" /> @@ -74,7 +75,7 @@
    ${dataItem.originalName}
      -
    • 发现问题数 ${dataItem.discoverProblem}
    • +
    • 查实问题数 ${dataItem.discoverProblem}
    • 整改问题数 ${dataItem.changedProblem}
    • 涉及单位数 ${dataItem.relativeOrg}
    • 涉及人数 ${dataItem.relativePer}
    • @@ -425,7 +430,7 @@ const option = ref({
      ${params.name}
        -
      • 发现问题数 -
      • +
      • 查实问题数 -
      • 整改问题数 -
      • 涉及单位数 -
      • 涉及人数 -
      • @@ -461,6 +466,7 @@ const option = ref({ type: "map", map: "changsha", hoverAnimation: true, + roam: true, label: { show: true, color: "white", diff --git a/src/views/datav/subOnedatav/SubOneCaseVerif.vue b/src/views/datav/subOnedatav/SubOneCaseVerif.vue new file mode 100644 index 0000000..4b7386a --- /dev/null +++ b/src/views/datav/subOnedatav/SubOneCaseVerif.vue @@ -0,0 +1,735 @@ + + + + + + + diff --git a/src/views/datav/subOnedatav/SubOneMailVisits.vue b/src/views/datav/subOnedatav/SubOneMailVisits.vue new file mode 100644 index 0000000..4a13217 --- /dev/null +++ b/src/views/datav/subOnedatav/SubOneMailVisits.vue @@ -0,0 +1,1122 @@ + + + + + + + + + diff --git a/src/views/datav/subOnedatav/SubOneSceneInsp.vue b/src/views/datav/subOnedatav/SubOneSceneInsp.vue new file mode 100644 index 0000000..fa1aab7 --- /dev/null +++ b/src/views/datav/subOnedatav/SubOneSceneInsp.vue @@ -0,0 +1,1360 @@ + + + + + \ No newline at end of file diff --git a/src/views/datav/subOnedatav/SubOneVideoInsp.vue b/src/views/datav/subOnedatav/SubOneVideoInsp.vue new file mode 100644 index 0000000..f822746 --- /dev/null +++ b/src/views/datav/subOnedatav/SubOneVideoInsp.vue @@ -0,0 +1,722 @@ + + + + + + \ No newline at end of file diff --git a/src/views/datav/subOnedatav/subOneAuditSuper.vue b/src/views/datav/subOnedatav/subOneAuditSuper.vue new file mode 100644 index 0000000..4018f86 --- /dev/null +++ b/src/views/datav/subOnedatav/subOneAuditSuper.vue @@ -0,0 +1,732 @@ + + + + + + + + + + diff --git a/src/views/datav/subOnedatav/subOneRightsComfort.vue b/src/views/datav/subOnedatav/subOneRightsComfort.vue new file mode 100644 index 0000000..148dee5 --- /dev/null +++ b/src/views/datav/subOnedatav/subOneRightsComfort.vue @@ -0,0 +1,751 @@ + + + + + + \ No newline at end of file diff --git a/src/views/datav/subonedatav/SubOneCaseVerif.vue b/src/views/datav/subonedatav/SubOneCaseVerif.vue index 4b7386a..3a2501b 100644 --- a/src/views/datav/subonedatav/SubOneCaseVerif.vue +++ b/src/views/datav/subonedatav/SubOneCaseVerif.vue @@ -341,10 +341,7 @@ function getData() { echarts.registerMap("changsha", changshaMap); const option = ref({ - geo: { - // 是上面注册时的名字哦,registerMap('名字保持一致') - map: "changsha", - }, + tooltip: { trigger: 'item', formatter: function (params) { @@ -413,6 +410,7 @@ const option = ref({ type: "map", map: "changsha", hoverAnimation: true, + roam:true, label: { show: true, color: "white", diff --git a/src/views/datav/subonedatav/SubOneSceneInsp.vue b/src/views/datav/subonedatav/SubOneSceneInsp.vue index fa1aab7..21d8883 100644 --- a/src/views/datav/subonedatav/SubOneSceneInsp.vue +++ b/src/views/datav/subonedatav/SubOneSceneInsp.vue @@ -62,6 +62,7 @@ title="整改率排名" sub-title="已整改/问题数" unit="%" + :label-width="110" /> @@ -115,6 +116,7 @@ title="整改率排名" sub-title="已整改/问题数" unit="%" + :label-width="110" /> @@ -252,6 +254,7 @@ title="问题数排名" sub-title="问题数" :color="colors" + :label-width="110" /> @@ -305,6 +308,7 @@ title="问题数排名" sub-title="问题数" :color="colors" + :label-width="110" /> @@ -946,9 +950,7 @@ const wtlxPieOption = computed(() => { echarts.registerMap("changsha", changshaMap); const superviseTempMapVoList = ref([]); const option = ref({ - geo: { - map: "changsha", - }, + tooltip: { trigger: 'item', formatter: function (params) { @@ -1010,6 +1012,7 @@ const option = ref({ type: "map", map: "changsha", hoverAnimation: true, + roam:true, label: { show: true, color: "white", diff --git a/src/views/datav/subonedatav/SubOneVideoInsp.vue b/src/views/datav/subonedatav/SubOneVideoInsp.vue index f822746..b699903 100644 --- a/src/views/datav/subonedatav/SubOneVideoInsp.vue +++ b/src/views/datav/subonedatav/SubOneVideoInsp.vue @@ -61,6 +61,7 @@ :data="jsdwRankList" :max="11" size="large" + :color="colors" /> @@ -414,10 +415,7 @@ const proTrend = ref({ }); echarts.registerMap("changsha", changshaMap); const option = ref({ - geo: { - map: "changsha", - }, tooltip: { trigger: 'item', formatter: function (params) { @@ -476,6 +474,7 @@ const option = ref({ name: "长沙", type: "map", map: "changsha", + roam:true, hoverAnimation: true, label: { show: true,