|
|
@@ -84,20 +84,20 @@
|
|
|
>
|
|
|
</div>
|
|
|
<div class="content">
|
|
|
- <div class="area_content" v-for="area in info.checkList">
|
|
|
+ <div class="area_content" v-for="area in info.checkList" :key="area.areaId">
|
|
|
<div>
|
|
|
{{ area.areaName }}
|
|
|
</div>
|
|
|
<div>
|
|
|
- <div class="safetycheck_item" v-for="(item, index) in area.itemList">
|
|
|
- <span>{{ index + 1 }}、{{ item.itemName }}</span>
|
|
|
- <div class="safetycheck_point" v-for="point in item.pointList">
|
|
|
+ <div class="safetycheck_item" v-for="(item, index) in area.itemList" :key="item.itemId">
|
|
|
+ <span>{{arabicToChinese(index + 1) }}、{{ item.itemName }}</span>
|
|
|
+ <div class="safetycheck_point" v-for="(point,pIndex) in item.pointList" :key="point.pointId">
|
|
|
<div>
|
|
|
<div class="pointName">
|
|
|
- <i class="circle" />
|
|
|
- <pre>{{ point.pointName }}</pre>
|
|
|
+ <!-- <i class="circle" /> -->
|
|
|
+ <pre>{{(pIndex+1)+". "+ point.pointName }}</pre>
|
|
|
</div>
|
|
|
- <el-radio-group v-model="point.status" style="margin-top: 5px">
|
|
|
+ <el-radio-group v-model="point.status" style="margin-top: 5px;margin-left:20px;">
|
|
|
<el-radio :label="0">正常</el-radio>
|
|
|
<el-radio :label="1">异常</el-radio>
|
|
|
</el-radio-group>
|
|
|
@@ -185,6 +185,7 @@ import imgUpload from "@/components/ImageUpload/index.vue";
|
|
|
import { getLabel } from "@/views/commonOption.js";
|
|
|
import { getNamesByOrgId } from "@/api/system/role.js";
|
|
|
import orgDropDown from "@/components/orgTree/orgDropDown.vue";
|
|
|
+import { arabicToChinese } from "@/utils/util.js";
|
|
|
export default {
|
|
|
name: "safetyCheckRegister",
|
|
|
data() {
|
|
|
@@ -229,6 +230,7 @@ export default {
|
|
|
methods: {
|
|
|
dayjs,
|
|
|
getLabel,
|
|
|
+ arabicToChinese,
|
|
|
onCheckOrgSelect(node) {
|
|
|
if (node == null) {
|
|
|
this.prevCheckOrgType = null;
|
|
|
@@ -394,6 +396,9 @@ export default {
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
+.app-container{
|
|
|
+ background-color: white;
|
|
|
+}
|
|
|
.content {
|
|
|
max-height: calc(100% - 300px);
|
|
|
overflow-y: auto;
|
|
|
@@ -418,7 +423,7 @@ export default {
|
|
|
background-color: #e6e6e6;
|
|
|
border-right: #b8bdc0 1px solid;
|
|
|
padding-top: auto;
|
|
|
- width: 15%;
|
|
|
+ width: 250px;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
justify-content: center;
|
|
|
@@ -426,7 +431,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.area_content > div:nth-child(2) {
|
|
|
- width: 80%;
|
|
|
+ width: calc(100% - 250px);
|
|
|
padding-left: 10px;
|
|
|
}
|
|
|
|
|
|
@@ -435,9 +440,15 @@ export default {
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
|
|
|
+.safetycheck_item>div:not(:last-child){
|
|
|
+ padding-bottom: 10px;
|
|
|
+ border-bottom: #b8bdc0 1px solid;
|
|
|
+}
|
|
|
.safetycheck_point {
|
|
|
padding-top: 10px;
|
|
|
padding-left: 30px;
|
|
|
+
|
|
|
+
|
|
|
|
|
|
& > div {
|
|
|
display: flex;
|
|
|
@@ -445,8 +456,9 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
.pointName {
|
|
|
- width: 200px;
|
|
|
+ width: 300px;
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
}
|