新的功能

zhangtao
laozt 1 year ago
parent aa5274b4f3
commit 3f488360b0

@ -2,7 +2,7 @@
# @Author: 张涛
# @Date: 2023-07-18 13:04:50
# @LastEditors: laozt 2721205210@qq.com
# @LastEditTime: 2024-01-04 09:40:25
# @LastEditTime: 2024-01-09 14:04:56
# @FilePath: \suzhouyingjiPC\.env.development
###
# 页面标题

@ -292,9 +292,9 @@ export default {
},
/** 查询计划企业列表 */
getPlanEnterpriseList() {
listEnterprise(this.queryPlanEnterpriseParams).then((response) => {
this.enterpriseList = response.data;
this.enterpriseTotal = response.data.length;
listEnterprise(this.queryPlanEnterpriseParams).then((res) => {
this.enterpriseList = res.rows;
this.enterpriseTotal = res.total;
});
},
/** 查询企业新列表 */

@ -423,9 +423,9 @@ export default {
},
/** 查询计划企业列表 */
getPlanEnterpriseList() {
listEnterprise(this.queryPlanEnterpriseParams).then((response) => {
this.enterpriseList = response.data;
this.enterpriseTotal = response.data.length;
listEnterprise(this.queryPlanEnterpriseParams).then((res) => {
this.enterpriseList = res.rows;
this.enterpriseTotal = res.total;
});
},
/** 查询企业新列表 */
@ -505,6 +505,9 @@ export default {
}
this.openNew = true;
this.titleNew = "企业补录";
this.$nextTick(() => {
this.$refs.areaCascader.onClear();
});
},
//
resetNew() {

@ -227,9 +227,9 @@ export default {
/** 查询计划企业列表 */
getList() {
this.loading = true;
listEnterprise(this.queryParams).then((response) => {
this.enterpriseList = response.data;
this.total = response.data.length;
listEnterprise(this.queryParams).then((res) => {
this.enterpriseList = res.rows;
this.total = res.total;
this.loading = false;
});
},

@ -157,6 +157,7 @@
<el-table-column label="执法地区" align="center" prop="lawAreas" />
<el-table-column label="执法级别" align="center" prop="lawLevel" />
<el-table-column label="执法层级" align="center" prop="lawHierarchy" />
<el-table-column label="安全风险等级" align="center" prop="riskLevel" />
<el-table-column label="状态" align="center" prop="status">
<template slot-scope="scope">
<span style="color: #28b384" v-if="scope.row.status == 1"
@ -386,10 +387,9 @@ export default {
/** 查询计划企业列表 */
getList() {
this.loading = true;
listEnterprise(this.queryParams).then((response) => {
this.enterpriseList = response.data;
// console.log(this.enterpriseList);
this.total = response.data.length;
listEnterprise(this.queryParams).then((res) => {
this.enterpriseList = res.rows;
this.total = res.total;
this.loading = false;
});
},

Loading…
Cancel
Save