Commit ccc52175 authored by 罗林杰's avatar 罗林杰

Merge remote-tracking branch 'origin/master'

parents cd9386ae ca63ef0e
...@@ -96,8 +96,8 @@ ...@@ -96,8 +96,8 @@
<script lang="ts" setup> <script lang="ts" setup>
import { BasicTable, useTable } from '@/components/Table'; import { BasicTable, useTable } from '@/components/Table';
import { PageWrapper } from '@/components/Page'; import { PageWrapper } from '@/components/Page';
import { Columns } from '@/views/mallResourceDevelopment/dataSet/departmentalResources/departmentalResources.data'; import { Columns } from './departmentalResources.data';
import { resourceList } from '@/views/mallResourceDevelopment/dataSet/departmentalResources/mock'; import { resourceList } from './mock';
import { ref } from 'vue'; import { ref } from 'vue';
import Icon from '@/components/Icon/Icon.vue'; import Icon from '@/components/Icon/Icon.vue';
import { Pagination, Select } from 'ant-design-vue'; import { Pagination, Select } from 'ant-design-vue';
......
export const resourceList = [ export const resourceList = [
{ {
resourceName: '基本信息', resourceName: 'API 文档生成',
scene: 'databaseOfflineLoading', scene: 'apiDocGeneration',
resourceCataloging: '党建建设', resourceCataloging: 'API 管理',
icon: 'majesticons:table', icon: 'mdi:file-document-outline',
color: '#71c8d5', color: '#71c8d5',
ownershipBody: '数据资源管理部', ownershipBody: '开发部',
applicantOrganization: '数据资源管理部', applicantOrganization: '开发部',
description: '集团党委会、党委理论学习中心的学习会的组织实操、集团党委、纪委换届选举', description: '自动生成 RESTful 和 GraphQL API 的文档,支持多种输出格式。',
label: '其他', label: '工具',
permissionType: '推送',
applicant: 'admin', applicant: 'admin',
permissionType: '查看', createdTime: '2023/10/01 09:00:00',
createdTime: '2023/01/05 15:43:15', view: '150',
view: '85', edit: '6',
edit: '2',
isShare: 'true', isShare: 'true',
}, },
{ {
resourceName: '党员发展计划', resourceName: 'API 测试平台',
scene: 'partyDevelopmentPlan', scene: 'apiTestingPlatform',
resourceCataloging: '党建建设', resourceCataloging: 'API 管理',
icon: 'majesticons:table', icon: 'mdi:test-tube',
color: '#71c8d5', color: '#71c8d5',
ownershipBody: '组织人事部', ownershipBody: '测试部',
applicantOrganization: '组织人事部', applicantOrganization: '测试部',
permissionType: '查看', permissionType: '推送',
description: '制定年度党员发展计划,开展入党积极分子培训', description: '提供一个全面的 API 测试环境,包括自动化测试和性能测试。',
label: '计划', label: '测试',
applicant: 'admin', applicant: 'admin',
createdTime: '2023/02/10 09:20:30', createdTime: '2023/10/05 14:30:00',
view: '120', view: '200',
edit: '5', edit: '8',
isShare: 'true', isShare: 'true',
}, },
{ {
resourceName: '主题教育活动', resourceName: 'API 安全审计',
scene: 'themeEducationActivity', scene: 'apiSecurityAudit',
resourceCataloging: '党建建设', resourceCataloging: 'API 安全',
icon: 'majesticons:table', icon: 'mdi:shield-check',
color: '#71c8d5', color: '#71c8d5',
ownershipBody: '宣传部', ownershipBody: '安全部',
applicantOrganization: '宣传部', applicantOrganization: '安全部',
permissionType: '查看', permissionType: '下载',
description: '举办各类主题教育活动,增强党员意识', description: '定期进行 API 安全审查,确保所有接口符合安全标准。',
label: '活动', label: '安全',
applicant: 'admin', applicant: 'admin',
createdTime: '2023/03/15 14:45:45', createdTime: '2023/10/10 11:00:00',
view: '95', view: '180',
edit: '3', edit: '7',
isShare: 'false', isShare: 'false',
}, },
{ {
resourceName: '党建工作总结', resourceName: 'API 版本管理',
scene: 'partyWorkSummary', scene: 'apiVersionManagement',
resourceCataloging: '党建建设', resourceCataloging: 'API 管理',
icon: 'majesticons:table', icon: 'mdi:history',
color: '#71c8d5', color: '#71c8d5',
ownershipBody: '办公室', ownershipBody: '架构部',
applicantOrganization: '办公室', applicantOrganization: '架构部',
permissionType: '查看', permissionType: '推送',
description: '撰写季度党建工作总结报告', description: '管理和维护不同版本的 API,确保向后兼容性和稳定性。',
label: '总结', label: '管理',
applicant: 'admin', applicant: 'admin',
createdTime: '2023/08/10 09:00:00', createdTime: '2023/10/15 09:45:00',
view: '80', view: '160',
edit: '1', edit: '5',
isShare: 'true', isShare: 'true',
}, },
{ {
resourceName: '党史知识竞赛', resourceName: 'API 性能监控',
scene: 'partyHistoryQuiz', scene: 'apiPerformanceMonitoring',
resourceCataloging: '党建建设', resourceCataloging: 'API 监控',
icon: 'majesticons:table', icon: 'mdi:chart-line',
color: '#71c8d5', color: '#71c8d5',
ownershipBody: '宣传教育中心', ownershipBody: '运维部',
applicantOrganization: '宣传教育中心', applicantOrganization: '运维部',
permissionType: '编辑', permissionType: '下载',
description: '组织党史知识竞赛,提升党员历史素养', description: '实时监控 API 的性能指标,如响应时间和吞吐量,以保证服务的高可用性。',
label: '竞赛', label: '监控',
applicant: 'admin', applicant: 'admin',
createdTime: '2023/05/25 16:30:15', createdTime: '2023/10/20 10:00:00',
view: '110', view: '190',
edit: '4', edit: '6',
isShare: 'false', isShare: 'false',
}, },
{ {
resourceName: '公交优化方案', resourceName: 'API 流量分析',
scene: 'urbanBusOptimization', scene: 'apiTrafficAnalysis',
resourceCataloging: '交通信息', resourceCataloging: 'API 分析',
icon: 'majesticons:bus', icon: 'mdi:chart-bar',
color: '#71c8d5', color: '#71c8d5',
ownershipBody: '交通规划部', ownershipBody: '数据分析部',
applicantOrganization: '交通规划部', applicantOrganization: '数据分析部',
permissionType: '编辑', permissionType: '推送',
description: '分析现有公交线路运行情况,提出优化建议以提高效率和乘客满意度。', description: '分析 API 的流量模式,识别使用趋势和潜在问题。',
label: '方案', label: '分析',
applicant: 'admin', applicant: 'admin',
createdTime: '2023/04/01 10:00:00', createdTime: '2023/10/25 11:15:00',
view: '90', view: '170',
edit: '3', edit: '4',
isShare: 'true', isShare: 'true',
}, },
{ {
resourceName: '交通系统部署', resourceName: 'API 认证与授权',
scene: 'intelligentTransportSystemDeployment', scene: 'apiAuthenticationAndAuthorization',
icon: 'majesticons:bus', resourceCataloging: 'API 安全',
resourceCataloging: '交通信息', icon: 'mdi:lock',
color: '#71c8d5', color: '#71c8d5',
ownershipBody: '信息技术部', ownershipBody: '安全部',
applicantOrganization: '信息技术部', applicantOrganization: '安全部',
permissionType: '编辑', permissionType: '下载',
description: description: '实现强大的认证和授权机制,保护 API 不受未授权访问。',
'实施先进的智能交通管理系统,包括信号灯控制、交通流量监测等,旨在缓解城市交通拥堵。', label: '安全',
label: '技术',
applicant: 'admin', applicant: 'admin',
createdTime: '2023/05/15 11:30:00', createdTime: '2023/10/30 12:30:00',
view: '115', view: '185',
edit: '5', edit: '5',
isShare: 'false', isShare: 'false',
}, },
{ {
resourceName: '绿色出行倡议', resourceName: 'API 日志记录',
scene: 'greenCommuteInitiative', scene: 'apiLogging',
icon: 'majesticons:bus', resourceCataloging: 'API 监控',
resourceCataloging: '交通信息', icon: 'mdi:clipboard-list-outline',
color: '#71c8d5', color: '#71c8d5',
ownershipBody: '环保与发展部', ownershipBody: '运维部',
applicantOrganization: '环保与发展部', applicantOrganization: '运维部',
permissionType: '删除', permissionType: '推送',
description: '推广低碳环保的出行方式,如骑行和步行,并为市民提供相关设施支持。', description: '详细记录 API 调用的日志,便于故障排查和行为审计。',
label: '倡议', label: '监控',
applicant: 'admin', applicant: 'admin',
createdTime: '2023/09/28 14:00:00', createdTime: '2023/11/05 13:00:00',
view: '75', view: '165',
edit: '2', edit: '3',
isShare: 'true', isShare: 'true',
}, },
]; ];
...@@ -187,8 +187,8 @@ ...@@ -187,8 +187,8 @@
const sortOrder = ref('latest'); const sortOrder = ref('latest');
const isDisabled = ref(); const isDisabled = ref();
const selectedCard = reactive([] as any[]); const selectedCard = reactive([] as any[]);
const cardListData = ref([]); const cardListData = ref(cardList);
const workSpaceName = ref('党建建设'); const workSpaceName = ref('公共API');
const data = ref([ const data = ref([
{ {
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
: item.isShare.toString() === selectValue.value; : item.isShare.toString() === selectValue.value;
const workspaceMatch = const workspaceMatch =
workSpaceName.value === '' || workSpaceName.value === '' ||
workSpaceName.value === '公共数据集' || workSpaceName.value === '公共API' ||
item.parentWorkSpaceName === workSpaceName.value; item.parentWorkSpaceName === workSpaceName.value;
return titleMatch.value && shareMatch && workspaceMatch; return titleMatch.value && shareMatch && workspaceMatch;
}); });
...@@ -304,7 +304,9 @@ ...@@ -304,7 +304,9 @@
openEditModal(true, item); openEditModal(true, item);
} }
function handleBulkDownload() {} function handleBulkDownload() {
createMessage.success('下载成功');
}
/**批量推送推送*/ /**批量推送推送*/
function pushNotifications(record) { function pushNotifications(record) {
...@@ -327,7 +329,7 @@ ...@@ -327,7 +329,7 @@
: item.isShare.toString() === selectValue.value; : item.isShare.toString() === selectValue.value;
const workspaceMatch = const workspaceMatch =
workSpaceName.value === '' || workSpaceName.value === '' ||
workSpaceName.value === '公共数据集' || workSpaceName.value === '公共API' ||
item.parentWorkSpaceName === workSpaceName.value; item.parentWorkSpaceName === workSpaceName.value;
return titleMatch.value && shareMatch && workspaceMatch; return titleMatch.value && shareMatch && workspaceMatch;
}); });
......
...@@ -67,359 +67,347 @@ export const TreeData: any[] = [ ...@@ -67,359 +67,347 @@ export const TreeData: any[] = [
{ {
delFlag: '0', delFlag: '0',
flag: '1', flag: '1',
businessId: 100, businessId: 0,
parentWorkSpaceName: '公共数据集', parentWorkSpaceName: '公共API', // 根节点没有上级工作空间名称
workSpaceName: '公共数据集', workSpaceName: '公共API',
parentId: 0, parentId: 0o00001, // 根节点没有父级ID
'code:': '001', code: '000', // 为根节点设置唯一的代码
ancestors: '0', ancestors: '', // 根节点没有祖先
orderNum: 0, orderNum: 0,
children: [], children: [
selectType: null, {
createTime: '2024-10-24 10:04:04', delFlag: '0',
createBy: 'admin', flag: '1',
}, businessId: 100,
{ parentWorkSpaceName: '公共API',
delFlag: '0', workSpaceName: 'API 管理',
flag: '1', parentId: 0,
businessId: 101, code: '001',
parentWorkSpaceName: '公共数据集', ancestors: '0',
workSpaceName: '党建建设', orderNum: 0,
parentId: 100, children: [
'code:': '002', {
ancestors: '0,100', delFlag: '0',
orderNum: 1, flag: '1',
children: [], businessId: 101,
selectType: null, parentWorkSpaceName: 'API 管理',
createTime: '2024-10-24 10:04:04', workSpaceName: 'API 文档生成',
createBy: 'admin', parentId: 100,
}, code: '002',
{ ancestors: '0,100',
delFlag: '0', orderNum: 1,
flag: '1', children: [],
businessId: 201, selectType: null,
parentWorkSpaceName: '党建建设', createTime: '2023/10/01 09:00:00',
workSpaceName: '基本信息', createBy: 'admin',
parentId: 101, },
'code:': '003', {
ancestors: '0,100', delFlag: '0',
orderNum: 1, flag: '1',
children: [], businessId: 102,
selectType: null, parentWorkSpaceName: 'API 管理',
createTime: '2024-10-24 10:04:04', workSpaceName: 'API 测试平台',
createBy: 'admin', parentId: 100,
}, code: '003',
{ ancestors: '0,100',
delFlag: '0', orderNum: 2,
flag: '1', children: [],
businessId: 202, selectType: null,
parentWorkSpaceName: '党建建设', createTime: '2023/10/05 14:30:00',
workSpaceName: '党员发展计划', createBy: 'admin',
parentId: 101, },
'code:': '003', {
ancestors: '0,100', delFlag: '0',
orderNum: 1, flag: '1',
children: [], businessId: 103,
selectType: null, parentWorkSpaceName: 'API 管理',
createTime: '2024-10-24 10:04:04', workSpaceName: 'API 版本管理',
createBy: 'admin', parentId: 100,
}, code: '004',
{ ancestors: '0,100',
delFlag: '0', orderNum: 3,
flag: '1', children: [],
businessId: 203, selectType: null,
parentWorkSpaceName: '党建建设', createTime: '2023/10/15 09:45:00',
workSpaceName: '主题教育活动', createBy: 'admin',
parentId: 101, },
'code:': '003', ],
ancestors: '0,100', selectType: null,
orderNum: 1, createTime: '2024-10-24 10:04:04',
children: [], createBy: 'admin',
selectType: null, },
createTime: '2024-10-24 10:04:04', {
createBy: 'admin', delFlag: '0',
}, flag: '1',
{ businessId: 200,
delFlag: '0', parentWorkSpaceName: '公共API',
flag: '1', workSpaceName: 'API 安全',
businessId: 204, parentId: 0,
parentWorkSpaceName: '党建建设', code: '005',
workSpaceName: '党建工作总结', ancestors: '0',
parentId: 101, orderNum: 1,
'code:': '003', children: [
ancestors: '0,100', {
orderNum: 1, delFlag: '0',
children: [], flag: '1',
selectType: null, businessId: 201,
createTime: '2024-10-24 10:04:04', parentWorkSpaceName: 'API 安全',
createBy: 'admin', workSpaceName: 'API 安全审计',
}, parentId: 200,
{ code: '006',
delFlag: '0', ancestors: '0,200',
flag: '1', orderNum: 1,
businessId: 205, children: [],
parentWorkSpaceName: '党建建设', selectType: null,
workSpaceName: '党史知识竞赛', createTime: '2023/10/10 11:00:00',
parentId: 101, createBy: 'admin',
'code:': '003', },
ancestors: '0,100', {
orderNum: 1, delFlag: '0',
children: [], flag: '1',
selectType: null, businessId: 202,
createTime: '2024-10-24 10:04:04', parentWorkSpaceName: 'API 安全',
createBy: 'admin', workSpaceName: 'API 认证与授权',
}, parentId: 200,
{ code: '007',
delFlag: '0', ancestors: '0,200',
flag: '1', orderNum: 2,
businessId: 206, children: [],
parentWorkSpaceName: '党建建设', selectType: null,
workSpaceName: '红色文化展览', createTime: '2023/10/30 12:30:00',
parentId: 101, createBy: 'admin',
'code:': '003', },
ancestors: '0,100', ],
orderNum: 1, selectType: null,
children: [], createTime: '2024-10-24 10:04:04',
selectType: null, createBy: 'admin',
createTime: '2024-10-24 10:04:04', },
createBy: 'admin', {
}, delFlag: '0',
{ flag: '1',
delFlag: '0', businessId: 300,
flag: '1', parentWorkSpaceName: '公共API',
businessId: 207, workSpaceName: 'API 监控',
parentWorkSpaceName: '党建建设', parentId: 0,
workSpaceName: '志愿服务活动', code: '008',
parentId: 101, ancestors: '0',
'code:': '003', orderNum: 2,
ancestors: '0,100', children: [
orderNum: 1, {
children: [], delFlag: '0',
selectType: null, flag: '1',
createTime: '2024-10-24 10:04:04', businessId: 301,
createBy: 'admin', parentWorkSpaceName: 'API 监控',
}, workSpaceName: 'API 性能监控',
{ parentId: 300,
delFlag: '0', code: '009',
flag: '1', ancestors: '0,300',
businessId: 208, orderNum: 1,
parentWorkSpaceName: '党建建设', children: [],
workSpaceName: '党员风采展示', selectType: null,
parentId: 101, createTime: '2023/10/20 10:00:00',
'code:': '003', createBy: 'admin',
ancestors: '0,100', },
orderNum: 1, {
children: [], delFlag: '0',
selectType: null, flag: '1',
createTime: '2024-10-24 10:04:04', businessId: 302,
createBy: 'admin', parentWorkSpaceName: 'API 监控',
}, workSpaceName: 'API 日志记录',
{ parentId: 300,
delFlag: '0', code: '010',
flag: '1', ancestors: '0,300',
businessId: 102, orderNum: 2,
parentWorkSpaceName: '公共数据集', children: [],
workSpaceName: '交通信息', selectType: null,
parentId: 100, createTime: '2023/11/05 13:00:00',
'code:': '004', createBy: 'admin',
ancestors: '0,100', },
orderNum: 1, ],
children: [], selectType: null,
selectType: null, createTime: '2024-10-24 10:04:04',
createTime: '2024-10-24 10:04:04', createBy: 'admin',
createBy: 'admin', },
}, {
{ delFlag: '0',
delFlag: '0', flag: '1',
flag: '1', businessId: 400,
businessId: 209, parentWorkSpaceName: '公共API',
parentWorkSpaceName: '交通信息', workSpaceName: 'API 分析',
workSpaceName: '城市公交优化方案', parentId: 0,
parentId: 102, code: '011',
'code:': '003', ancestors: '0',
ancestors: '0,100', orderNum: 3,
orderNum: 1, children: [
children: [], {
selectType: null, delFlag: '0',
createTime: '2024-10-24 10:04:04', flag: '1',
createBy: 'admin', businessId: 401,
}, parentWorkSpaceName: 'API 分析',
{ workSpaceName: 'API 流量分析',
delFlag: '0', parentId: 400,
flag: '1', code: '012',
businessId: 210, ancestors: '0,400',
parentWorkSpaceName: '交通信息', orderNum: 1,
workSpaceName: '智能交通系统部署', children: [],
parentId: 102, selectType: null,
'code:': '003', createTime: '2023/10/25 11:15:00',
ancestors: '0,100', createBy: 'admin',
orderNum: 1, },
children: [], ],
selectType: null, selectType: null,
createTime: '2024-10-24 10:04:04', createTime: '2024-10-24 10:04:04',
createBy: 'admin', createBy: 'admin',
}, },
{ ],
delFlag: '0',
flag: '1',
businessId: 211,
parentWorkSpaceName: '交通信息',
workSpaceName: '绿色出行倡议',
parentId: 102,
'code:': '003',
ancestors: '0,100',
orderNum: 1,
children: [],
selectType: null, selectType: null,
createTime: '2024-10-24 10:04:04', createTime: '2024-10-24 10:04:04',
createBy: 'admin', createBy: 'admin',
}, },
]; ];
export const cardList = [ export const cardList = [
{ {
title: '基本信息', title: 'API 文档生成',
scene: 'databaseOfflineLoading', scene: 'apiDocGeneration',
parentWorkSpaceName: '党建建设', parentWorkSpaceName: 'API 管理',
path: '资源编目 / 党建建设 / 基本信息', path: '资源编目 / API 管理 / API 文档生成',
sensitiveState: '非敏感', sensitiveState: '非敏感',
icon: 'majesticons:table', icon: 'mdi:file-document-outline',
color: '#71c8d5', color: '#71c8d5',
dept: '数据资源管理部', dept: '开发部',
description: '集团党委会、党委理论学习中心的学习会的组织实操、集团党委、纪委换届选举', description: '自动生成 RESTful 和 GraphQL API 的文档,支持多种输出格式。',
label: '其他', label: '工具',
renewalFrequency: '每', renewalFrequency: '每',
createdBy: 'admin', createdBy: 'admin',
createdTime: '2023/01/05 15:43:15', createdTime: '2023/10/01 09:00:00',
view: '85', view: '150',
edit: '2', edit: '6',
isShare: 'true', isShare: 'true',
}, },
{ {
title: '党员发展计划', title: 'API 测试平台',
scene: 'partyDevelopmentPlan', scene: 'apiTestingPlatform',
parentWorkSpaceName: '党建建设', parentWorkSpaceName: 'API 管理',
path: '资源编目 / 党建建设 / 党员发展计划', path: '资源编目 / API 管理 / API 测试平台',
sensitiveState: '敏感', sensitiveState: '敏感',
icon: 'majesticons:table', icon: 'mdi:test-tube',
color: '#71c8d5', color: '#71c8d5',
renewalFrequency: '每天', renewalFrequency: '每天',
dept: '组织人事部', dept: '测试部',
description: '制定年度党员发展计划,开展入党积极分子培训', description: '提供一个全面的 API 测试环境,包括自动化测试和性能测试。',
label: '计划', label: '测试',
createdBy: 'admin', createdBy: 'admin',
createdTime: '2023/02/10 09:20:30', createdTime: '2023/10/05 14:30:00',
view: '120', view: '200',
edit: '5', edit: '8',
isShare: 'true', isShare: 'true',
}, },
{ {
title: '主题教育活动', title: 'API 安全审计',
scene: 'themeEducationActivity', scene: 'apiSecurityAudit',
parentWorkSpaceName: '党建建设', parentWorkSpaceName: 'API 安全',
path: '资源编目 / 党建建设 / 主题教育活动', path: '资源编目 / API 安全 / API 安全审计',
sensitiveState: '敏感', sensitiveState: '敏感',
icon: 'majesticons:table', icon: 'mdi:shield-check',
color: '#71c8d5', color: '#71c8d5',
renewalFrequency: '每', renewalFrequency: '每',
dept: '宣传部', dept: '安全部',
description: '举办各类主题教育活动,增强党员意识', description: '定期进行 API 安全审查,确保所有接口符合安全标准。',
label: '活动', label: '安全',
createdBy: 'admin', createdBy: 'admin',
createdTime: '2023/03/15 14:45:45', createdTime: '2023/10/10 11:00:00',
view: '95', view: '180',
edit: '3', edit: '7',
isShare: 'false', isShare: 'false',
}, },
{ {
title: '党建工作总结', title: 'API 版本管理',
scene: 'partyWorkSummary', scene: 'apiVersionManagement',
parentWorkSpaceName: '党建建设', parentWorkSpaceName: 'API 管理',
path: '资源编目 / 党建建设 / 党建工作总结', path: '资源编目 / API 管理 / API 版本管理',
sensitiveState: '非敏感', sensitiveState: '非敏感',
icon: 'majesticons:table', icon: 'mdi:history',
color: '#71c8d5', color: '#71c8d5',
renewalFrequency: '每', renewalFrequency: '每季度',
dept: '办公室', dept: '架构部',
description: '撰写季度党建工作总结报告', description: '管理和维护不同版本的 API,确保向后兼容性和稳定性。',
label: '总结', label: '管理',
createdBy: 'admin', createdBy: 'admin',
createdTime: '2023/08/10 09:00:00', createdTime: '2023/10/15 09:45:00',
view: '80', view: '160',
edit: '1', edit: '5',
isShare: 'true', isShare: 'true',
}, },
{ {
title: '党史知识竞赛', title: 'API 性能监控',
scene: 'partyHistoryQuiz', scene: 'apiPerformanceMonitoring',
parentWorkSpaceName: '党建建设', parentWorkSpaceName: 'API 监控',
path: '资源编目 / 党建建设 / 党史知识竞赛', path: '资源编目 / API 监控 / API 性能监控',
sensitiveState: '敏感', sensitiveState: '敏感',
icon: 'majesticons:table', icon: 'mdi:chart-line',
color: '#71c8d5', color: '#71c8d5',
renewalFrequency: '每天', renewalFrequency: '每天',
dept: '宣传教育中心', dept: '运维部',
description: '组织党史知识竞赛,提升党员历史素养', description: '实时监控 API 的性能指标,如响应时间和吞吐量,以保证服务的高可用性。',
label: '竞赛', label: '监控',
createdBy: 'admin', createdBy: 'admin',
createdTime: '2023/05/25 16:30:15', createdTime: '2023/10/20 10:00:00',
view: '110', view: '190',
edit: '4', edit: '6',
isShare: 'false', isShare: 'false',
}, },
{ {
title: '公交优化方案', title: 'API 流量分析',
scene: 'urbanBusOptimization', scene: 'apiTrafficAnalysis',
parentWorkSpaceName: '交通信息', parentWorkSpaceName: 'API 分析',
path: '资源编目 / 交通信息 / 公交优化方案', path: '资源编目 / API 分析 / API 流量分析',
sensitiveState: '非敏感', sensitiveState: '非敏感',
icon: 'majesticons:bus', icon: 'mdi:chart-bar',
color: '#71c8d5', color: '#71c8d5',
dept: '交通规划部', renewalFrequency: '每周',
renewalFrequency: '每年', dept: '数据分析部',
description: '分析现有公交线路运行情况,提出优化建议以提高效率和乘客满意度。', description: '分析 API 的流量模式,识别使用趋势和潜在问题。',
label: '方案', label: '分析',
createdBy: 'admin', createdBy: 'admin',
createdTime: '2023/04/01 10:00:00', createdTime: '2023/10/25 11:15:00',
view: '90', view: '170',
edit: '3', edit: '4',
isShare: 'true', isShare: 'true',
}, },
{ {
title: '交通系统部署', title: 'API 认证与授权',
scene: 'intelligentTransportSystemDeployment', scene: 'apiAuthenticationAndAuthorization',
path: '资源编目 / 交通信息 / 交通系统部署', parentWorkSpaceName: 'API 安全',
path: '资源编目 / API 安全 / API 认证与授权',
sensitiveState: '敏感', sensitiveState: '敏感',
icon: 'majesticons:bus', icon: 'mdi:lock',
parentWorkSpaceName: '交通信息',
color: '#71c8d5', color: '#71c8d5',
dept: '信息技术部', renewalFrequency: '每月',
renewalFrequency: '每天', dept: '安全部',
description: description: '实现强大的认证和授权机制,保护 API 不受未授权访问。',
'实施先进的智能交通管理系统,包括信号灯控制、交通流量监测等,旨在缓解城市交通拥堵。', label: '安全',
label: '技术',
createdBy: 'admin', createdBy: 'admin',
createdTime: '2023/05/15 11:30:00', createdTime: '2023/10/30 12:30:00',
view: '115', view: '185',
edit: '5', edit: '5',
isShare: 'false', isShare: 'false',
}, },
{ {
title: '绿色出行倡议', title: 'API 日志记录',
scene: 'greenCommuteInitiative', scene: 'apiLogging',
icon: 'majesticons:bus', parentWorkSpaceName: 'API 监控',
path: '资源编目 / 交通信息 / 绿色出行倡议', path: '资源编目 / API 监控 / API 日志记录',
sensitiveState: '非敏感', sensitiveState: '非敏感',
parentWorkSpaceName: '交通信息', icon: 'mdi:clipboard-list-outline',
color: '#71c8d5', color: '#71c8d5',
renewalFrequency: '每', renewalFrequency: '每',
dept: '环保与发展部', dept: '运维部',
description: '推广低碳环保的出行方式,如骑行和步行,并为市民提供相关设施支持。', description: '详细记录 API 调用的日志,便于故障排查和行为审计。',
label: '倡议', label: '监控',
createdBy: 'admin', createdBy: 'admin',
createdTime: '2023/09/28 14:00:00', createdTime: '2023/11/05 13:00:00',
view: '75', view: '165',
edit: '2', edit: '3',
isShare: 'true', isShare: 'true',
}, },
]; ];
......
...@@ -304,7 +304,9 @@ ...@@ -304,7 +304,9 @@
openEditModal(true, item); openEditModal(true, item);
} }
function handleBulkDownload() {} function handleBulkDownload() {
createMessage.success('下载成功');
}
/**批量推送推送*/ /**批量推送推送*/
function pushNotifications(record) { function pushNotifications(record) {
......
...@@ -303,7 +303,9 @@ ...@@ -303,7 +303,9 @@
} }
} }
function handleBulkDownload() {} function handleBulkDownload() {
createMessage.success('下载成功');
}
function information(item) { function information(item) {
openEditModal(true, item); openEditModal(true, item);
......
...@@ -323,7 +323,9 @@ ...@@ -323,7 +323,9 @@
} }
} }
function handleBulkDownload() {} function handleBulkDownload() {
createMessage.success('下载成功');
}
/**批量推送推送*/ /**批量推送推送*/
function pushNotifications() { function pushNotifications() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment