AMIS的组件学习使用

部分代码片段

{"id": "filterForm","className": " xysd-zbkb-pubquery","labelWidth": 130,"body": [{"type": "grid","className": "xysd-grid-query-input","columns": [{"md": 8,"body": [{"type": "input-group","className": "xysd-pubquery-searchKeyWords","body": [{"label": "","name": "keyWords","type": "input-text","placeholder": "请输入信息标题、内容相关的关键字检索。多关键词,、;隔开"},{"label": "查询","type": "button","icon": "fa fa-search","level": "primary","align": "right","size": "lg","onEvent": {"click": {"actions": [{"actionType": "submit","componentId": "filterForm"}]}}}]}]},{"md": 4,"body": [{"type": "tpl","tpl": "<div class='xysd-pubquery-moreQuery-btn' οnclick='handleCollapse(`xysd-pubquery-moreQuery`,`xysd-pubquery-moreQuery-ss`)'>更多查询</div>"}]}]},{"type": "wrapper","className": "xysd-pubquery-moreQuery xysd-pubquery-moreQuery-ss","body": [{"type": "group","mode": "horizontal","body": [{"type": "input-date-range","name": "reportTime","label": "首报时间","columnRatio": 3,"format": "YYYY-MM-DD"},{"initiallyOpen": false,"label": "首报单位","columnRatio": 3,"multiple": true,"name": "firstReportOrgIds","onlyLeaf": true,"searchable": true,"selectMode": "tree","showOutline": true,"hideNodePathLabel": true,"source": {"method": "get","url": "/zbxxgl/api/sysdatas/getptv/tree/open?ptvType=zbxtbsdw"},"type": "tree-select","hideNodePathLabel": true,"initiallyOpen": false,"unfoldedLevel": 1,"onlyChildren": true},{"label": "报送形式","columnRatio": 3,"type": "select","clearable": true,"name": "reportType","options": [{"label": "快报","value": "kb"},{"label": "短信","value": "dx"}]},{"format": "YYYY-MM-DD","label": "事发/接警时间","columnRatio": 3,"name": "incidentTime","type": "input-date-range","value": "${YEAR(NOW())}-1-1,${YEAR(NOW())}-12-31"}]},{"type": "group","mode": "horizontal","body": [{"label": "事件类型","columnRatio": 3,"multiple": true,"checkAll": true,"name": "eventTypeIds","source": {"method": "get","url": "/zbxxgl/api/sysdatas/get?dataKeys=dicZbxtKbSjlxList"},"type": "select"},{"columnRatio": 2,"initiallyOpen": false,"label": "事发地点","className": "xysd-grid-scroll-select","multiple": true,"name": "siteTypeIds","searchable": true,"selectMode": "tree","showOutline": true,"source": {"method": "get","url": "/zbxxgl/api/sysdatas/getdict/tree/bytype?dictType=zbxtshudi&hidden=0"},"type": "tree-select","unfoldedLevel": 2},{"label": "","columnRatio": 1,"name": "detailedSite","type": "input-text","className": "hiddenLabel"},{"label": "受伤人数","columnRatio": 2,"type": "select","clearable": true,"name": "injuredNumWay","options": [{"label": ">","value": ">"},{"label": "<","value": "<"},{"label": "=","value": "="},{"label": ">=","value": ">="},{"label": "<=","value": "<="}]},{"label": "","columnRatio": 1,"name": "injuredNum","type": "input-number","className": "hiddenLabel"},{"label": "亡人数","columnRatio": 2,"type": "select","clearable": true,"name": "deathNumWay","options": [{"label": ">","value": ">"},{"label": "<","value": "<"},{"label": "=","value": "="},{"label": ">=","value": ">="},{"label": "<=","value": "<="}]},{"label": "","columnRatio": 1,"name": "deathNum","type": "input-number","className": "hiddenLabel"}]},{"type": "group","mode": "horizontal","body": [{"label": "提出就医需求数","columnRatio": 2,"type": "select","clearable": true,"name": "medicineNumWay","options": [{"label": ">","value": ">"},{"label": "<","value": "<"},{"label": "=","value": "="},{"label": ">=","value": ">="},{"label": "<=","value": "<="}]},{"label": "","columnRatio": 1,"name": "medicineNum","type": "input-number","className": "hiddenLabel"},{"label": "涉事人数","columnRatio": 2,"type": "select","clearable": true,"name": "involveNumWay","options": [{"label": ">","value": ">"},{"label": "<","value": "<"},{"label": "=","value": "="},{"label": ">=","value": ">="},{"label": "<=","value": "<="}]},{"label": "","columnRatio": 1,"name": "involveNum","type": "input-number","className": "hiddenLabel"},{"label": "敏感身份","columnRatio": 3,"multiple": true,"checkAll": true,"name": "identityTypeIds","source": {"method": "get","url": "/zbxxgl/api/sysdatas/getdict/bytype?dictType=zbxtmgsf"},"type": "select"},{"initiallyOpen": false,"label": "报送单位","columnRatio": 3,"multiple": true,"name": "reportOrgIds","joinValues": true,"onlyLeaf": true,"searchable": true,"selectMode": "tree","showOutline": true,"hideNodePathLabel": true,"source": {"method": "get","url": "/zbxxgl/api/sysdatas/getptv/tree/open?ptvType=zbxtbsdw"},"type": "tree-select","unfoldedLevel": 1,"onlyChildren": true},{"type": "hidden","name": "ids","id": "ids"}]}]}],"title": "","submitText": "","actions": []
}

