|
|
@ -4,31 +4,31 @@
|
|
|
|
<el-col :sm="24" :lg="24">
|
|
|
|
<el-col :sm="24" :lg="24">
|
|
|
|
<blockquote style="font-size: 14px">
|
|
|
|
<blockquote style="font-size: 14px">
|
|
|
|
本年度共有
|
|
|
|
本年度共有
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" >{{
|
|
|
|
yearData.unitNum
|
|
|
|
yearData.unitNum
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
家单位开展安全生产事故隐患排查治理,排查出隐患
|
|
|
|
家单位开展安全生产事故隐患排查治理,排查出隐患
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" @click="haddenClick(1,'')">{{
|
|
|
|
yearData.hiddenDangerNum
|
|
|
|
yearData.hiddenDangerNum
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
项,已整改
|
|
|
|
项,已整改
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" @click="haddenClick(2,'')">{{
|
|
|
|
yearData.haveRectifiedNum
|
|
|
|
yearData.haveRectifiedNum
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
项( 整改率为
|
|
|
|
项( 整改率为
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" >{{
|
|
|
|
yearData.rectifyRate
|
|
|
|
yearData.rectifyRate
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
未整改
|
|
|
|
未整改
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" @click="haddenClick(3,'')">{{
|
|
|
|
yearData.notRectifiedNum
|
|
|
|
yearData.notRectifiedNum
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
项,超期未整改
|
|
|
|
项,超期未整改
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" @click="haddenClick(4,'')">{{
|
|
|
|
yearData.exceedNotRectifiedNum
|
|
|
|
yearData.exceedNotRectifiedNum
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
项,累计落实整改治理资金
|
|
|
|
项,累计落实整改治理资金
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" >{{
|
|
|
|
yearData.rectifyMoneySum
|
|
|
|
yearData.rectifyMoneySum
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
万元。
|
|
|
|
万元。
|
|
|
@ -37,23 +37,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
<div v-for="(item, i) in hiddenList" :key="i">
|
|
|
|
<div v-for="(item, i) in hiddenList" :key="i">
|
|
|
|
累计排查出{{ item.name }}
|
|
|
|
累计排查出{{ item.name }}
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" @click="haddenClick(1,item.hiddenDangerGrade)">{{
|
|
|
|
item.hiddenDangerNum
|
|
|
|
item.hiddenDangerNum
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
项,已整改
|
|
|
|
项,已整改
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" @click="haddenClick(2,item.hiddenDangerGrade)">{{
|
|
|
|
item.haveRectifiedNum
|
|
|
|
item.haveRectifiedNum
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
项(整改率为
|
|
|
|
项(整改率为
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" >{{
|
|
|
|
item.rectifyRate
|
|
|
|
item.rectifyRate
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
),未整改
|
|
|
|
),未整改
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" @click="haddenClick(3,item.hiddenDangerGrade)">{{
|
|
|
|
item.notRectifiedNum
|
|
|
|
item.notRectifiedNum
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
项,超期未整改
|
|
|
|
项,超期未整改
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" @click="haddenClick(4,item.hiddenDangerGrade)">{{
|
|
|
|
item.exceedNotRectifiedNum
|
|
|
|
item.exceedNotRectifiedNum
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
项
|
|
|
|
项
|
|
|
@ -62,23 +62,23 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
其中,列入督办隐患治理项目
|
|
|
|
其中,列入督办隐患治理项目
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" @click="haddenClick(5,'')">{{
|
|
|
|
collectData.hiddenDangerNum
|
|
|
|
collectData.hiddenDangerNum
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
项,已整改
|
|
|
|
项,已整改
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" @click="haddenClick(6,'')">{{
|
|
|
|
collectData.haveRectifiedNum
|
|
|
|
collectData.haveRectifiedNum
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
项(整改率为
|
|
|
|
项(整改率为
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" >{{
|
|
|
|
collectData.rectifyRate
|
|
|
|
collectData.rectifyRate
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
未整改
|
|
|
|
未整改
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" @click="haddenClick(7,'')">{{
|
|
|
|
collectData.notRectifiedNum
|
|
|
|
collectData.notRectifiedNum
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
项,超期未整改
|
|
|
|
项,超期未整改
|
|
|
|
<el-button type="text" @click="haddenClick">{{
|
|
|
|
<el-button type="text" @click="haddenClick(8,'')">{{
|
|
|
|
collectData.exceedNotRectifiedNum
|
|
|
|
collectData.exceedNotRectifiedNum
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
项)
|
|
|
|
项)
|
|
|
@ -127,110 +127,7 @@
|
|
|
|
v-show="showSearch"
|
|
|
|
v-show="showSearch"
|
|
|
|
label-width="68px"
|
|
|
|
label-width="68px"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-form-item label="单位名称" prop="enterpriseName">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="queryParams.enterpriseName"
|
|
|
|
|
|
|
|
placeholder="请输入单位名称"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="隐患等级" prop="hiddenDangerGrade">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="queryParams.hiddenDangerGrade"
|
|
|
|
|
|
|
|
placeholder="请选择隐患等级"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="dict in dict.type.hidden_danger_grade"
|
|
|
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="整改情况" prop="status">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="queryParams.status"
|
|
|
|
|
|
|
|
placeholder="请选择整改情况"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="dict in dict.type.hidden_danger_status"
|
|
|
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="整改期限">
|
|
|
|
|
|
|
|
<el-date-picker
|
|
|
|
|
|
|
|
v-model="queryParams.params.qxStartTime"
|
|
|
|
|
|
|
|
type="date"
|
|
|
|
|
|
|
|
placeholder="选择开始时间"
|
|
|
|
|
|
|
|
format="yyyy-MM-dd"
|
|
|
|
|
|
|
|
value-format="yyyy-MM-dd 00:00:00"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</el-date-picker
|
|
|
|
|
|
|
|
>至
|
|
|
|
|
|
|
|
<el-date-picker
|
|
|
|
|
|
|
|
v-model="queryParams.params.qxEndTime"
|
|
|
|
|
|
|
|
type="date"
|
|
|
|
|
|
|
|
placeholder="选择结束时间"
|
|
|
|
|
|
|
|
format="yyyy-MM-dd"
|
|
|
|
|
|
|
|
value-format="yyyy-MM-dd 23:59:59"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="排查日期">
|
|
|
|
|
|
|
|
<el-date-picker
|
|
|
|
|
|
|
|
v-model="queryParams.params.pcStartTime"
|
|
|
|
|
|
|
|
type="date"
|
|
|
|
|
|
|
|
placeholder="选择开始时间"
|
|
|
|
|
|
|
|
format="yyyy-MM-dd"
|
|
|
|
|
|
|
|
value-format="yyyy-MM-dd 00:00:00"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</el-date-picker
|
|
|
|
|
|
|
|
>至
|
|
|
|
|
|
|
|
<el-date-picker
|
|
|
|
|
|
|
|
v-model="queryParams.params.pcEndTime"
|
|
|
|
|
|
|
|
type="date"
|
|
|
|
|
|
|
|
placeholder="选择结束时间"
|
|
|
|
|
|
|
|
format="yyyy-MM-dd"
|
|
|
|
|
|
|
|
value-format="yyyy-MM-dd 23:59:59"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="整改完成日期">
|
|
|
|
|
|
|
|
<el-date-picker
|
|
|
|
|
|
|
|
v-model="queryParams.params.wcStartTime"
|
|
|
|
|
|
|
|
type="date"
|
|
|
|
|
|
|
|
placeholder="选择开始时间"
|
|
|
|
|
|
|
|
format="yyyy-MM-dd"
|
|
|
|
|
|
|
|
value-format="yyyy-MM-dd 00:00:00"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</el-date-picker
|
|
|
|
|
|
|
|
>至
|
|
|
|
|
|
|
|
<el-date-picker
|
|
|
|
|
|
|
|
v-model="queryParams.params.wcEndTime"
|
|
|
|
|
|
|
|
type="date"
|
|
|
|
|
|
|
|
placeholder="选择结束时间"
|
|
|
|
|
|
|
|
format="yyyy-MM-dd"
|
|
|
|
|
|
|
|
value-format="yyyy-MM-dd 23:59:59"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item>
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
|
|
icon="el-icon-search"
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
@click="handleQuery"
|
|
|
|
|
|
|
|
>搜索</el-button
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
|
|
|
|
|
|
|
>重置</el-button
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" border :data="detailsList">
|
|
|
|
<el-table v-loading="loading" border :data="detailsList">
|
|
|
@ -250,17 +147,16 @@
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
prop="enterpriseName"
|
|
|
|
prop="enterpriseName"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column label="隐患级别" align="center" prop="hiddenDangerGrade">
|
|
|
|
label="隐患类别"
|
|
|
|
<template slot-scope="scope">
|
|
|
|
align="center"
|
|
|
|
<dict-tag :options="dict.type.hidden_danger_grade" :value="scope.row.hiddenDangerGrade"/>
|
|
|
|
prop="hiddenDangerType"
|
|
|
|
</template>
|
|
|
|
/>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column label="隐患类型" align="center" prop="hiddenDangerType">
|
|
|
|
label="隐患级别"
|
|
|
|
<template slot-scope="scope">
|
|
|
|
align="center"
|
|
|
|
<dict-tag :options="dict.type.hidden_danger_type" :value="scope.row.hiddenDangerType"/>
|
|
|
|
prop="hiddenDangerGrade"
|
|
|
|
</template>
|
|
|
|
/>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="公文编号" align="center" prop="docNumber" />
|
|
|
|
|
|
|
|
<el-table-column label="排查出隐患日期" align="center" prop="checkTime">
|
|
|
|
<el-table-column label="排查出隐患日期" align="center" prop="checkTime">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{
|
|
|
|
<span>{{
|
|
|
@ -280,7 +176,14 @@
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
prop="principalName"
|
|
|
|
prop="principalName"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<el-table-column label="整改情况" align="center" prop="status" />
|
|
|
|
<el-table-column label="整改情况" align="center" prop="status" >
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
{{statusToStr(scope.row.status)}}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
|
|
<pagination
|
|
|
|
<pagination
|
|
|
@ -305,10 +208,10 @@
|
|
|
|
detailslist,
|
|
|
|
detailslist,
|
|
|
|
} from "@/api/ehs/IndexStatistics";
|
|
|
|
} from "@/api/ehs/IndexStatistics";
|
|
|
|
import { parseTime } from "@/utils/ruoyi";
|
|
|
|
import { parseTime } from "@/utils/ruoyi";
|
|
|
|
import dict from "@/utils/dict";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "Index",
|
|
|
|
name: "Index",
|
|
|
|
dicts: ["hidden_danger_grade", "hidden_danger_status"],
|
|
|
|
dicts: ["hidden_danger_grade", "hidden_danger_status","hidden_danger_type"],
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
@ -320,6 +223,7 @@
|
|
|
|
queryParams: {
|
|
|
|
queryParams: {
|
|
|
|
pageNum: 1,
|
|
|
|
pageNum: 1,
|
|
|
|
pageSize: 10,
|
|
|
|
pageSize: 10,
|
|
|
|
|
|
|
|
isOverTime:null,
|
|
|
|
params: {
|
|
|
|
params: {
|
|
|
|
qxStartTime: null,
|
|
|
|
qxStartTime: null,
|
|
|
|
qxEndTime: null,
|
|
|
|
qxEndTime: null,
|
|
|
@ -357,7 +261,6 @@
|
|
|
|
this.getIndexDetails();
|
|
|
|
this.getIndexDetails();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
dict,
|
|
|
|
|
|
|
|
parseTime,
|
|
|
|
parseTime,
|
|
|
|
/** 获取拟稿部门下拉列表 */
|
|
|
|
/** 获取拟稿部门下拉列表 */
|
|
|
|
getIndexDetails() {
|
|
|
|
getIndexDetails() {
|
|
|
@ -387,8 +290,34 @@
|
|
|
|
this.queryParams.pageNum = 1;
|
|
|
|
this.queryParams.pageNum = 1;
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
haddenClick() {
|
|
|
|
haddenClick(type,hiddenDangerGrade) {
|
|
|
|
this.open = true;
|
|
|
|
this.open = true;
|
|
|
|
|
|
|
|
this.resetForm("queryForm");
|
|
|
|
|
|
|
|
this.queryParams.isOverTime = null;
|
|
|
|
|
|
|
|
this.queryParams.status = null;
|
|
|
|
|
|
|
|
this.queryParams.hiddenDangerGrade = null;
|
|
|
|
|
|
|
|
this.queryParams.isSupervise = null;
|
|
|
|
|
|
|
|
if(hiddenDangerGrade != ""){
|
|
|
|
|
|
|
|
this.queryParams.hiddenDangerGrade = hiddenDangerGrade;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if(type == 2){//已整改
|
|
|
|
|
|
|
|
this.queryParams.status = "10";
|
|
|
|
|
|
|
|
}else if(type == 3){//未整改isOverTime
|
|
|
|
|
|
|
|
this.queryParams.status = "0";
|
|
|
|
|
|
|
|
}else if(type == 4){//超期未整改
|
|
|
|
|
|
|
|
this.queryParams.isOverTime = "1";
|
|
|
|
|
|
|
|
}else if(type == 5){//列入督办隐患治理项目
|
|
|
|
|
|
|
|
this.queryParams.isSupervise = 1;
|
|
|
|
|
|
|
|
}else if(type == 6){//列入督办隐患治理项目 已整改
|
|
|
|
|
|
|
|
this.queryParams.isSupervise = 1;
|
|
|
|
|
|
|
|
this.queryParams.status = "10";
|
|
|
|
|
|
|
|
}else if(type == 7){//列入督办隐患治理项目 未整改
|
|
|
|
|
|
|
|
this.queryParams.isSupervise = 1;
|
|
|
|
|
|
|
|
this.queryParams.status = "0";
|
|
|
|
|
|
|
|
}else if(type == 8){//列入督办隐患治理项目 未整改
|
|
|
|
|
|
|
|
this.queryParams.isSupervise = 1;
|
|
|
|
|
|
|
|
this.queryParams.isOverTime = "1";
|
|
|
|
|
|
|
|
}
|
|
|
|
this.handleQuery();
|
|
|
|
this.handleQuery();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
@ -415,6 +344,14 @@
|
|
|
|
cancel() {
|
|
|
|
cancel() {
|
|
|
|
this.open = false;
|
|
|
|
this.open = false;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
statusToStr(value) {
|
|
|
|
|
|
|
|
if(value=="0")
|
|
|
|
|
|
|
|
return "未整改"
|
|
|
|
|
|
|
|
else if(value=="10")
|
|
|
|
|
|
|
|
return "已整改"
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
return "未知"
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|