Browse Source

数据提交

dev-V1.10.0^2
wangmingyong@163.com 50 minutes ago
parent
commit
7884590cb3
  1. 204
      zdxt-web-client/zdxt-admin-plus-ui/src/api/efcode/report/non-registration.ts
  2. 59
      zdxt-web-client/zdxt-admin-plus-ui/src/views/supervision/statistical/home/index.vue

204
zdxt-web-client/zdxt-admin-plus-ui/src/api/efcode/report/non-registration.ts

@ -67,3 +67,207 @@ export const exportNonRegistration = (params: NonRegistrationQuery): AxiosPromis
responseType: 'blob' responseType: 'blob'
}); });
}; };
/** 企业非行政检查扫码排行查询参数 */
export interface NonRegistrationScanRankQuery {
pageNum?: number;
pageSize?: number;
/** 企业名称 */
enterpriseName?: string;
/** 所属区 dictValue */
area?: string;
/** 所属区 dictLabel(用于匹配) */
areaText?: string;
/** 所属街道 dictValue */
street?: string;
/** 所属街道 dictLabel(用于匹配) */
streetText?: string;
/** 开始时间 */
startTime?: string;
/** 结束时间 */
endTime?: string;
}
/** 企业非行政检查扫码排行行 */
export interface NonRegistrationScanRankVo {
/** 企业名称 */
enterpriseName: string;
/** 所属区 */
area?: string;
/** 所属街道 */
street?: string;
/** 非行政扫码次数 */
scanCount?: number | null;
/** 排名 */
rank?: number | null;
}
/** 企业非行政检查扫码排行分页 */
export const listNonRegistrationScanRank = (
params: NonRegistrationScanRankQuery
): AxiosPromise<{ rows: NonRegistrationScanRankVo[]; total: number }> => {
return request({
url: `${BASE_URL}/scanRankList`,
method: 'get',
params
});
};
/** 企业非行政检查扫码排行导出 */
export const exportNonRegistrationScanRank = (params: NonRegistrationScanRankQuery): AxiosPromise<Blob> => {
return request({
url: `${BASE_URL}/exportScanRankList`,
method: 'post',
params,
responseType: 'blob'
});
};
/** 执法人员非行政检查扫码情况查询参数 */
export interface NonRegistrationOfficerScanQuery {
pageNum?: number;
pageSize?: number;
/** 所属区 dictValue */
area?: string;
/** 所属区 dictLabel(用于匹配) */
areaText?: string;
/** 执法人员 */
lawEnforcer?: string;
/** 被入企业 */
enterpriseName?: string;
/** 所属单位 */
bureauDeptName?: string;
/** 入企事项 */
lawEnforcementItemText?: string;
/** 开始时间 */
startTime?: string;
/** 结束时间 */
endTime?: string;
}
/** 执法人员非行政检查扫码情况行 */
export interface NonRegistrationOfficerScanVo {
/** 所属区 */
area?: string;
/** 所属单位 */
bureauDeptName?: string;
/** 执法人员 */
lawEnforcer?: string;
/** 入企时间 */
enforcementTime?: string;
/** 被入企业 */
enterpriseName?: string;
/** 入企事项 */
lawEnforcementItemText?: string;
}
/** 执法人员非行政检查扫码情况分页 */
export const listNonRegistrationOfficerScan = (
params: NonRegistrationOfficerScanQuery
): AxiosPromise<{ rows: NonRegistrationOfficerScanVo[]; total: number }> => {
return request({
url: `${BASE_URL}/officerScanList`,
method: 'get',
params
});
};
/** 执法人员非行政检查扫码情况导出 */
export const exportNonRegistrationOfficerScan = (params: NonRegistrationOfficerScanQuery): AxiosPromise<Blob> => {
return request({
url: `${BASE_URL}/exportOfficerScanList`,
method: 'post',
params,
responseType: 'blob'
});
};
/** 执法人员非行政执法扫码排行查询参数 */
export interface NonRegistrationOfficerRankQuery {
pageNum?: number;
pageSize?: number;
/** 执法人员 */
lawEnforcer?: string;
/** 所属单位 */
bureauDeptName?: string;
/** 开始时间 */
startTime?: string;
/** 结束时间 */
endTime?: string;
}
/** 执法人员非行政执法扫码排行行 */
export interface NonRegistrationOfficerRankVo {
/** 执法人员 */
lawEnforcer?: string;
/** 所属单位 */
bureauDeptName?: string;
/** 非行政执法次数 */
scanCount?: number | null;
/** 排名 */
rank?: number | null;
}
/** 执法人员非行政执法扫码排行分页 */
export const listNonRegistrationOfficerRank = (
params: NonRegistrationOfficerRankQuery
): AxiosPromise<{ rows: NonRegistrationOfficerRankVo[]; total: number }> => {
return request({
url: `${BASE_URL}/officerRankList`,
method: 'get',
params
});
};
/** 执法人员非行政执法扫码排行导出 */
export const exportNonRegistrationOfficerRank = (params: NonRegistrationOfficerRankQuery): AxiosPromise<Blob> => {
return request({
url: `${BASE_URL}/exportOfficerRankList`,
method: 'post',
params,
responseType: 'blob'
});
};
/** 执法单位非行政检查扫码排行查询参数 */
export interface NonRegistrationUnitRankQuery {
pageNum?: number;
pageSize?: number;
/** 所属单位 */
bureauDeptName?: string;
/** 开始时间 */
startTime?: string;
/** 结束时间 */
endTime?: string;
}
/** 执法单位非行政检查扫码排行行 */
export interface NonRegistrationUnitRankVo {
/** 所属单位 */
bureauDeptName?: string;
/** 非行政执法次数 */
scanCount?: number | null;
/** 排名 */
rank?: number | null;
}
/** 执法单位非行政检查扫码排行分页 */
export const listNonRegistrationUnitRank = (
params: NonRegistrationUnitRankQuery
): AxiosPromise<{ rows: NonRegistrationUnitRankVo[]; total: number }> => {
return request({
url: `${BASE_URL}/unitRankList`,
method: 'get',
params
});
};
/** 执法单位非行政检查扫码排行导出 */
export const exportNonRegistrationUnitRank = (params: NonRegistrationUnitRankQuery): AxiosPromise<Blob> => {
return request({
url: `${BASE_URL}/exportUnitRankList`,
method: 'post',
params,
responseType: 'blob'
});
};

59
zdxt-web-client/zdxt-admin-plus-ui/src/views/supervision/statistical/home/index.vue

@ -1288,18 +1288,23 @@ onUnmounted(() => {
/* ========== 右侧 count_wrap ========== */ /* ========== 右侧 count_wrap ========== */
.count_wrap { .count_wrap {
height: 46.65%; display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-auto-rows: minmax(0, 1fr);
gap: clamp(6px, 1.2vh, 12px) 3%;
box-sizing: border-box;
width: 100%; width: 100%;
height: 46.65%;
padding: 2.5% 3% 1.5%;
overflow: hidden; overflow: hidden;
} }
.count_wrap .count_item { .count_wrap .count_item {
display: flex; display: flex;
float: left; align-items: center;
position: relative; position: relative;
margin: 2.5% 0 1.5% 3%; min-width: 0;
width: 45%; min-height: 0;
height: 5rem;
background: linear-gradient(to bottom, transparent 50%, rgba(34, 125, 223, 0.35)); background: linear-gradient(to bottom, transparent 50%, rgba(34, 125, 223, 0.35));
border: 1px solid rgba(26, 86, 151, 0.6); border: 1px solid rgba(26, 86, 151, 0.6);
border-radius: 5px; border-radius: 5px;
@ -1316,62 +1321,56 @@ onUnmounted(() => {
} }
.count_wrap .count_item:first-child { .count_wrap .count_item:first-child {
width: 93%; grid-column: 1 / -1;
}
.count_wrap .count_item:nth-child(even) {
margin-left: 2.5%;
} }
.count_wrap .count_item label { .count_wrap .count_item label {
display: flex; display: flex;
flex: 0 0 48%;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin: 0 2% 0 3%; box-sizing: border-box;
width: 36%; min-width: 0;
height: 100%; height: 100%;
padding: 4% 0;
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.7);
font-size: 0.85rem; font-size: clamp(0.7rem, 0.85vw, 0.85rem);
line-height: 1.5; line-height: 1.5;
white-space: nowrap; white-space: nowrap;
font-weight: normal; font-weight: normal;
} }
.count_wrap .count_item:first-child label { .count_wrap .count_item:first-child label {
margin-top: 0; flex-basis: 45%;
width: 45%;
} }
.count_wrap .count_item label > img { .count_wrap .count_item label > img {
display: block; display: block;
margin: 0 auto 8%; flex-shrink: 1;
width: 2.5rem; margin: 0 auto 4%;
height: 2.5rem; width: auto;
max-width: 60%;
height: 45%;
object-fit: contain; object-fit: contain;
} }
.count_wrap .count_item:first-child label > img { .count_wrap .count_item:first-child label > img {
margin: 0 auto 5%; height: 48%;
width: 3rem;
height: 3rem;
} }
.number_count { .number_count {
display: block; display: block;
margin: 0 5%; flex: 1;
width: 60%; min-width: 0;
margin: 0 5% 0 0;
background-image: linear-gradient(to right, #f7fbfd, #2ba4b3); background-image: linear-gradient(to right, #f7fbfd, #2ba4b3);
-webkit-background-clip: text; -webkit-background-clip: text;
color: transparent; color: transparent;
font-size: 1.65rem; font-size: clamp(1rem, 1.4vw, 1.65rem);
font-weight: 550; font-weight: 550;
line-height: 3; line-height: 1.2;
} white-space: nowrap;
.count_wrap .count_item:first-child .number_count {
margin: 0 0 0 5%;
width: 50%;
} }
/* ========== 底部 ========== */ /* ========== 底部 ========== */

Loading…
Cancel
Save