|
|
@@ -72,7 +72,7 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
- <div>
|
|
|
+ <div style="margin-left: 42px">
|
|
|
<span style="margin-right: 20px">检查区域</span>
|
|
|
<el-button type="primary" size="mini" @click="onAddPoint()"
|
|
|
>选择检查内容</el-button
|
|
|
@@ -198,9 +198,9 @@ export default {
|
|
|
rectificationDeadline: [{ required: true, message: "请选择整改期限" }],
|
|
|
},
|
|
|
baseInfoRules: {
|
|
|
- taskName: [{ required: true, message: "请输入检查名称" }],
|
|
|
- checkOrgId: [{ required: true, message: "请选择检查机构" }],
|
|
|
- checkRoleId: [{ required: true, message: "请选择检查角色" }],
|
|
|
+ taskName: [{ required: true, message: "请输入任务名称" }],
|
|
|
+ checkOrgId: [{ required: true, message: "请选择检查主体" }],
|
|
|
+ checkRoleId: [{ required: true, message: "请选择检查人员" }],
|
|
|
beCheckedOrgId: [{ required: true, message: "请选择受检机构" }],
|
|
|
planStartTime: [{ required: true, message: "请选择检查日期" }],
|
|
|
},
|
|
|
@@ -222,14 +222,14 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- this.info.checkRoleId=null;
|
|
|
+ this.info.checkRoleId = null;
|
|
|
getNamesByOrgId(node.id).then((r) => {
|
|
|
this.roleOptions = r.data;
|
|
|
this.prevCheckOrgType = node.type;
|
|
|
});
|
|
|
},
|
|
|
onBecheckOrgSelect(node) {
|
|
|
- this.info.beCheckOrgType=node.type;
|
|
|
+ this.info.beCheckOrgType = node.type;
|
|
|
},
|
|
|
onAddPoint() {
|
|
|
if (!this.info.beCheckedOrgId) {
|
|
|
@@ -345,7 +345,9 @@ export default {
|
|
|
}
|
|
|
if (isOk) {
|
|
|
this.info.isSubmit = 1;
|
|
|
- api.tempSubmit(this.info).then((r) => {
|
|
|
+ let data = { ...this.info };
|
|
|
+ data.checkRoles = [{ id: this.info.checkRoleId }];
|
|
|
+ api.tempSubmit(data).then((r) => {
|
|
|
this.$message.info("提交成功");
|
|
|
});
|
|
|
}
|
|
|
@@ -361,7 +363,7 @@ export default {
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
.area_content {
|
|
|
- border: #B8BDC0 1px solid;
|
|
|
+ border: #b8bdc0 1px solid;
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
}
|
|
|
@@ -371,12 +373,12 @@ export default {
|
|
|
}
|
|
|
|
|
|
.content > .area_content:last-child {
|
|
|
- border-bottom: #B8BDC0 1px solid;
|
|
|
+ border-bottom: #b8bdc0 1px solid;
|
|
|
}
|
|
|
|
|
|
.area_content > div:nth-child(1) {
|
|
|
background-color: #e6e6e6;
|
|
|
- border-right: #B8BDC0 1px solid;
|
|
|
+ border-right: #b8bdc0 1px solid;
|
|
|
padding-top: auto;
|
|
|
width: 15%;
|
|
|
display: flex;
|
|
|
@@ -409,7 +411,7 @@ export default {
|
|
|
.dialog-footer {
|
|
|
width: 100%;
|
|
|
text-align: right;
|
|
|
- border-top: #B8BDC0 1px solid;
|
|
|
+ border-top: #b8bdc0 1px solid;
|
|
|
padding-top: 10px;
|
|
|
padding-right: 30px;
|
|
|
position: absolute;
|
|
|
@@ -421,7 +423,7 @@ export default {
|
|
|
width: 5px;
|
|
|
height: 5px;
|
|
|
border-radius: 5px;
|
|
|
- background-color: #B8BDC0;
|
|
|
+ background-color: #b8bdc0;
|
|
|
border: none;
|
|
|
margin-bottom: 3px;
|
|
|
}
|