lion 4 years ago
parent 8875d6d987
commit c51ff92f26

@ -356,20 +356,20 @@
{
field: "economic_loss",
title: "预估经济损失",
width: 180,
width: 120,
align: "right"
},
{
field: "level_name",
title: "事故等级",
width: 180,
width: 120,
align: "center"
},
{
field: "type_name",
title: "事故类型",
width: 180,
width: 120,
align: "center"
},
{
@ -396,14 +396,14 @@
field: "admin",
title: "创建人",
type: "formats",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "formats",
width: 180,
width: 120,
align: "center"
},

@ -193,7 +193,7 @@
field: "status",
title: "上报状态",
type: "status",
width: 180,
width: 120,
align: "center"
},
{
@ -207,14 +207,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -212,7 +212,7 @@
field: "task_departments_report",
title: "上报(全部/已上报)",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
@ -226,14 +226,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -255,7 +255,7 @@
field: "check_person",
title: "检查评定人员",
type: "check_person",
width: 180,
width: 120,
align: "center"
},
{
@ -263,14 +263,14 @@
title: "科室",
type: "unit",
align: "center",
width: 180,
width: 120,
},
{
field: "result",
title: "评定结果",
type: "result",
width: 180,
width: 120,
align: "left"
},
{
@ -284,14 +284,14 @@
field: "admin",
title: "创建人",
type: "formats",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "formats",
width: 180,
width: 120,
align: "center"
},
{

@ -309,7 +309,7 @@
title: "科室",
type: "unit",
align: "center",
width: 180,
width: 120,
},
{
field: "created_at",
@ -322,14 +322,14 @@
field: "admin",
title: "创建人",
type: "formats",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "formats",
width: 180,
width: 120,
align: "center"
},
{

@ -298,7 +298,7 @@
title: "主持人",
type: "host_person",
align: "center",
width: 180,
width: 120,
},
{
@ -306,7 +306,7 @@
title: "记录人",
type: "record_person",
align: "center",
width: 180,
width: 120,
},
{
field: "address",
@ -326,14 +326,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -172,19 +172,20 @@
field: "name",
title: "使用项目",
type: "string",
width: 180
width: 240
},{
field: "date",
title: "日期",
type: "string",
align:'center',
width: 180
width: 120
},
{
field: "money",
title: "金额",
type: "string",
width: 180
type: "string",
align:'right',
width: 120
},
{
field: "number",
@ -203,13 +204,13 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -43,18 +43,11 @@
</div>
</div>
<!-- <div v-if="column.field=='task_departments_report'">
<el-link type="primary">
{{scope.row["safety_task_departments_count"]+"/"+scope.row["safety_task_departments_report_count"]}}
</el-link>
</div> -->
<div v-else-if="column.field=='checks_count'">
<el-tag :type="scope.row[column.field]==0?'warning':''" v-html="scope.row[column.field]==0?'否':'是'"></el-tag>
</div>
<div v-else-if="column.type=='format'">
<div v-if="column.field=='admin'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
<div v-if="column.field=='department'">
<div v-if="column.field=='admin' || column.field=='department'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
</div>
@ -329,20 +322,20 @@
field: "year",
title: "年份",
type: "string",
width: 180,
width: 120,
align:"left"
},{
field: "department_id",
title: "科室",
type: "department_id",
width:180,
width:120,
align:"center"
},
{
field: "quarter",
title: "季度",
type: "quarter",
width: 180,
width: 120,
align:"center"
},
@ -354,11 +347,10 @@
},
{
field: "checks_count",
title: "是否已检查/检查详情",
type: "string",
width: 180,
title: "是否已检查",
type: "checks_count",
width: 120,
align:"center"
},
{
field: "created_at",
@ -371,14 +363,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -256,7 +256,7 @@
field: "maintenance_department",
title: "运维管理单位",
type: "format",
width: 180,
width: 120,
align: "center",
},
{
@ -270,14 +270,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -326,7 +326,7 @@
title: "演练级别",
type: "level",
align:"center",
width: 180
width: 120
},
{
field: "address",
@ -337,9 +337,9 @@
},
{
field: "practise_unit",
title: "演练运维管理单位",
title: "运维管理单位",
type: "unit",
width: 180,
width: 120,
align:"center",
},
{
@ -359,14 +359,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -208,7 +208,7 @@
field: "maintenance_department",
title: "运维管理单位",
type: "format",
width: 180,
width: 120,
align: "center",
},
{
@ -222,14 +222,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -229,7 +229,7 @@
field: "unit",
title: "科室",
type: "string",
width: 180,
width: 120,
align:'center'
},
@ -237,7 +237,7 @@
field: "level",
title: "等级",
type: "level",
width: 180,
width: 120,
align: "center"
},
{
@ -251,14 +251,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -272,25 +272,25 @@
field: "date",
title: "排查日期",
type: "string",
width:180,
width:120,
},
{
field: "responsible_person",
title: "排查负责人",
type: "string",
width: 180
width: 120
},
{
field: "level",
title: "隐患级别",
type: "level",
width: 180
width: 120
},
{
field: "type",
title: "隐患类别",
type: "type",
width: 180,
width: 120,
},
{
field: "introduce",
@ -309,14 +309,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -261,8 +261,16 @@
field: "type",
title: "类别",
type: "type",
width:180,
width:120,
align:'center'
},
{
field: "level",
title: "控制等级",
type: "level",
width: 120,
align:"center"
},
{
field: "overview",
@ -275,14 +283,6 @@
field: "measure",
title: "控制措施描述",
width: 240,
},
{
field: "level",
title: "控制等级",
type: "level",
width: 180,
align:"center"
},
{
field: "created_at",
@ -295,14 +295,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -299,14 +299,14 @@
field: "discover_person",
title: "发现人",
type: "string",
width: 180,
width: 120,
align: "center"
},
{
field: "defect_type",
title: "缺陷类型",
type: "defect_type",
width: 180,
width: 120,
align: "center"
},
{
@ -320,14 +320,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -282,20 +282,20 @@
field: "date",
title: "辨识日期",
type: "string",
width: 180,
width: 120,
align:"left"
},{
field: "danger_type",
title: "职业危害类型",
type: "dangerType",
align:"center",
width:180
width:120
},
{
field: "danger_level",
title: "职业危害严重程度",
type: "dangerLevel",
width: 180,
width: 120,
align:"center"
},
{
@ -309,7 +309,7 @@
field: "mobile",
title: "联系电话",
type: "string",
width: 180,
width: 120,
align:"center"
},
{
@ -323,14 +323,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -24,6 +24,14 @@
<Button ghost size="small" @click="edit(scope.row)" type="primary"
style="margin-left: 10px;">编辑</Button>
<Button ghost size="small" @click="del(scope.row)" type="error" style="margin-left: 10px;">删除</Button>
</div>
<div v-else-if="column.type=='format'">
<div v-if="column.field=='admin'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
<div v-if="column.field=='department'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
</div>
<div v-else>{{scope.row[column.field]}}</div>
</template>
@ -237,7 +245,7 @@
field: "date",
title: "检查时间",
type: "string",
width: 180,
width: 120,
align: "center"
},
{
@ -269,17 +277,17 @@
align: "center"
},
{
field: "created_at",
field: "admin",
title: "创建人",
type: "string",
width: 180,
type: "format",
width: 120,
align: "center"
},
{
field: "created_at_dept",
field: "department",
title: "创建人科室",
type: "string",
width: 180,
type: "format",
width: 120,
align: "center"
},
{

@ -322,7 +322,7 @@
field: "status",
title: "办结状态",
type: "status",
width: 180,
width: 120,
align: "center"
},
{
@ -336,14 +336,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -231,7 +231,7 @@
field: "year",
title: "年份",
type: "string",
width: 180
width: 120
},
{
field: "remark",
@ -249,14 +249,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

@ -263,8 +263,7 @@
field: "name",
title: "培训名称",
type: "string",
width:240,
width:240,
},
{
field: "time",
@ -277,7 +276,7 @@
field: "unit",
title: "科室",
type: "string",
width: 180,
width: 120,
align: "center"
},
@ -299,14 +298,14 @@
field: "admin",
title: "创建人",
type: "format",
width: 180,
width: 120,
align: "center"
},
{
field: "department",
title: "创建人科室",
type: "format",
width: 180,
width: 120,
align: "center"
},
{

Loading…
Cancel
Save