master
Gitea 2 weeks ago
parent 60d4c5a99e
commit 0f75e1b735
  1. 6
      jeecgboot-vue3/src/views/system/depart/depart.data.ts
  2. 6
      jeecgboot-vue3/src/views/system/departUser/depart.user.data.ts

@ -81,10 +81,10 @@ export function useBasicFormSchema() {
//
export const orgCategoryOptions = {
//
root: [{ value: '1', label: '公司' }],
root: [{ value: '1', label: '市直' }],
//
child: [
{ value: '2', label: '部门' },
{ value: '3', label: '岗位' },
{ value: '2', label: '市直' },
{ value: '3', label: '县区' },
],
};

@ -163,11 +163,11 @@ export function useBaseInfoForm(treeData: Ref<any[]>) {
label: '机构类型',
render(val) {
if (val === '1') {
return '公司';
return '市直';
} else if (val === '2') {
return '部门';
return '市直';
} else if (val === '3') {
return '岗位';
return '县区';
}
return val;
},

Loading…
Cancel
Save