flx:月度评分综合表 新增单模块得分和扣分

This commit is contained in:
X_Rian 2024-07-01 19:07:58 +08:00
parent 7074de9ad7
commit e15c8c9e0e
4 changed files with 91 additions and 34 deletions

View File

@ -21,7 +21,7 @@ NODE_ENV = "production"
# 七参数标准版(测试平台)
# VITE_API_URL = 'http://182.90.224.237:15551'
# agjt
# VITE_API_URL = 'http://42.180.188.17:9809' #生产环境
VITE_API_URL = 'http://42.180.188.17:9809' #生产环境
# VITE_API_URL = 'http://42.180.188.17:11211' #测试环境
# 苏立信/重庆市南岸区
# VITE_API_URL = 'http://101.43.164.214:11111'
@ -30,7 +30,7 @@ NODE_ENV = "production"
# 中科佳成
# VITE_API_URL = 'http://1.13.185.209:8089'
# 合肥启程(乌丹)
VITE_API_URL = 'http://192.168.100.4:9809'
# VITE_API_URL = 'http://192.168.100.4:9809'
# 打包
VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url='

View File

@ -23,13 +23,13 @@ export const BAIDU_MAP_KEY: string = "";
export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL;
// 项目环境标识配置 部署时需更改对应的项目
export const COMPANY: string = ""; //标准版
// export const COMPANY: string = ""; //标准版
// export const COMPANY: string = "zhzrf"; //中海·臻如府
// export const COMPANY: string = "zsbf"; //中水北方
// export const COMPANY: string = "as"; //鞍山项目
// export const COMPANY: string = "agjt"; //鞍钢集团
// export const COMPANY: string = "agjtLive"; //鞍钢集团现场大屏
// export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏
export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏
// export const COMPANY: string = "agjtProjectKanban"; //鞍钢集团项目看板大屏
// export const COMPANY: string = "agjtOverviewScreen"; //鞍钢集团项目总览
// export const COMPANY: string = "zkjc"; //中科佳成项目

View File

