Browse Source

优化检验项目列弹窗相关

master
李磊 3 years ago
parent
commit
f894d9a6af
  1. 9
      src/components/drawerDialog/index.vue

9
src/components/drawerDialog/index.vue

@ -415,8 +415,8 @@
</el-tabs> </el-tabs>
</div> </div>
</el-drawer> </el-drawer>
<el-dialog title="新增" :visible.sync="dialogVisible" width="37%"> <el-dialog title="新增" :visible.sync="dialogVisible" width="37%" @close="closeTemplateJyxmDialog">
<el-form ref="templateJyxmForm" label-width="120px" :model="formLabelAlign"> <el-form ref="templateJyxmForm" label-width="170px" :model="formLabelAlign">
<el-form-item <el-form-item
label="列对应的字段" label="列对应的字段"
prop="field" prop="field"
@ -426,7 +426,6 @@
</el-form-item> </el-form-item>
<el-form-item <el-form-item
label="从右往左数对应的索引" label="从右往左数对应的索引"
label-width="170px"
prod="indexFromRight" prod="indexFromRight"
:rules="[ :rules="[
{ required: true, message: '请输入对应索引', trigger: 'blur' }, { required: true, message: '请输入对应索引', trigger: 'blur' },
@ -755,6 +754,9 @@ export default {
close() { close() {
this.$refs.templateSettingForm.resetFields() this.$refs.templateSettingForm.resetFields()
}, },
closeTemplateJyxmDialog() {
this.$refs.templateJyxmForm.resetFields()
},
open() { open() {
console.log(this.id, 'hahahh') console.log(this.id, 'hahahh')
this.listQuery.templateId = this.id this.listQuery.templateId = this.id
@ -778,7 +780,6 @@ export default {
this.dialogVisible1 = true this.dialogVisible1 = true
}, },
addtemFn() { addtemFn() {
this.$refs.templateJyxmForm.resetFields()
this.dialogVisible = true this.dialogVisible = true
}, },
changeState() {}, changeState() {},

Loading…
Cancel
Save