update download url

This commit is contained in:
2022-02-17 18:28:18 +05:30
parent 82be6d24f0
commit 47a1bb5939
14 changed files with 47 additions and 43 deletions

View File

@ -8,17 +8,17 @@
"main.css": "./static/css/main.12e98d00.chunk.css", "main.css": "./static/css/main.12e98d00.chunk.css",
"main.js": "./static/js/main.a301aabf.chunk.js", "main.js": "./static/js/main.a301aabf.chunk.js",
"main.js.map": "./static/js/main.a301aabf.chunk.js.map", "main.js.map": "./static/js/main.a301aabf.chunk.js.map",
"runtime-main.js": "./static/js/runtime-main.20c3ce68.js", "runtime-main.js": "./static/js/runtime-main.66e93309.js",
"runtime-main.js.map": "./static/js/runtime-main.20c3ce68.js.map", "runtime-main.js.map": "./static/js/runtime-main.66e93309.js.map",
"static/js/4.5bad680f.chunk.js": "./static/js/4.5bad680f.chunk.js", "static/js/4.5bad680f.chunk.js": "./static/js/4.5bad680f.chunk.js",
"static/js/4.5bad680f.chunk.js.map": "./static/js/4.5bad680f.chunk.js.map", "static/js/4.5bad680f.chunk.js.map": "./static/js/4.5bad680f.chunk.js.map",
"static/css/5.ecdd39c8.chunk.css": "./static/css/5.ecdd39c8.chunk.css", "static/css/5.ecdd39c8.chunk.css": "./static/css/5.ecdd39c8.chunk.css",
"static/js/5.74973543.chunk.js": "./static/js/5.74973543.chunk.js", "static/js/5.74973543.chunk.js": "./static/js/5.74973543.chunk.js",
"static/js/5.74973543.chunk.js.map": "./static/js/5.74973543.chunk.js.map", "static/js/5.74973543.chunk.js.map": "./static/js/5.74973543.chunk.js.map",
"static/js/6.cc17c857.chunk.js": "./static/js/6.cc17c857.chunk.js", "static/js/6.eafa620b.chunk.js": "./static/js/6.eafa620b.chunk.js",
"static/js/6.cc17c857.chunk.js.map": "./static/js/6.cc17c857.chunk.js.map", "static/js/6.eafa620b.chunk.js.map": "./static/js/6.eafa620b.chunk.js.map",
"static/js/7.a604cff9.chunk.js": "./static/js/7.a604cff9.chunk.js", "static/js/7.204501b5.chunk.js": "./static/js/7.204501b5.chunk.js",
"static/js/7.a604cff9.chunk.js.map": "./static/js/7.a604cff9.chunk.js.map", "static/js/7.204501b5.chunk.js.map": "./static/js/7.204501b5.chunk.js.map",
"static/js/8.cdfa96cc.chunk.js": "./static/js/8.cdfa96cc.chunk.js", "static/js/8.cdfa96cc.chunk.js": "./static/js/8.cdfa96cc.chunk.js",
"static/js/8.cdfa96cc.chunk.js.map": "./static/js/8.cdfa96cc.chunk.js.map", "static/js/8.cdfa96cc.chunk.js.map": "./static/js/8.cdfa96cc.chunk.js.map",
"static/js/9.421fefda.chunk.js": "./static/js/9.421fefda.chunk.js", "static/js/9.421fefda.chunk.js": "./static/js/9.421fefda.chunk.js",
@ -41,10 +41,10 @@
"static/css/main.12e98d00.chunk.css.map": "./static/css/main.12e98d00.chunk.css.map", "static/css/main.12e98d00.chunk.css.map": "./static/css/main.12e98d00.chunk.css.map",
"static/js/0.87e6cd63.chunk.js.LICENSE.txt": "./static/js/0.87e6cd63.chunk.js.LICENSE.txt", "static/js/0.87e6cd63.chunk.js.LICENSE.txt": "./static/js/0.87e6cd63.chunk.js.LICENSE.txt",
"static/js/4.5bad680f.chunk.js.LICENSE.txt": "./static/js/4.5bad680f.chunk.js.LICENSE.txt", "static/js/4.5bad680f.chunk.js.LICENSE.txt": "./static/js/4.5bad680f.chunk.js.LICENSE.txt",
"static/js/6.cc17c857.chunk.js.LICENSE.txt": "./static/js/6.cc17c857.chunk.js.LICENSE.txt" "static/js/6.eafa620b.chunk.js.LICENSE.txt": "./static/js/6.eafa620b.chunk.js.LICENSE.txt"
}, },
"entrypoints": [ "entrypoints": [
"static/js/runtime-main.20c3ce68.js", "static/js/runtime-main.66e93309.js",
"static/js/4.5bad680f.chunk.js", "static/js/4.5bad680f.chunk.js",
"static/css/main.12e98d00.chunk.css", "static/css/main.12e98d00.chunk.css",
"static/js/main.a301aabf.chunk.js" "static/js/main.a301aabf.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.12e98d00.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,u=t[0],i=t[1],f=t[2],l=0,s=[];l<u.length;l++)o=u[l],Object.prototype.hasOwnProperty.call(c,o)&&c[o]&&s.push(c[o][0]),c[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(d&&d(t);s.length;)s.shift()();return a.push.apply(a,f||[]),r()}function r(){for(var e,t=0;t<a.length;t++){for(var r=a[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==c[i]&&(n=!1)}n&&(a.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={3:0},c={3:0},a=[];function u(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,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1,5:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"455ee148",1:"31d6cfe0",5:"ecdd39c8",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",14:"31d6cfe0",15:"31d6cfe0"}[e]+".chunk.css",c=u.p+n,a=document.getElementsByTagName("link"),i=0;i<a.length;i++){var f=(d=a[i]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(f===n||f===c))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var d;if((f=(d=l[i]).getAttribute("data-href"))===n||f===c)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||c,a=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=n,delete o[e],s.parentNode.removeChild(s),r(a)},s.href=c,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=c[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=c[e]=[t,n]}));t.push(r[2]=n);var a,i=document.createElement("script");i.charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"87e6cd63",1:"cc5932a8",5:"74973543",6:"cc17c857",7:"a604cff9",8:"cdfa96cc",9:"421fefda",10:"86be3482",11:"325ac840",12:"8fca287d",13:"87f985d8",14:"63ad4270",15:"1c5c80c3"}[e]+".chunk.js"}(e);var f=new Error;a=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=c[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)}c[e]=void 0}};var l=setTimeout((function(){a({type:"timeout",target:i})}),12e4);i.onerror=i.onload=a,document.head.appendChild(i)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="./",u.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 d=f;r()}([])</script><script src="./static/js/4.5bad680f.chunk.js"></script><script src="./static/js/main.a301aabf.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.12e98d00.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,u=t[0],i=t[1],f=t[2],l=0,s=[];l<u.length;l++)o=u[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(d&&d(t);s.length;)s.shift()();return c.push.apply(c,f||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(c.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={3:0},a={3:0},c=[];function u(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,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1,5:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"455ee148",1:"31d6cfe0",5:"ecdd39c8",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",14:"31d6cfe0",15:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var f=(d=c[i]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(f===n||f===a))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var d;if((f=(d=l[i]).getAttribute("data-href"))===n||f===a)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete o[e],s.parentNode.removeChild(s),r(c)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)})).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 c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"87e6cd63",1:"cc5932a8",5:"74973543",6:"eafa620b",7:"204501b5",8:"cdfa96cc",9:"421fefda",10:"86be3482",11:"325ac840",12:"8fca287d",13:"87f985d8",14:"63ad4270",15:"1c5c80c3"}[e]+".chunk.js"}(e);var f=new Error;c=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(){c({type:"timeout",target:i})}),12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="./",u.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 d=f;r()}([])</script><script src="./static/js/4.5bad680f.chunk.js"></script><script src="./static/js/main.a301aabf.chunk.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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,u=t[0],i=t[1],f=t[2],l=0,s=[];l<u.length;l++)o=u[l],Object.prototype.hasOwnProperty.call(c,o)&&c[o]&&s.push(c[o][0]),c[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(d&&d(t);s.length;)s.shift()();return a.push.apply(a,f||[]),r()}function r(){for(var e,t=0;t<a.length;t++){for(var r=a[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==c[i]&&(n=!1)}n&&(a.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={3:0},c={3:0},a=[];function u(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,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1,5:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"455ee148",1:"31d6cfe0",5:"ecdd39c8",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",14:"31d6cfe0",15:"31d6cfe0"}[e]+".chunk.css",c=u.p+n,a=document.getElementsByTagName("link"),i=0;i<a.length;i++){var f=(d=a[i]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(f===n||f===c))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var d;if((f=(d=l[i]).getAttribute("data-href"))===n||f===c)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||c,a=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=n,delete o[e],s.parentNode.removeChild(s),r(a)},s.href=c,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=c[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=c[e]=[t,n]}));t.push(r[2]=n);var a,i=document.createElement("script");i.charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"87e6cd63",1:"cc5932a8",5:"74973543",6:"cc17c857",7:"a604cff9",8:"cdfa96cc",9:"421fefda",10:"86be3482",11:"325ac840",12:"8fca287d",13:"87f985d8",14:"63ad4270",15:"1c5c80c3"}[e]+".chunk.js"}(e);var f=new Error;a=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=c[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)}c[e]=void 0}};var l=setTimeout((function(){a({type:"timeout",target:i})}),12e4);i.onerror=i.onload=a,document.head.appendChild(i)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="./",u.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 d=f;r()}([]); !function(e){function t(t){for(var n,o,u=t[0],i=t[1],f=t[2],l=0,s=[];l<u.length;l++)o=u[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(d&&d(t);s.length;)s.shift()();return c.push.apply(c,f||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(c.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={3:0},a={3:0},c=[];function u(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,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{0:1,5:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"455ee148",1:"31d6cfe0",5:"ecdd39c8",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"31d6cfe0",12:"31d6cfe0",13:"31d6cfe0",14:"31d6cfe0",15:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var f=(d=c[i]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(f===n||f===a))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var d;if((f=(d=l[i]).getAttribute("data-href"))===n||f===a)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete o[e],s.parentNode.removeChild(s),r(c)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)})).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 c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"87e6cd63",1:"cc5932a8",5:"74973543",6:"eafa620b",7:"204501b5",8:"cdfa96cc",9:"421fefda",10:"86be3482",11:"325ac840",12:"8fca287d",13:"87f985d8",14:"63ad4270",15:"1c5c80c3"}[e]+".chunk.js"}(e);var f=new Error;c=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(){c({type:"timeout",target:i})}),12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="./",u.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 d=f;r()}([]);
//# sourceMappingURL=runtime-main.20c3ce68.js.map //# sourceMappingURL=runtime-main.66e93309.js.map