最终效果图

Wrapper

是一个包裹容器组件,相当于div。可以自定义样式

//项目种一般使用className
//样式单独定义在一个css文件,在html页面使用link标签引入即可
//当然如果是非常简单的样式,也可以使用style,两者选择其一即可
//建议项目中使用className
{"type": "wrapper","body": "内容","className": "xysd-pubquery-moreQuery xysd-pubquery-moreQuery-ss","style": {"color": "red","fontSize": "30px"}}

在这里插入图片描述

group

Group 组件用于在一行展示多个表单项

//同样支持className
{"type": "group","mode": "horizontal",//让label和后面的组件在同一行"body": [{"type": "input-date-range","name": "reportTime","label": "首报时间","columnRatio": 3,"format": "YYYY-MM-DD"},{"initiallyOpen": false,"label": "首报单位","columnRatio": 3,"multiple": true,"name": "firstReportOrgIds","onlyLeaf": true,"searchable": true,"selectMode": "tree","showOutline": true,"hideNodePathLabel": true,"source": {"method": "get","url": "/zbxxgl/api/sysdatas/getptv/tree/open?ptvType=zbxtbsdw"},"type": "tree-select","hideNodePathLabel": true,"initiallyOpen": false,"unfoldedLevel": 1,"onlyChildren": true},{"label": "报送形式","columnRatio": 3,"type": "select","clearable": true,"name": "reportType","options": [{"label": "快报","value": "kb"},{"label": "短信","value": "dx"}]},{"format": "YYYY-MM-DD","label": "事发/接警时间","columnRatio": 3,"name": "incidentTime","type": "input-date-range","value": "${YEAR(NOW())}-1-1,${YEAR(NOW())}-12-31"}]
}

tree-select

树形选择器

