|
|
|
|
@ -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"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
|