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

Loading…
Cancel
Save