update for JP text

This commit is contained in:
2021-08-12 14:06:01 +05:30
parent 4cc32e5e5a
commit 670c7865ff
9 changed files with 257 additions and 214 deletions

View File

@ -8,8 +8,8 @@
"main.css": "./static/css/main.12e98d00.chunk.css", "main.css": "./static/css/main.12e98d00.chunk.css",
"main.js": "./static/js/main.c02dc652.chunk.js", "main.js": "./static/js/main.c02dc652.chunk.js",
"main.js.map": "./static/js/main.c02dc652.chunk.js.map", "main.js.map": "./static/js/main.c02dc652.chunk.js.map",
"runtime-main.js": "./static/js/runtime-main.e3561a88.js", "runtime-main.js": "./static/js/runtime-main.18ec15f6.js",
"runtime-main.js.map": "./static/js/runtime-main.e3561a88.js.map", "runtime-main.js.map": "./static/js/runtime-main.18ec15f6.js.map",
"static/js/4.2aecef49.chunk.js": "./static/js/4.2aecef49.chunk.js", "static/js/4.2aecef49.chunk.js": "./static/js/4.2aecef49.chunk.js",
"static/js/4.2aecef49.chunk.js.map": "./static/js/4.2aecef49.chunk.js.map", "static/js/4.2aecef49.chunk.js.map": "./static/js/4.2aecef49.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",
@ -17,8 +17,8 @@
"static/js/5.713b21d1.chunk.js.map": "./static/js/5.713b21d1.chunk.js.map", "static/js/5.713b21d1.chunk.js.map": "./static/js/5.713b21d1.chunk.js.map",
"static/js/6.bba51257.chunk.js": "./static/js/6.bba51257.chunk.js", "static/js/6.bba51257.chunk.js": "./static/js/6.bba51257.chunk.js",
"static/js/6.bba51257.chunk.js.map": "./static/js/6.bba51257.chunk.js.map", "static/js/6.bba51257.chunk.js.map": "./static/js/6.bba51257.chunk.js.map",
"static/js/7.a6b9bd7a.chunk.js": "./static/js/7.a6b9bd7a.chunk.js", "static/js/7.24e41aee.chunk.js": "./static/js/7.24e41aee.chunk.js",
"static/js/7.a6b9bd7a.chunk.js.map": "./static/js/7.a6b9bd7a.chunk.js.map", "static/js/7.24e41aee.chunk.js.map": "./static/js/7.24e41aee.chunk.js.map",
"static/js/8.40731ea8.chunk.js": "./static/js/8.40731ea8.chunk.js", "static/js/8.40731ea8.chunk.js": "./static/js/8.40731ea8.chunk.js",
"static/js/8.40731ea8.chunk.js.map": "./static/js/8.40731ea8.chunk.js.map", "static/js/8.40731ea8.chunk.js.map": "./static/js/8.40731ea8.chunk.js.map",
"static/js/9.311e2cfe.chunk.js": "./static/js/9.311e2cfe.chunk.js", "static/js/9.311e2cfe.chunk.js": "./static/js/9.311e2cfe.chunk.js",
@ -46,7 +46,7 @@
"static/js/6.bba51257.chunk.js.LICENSE.txt": "./static/js/6.bba51257.chunk.js.LICENSE.txt" "static/js/6.bba51257.chunk.js.LICENSE.txt": "./static/js/6.bba51257.chunk.js.LICENSE.txt"
}, },
"entrypoints": [ "entrypoints": [
"static/js/runtime-main.e3561a88.js", "static/js/runtime-main.18ec15f6.js",
"static/js/4.2aecef49.chunk.js", "static/js/4.2aecef49.chunk.js",
"static/css/main.12e98d00.chunk.css", "static/css/main.12e98d00.chunk.css",
"static/js/main.c02dc652.chunk.js" "static/js/main.c02dc652.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],d=0,s=[];d<u.length;d++)o=u[d],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(l&&l(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",16:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var f=(l=c[i]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===n||f===a))return t()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){var l;if((f=(l=d[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:"e423db2b",1:"bd3709d0",5:"713b21d1",6:"bba51257",7:"a6b9bd7a",8:"40731ea8",9:"311e2cfe",10:"1aee78b2",11:"d20ada69",12:"2c871bc8",13:"886a98ec",14:"ef6f2a9c",15:"e3d77fc1",16:"3fdf9cdf"}[e]+".chunk.js"}(e);var f=new Error;c=function(t){i.onerror=i.onload=null,clearTimeout(d);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 d=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 d=0;d<i.length;d++)t(i[d]);var l=f;r()}([])</script><script src="./static/js/4.2aecef49.chunk.js"></script><script src="./static/js/main.c02dc652.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],d=0,s=[];d<u.length;d++)o=u[d],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(l&&l(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",16:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var f=(l=c[i]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===n||f===a))return t()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){var l;if((f=(l=d[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:"e423db2b",1:"bd3709d0",5:"713b21d1",6:"bba51257",7:"24e41aee",8:"40731ea8",9:"311e2cfe",10:"1aee78b2",11:"d20ada69",12:"2c871bc8",13:"886a98ec",14:"ef6f2a9c",15:"e3d77fc1",16:"3fdf9cdf"}[e]+".chunk.js"}(e);var f=new Error;c=function(t){i.onerror=i.onload=null,clearTimeout(d);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 d=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 d=0;d<i.length;d++)t(i[d]);var l=f;r()}([])</script><script src="./static/js/4.2aecef49.chunk.js"></script><script src="./static/js/main.c02dc652.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

View File

@ -1,2 +1,2 @@
!function(e){function t(t){for(var n,o,u=t[0],i=t[1],f=t[2],d=0,s=[];d<u.length;d++)o=u[d],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(l&&l(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",16:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var f=(l=c[i]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===n||f===a))return t()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){var l;if((f=(l=d[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:"e423db2b",1:"bd3709d0",5:"713b21d1",6:"bba51257",7:"a6b9bd7a",8:"40731ea8",9:"311e2cfe",10:"1aee78b2",11:"d20ada69",12:"2c871bc8",13:"886a98ec",14:"ef6f2a9c",15:"e3d77fc1",16:"3fdf9cdf"}[e]+".chunk.js"}(e);var f=new Error;c=function(t){i.onerror=i.onload=null,clearTimeout(d);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 d=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 d=0;d<i.length;d++)t(i[d]);var l=f;r()}([]); !function(e){function t(t){for(var n,o,u=t[0],i=t[1],f=t[2],d=0,s=[];d<u.length;d++)o=u[d],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(l&&l(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",16:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var f=(l=c[i]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===n||f===a))return t()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){var l;if((f=(l=d[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:"e423db2b",1:"bd3709d0",5:"713b21d1",6:"bba51257",7:"24e41aee",8:"40731ea8",9:"311e2cfe",10:"1aee78b2",11:"d20ada69",12:"2c871bc8",13:"886a98ec",14:"ef6f2a9c",15:"e3d77fc1",16:"3fdf9cdf"}[e]+".chunk.js"}(e);var f=new Error;c=function(t){i.onerror=i.onload=null,clearTimeout(d);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 d=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 d=0;d<i.length;d++)t(i[d]);var l=f;r()}([]);
//# sourceMappingURL=runtime-main.e3561a88.js.map //# sourceMappingURL=runtime-main.18ec15f6.js.map

View File

@ -56,7 +56,7 @@ function Index() {
useEffect(() => { useEffect(() => {
async function fetchData() { async function fetchData() {
// You can await here // You can await here
if(selectedcons !== "" && report !== "") { if (selectedcons !== "" && report !== "") {
const result = await axios('https://natnats.mobilous.com/getDateToHaveData?construction_id=' + selectedcons + '&sheetname=' + report); const result = await axios('https://natnats.mobilous.com/getDateToHaveData?construction_id=' + selectedcons + '&sheetname=' + report);
setValidDates(result.data.record); setValidDates(result.data.record);
} }
@ -74,7 +74,7 @@ function Index() {
return thisDate; return thisDate;
} }
function setingReport(e){ function setingReport(e) {
setReport(e.target.value); setReport(e.target.value);
setStartDate(null); setStartDate(null);
} }
@ -84,21 +84,20 @@ function Index() {
setStartDate(null); setStartDate(null);
} }
function setingGraph(e){ function setingGraph(e) {
setGraph(e.target.checked); setGraph(e.target.checked);
} }
function doGetReport(){ function doGetReport() {
if(report == "" || selectedcons == ""){ if (report == "" || selectedcons == "") {
alert("建設とレポートの両方を選択してください"); alert("建設とレポートの両方を選択してください");
return; return;
} }
var url = ""; var url = "";
if(graph){ if (graph) {
url = baseUrl + "/generate" + report + "?construction_id=" +selectedcons+ "&construction_date="+getDateWithFormat(startDate)+"&graph=true"; url = baseUrl + "/generate" + report + "?construction_id=" + selectedcons + "&construction_date=" + getDateWithFormat(startDate) + "&graph=true";
} } else {
else{ url = baseUrl + "/generate" + report + "?construction_id=" + selectedcons + "&construction_date=" + getDateWithFormat(startDate);
url = baseUrl + "/generate" + report + "?construction_id=" +selectedcons+ "&construction_date="+getDateWithFormat(startDate);
} }
downloadReport(url); downloadReport(url);
} }
@ -121,99 +120,143 @@ function Index() {
const checkAvilable = (date) => { const checkAvilable = (date) => {
var thisDate = getDateWithFormat(date); var thisDate = getDateWithFormat(date);
if(validDates.includes(thisDate)){ if (validDates.includes(thisDate)) {
return true; return true;
} } else {
else{
return false; return false;
} }
}; };
return ( return ( <
<CRow> CRow >
<CCol xs="12" sm="12" md="12"> <
<CCard> CCol xs = "12"
<CCardHeader> sm = "12"
レポート md = "12" >
</CCardHeader> <
<CCardBody> CCard >
<
CCardHeader >
レポート <
/CCardHeader> <
CCardBody >
<CSelect custom name="cons_select" id="cons_select" onChange={setingSelectedCons}> <
" <option value=''>-- 選択 --</option>"+ CSelect custom name = "cons_select"
{ id = "cons_select"
onChange = { setingSelectedCons } >
" <option value=''>-- レポート種類 --</option>" + {
data.map((cc, index) => { data.map((cc, index) => {
return( return ( <
<option key={cc.construction_id} value={cc.construction_id}>{cc.construction_name}</option> option key = { cc.construction_id }
value = { cc.construction_id } > { cc.construction_name } < /option>
) )
}) })
} <
/CSelect>
<
CCard >
<
CCardBody >
<
CForm action = ""
method = "post"
encType = "multipart/form-data"
className = "form-horizontal" >
<
CFormGroup row >
<
CCol md = "3" >
<
CLabel htmlFor = "select" > レポート種類 < /CLabel> <
/CCol> <
CCol xs = "12"
md = "9" >
<
CSelect custom name = "select"
id = "select"
onChange = { setingReport }
value = { report } >
<
option value = "" > --レポート種類-- < /option> <
option value = "BoxDisplacement" > 函体変位表 < /option> <
option value = "MachineControl" > オープンシールドマシン管理日報 < /option> <
option value = "MachineSheet" > オープンシールド機変位表 < /option> <
option value = "Measurement" > 函底高 偏位量測定一覧表 < /option> <
option value = "CheckSheet" > 工程内検査表 < /option> <
option value = "Injection" > 裏込注入材料受払い簿 < /option> <
/CSelect> <
/CCol> <
/CFormGroup> <
CFormGroup row >
<
CCol md = "3" >
<
CLabel htmlFor = "select" > 報告日 < /CLabel> <
/CCol> <
CCol xs = "12"
md = "9" >
<
DatePicker dateFormat = "yyyy/MM/dd"
selected = { startDate }
onChange = {
(date) => setStartDate(date) }
filterDate = { checkAvilable }
placeholderText = '日付を選択' /
>
<
/CCol> <
/CFormGroup>
{
report == 'MachineControl' ?
<
CFormGroup variant = "checkbox"
className = "checkbox" >
<
CInputCheckbox
id = "checkbox1"
name = "checkbox1"
checked = { graph }
value = 'graph'
onChange = { setingGraph }
/> <
CLabel variant = "checkbox"
className = "form-check-label"
htmlFor = "checkbox1" > グラフの有無 < /CLabel> <
/CFormGroup>:
("")
} }
</CSelect>
<CCard> <
<CCardBody> /CForm> <
<CForm action="" method="post" encType="multipart/form-data" className="form-horizontal"> /CCardBody> <
<CFormGroup row> CCardFooter > {
<CCol md="3"> startDate != null ?
<CLabel htmlFor="select">レポート種類</CLabel> <
</CCol> CButton type = "submit"
<CCol xs="12" md="9"> size = "sm"
<CSelect custom name="select" id="select" onChange={setingReport} value={report}> color = "primary"
<option value="">-- 選択 --</option> onClick = { doGetReport } > < CIcon name = "cil-scrubber" / > ダウンロード < /CButton> :
<option value="BoxDisplacement">函体変位表</option> <
<option value="MachineControl">オープンシールドマシン管理日報</option> CButton disabled type = "submit"
<option value="MachineSheet">オープンシールド機変位表</option> size = "sm"
<option value="Measurement">函底高偏位量測定一覧表</option> color = "primary"
<option value="CheckSheet">工程内検査表</option> onClick = { doGetReport } > < CIcon name = "cil-scrubber" / > ダウンロード < /CButton>
<option value="Injection">裏込注入材料受払い簿</option> } <
</CSelect> /CCardFooter> <
</CCol> /CCard> <
</CFormGroup> /CCardBody> <
<CFormGroup row> /CCard> <
<CCol md="3"> /CCol> <
<CLabel htmlFor="select">報告日</CLabel> CCol xs = "1"
</CCol> sm = "1"
<CCol xs="12" md="9"> md = "1" >
<DatePicker <
dateFormat="yyyy/MM/dd" /CCol> <
selected={startDate} /CRow>
onChange={(date) => setStartDate(date)}
filterDate={checkAvilable}
placeholderText='日付を選択'
/>
</CCol>
</CFormGroup>
{report == 'MachineControl' ?
<CFormGroup variant="checkbox" className="checkbox">
<CInputCheckbox
id="checkbox1"
name="checkbox1"
checked = {graph}
value='graph'
onChange={setingGraph}
/>
<CLabel variant="checkbox" className="form-check-label" htmlFor="checkbox1">グラフの有無</CLabel>
</CFormGroup>
:
("")}
</CForm>
</CCardBody>
<CCardFooter>
{startDate != null ?
<CButton type="submit" size="sm" color="primary" onClick={doGetReport}><CIcon name="cil-scrubber" /> ダウンロード</CButton>
:
<CButton disabled type="submit" size="sm" color="primary" onClick={doGetReport}><CIcon name="cil-scrubber" /> ダウンロード</CButton>
}
</CCardFooter>
</CCard>
</CCardBody>
</CCard>
</CCol>
<CCol xs="1" sm="1" md="1">
</CCol>
</CRow>
); );
} }