diff --git a/src/views/accident/index.vue b/src/views/accident/index.vue index bdfae74..fb01972 100644 --- a/src/views/accident/index.vue +++ b/src/views/accident/index.vue @@ -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" }, diff --git a/src/views/daily/deptindex.vue b/src/views/daily/deptindex.vue index aacd34d..b203cc6 100644 --- a/src/views/daily/deptindex.vue +++ b/src/views/daily/deptindex.vue @@ -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" }, { diff --git a/src/views/daily/index.vue b/src/views/daily/index.vue index e23c108..eee1e4a 100644 --- a/src/views/daily/index.vue +++ b/src/views/daily/index.vue @@ -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" }, { diff --git a/src/views/improvement/rule.vue b/src/views/improvement/rule.vue index 37c4a7f..e94d55d 100644 --- a/src/views/improvement/rule.vue +++ b/src/views/improvement/rule.vue @@ -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" }, { diff --git a/src/views/improvement/score.vue b/src/views/improvement/score.vue index 0f76917..d8ab6cc 100644 --- a/src/views/improvement/score.vue +++ b/src/views/improvement/score.vue @@ -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" }, { diff --git a/src/views/objective/meet.vue b/src/views/objective/meet.vue index 31c72a5..96dd79a 100644 --- a/src/views/objective/meet.vue +++ b/src/views/objective/meet.vue @@ -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" }, { diff --git a/src/views/objective/standbook.vue b/src/views/objective/standbook.vue index 5f6975e..12eaa9f 100644 --- a/src/views/objective/standbook.vue +++ b/src/views/objective/standbook.vue @@ -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" }, { diff --git a/src/views/objective/targetindex.vue b/src/views/objective/targetindex.vue index b3fbea7..2058536 100644 --- a/src/views/objective/targetindex.vue +++ b/src/views/objective/targetindex.vue @@ -43,18 +43,11 @@ - - - +
+ +
-
- {{scope.row[column.field]?scope.row[column.field].name:""}} -
-
+
{{scope.row[column.field]?scope.row[column.field].name:""}}
@@ -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" }, { diff --git a/src/views/practise/deal.vue b/src/views/practise/deal.vue index 47e07a4..c8d847d 100644 --- a/src/views/practise/deal.vue +++ b/src/views/practise/deal.vue @@ -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" }, { diff --git a/src/views/practise/index.vue b/src/views/practise/index.vue index 6d0b988..ba9873e 100644 --- a/src/views/practise/index.vue +++ b/src/views/practise/index.vue @@ -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" }, { diff --git a/src/views/practise/plan.vue b/src/views/practise/plan.vue index 022e904..96d84ad 100644 --- a/src/views/practise/plan.vue +++ b/src/views/practise/plan.vue @@ -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" }, { diff --git a/src/views/risk/hazardindex.vue b/src/views/risk/hazardindex.vue index 2da5fde..93113d8 100644 --- a/src/views/risk/hazardindex.vue +++ b/src/views/risk/hazardindex.vue @@ -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" }, { diff --git a/src/views/risk/hiddendangerindex.vue b/src/views/risk/hiddendangerindex.vue index 4fb638b..d9d4d72 100644 --- a/src/views/risk/hiddendangerindex.vue +++ b/src/views/risk/hiddendangerindex.vue @@ -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" }, { diff --git a/src/views/risk/riskindex.vue b/src/views/risk/riskindex.vue index 5415248..b554c95 100644 --- a/src/views/risk/riskindex.vue +++ b/src/views/risk/riskindex.vue @@ -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" }, { diff --git a/src/views/site/equipment.vue b/src/views/site/equipment.vue index 2ba1aa7..9e2c922 100644 --- a/src/views/site/equipment.vue +++ b/src/views/site/equipment.vue @@ -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" }, { diff --git a/src/views/site/health.vue b/src/views/site/health.vue index 2a56b9f..26ac63c 100644 --- a/src/views/site/health.vue +++ b/src/views/site/health.vue @@ -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" }, { diff --git a/src/views/site/safetyitem.vue b/src/views/site/safetyitem.vue index 1dd22c5..491a4a2 100644 --- a/src/views/site/safetyitem.vue +++ b/src/views/site/safetyitem.vue @@ -24,6 +24,14 @@ +
+
+
+ {{scope.row[column.field]?scope.row[column.field].name:""}} +
+
+ {{scope.row[column.field]?scope.row[column.field].name:""}} +
{{scope.row[column.field]}}
@@ -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" }, { diff --git a/src/views/training/event.vue b/src/views/training/event.vue index 8b2a98c..54b4feb 100644 --- a/src/views/training/event.vue +++ b/src/views/training/event.vue @@ -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" }, { diff --git a/src/views/training/index.vue b/src/views/training/index.vue index fd825ee..4fa7ac5 100644 --- a/src/views/training/index.vue +++ b/src/views/training/index.vue @@ -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" }, { diff --git a/src/views/training/record.vue b/src/views/training/record.vue index 6d37684..aacb255 100644 --- a/src/views/training/record.vue +++ b/src/views/training/record.vue @@ -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" }, {