middleground_code_v2/src/views/applicationList/configData.js

232 lines
3.7 KiB
JavaScript
Raw Normal View History

2024-03-26 11:18:19 +08:00
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
},
],
},
2024-06-20 11:40:09 +08:00
{
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",
},
2024-08-19 11:06:41 +08:00
{
id: "4",
label: "用友U8",
},
{
id: "5",
label: "钉钉",
},
{
id: "6",
label: "CRM",
},
2024-06-20 11:40:09 +08:00
],
fontSize: 16,
},
],
},
2024-03-26 11:18:19 +08:00
{
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: "appMenu04"
},
{
title: "权限管理",
icon: "appMenu05",
path: 'authority'
},
{
title: "插件管理",
icon: "appMenu06",
path: 'inserterAdmin'
},
{
title: "脚本管理",
icon: "appMenu07",
path: 'scriptAdmin'
},
2024-03-26 11:18:19 +08:00
]
const configData = {
addForm,
tableColumn,
settingMenu
}
export default configData