src/views/laboratory/organizational/index.vue
@@ -23,7 +23,7 @@ <el-button type="primary" size="small" icon="el-icon-circle-plus-outline" icon="el-icon-plus" @click="dialogVisible = true" >新增</el-button > @@ -92,7 +92,6 @@ <el-input placeholder="请输入部门名称" v-model="formData.department" clearable style="width: 80%" > </el-input> @@ -281,7 +280,10 @@ handler(newVal, oldVal) { if (newVal == false) { this.isUpdate = false; this.formData = {}; this.formData = { fatherId: "", department: "", }; this.$refs.ruleForm.resetFields(); } },