Commit 7d656616 authored by 耿迪迪's avatar 耿迪迪

隐患反馈还原 gengdidi

parent 23b90270
......@@ -501,7 +501,7 @@
</el-dialog>
<!-- 隐患反馈信息 -->
<el-dialog :title="title" :visible.sync="hiddenFeedOpen" width="900px" append-to-body @close="cancelHiddenFeedForm">
<el-form ref="hiddenFeedForm" :model="hiddenFeedForm" label-width="80px">
<el-form ref="hiddenFeedForm" :model="hiddenFeedForm" :rules="hiddenFeedRules" label-width="80px">
<el-row>
<el-col :span="12">
<el-form-item label="任务标题" prop="workTitle">
......@@ -582,13 +582,13 @@ export default {
HiddenFeedTrouble
},
data() {
/* const validateHiddenFeedInfo = (rule, value, callback) => {
const validateHiddenFeedInfo = (rule, value, callback) => {
if (this.$refs.hiddenChild.checkChildData()) {
callback(new Error("隐患信息不能为空!"));
} else {
callback();
}
};*/
};
return {
isOpen:false,
// 遮罩层
......@@ -703,11 +703,11 @@ export default {
hiddenList:[]
},
//反馈校验
/*hiddenFeedRules: {
hiddenFeedRules: {
hiddenInfo: [
{ type: "array", validator: validateHiddenFeedInfo, required: true }
]
},*/
},
//督办form
supervisorForm: {},
//督办弹框
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment