import { reactive } from 'vue'; export const detailData = reactive([ { key: 'assetTypeName', label: '资产类型', value: '', }, { key: 'os', label: '自动识别分类', value: '', }, { key: 'positionName', label: '资产所在区域', value: '', }, { key: 'coordinate', label: '经纬度', value: '', }, { key: 'domain', label: '域名', value: '', }, { key: 'internetAccess', label: '是否可从互联网访问', value: '', }, { key: 'networkLocationName', label: '网络位置', value: '', }, { key: 'gatherTypeNameSet', label: '采集方式', value: '', }, { key: 'importanceLevelName', label: '资产重要级别', value: '', }, ]); //资产归属 export const assetsColumn = reactive([ { key: 'company', label: '所属单位', value: '', }, { key: 'deptName', label: '所属部门', value: '', }, { key: 'contact', label: '负责人', value: '', }, { key: 'contactMobile', label: '联系方式', value: '', }, { key: 'contactEmail', label: '邮箱', value: '', }, { key: 'cabinet', label: '机柜位置', value: '', }, { key: 'securityDomain', label: '安全域', value: '', }, { key: 'isOwnName', label: '是否自有资产', value: '', }, { key: 'businessSystem', label: '所属业务系统', value: '', }, ]); //设备型号 export const equipmentTypeColumn = reactive([ { key: 'cpuManufacturer', imgKey:'cpuManufacturerUpdate', label: 'CPU厂商与型号', value: '', img: false, }, { key: 'memoryManufacturer', imgKey:'memoryManufacturerUpdate', label: '内存厂商与型号', value: '', img: false, }, { key: 'switchingChipManufacturer', imgKey:'switchingChipManufacturerUpdate', label: '交换芯片厂商与型号', value: '', img: false, }, { key: 'hardwareManufacturer', imgKey:'hardwareManufacturerUpdate', label: '硬件厂商与型号', value: '', img: false, }, { key: 'operatingSystem', imgKey:'operatingSystemUpdate', label: '操作系统与版本', value: '', col: 16, img: false, }, ]); //合规信息 export const complianceInfoColumn = reactive([ { summarizeLabel: '定级备案信息', col: 24, }, { key: 'networkUnitType', label: '网络单元类型', value: '', }, { key: 'ratingObjectName', label: '定级对象名称', value: '', }, { key: 'ratingLevelName', label: '定级级别', value: '', }, { summarizeLabel: '等保信息', col: 24, }, { key: 'protectionLevelName', label: '等保级别', value: '', col: 24, }, ]); //性能监控颜色 export const cpuColor={ areaGradientColor: [ ['#F0F7FE', '#FDFEFF'], ['rgba(16, 143, 234, 0.3)', 'rgba(49, 150, 250, 0)'], ['rgba(62, 193, 140, 0.3)', 'rgba(49, 150, 250, 0)'], ], color:['#208AED', '#0095FF', '#3EC18C'] } export const memoryColor= { areaGradientColor: [ ['#FEF8EF', '#FFFEFD'], ['rgba(16, 143, 234, 0.3)', 'rgba(49, 150, 250, 0)'], ['rgba(62, 193, 140, 0.3)', 'rgba(49, 150, 250, 0)'] ], color:['#F28A0F', '#F18301', '#3EC18C'] } export const ioColor={ areaGradientColor: [ ['#F2F9F3', '#FDFEFD'], ['rgba(16, 143, 234, 0.3)', 'rgba(49, 150, 250, 0)'], ['rgba(62, 193, 140, 0.3)', 'rgba(49, 150, 250, 0)']], color:['#48AE50', '#2FCB96', '#3EC18C'] } //系统信息 export const systemInfo = reactive([ { key: 'loginPort', title: '端口', num: 0, type: 'tree', column: [], }, { key: 'remoteService', title: 'WEB端口', num: 0, type: 'tree', column: [], }, { key: 'loginMiddleware', title: '中间件', num: 0, type: 'tree', column: [], }, { key: 'loginDatabase', title: '数据库', num:0, type: 'tree', column: [], }, { key: 'loginHardware', title: '硬件信息', type: 'list', num:0, column: [ { key:'diskSize', label: '硬盘大小', value: '', }, { key:'memoryNum', label: '内存数量', value: '', }, { key:'memorySize', label: '内存大小', value: '', }, { key:'cpuModel', label: 'CPU型号', value: '', }, { key:'cpuCores', label: 'CPU核数', value: '', }, { key:'cpuFrequency', label: 'CPU主频', value: '', }, { key:'systemModel', label: '硬件型号', value: '', }, { key:'power', label: '电源功率', value: '', }, { key:'powerNum', label: '电源数量', value: '', }, { key:'', label: '来源', value: '登录采集', }, { key:'runTime', label: '启动时间', value: '', col: 16, }, ], }, { key: 'loginAccount', title: '账号信息', num:0, type: 'table', column: [ { prop: 'gatherTime', label: '发现时间', }, { prop: 'accountName', label: '账号名称', }, { prop: 'accountExpireDate', label: '账号到期时间', }, { prop: 'pwdExpireDate', label: '密码到期时间', }, { prop: 'group', label: '所属组', slotName:'yaGroup' }, { prop: '来源', label: '来源', slotName:'yaOrigin' }, ], data: [], }, { key: 'loginSoftware', title: '已装软件', type: 'table', num:0, column: [ { prop: 'gatherTime', label: '发现时间', }, { prop: 'name', label: '软件名称', }, { prop: 'version', label: '软件版本', }, { prop: 'company', label: '厂商', }, { prop: 'installationTime', label: '安装时间', }, { prop: '来源', label: '来源', slotName:'yaOrigin' }, ], data: [], }, { key: 'loginNetwork', title: '网络配置', type: 'block', num:0, column: [], }, { key: 'loginSystemProcess', title: '系统进程', num:0, type: 'table', column: [ { prop: 'pid', label: 'PID', }, { prop: 'user', label: '执行用户', }, { prop: 'processCmd', label: '进程名', }, { prop: 'ppid', label: '父进程', }, { prop: 'state', label: '状态', }, { prop: 'startTime', label: '开始时间', }, { prop: 'executeTime', label: '执行时间', }, { prop: 'cpuUsage', label: 'CPU占用率', }, { prop: 'memoryUsage', label: '内存占用率', }, { prop: '来源', label: '来源', slotName:'yaOrigin' }, ], data: [], }, { key: 'loginEnvironment', title: '环境变量', num:0, type: 'table', column: [ { prop: 'gatherTime', label: '发现时间', }, { prop: 'type', label: '变量类型', }, { prop: 'name', label: '变量名', }, { prop: 'value', label: '变量值', }, { prop: '来源', label: '来源', slotName:'yaOrigin' }, ], data: [], }, { key: 'loginRoute', title: '路由', num:0, type: 'block', column: [], }, ]);