Change login url

This commit is contained in:
Mohamed Nouffer
2021-11-09 14:56:16 +05:30
parent a6bc5ffaf6
commit fa0adbb40f
19 changed files with 29 additions and 29 deletions

View File

@ -8,19 +8,19 @@
"main.css": "./static/css/main.12e98d00.chunk.css",
"main.js": "./static/js/main.a301aabf.chunk.js",
"main.js.map": "./static/js/main.a301aabf.chunk.js.map",
"runtime-main.js": "./static/js/runtime-main.e2c5ec70.js",
"runtime-main.js.map": "./static/js/runtime-main.e2c5ec70.js.map",
"runtime-main.js": "./static/js/runtime-main.d19539b3.js",
"runtime-main.js.map": "./static/js/runtime-main.d19539b3.js.map",
"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/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.map": "./static/js/5.74973543.chunk.js.map",
"static/js/6.cc23418d.chunk.js": "./static/js/6.cc23418d.chunk.js",
"static/js/6.cc23418d.chunk.js.map": "./static/js/6.cc23418d.chunk.js.map",
"static/js/7.39412144.chunk.js": "./static/js/7.39412144.chunk.js",
"static/js/7.39412144.chunk.js.map": "./static/js/7.39412144.chunk.js.map",
"static/js/8.2a9943d8.chunk.js": "./static/js/8.2a9943d8.chunk.js",
"static/js/8.2a9943d8.chunk.js.map": "./static/js/8.2a9943d8.chunk.js.map",
"static/js/6.25ac5936.chunk.js": "./static/js/6.25ac5936.chunk.js",
"static/js/6.25ac5936.chunk.js.map": "./static/js/6.25ac5936.chunk.js.map",
"static/js/7.1daa50e5.chunk.js": "./static/js/7.1daa50e5.chunk.js",
"static/js/7.1daa50e5.chunk.js.map": "./static/js/7.1daa50e5.chunk.js.map",
"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/9.421fefda.chunk.js": "./static/js/9.421fefda.chunk.js",
"static/js/9.421fefda.chunk.js.map": "./static/js/9.421fefda.chunk.js.map",
"static/js/10.86be3482.chunk.js": "./static/js/10.86be3482.chunk.js",
@ -41,10 +41,10 @@
"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/4.5bad680f.chunk.js.LICENSE.txt": "./static/js/4.5bad680f.chunk.js.LICENSE.txt",
"static/js/6.cc23418d.chunk.js.LICENSE.txt": "./static/js/6.cc23418d.chunk.js.LICENSE.txt"
"static/js/6.25ac5936.chunk.js.LICENSE.txt": "./static/js/6.25ac5936.chunk.js.LICENSE.txt"
},
"entrypoints": [
"static/js/runtime-main.e2c5ec70.js",
"static/js/runtime-main.d19539b3.js",
"static/js/4.5bad680f.chunk.js",
"static/css/main.12e98d00.chunk.css",
"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(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:"cc23418d",7:"39412144",8:"2a9943d8",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>
<!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:"25ac5936",7:"1daa50e5",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 +0,0 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[8],{775:function(e,t,i){"use strict";i.r(t);var n=i(657),s=i(1),c=i(644),a=i.n(c),r=i(639),l=i(638),j=i(18);t.default=function(e){var t=Object(s.useState)(null),i=Object(n.a)(t,2),c=i[0],o=i[1];return Object(j.jsx)("div",{children:Object(j.jsxs)(r.f,{children:[Object(j.jsx)(r.j,{children:"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9"}),Object(j.jsxs)(r.g,{children:[Object(j.jsxs)(r.t,{row:!0,children:[Object(j.jsx)(r.k,{md:"3",children:Object(j.jsx)(r.H,{htmlFor:"date-input",children:" \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u3093\u3067\u304f\u3060\u3055\u3044 "})}),Object(j.jsx)(r.k,{xs:"12",md:"9",children:Object(j.jsx)(r.C,{type:"file",onChange:function(e){o(e.target.files[0])},id:"file-input",name:"file-input"})})]}),Object(j.jsx)(r.h,{children:Object(j.jsxs)(r.e,{type:"submit",onClick:function(t){var i=new FormData;i.append("file",c);var n=c.name.trim(),s=new Intl.Collator("ja"),r=s.compare("ini_\u5de5\u7a0b\u5185\u691c\u67fb\u7968.xlsx",n),l=s.compare("ini_\u30c7\u30fc\u30bf\u5165\u529b\u30b7\u30fc\u30c8.xlsx",n);0===r||0===l?a.a.post("https://fsbsso.sumasen.net/upload?email="+e.email,i).then((function(e){console.log(e.statusText),"OK"==e.statusText?alert("\u6b63\u5e38\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3057\u305f"):204==e.status&&alert("\u521d\u671f\u8a2d\u5b9a\u306e\u8aad\u307f\u8fbc\u307f\u306b\u5931\u6557\u3057\u307e\u3057\u305f")})):alert("\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u540d"+c.name+"\u304c\u9593\u9055\u3063\u3066\u3044\u307e\u3059\u3002ini_\u5de5\u7a0b\u5185\u691c\u67fb\u8868.xlsx \u307e\u305f\u306f ini_\u30c7\u30fc\u30bf\u5165\u529b\u30b7\u30fc\u30c8.xlsx \u306e\u3069\u3061\u3089\u304b\u306b\u540d\u524d\u3092\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002")},size:"sm",color:"primary",children:[" ",Object(j.jsx)(l.a,{name:"cil-scrubber"})," \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 "]})})]})]})})}}}]);
//# sourceMappingURL=8.2a9943d8.chunk.js.map