View File

@ -56,7 +56,7 @@ const TheContent = () => {
} }
async function fetchUser() { async function fetchUser() {
if(SsoSession.attributes[0] === undefined) { if(SsoSession.attributes != null && SsoSession.attributes[0] === undefined) {
return false; return false;
} }
const user_email = SsoSession.attributes[0].values[0] const user_email = SsoSession.attributes[0].values[0]

View File

@ -78,15 +78,19 @@ function Index() {
function setingReport(e){ function setingReport(e){
setReport(e.target.value); setReport(e.target.value);
setStartDate(null); setStartDate(null);
setDownloadUrl('');
} }
function setingSelectedCons(e) { function setingSelectedCons(e) {
setSelectedCons(e.target.value); setSelectedCons(e.target.value);
setStartDate(null); setStartDate(null);
setDownloadUrl('');
} }
function setingGraph(e){ function setingGraph(e){
console.log("setting report" + downloadUrl);
setGraph(e.target.checked); setGraph(e.target.checked);
setDownloadUrl('');
} }
function doGetReport(){ function doGetReport(){
@ -102,36 +106,36 @@ function Index() {
else{ else{
url = baseUrl + "/generate" + report + "?construction_id=" +selectedcons+ "&construction_date="+getDateWithFormat(startDate); url = baseUrl + "/generate" + report + "?construction_id=" +selectedcons+ "&construction_date="+getDateWithFormat(startDate);
} }
setDownloadUrl(url) setDownloadUrl(url);
//downloadReport(url); //downloadReport(url);
} }
else { else {
if(graph){ // if(graph){
url = baseUrl + "/generate" + report + "?construction_id=" +selectedcons+"&graph=true"; // url = baseUrl + "/generate" + report + "?construction_id=" +selectedcons+"&graph=true";
} // }
else{ // else{
url = baseUrl + "/generate" + report + "?construction_id=" +selectedcons; // url = baseUrl + "/generate" + report + "?construction_id=" +selectedcons;
} // }
setDownloadUrl(url) setDownloadUrl('');
//downloadReport(url); //downloadReport(url);
} }
} }
function downloadReport(url) { // function downloadReport(url) {
console.log(url); // console.log(url);
fetch(url) // fetch(url)
.then(response => { // .then(response => {
console.log(response) // console.log(response)
const filename = response.headers.get('Content-Disposition').split('filename=')[1]; // const filename = response.headers.get('Content-Disposition').split('filename=')[1];
response.blob().then(blob => { // response.blob().then(blob => {
let url = window.URL.createObjectURL(blob); // let url = window.URL.createObjectURL(blob);
let a = document.createElement('a'); // let a = document.createElement('a');
a.href = url; // a.href = url;
a.download = filename; // a.download = filename;
a.click(); // a.click();
}); // });
}); // });
} // }
// function downloadReport(url) { // function downloadReport(url) {
// axios({ // axios({