|
|
@@ -37,7 +37,7 @@
|
|
|
<span v-else>{{ taskInfo.checkTeam }}</span>
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item label="检查状态"
|
|
|
- >{{ getLabel(dict.type.safety_check_status,taskInfo.status) }}
|
|
|
+ >{{ getLabel(dict.type.safety_check_status, taskInfo.status) }}
|
|
|
</el-descriptions-item>
|
|
|
</el-descriptions>
|
|
|
<el-row class="el-row-button">
|
|
|
@@ -51,9 +51,8 @@
|
|
|
>新增检查内容</el-button
|
|
|
>
|
|
|
</el-col>
|
|
|
-
|
|
|
</el-row>
|
|
|
-
|
|
|
+
|
|
|
<div class="content">
|
|
|
<div class="area_content" v-for="area in taskInfo.checkList">
|
|
|
<div>
|
|
|
@@ -65,7 +64,7 @@
|
|
|
<div class="safetycheck_point" v-for="point in item.pointList">
|
|
|
<div>
|
|
|
<div class="pointName">
|
|
|
- <div style="display:flex;flex-direction:row">
|
|
|
+ <div style="display: flex; flex-direction: row">
|
|
|
<i class="circle" />
|
|
|
<pre>{{ point.pointName }}</pre>
|
|
|
</div>
|
|
|
@@ -163,17 +162,17 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="dialog-footer">
|
|
|
- <el-button @click="onClose">关闭</el-button>
|
|
|
+ <el-button type="primary" @click="onSubmit()" v-if="showSaveBtn"
|
|
|
+ >提交</el-button
|
|
|
+ >
|
|
|
+ <el-button @click="onSave" v-if="showSaveBtn">保存</el-button>
|
|
|
<el-button
|
|
|
@click="onGrant"
|
|
|
v-if="showGrantBtn"
|
|
|
v-hasPermi="['core:safetycheck:grant']"
|
|
|
>授权</el-button
|
|
|
>
|
|
|
- <el-button @click="onSave" v-if="showSaveBtn">保存</el-button>
|
|
|
- <el-button type="primary" @click="onSubmit()" v-if="showSaveBtn"
|
|
|
- >提交</el-button
|
|
|
- >
|
|
|
+ <el-button @click="onClose">关闭</el-button>
|
|
|
</div>
|
|
|
<SelectPoint
|
|
|
ref="SelectPoint"
|
|
|
@@ -209,7 +208,7 @@ export default {
|
|
|
mode: null,
|
|
|
};
|
|
|
},
|
|
|
- dicts: ["rectification_deadline", "sys_user_is_lock","safety_check_status"],
|
|
|
+ dicts: ["rectification_deadline", "sys_user_is_lock", "safety_check_status"],
|
|
|
components: { SelectPoint, imgUpload, UserSelector },
|
|
|
computed: {
|
|
|
...mapGetters(["orgId", "roleList", "userId"]),
|
|
|
@@ -414,9 +413,9 @@ export default {
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
-.el-row-button{
|
|
|
- margin-top:20px;
|
|
|
- }
|
|
|
+.el-row-button {
|
|
|
+ margin-top: 20px;
|
|
|
+}
|
|
|
.content {
|
|
|
max-height: calc(100% - 300px);
|
|
|
overflow-y: auto;
|
|
|
@@ -475,7 +474,7 @@ export default {
|
|
|
|
|
|
.pointName pre {
|
|
|
margin-left: 10px;
|
|
|
- width:calc(100% - 15px)
|
|
|
+ width: calc(100% - 15px);
|
|
|
}
|
|
|
.dialog-footer {
|
|
|
width: 100%;
|
|
|
@@ -495,6 +494,6 @@ export default {
|
|
|
background-color: #b8bdc0;
|
|
|
border: none;
|
|
|
margin-bottom: 3px;
|
|
|
- margin-top:6px;
|
|
|
+ margin-top: 6px;
|
|
|
}
|
|
|
</style>
|