View File

@ -0,0 +1,2 @@
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[8],{775:function(e,t,i){"use strict";i.r(t);var s=i(657),n=i(1),c=i(644),r=i.n(c),a=i(639),l=i(638),j=i(18);t.default=function(e){var t=Object(n.useState)(null),i=Object(s.a)(t,2),c=i[0],o=i[1];return Object(j.jsx)("div",{children:Object(j.jsxs)(a.f,{children:[Object(j.jsx)(a.j,{children:"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9"}),Object(j.jsxs)(a.g,{children:[Object(j.jsxs)(a.t,{row:!0,children:[Object(j.jsx)(a.k,{md:"3",children:Object(j.jsx)(a.H,{htmlFor:"date-input",children:" \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u3093\u3067\u304f\u3060\u3055\u3044 "})}),Object(j.jsx)(a.k,{xs:"12",md:"9",children:Object(j.jsx)(a.C,{type:"file",onChange:function(e){o(e.target.files[0])},id:"file-input",name:"file-input"})})]}),Object(j.jsx)(a.h,{children:Object(j.jsxs)(a.e,{type:"submit",onClick:function(t){var i=new FormData;i.append("file",c);var s=c.name.trim(),n=new Intl.Collator("ja"),a=n.compare("ini_\u5de5\u7a0b\u5185\u691c\u67fb\u7968.xlsx",s),l=n.compare("ini_\u30c7\u30fc\u30bf\u5165\u529b\u30b7\u30fc\u30c8.xlsx",s);0===a||0===l?r.a.post("https://fbssso.ts.bizside.biz/upload?email="+e.email,i).then((function(e){console.log(e.statusText),"OK"==e.statusText?alert("\u6b63\u5e38\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3057\u305f"):204==e.status&&alert("\u521d\u671f\u8a2d\u5b9a\u306e\u8aad\u307f\u8fbc\u307f\u306b\u5931\u6557\u3057\u307e\u3057\u305f")})):alert("\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u540d"+c.name+"\u304c\u9593\u9055\u3063\u3066\u3044\u307e\u3059\u3002ini_\u5de5\u7a0b\u5185\u691c\u67fb\u8868.xlsx \u307e\u305f\u306f ini_\u30c7\u30fc\u30bf\u5165\u529b\u30b7\u30fc\u30c8.xlsx \u306e\u3069\u3061\u3089\u304b\u306b\u540d\u524d\u3092\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002")},size:"sm",color:"primary",children:[" ",Object(j.jsx)(l.a,{name:"cil-scrubber"})," \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 "]})})]})]})})}}}]);
//# sourceMappingURL=8.cdfa96cc.chunk.js.map

View File

