{"id":51989,"date":"2023-02-14T00:00:00","date_gmt":"2023-02-13T15:00:00","guid":{"rendered":"http:\/\/V-CMS.library.local\/?page_id=51989"},"modified":"2024-01-10T21:20:28","modified_gmt":"2024-01-10T12:20:28","slug":"slag1964","status":"publish","type":"page","link":"https:\/\/www.library.pref.osaka.jp\/site\/business\/shashi-list-g.html","title":{"rendered":"\u793e\u53f2\u30b3\u30fc\u30ca\u30fc\u76ee\u9332\uff1a\u691c\u7d22\u7d50\u679c\u4e00\u89a7"},"content":{"rendered":"\n<style type=\"text\/css\">\np.bib{\n\tfont-size:20px;\n\tfont-weight:400;\n\tmargin-top:15px;\n\tmargin-bottom:10px;\n}\n\nul.sec2{\n\tmargin:10px 0;\n}\n\nth.co{width: 20%;}\nth.t{width: 40%;}\nth.p{width: 26%;}\nth.pd{width: 7%;}\nth.sk{width: 7%;}\n<\/style>\n\n<div id=\"result\"><\/div>\n\n<script language=\"javascript\">\n<!--\nlet objShashi;\nlet result;\nlet gName;\nlet className;\n\nfunction dispBunrui(id){\n\tlet html = \"\";\n\thtml += `<H2>\u793e\u53f2\u30b3\u30fc\u30ca\u30fc\u76ee\u9332 \u300c${gName}\u300d<\/H2>`;\n\t\n\thtml += \"<div style='text-align:right;font-size:120%'><a href=.\/shashi.html>\uff08\u76ee\u6b21\u3078\u623b\u308b\uff09<\/a><\/div>\"\n\t\n\n\tlet filterResult = objShashi.shashi.materials.filter( function (value) {\n\t\treturn value.id==id;\n\t})\n\t\n\tfilterResult.sort(function(a, b){\n\t\t\/\/ \u4f1a\u793e\u540d\u3088\u307f\uff08\u6607\u9806\uff09\u3067\u4e26\u3073\u66ff\u3048\n\t\tif(a.coy !== b.coy){\n\t    \tif(a.coy < b.coy) return -1\n\t    \tif(a.coy > b.coy) return 1\n\t\t}\n\t  \treturn 0\n\t})\n\t\n\t\n\thtml += `<table border=\"1\" width=\"100%\">`\n\thtml += `<tr><th class=\"co\">\u4f1a\u793e\u540d<\/th><th class=\"t\">\u66f8\u540d<\/th><th class=\"p\">\u51fa\u7248\u8005<\/th><th class=\"pd\">\u51fa\u7248\u5e74\u6708<\/th><th class=\"sk\">\u8acb\u6c42\u8a18\u53f7<\/th><\/tr>`\n\t\n\tfor(let mt of filterResult){\n\t\thtml += `<tr>`\n\t\thtml += `<td>${mt.co}<br \/><\/td>`\n\t\tif(mt.tc){\n\t\t\thtml += `<td><a href=https:\/\/www.library.pref.osaka.jp\/licsxp-opac\/WOpacMsgNewListToTifTilDetailAction.do?tilcod=${mt.tc}>${mt.t}<\/a><\/td>`;\n\t\t}else{\n\t\t\thtml += `<td>${mt.t}<br \/><\/td>`\n\t\t}\n\t\thtml += `<td>${mt.p}<br \/><\/td>`\n\t\thtml += `<td>${mt.pd}<br \/><\/td>`\n\t\thtml += `<td>${mt.sk}<br \/><\/td>`\n\t}\n\thtml += `<\/table>`\n\t\n\t\n\thtml += \"<div style='height:45px' aria-hidden='true' class='wp-block-spacer'><\/div>\"\n\thtml += \"<hr class='wp-block-separator has-alpha-channel-opacity'\/>\";\n\thtml += \"<div style='text-align:right;font-size:120%'><a href=.\/shashi.html>\uff08\u76ee\u6b21\u3078\u623b\u308b\uff09<\/a><\/div>\"\n\t\n\tresult.innerHTML = html;\n}\n\nfunction dispKeySearch(key){\n\tlet html = \"\";\n\thtml += `<H2>\u793e\u53f2\u30b3\u30fc\u30ca\u30fc\u76ee\u9332 \u30ad\u30fc\u30ef\u30fc\u30c9\u300c${key}\u300d<\/H2>`;\n\thtml += \"<div style='text-align:right;font-size:120%'><a href=.\/shashi.html>\uff08\u76ee\u6b21\u3078\u623b\u308b\uff09<\/a><\/div>\"\t\n\t\n\tconst regex = new RegExp(key)\n\t\n\tlet filterResult = objShashi.shashi.materials.filter( function (value) {\n\t\tif(regex.test(value.t) || regex.test(value.p) || regex.test(value.co) || regex.test(value.coy)){\n\t\t\treturn true;\n\t\t}\n\t})\n\t\n\tif(filterResult.length>0){\n\t\tfilterResult.sort(function(a, b){\n\t\t\t\/\/ \u51fa\u7248\u5e74\u8aad\u307f\u3067\u4e26\u3073\u66ff\u3048\n\t\t\tif(a.pdy !== b.pdy){\n\t\t    \tif(a.pdy > b.pdy) return -1\n\t\t    \tif(a.pdy < b.pdy) return 1\n\t\t\t}\n\t\t  \treturn 0\n\t\t})\n\t\t\n\t\thtml += `<table border=\"1\" width=\"100%\">`\n\t\thtml += `<tr><th class=\"co\">\u4f1a\u793e\u540d<\/th><th class=\"t\">\u66f8\u540d<\/th><th class=\"p\">\u51fa\u7248\u8005<\/th><th class=\"pd\">\u51fa\u7248\u5e74\u6708<\/th><th class=\"sk\">\u8acb\u6c42\u8a18\u53f7<\/th><\/tr>`\n\t\t\n\t\tfor(let mt of filterResult){\n\t\t\thtml += `<tr>`\n\t\t\thtml += `<td>${mt.co}<br \/><\/td>`\n\t\t\tif(mt.tc){\n\t\t\t\thtml += `<td><a href=https:\/\/www.library.pref.osaka.jp\/licsxp-opac\/WOpacMsgNewListToTifTilDetailAction.do?tilcod=${mt.tc}>${mt.t}<\/a><\/td>`;\n\t\t\t}else{\n\t\t\t\thtml += `<td>${mt.t}<br \/><\/td>`\n\t\t\t}\n\t\t\thtml += `<td>${mt.p}<br \/><\/td>`\n\t\t\thtml += `<td>${mt.pd}<br \/><\/td>`\n\t\t\thtml += `<td>${mt.sk}<br \/><\/td>`\n\t\t}\n\t\thtml += `<\/table>`\n\t}else{\n\t\thtml += `\u8a72\u5f53\u306e\u30c7\u30fc\u30bf\u306f\u3042\u308a\u307e\u305b\u3093\u3002`\n\t}\n\thtml += \"<div style='height:45px' aria-hidden='true' class='wp-block-spacer'><\/div>\"\n\thtml += \"<hr class='wp-block-separator has-alpha-channel-opacity'\/>\";\n\thtml += \"<div style='text-align:right;font-size:120%'><a href=.\/shashi.html>\uff08\u76ee\u6b21\u3078\u623b\u308b\uff09<\/a><\/div>\"\n\tresult.innerHTML = html;\n}\n\nfunction dispErr(){\n\tlet html = \"\";\n\thtml += \"<H2>\u793e\u53f2\u30b3\u30fc\u30ca\u30fc\u76ee\u9332 \u691c\u7d22\u7d50\u679c\u4e00\u89a7<\/H2>\";\n\thtml += \"<p>\u5206\u985e\u3001\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u76ee\u6b21\u30da\u30fc\u30b8\u306b\u623b\u3063\u3066\u518d\u5ea6\u691c\u7d22\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\";\n\thtml += \"<div style='text-align:right;font-size:120%'><a href=.\/shashi.html>\uff08\u76ee\u6b21\u3078\u623b\u308b\uff09<\/a><\/div>\"\n\tresult.innerHTML = html;\n\n}\n\n\n\/\/ \u8d77\u52d5\u6642\u306e\u51e6\u7406\nwindow.addEventListener(\"load\", ()=>{\n\t\/\/ JSON\u8868\u793a\u7528\n\tresult = document.getElementById(\"result\");\n\t\n\tobjShashi = JSON.parse(sessionStorage.getItem('shashi'));\n\t\n\tconst params = (new URL(document.location)).searchParams;\n\tconst kbn =  params.get('kbn');\n\t\n\tif(kbn==\"b\"){\n\t\tconst gId = params.get('gId');\n\t\tgName = params.get('gName');\n\t\tdispBunrui(gId);\n\t}else if(kbn==\"k\"){\n\t\tconst key = params.get('g-key');\n\t\tdispKeySearch(key);\n\t}else{\n\t\tdispErr();\n\t}\n\n});\n\/\/-->\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":51956,"menu_order":20341,"comment_status":"closed","ping_status":"closed","template":"page-business.php","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"acf":[],"_links":{"self":[{"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=\/wp\/v2\/pages\/51989"}],"collection":[{"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=51989"}],"version-history":[{"count":22,"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=\/wp\/v2\/pages\/51989\/revisions"}],"predecessor-version":[{"id":70797,"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=\/wp\/v2\/pages\/51989\/revisions\/70797"}],"up":[{"embeddable":true,"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=\/wp\/v2\/pages\/51956"}],"wp:attachment":[{"href":"https:\/\/www.library.pref.osaka.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=51989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}