|
@@ -2,6 +2,7 @@ import { BasicColumn } from '/@/components/Table';
|
|
|
import { FormSchema } from '/@/components/Table';
|
|
import { FormSchema } from '/@/components/Table';
|
|
|
import { h } from 'vue';
|
|
import { h } from 'vue';
|
|
|
import { Tag } from 'ant-design-vue';
|
|
import { Tag } from 'ant-design-vue';
|
|
|
|
|
+import { getDictDataDropdown } from '/@/api/sys/admin';
|
|
|
|
|
|
|
|
export const columns: BasicColumn[] = [
|
|
export const columns: BasicColumn[] = [
|
|
|
{
|
|
{
|
|
@@ -14,6 +15,11 @@ export const columns: BasicColumn[] = [
|
|
|
title: '编码',
|
|
title: '编码',
|
|
|
dataIndex: 'code',
|
|
dataIndex: 'code',
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '级别',
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ dataIndex: 'level',
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
title: '状态',
|
|
title: '状态',
|
|
|
dataIndex: 'status',
|
|
dataIndex: 'status',
|
|
@@ -81,6 +87,20 @@ export const formSchema: FormSchema[] = [
|
|
|
required: true,
|
|
required: true,
|
|
|
colProps: { span: 24 },
|
|
colProps: { span: 24 },
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ field: 'level',
|
|
|
|
|
+ label: '机构级别',
|
|
|
|
|
+ component: 'ApiSelect',
|
|
|
|
|
+ componentProps: {
|
|
|
|
|
+ api: getDictDataDropdown,
|
|
|
|
|
+ params: 'org_level',
|
|
|
|
|
+ fieldNames: {
|
|
|
|
|
+ label: 'label',
|
|
|
|
|
+ value: 'value',
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ colProps: { span: 24 },
|
|
|
|
|
+ },
|
|
|
// {
|
|
// {
|
|
|
// field: 'code',
|
|
// field: 'code',
|
|
|
// label: '编码',
|
|
// label: '编码',
|