@ -1 +1 @@
{"version":3,"sources":["views/Uploader/index.js"],"names":["Uploader","props","useState","file","setFile","row","md","htmlFor","xs","type","onChange","e","target","files","id","name","onClick","data","FormData","append","chk","trim","collator","Intl","Collator","order1","compare","order2","axios","post","email","then","res","console","log","statusText","alert","status","size","color"],"mappings":"mPAqFeA,UApEf,SAAkBC,GAEd,MAAwBC,mBAAS,MAAjC,mBAAOC,EAAP,KAAaC,EAAb,KAuCA,OACA,8BACI,eAAC,IAAD,WACA,cAAC,IAAD,mDAGA,eAAC,IAAD,WACA,eAAC,IAAD,CAAYC,KAAG,EAAf,UACA,cAAC,IAAD,CAAMC,GAAK,IAAX,SACA,cAAC,IAAD,CAAQC,QAAU,aAAlB,0IAEA,cAAC,IAAD,CAAMC,GAAK,KAAIF,GAAK,IAApB,SACA,cAAC,IAAD,CAAYG,KAAO,OAAMC,SAjD7B,SAAyBC,GACrBP,EAAQO,EAAEC,OAAOC,MAAM,KAgDiCC,GAAK,aAAaC,KAAO,oBAGjF,cAAC,IAAD,UACA,eAAC,IAAD,CAASN,KAAO,SAChBO,QAlDJ,SAAwBL,GACpB,IAAIM,EAAO,IAAIC,SACfD,EAAKE,OAAO,OAAQhB,GACpB,IAAMiB,EAAMjB,EAAKY,KAAKM,OAChBC,EAAW,IAAIC,KAAKC,SAAS,MAC7BC,EAASH,EAASI,QAAQ,gDAAmBN,GAC7CO,EAASL,EAASI,QAAQ,4DAAqBN,GACvC,IAAXK,GAA2B,IAAXE,EAMfC,IAAMC,KAAK,2CAA6C5B,EAAM6B,MAAOb,GACpEc,MAAK,SAAAC,GACFC,QAAQC,IAAIF,EAAIG,YACM,MAAlBH,EAAIG,WACNC,MAAM,wFAEc,KAAdJ,EAAIK,QACVD,MAAM,uGAKdA,MAAM,+DAAejC,EAAKY,KAAO,kSA0BnCuB,KAAO,KACPC,MAAQ,UAHR,cAGoB,cAAE,IAAF,CAAQxB,KAAO,iBAHnC","file":"static/js/8.2a9943d8.chunk.js","sourcesContent":["import React, { useState, useEffect } from 'react';\nimport axios from 'axios';\nimport {\n CCol,\n CFormGroup,\n CInput,\n CInputFile,\n CLabel,\n CButton,\n CCard,\n CCardHeader,\n CCardBody,\n CCardFooter,\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\n\nfunction Uploader(props) {\n\n const [file, setFile] = useState(null);\n \n function onChangeHandler(e) {\n setFile(e.target.files[0])\n }\n\n function onClickHandler(e) {\n let data = new FormData()\n data.append('file', file);\n const chk = file.name.trim();\n const collator = new Intl.Collator('ja'); \n const order1 = collator.compare('ini_工程内検査票.xlsx', chk); \n const order2 = collator.compare('ini_データ入力シート.xlsx', chk); \n if(order1 === 0 || order2 === 0)\n {\n // axios.post(\"https://fsbsso.sumasen.net/upload?email=\" + props.email, {\n // body: data,\n // headers: {'Content-Type': 'multipart/form-data' }\n // })\n axios.post(\"https://fsbsso.sumasen.net/upload?email=\" + props.email, data)\n .then(res => { // then print response status\n console.log(res.statusText)\n if (res.statusText == 'OK') {\n alert(\"正常にアップロードされました\");\n }\n else if(res.status == 204){\n alert(\"初期設定の読み込みに失敗しました\");\n }\n });\n }\n else {\n alert(\"指定されたファイル名\" + file.name + \"が間違っています。ini_工程内検査表.xlsx または ini_データ入力シート.xlsx のどちらかに名前を変更してください。\");\n return\n }\n //console.log(file.name);\n //console.log('calling upload');\n\n }\n\n return ( \n <div>\n <CCard >\n <CCardHeader>\n アップロード\n </CCardHeader> \n <CCardBody >\n <CFormGroup row>\n <CCol md = \"3\">\n <CLabel htmlFor = \"date-input\" > アップロードするファイルを選んでください < /CLabel> \n </CCol > \n <CCol xs = \"12\"md = \"9\" >\n <CInputFile type = \"file\"onChange = { onChangeHandler } id = \"file-input\" name = \"file-input\" / >\n </CCol> \n </CFormGroup >\n <CCardFooter >\n <CButton type = \"submit\"\n onClick = { onClickHandler }\n size = \"sm\"\n color = \"primary\" > < CIcon name = \"cil-scrubber\" / > アップロード </CButton> \n </CCardFooter>\n </CCardBody>\n </CCard>\n </div>\n )\n}\n\nexport default Uploader\n"],"sourceRoot":""}
{"version":3,"sources":["views/Uploader/index.js"],"names":["Uploader","props","useState","file","setFile","row","md","htmlFor","xs","type","onChange","e","target","files","id","name","onClick","data","FormData","append","chk","trim","collator","Intl","Collator","order1","compare","order2","axios","post","email","then","res","console","log","statusText","alert","status","size","color"],"mappings":"mPAqFeA,UApEf,SAAkBC,GAEd,MAAwBC,mBAAS,MAAjC,mBAAOC,EAAP,KAAaC,EAAb,KAuCA,OACA,8BACI,eAAC,IAAD,WACA,cAAC,IAAD,mDAGA,eAAC,IAAD,WACA,eAAC,IAAD,CAAYC,KAAG,EAAf,UACA,cAAC,IAAD,CAAMC,GAAK,IAAX,SACA,cAAC,IAAD,CAAQC,QAAU,aAAlB,0IAEA,cAAC,IAAD,CAAMC,GAAK,KAAIF,GAAK,IAApB,SACA,cAAC,IAAD,CAAYG,KAAO,OAAMC,SAjD7B,SAAyBC,GACrBP,EAAQO,EAAEC,OAAOC,MAAM,KAgDiCC,GAAK,aAAaC,KAAO,oBAGjF,cAAC,IAAD,UACA,eAAC,IAAD,CAASN,KAAO,SAChBO,QAlDJ,SAAwBL,GACpB,IAAIM,EAAO,IAAIC,SACfD,EAAKE,OAAO,OAAQhB,GACpB,IAAMiB,EAAMjB,EAAKY,KAAKM,OAChBC,EAAW,IAAIC,KAAKC,SAAS,MAC7BC,EAASH,EAASI,QAAQ,gDAAmBN,GAC7CO,EAASL,EAASI,QAAQ,4DAAqBN,GACvC,IAAXK,GAA2B,IAAXE,EAMfC,IAAMC,KAAK,8CAAgD5B,EAAM6B,MAAOb,GACvEc,MAAK,SAAAC,GACFC,QAAQC,IAAIF,EAAIG,YACM,MAAlBH,EAAIG,WACNC,MAAM,wFAEc,KAAdJ,EAAIK,QACVD,MAAM,uGAKdA,MAAM,+DAAejC,EAAKY,KAAO,kSA0BnCuB,KAAO,KACPC,MAAQ,UAHR,cAGoB,cAAE,IAAF,CAAQxB,KAAO,iBAHnC","file":"static/js/8.cdfa96cc.chunk.js","sourcesContent":["import React, { useState, useEffect } from 'react';\nimport axios from 'axios';\nimport {\n CCol,\n CFormGroup,\n CInput,\n CInputFile,\n CLabel,\n CButton,\n CCard,\n CCardHeader,\n CCardBody,\n CCardFooter,\n} from '@coreui/react'\nimport CIcon from '@coreui/icons-react'\n\n\nfunction Uploader(props) {\n\n const [file, setFile] = useState(null);\n \n function onChangeHandler(e) {\n setFile(e.target.files[0])\n }\n\n function onClickHandler(e) {\n let data = new FormData()\n data.append('file', file);\n const chk = file.name.trim();\n const collator = new Intl.Collator('ja'); \n const order1 = collator.compare('ini_工程内検査票.xlsx', chk); \n const order2 = collator.compare('ini_データ入力シート.xlsx', chk); \n if(order1 === 0 || order2 === 0)\n {\n // axios.post(\"https://fsbsso.sumasen.net/upload?email=\" + props.email, {\n // body: data,\n // headers: {'Content-Type': 'multipart/form-data' }\n // })\n axios.post(\"https://fbssso.ts.bizside.biz/upload?email=\" + props.email, data)\n .then(res => { // then print response status\n console.log(res.statusText)\n if (res.statusText == 'OK') {\n alert(\"正常にアップロードされました\");\n }\n else if(res.status == 204){\n alert(\"初期設定の読み込みに失敗しました\");\n }\n });\n }\n else {\n alert(\"指定されたファイル名\" + file.name + \"が間違っています。ini_工程内検査表.xlsx または ini_データ入力シート.xlsx のどちらかに名前を変更してください。\");\n return\n }\n //console.log(file.name);\n //console.log('calling upload');\n\n }\n\n return ( \n <div>\n <CCard >\n <CCardHeader>\n アップロード\n </CCardHeader> \n <CCardBody >\n <CFormGroup row>\n <CCol md = \"3\">\n <CLabel htmlFor = \"date-input\" > アップロードするファイルを選んでください < /CLabel> \n </CCol > \n <CCol xs = \"12\"md = \"9\" >\n <CInputFile type = \"file\"onChange = { onChangeHandler } id = \"file-input\" name = \"file-input\" / >\n </CCol> \n </CFormGroup >\n <CCardFooter >\n <CButton type = \"submit\"\n onClick = { onClickHandler }\n size = \"sm\"\n color = \"primary\" > < CIcon name = \"cil-scrubber\" / > アップロード </CButton> \n </CCardFooter>\n </CCardBody>\n </CCard>\n </div>\n )\n}\n\nexport default Uploader\n"],"sourceRoot":""}

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(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:"cc23418d",7:"39412144",8:"2a9943d8",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.e2c5ec70.js.map
!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:"25ac5936",7:"1daa50e5",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.d19539b3.js.map

View File

@ -48,7 +48,7 @@ const TheContent = () => {
}
};
const result = await axios.post('https://fsbsso.sumasen.net/csv', data, axiosConfig)
const result = await axios.post('https://fbssso.ts.bizside.biz/csv', data, axiosConfig)
.catch((err) => {
console.log("AXIOS ERROR: ", err);
});
@ -65,7 +65,7 @@ const TheContent = () => {
const key = "api"
const pwd = "c558a56c63c44f65956adde8863ecc3558f3e55a465d4338bb2e7d2692866fd8";
const result = await axios.get('https://fsbsso.sumasen.net/users?email=' + user_email, {
const result = await axios.get('https://fbssso.ts.bizside.biz/users?email=' + user_email, {
auth: {
username: key,
password: pwd

View File

@ -13,7 +13,7 @@ const TheHeaderDropdown = () => {
function launchsso() {
console.log("launch sso");
window.open("https://fsbsso.sumasen.net/Shibboleth.sso/Login", "_self");
window.open("https://fbssso.ts.bizside.biz/Shibboleth.sso/Login", "_self");
}
return (

View File

@ -57,7 +57,7 @@ function Index() {
async function fetchData() {
// You can await here
if(selectedcons !== "" && report !== "" && isDate() == true) {
const result = await axios('https://fsbsso.sumasen.net/getDateToHaveData?construction_id=' + selectedcons + '&sheetname=' + report);
const result = await axios('https://fbssso.ts.bizside.biz/getDateToHaveData?construction_id=' + selectedcons + '&sheetname=' + report);
setValidDates(result.data.record);
}
}

View File

@ -36,7 +36,7 @@ function Uploader(props) {
// body: data,
// headers: {'Content-Type': 'multipart/form-data' }
// })
axios.post("https://fsbsso.sumasen.net/upload?email=" + props.email, data)
axios.post("https://fbssso.ts.bizside.biz/upload?email=" + props.email, data)
.then(res => { // then print response status
console.log(res.statusText)
if (res.statusText == 'OK') {