|
@@ -393,7 +393,7 @@
|
|
|
</el-dialog>
|
|
|
|
|
|
<!-- 新增规范文件 -->
|
|
|
- <el-dialog title="新增" :visible.sync="addFileDialogVisible" append-to-body width="30%">
|
|
|
+ <el-dialog title="新增" :visible.sync="addFileDialogVisible" append-to-body width="30%" @close="closeAddFile">
|
|
|
<el-form :model="fileForm" label-position="left" label-width="80px" :rules="fileRuleForm" ref="fileFormRef">
|
|
|
<el-form-item label="规范名称" prop="name" >
|
|
|
<el-input v-model="fileForm.name" ></el-input>
|
|
@@ -494,6 +494,8 @@ import { getStore, setStore } from "@/util/store";
|
|
|
total: 0,
|
|
|
ruleLoading: false,
|
|
|
addDialogVisible:false,
|
|
|
+ saveBatchLoading: false,
|
|
|
+
|
|
|
addSaveFileLoad:false,
|
|
|
titleInput:'',
|
|
|
isShowList:true,
|
|
@@ -919,13 +921,21 @@ import { getStore, setStore } from "@/util/store";
|
|
|
this.$message.error(res.data.msg)
|
|
|
}
|
|
|
}).finally(() => {
|
|
|
- this.saveBatchLoading = false;
|
|
|
+ this.addFileRuleLoad = false;
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
+ closeAddFile(){
|
|
|
+ this.addFileDialogVisible=false
|
|
|
+ this.fileForm={
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ },
|
|
|
handleCurrentChange(val) {
|
|
|
this.currentPage = val
|
|
|
this.getRuleItemOptions(); // 刷新数据
|