xuhaoyun 1 year ago
commit fc7f984f40

@ -35,7 +35,7 @@ export function get_backlog_company_tree(params) {
// 审批流程 // 审批流程
export function get_backlog_approve(data) { export function get_backlog_approve(data) {
return request({ return request({
url: '/workflow/external/task/approve', url: '/closedloopdisposal/workflow/updateFlowableStatus',
method: 'post', method: 'post',
data data
}) })

@ -4,10 +4,10 @@ import vm from "../main";
import { getToken } from '@/utils/auth' import { getToken } from '@/utils/auth'
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8' axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
const request = axios.create({ const request = axios.create({
baseURL: 'http://172.18.113.50:8080/zhapi', //baseURL: 'http://172.18.113.50:8080/zhapi',
//baseURL: 'http://172.18.11//.13:8080/zhapi', // 孙强 //baseURL: 'http://172.18.113.13:8080/zhapi', // 孙强
//baseURL: 'http://192.168.0.188:8888/zhapi', //baseURL: 'http://192.168.0.188:8888/zhapi',
//baseURL: `http://${window.location.host}/zhapi`, baseURL: `http://${window.location.host}/zhapi`,
timeout: 50000, timeout: 50000,
headers: { 'content-type': 'application/json' }, headers: { 'content-type': 'application/json' },
}) })

@ -30,16 +30,17 @@
<div class="search_table"> <div class="search_table">
<el-table <el-table
:data="table_data" :data="table_data"
height="580"
:header-cell-style="table_header" :header-cell-style="table_header"
:cell-style="{ background: 'revert', 'text-align': 'center' }" :cell-style="{ background: 'revert', 'text-align': 'center' }"
> >
<el-table-column prop="procDefName" label="流程名称" width="420"> <el-table-column prop="processName" label="流程名称" width="380">
</el-table-column> </el-table-column>
<el-table-column prop="createTime" label="创建时间" width="280"> <el-table-column prop="createTime" label="创建时间" width="200">
</el-table-column> </el-table-column>
<el-table-column prop="course_type" label="流程类型" width="280"> <el-table-column prop="processType" label="流程类型" width="200">
</el-table-column> </el-table-column>
<el-table-column prop="process_status" label="流程状态" width="220"> <el-table-column prop="process_status" label="流程状态">
<template slot-scope="scope"> <template slot-scope="scope">
<div :style="{ color: styleChange(scope.row.process_status) }"> <div :style="{ color: styleChange(scope.row.process_status) }">
{{ scope.row.process_status }} {{ scope.row.process_status }}
@ -222,7 +223,7 @@ export default {
// return "#FDA722"; // return "#FDA722";
case "审核完成": case "审核完成":
return "#2eb9ef"; return "#2eb9ef";
case "驳回完成": case "驳回":
return "#e55b5b"; return "#e55b5b";
} }
}, },
@ -234,7 +235,7 @@ export default {
case 2 : case 2 :
return "审核完成"; return "审核完成";
case 3 : case 3 :
return "驳回完成"; return "驳回";
} }
}, },
handleSizeChange(val) { handleSizeChange(val) {
@ -333,6 +334,7 @@ export default {
.el-input__inner { .el-input__inner {
// width: 300px; // width: 300px;
border-radius: 0px; border-radius: 0px;
height: 3.7vh;
border: 1px solid #3d505e; border: 1px solid #3d505e;
// border: 0.5px dashed; // border: 0.5px dashed;
background: #283436; background: #283436;

@ -180,7 +180,7 @@ export default {
margin-left: 8px; margin-left: 8px;
width: 550px; width: 550px;
// border: 0.1px solid #5b748c; // border: 0.1px solid #5b748c;
height: 49vh; height: 38vh;
// overflow-y: auto; // overflow-y: auto;
} }
// .section_tree::-webkit-scrollbar { // .section_tree::-webkit-scrollbar {
@ -211,7 +211,7 @@ export default {
} }
.el-tree { .el-tree {
/* 树形数据过长添加滚动条 */ /* 树形数据过长添加滚动条 */
height: 49vh; height: 38vh;
overflow: auto; overflow: auto;
// box-shadow: 5px 5px 10px #126a58; // box-shadow: 5px 5px 10px #126a58;
border-radius: 0px; border-radius: 0px;

@ -117,7 +117,7 @@
<!-- 第一行处理意见 --> <!-- 第一行处理意见 -->
<div class="dispose_idea"> <div class="dispose_idea">
<div class="backlog_text">处理意见:</div> <div class="backlog_text">处理意见:</div>
<div class="backlog_value">{{ item.comment }}</div> <div class="backlog_value">{{ item.comment.comment }}</div>
</div> </div>
<!-- 第二行附件 按需显示或者隐藏 --> <!-- 第二行附件 按需显示或者隐藏 -->
<!-- <div v-if="attachment_show" class="attachment"> <!-- <div v-if="attachment_show" class="attachment">
@ -166,44 +166,6 @@ export default {
section: "", section: "",
}, },
backlog_list: [ backlog_list: [
{
id: "1",
personUrl: "../../../assets/companyFile/avatar.png",
name: "吴沁",
team: "技侦大队",
backlog_value:
"2022年8月20日0时32分,我队接到预警称浙江浙江鑫甬生物化工股份有限公司存在运输车辆频繁违章情况。接报后值班民警于立即到达现场,经现场了解到:危化品运输车(浙B2M50R)为外来租赁货车,司机王某(身份证号:42109119880717****)疑似前科重点人员。目前司机已经带回所以便进一步调查。2022年8月20日0时32分,我队接到预警称浙江浙江鑫甬生物化工股份有限公司存在运输车辆频繁违章情况。接报后值班民警于立即到达现场,经现场了解到:危化品运输车(浙B2M50R)为外来租赁货车,司机王某(身份证号:42109119880717****)疑似前科重点人员。目前司机已经带回所以便进一步调查。",
attachment_value: "20220820现场处置照片.jpg",
send_person: "蔡坤、黄毅、李丹丹、张强强",
backlog_time: "2022-11-13 12:10:08",
},
{
id: "2",
personUrl: "../../../assets/companyFile/avatar.png",
name: "吴沁",
team: "技侦大队",
backlog_value:
"2022年8月26日12时许,经过分析,我队决定对浙江浙江鑫甬生物化工股份有限公司的外来租赁危化品运输车(浙B2M50R)司机王某(身份证号:42109119880717****)做出吊销货车驾照处罚,立即执行。",
},
{
id: "3",
personUrl: "../../../assets/companyFile/avatar.png",
name: "吴沁",
team: "技侦大队",
backlog_value:
"2022年8月26日12时许,经过分析,我队决定对浙江浙江鑫甬生物化工股份有限公司的外来租赁危化品运输车(浙B2M50R)司机王某(身份证号:42109119880717****)做出吊销货车驾照处罚,立即执行。",
},
{
id: "4",
personUrl: "../../../assets/companyFile/avatar.png",
name: "吴沁",
team: "技侦大队",
backlog_value:
"2022年8月20日0时32分,我队接到预警称浙江浙江鑫甬生物化工股份有限公司存在运输车辆频繁违章情况。接报后值班民警于立即到达现场,经现场了解到:危化品运输车(浙B2M50R)为外来租赁货车,司机王某(身份证号:42109119880717****)疑似前科重点人员。目前司机已经带回所以便进一步调查。2022年8月20日0时32分,我队接到预警称浙江浙江鑫甬生物化工股份有限公司存在运输车辆频繁违章情况。接报后值班民警于立即到达现场,经现场了解到:危化品运输车(浙B2M50R)为外来租赁货车,司机王某(身份证号:42109119880717****)疑似前科重点人员。目前司机已经带回所以便进一步调查。",
attachment_value: "20220820现场处置照片.jpg",
send_person: "蔡坤、黄毅、李丹丹、张强强",
backlog_time: "2022-11-13 12:10:08",
},
], ],
status_list: [ status_list: [
{ label: "待审核", value: "1" }, { label: "待审核", value: "1" },

@ -44,12 +44,13 @@
<div class="search_table"> <div class="search_table">
<el-table <el-table
:data="table_data" :data="table_data"
height="580"
:header-cell-style="table_header" :header-cell-style="table_header"
:cell-style="{ background: 'revert', 'text-align': 'center' }" :cell-style="{ background: 'revert', 'text-align': 'center' }"
> >
<el-table-column prop="procDefName" label="流程名称" width="420"> <el-table-column prop="processName" label="流程名称" width="380">
</el-table-column> </el-table-column>
<el-table-column prop="createTime" label="创建时间" width="240"> <el-table-column prop="createTime" label="创建时间" width="200">
</el-table-column> </el-table-column>
<el-table-column prop="processType" label="流程类型" width="160"> <el-table-column prop="processType" label="流程类型" width="160">
</el-table-column> </el-table-column>
@ -113,7 +114,7 @@ export default {
// { label: "", value: "1" }, // { label: "", value: "1" },
{ label: "审核中", value: "1" }, { label: "审核中", value: "1" },
{ label: "审核完成", value: "2" }, { label: "审核完成", value: "2" },
{ label: "驳回完成", value: "3" }, { label: "驳回", value: "3" },
], ],
pickerOptions: { pickerOptions: {
shortcuts: [ shortcuts: [
@ -257,7 +258,7 @@ export default {
// return "#FDA722"; // return "#FDA722";
case "审核完成": case "审核完成":
return "#2eb9ef"; return "#2eb9ef";
case "驳回完成": case "驳回":
return "#e55b5b"; return "#e55b5b";
} }
}, },
@ -269,7 +270,7 @@ export default {
case 2 : case 2 :
return "审核完成"; return "审核完成";
case 3 : case 3 :
return "驳回完成"; return "驳回";
} }
}, },
handleSizeChange(val) { handleSizeChange(val) {
@ -368,6 +369,7 @@ export default {
.el-input__inner { .el-input__inner {
// width: 300px; // width: 300px;
border-radius: 0px; border-radius: 0px;
height: 3.7vh;
border: 1px solid #3d505e; border: 1px solid #3d505e;
// border: 0.5px dashed; // border: 0.5px dashed;
background: #283436; background: #283436;

@ -85,7 +85,7 @@
<!-- 第一行处理意见 --> <!-- 第一行处理意见 -->
<div class="dispose_idea"> <div class="dispose_idea">
<div class="complete_text">处理意见:</div> <div class="complete_text">处理意见:</div>
<div class="complete_value">{{ item.comment }}</div> <div class="complete_value">{{ item.comment.comment }}</div>
</div> </div>
<!-- 第二行附件 按需显示或者隐藏 --> <!-- 第二行附件 按需显示或者隐藏 -->
<!-- <div v-if="attachment_show" class="attachment"> --> <!-- <div v-if="attachment_show" class="attachment"> -->

@ -44,12 +44,13 @@
<div class="search_table"> <div class="search_table">
<el-table <el-table
:data="table_data" :data="table_data"
height="580"
:header-cell-style="table_header" :header-cell-style="table_header"
:cell-style="{ background: 'revert', 'text-align': 'center' }" :cell-style="{ background: 'revert', 'text-align': 'center' }"
> >
<el-table-column prop="processName" label="流程名称" width="420"> <el-table-column prop="processName" label="流程名称" width="380">
</el-table-column> </el-table-column>
<el-table-column prop="createTime" label="创建时间" width="240"> <el-table-column prop="createTime" label="创建时间" width="200">
</el-table-column> </el-table-column>
<el-table-column prop="course_type" label="流程类型" width="200"> <el-table-column prop="course_type" label="流程类型" width="200">
</el-table-column> </el-table-column>
@ -73,7 +74,7 @@
size="small" size="small"
class="operation" class="operation"
@click="check_details(scope.row)" @click="check_details(scope.row)"
>处置 >详情
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
@ -112,7 +113,7 @@ export default {
// { label: "", value: "1" }, // { label: "", value: "1" },
{ label: "审核中", value: "1" }, { label: "审核中", value: "1" },
{ label: "审核完成", value: "2" }, { label: "审核完成", value: "2" },
{ label: "驳回完成", value: "3" }, { label: "驳回", value: "3" },
], ],
pickerOptions: { pickerOptions: {
shortcuts: [ shortcuts: [
@ -254,7 +255,7 @@ export default {
// return "#FDA722"; // return "#FDA722";
case "审核完成": case "审核完成":
return "#2eb9ef"; return "#2eb9ef";
case "驳回完成": case "驳回":
return "#e55b5b"; return "#e55b5b";
} }
}, },
@ -266,7 +267,7 @@ export default {
case 2 : case 2 :
return "审核完成"; return "审核完成";
case 3 : case 3 :
return "驳回完成"; return "驳回";
} }
}, },
handleSizeChange(val) { handleSizeChange(val) {

@ -85,7 +85,7 @@
<!-- 第一行处理意见 --> <!-- 第一行处理意见 -->
<div class="dispose_idea"> <div class="dispose_idea">
<div class="course_text">处理意见:</div> <div class="course_text">处理意见:</div>
<div class="course_value">{{ item.comment }}</div> <div class="course_value">{{ item.comment.comment }}</div>
</div> </div>
<!-- 第二行附件 按需显示或者隐藏 --> <!-- 第二行附件 按需显示或者隐藏 -->
<!-- <div v-if="attachment_show" class="attachment"> --> <!-- <div v-if="attachment_show" class="attachment"> -->

@ -3,10 +3,10 @@
<div> <div>
<div class="course_body"> <div class="course_body">
<div class="search_top"> <div class="search_top">
<div class="btn"> <!-- <div class="btn">
<el-button @click="search_data"></el-button> <el-button @click="search_data"></el-button>
<el-button @click="reset"></el-button> <el-button @click="reset"></el-button>
</div> </div> -->
<el-form :model="search" class="search_top_form"> <el-form :model="search" class="search_top_form">
<el-form-item label="流程状态"> <el-form-item label="流程状态">
<el-select v-model="search.course_status" @change="change_course"> <el-select v-model="search.course_status" @change="change_course">
@ -36,21 +36,26 @@
placeholder="请选择关键词" placeholder="请选择关键词"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item>
<el-button @click="search_data"></el-button>
<el-button @click="reset"></el-button>
</el-form-item>
</el-form> </el-form>
</div> </div>
<div class="search_table"> <div class="search_table">
<el-table <el-table
:data="table_data" :data="table_data"
height="580"
:header-cell-style="table_header" :header-cell-style="table_header"
:cell-style="{ background: 'revert', 'text-align': 'center' }" :cell-style="{ background: 'revert', 'text-align': 'center' }"
> >
<el-table-column prop="procDefName" label="流程名称" width="420"> <el-table-column prop="processName" label="流程名称" width="380">
</el-table-column> </el-table-column>
<el-table-column prop="createTime" label="创建时间" width="280"> <el-table-column prop="createTime" label="创建时间" width="200">
</el-table-column> </el-table-column>
<el-table-column prop="processType" label="流程类型" width="280"> <el-table-column prop="processType" label="流程类型" width="200">
</el-table-column> </el-table-column>
<el-table-column prop="process_status" label="流程状态" width="220"> <el-table-column prop="process_status" label="流程状态">
<template slot-scope="scope"> <template slot-scope="scope">
<div :style="{ color: styleChange(scope.row.process_status) }"> <div :style="{ color: styleChange(scope.row.process_status) }">
{{ scope.row.process_status }} {{ scope.row.process_status }}
@ -106,7 +111,7 @@ export default {
// { label: "", value: "1" }, // { label: "", value: "1" },
{ label: "审核中", value: "1" }, { label: "审核中", value: "1" },
{ label: "审核完成", value: "2" }, { label: "审核完成", value: "2" },
{ label: "驳回完成", value: "3" }, { label: "驳回", value: "3" },
], ],
pickerOptions: { pickerOptions: {
shortcuts: [ shortcuts: [
@ -176,9 +181,11 @@ export default {
get_my_course(param).then((res) => { get_my_course(param).then((res) => {
// //
for (let i = 0; i < res.rows.length; i++) { for (let i = 0; i < res.rows.length; i++) {
res.rows[i].process_status = this.process_change(res.rows[i].alarmStatus) res.rows[i].process_status = this.process_change(
res.rows[i].alarmStatus
);
} }
console.log('res.rows',res.rows); console.log("res.rows", res.rows);
this.table_data = res.rows; this.table_data = res.rows;
this.total = res.total; this.total = res.total;
}); });
@ -193,7 +200,7 @@ export default {
}, },
// //
check_details(val) { check_details(val) {
console.log('12344',val); console.log("12344", val);
this.$emit("change_to_detail", val); // this.$emit("change_to_detail", val); //
}, },
// //
@ -256,7 +263,7 @@ export default {
// return "#FDA722"; // return "#FDA722";
case "审核完成": case "审核完成":
return "#2eb9ef"; return "#2eb9ef";
case "驳回完成": case "驳回":
return "#e55b5b"; return "#e55b5b";
} }
}, },
@ -268,19 +275,19 @@ export default {
case 2: case 2:
return "审核完成"; return "审核完成";
case 3: case 3:
return "驳回完成"; return "驳回";
} }
}, },
handleSizeChange(val) { handleSizeChange(val) {
console.log(`每页 ${val}`); console.log(`每页 ${val}`);
this.pageNum = 1; this.pageNum = 1;
this.pageSize = val; this.pageSize = val;
this.search_data() this.search_data();
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
console.log(`当前页: ${val}`); console.log(`当前页: ${val}`);
this.pageNum = val; this.pageNum = val;
this.search_data() this.search_data();
}, },
}, },
}; };
@ -368,8 +375,8 @@ export default {
.el-input__inner { .el-input__inner {
// width: 300px; // width: 300px;
border-radius: 0px; border-radius: 0px;
height: 3.7vh;
border: 1px solid #3d505e; border: 1px solid #3d505e;
// border: 0.5px dashed;
background: #283436; background: #283436;
color: #fff; color: #fff;
} }
@ -384,6 +391,21 @@ export default {
background: #283436; background: #283436;
} }
} }
.el-button {
width: 70px;
height: 3.7vh !important;
border: 1px solid #4a6072;
color: #fff;
border-radius: 0px !important;
background: #323f43;
}
.el-button:focus,
.el-button:hover {
color: #34e1b3;
border: 2px solid #137868;
background: url("~@/assets/companyFile/2121.png") no-repeat !important;
background-size: 100% 100% !important;
}
} }
/deep/.el-range-separator { /deep/.el-range-separator {
color: #fff; color: #fff;
@ -395,6 +417,7 @@ export default {
.btn { .btn {
margin-left: 8px; margin-left: 8px;
margin-right: 2px; margin-right: 2px;
height: 3.7vh;
.el-button { .el-button {
width: 70px; width: 70px;
height: 3.7vh !important; height: 3.7vh !important;

@ -85,7 +85,7 @@
<!-- 第一行处理意见 --> <!-- 第一行处理意见 -->
<div class="dispose_idea"> <div class="dispose_idea">
<div class="course_text">处理意见:</div> <div class="course_text">处理意见:</div>
<div class="course_value">{{ item.comment }}</div> <div class="course_value">{{ item.comment.comment }}</div>
</div> </div>
<!-- 第二行附件 按需显示或者隐藏 --> <!-- 第二行附件 按需显示或者隐藏 -->
<!-- <div v-if="attachment_show" class="attachment"> --> <!-- <div v-if="attachment_show" class="attachment"> -->

@ -9,7 +9,7 @@
<div class="text">删除后将同时清空企业的全部信息确认继续吗</div> <div class="text">删除后将同时清空企业的全部信息确认继续吗</div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="saveFormData"> </el-button> <el-button @click="saveFormData"> </el-button>
<el-button> </el-button> <el-button @click="close"> </el-button>
</div></el-dialog </div></el-dialog
> >
</template> </template>
@ -25,12 +25,12 @@ export default {
}, },
methods: { methods: {
open(num, item) { open(num, item) {
console.log(num,item,'item'); console.log(num, item, "item");
this.visible = true; this.visible = true;
this.id = item.id; this.id = item.id;
}, },
saveFormData() { saveFormData() {
const params = `idList=${this.id}` const params = `idList=${this.id}`;
deleteCompanyList(params).then((res) => { deleteCompanyList(params).then((res) => {
if (res.code === 200) { if (res.code === 200) {
this.$message.success("删除成功"); this.$message.success("删除成功");
@ -42,6 +42,9 @@ export default {
} }
}); });
}, },
close() {
this.visible = false;
},
}, },
}; };
</script> </script>

@ -67,7 +67,7 @@
</div> </div>
<div class="score_name">人员安全</div> <div class="score_name">人员安全</div>
<div class="score_num"> <div class="score_num">
{{ this.score_five }} {{ this.score_two }}
</div> </div>
</div> </div>
<div class="score_portion"> <div class="score_portion">
@ -76,16 +76,16 @@
</div> </div>
<div class="score_name">消防安全</div> <div class="score_name">消防安全</div>
<div class="score_num"> <div class="score_num">
{{ this.score_four }} {{ this.score_three }}
</div> </div>
</div> </div>
<div class="score_portion"> <div class="score_portion">
<div class="score_img"> <div class="score_img">
<div class="img_box img_03"></div> <div class="img_box img_03"></div>
</div> </div>
<div class="score_name">危化运输安全</div> <div class="score_name">危化运输安全</div>
<div class="score_num"> <div class="score_num">
{{ this.score_three }} {{ this.score_four }}
</div> </div>
</div> </div>
<div class="score_portion"> <div class="score_portion">
@ -94,7 +94,7 @@
</div> </div>
<div class="score_name">列管物品安全</div> <div class="score_name">列管物品安全</div>
<div class="score_num"> <div class="score_num">
{{ this.score_eight }} {{ this.score_five }}
</div> </div>
</div> </div>
<div class="score_portion"> <div class="score_portion">
@ -103,7 +103,7 @@
</div> </div>
<div class="score_name">内部治安安全</div> <div class="score_name">内部治安安全</div>
<div class="score_num"> <div class="score_num">
{{ this.score_two }} {{ this.score_six }}
</div> </div>
</div> </div>
<div class="score_portion"> <div class="score_portion">
@ -121,7 +121,7 @@
</div> </div>
<div class="score_name">防攻击安全</div> <div class="score_name">防攻击安全</div>
<div class="score_num"> <div class="score_num">
{{ this.score_nine }} {{ this.score_eight }}
</div> </div>
</div> </div>
<div class="score_portion"> <div class="score_portion">
@ -130,7 +130,7 @@
</div> </div>
<div class="score_name">网络安全</div> <div class="score_name">网络安全</div>
<div class="score_num"> <div class="score_num">
{{ this.score_six }} {{ this.score_nine }}
</div> </div>
</div> </div>
</div> </div>
@ -223,23 +223,23 @@ export default {
this.company_score = this.deatail_data.score; this.company_score = this.deatail_data.score;
// //
this.score_one = this.score_one =
this.deatail_data.tbSafeCompanyStatisticsScoreDetails[8].score; this.deatail_data.tbSafeCompanyStatisticsScoreDetails.find(item=>item.levelIndexOne == '防疫安全').score
this.score_two = this.score_two =
this.deatail_data.tbSafeCompanyStatisticsScoreDetails[3].score; this.deatail_data.tbSafeCompanyStatisticsScoreDetails.find(item=>item.levelIndexOne == '人员安全').score
this.score_three = this.score_three =
this.deatail_data.tbSafeCompanyStatisticsScoreDetails[5].score; this.deatail_data.tbSafeCompanyStatisticsScoreDetails.find(item=>item.levelIndexOne == '消防安全').score
this.score_four = this.score_four =
this.deatail_data.tbSafeCompanyStatisticsScoreDetails[6].score; this.deatail_data.tbSafeCompanyStatisticsScoreDetails.find(item=>item.levelIndexOne == '危化运输安全').score
this.score_five = this.score_five =
this.deatail_data.tbSafeCompanyStatisticsScoreDetails[7].score; this.deatail_data.tbSafeCompanyStatisticsScoreDetails.find(item=>item.levelIndexOne == '列管物品安全').score
this.score_six = this.score_six =
this.deatail_data.tbSafeCompanyStatisticsScoreDetails[0].score; this.deatail_data.tbSafeCompanyStatisticsScoreDetails.find(item=>item.levelIndexOne == '内部治安安全').score
this.score_seven = this.score_seven =
this.deatail_data.tbSafeCompanyStatisticsScoreDetails[2].score; this.deatail_data.tbSafeCompanyStatisticsScoreDetails.find(item=>item.levelIndexOne == '道路安全').score
this.score_eight = this.score_eight =
this.deatail_data.tbSafeCompanyStatisticsScoreDetails[4].score; this.deatail_data.tbSafeCompanyStatisticsScoreDetails.find(item=>item.levelIndexOne == '防攻击安全').score
this.score_nine = this.score_nine =
this.deatail_data.tbSafeCompanyStatisticsScoreDetails[1].score; this.deatail_data.tbSafeCompanyStatisticsScoreDetails.find(item=>item.levelIndexOne == '网络安全').score
}, },
mounted() { mounted() {
this.get_time(); this.get_time();

@ -12,59 +12,113 @@
</el-table-column> </el-table-column>
<el-table-column prop="score" label="平安指数"> </el-table-column> <el-table-column prop="score" label="平安指数"> </el-table-column>
<el-table-column label="指标得分"> <el-table-column label="指标得分">
<el-table-column <el-table-column label="防疫安全" width="130">
prop="tbSafeCompanyStatisticsScoreDetails[8].score" <template slot-scope="scope">
label="防疫安全" <div
width="130" v-for="item in scope.row.tbSafeCompanyStatisticsScoreDetails"
:key="item.id"
> >
<span v-if="item.levelIndexOne == '防疫安全'">{{
item.score
}}</span>
</div>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="人员安全" width="120">
prop="tbSafeCompanyStatisticsScoreDetails[7].score" <template slot-scope="scope">
label="人员安全" <div
width="120" v-for="item in scope.row.tbSafeCompanyStatisticsScoreDetails"
:key="item.id"
> >
<span v-if="item.levelIndexOne == '人员安全'">{{
item.score
}}</span>
</div>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="消防安全" width="120">
prop="tbSafeCompanyStatisticsScoreDetails[6].score" <template slot-scope="scope">
label="消防安全" <div
width="120" v-for="item in scope.row.tbSafeCompanyStatisticsScoreDetails"
:key="item.id"
> >
<span v-if="item.levelIndexOne == '消防安全'">{{
item.score
}}</span>
</div>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="危化运输安全" width="140">
prop="tbSafeCompanyStatisticsScoreDetails[5].score" <template slot-scope="scope">
label="危化品运输安全" <div
width="140" v-for="item in scope.row.tbSafeCompanyStatisticsScoreDetails"
:key="item.id"
> >
<span v-if="item.levelIndexOne == '危化运输安全'">{{
item.score
}}</span>
</div>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="列管物品安全" width="140">
prop="tbSafeCompanyStatisticsScoreDetails[4].score" <template slot-scope="scope">
label="列管物品安全" <div
width="140" v-for="item in scope.row.tbSafeCompanyStatisticsScoreDetails"
:key="item.id"
> >
<span v-if="item.levelIndexOne == '列管物品安全'">{{
item.score
}}</span>
</div>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="内部治安安全" width="140">
prop="tbSafeCompanyStatisticsScoreDetails[3].score" <template slot-scope="scope">
label="内部治安安全" <div
width="140" v-for="item in scope.row.tbSafeCompanyStatisticsScoreDetails"
:key="item.id"
> >
<span v-if="item.levelIndexOne == '内部治安安全'">{{
item.score
}}</span>
</div>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="道路安全" width="120">
prop="tbSafeCompanyStatisticsScoreDetails[2].score" <template slot-scope="scope">
label="道路安全" <div
width="120" v-for="item in scope.row.tbSafeCompanyStatisticsScoreDetails"
:key="item.id"
> >
<span v-if="item.levelIndexOne == '道路安全'">{{
item.score
}}</span>
</div>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="防攻击安全" width="130">
prop="tbSafeCompanyStatisticsScoreDetails[1].score" <template slot-scope="scope">
label="防攻击安全" <div
width="130" v-for="item in scope.row.tbSafeCompanyStatisticsScoreDetails"
:key="item.id"
> >
<span v-if="item.levelIndexOne == '防攻击安全'">{{
item.score
}}</span>
</div>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="网络安全" width="120">
prop="tbSafeCompanyStatisticsScoreDetails[0].score" <template slot-scope="scope">
label="网络安全" <div
width="120" v-for="item in scope.row.tbSafeCompanyStatisticsScoreDetails"
:key="item.id"
> >
<span v-if="item.levelIndexOne == '网络安全'">{{
item.score
}}</span>
</div>
</template>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column prop="operation" label="操作"> <el-table-column prop="operation" label="操作">
@ -87,7 +141,7 @@ export default {
jump_params: { jump_params: {
type: Object, type: Object,
default: () => {}, default: () => {},
} },
}, },
data() { data() {
return { return {
@ -97,11 +151,11 @@ export default {
methods: { methods: {
jump(val) { jump(val) {
// console.log("jump_val", val); // console.log("jump_val", val);
val = Object.assign(val,this.jump_params) val = Object.assign(val, this.jump_params);
console.log("jump_val", val); console.log("jump_val", val);
this.$router.push({ this.$router.push({
path:'/home/systemManagement/companyDetails', path: "/home/systemManagement/companyDetails",
query:val query: val,
}); });
}, },
// //
@ -169,12 +223,14 @@ export default {
border: 0.1px solid #3f5564; border: 0.1px solid #3f5564;
} }
/deep/.el-table__body-wrapper::-webkit-scrollbar { /deep/.el-table__body-wrapper::-webkit-scrollbar {
display: none;
width: 6px; width: 6px;
background-color: #5e666a; background-color: #5e666a;
border-radius: 4px; border-radius: 4px;
} }
/deep/.el-table__body-wrapper::-webkit-scrollbar-thumb { /deep/.el-table__body-wrapper::-webkit-scrollbar-thumb {
display: none;
width: 5px; width: 5px;
background-color: #3c4b4a; background-color: #3c4b4a;
border-radius: 4px; border-radius: 4px;

@ -275,7 +275,7 @@ export default {
} }
.table_body { .table_body {
width: 85.2vw; width: 85.2vw;
height: 71vh; height: 68vh;
margin-top: 3vh; margin-top: 3vh;
// border: 0.1px solid #4d8f89; // border: 0.1px solid #4d8f89;
} }

Loading…
Cancel
Save