Commit a5a9c8cd authored by LiXuyang's avatar LiXuyang

政策管理-改

parent bbe6a4b2
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
import { onMounted, ref } from 'vue'; import { onMounted, ref } from 'vue';
import PageWrapper from '@/components/Page/src/PageWrapper.vue'; import PageWrapper from '@/components/Page/src/PageWrapper.vue';
import { useMessage } from '@/hooks/web/useMessage'; import { useMessage } from '@/hooks/web/useMessage';
import { BasicTable, useTable, TableAction, BasicTableProps } from '@/components/Table'; import {BasicTable, useTable, TableAction, BasicTableProps, FormProps} from '@/components/Table';
import { FileProtectOutlined } from '@ant-design/icons-vue'; import { FileProtectOutlined } from '@ant-design/icons-vue';
import { import {
policyFormSchema, policyFormSchema,
...@@ -133,10 +133,11 @@ ...@@ -133,10 +133,11 @@
rowSelection: true, rowSelection: true,
useSearchForm: true, useSearchForm: true,
formConfig: { formConfig: {
baseColProps: { span: 4 },
showActionButtonGroup: false, showActionButtonGroup: false,
schemas: policyFormSchema, schemas: policyFormSchema,
autoSubmitOnEnter: true, autoSubmitOnEnter: true,
}, } as FormProps,
actionColumn: { actionColumn: {
width: 150, width: 150,
title: '操作', title: '操作',
......
...@@ -51,10 +51,15 @@ export const policyFormSchema: FormSchema[] = [ ...@@ -51,10 +51,15 @@ export const policyFormSchema: FormSchema[] = [
field: 'type', field: 'type',
component: 'Select', component: 'Select',
componentProps: { componentProps: {
placeholder: '请选择类型',
options: [ options: [
{ {
label: '', label: '国家政策',
value: '', value: '国家政策',
},
{
label: '行业新闻',
value: '行业新闻',
}, },
], ],
}, },
......
...@@ -4,7 +4,7 @@ export const policyData = [ ...@@ -4,7 +4,7 @@ export const policyData = [
title: '大数据安全法草案进入审议阶段,强化数据隐私保护', title: '大数据安全法草案进入审议阶段,强化数据隐私保护',
uploadTime: '2024-12-16 09:00:00', uploadTime: '2024-12-16 09:00:00',
uploadBy: '张敏', uploadBy: '张敏',
type: '法规新闻', type: '国家政策',
from: '法律日报', from: '法律日报',
auditor: '李婷', auditor: '李婷',
details: details:
...@@ -18,7 +18,7 @@ export const policyData = [ ...@@ -18,7 +18,7 @@ export const policyData = [
title: '个人信息保护法实施细则公布,企业面临新合规挑战', title: '个人信息保护法实施细则公布,企业面临新合规挑战',
uploadTime: '2024-12-15 14:30:00', uploadTime: '2024-12-15 14:30:00',
uploadBy: '王强', uploadBy: '王强',
type: '政策解读', type: '国家政策',
from: '法治网', from: '法治网',
auditor: '陈雪', auditor: '陈雪',
details: details:
...@@ -33,7 +33,7 @@ export const policyData = [ ...@@ -33,7 +33,7 @@ export const policyData = [
title: '互联网公司加强数据安全防护,应对黑客攻击威胁', title: '互联网公司加强数据安全防护,应对黑客攻击威胁',
uploadTime: '2024-12-14 13:00:00', uploadTime: '2024-12-14 13:00:00',
uploadBy: '李婷', uploadBy: '李婷',
type: '行业动态', type: '行业新闻',
from: '科技日报', from: '科技日报',
auditor: '张敏', auditor: '张敏',
details: details:
...@@ -49,7 +49,7 @@ export const policyData = [ ...@@ -49,7 +49,7 @@ export const policyData = [
title: '数据安全审计新规出台:企业须定期报告安全漏洞', title: '数据安全审计新规出台:企业须定期报告安全漏洞',
uploadTime: '2024-12-13 12:00:00', uploadTime: '2024-12-13 12:00:00',
uploadBy: '陈雪', uploadBy: '陈雪',
type: '政策通知', type: '国家政策',
from: '网络安全局', from: '网络安全局',
auditor: '王强', auditor: '王强',
details: details:
...@@ -65,7 +65,7 @@ export const policyData = [ ...@@ -65,7 +65,7 @@ export const policyData = [
title: '2024年网络安全威胁形势严峻,数据泄露事件激增', title: '2024年网络安全威胁形势严峻,数据泄露事件激增',
uploadTime: '2024-12-12 16:45:00', uploadTime: '2024-12-12 16:45:00',
uploadBy: '张敏', uploadBy: '张敏',
type: '安全报告', type: '行业新闻',
from: '网络安全公司', from: '网络安全公司',
auditor: '李婷', auditor: '李婷',
details: details:
...@@ -76,7 +76,7 @@ export const policyData = [ ...@@ -76,7 +76,7 @@ export const policyData = [
title: '数字货币引发数据隐私争议,监管机构加强审查', title: '数字货币引发数据隐私争议,监管机构加强审查',
uploadTime: '2024-12-11 18:00:00', uploadTime: '2024-12-11 18:00:00',
uploadBy: '刘刚', uploadBy: '刘刚',
type: '财经新闻', type: '行业新闻',
from: '金融时报', from: '金融时报',
auditor: '王强', auditor: '王强',
details: details:
...@@ -87,7 +87,7 @@ export const policyData = [ ...@@ -87,7 +87,7 @@ export const policyData = [
title: '企业在数据保护方面的最佳实践,提升全球合规能力', title: '企业在数据保护方面的最佳实践,提升全球合规能力',
uploadTime: '2024-12-10 11:30:00', uploadTime: '2024-12-10 11:30:00',
uploadBy: '王强', uploadBy: '王强',
type: '行业报告', type: '行业新闻',
from: '网络安全协会', from: '网络安全协会',
auditor: '陈雪', auditor: '陈雪',
details: details:
...@@ -98,7 +98,7 @@ export const policyData = [ ...@@ -98,7 +98,7 @@ export const policyData = [
title: '社交平台加强数据隐私保护,用户数据泄露风险降低', title: '社交平台加强数据隐私保护,用户数据泄露风险降低',
uploadTime: '2024-12-09 08:30:00', uploadTime: '2024-12-09 08:30:00',
uploadBy: '李婷', uploadBy: '李婷',
type: '业新闻', type: '业新闻',
from: '社交平台日报', from: '社交平台日报',
auditor: '刘刚', auditor: '刘刚',
details: details:
...@@ -109,7 +109,7 @@ export const policyData = [ ...@@ -109,7 +109,7 @@ export const policyData = [
title: '互联网信息办公室发布数据安全管理政策,要求全面整改', title: '互联网信息办公室发布数据安全管理政策,要求全面整改',
uploadTime: '2024-12-08 17:20:00', uploadTime: '2024-12-08 17:20:00',
uploadBy: '王强', uploadBy: '王强',
type: '政策公告', type: '国家政策',
from: '网信网', from: '网信网',
auditor: '张敏', auditor: '张敏',
details: details:
...@@ -120,7 +120,7 @@ export const policyData = [ ...@@ -120,7 +120,7 @@ export const policyData = [
title: '政府加强网络数据安全法治建设,强化监管机制', title: '政府加强网络数据安全法治建设,强化监管机制',
uploadTime: '2024-12-07 14:00:00', uploadTime: '2024-12-07 14:00:00',
uploadBy: '陈雪', uploadBy: '陈雪',
type: '法律新闻', type: '国家政策',
from: '法律在线', from: '法律在线',
auditor: '李婷', auditor: '李婷',
details: details:
...@@ -131,7 +131,7 @@ export const policyData = [ ...@@ -131,7 +131,7 @@ export const policyData = [
title: '2024年数据隐私保护法实施路径,专家提出具体建议', title: '2024年数据隐私保护法实施路径,专家提出具体建议',
uploadTime: '2024-12-06 19:00:00', uploadTime: '2024-12-06 19:00:00',
uploadBy: '张敏', uploadBy: '张敏',
type: '法规解读', type: '行业新闻',
from: '时讯', from: '时讯',
auditor: '王强', auditor: '王强',
details: details:
......
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