@ -24,8 +24,8 @@ export const staticRouter: RouteRecordRaw[] = [
{
path: "/large",
name: "大屏",
component: () => import("@/views/sevenLargeScreen/indexL.vue"), //七参数标准版
// component: () => import("@/views/commandScreen/indexCommand.vue"), //指挥部大屏
// component: () => import("@/views/sevenLargeScreen/indexL.vue"), //七参数标准版
component: () => import("@/views/commandScreen/indexCommand.vue"), //指挥部大屏
// component: () => import("@/views/agjtLiveScreen/indexLive.vue"), //鞍钢现场大屏
// component: () => import("@/views/overviewScreen/indexCommand.vue"), //总览大屏
// component: () => import("@/views/agjtProjectKanban/indexL.vue"), //鞍钢集团项目看板大屏

View File

@ -14,11 +14,13 @@
<div class="table-one">
<div class="tabList">
<div style="width: 15%; margin: 0 0 0 0">考核分类</div>
<div style="width: 7%; margin: 0 0 0 7%">考核指标</div>
<div style="width: 7%; margin: 0 0 0 18%">指标说明</div>
<div style="width: 7%; margin: 0 0 0 18.5%">单模块权重</div>
<div style="width: 7%; margin: 0 0 0 4%">模块权重</div>
<div style="width: 7%; margin: 0 0 0 1.5%">模块得分</div>
<div style="width: 6%; margin: 0 0 0 7%">考核指标</div>
<div style="width: 6%; margin: 0 0 0 12%">指标说明</div>
<div style="width: 6%; margin: 0 0 0 13.5%">单模块权重</div>
<div style="width: 6%; margin: 0 0 0 2.5%">单模块得分</div>
<div style="width: 6%; margin: 0 0 0 2%">扣除分数</div>
<div style="width: 6%; margin: 0 0 0 2.5%">模块权重</div>
<div style="width: 6%; margin: 0 0 0 2%">模块得分</div>
</div>
<el-scrollbar class="listBox" ref="refScrollbar">
<div class="table-head-nine">
@ -35,6 +37,12 @@
<div style="width: 20%">
<span>{{ item.value }}</span>
</div>
<div style="width: 15%">
<span>{{ item.score }}</span>
</div>
<div style="width: 15%">
<span>{{ item.deduction }}</span>
</div>
</div>
</div>
<div class="category-other" style="width: 10%">
@ -47,7 +55,7 @@
<span v-if="key2 == '隐患治理排查'">{{ countData.hiddenDangerScore || 0 }}</span>
<span v-else-if="key2 == '危大工程'">{{ countData.dangerEngScore || 0 }}</span>
<span v-else-if="key2 == '风险管理'">{{ countData.riskscore || 0 }}</span>
<span v-else-if="key2 == '安全教育'">25</span>
<span v-else-if="key2 == '安全教育'">30</span>
</div>
</div>
<div class="table-head-nine-part1">
@ -63,6 +71,12 @@
<div style="width: 20%">
<span>100%</span>
</div>
<div style="width: 15%">
<span>{{ countData.aiScore || 0 }}</span>
</div>
<div style="width: 15%">
<span>{{ countData.aiDeScore || 0 }}</span>
</div>
</div>
</div>
<div class="category-other" style="width: 10%">
@ -130,28 +144,7 @@ let pageNo = ref(1 as any);
let moreScroll = ref(true as any);
const refScrollbar = ref(null as any); //
const partyMemberList = ref({} as any);
const value = ref({
隐患治理排查: {
隐患整改率: { name: "隐患整改率=已整改(除了待整改和已撤回)/隐患总数不包含排查记录x100%", value: "40%" },
隐患及时整改率: {
name: "及时整改率=状态是已整改(除了待整改和已撤回)的未超期整改的隐患记录数/状态是已整改除了待整改和已撤回的隐患总数x100%",
value: "30%"
},
隐患闭合率: { name: "隐患闭合率=状态是合格的隐患记录/隐患总数x100%", value: "30%" },
项目自检数量: { name: "每周完成项目自检次数\n每周正常7次自检", value: "0%" }
},
危大工程: {
危大工程排查覆盖率: { name: "危大工程排查覆盖率=实际排查天数/应排查天数x100%(在施危大工程应每天排查)", value: "60%" },
旁站记录更新: { name: "实际旁站记录次数/应完成旁站记录x100%(在施危大工程应每天旁站)", value: "40%" }
},
风险管理: {
风险排查执行率: { name: "有排查记录不同的风险/生成待办任务不同的风险x100%", value: "99%" },
风险辨识数量: { name: "排查和待办任务中至少识别3个不同的风险", value: "1%" }
},
安全教育: {
三级入场教育完成率: { name: "三级入场教育完成率=三级教育完成人数/所有在岗人数", value: "100%" }
}
});
const value = ref({});
const countData = ref({} as any);
const projectData = ref({} as any);
//
@ -166,6 +159,70 @@ const getStatScoreFn = async () => {
};
const res: any = await getStatScoreApi(requestData);
countData.value = res.result;
value.value = {
隐患治理排查: {
隐患整改率: {
name: "隐患整改率=已整改(除了待整改和已撤回)/隐患总数不包含排查记录x100%",
value: "40%",
score: res.result.hiddenDangerScoreClz.zgl ? res.result.hiddenDangerScoreClz.zgl : 0,
deduction: res.result.hiddenDangerScoreClz.zglkf ? res.result.hiddenDangerScoreClz.zglkf : 0
},
隐患及时整改率: {
name: "及时整改率=状态是已整改(除了待整改和已撤回)的未超期整改的隐患记录数/状态是已整改除了待整改和已撤回的隐患总数x100%",
value: "30%",
score: res.result.hiddenDangerScoreClz.jszgl ? res.result.hiddenDangerScoreClz.jszgl : 0,
deduction: res.result.hiddenDangerScoreClz.jszglkf ? res.result.hiddenDangerScoreClz.jszglkf : 0
},
隐患闭合率: {
name: "隐患闭合率=状态是合格的隐患记录/隐患总数x100%",
value: "30%",
score: res.result.hiddenDangerScoreClz.bhl ? res.result.hiddenDangerScoreClz.bhl : 0,
deduction: res.result.hiddenDangerScoreClz.bhlkf ? res.result.hiddenDangerScoreClz.bhlkf : 0
},
项目自检数量: {
name: "每周完成项目自检次数\n每周正常7次自检",
value: "0%",
score: res.result.hiddenDangerScoreClz.zj ? res.result.hiddenDangerScoreClz.zj : 0,
deduction: res.result.hiddenDangerScoreClz.zjkf ? res.result.hiddenDangerScoreClz.zjkf : 0
}
},
危大工程: {
危大工程排查覆盖率: {
name: "危大工程排查覆盖率=实际排查天数/应排查天数x100%(在施危大工程应每天排查)",
value: "60%",
score: res.result.dangerEngScoreClz.pcfgl ? res.result.dangerEngScoreClz.pcfgl : 0,
deduction: res.result.dangerEngScoreClz.pcfglkf ? res.result.dangerEngScoreClz.pcfglkf : 0
},
旁站记录更新: {
name: "实际旁站记录次数/应完成旁站记录x100%(在施危大工程应每天旁站)",
value: "40%",
score: res.result.dangerEngScoreClz.pzjl ? res.result.dangerEngScoreClz.pzjl : 0,
deduction: res.result.dangerEngScoreClz.pzjlkf ? res.result.dangerEngScoreClz.pzjlkf : 0
}
},
风险管理: {
风险排查执行率: {
name: "有排查记录不同的风险/生成待办任务不同的风险x100%",
value: "99%",
score: res.result.riskScoreClz.fxpczxl ? res.result.riskScoreClz.fxpczxl : 0,
deduction: res.result.riskScoreClz.fxpczxlkf ? res.result.riskScoreClz.fxpczxlkf : 0
},
风险辨识数量: {
name: "排查和待办任务中至少识别3个不同的风险",
value: "1%",
score: res.result.riskScoreClz.fxbsull ? res.result.riskScoreClz.fxbsull : 0,
deduction: res.result.riskScoreClz.fxbsullkf ? res.result.riskScoreClz.fxbsullkf : 0
}
},
安全教育: {
三级入场教育完成率: {
name: "三级入场教育完成率=三级教育完成人数/所有在岗人数",
value: "100%",
score: res.result.edu ? res.result.edu : 0,
deduction: res.result.eduDe ? res.result.eduDe : 0
}
}
};
};
//