-
Notifications
You must be signed in to change notification settings - Fork 441
/
10d49f.231.min.js
1 lines (1 loc) · 3.58 KB
/
10d49f.231.min.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[231],{1628:function(t,e,r){"use strict";r(1313);var n=r(810),o=r(1),a=r.n(o),c=r(10),s=r.n(c),i=r(2),u=r.n(i),b=r(0),p=r.n(b),d=["onChange","pagination"];function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){s()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}e.a=function(t){var e=t.onChange,r=t.pagination,o=u()(t,d);return p.a.createElement(n.a,a()({onChange:function(t,r,n,o){"filter"===o.action||"sort"===o.action?e(l(l({},t),{},{current:1}),r,n,o):e(t,r,n,o)},border:!1,pagination:(null==r?void 0:r.total)>10&&l(l({},r),{},{sizeCanChange:!0,sizeOptions:[10,20,50,100]})},o,{__source:{fileName:"/opt/tiger/compile_path/src/code.byted.org/biz-platform/hids/src/components/common/table/index.tsx",lineNumber:6,columnNumber:5}}))}},1634:function(t,e,r){"use strict";r.r(e),r.d(e,"DescribeHostStatistics",(function(){return a})),r.d(e,"DescribeHosts",(function(){return c})),r.d(e,"ExportHosts",(function(){return s})),r.d(e,"DownloadFile",(function(){return i})),r.d(e,"DescribeTags",(function(){return u})),r.d(e,"AddTags",(function(){return b})),r.d(e,"DeleteTags",(function(){return p})),r.d(e,"UpdateTags",(function(){return d})),r.d(e,"DescribePlatforms",(function(){return f})),r.d(e,"DescribeIDCs",(function(){return l})),r.d(e,"PostApiV6AssetCenterEnableHostImportantProtect",(function(){return O})),r.d(e,"PostApiV6AssetCenterDisableHostImportantProtect",(function(){return g}));var n=r(54),o=r(12),a=function(){return Object(n.b)({method:"get",url:"/api/v6/asset-center/DescribeHostStatistics"},Object(o.g)("获取主机统计信息"))},c=function(t){var e=t.data,r=t.params;return Object(n.b)({method:"post",url:"/api/v6/asset-center/DescribeHosts",data:e,params:r},Object(o.g)("获取主机列表信息"))},s=function(t){var e=t.data;return Object(n.b)({method:"post",url:"/api/v6/asset-center/ExportHosts",data:e},Object(o.g)("导出主机信息"))},i=function(t){var e=t.params;return Object(n.b)({method:"get",url:"/api/v6/shared/Download/".concat(e.file_name),responseType:"blob"},Object(o.g)("下载文件"),!1,!1)},u=function(){return Object(n.b)({method:"get",url:"/api/v6/asset-center/DescribeTags"},Object(o.g)("获取标签信息"))},b=function(t){var e=t.data;return Object(n.b)({method:"post",url:"/api/v6/asset-center/AddTags",data:e},Object(o.g)("添加标签"),!0)},p=function(t){var e=t.data;return Object(n.b)({method:"post",url:"/api/v6/asset-center/DeleteTags",data:e},Object(o.g)("删除标签"),!0)},d=function(t){var e=t.data;return Object(n.b)({method:"post",url:"/api/v6/asset-center/UpdateTags",data:e},Object(o.g)("修改标签"),!0)},f=function(){return Object(n.b)({method:"get",url:"/api/v6/asset-center/DescribePlatform"},Object(o.g)("获取操作系统类型"))},l=function(){return Object(n.b)({method:"get",url:"/api/v6/asset-center/DescribeIDC"},Object(o.g)("获取数据中心类型"))};function O(t){return Object(n.b)({url:"/api/v6/asset-center/EnableHostImportantProtect",data:t,method:"POST"},Object(o.g)("开启主机重保模式"))}function g(t){return Object(n.b)({url:"/api/v6/asset-center/DisableHostImportantProtect",data:t,method:"POST"},Object(o.g)("关闭主机重保模式"))}}}]);