|
@@ -15,6 +15,11 @@ export const columns: BasicColumn[] = [
|
|
|
dataIndex: 'companyName'
|
|
|
},
|
|
|
{
|
|
|
+ title: '状态',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'status_dictText'
|
|
|
+ },
|
|
|
+ {
|
|
|
title: '初始化的域名',
|
|
|
align:"center",
|
|
|
dataIndex: 'domain'
|
|
@@ -60,14 +65,14 @@ export const columns: BasicColumn[] = [
|
|
|
dataIndex: 'remark'
|
|
|
},
|
|
|
{
|
|
|
- title: '状态',
|
|
|
+ title: '所属部门',
|
|
|
align:"center",
|
|
|
- dataIndex: 'status_dictText'
|
|
|
+ dataIndex: 'sysOrgCode_dictText'
|
|
|
},
|
|
|
{
|
|
|
- title: '数据授权用户',
|
|
|
+ title: '所属人员',
|
|
|
align:"center",
|
|
|
- dataIndex: 'userIds_dictText'
|
|
|
+ dataIndex: 'sysUserCode_dictText'
|
|
|
},
|
|
|
];
|
|
|
//查询数据
|
|
@@ -76,74 +81,19 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
//表单数据
|
|
|
export const formSchema: FormSchema[] = [
|
|
|
{
|
|
|
- label: '站点id',
|
|
|
- field: 'siteId',
|
|
|
- component: 'InputNumber',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '公司名称',
|
|
|
- field: 'companyName',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '初始化的域名',
|
|
|
- field: 'domain',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '联系方式',
|
|
|
- field: 'tel',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '联系人',
|
|
|
- field: 'contact',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '邮箱',
|
|
|
- field: 'email',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '公司名英⽂简称',
|
|
|
- field: 'enname',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '套餐名',
|
|
|
- field: 'tcName',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '套餐周期,单位⽉',
|
|
|
- field: 'tcPeriod',
|
|
|
- component: 'InputNumber',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '站点选择的⼩语种语⾔',
|
|
|
- field: 'tcLanguage',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '备注',
|
|
|
- field: 'remark',
|
|
|
- component: 'InputTextArea',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '状态',
|
|
|
- field: 'status',
|
|
|
- component: 'JDictSelectTag',
|
|
|
+ label: '所属部门',
|
|
|
+ field: 'sysOrgCode',
|
|
|
+ component: 'JSelectDept',
|
|
|
componentProps:{
|
|
|
- dictCode:"site_status"
|
|
|
- },
|
|
|
+ rowKey:'orgCode',
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
- label: '数据授权用户',
|
|
|
- field: 'userIds',
|
|
|
- component: 'JSelectMultiple',
|
|
|
+ label: '所属人员',
|
|
|
+ field: 'sysUserCode',
|
|
|
+ component: 'JSelectUser',
|
|
|
componentProps:{
|
|
|
- dictCode:"sys_user,realname,id"
|
|
|
+ labelKey:'realname',
|
|
|
},
|
|
|
},
|
|
|
// TODO 主键隐藏字段,目前写死为ID
|
|
@@ -159,17 +109,18 @@ export const formSchema: FormSchema[] = [
|
|
|
export const superQuerySchema = {
|
|
|
siteId: {title: '站点id',order: 0,view: 'number', type: 'number',},
|
|
|
companyName: {title: '公司名称',order: 1,view: 'text', type: 'string',},
|
|
|
- domain: {title: '初始化的域名',order: 2,view: 'text', type: 'string',},
|
|
|
- tel: {title: '联系方式',order: 3,view: 'text', type: 'string',},
|
|
|
- contact: {title: '联系人',order: 4,view: 'text', type: 'string',},
|
|
|
- email: {title: '邮箱',order: 5,view: 'text', type: 'string',},
|
|
|
- enname: {title: '公司名英⽂简称',order: 6,view: 'text', type: 'string',},
|
|
|
- tcName: {title: '套餐名',order: 7,view: 'text', type: 'string',},
|
|
|
- tcPeriod: {title: '套餐周期,单位⽉',order: 8,view: 'number', type: 'number',},
|
|
|
- tcLanguage: {title: '站点选择的⼩语种语⾔',order: 9,view: 'text', type: 'string',},
|
|
|
- remark: {title: '备注',order: 10,view: 'textarea', type: 'string',},
|
|
|
- status: {title: '状态',order: 11,view: 'number', type: 'number',},
|
|
|
- userIds: {title: '数据授权用户',order: 12,view: 'list_multi', type: 'string',dictTable: "sys_user", dictCode: 'id', dictText: 'realname',},
|
|
|
+ status: {title: '状态',order: 2,view: 'number', type: 'number',},
|
|
|
+ domain: {title: '初始化的域名',order: 3,view: 'text', type: 'string',},
|
|
|
+ tel: {title: '联系方式',order: 4,view: 'text', type: 'string',},
|
|
|
+ contact: {title: '联系人',order: 5,view: 'text', type: 'string',},
|
|
|
+ email: {title: '邮箱',order: 6,view: 'text', type: 'string',},
|
|
|
+ enname: {title: '公司名英⽂简称',order: 7,view: 'text', type: 'string',},
|
|
|
+ tcName: {title: '套餐名',order: 8,view: 'text', type: 'string',},
|
|
|
+ tcPeriod: {title: '套餐周期,单位⽉',order: 9,view: 'number', type: 'number',},
|
|
|
+ tcLanguage: {title: '站点选择的⼩语种语⾔',order: 10,view: 'text', type: 'string',},
|
|
|
+ remark: {title: '备注',order: 11,view: 'textarea', type: 'string',},
|
|
|
+ sysOrgCode: {title: '所属部门',order: 12,view: 'sel_depart', type: 'string',},
|
|
|
+ sysUserCode: {title: '所属人员',order: 13,view: 'sel_user', type: 'string',},
|
|
|
};
|
|
|
|
|
|
/**
|
|
@@ -179,4 +130,4 @@ export const superQuerySchema = {
|
|
|
export function getBpmFormSchema(_formData): FormSchema[]{
|
|
|
// 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema
|
|
|
return formSchema;
|
|
|
-}
|
|
|
+}
|