代码提交
This commit is contained in:
parent
776719ba21
commit
a7c749bb18
|
|
@ -155,7 +155,7 @@ function initTable(type, bidCode) {
|
||||||
// 工程质量分析
|
// 工程质量分析
|
||||||
return [
|
return [
|
||||||
{ type: "numbers", title: "序号", width: "10%" }, // 添加序号列
|
{ type: "numbers", title: "序号", width: "10%" }, // 添加序号列
|
||||||
{ field: "projectName", title: "工程名称", align: "center" },
|
{ field: "checkItems", title: "检查项目", align: "center" },
|
||||||
{ field: "projectManager", title: "项目经理", align: "center" },
|
{ field: "projectManager", title: "项目经理", align: "center" },
|
||||||
{ field: "team", title: "施工队伍", align: "center" },
|
{ field: "team", title: "施工队伍", align: "center" },
|
||||||
{ field: "startTime", title: "开始时间", align: "center" },
|
{ field: "startTime", title: "开始时间", align: "center" },
|
||||||
|
|
@ -291,12 +291,12 @@ function initEchartsOne(passRate, noPassRate) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function initEchartsTwo(data) {
|
function initEchartsTwo(data) {
|
||||||
const teams = data.map((item) => item.team);
|
const teams = data.map((item) => item.checkItems);
|
||||||
const scores = data.map((item) => item.score);
|
const scores = data.map((item) => item.score);
|
||||||
|
|
||||||
const option = {
|
const option = {
|
||||||
title: {
|
title: {
|
||||||
text: "队伍得分柱状图",
|
text: "检查项目得分情况",
|
||||||
left: "center",
|
left: "center",
|
||||||
textStyle: {
|
textStyle: {
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue