src/views/febs/system/dept/Index.vue
@@ -113,8 +113,8 @@ }, { min: 1, max: 10, message: this.$t('rules.range3to10'), max: 50, message: this.$t('rules.noMoreThan50'), trigger: 'blur' } ] @@ -132,7 +132,8 @@ parentId: null, deptType: '', deptFunction: '', orderNum: 0 orderNum: 0, allDeptName: '' } }, initDeptTree() { @@ -162,6 +163,7 @@ this.dept.deptId = data.id this.dept.deptType = data.deptType this.dept.deptFunction = data.deptFunction this.dept.allDeptName = data.allDeptName this.$refs.form.clearValidate() }, add() {