249 lines
4.0 KiB
JavaScript
249 lines
4.0 KiB
JavaScript
const addForm = [
|
|
{
|
|
elCol: [
|
|
{
|
|
type: "input",
|
|
title: "应用名称",
|
|
id: "name",
|
|
row: 24,
|
|
disabled: false,
|
|
required: true,
|
|
fontSize: 16
|
|
},
|
|
],
|
|
},
|
|
{
|
|
elCol: [
|
|
{
|
|
type: "input",
|
|
title: "版本号",
|
|
id: "versionNumber",
|
|
row: 24,
|
|
disabled: false,
|
|
required: true,
|
|
fontSize: 16,
|
|
rules: false,
|
|
rulesName: "decimal"
|
|
},
|
|
],
|
|
},
|
|
{
|
|
elCol: [
|
|
{
|
|
type: "select",
|
|
title: "接入方式",
|
|
id: "accessMode",
|
|
row: 24,
|
|
disabled: false,
|
|
required: true,
|
|
options: [
|
|
{
|
|
id: "1",
|
|
label: "接口",
|
|
},
|
|
{
|
|
id: "2",
|
|
label: "H5",
|
|
},
|
|
{
|
|
id: "3",
|
|
label: "PC网页",
|
|
},
|
|
{
|
|
id: "4",
|
|
label: "PC应用程序",
|
|
},
|
|
],
|
|
fontSize: 16,
|
|
multiple: true,
|
|
},
|
|
],
|
|
},
|
|
{
|
|
elCol: [
|
|
{
|
|
type: "select",
|
|
title: "所属领域",
|
|
id: "affiliationField",
|
|
row: 24,
|
|
disabled: false,
|
|
required: true,
|
|
options: [],
|
|
fontSize: 16
|
|
|
|
},
|
|
],
|
|
},
|
|
{
|
|
elCol: [
|
|
{
|
|
type: "select",
|
|
title: "系统类型",
|
|
id: "appType",
|
|
row: 24,
|
|
disabled: false,
|
|
required: true,
|
|
options: [
|
|
{
|
|
id: "1",
|
|
label: "致远OA",
|
|
},
|
|
{
|
|
id: "2",
|
|
label: "用友U8C",
|
|
},
|
|
{
|
|
id: "3",
|
|
label: "用友BIP",
|
|
},
|
|
{
|
|
id: "4",
|
|
label: "宁波银行",
|
|
},
|
|
{
|
|
id: "5",
|
|
label: "用友U8",
|
|
},
|
|
{
|
|
id: "6",
|
|
label: "钉钉",
|
|
},
|
|
{
|
|
id: "7",
|
|
label: "CRM",
|
|
},
|
|
{
|
|
id: "8",
|
|
label: "用友NCC",
|
|
},
|
|
{
|
|
id: "9",
|
|
label: "数据库",
|
|
},
|
|
],
|
|
fontSize: 16,
|
|
},
|
|
],
|
|
},
|
|
{
|
|
elCol: [
|
|
{
|
|
type: "input",
|
|
title: "厂商",
|
|
id: "manufacturer",
|
|
row: 24,
|
|
disabled: false,
|
|
required: false,
|
|
fontSize: 16
|
|
},
|
|
],
|
|
},
|
|
{
|
|
elCol: [
|
|
{
|
|
type: "textrea",
|
|
title: "应用简介",
|
|
id: "appIntroduction",
|
|
row: 24,
|
|
disabled: false,
|
|
fontSize: 16
|
|
|
|
},
|
|
],
|
|
},
|
|
]
|
|
|
|
const tableColumn = [
|
|
{
|
|
id: "name",
|
|
title: "应用名称",
|
|
width: 150
|
|
},
|
|
{
|
|
id: "accessMode",
|
|
title: "接入方式",
|
|
},
|
|
{
|
|
id: "manufacturer",
|
|
title: "厂商",
|
|
tooltip: true,
|
|
width: 150,
|
|
},
|
|
{
|
|
id: "affiliationFieldName",
|
|
title: "所属领域",
|
|
tooltip: true,
|
|
width: 150,
|
|
},
|
|
{
|
|
id: "appIntroduction",
|
|
title: "产品描述",
|
|
tooltip: true,
|
|
},
|
|
{
|
|
id: "interfaceStatus",
|
|
title: "接口",
|
|
width: 100,
|
|
},
|
|
{
|
|
id: "dbStatus",
|
|
title: "数据源",
|
|
tooltip: true,
|
|
width: 100,
|
|
disabled: true
|
|
},
|
|
{
|
|
id: "appStatus",
|
|
title: "状态",
|
|
tooltip: true,
|
|
width: 100,
|
|
}
|
|
]
|
|
const settingMenu = [
|
|
{
|
|
title: "应用信息",
|
|
icon: "appMenu01",
|
|
path: "applicationEdit"
|
|
},
|
|
{
|
|
title: "开发管理",
|
|
icon: "appMenu02",
|
|
path: "exploit"
|
|
},
|
|
{
|
|
title: "API接口清单",
|
|
icon: "appMenu03",
|
|
path: "appApiAdmin"
|
|
},
|
|
{
|
|
title: "应用账号授权",
|
|
icon: "appMenu03",
|
|
path: "accountAdmin"
|
|
},
|
|
{
|
|
title: "安全与监控",
|
|
icon: "appMenu04"
|
|
},
|
|
{
|
|
title: "权限管理",
|
|
icon: "appMenu05",
|
|
path: 'authority'
|
|
},
|
|
{
|
|
title: "插件管理",
|
|
icon: "appMenu06",
|
|
path: 'inserterAdmin'
|
|
},
|
|
{
|
|
title: "脚本管理",
|
|
icon: "appMenu07",
|
|
path: 'scriptAdmin'
|
|
},
|
|
]
|
|
const configData = {
|
|
addForm,
|
|
tableColumn,
|
|
settingMenu
|
|
}
|
|
export default configData
|