|
@@ -125,15 +125,88 @@
|
|
|
</div>
|
|
|
<!-- 驿站详情 -->
|
|
|
<div class="site-info-box" v-if="searchType == 'site' && nowCheckSite.siteID != null">
|
|
|
- <p class="font-size-16 font-weight-600 margin-bottom-10">{{ nowCheckSite.siteName }}</p>
|
|
|
- <p class="margin-bottom-3">驿站编号:{{ nowCheckSite.siteCode }}</p>
|
|
|
- <p class="margin-bottom-3">地点:{{ nowCheckSite.detailAddress }}</p>
|
|
|
- <p class="margin-bottom-3">联系电话:{{ nowCheckSite.fzrMobile }}</p>
|
|
|
- <p class="margin-bottom-8">站长:{{ nowCheckSite.fzrName }}</p>
|
|
|
- <p class="margin-bottom-3">企业:{{ siteDataCount.companyCount }}家</p>
|
|
|
- <p class="margin-bottom-3">岗位:{{ siteDataCount.postCount }}个</p>
|
|
|
- <p class="margin-bottom-3">登记求职人员:{{ siteDataCount.jobUserCount }}人</p>
|
|
|
- <p class="margin-bottom-3">站点工作人员:{{ nowCheckSite.siteUsers.length }}人</p>
|
|
|
+ <p class="font-size-16 font-weight-600 margin-bottom-10 text-align-center">
|
|
|
+ {{ nowCheckSite.siteName }}
|
|
|
+ ({{ nowCheckSite.siteCode }})
|
|
|
+ </p>
|
|
|
+ <div class="w-full flex-box items-start margin-bottom-3">
|
|
|
+ <img :src="th" alt="" style="width: 23px; height: 20px;" class="margin-right-3"/>
|
|
|
+ <span class="font-size-14 white-space-normal">{{ nowCheckSite.detailAddress }}</span>
|
|
|
+ </div>
|
|
|
+ <div class="avt-info margin-top-10">
|
|
|
+ <img :src="avtO1" alt="">
|
|
|
+ <div>
|
|
|
+ <p>{{ nowCheckSite.fzrName }}(站长)</p>
|
|
|
+ <p>{{ nowCheckSite.fzrMobile }}</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <a-divider></a-divider>
|
|
|
+ <div class="w-full flex-box font-weight-800">
|
|
|
+ <div class="left-item-flag"></div>
|
|
|
+ 建站以来累计
|
|
|
+ </div>
|
|
|
+ <div class="w-full margin-bottom-10 grid-cols-2 text-align-center padding-top-10 gap-y-1">
|
|
|
+ <div>
|
|
|
+ <p class="font-size-18 font-weight-700 ">{{ siteDataCount.allCount.companyCount }}</p>
|
|
|
+ <p class="font-size-12 font-weight-500">服务企业</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <p class="font-size-18 font-weight-700 ">{{ siteDataCount.allCount.postCount }}</p>
|
|
|
+ <p class="font-size-12 font-weight-500">收集岗位</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <p class="font-size-18 font-weight-700 ">{{ siteDataCount.allCount.jobUserCount }}</p>
|
|
|
+ <p class="font-size-12 font-weight-500">服务求职人员(人次)</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <p class="font-size-18 font-weight-700 ">{{ siteDataCount.allCount.jobFairsCount }}</p>
|
|
|
+ <p class="font-size-12 font-weight-500">开展公共就业服务活动(场)</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="w-full flex-box font-weight-800">
|
|
|
+ <div class="left-item-flag"></div>
|
|
|
+ 本年以来累计
|
|
|
+ </div>
|
|
|
+ <div class="w-full margin-bottom-10 grid-cols-2 text-align-center padding-top-10 gap-y-1">
|
|
|
+ <div>
|
|
|
+ <p class="font-size-18 font-weight-700 ">{{ siteDataCount.yearCount.companyCount }}</p>
|
|
|
+ <p class="font-size-12 font-weight-500">服务企业</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <p class="font-size-18 font-weight-700 ">{{ siteDataCount.yearCount.postCount }}</p>
|
|
|
+ <p class="font-size-12 font-weight-500">收集岗位</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <p class="font-size-18 font-weight-700 ">{{ siteDataCount.yearCount.jobUserCount }}</p>
|
|
|
+ <p class="font-size-12 font-weight-500">服务求职人员(人次)</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <p class="font-size-18 font-weight-700 ">{{ siteDataCount.yearCount.jobFairsCount }}</p>
|
|
|
+ <p class="font-size-12 font-weight-500">开展公共就业服务活动(场)</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="w-full flex-box font-weight-800">
|
|
|
+ <div class="left-item-flag"></div>
|
|
|
+ 本月以来累计
|
|
|
+ </div>
|
|
|
+ <div class="w-full margin-bottom-10 grid-cols-2 text-align-center padding-top-10 gap-y-1">
|
|
|
+ <div>
|
|
|
+ <p class="font-size-18 font-weight-700 ">{{ siteDataCount.monthCount.companyCount }}</p>
|
|
|
+ <p class="font-size-12 font-weight-500">服务企业</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <p class="font-size-18 font-weight-700 ">{{ siteDataCount.monthCount.postCount }}</p>
|
|
|
+ <p class="font-size-12 font-weight-500">收集岗位</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <p class="font-size-18 font-weight-700 ">{{ siteDataCount.monthCount.jobUserCount }}</p>
|
|
|
+ <p class="font-size-12 font-weight-500">服务求职人员(人次)</p>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <p class="font-size-18 font-weight-700 ">{{ siteDataCount.monthCount.jobFairsCount }}</p>
|
|
|
+ <p class="font-size-12 font-weight-500">开展公共就业服务活动(场)</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<!-- 驿站人员信息详情 -->
|
|
|
<div class="site-user-info-box" v-if="searchType == 'siteUser' && nowCheckSiteUser.siteUserID != null">
|
|
@@ -179,6 +252,9 @@ import {getRegionCodeList, getStreetCodeList} from "@/api/system/area/index";
|
|
|
import {findSiteDataCount, getDataMapList, getSiteList} from "@/api/baseSettings/siteInfo";
|
|
|
import thIcon from "@/assets/images/blueTh.png"
|
|
|
import {findUserDataCount, getSiteUserDataMapList} from "@/api/baseSettings/userInfo";
|
|
|
+import avtO1 from "@/assets/images/avt01.png";
|
|
|
+import th from "@/assets/images/th1.png";
|
|
|
+import dayjs from "dayjs";
|
|
|
|
|
|
const T = (window as any).T;
|
|
|
const zoom = 9;
|
|
@@ -219,7 +295,26 @@ const nowCheckSite = ref<any>({siteID: null})
|
|
|
// 鼠标经过的站点
|
|
|
const nowMouseenterSite = ref<any>({siteID: null});
|
|
|
// 驿站的业务数据
|
|
|
-const siteDataCount = ref<any>({})
|
|
|
+const siteDataCount = reactive({
|
|
|
+ allCount: {
|
|
|
+ companyCount: 0,
|
|
|
+ postCount: 0,
|
|
|
+ jobUserCount: 0,
|
|
|
+ jobFairsCount: 0,
|
|
|
+ },
|
|
|
+ yearCount: {
|
|
|
+ companyCount: 0,
|
|
|
+ postCount: 0,
|
|
|
+ jobUserCount: 0,
|
|
|
+ jobFairsCount: 0,
|
|
|
+ },
|
|
|
+ monthCount: {
|
|
|
+ companyCount: 0,
|
|
|
+ postCount: 0,
|
|
|
+ jobUserCount: 0,
|
|
|
+ jobFairsCount: 0,
|
|
|
+ }
|
|
|
+})
|
|
|
// 选中的站点
|
|
|
const nowCheckSiteUser = ref<any>({siteUserID: null})
|
|
|
// 鼠标经过的站点
|
|
@@ -447,8 +542,19 @@ function computeMarkerSize(zoomLevel: any) {
|
|
|
// 选择站点
|
|
|
function checkSite(site: any) {
|
|
|
// 查询业务数据数量
|
|
|
- findSiteDataCount(site.siteID).then((result: any) => {
|
|
|
- siteDataCount.value = result;
|
|
|
+ let year = dayjs().format("YYYY");
|
|
|
+ let month = dayjs().format("MM");
|
|
|
+ // 全部
|
|
|
+ findSiteDataCount(site.siteID, null, null).then((result: any) => {
|
|
|
+ siteDataCount.allCount = result;
|
|
|
+ })
|
|
|
+ // 当年
|
|
|
+ findSiteDataCount(site.siteID, year, null).then((result: any) => {
|
|
|
+ siteDataCount.yearCount = result;
|
|
|
+ })
|
|
|
+ // 当月
|
|
|
+ findSiteDataCount(site.siteID, year, month).then((result: any) => {
|
|
|
+ siteDataCount.monthCount = result;
|
|
|
})
|
|
|
nowCheckSite.value = JSON.parse(JSON.stringify(site));
|
|
|
// 关闭地图上的其他信息弹窗
|
|
@@ -459,12 +565,16 @@ function checkSite(site: any) {
|
|
|
if (searchType.value == 'site') {
|
|
|
let winHtml = `
|
|
|
<div >
|
|
|
- <p style="line-height: 12px; font-size: 14px; font-weight: 600">${site.siteName}</p>
|
|
|
- <span style="line-height: 12px;">驿站编号:${site.siteCode}</span>
|
|
|
+ <p style="line-height: 12px; font-size: 14px; font-weight: 600">${site.siteName}(${site.siteCode})</p>
|
|
|
+ <span style="line-height: 12px;">所属区县:${site.regionName}</span>
|
|
|
<br>
|
|
|
- <span style="line-height: 12px;">驿站地址:${site.detailAddress}</span>
|
|
|
+ <span style="line-height: 12px;">运营公司:${site.institutionName}</span>
|
|
|
<br>
|
|
|
- <span style="line-height: 12px;">站点工作人员:${site.siteUsers.length}人</span>
|
|
|
+ <span style="line-height: 12px;">运营公司地址:${site.institutionAddress}</span>
|
|
|
+ <br>
|
|
|
+ <span style="line-height: 12px;">联系人:${site.institutionFzrName}</span>
|
|
|
+ <br>
|
|
|
+ <span style="line-height: 12px;">联系电话:${site.institutionFzrMobile}</span>
|
|
|
</div>
|
|
|
`;
|
|
|
(map as any).openInfoWindow(winHtml, new T.LngLat(site.siteLongitude, site.siteLatitude), {
|
|
@@ -626,6 +736,36 @@ export default {
|
|
|
margin-bottom: 3px;
|
|
|
}
|
|
|
|
|
|
+ .avt-info {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ img {
|
|
|
+ width: 36px;
|
|
|
+ height: 36px;
|
|
|
+ margin-right: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .contact-name {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #292934;
|
|
|
+ }
|
|
|
+
|
|
|
+ .contact-mobile {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #6A6F75;
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .left-item-flag {
|
|
|
+ height: 20px;
|
|
|
+ width: 3px;
|
|
|
+ border-radius: 8px;
|
|
|
+ margin-right: 7px;
|
|
|
+ background: linear-gradient(180deg, #fff, #0094ff);
|
|
|
+ }
|
|
|
+
|
|
|
.ant-btn, .ant-input {
|
|
|
border: none !important;
|
|
|
}
|