update for downloaded file

This commit is contained in:
2021-07-12 16:23:47 +05:30
parent f61eb30f5f
commit 32e12ced9b
14 changed files with 57 additions and 28 deletions

View File

@ -4,18 +4,18 @@
"static/js/0.d94293fe.chunk.js": "./static/js/0.d94293fe.chunk.js",
"static/js/0.d94293fe.chunk.js.map": "./static/js/0.d94293fe.chunk.js.map",
"main.css": "./static/css/main.4ecfe4c7.chunk.css",
"main.js": "./static/js/main.df2fe8be.chunk.js",
"main.js.map": "./static/js/main.df2fe8be.chunk.js.map",
"runtime-main.js": "./static/js/runtime-main.185515c3.js",
"runtime-main.js.map": "./static/js/runtime-main.185515c3.js.map",
"main.js": "./static/js/main.27feab11.chunk.js",
"main.js.map": "./static/js/main.27feab11.chunk.js.map",
"runtime-main.js": "./static/js/runtime-main.b90af703.js",
"runtime-main.js.map": "./static/js/runtime-main.b90af703.js.map",
"static/js/3.2a55ddeb.chunk.js": "./static/js/3.2a55ddeb.chunk.js",
"static/js/3.2a55ddeb.chunk.js.map": "./static/js/3.2a55ddeb.chunk.js.map",
"static/js/4.4ab79a86.chunk.js": "./static/js/4.4ab79a86.chunk.js",
"static/js/4.4ab79a86.chunk.js.map": "./static/js/4.4ab79a86.chunk.js.map",
"static/js/5.f2f67b9e.chunk.js": "./static/js/5.f2f67b9e.chunk.js",
"static/js/5.f2f67b9e.chunk.js.map": "./static/js/5.f2f67b9e.chunk.js.map",
"static/js/6.0dae2086.chunk.js": "./static/js/6.0dae2086.chunk.js",
"static/js/6.0dae2086.chunk.js.map": "./static/js/6.0dae2086.chunk.js.map",
"static/js/5.22d50490.chunk.js": "./static/js/5.22d50490.chunk.js",
"static/js/5.22d50490.chunk.js.map": "./static/js/5.22d50490.chunk.js.map",
"static/js/6.09d60206.chunk.js": "./static/js/6.09d60206.chunk.js",
"static/js/6.09d60206.chunk.js.map": "./static/js/6.09d60206.chunk.js.map",
"static/js/7.70b103ad.chunk.js": "./static/js/7.70b103ad.chunk.js",
"static/js/7.70b103ad.chunk.js.map": "./static/js/7.70b103ad.chunk.js.map",
"static/js/8.325ee50c.chunk.js": "./static/js/8.325ee50c.chunk.js",
@ -33,9 +33,9 @@
"static/js/3.2a55ddeb.chunk.js.LICENSE.txt": "./static/js/3.2a55ddeb.chunk.js.LICENSE.txt"
},
"entrypoints": [
"static/js/runtime-main.185515c3.js",
"static/js/runtime-main.b90af703.js",
"static/js/3.2a55ddeb.chunk.js",
"static/css/main.4ecfe4c7.chunk.css",
"static/js/main.df2fe8be.chunk.js"
"static/js/main.27feab11.chunk.js"
]
}

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="description" content="CoreUI for React - Open Source Bootstrap Admin Template"><meta name="author" content="Łukasz Holeczek"><meta name="keyword" content="Bootstrap,Admin,Template,Open,Source,CSS,SCSS,HTML,RWD,Dashboard,React"><title>FBS Admin tool</title><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico"><link href="./static/css/main.4ecfe4c7.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,c=t[0],i=t[1],f=t[2],l=0,d=[];l<c.length;l++)o=c[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(s&&s(t);d.length;)d.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(u.splice(t--,1),e=c(c.s=r[0]))}return e}var n={},o={2:0},a={2:0},u=[];function c(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"0ef68903",4:"31d6cfe0",5:"31d6cfe0",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0"}[e]+".chunk.css",a=c.p+n,u=document.getElementsByTagName("link"),i=0;i<u.length;i++){var f=(s=u[i]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(f===n||f===a))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var s;if((f=(s=l[i]).getAttribute("data-href"))===n||f===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],d.parentNode.removeChild(d),r(u)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.src=function(e){return c.p+"static/js/"+({}[e]||e)+"."+{0:"d94293fe",4:"4ab79a86",5:"f2f67b9e",6:"0dae2086",7:"70b103ad",8:"325ee50c",9:"f7c5ed34",10:"abef0b47",11:"b593fda9"}[e]+".chunk.js"}(e);var f=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="./",c.oe=function(e){throw console.error(e),e};var i=this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var s=f;r()}([])</script><script src="./static/js/3.2a55ddeb.chunk.js"></script><script src="./static/js/main.df2fe8be.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="description" content="CoreUI for React - Open Source Bootstrap Admin Template"><meta name="author" content="Łukasz Holeczek"><meta name="keyword" content="Bootstrap,Admin,Template,Open,Source,CSS,SCSS,HTML,RWD,Dashboard,React"><title>FBS Admin tool</title><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico"><link href="./static/css/main.4ecfe4c7.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,c=t[0],i=t[1],f=t[2],l=0,d=[];l<c.length;l++)o=c[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(s&&s(t);d.length;)d.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(u.splice(t--,1),e=c(c.s=r[0]))}return e}var n={},o={2:0},a={2:0},u=[];function c(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"0ef68903",4:"31d6cfe0",5:"31d6cfe0",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0"}[e]+".chunk.css",a=c.p+n,u=document.getElementsByTagName("link"),i=0;i<u.length;i++){var f=(s=u[i]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(f===n||f===a))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var s;if((f=(s=l[i]).getAttribute("data-href"))===n||f===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],d.parentNode.removeChild(d),r(u)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.src=function(e){return c.p+"static/js/"+({}[e]||e)+"."+{0:"d94293fe",4:"4ab79a86",5:"22d50490",6:"09d60206",7:"70b103ad",8:"325ee50c",9:"f7c5ed34",10:"abef0b47",11:"b593fda9"}[e]+".chunk.js"}(e);var f=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="./",c.oe=function(e){throw console.error(e),e};var i=this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var s=f;r()}([])</script><script src="./static/js/3.2a55ddeb.chunk.js"></script><script src="./static/js/main.27feab11.chunk.js"></script></body></html>

View File

@ -1,2 +1,2 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[5],{688:function(e,n,c){"use strict";c.r(n);var t=c(1),s=c.n(t),a=c(49),r=c(19),i=c(631),d=[{path:"/",exact:!0,name:"Home"},{path:"/dashboard",name:"\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9",component:s.a.lazy((function(){return c.e(7).then(c.bind(null,686))}))},{path:"/reports",exact:!0,name:"\u30ec\u30dd\u30fc\u30c8",component:s.a.lazy((function(){return Promise.all([c.e(4),c.e(6)]).then(c.bind(null,687))}))}],o=c(20),j=Object(o.jsx)("div",{className:"pt-3 text-center",children:Object(o.jsx)("div",{className:"sk-spinner sk-spinner-pulse"})}),l=function(){return Object(o.jsx)("main",{className:"c-main",children:Object(o.jsx)(i.l,{fluid:!0,children:Object(o.jsx)(t.Suspense,{fallback:j,children:Object(o.jsxs)(r.d,{children:[d.map((function(e,n){return e.component&&Object(o.jsx)(r.b,{path:e.path,exact:e.exact,name:e.name,render:function(n){return Object(o.jsx)(i.r,{children:Object(o.jsx)(e.component,Object(a.a)({},n))})}},n)})),Object(o.jsx)(r.a,{from:"/",to:"/dashboard"})]})})})})},b=s.a.memo(l),m=function(){return Object(o.jsxs)(i.s,{fixed:!1,children:[Object(o.jsxs)("div",{children:[Object(o.jsx)("a",{href:"sumasen.net",target:"_blank",rel:"noopener noreferrer",children:"FBS"}),Object(o.jsx)("span",{className:"ml-1",children:"\xa9 2021 DigitalVox."})]}),Object(o.jsxs)("div",{className:"mfs-auto",children:[Object(o.jsx)("span",{className:"mr-1",children:"\u642d\u8f09"}),Object(o.jsx)("a",{href:"#",target:"_blank",rel:"noopener noreferrer",children:"DigitalVox"})]})]})},h=s.a.memo(m),x=c(159),u=c(629),O=function(){var e=Object(x.b)(),n=Object(x.c)((function(e){return e.sidebarShow}));return Object(o.jsxs)(i.v,{withSubheader:!0,children:[Object(o.jsx)(i.U,{inHeader:!0,className:"ml-md-3 d-lg-none",onClick:function(){var c=!![!1,"responsive"].includes(n)||"responsive";e({type:"set",sidebarShow:c})}}),Object(o.jsx)(i.U,{inHeader:!0,className:"ml-3 d-md-down-none",onClick:function(){var c=![!0,"responsive"].includes(n)&&"responsive";e({type:"set",sidebarShow:c})}}),Object(o.jsx)(i.w,{className:"mx-auto d-lg-none",to:"/",children:Object(o.jsx)("h2",{children:"FBS"})}),Object(o.jsx)(i.x,{className:"d-md-down-none mr-auto",children:Object(o.jsx)(i.y,{className:"px-3",children:Object(o.jsx)(i.z,{to:"/dashboard",children:"\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9"})})}),Object(o.jsx)(i.T,{className:"px-3 justify-content-between",children:Object(o.jsx)(i.d,{className:"border-0 c-subheader-nav m-0 px-0 px-md-3",routes:d})})]})},p=[{_tag:"CSidebarNavItem",name:"\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9",to:"/dashboard",icon:Object(o.jsx)(u.a,{name:"cil-speedometer",customClasses:"c-sidebar-nav-icon"})},{_tag:"CSidebarNavTitle",_children:["\u30ec\u30dd\u30fc\u30c8"]},{_tag:"CSidebarNavItem",name:"\u5831\u544a\u66f8",to:"/reports",icon:"cil-drop"}],f=function(){var e=Object(x.b)(),n=Object(x.c)((function(e){return e.sidebarShow}));return Object(o.jsxs)(i.L,{show:n,onShowChange:function(n){return e({type:"set",sidebarShow:n})},children:[Object(o.jsxs)(i.M,{className:"d-md-down-none",to:"/",children:[Object(o.jsx)("h2",{children:"FBS"}),Object(o.jsx)(u.a,{className:"c-sidebar-brand-minimized",name:"sygnet",height:35})]}),Object(o.jsx)(i.O,{children:Object(o.jsx)(i.m,{items:p,components:{CSidebarNavDivider:i.P,CSidebarNavDropdown:i.Q,CSidebarNavItem:i.R,CSidebarNavTitle:i.S}})}),Object(o.jsx)(i.N,{className:"c-d-md-down-none"})]})},v=s.a.memo(f);n.default=function(){return Object(o.jsxs)("div",{className:"c-app c-default-layout",children:[Object(o.jsx)(v,{}),Object(o.jsxs)("div",{className:"c-wrapper",children:[Object(o.jsx)(O,{}),Object(o.jsx)("div",{className:"c-body",children:Object(o.jsx)(b,{})}),Object(o.jsx)(h,{})]})]})}}}]);
//# sourceMappingURL=5.f2f67b9e.chunk.js.map
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[5],{687:function(e,n,c){"use strict";c.r(n);var t=c(1),s=c.n(t),a=c(49),r=c(19),i=c(631),d=[{path:"/",exact:!0,name:"Home"},{path:"/dashboard",name:"\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9",component:s.a.lazy((function(){return c.e(7).then(c.bind(null,686))}))},{path:"/reports",exact:!0,name:"\u30ec\u30dd\u30fc\u30c8",component:s.a.lazy((function(){return Promise.all([c.e(4),c.e(6)]).then(c.bind(null,688))}))}],o=c(20),j=Object(o.jsx)("div",{className:"pt-3 text-center",children:Object(o.jsx)("div",{className:"sk-spinner sk-spinner-pulse"})}),l=function(){return Object(o.jsx)("main",{className:"c-main",children:Object(o.jsx)(i.l,{fluid:!0,children:Object(o.jsx)(t.Suspense,{fallback:j,children:Object(o.jsxs)(r.d,{children:[d.map((function(e,n){return e.component&&Object(o.jsx)(r.b,{path:e.path,exact:e.exact,name:e.name,render:function(n){return Object(o.jsx)(i.r,{children:Object(o.jsx)(e.component,Object(a.a)({},n))})}},n)})),Object(o.jsx)(r.a,{from:"/",to:"/dashboard"})]})})})})},b=s.a.memo(l),m=function(){return Object(o.jsxs)(i.s,{fixed:!1,children:[Object(o.jsxs)("div",{children:[Object(o.jsx)("a",{href:"sumasen.net",target:"_blank",rel:"noopener noreferrer",children:"FBS"}),Object(o.jsx)("span",{className:"ml-1",children:"\xa9 2021 DigitalVox."})]}),Object(o.jsxs)("div",{className:"mfs-auto",children:[Object(o.jsx)("span",{className:"mr-1",children:"\u642d\u8f09"}),Object(o.jsx)("a",{href:"#",target:"_blank",rel:"noopener noreferrer",children:"DigitalVox"})]})]})},h=s.a.memo(m),x=c(159),u=c(629),O=function(){var e=Object(x.b)(),n=Object(x.c)((function(e){return e.sidebarShow}));return Object(o.jsxs)(i.v,{withSubheader:!0,children:[Object(o.jsx)(i.U,{inHeader:!0,className:"ml-md-3 d-lg-none",onClick:function(){var c=!![!1,"responsive"].includes(n)||"responsive";e({type:"set",sidebarShow:c})}}),Object(o.jsx)(i.U,{inHeader:!0,className:"ml-3 d-md-down-none",onClick:function(){var c=![!0,"responsive"].includes(n)&&"responsive";e({type:"set",sidebarShow:c})}}),Object(o.jsx)(i.w,{className:"mx-auto d-lg-none",to:"/",children:Object(o.jsx)("h2",{children:"FBS"})}),Object(o.jsx)(i.x,{className:"d-md-down-none mr-auto",children:Object(o.jsx)(i.y,{className:"px-3",children:Object(o.jsx)(i.z,{to:"/dashboard",children:"\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9"})})}),Object(o.jsx)(i.T,{className:"px-3 justify-content-between",children:Object(o.jsx)(i.d,{className:"border-0 c-subheader-nav m-0 px-0 px-md-3",routes:d})})]})},p=[{_tag:"CSidebarNavItem",name:"\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9",to:"/dashboard",icon:Object(o.jsx)(u.a,{name:"cil-speedometer",customClasses:"c-sidebar-nav-icon"})},{_tag:"CSidebarNavTitle",_children:["\u30ec\u30dd\u30fc\u30c8"]},{_tag:"CSidebarNavItem",name:"\u5831\u544a\u66f8",to:"/reports",icon:"cil-drop"}],f=function(){var e=Object(x.b)(),n=Object(x.c)((function(e){return e.sidebarShow}));return Object(o.jsxs)(i.L,{show:n,onShowChange:function(n){return e({type:"set",sidebarShow:n})},children:[Object(o.jsxs)(i.M,{className:"d-md-down-none",to:"/",children:[Object(o.jsx)("h2",{children:"FBS"}),Object(o.jsx)(u.a,{className:"c-sidebar-brand-minimized",name:"sygnet",height:35})]}),Object(o.jsx)(i.O,{children:Object(o.jsx)(i.m,{items:p,components:{CSidebarNavDivider:i.P,CSidebarNavDropdown:i.Q,CSidebarNavItem:i.R,CSidebarNavTitle:i.S}})}),Object(o.jsx)(i.N,{className:"c-d-md-down-none"})]})},v=s.a.memo(f);n.default=function(){return Object(o.jsxs)("div",{className:"c-app c-default-layout",children:[Object(o.jsx)(v,{}),Object(o.jsxs)("div",{className:"c-wrapper",children:[Object(o.jsx)(O,{}),Object(o.jsx)("div",{className:"c-body",children:Object(o.jsx)(b,{})}),Object(o.jsx)(h,{})]})]})}}}]);
//# sourceMappingURL=5.22d50490.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[6],{688:function(e,t,c){"use strict";c.r(t);var n=c(657),s=c.n(n),o=c(658),a=c(678),i=c(1),r=c(659),l=c.n(r),j=c(631),u=c(629),d=c(20);c(677);t.default=function(){var e=new Date,t=e.getMonth()+1+"/"+e.getDate()+"/"+e.getFullYear(),c=Object(i.useState)([]),n=Object(a.a)(c,2),r=n[0],h=n[1],b=Object(i.useState)(t),O=Object(a.a)(b,2),m=O[0],p=O[1],x=Object(i.useState)(""),f=Object(a.a)(x,2),g=f[0],v=f[1],k=Object(i.useState)(""),w=Object(a.a)(k,2),y=w[0],C=w[1];return Object(i.useEffect)((function(){function e(){return(e=Object(o.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l()("https://natnats.mobilous.com/getConstructionList");case 2:t=e.sent,h(t.data);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]),Object(d.jsxs)(j.J,{children:[Object(d.jsx)(j.k,{xs:"12",sm:"12",md:"12",children:Object(d.jsxs)(j.f,{children:[Object(d.jsx)(j.j,{children:"\u30ec\u30dd\u30fc\u30c8"}),Object(d.jsxs)(j.g,{children:[Object(d.jsxs)(j.K,{custom:!0,name:"cons_select",id:"cons_select",onChange:function(e){C(e.target.value)},children:['" ',Object(d.jsx)("option",{value:"",children:"-- \u9078\u629e --"}),'"+',r.map((function(e,t){return Object(d.jsx)("option",{value:e.construction_id,children:e.construction_name},e.construction_id)}))]}),Object(d.jsxs)(j.f,{children:[Object(d.jsx)(j.g,{children:Object(d.jsxs)(j.t,{action:"",method:"post",encType:"multipart/form-data",className:"form-horizontal",children:[Object(d.jsxs)(j.u,{row:!0,children:[Object(d.jsx)(j.k,{md:"3",children:Object(d.jsxs)(j.G,{htmlFor:"date-input",children:["\u65e5\u4ed8 (",m,")"]})}),Object(d.jsx)(j.k,{xs:"12",md:"9",children:Object(d.jsx)(j.B,{type:"date",id:"date-input",name:"date-input",placeholder:"\u65e5\u4ed8",value:m,onChange:function(e){p(e.target.value)}})})]}),Object(d.jsxs)(j.u,{row:!0,children:[Object(d.jsx)(j.k,{md:"3",children:Object(d.jsx)(j.G,{htmlFor:"select",children:"\u9078\u629e"})}),Object(d.jsx)(j.k,{xs:"12",md:"9",children:Object(d.jsxs)(j.K,{custom:!0,name:"select",id:"select",onChange:function(e){v(e.target.value)},value:g,children:[Object(d.jsx)("option",{value:"",children:"-- \u9078\u629e --"}),Object(d.jsx)("option",{value:"generateBoxDisplacement",children:"\u51fd\u4f53\u5909\u4f4d\u8868"}),Object(d.jsx)("option",{value:"generateMachineControl",children:"\u30aa\u30fc\u30d7\u30f3\u30b7\u30fc\u30eb\u30c9\u30de\u30b7\u30f3\u7ba1\u7406\u65e5\u5831"}),Object(d.jsx)("option",{value:"generateMachineSheet",children:"\u30aa\u30fc\u30d7\u30f3\u30b7\u30fc\u30eb\u30c9\u6a5f\u5909\u4f4d\u8868"}),Object(d.jsx)("option",{value:"generateMeasurement",children:"\u51fd\u5e95\u9ad8\u30fb\u504f\u4f4d\u91cf\u6e2c\u5b9a\u4e00\u89a7\u8868"}),Object(d.jsx)("option",{value:"generateCheckSheet",children:"\u5de5\u7a0b\u5185\u691c\u67fb\u8868"}),Object(d.jsx)("option",{value:"generateInjection",children:"\u88cf\u8fbc\u6ce8\u5165\u6750\u6599\u53d7\u6255\u3044\u7c3f"})]})})]})]})}),Object(d.jsx)(j.h,{children:Object(d.jsxs)(j.e,{type:"submit",size:"sm",color:"primary",onClick:function(){if(""!=g&&""!=y){var e="https://natnats.mobilous.com//"+g+"?construction_id="+y+"&construction_date="+m;console.log(y),console.log(m),console.log(g),function(e){l()({url:e,method:"GET",responseType:"blob"}).then((function(e){var t=window.URL.createObjectURL(new Blob([e.data])),c=document.createElement("a");c.href=t,c.setAttribute("download","file.xlsx"),document.body.appendChild(c),c.click()}))}(e)}else alert("\u5efa\u8a2d\u3068\u30ec\u30dd\u30fc\u30c8\u306e\u4e21\u65b9\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044")},children:[Object(d.jsx)(u.a,{name:"cil-scrubber"})," \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9"]})})]})]})]})}),Object(d.jsx)(j.k,{xs:"1",sm:"1",md:"1"})]})}}}]);
//# sourceMappingURL=6.09d60206.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@ -1,2 +0,0 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[6],{687:function(e,t,c){"use strict";c.r(t);var n=c(657),s=c.n(n),o=c(658),a=c(678),r=c(1),i=c(659),l=c.n(i),j=c(631),u=c(629),d=c(20),h=c(677);t.default=function(){var e=new Date,t=e.getMonth()+1+"/"+e.getDate()+"/"+e.getFullYear(),c=Object(r.useState)([]),n=Object(a.a)(c,2),i=n[0],b=n[1],O=Object(r.useState)(t),x=Object(a.a)(O,2),p=x[0],m=x[1],f=Object(r.useState)(""),g=Object(a.a)(f,2),v=g[0],k=g[1],C=Object(r.useState)(""),w=Object(a.a)(C,2),_=w[0],y=w[1];return Object(r.useEffect)((function(){function e(){return(e=Object(o.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l()("https://natnats.mobilous.com/getConstructionList");case 2:t=e.sent,b(t.data);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]),Object(d.jsxs)(j.J,{children:[Object(d.jsx)(j.k,{xs:"12",sm:"12",md:"12",children:Object(d.jsxs)(j.f,{children:[Object(d.jsx)(j.j,{children:"\u30ec\u30dd\u30fc\u30c8"}),Object(d.jsxs)(j.g,{children:[Object(d.jsxs)(j.K,{custom:!0,name:"cons_select",id:"cons_select",onChange:function(e){y(e.target.value)},children:['" ',Object(d.jsx)("option",{value:"",children:"-- \u9078\u629e --"}),'"+',i.map((function(e,t){return Object(d.jsx)("option",{value:e.construction_id,children:e.construction_name},e.construction_id)}))]}),Object(d.jsxs)(j.f,{children:[Object(d.jsx)(j.g,{children:Object(d.jsxs)(j.t,{action:"",method:"post",encType:"multipart/form-data",className:"form-horizontal",children:[Object(d.jsxs)(j.u,{row:!0,children:[Object(d.jsx)(j.k,{md:"3",children:Object(d.jsxs)(j.G,{htmlFor:"date-input",children:["\u65e5\u4ed8 (",p,")"]})}),Object(d.jsx)(j.k,{xs:"12",md:"9",children:Object(d.jsx)(j.B,{type:"date",id:"date-input",name:"date-input",placeholder:"\u65e5\u4ed8",value:p,onChange:function(e){m(e.target.value)}})})]}),Object(d.jsxs)(j.u,{row:!0,children:[Object(d.jsx)(j.k,{md:"3",children:Object(d.jsx)(j.G,{htmlFor:"select",children:"\u9078\u629e"})}),Object(d.jsx)(j.k,{xs:"12",md:"9",children:Object(d.jsxs)(j.K,{custom:!0,name:"select",id:"select",onChange:function(e){k(e.target.value)},value:v,children:[Object(d.jsx)("option",{value:"",children:"-- \u9078\u629e --"}),Object(d.jsx)("option",{value:"generateBoxDisplacement",children:"\u51fd\u4f53\u5909\u4f4d\u8868"}),Object(d.jsx)("option",{value:"generateMachineControl",children:"\u30aa\u30fc\u30d7\u30f3\u30b7\u30fc\u30eb\u30c9\u30de\u30b7\u30f3\u7ba1\u7406\u65e5\u5831"}),Object(d.jsx)("option",{value:"generateMachineSheet",children:"\u30aa\u30fc\u30d7\u30f3\u30b7\u30fc\u30eb\u30c9\u6a5f\u5909\u4f4d\u8868"}),Object(d.jsx)("option",{value:"generateMeasurement",children:"\u51fd\u5e95\u9ad8\u30fb\u504f\u4f4d\u91cf\u6e2c\u5b9a\u4e00\u89a7\u8868"}),Object(d.jsx)("option",{value:"generateCheckSheet",children:"\u5de5\u7a0b\u5185\u691c\u67fb\u8868"}),Object(d.jsx)("option",{value:"generateInjection",children:"\u88cf\u8fbc\u6ce8\u5165\u6750\u6599\u53d7\u6255\u3044\u7c3f"})]})})]})]})}),Object(d.jsx)(j.h,{children:Object(d.jsxs)(j.e,{type:"submit",size:"sm",color:"primary",onClick:function(){if(""!=v&&""!=_){var e="https://natnats.mobilous.com//"+v+"?construction_id="+_+"&construction_date="+p;console.log(_),console.log(p),console.log(v),function(e){var t=l()(e).then((function(e){h(e.data,"report.xls")}));console.log(t)}(e)}else alert("Please select both Construction and Report")},children:[Object(d.jsx)(u.a,{name:"cil-scrubber"})," \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9"]})})]})]})]})}),Object(d.jsx)(j.k,{xs:"1",sm:"1",md:"1"})]})}}}]);
//# sourceMappingURL=6.0dae2086.chunk.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
!function(e){function t(t){for(var n,o,c=t[0],i=t[1],f=t[2],l=0,d=[];l<c.length;l++)o=c[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(s&&s(t);d.length;)d.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(u.splice(t--,1),e=c(c.s=r[0]))}return e}var n={},o={2:0},a={2:0},u=[];function c(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"0ef68903",4:"31d6cfe0",5:"31d6cfe0",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0"}[e]+".chunk.css",a=c.p+n,u=document.getElementsByTagName("link"),i=0;i<u.length;i++){var f=(s=u[i]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(f===n||f===a))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var s;if((f=(s=l[i]).getAttribute("data-href"))===n||f===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],d.parentNode.removeChild(d),r(u)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.src=function(e){return c.p+"static/js/"+({}[e]||e)+"."+{0:"d94293fe",4:"4ab79a86",5:"f2f67b9e",6:"0dae2086",7:"70b103ad",8:"325ee50c",9:"f7c5ed34",10:"abef0b47",11:"b593fda9"}[e]+".chunk.js"}(e);var f=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="./",c.oe=function(e){throw console.error(e),e};var i=this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var s=f;r()}([]);
//# sourceMappingURL=runtime-main.185515c3.js.map
!function(e){function t(t){for(var n,o,c=t[0],i=t[1],f=t[2],l=0,d=[];l<c.length;l++)o=c[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(s&&s(t);d.length;)d.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(u.splice(t--,1),e=c(c.s=r[0]))}return e}var n={},o={2:0},a={2:0},u=[];function c(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"0ef68903",4:"31d6cfe0",5:"31d6cfe0",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0"}[e]+".chunk.css",a=c.p+n,u=document.getElementsByTagName("link"),i=0;i<u.length;i++){var f=(s=u[i]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(f===n||f===a))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var s;if((f=(s=l[i]).getAttribute("data-href"))===n||f===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],d.parentNode.removeChild(d),r(u)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.src=function(e){return c.p+"static/js/"+({}[e]||e)+"."+{0:"d94293fe",4:"4ab79a86",5:"22d50490",6:"09d60206",7:"70b103ad",8:"325ee50c",9:"f7c5ed34",10:"abef0b47",11:"b593fda9"}[e]+".chunk.js"}(e);var f=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="./",c.oe=function(e){throw console.error(e),e};var i=this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var s=f;r()}([]);
//# sourceMappingURL=runtime-main.b90af703.js.map

View File

@ -27,8 +27,12 @@ import {
CSwitch
} from '@coreui/react'
import CIcon from '@coreui/icons-react'
import Downloader from '../downloader';
const FileDownload = require('js-file-download');
function Index() {
const baseUrl = "https://natnats.mobilous.com/";
@ -64,7 +68,7 @@ function Index() {
function doGetReport(){
if(report == "" || selectedcons == ""){
alert("Please select both Construction and Report");
alert("建設とレポートの両方を選択してください");
return;
}
var url = baseUrl + "/" + report + "?construction_id=" +selectedcons+ "&construction_date="+sdate;
@ -75,10 +79,25 @@ function Index() {
}
function downloadReport(url) {
const response = axios(url).then((res) => {
FileDownload(res.data, 'report.xls');
})
console.log(response);
axios({
url: url, //your url
method: 'GET',
responseType: 'blob', // important
}).then((response) => {
const url = window.URL.createObjectURL(new Blob([response.data]));
const link = document.createElement('a');
link.href = url;
link.setAttribute('download', 'file.xlsx'); //or any other extension
document.body.appendChild(link);
link.click();
});
//return <Downloader iframeSrc={url} />
// const response = axios(url).then((res) => {
// FileDownload(res.data, 'report.xls');
// })
//console.log(response);
}
return (

10
src/views/downloader.js Normal file
View File

@ -0,0 +1,10 @@
import * as React from 'react';
function Downloader(props) {
return (
<div style={{display: 'none'}}>
<iframe src={props.iframeSrc} />
</div>
);
}
export default Downloader