Fixiaobai
2023-09-07 efcf450e8e7e375ef4ffe9f421ec0d34c5378180
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();
        }
      },