{"columnRatio": 2,//这个配置可以将当前行平分为12格(Group组件)"initiallyOpen": false,//默认是否展开所有子节点(InputTree)"label": "事发地点","className": "xysd-grid-scroll-select","multiple": true,//多选"name": "siteTypeIds",//这是后端接口参数名"searchable": true,//支持搜索,这里的搜索只是在后端返回值的基础上进行数据的查找,不会走后端接口(Select组件)"selectMode": "tree",//搜索之后下拉项按照属性结构展示(Select组件)"showOutline": true,//控制是否显示展开线(InputTree组件)"source": {//配置后端接口"method": "get","url": "/zbxxgl/api/sysdatas/getdict/tree/bytype?dictType=zbxtshudi&hidden=0"},"type": "tree-select","unfoldedLevel": 2,//层级比较多,可以指定展开指定的层级(InputTree组件)"hideNodePathLabel": true,//这个可以控制选中的节点是否已全层级的方式显示,true为只显示所选当前节点"onlyLeaf": true,//只能选择子节点"onlyChildren": true//只会显示最末层级节点
}
//其他一些通用属性参考InputTree组件

Select

选择器

{"label": "敏感身份","columnRatio": 3,"multiple": true,//多选"checkAll": true,//全选"name": "identityTypeIds",//后端接口参数"source": {//后端接口"method": "get","url": "/zbxxgl/api/sysdatas/getdict/bytype?dictType=zbxtmgsf"},"type": "select","selectMode":"tree",//下拉项展示格式tree是树形格式,group 分组形式,table表格格式"clearable":true//单选模式下是否可以清空
}{"label": "受伤人数","columnRatio": 2,"type": "select","clearable": true,"name": "injuredNumWay",//也可以通过options属性指定下拉项"options": [{"label": ">","value": ">"},{"label": "<","value": "<"},{"label": "=","value": "="},{"label": ">=","value": ">="},{"label": "<=","value": "<="}]
}

其他属性参考
属性表

InputDateRange

日期范围选择器

{"type": "input-date-range","name": "reportTime","label": "首报时间","columnRatio": 3,"format": "YYYY-MM-DD",//传参数据格式"displayFormat":"YYYY-MM-DD"//日期显示格式"placeholder":"请选择日期"//占位符
}
{"format": "YYYY-MM-DD","label": "事发/接警时间","columnRatio": 3,"name": "incidentTime","type": "input-date-range","value": "${YEAR(NOW())}-1-1,${YEAR(NOW())}-12-31"//value可以设置默认值,也可以通过函数设置默认值
}

属性表

inputGroup

输入框组合

{"type": "input-group","className": "xysd-pubquery-searchKeyWords","body": [{"label": "","name": "keyWords","type": "input-text","placeholder": "请输入信息标题、内容相关的关键字检索。多关键词,、;隔开"},{"label": "查询","type": "button","icon": "fa fa-search","level": "primary","align": "right","size": "lg","onEvent": {"click": {"actions": [{"actionType": "submit","componentId": "filterForm"}]}}}]
}

Grid

水平分栏
这里主要就是使用分栏 md 属性

{"type": "grid","className": "xysd-grid-query-input","columns": [{"md": 8,"body": [{"type": "input-group","className": "xysd-pubquery-searchKeyWords","body": [{"label": "","name": "keyWords","type": "input-text","placeholder": "请输入信息标题、内容相关的关键字检索。多关键词,、;隔开"},{"label": "查询","type": "button","icon": "fa fa-search","level": "primary","align": "right","size": "lg","onEvent": {"click": {"actions": [{"actionType": "submit","componentId": "filterForm"}]}}}]}]},{"md": 4,"body": [{"type": "tpl","tpl": "<div class='xysd-pubquery-moreQuery-btn' οnclick='handleCollapse(`xysd-pubquery-moreQuery`,`xysd-pubquery-moreQuery-ss`)'>更多查询</div>"}]}]
}

Page

Page 组件是 amis 页面 JSON 配置中顶级容器组件,是整个页面配置的入口组件

{"type": "page","title": "离京报备登记",//标题,在页面的左上角"body": {"type": "service",//引用外部的一个json文件"schemaApi": {"url": "/zbxxgl/amis/fetchSchema","data": {"path": "#/pc/html/ljbb/dj"},"method": "post"}},"id": "u:88fac01c5570","asideResizor": false,//页面的边栏区域宽度是否可调整"pullRefresh": {//下拉刷新配置(仅用于移动端)"disabled": true},"regions": [//定义页面整体分布 头,身体,底部"body","header","toolbar"],"toolbar": [//往页面的右上角加内容,需要注意的是,当有 title 时,该区域在右上角,没有时该区域在顶部{//这个是报备记录查询"label": "","type": "button","className": "btn-bbjlcx","icon": "","iconClassName": "text-white text-xl","onEvent": {"click": {"weight": 0,"actions": [{"args": {"url": "/zbxxgl/pc/index.html#/pc/html/ljbb/bsdw_ljcx"},"actionType": "url","blank": false}]}}},{//这个是点击跳转首页"label": "","type": "button","className": "btn-backhome","icon": "fa fa-times-circle","iconClassName": "text-white text-xl","onEvent": {"click": {"weight": 0,"actions": [{"args": {"url": "/zbxxgl/pc/index.html#/pc/bsdw/portal"},"actionType": "url","blank": false}]}}}]
}

效果图

在这里插入图片描述

Service 功能型容器

Service组件就是专门为该类组件而生,它的功能是:配置初始化接口,进行数据域的初始化,然后在Service内容器中配置子组件,这些子组件通过数据链的方法,获取Service所拉取到的数据

