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

Merge remote-tracking branch 'origin/master'

parents cd9386ae ca63ef0e
......@@ -96,8 +96,8 @@
<script lang="ts" setup>
import { BasicTable, useTable } from '@/components/Table';
import { PageWrapper } from '@/components/Page';
import { Columns } from '@/views/mallResourceDevelopment/dataSet/departmentalResources/departmentalResources.data';
import { resourceList } from '@/views/mallResourceDevelopment/dataSet/departmentalResources/mock';
import { Columns } from './departmentalResources.data';
import { resourceList } from './mock';
import { ref } from 'vue';
import Icon from '@/components/Icon/Icon.vue';
import { Pagination, Select } from 'ant-design-vue';
......
export const resourceList = [
{
resourceName: '基本信息',
scene: 'databaseOfflineLoading',
resourceCataloging: '党建建设',
icon: 'majesticons:table',
resourceName: 'API 文档生成',
scene: 'apiDocGeneration',
resourceCataloging: 'API 管理',
icon: 'mdi:file-document-outline',
color: '#71c8d5',
ownershipBody: '数据资源管理部',
applicantOrganization: '数据资源管理部',
description: '集团党委会、党委理论学习中心的学习会的组织实操、集团党委、纪委换届选举',
label: '其他',
ownershipBody: '开发部',
applicantOrganization: '开发部',
description: '自动生成 RESTful 和 GraphQL API 的文档,支持多种输出格式。',
label: '工具',
permissionType: '推送',
applicant: 'admin',
permissionType: '查看',
createdTime: '2023/01/05 15:43:15',
view: '85',
edit: '2',
createdTime: '2023/10/01 09:00:00',
view: '150',
edit: '6',
isShare: 'true',
},
{
resourceName: '党员发展计划',
scene: 'partyDevelopmentPlan',
resourceCataloging: '党建建设',
icon: 'majesticons:table',
resourceName: 'API 测试平台',
scene: 'apiTestingPlatform',
resourceCataloging: 'API 管理',
icon: 'mdi:test-tube',
color: '#71c8d5',
ownershipBody: '组织人事部',
applicantOrganization: '组织人事部',
permissionType: '查看',
description: '制定年度党员发展计划,开展入党积极分子培训',
label: '计划',
ownershipBody: '测试部',
applicantOrganization: '测试部',
permissionType: '推送',
description: '提供一个全面的 API 测试环境,包括自动化测试和性能测试。',
label: '测试',
applicant: 'admin',
createdTime: '2023/02/10 09:20:30',
view: '120',
edit: '5',
createdTime: '2023/10/05 14:30:00',
view: '200',
edit: '8',
isShare: 'true',
},
{
resourceName: '主题教育活动',
scene: 'themeEducationActivity',
resourceCataloging: '党建建设',
icon: 'majesticons:table',
resourceName: 'API 安全审计',
scene: 'apiSecurityAudit',
resourceCataloging: 'API 安全',
icon: 'mdi:shield-check',
color: '#71c8d5',
ownershipBody: '宣传部',
applicantOrganization: '宣传部',
permissionType: '查看',
description: '举办各类主题教育活动,增强党员意识',
label: '活动',
ownershipBody: '安全部',
applicantOrganization: '安全部',
permissionType: '下载',
description: '定期进行 API 安全审查,确保所有接口符合安全标准。',
label: '安全',
applicant: 'admin',
createdTime: '2023/03/15 14:45:45',
view: '95',
edit: '3',
createdTime: '2023/10/10 11:00:00',
view: '180',
edit: '7',
isShare: 'false',
},
{
resourceName: '党建工作总结',
scene: 'partyWorkSummary',
resourceCataloging: '党建建设',
icon: 'majesticons:table',
resourceName: 'API 版本管理',
scene: 'apiVersionManagement',
resourceCataloging: 'API 管理',
icon: 'mdi:history',
color: '#71c8d5',
ownershipBody: '办公室',
applicantOrganization: '办公室',
permissionType: '查看',
description: '撰写季度党建工作总结报告',
label: '总结',
ownershipBody: '架构部',
applicantOrganization: '架构部',
permissionType: '推送',
description: '管理和维护不同版本的 API,确保向后兼容性和稳定性。',
label: '管理',
applicant: 'admin',
createdTime: '2023/08/10 09:00:00',
view: '80',
edit: '1',
createdTime: '2023/10/15 09:45:00',
view: '160',
edit: '5',
isShare: 'true',
},
{
resourceName: '党史知识竞赛',
scene: 'partyHistoryQuiz',
resourceCataloging: '党建建设',
icon: 'majesticons:table',
resourceName: 'API 性能监控',
scene: 'apiPerformanceMonitoring',
resourceCataloging: 'API 监控',
icon: 'mdi:chart-line',
color: '#71c8d5',
ownershipBody: '宣传教育中心',
applicantOrganization: '宣传教育中心',
permissionType: '编辑',
description: '组织党史知识竞赛,提升党员历史素养',
label: '竞赛',
ownershipBody: '运维部',
applicantOrganization: '运维部',
permissionType: '下载',
description: '实时监控 API 的性能指标,如响应时间和吞吐量,以保证服务的高可用性。',
label: '监控',
applicant: 'admin',
createdTime: '2023/05/25 16:30:15',
view: '110',
edit: '4',
createdTime: '2023/10/20 10:00:00',
view: '190',
edit: '6',
isShare: 'false',
},
{
resourceName: '公交优化方案',
scene: 'urbanBusOptimization',
resourceCataloging: '交通信息',
icon: 'majesticons:bus',
resourceName: 'API 流量分析',
scene: 'apiTrafficAnalysis',
resourceCataloging: 'API 分析',
icon: 'mdi:chart-bar',
color: '#71c8d5',
ownershipBody: '交通规划部',
applicantOrganization: '交通规划部',
permissionType: '编辑',
description: '分析现有公交线路运行情况,提出优化建议以提高效率和乘客满意度。',
label: '方案',
ownershipBody: '数据分析部',
applicantOrganization: '数据分析部',
permissionType: '推送',
description: '分析 API 的流量模式,识别使用趋势和潜在问题。',
label: '分析',
applicant: 'admin',
createdTime: '2023/04/01 10:00:00',
view: '90',
edit: '3',
createdTime: '2023/10/25 11:15:00',
view: '170',
edit: '4',
isShare: 'true',
},
{
resourceName: '交通系统部署',
scene: 'intelligentTransportSystemDeployment',
icon: 'majesticons:bus',
resourceCataloging: '交通信息',
resourceName: 'API 认证与授权',
scene: 'apiAuthenticationAndAuthorization',
resourceCataloging: 'API 安全',
icon: 'mdi:lock',
color: '#71c8d5',
ownershipBody: '信息技术部',
applicantOrganization: '信息技术部',
permissionType: '编辑',
description:
'实施先进的智能交通管理系统,包括信号灯控制、交通流量监测等,旨在缓解城市交通拥堵。',
label: '技术',
ownershipBody: '安全部',
applicantOrganization: '安全部',
permissionType: '下载',
description: '实现强大的认证和授权机制,保护 API 不受未授权访问。',
label: '安全',
applicant: 'admin',
createdTime: '2023/05/15 11:30:00',
view: '115',
createdTime: '2023/10/30 12:30:00',
view: '185',
edit: '5',
isShare: 'false',
},
{
resourceName: '绿色出行倡议',
scene: 'greenCommuteInitiative',
icon: 'majesticons:bus',
resourceCataloging: '交通信息',
resourceName: 'API 日志记录',
scene: 'apiLogging',
resourceCataloging: 'API 监控',
icon: 'mdi:clipboard-list-outline',
color: '#71c8d5',
ownershipBody: '环保与发展部',
applicantOrganization: '环保与发展部',
permissionType: '删除',
description: '推广低碳环保的出行方式,如骑行和步行,并为市民提供相关设施支持。',
label: '倡议',
ownershipBody: '运维部',
applicantOrganization: '运维部',
permissionType: '推送',
description: '详细记录 API 调用的日志,便于故障排查和行为审计。',
label: '监控',
applicant: 'admin',
createdTime: '2023/09/28 14:00:00',
view: '75',
edit: '2',
createdTime: '2023/11/05 13:00:00',
view: '165',
edit: '3',
isShare: 'true',
},
];
......@@ -187,8 +187,8 @@
const sortOrder = ref('latest');
const isDisabled = ref();
const selectedCard = reactive([] as any[]);
const cardListData = ref([]);
const workSpaceName = ref('党建建设');
const cardListData = ref(cardList);
const workSpaceName = ref('公共API');
const data = ref([
{
......@@ -224,7 +224,7 @@
: item.isShare.toString() === selectValue.value;
const workspaceMatch =
workSpaceName.value === '' ||
workSpaceName.value === '公共数据集' ||
workSpaceName.value === '公共API' ||
item.parentWorkSpaceName === workSpaceName.value;
return titleMatch.value && shareMatch && workspaceMatch;
});
......@@ -304,7 +304,9 @@
openEditModal(true, item);
}
function handleBulkDownload() {}
function handleBulkDownload() {
createMessage.success('下载成功');
}
/**批量推送推送*/
function pushNotifications(record) {
......@@ -327,7 +329,7 @@
: item.isShare.toString() === selectValue.value;
const workspaceMatch =
workSpaceName.value === '' ||
workSpaceName.value === '公共数据集' ||
workSpaceName.value === '公共API' ||
item.parentWorkSpaceName === workSpaceName.value;
return titleMatch.value && shareMatch && workspaceMatch;
});
......
......@@ -304,7 +304,9 @@
openEditModal(true, item);
}
function handleBulkDownload() {}
function handleBulkDownload() {
createMessage.success('下载成功');
}
/**批量推送推送*/
function pushNotifications(record) {
......
......@@ -303,7 +303,9 @@
}
}
function handleBulkDownload() {}
function handleBulkDownload() {
createMessage.success('下载成功');
}
function information(item) {
openEditModal(true, item);
......
......@@ -323,7 +323,9 @@
}
}
function handleBulkDownload() {}
function handleBulkDownload() {
createMessage.success('下载成功');
}
/**批量推送推送*/
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