fix: BUG修改
This commit is contained in:
parent
e8a62defc5
commit
386d714c3e
@ -13,7 +13,7 @@ NODE_ENV = 'development'
|
|||||||
# 沈阳合盈线上
|
# 沈阳合盈线上
|
||||||
# VITE_API_URL = "http://101.43.164.214:45022"
|
# VITE_API_URL = "http://101.43.164.214:45022"
|
||||||
# 演示平台
|
# 演示平台
|
||||||
VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
|
# VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
|
||||||
# 百色七参数线上地址
|
# 百色七参数线上地址
|
||||||
# VITE_API_URL = 'http://101.43.164.214:11111'
|
# VITE_API_URL = 'http://101.43.164.214:11111'
|
||||||
# 七参数标准版(测试平台)
|
# 七参数标准版(测试平台)
|
||||||
@ -21,7 +21,7 @@ VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
|
|||||||
# 七参数标准版(测试平台)
|
# 七参数标准版(测试平台)
|
||||||
# VITE_API_URL = 'http://182.90.224.237:15551'
|
# VITE_API_URL = 'http://182.90.224.237:15551'
|
||||||
# agjt
|
# agjt
|
||||||
# VITE_API_URL = 'http://47.93.215.234:9809'
|
VITE_API_URL = 'http://47.93.215.234:9809'
|
||||||
# 上传
|
# 上传
|
||||||
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
|
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
|
||||||
|
|
||||||
|
|||||||
@ -15,13 +15,13 @@ NODE_ENV = "production"
|
|||||||
# VITE_API_URL = 'http://101.43.164.214:11111'
|
# VITE_API_URL = 'http://101.43.164.214:11111'
|
||||||
|
|
||||||
# 七参数标准版(演示平台)
|
# 七参数标准版(演示平台)
|
||||||
VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
|
# VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
|
||||||
# 七参数标准版(测试平台)
|
# 七参数标准版(测试平台)
|
||||||
# VITE_API_URL = 'http://jxj.zhgdyun.com:15551'
|
# VITE_API_URL = 'http://jxj.zhgdyun.com:15551'
|
||||||
# 七参数标准版(测试平台)
|
# 七参数标准版(测试平台)
|
||||||
# VITE_API_URL = 'http://182.90.224.237:15551'
|
# VITE_API_URL = 'http://182.90.224.237:15551'
|
||||||
# agjt
|
# agjt
|
||||||
# VITE_API_URL = 'http://47.93.215.234:9809'
|
VITE_API_URL = 'http://47.93.215.234:9809'
|
||||||
|
|
||||||
# 打包
|
# 打包
|
||||||
VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url='
|
VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url='
|
||||||
|
|||||||
@ -23,9 +23,9 @@ export const BAIDU_MAP_KEY: string = "";
|
|||||||
export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL;
|
export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL;
|
||||||
|
|
||||||
// 项目环境标识配置 部署时需更改对应的项目
|
// 项目环境标识配置 部署时需更改对应的项目
|
||||||
export const COMPANY: string = ""; //标准版
|
// export const COMPANY: string = ""; //标准版
|
||||||
// export const COMPANY: string = "as"; //鞍山项目
|
// export const COMPANY: string = "as"; //鞍山项目
|
||||||
// export const COMPANY: string = "agjt"; //鞍钢集团
|
export const COMPANY: string = "agjt"; //鞍钢集团
|
||||||
// export const COMPANY: string = "hfqc"; //合肥启程项目
|
// export const COMPANY: string = "hfqc"; //合肥启程项目
|
||||||
// export const COMPANY: string = "jsyc"; // 江苏盐城项目
|
// export const COMPANY: string = "jsyc"; // 江苏盐城项目
|
||||||
// export const COMPANY: string = "syhy"; //沈阳合盈盘锦项目 (需要去src\routers\modules\staticRouter.ts更换首页)
|
// export const COMPANY: string = "syhy"; //沈阳合盈盘锦项目 (需要去src\routers\modules\staticRouter.ts更换首页)
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="num">{{ totalNum }}</div>
|
<!-- <div class="num">{{ totalNum }}</div> -->
|
||||||
<div class="styleImg"></div>
|
<div class="styleImg"></div>
|
||||||
<div id="echartsTest" style="width: 100%; height: 100%"></div>
|
<div id="echartsTest" style="width: 100%; height: 100%"></div>
|
||||||
<div class="selectRight">
|
<div class="selectRight">
|
||||||
@ -287,7 +287,7 @@ const seriesOption = reactive([
|
|||||||
name: "",
|
name: "",
|
||||||
type: "pie",
|
type: "pie",
|
||||||
clockWise: false,
|
clockWise: false,
|
||||||
center: ["51%", "51.6%"],
|
center: ["52%", "51%"],
|
||||||
|
|
||||||
radius: [70, 60],
|
radius: [70, 60],
|
||||||
hoverAnimation: false,
|
hoverAnimation: false,
|
||||||
@ -320,7 +320,7 @@ const seriesOption = reactive([
|
|||||||
{
|
{
|
||||||
type: "pie",
|
type: "pie",
|
||||||
radius: [50, 50],
|
radius: [50, 50],
|
||||||
center: ["51%", "51.6%"],
|
center: ["52%", "51%"],
|
||||||
zlevel: 2,
|
zlevel: 2,
|
||||||
silent: true,
|
silent: true,
|
||||||
label: {
|
label: {
|
||||||
@ -341,11 +341,18 @@ const option = reactive({
|
|||||||
// backgroundColor: "#0A2E5D",
|
// backgroundColor: "#0A2E5D",
|
||||||
color: color,
|
color: color,
|
||||||
title: {
|
title: {
|
||||||
text: "出勤总人数",
|
text: 0,
|
||||||
top: "55%",
|
subtext: "出勤总人数",
|
||||||
|
top: "39%",
|
||||||
textAlign: "center",
|
textAlign: "center",
|
||||||
left: "50%",
|
left: "51%",
|
||||||
textStyle: {
|
textStyle: {
|
||||||
|
color: "#fff",
|
||||||
|
fontSize: 24,
|
||||||
|
fontWeight: "400",
|
||||||
|
fontFamily: "sadigitalNumber"
|
||||||
|
},
|
||||||
|
subtextStyle: {
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
fontWeight: "400"
|
fontWeight: "400"
|
||||||
@ -436,7 +443,7 @@ const getEnterpriseInfoList = async () => {
|
|||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 999
|
pageSize: 999
|
||||||
});
|
});
|
||||||
if(res.result.total !== '0'){
|
if (res.result.total !== "0") {
|
||||||
console.log("获取劳务班组公司数据1", res);
|
console.log("获取劳务班组公司数据1", res);
|
||||||
noiseList.value = res.result.records;
|
noiseList.value = res.result.records;
|
||||||
valueName.value = res.result.records[0].enterpriseName;
|
valueName.value = res.result.records[0].enterpriseName;
|
||||||
@ -444,8 +451,7 @@ const getEnterpriseInfoList = async () => {
|
|||||||
getList(enterpriseId.value);
|
getList(enterpriseId.value);
|
||||||
mitts.emit("enterpriseId", enterpriseId.value);
|
mitts.emit("enterpriseId", enterpriseId.value);
|
||||||
} else {
|
} else {
|
||||||
mitts.emit("enterpriseId", '无数据');
|
mitts.emit("enterpriseId", "无数据");
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
//切换企业
|
//切换企业
|
||||||
@ -469,6 +475,7 @@ const getList = async val => {
|
|||||||
for (let i = 0; i < res.result.length; i++) {
|
for (let i = 0; i < res.result.length; i++) {
|
||||||
totalNum.value += res.result[i].attendancePersonTotal; // 累加字段值
|
totalNum.value += res.result[i].attendancePersonTotal; // 累加字段值
|
||||||
}
|
}
|
||||||
|
option.title.text = totalNum.value;
|
||||||
}
|
}
|
||||||
draw();
|
draw();
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<Card title="部门管理人员出勤分析">
|
<Card title="部门管理人员出勤分析">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="num">{{ max }}</div>
|
<!-- <div class="num">{{ max }}</div> -->
|
||||||
<div class="styleImg"></div>
|
<div class="styleImg"></div>
|
||||||
<div id="echartsRight" style="width: 100%; height: 100%"></div>
|
<div id="echartsRight" style="width: 100%; height: 100%"></div>
|
||||||
<div class="rightHeader">
|
<div class="rightHeader">
|
||||||
@ -180,7 +180,7 @@ function initOption() {
|
|||||||
{
|
{
|
||||||
name: "",
|
name: "",
|
||||||
type: "pie",
|
type: "pie",
|
||||||
center: ["26%", "52%"],
|
center: ["27%", "50%"],
|
||||||
clockWise: false,
|
clockWise: false,
|
||||||
radius: [70, 60],
|
radius: [70, 60],
|
||||||
hoverAnimation: false,
|
hoverAnimation: false,
|
||||||
@ -195,7 +195,7 @@ function initOption() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "pie",
|
type: "pie",
|
||||||
center: ["26%", "52%"],
|
center: ["27%", "50%"],
|
||||||
|
|
||||||
radius: [50, 50],
|
radius: [50, 50],
|
||||||
zlevel: 2,
|
zlevel: 2,
|
||||||
@ -220,16 +220,22 @@ function initOption() {
|
|||||||
center: ["27%", "45%"],
|
center: ["27%", "45%"],
|
||||||
|
|
||||||
title: {
|
title: {
|
||||||
text: "出勤总人数",
|
text: max.value,
|
||||||
top: "128",
|
subtext: "出勤总人数",
|
||||||
|
top: "90",
|
||||||
textAlign: "center",
|
textAlign: "center",
|
||||||
left: "25%",
|
left: "26%",
|
||||||
textStyle: {
|
textStyle: {
|
||||||
|
color: "#fff",
|
||||||
|
fontSize: 24,
|
||||||
|
fontWeight: "400",
|
||||||
|
fontFamily: "sadigitalNumber"
|
||||||
|
},
|
||||||
|
subtextStyle: {
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
fontWeight: "400"
|
fontWeight: "400"
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
show: true
|
show: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user