//这是在一个页面中嵌入service组件的定义
{"type": "service","schemaApi": {//用来获取远程 Schema 接口地址"url": "/zbxxgl/amis/fetchSchema","data": {"path": "#/pc/html/ljbb/dj"},"method": "post"}
}
//这个是上面service组件的实现
{"type": "service","api": {//初始化数据域接口地址"method": "get","url": "/zbxxgl/api/leaveStation/getCurrentIsSldParty"},"body": []
}

Form

主要作用是提交或者展示表单数据

{"type": "form","panelClassName": "form-dj","debug": false,//调试"id": "myForm","title": "","initApi": {//初始化数据"method": "get","url": "/zbxxgl/api/leaveStation/get?id=${id}"},"body": [{"type": "service","api": "/zbxxgl/api/leaveStation/getInfo?dataKeys=leaveUser","body": [{"type": "hidden","id": "sccg","name": "sccg","value": false},{"type": "grid","columns": [{"md": 4,"body": []},{"body": []}]}]}],"mode": "horizontal",//表单显示方式 normal inline horizontal"actions": [//表单行为 按钮{"type": "button","label": "上报","size": "lg","block": false,"actionType": "submit","api": {"url": "/zbxxgl/api/leaveStation/report","method": "post","messages": {"success": "成功","failed": "失败"}},"level": "primary","visibleOn": "${ privilegeDTO.report}","confirmText": "是否确认上报?上报后信息无法删除!"}]
}

属性表

Hidden

对于隐藏的字段同时又希望提交表单的时候带过去,可以使用 hidden 组件

{"type": "service","api": "/zbxxgl/api/leaveStation/getInfo?dataKeys=leaveUser","body": [{"type": "hidden","id": "sccg","name": "sccg","value": false}]
}

Tpl 模板

{"type": "tpl","className": "method-title-sub","tpl": "方式一:智能填写"
}{"type": "tpl","className": "method-content","style": {"margin-bottom": "10px"},"tpl": "填写电子版离京外出审批表(模板可通过本系统下载),履行线下请假审批程序,领导签批后,将已填写的电子版审批表上传至系统,系统自动识别表格内容至右侧在线表单,核对修改完善表单信息后,在审批信息处注明“X月X日由XX领导批准”(无需提交离京报备表及审批证明材料扫描件),提交上报。"
}

divider 分割线

{"type": "divider","title": "Text","titlePosition": "left","color": "red","lineStyle": "dashed","direction": "vertical"
}{"type": "divider","title": "Text","titlePosition": "center","color": "blue","lineStyle": "solid","direction": "horizontal","style": {"margin": "0px"}
}

在这里插入图片描述

button 按钮

button 实际上是 action 的别名,更多用法见 action

"actions":[{"type": "button","label": "导出审批表","hiddenOn": "${sccg}","visibleOn": "${oneIdentyQuery==1 || privilegeDTO.isDcztZBS}","id": "dcsb_button","size": "lg","level": "primary","actionType": "download","required": [],"api": {"method": "post","url": "/zbxxgl/api/leaveStation/export?orgIdentityTypeId=${oneOrgIdentityTypeId}","messages": {"success": "成功","failed": "失败"}}},{"type": "button","label": "导出审批表","visibleOn": "${oneIdentyQuery==0 && !privilegeDTO.isDcztZBS}","size": "lg","level": "primary","onEvent": {"click": {"actions": [{"actionType": "dialog","args": {"dialog": {"type": "dialog","id": "dialogSubmit","title": "请选择审批表模板","className": "xysd-dialog-padding","actions": [],"body": [{"type": "form","id": "mergeForm","body": [{"type": "select","name": "orgIdentityTypeId","source": "/zbxxgl/api/leaveStation/getMoreIdentity","required": true,"label": false},{"type": "wrapper","className": "flex justify-end xysd-handle-btn-margin","body": [{"type": "button","label": "确认","level": "primary","onEvent": {"click": {"actions": [{"actionType": "custom","script": "window.amisScoped.getComponentById('mergeForm').validate().then(function(res){if(res){console.log(event.data);doAction([{\t\"actionType\": \"download\",\t\"args\": {\"api\": {\t\"method\": \"post\",\t\"url\": \"/zbxxgl/api/leaveStation/export\",\t\"messages\": {\t\t\"success\": \"成功\",\t\t\"failed\": \"失败\"\t},\t\"data\": {\t\t...event.data.__super.__super\t,\t\t\"orgIdentityTypeId\": event.data.orgIdentityTypeId}}}},{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"actionType\": \"cancel\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"componentId\": \"dialogSubmit\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}])}})"}]}}},{"type": "button","label": "取消","onEvent": {"click": {"actions": [{"actionType": "cancel","componentId": "dialogSubmit"}]}}}]}]}]}}}]}}},{"type": "submit","label": "${privilegeDTO.isDcztZBS ? '保存': '暂存'}","size": "lg","visibleOn": "${ privilegeDTO.save}","api": {"url": "/zbxxgl/api/leaveStation/save","method": "post","dataType": "json","messages": {"success": "成功","failed": "失败"}},"level": "primary"},{"type": "button","label": "上报","size": "lg","block": false,"actionType": "submit","api": {"url": "/zbxxgl/api/leaveStation/report","method": "post","messages": {"success": "成功","failed": "失败"}},"level": "primary","visibleOn": "${ privilegeDTO.report}","confirmText": "是否确认上报?上报后信息无法删除!"}
]

Action 行为按钮

一般type都设置为button,所以这里就已type是button为例

{"type": "button","columnRatio": 12,"className": "method-btn","level":"success",//如果对于按钮的样式没有特别要求可以使用level 取值 primary secondary info success warning danger light"label": "下载离京外出审批表模板","icon": "fas fa-arrow-down",//图标"style": {//样式"margin-bottom": "15px"},"actionType": "download",//按钮行为  这里是下载"api": {//后端接口"url": "/zbxxgl/api/leaveStation/template","method": "get"}
}{"label": "","type": "button","className": "btn-backhome","icon": "fa fa-times-circle","iconClassName": "text-white text-xl","onEvent": {//click事件 可以跳转到首页 指定的页面"click": {"weight": 0,"actions": [{"args": {"url": "/zbxxgl/pc/index.html#/pc/bsdw/portal"},"actionType": "url","blank": false}]}}
}

更多操作

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.rhkb.cn/news/244576.html

如若内容造成侵权/违法违规/事实不符,请联系长河编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

(二)MySQL安装与部署(redhat9)

前言 MySQL仅仅是一个产品&#xff0c;Oracle旗下的小型数据库。广泛应用在中小型项目中&#xff0c;特征体积小速度快整体成本低。尤其是开源&#xff0c;所以很多中小型项目为了降低成本纷纷选用MySql作为数控存储介质 MySql的特征 底层语言使用C、C编写的。并且使用多种编…

常用芯片学习——MBI5020芯片

MBI5020 16位恒流LED驱动器 使用说明 MBI5020内建一个16位位移寄存器(Shift Register)及一个16位输出缓存器&#xff0c;可将串行式输入数据转换为并列式输出格式。在输出端&#xff0c;设计16个稳定的电流源&#xff0c;可以因应LED负载电压 (VF) 的变化&#xff0c;提供均匀…

GoZero的一个注意点,goctl生成代码不会处理时间字段

起因 进行一个功能的编写时发现goctl生成的代码在insert时候不把时间给赋值进去 于是懵逼开始寻找原因 探究 再查看发现 goctl在对xxxExpectAutoSet和RowsWithPlaceHolder赋值时候就去掉了所有跟时间相关的信息字段 于是去查看官方文档&#xff0c;依稀记得官方提供了示例…

20240122在WIN10+GTX1080下使用字幕小工具V1.2的使用总结(whisper)

20240122在WIN10GTX1080下使用字幕小工具V1.2的使用总结 2024/1/22 19:52 结论&#xff1a;这个软件如果是习作&#xff0c;可以打101分&#xff0c;功能都实现了。 如果作为商业软件/共享软件&#xff0c;在易用性等方面&#xff0c;可能就只能有70分了。 【百分制】 可选的改…

【MySQL】打开科技创新的第一生产力

&#x1f308;个人主页: Aileen_0v0 &#x1f525;热门专栏: 华为鸿蒙系统学习|计算机网络|数据结构与算法 ​&#x1f4ab;个人格言:“没有罗马,那就自己创造罗马~” #mermaid-svg-EtRkflNU19AGWAkT {font-family:"trebuchet ms",verdana,arial,sans-serif;font-siz…

【Java程序员面试专栏 专业技能篇】计算机网络核心面试指引

关于计算机网络部分的核心知识进行一网打尽,包括计算机的网络模型,各个层的一些重点概念,通过一篇文章串联面试重点,并且帮助加强日常基础知识的理解,全局思维导图如下所示 分层基本概念 计算机网络模型的分层及具体作用 计算机网络有哪些分层模型 可以按照应用层到物…

【nowcoder】链表的回文结构

牛客题目链接 链表的回文结构 /* struct ListNode {int val;struct ListNode *next;ListNode(int x) : val(x), next(NULL) {} };*/ #include <cstdlib> // 建议大伙自己对照我的代码画下图&#xff0c;假设A链表是&#xff1a;1 2 3 2 1 class PalindromeList { publi…

C++ -- 入门(引用)

1.引用 1.1引用的概念 引用不是新定义一个变量&#xff0c;而是给已存在变量取了一个别名&#xff0c;编译器不会为引用变量开辟内存空间&#xff0c;它和它引用的变量共用同一块内存空间。 比如&#xff1a;李逵&#xff0c;在家称为"铁牛"&#xff0c;江湖上人称&q…

基于SpringBoot的教务管理系统设计与实现(源码+调试)

项目描述 临近学期结束&#xff0c;还是毕业设计&#xff0c;你还在做java程序网络编程&#xff0c;期末作业&#xff0c;老师的作业要求觉得大了吗?不知道毕业设计该怎么办?网页功能的数量是否太多?没有合适的类型或系统?等等。今天给大家介绍一篇基于SpringBoot的教务管…

数学建模美赛资料(赛题+获奖论文更新)

数学建模美赛历年真题可以帮助我们了解比赛的出题思路&#xff0c;对建模比赛有一个大致的了解。 在备赛过程中&#xff0c;通过往年真题&#xff0c;我们可以了解考试的范围和重点&#xff0c;做到心中有数&#xff0c;可以有的放矢。通过真题&#xff0c;我们可以感受到各个…

【C++】初步认识基于C的优化

C祖师爷在使用C语言时感觉到了不方便的一些点&#xff0c;于是一步一步改进优化&#xff0c;最后形成了C 本文将盘点一下基于C的语法优化 目录 命名空间&#xff1a;命名空间定义&#xff1a;命名空间使用&#xff1a; C输入&输出&#xff1a;cout&#xff1a;endl&#…

免费SSL申请和自动更新

当前是在mac下操作 安装certbot # mac下brew安装即可 brew install certbotcentos 安装 centos安装文档 申请泛解析证书 sudo certbot certonly --manual --preferred-challengesdns -d *.yourdomain.com## 输出 Saving debug log to /var/log/letsencrypt/letsencrypt.lo…

简单Web UI 自动化测试框架 seldom

pyse 更名为 seldom WebUI automation testing framework based on Selenium and unittest. 基于 selenium 和 unittest 的 Web UI自动化测试框架。 特点 提供更加简单API编写自动化测试。提供脚手架&#xff0c;快速生成自动化测试项目。自动生成HTML测试报告生成。自带断言方…

5G安卓手机定制_基于天玑900的安卓主板方案

5G安卓手机方案是一款采用联发科MT6877(天玑900)平台的高性能、可运行安卓操作系统的5G智能模块。该手机采用台积电6纳米低功耗工艺&#xff0c;主频高达2.4GHz&#xff0c;内存支持LPDDR5&#xff0c;并支持5G Sub-6GHz全频段和5G双载波聚合技术等多种制式。同时&#xff0c;该…

领势 跨越|美创科技数据安全管理平台2023年度回顾

领势 跨越 数据安全管理平台的2023 以数字化安全平台为基础的数据安全体系是未来安全建设的重要方向。 研究咨询机构IDC指出&#xff1a;未来&#xff0c;数据安全基础设施管理平台将逐步发展成为各组织数据安全建设的基础设施。 Gartner《中国数据安全治理解析》预测&…

网络安全--防御保护02

第二天重要的一个点是区域这个概念 防火墙的主要职责在于控制和防护---安全策略---防火墙可以根据安全策略来抓取流量之后做出对应的动作 防火墙的分类&#xff1a; 单一主机防火墙&#xff1a;专门有设备作为防火墙 路由集成&#xff1a;核心设备&#xff0c;可流量转发 分…

php基础学习之变量

php使用变量的必要性 PHP 是一种动态网站开发的脚本语言&#xff0c;动态语言特点是交互性&#xff0c;会有数据的传递&#xff0c;而 PHP作为“中间人”&#xff0c;需要进行数据的传递&#xff0c;传递的前提就是 PHP 能自己存储数据(临时存储) php变量的命名规则 必须以do…

【昕宝爸爸小模块】深入浅出之为什么POI的SXSSFWorkbook占用内存更小

➡️博客首页 https://blog.csdn.net/Java_Yangxiaoyuan 欢迎优秀的你&#x1f44d;点赞、&#x1f5c2;️收藏、加❤️关注哦。 本文章CSDN首发&#xff0c;欢迎转载&#xff0c;要注明出处哦&#xff01; 先感谢优秀的你能认真的看完本文&…

Python爬虫之协程

Python爬虫之协程 为什么要用协程 协程声明 await aiohttp aiofiles 案例修改 案例完整代码 为什么要用协程 轻量级&#xff1a;协程是轻量级的执行单元&#xff0c;可以在同一个线程中并发执行。相比于多线程或多进程&#xff0c;创建和切换协程的开销更小。高效利用资源&…