|
|
|
@ -7,367 +7,656 @@
|
|
|
|
|
* @LastEditTime: 2023-09-06 11:07:37
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<div class="container-main" ref="main">
|
|
|
|
|
<div class="enforce-the-law-title">
|
|
|
|
|
<div class="filtrate-condition">
|
|
|
|
|
<div class="select-input">
|
|
|
|
|
<div class="select-span">年份:</div>
|
|
|
|
|
<el-select v-model="form.year" placeholder="请选择">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in options"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="select-input">
|
|
|
|
|
<div class="select-span">区划:</div>
|
|
|
|
|
<el-select v-model="form.compartment" placeholder="请选择">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in options"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.value">
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="my-checkbox">
|
|
|
|
|
<el-checkbox-group v-model="checkList" @change="setmealSelect">
|
|
|
|
|
<el-checkbox label="全部"></el-checkbox>
|
|
|
|
|
<el-checkbox label="已执法"></el-checkbox>
|
|
|
|
|
<el-checkbox label="未执法"></el-checkbox>
|
|
|
|
|
</el-checkbox-group>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="container-main" ref="main">
|
|
|
|
|
<div class="enforce-the-law-title">
|
|
|
|
|
<div class="filtrate-condition">
|
|
|
|
|
<div class="select-input">
|
|
|
|
|
<div class="select-span">年份:</div>
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="form.plannedYear"
|
|
|
|
|
type="month"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
value-format="yyyy-MM"
|
|
|
|
|
size="small"
|
|
|
|
|
>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="select-input">
|
|
|
|
|
<div class="select-span">区划:</div>
|
|
|
|
|
|
|
|
|
|
<el-cascader
|
|
|
|
|
v-model="form.district"
|
|
|
|
|
:options="compartment"
|
|
|
|
|
:show-all-levels="false"
|
|
|
|
|
:props="{
|
|
|
|
|
value: 'subdistrict', //匹配响应数据中的id
|
|
|
|
|
label: 'institutionName', //匹配响应数据中的name
|
|
|
|
|
children: 'children',
|
|
|
|
|
}"
|
|
|
|
|
></el-cascader>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="my-checkbox">
|
|
|
|
|
<el-checkbox-group v-model="checkList" @change="setmealSelect">
|
|
|
|
|
<el-checkbox label="全部"></el-checkbox>
|
|
|
|
|
<el-checkbox label="已执法"></el-checkbox>
|
|
|
|
|
<el-checkbox label="未执法"></el-checkbox>
|
|
|
|
|
</el-checkbox-group>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="display: flex">
|
|
|
|
|
<div class="export" @click="searchList" style="margin-right: 10px">
|
|
|
|
|
<span>搜索</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="export" @click="exportFile">
|
|
|
|
|
<img src="@/assets/images/export.png" alt="">
|
|
|
|
|
<img src="@/assets/images/export.png" alt="" />
|
|
|
|
|
<span>导出excel</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tables">
|
|
|
|
|
<el-table
|
|
|
|
|
:data="tableData"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
:height="484"
|
|
|
|
|
:border="false"
|
|
|
|
|
:row-class-name="tableRowClassName"
|
|
|
|
|
:cell-style="columnStyle"
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tables">
|
|
|
|
|
<el-table
|
|
|
|
|
:data="tableData"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
:height="484"
|
|
|
|
|
:border="false"
|
|
|
|
|
v-loading="loads"
|
|
|
|
|
:row-class-name="tableRowClassName"
|
|
|
|
|
:cell-style="columnStyle"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="plannedYear"
|
|
|
|
|
label="计划年份"
|
|
|
|
|
width="180"
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="date"
|
|
|
|
|
label="计划年份"
|
|
|
|
|
width="180"
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="address"
|
|
|
|
|
label="行政区划"
|
|
|
|
|
width="180"
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="frim"
|
|
|
|
|
label="企业名称"
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="state"
|
|
|
|
|
label="状态"
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="操作"
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div class="tabs-btns">
|
|
|
|
|
<div class="look" @click="look(scope.row)">
|
|
|
|
|
<span>查看执法详情</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="district"
|
|
|
|
|
label="行政区划"
|
|
|
|
|
width="180"
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="entprName"
|
|
|
|
|
label="企业名称"
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="state" label="状态" header-align="center">
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" header-align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div class="tabs-btns">
|
|
|
|
|
<div class="look" @click="look(scope.row)">
|
|
|
|
|
<span>查看执法详情</span>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pagination">
|
|
|
|
|
<my-pagination :total="28" @pagesChange="pagesChange"></my-pagination>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<div class="pagination">
|
|
|
|
|
<my-pagination :total="total" @pagesChange="pagesChange"></my-pagination>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 查看 -->
|
|
|
|
|
<el-dialog
|
|
|
|
|
:visible.sync="addShow"
|
|
|
|
|
:show-close="false"
|
|
|
|
|
:destroy-on-close="true"
|
|
|
|
|
:close-on-click-modal="false"
|
|
|
|
|
append-to-body
|
|
|
|
|
custom-class="dialog-boxed"
|
|
|
|
|
width="50%"
|
|
|
|
|
>
|
|
|
|
|
<div class="dialog-slot">
|
|
|
|
|
<div class="closeClick">
|
|
|
|
|
<div class="newplan">
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="span">执法详情</div>
|
|
|
|
|
</div>
|
|
|
|
|
<img src="@/assets/images/close.png" alt="" @click="shutDownDetail" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content">
|
|
|
|
|
<div class="filtrate">
|
|
|
|
|
<el-descriptions :column="2" border v-loading="detailLoad">
|
|
|
|
|
<el-descriptions-item
|
|
|
|
|
:label="item.label"
|
|
|
|
|
v-for="(item, index) in listDes"
|
|
|
|
|
:key="index"
|
|
|
|
|
>
|
|
|
|
|
{{ item.value }}
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import myPagination from "@/views/components/myPagination/index.vue"
|
|
|
|
|
export default {
|
|
|
|
|
components:{myPagination},
|
|
|
|
|
name: "Article",
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
tableData: [{
|
|
|
|
|
date: '2022年',
|
|
|
|
|
name: '王小虎',
|
|
|
|
|
address: '苏州',
|
|
|
|
|
frim:'扬子石化有限公司',
|
|
|
|
|
state:'未执法'
|
|
|
|
|
}, {
|
|
|
|
|
date: '2022年',
|
|
|
|
|
name: '王小虎',
|
|
|
|
|
address: '张家港市',
|
|
|
|
|
frim:'扬子石化有限公司',
|
|
|
|
|
state:'未执法'
|
|
|
|
|
}, {
|
|
|
|
|
date: '2022年',
|
|
|
|
|
name: '王小虎',
|
|
|
|
|
address: '常熟市',
|
|
|
|
|
frim:'扬子石化有限公司',
|
|
|
|
|
state:'未执法'
|
|
|
|
|
}, {
|
|
|
|
|
date: '2022年',
|
|
|
|
|
name: '王小虎',
|
|
|
|
|
address: '太仓市',
|
|
|
|
|
frim:'扬子石化有限公司',
|
|
|
|
|
state:'未执法'
|
|
|
|
|
}, {
|
|
|
|
|
date: '2022年',
|
|
|
|
|
name: '王小虎',
|
|
|
|
|
address: '昆山市',
|
|
|
|
|
frim:'扬子石化有限公司',
|
|
|
|
|
state:'未执法'
|
|
|
|
|
}, {
|
|
|
|
|
date: '2022年',
|
|
|
|
|
name: '王小虎',
|
|
|
|
|
address: '吴江区',
|
|
|
|
|
frim:'扬子石化有限公司',
|
|
|
|
|
state:'已执法'
|
|
|
|
|
}, {
|
|
|
|
|
date: '2022年',
|
|
|
|
|
name: '王小虎',
|
|
|
|
|
address: '吴中区',
|
|
|
|
|
frim:'扬子石化有限公司',
|
|
|
|
|
state:'已执法'
|
|
|
|
|
}, {
|
|
|
|
|
date: '2022年',
|
|
|
|
|
name: '王小虎',
|
|
|
|
|
address: '姑苏区',
|
|
|
|
|
frim:'扬子石化有限公司',
|
|
|
|
|
state:'已执法'
|
|
|
|
|
}, {
|
|
|
|
|
date: '2022年',
|
|
|
|
|
name: '王小虎',
|
|
|
|
|
address: '相城区',
|
|
|
|
|
frim:'扬子石化有限公司',
|
|
|
|
|
state:'已执法'
|
|
|
|
|
}, {
|
|
|
|
|
date: '2022年',
|
|
|
|
|
name: '王小虎',
|
|
|
|
|
address: '工业园区',
|
|
|
|
|
frim:'扬子石化有限公司',
|
|
|
|
|
state:'已执法'
|
|
|
|
|
}],
|
|
|
|
|
options:[],
|
|
|
|
|
form:{
|
|
|
|
|
year:'',
|
|
|
|
|
compartment:'',
|
|
|
|
|
import myPagination from "@/views/components/myPagination/index.vue";
|
|
|
|
|
import {
|
|
|
|
|
businessList,
|
|
|
|
|
enforcingDetail,
|
|
|
|
|
xzTree,
|
|
|
|
|
} from "@/api/yingji/keyEnterprise.js";
|
|
|
|
|
export default {
|
|
|
|
|
components: { myPagination },
|
|
|
|
|
name: "Article",
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
tableData: [],
|
|
|
|
|
loads: true,
|
|
|
|
|
total: 0,
|
|
|
|
|
options: [],
|
|
|
|
|
form: {
|
|
|
|
|
district: "",
|
|
|
|
|
plannedYear: "",
|
|
|
|
|
//检测状态
|
|
|
|
|
checkStatus: "",
|
|
|
|
|
},
|
|
|
|
|
checkList: ["全部"],
|
|
|
|
|
checkListTwo: [],
|
|
|
|
|
listDes: [
|
|
|
|
|
{
|
|
|
|
|
eng: "bizAddr",
|
|
|
|
|
label: "生产经营地址",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "bossEmail",
|
|
|
|
|
label: "主要负责人电子邮箱",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "bossMobtel",
|
|
|
|
|
label: "主要负责人移动电话",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "bossTel",
|
|
|
|
|
label: "主要负责人固定电话",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "cseNum",
|
|
|
|
|
label: "注册安全工程师人员数量",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
eng: "doublePreven",
|
|
|
|
|
label: "是否开展双重预防机制",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "ecoTypeLarge",
|
|
|
|
|
label: "经济类型大类",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
checkList: ['全部'],
|
|
|
|
|
checkListTwo: [],
|
|
|
|
|
};
|
|
|
|
|
{
|
|
|
|
|
eng: "ecoTypeSmall",
|
|
|
|
|
label: "经济类型小类",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "employeeNum",
|
|
|
|
|
label: "从业人员数量",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "enterColorChart",
|
|
|
|
|
label: "企业分色图",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "entprName",
|
|
|
|
|
label: "企业名称",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "floorArea",
|
|
|
|
|
label: "占地面积",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "fullEmegNum",
|
|
|
|
|
label: "专职应急管理人员数量",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "fullSafety",
|
|
|
|
|
label: "是否有专职安全人员",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "fullSafetyNum",
|
|
|
|
|
label: "专职安全生产管理人员数量",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "gridCode",
|
|
|
|
|
label: "网格编码",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "infoYear",
|
|
|
|
|
label: "数据年份",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "isPoint",
|
|
|
|
|
label: "是否重点",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "legalPerson",
|
|
|
|
|
label: "法定代表人",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "majorHazardInstallations",
|
|
|
|
|
label: "是否存在重大危险源",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "majorHazardLevel",
|
|
|
|
|
label: "重大危险源等级",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "operatingStatus",
|
|
|
|
|
label: "经营状态",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "regAddr",
|
|
|
|
|
label: "注册地址",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "uscCode",
|
|
|
|
|
label: "统一社会信用代码",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
searchBefore: {
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
},
|
|
|
|
|
details: {},
|
|
|
|
|
addShow: false,
|
|
|
|
|
detailLoad: true,
|
|
|
|
|
compartment: [],
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.getList();
|
|
|
|
|
this.xzList();
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
xzList() {
|
|
|
|
|
xzTree().then((res) => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
this.compartment = res.data;
|
|
|
|
|
this.filterComparment(this.compartment);
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// watch: {
|
|
|
|
|
// checkListTwo:{
|
|
|
|
|
// handler(newArray,oldArray){
|
|
|
|
|
// console.log(newArray,'newArray')
|
|
|
|
|
// console.log(oldArray,'oldArray')
|
|
|
|
|
// },
|
|
|
|
|
// deep:true,
|
|
|
|
|
// immediate:true,
|
|
|
|
|
// }
|
|
|
|
|
// },
|
|
|
|
|
methods: {
|
|
|
|
|
// 多选框变化事件
|
|
|
|
|
setmealSelect(){
|
|
|
|
|
this.checkList = this.checkList.slice(-1);
|
|
|
|
|
if(this.checkList.length > 0) {
|
|
|
|
|
this.checkListTwo = this.checkList;
|
|
|
|
|
this.changeList()
|
|
|
|
|
filterComparment(e) {
|
|
|
|
|
e.forEach((value, index) => {
|
|
|
|
|
if (value.children.length >= 1) {
|
|
|
|
|
this.filterComparment(value.children);
|
|
|
|
|
} else {
|
|
|
|
|
this.checkList = this.checkListTwo
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
changeList(){
|
|
|
|
|
console.log(this.checkList[0]) // 拿到需要筛选的值
|
|
|
|
|
},
|
|
|
|
|
// tabs不同行给不同class
|
|
|
|
|
tableRowClassName({row, rowIndex}) {
|
|
|
|
|
if (rowIndex % 2 !== 0) {
|
|
|
|
|
return 'success-row';
|
|
|
|
|
delete value.children;
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
return '';
|
|
|
|
|
},
|
|
|
|
|
// 根据状态数据修改字体颜色
|
|
|
|
|
columnStyle({ row, column, rowIndex, columnIndex }) {
|
|
|
|
|
if (columnIndex == 3) {
|
|
|
|
|
if(row.state == '未执法') {
|
|
|
|
|
return "color: #F71052"
|
|
|
|
|
} else if(row.state == '已执法') {
|
|
|
|
|
return "color: #23B06C"
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
shutDownDetail() {
|
|
|
|
|
this.addShow = false;
|
|
|
|
|
},
|
|
|
|
|
look(e) {
|
|
|
|
|
this.addShow = true;
|
|
|
|
|
this.detailLoad = true;
|
|
|
|
|
businessList({ uscCode: e.enterpriseId, ...this.searchBefore }).then(
|
|
|
|
|
(res) => {
|
|
|
|
|
this.details = res.data.list[0];
|
|
|
|
|
this.detailLoad = false;
|
|
|
|
|
for (let key in this.details) {
|
|
|
|
|
this.listDes.forEach((value1, index1) => {
|
|
|
|
|
if (key == value1.eng) {
|
|
|
|
|
this.listDes[index1].value = this.details[key];
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 页码,当前页切换事件
|
|
|
|
|
pagesChange(pages){
|
|
|
|
|
console.log(pages)
|
|
|
|
|
},
|
|
|
|
|
// 导出
|
|
|
|
|
exportFile(){
|
|
|
|
|
// console.log(this.multipleSelection)
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
searchList() {
|
|
|
|
|
this.form.district = this.form.district[this.form.district.length-1]
|
|
|
|
|
this.searchBefore = Object.assign(this.searchBefore, this.form);
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
getList() {
|
|
|
|
|
this.loads = true;
|
|
|
|
|
enforcingDetail(this.searchBefore).then((res) => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
this.tableData = res.data.list;
|
|
|
|
|
this.total = res.data.total;
|
|
|
|
|
this.loads = false;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 多选框变化事件
|
|
|
|
|
setmealSelect() {
|
|
|
|
|
this.checkList = this.checkList.slice(-1);
|
|
|
|
|
if (this.checkList.length > 0) {
|
|
|
|
|
this.checkListTwo = this.checkList;
|
|
|
|
|
this.changeList();
|
|
|
|
|
} else {
|
|
|
|
|
this.checkList = this.checkListTwo;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
changeList() {
|
|
|
|
|
console.log(this.checkList[0]); // 拿到需要筛选的值
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
this.checkListTwo = this.checkList;
|
|
|
|
|
// this.$nextTick(()=>{
|
|
|
|
|
// let dom = document.getElementsByClassName('tables');
|
|
|
|
|
// let height = dom[0].getBoundingClientRect();
|
|
|
|
|
// let windowHeight = window.innerHeight;
|
|
|
|
|
// let relativeHeight = windowHeight - height.top
|
|
|
|
|
// this.main.height = relativeHeight - 80
|
|
|
|
|
// })
|
|
|
|
|
// tabs不同行给不同class
|
|
|
|
|
tableRowClassName({ row, rowIndex }) {
|
|
|
|
|
if (rowIndex % 2 !== 0) {
|
|
|
|
|
return "success-row";
|
|
|
|
|
}
|
|
|
|
|
return "";
|
|
|
|
|
},
|
|
|
|
|
// 根据状态数据修改字体颜色
|
|
|
|
|
columnStyle({ row, column, rowIndex, columnIndex }) {
|
|
|
|
|
if (columnIndex == 3) {
|
|
|
|
|
if (row.state == "未执法") {
|
|
|
|
|
return "color: #F71052";
|
|
|
|
|
} else if (row.state == "已执法") {
|
|
|
|
|
return "color: #23B06C";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 页码,当前页切换事件
|
|
|
|
|
pagesChange(pages) {
|
|
|
|
|
console.log(pages);
|
|
|
|
|
this.searchBefore.pageNum = pages.current;
|
|
|
|
|
this.searchBefore.pageSize = pages.size;
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
// 导出
|
|
|
|
|
exportFile() {
|
|
|
|
|
// console.log(this.multipleSelection)
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
this.checkListTwo = this.checkList;
|
|
|
|
|
// this.$nextTick(()=>{
|
|
|
|
|
// let dom = document.getElementsByClassName('tables');
|
|
|
|
|
// let height = dom[0].getBoundingClientRect();
|
|
|
|
|
// let windowHeight = window.innerHeight;
|
|
|
|
|
// let relativeHeight = windowHeight - height.top
|
|
|
|
|
// this.main.height = relativeHeight - 80
|
|
|
|
|
// })
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.container-main {
|
|
|
|
|
// height: calc(100vh - 84px);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
padding: 0 20px;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
.enforce-the-law-title {
|
|
|
|
|
.dialog-slot {
|
|
|
|
|
.closeClick {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
padding: 10px 20px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
text-align: center;
|
|
|
|
|
background: #f8f9fa;
|
|
|
|
|
box-shadow: 0px 1px 0px 0px #dbe0e8;
|
|
|
|
|
background-color: #e0eaf8;
|
|
|
|
|
img {
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
.newplan {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 31px 0 12px 0;
|
|
|
|
|
.filtrate-condition {
|
|
|
|
|
.line {
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
width: 5px;
|
|
|
|
|
height: 16px;
|
|
|
|
|
background-color: #1e70de;
|
|
|
|
|
}
|
|
|
|
|
.span {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-family: "Alibaba PuHuiTi";
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #1e70de;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.content {
|
|
|
|
|
// padding: 15px 10px;
|
|
|
|
|
.filtrate {
|
|
|
|
|
padding-bottom: 10px;
|
|
|
|
|
.select-input {
|
|
|
|
|
// margin-right: 10px;
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
.select-input {
|
|
|
|
|
margin-right: 20px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
.select-span {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: 'Alibaba PuHuiTi';
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #525966;
|
|
|
|
|
line-height: 40px;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
.select-span {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-family: "Alibaba PuHuiTi";
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #525966;
|
|
|
|
|
// line-height: 40px;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-select,
|
|
|
|
|
.el-cascader {
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
width: 180px;
|
|
|
|
|
.el-input__inner {
|
|
|
|
|
height: 33px;
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-select {
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
width: 210px;
|
|
|
|
|
.el-input__inner {
|
|
|
|
|
height: 33px;
|
|
|
|
|
}
|
|
|
|
|
// border-radius: 2px;
|
|
|
|
|
.el-input .el-input__suffix .el-input__suffix-inner .el-icon-arrow-up::before {
|
|
|
|
|
content: "";
|
|
|
|
|
background: url(../../assets/images/down2.png) center center no-repeat;
|
|
|
|
|
background-size: cover;
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 10px;
|
|
|
|
|
height: 7px;
|
|
|
|
|
top: 50%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
}
|
|
|
|
|
// border-radius: 2px;
|
|
|
|
|
.el-input
|
|
|
|
|
.el-input__suffix
|
|
|
|
|
.el-input__suffix-inner
|
|
|
|
|
.el-icon-arrow-up::before {
|
|
|
|
|
content: "";
|
|
|
|
|
background: url(../../assets/images/down2.png) center center
|
|
|
|
|
no-repeat;
|
|
|
|
|
background-size: cover;
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 10px;
|
|
|
|
|
height: 7px;
|
|
|
|
|
top: 50%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.my-checkbox {
|
|
|
|
|
margin-left: 50px;
|
|
|
|
|
::v-deep .el-checkbox-group {
|
|
|
|
|
.el-checkbox__label {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: 'Alibaba PuHuiTi';
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #525966;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.select-input {
|
|
|
|
|
width: 45%;
|
|
|
|
|
::v-deep .el-input {
|
|
|
|
|
.el-input__inner {
|
|
|
|
|
height: 33px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.export {
|
|
|
|
|
.select-btn {
|
|
|
|
|
width: 80px;
|
|
|
|
|
height: 33px;
|
|
|
|
|
background: #2378ec;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: 6px 19px;
|
|
|
|
|
background-color: #2378EC;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
img {
|
|
|
|
|
width: 22px;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
span {
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: 'Alibaba PuHuiTi';
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
}
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
.select-btn1 {
|
|
|
|
|
background: #28b384;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.tables {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
background-color: #EAF2FD;
|
|
|
|
|
.tabs-btns {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-descriptions-row th {
|
|
|
|
|
width: 20% !important;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: "Alibaba PuHuiTi";
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-descriptions-row td {
|
|
|
|
|
width: 30% !important;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: "Alibaba PuHuiTi";
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
}
|
|
|
|
|
.container-main {
|
|
|
|
|
// height: calc(100vh - 84px);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
padding: 0 20px;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
.enforce-the-law-title {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 31px 0 12px 0;
|
|
|
|
|
.filtrate-condition {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
.select-input {
|
|
|
|
|
margin-right: 20px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
.look {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
span {
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #045FFD;
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-table {
|
|
|
|
|
.success-row {
|
|
|
|
|
background-color: rgba(234, 242, 253, 0.25);
|
|
|
|
|
}
|
|
|
|
|
td {
|
|
|
|
|
height: 42px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
.select-span {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: 'Alibaba PuHuiTi';
|
|
|
|
|
font-family: "Alibaba PuHuiTi";
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #525966;
|
|
|
|
|
line-height: 40px;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
th {
|
|
|
|
|
height: 45px;
|
|
|
|
|
background-color: #EAF2FD;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
font-family: 'Alibaba PuHuiTi';
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #525966;
|
|
|
|
|
.el-checkbox {
|
|
|
|
|
display: none;
|
|
|
|
|
::v-deep .el-select {
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
width: 210px;
|
|
|
|
|
.el-input__inner {
|
|
|
|
|
height: 33px;
|
|
|
|
|
}
|
|
|
|
|
// border-radius: 2px;
|
|
|
|
|
.el-input
|
|
|
|
|
.el-input__suffix
|
|
|
|
|
.el-input__suffix-inner
|
|
|
|
|
.el-icon-arrow-up::before {
|
|
|
|
|
content: "";
|
|
|
|
|
background: url(../../assets/images/down2.png) center center
|
|
|
|
|
no-repeat;
|
|
|
|
|
background-size: cover;
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 10px;
|
|
|
|
|
height: 7px;
|
|
|
|
|
top: 50%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-table::before {
|
|
|
|
|
height: 0;
|
|
|
|
|
.my-checkbox {
|
|
|
|
|
margin-left: 50px;
|
|
|
|
|
::v-deep .el-checkbox-group {
|
|
|
|
|
.el-checkbox__label {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: "Alibaba PuHuiTi";
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #525966;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.pagination {
|
|
|
|
|
margin-top: 40px;
|
|
|
|
|
.export {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: 6px 19px;
|
|
|
|
|
background-color: #2378ec;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
img {
|
|
|
|
|
width: 22px;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
span {
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: "Alibaba PuHuiTi";
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
.tables {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
background-color: #eaf2fd;
|
|
|
|
|
.tabs-btns {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
.look {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
span {
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #045ffd;
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-table {
|
|
|
|
|
.success-row {
|
|
|
|
|
background-color: rgba(234, 242, 253, 0.25);
|
|
|
|
|
}
|
|
|
|
|
td {
|
|
|
|
|
height: 42px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: "Alibaba PuHuiTi";
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #525966;
|
|
|
|
|
}
|
|
|
|
|
th {
|
|
|
|
|
height: 45px;
|
|
|
|
|
background-color: #eaf2fd;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
font-family: "Alibaba PuHuiTi";
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #525966;
|
|
|
|
|
.el-checkbox {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-table::before {
|
|
|
|
|
height: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.pagination {
|
|
|
|
|
margin-top: 40px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|