{"id":2174,"date":"2020-05-25T22:55:37","date_gmt":"2020-05-25T13:55:37","guid":{"rendered":"http:\/\/clinic-agent.jp\/?page_id=2174"},"modified":"2025-07-08T10:06:35","modified_gmt":"2025-07-08T01:06:35","slug":"%e3%81%8a%e5%95%8f%e3%81%84%e5%90%88%e3%82%8f%e3%81%9b%ef%bc%88%e8%bb%a2%e8%81%b7%e7%9b%b8%e8%ab%87%e3%83%bb%e5%8c%bb%e5%b8%ab%e5%8b%9f%e9%9b%86%ef%bc%89","status":"publish","type":"page","link":"https:\/\/clinic-agent.jp\/?page_id=2174","title":{"rendered":"\u304a\u554f\u3044\u5408\u308f\u305b\uff08\u533b\u7642\u6cd5\u4eba\u652f\u63f4\u3001\u533b\u5e2b\u306e\u958b\u696d\uff0f\u8ee2\u8077\u76f8\u8ac7\u3001\u5e38\u52e4\u533b\u5e2b\u30d8\u30c3\u30c9\u30cf\u30f3\u30c6\u30a3\u30f3\u30b0\uff09"},"content":{"rendered":"\r\n  <style>\r\n    \r\n    .tcd-submit-button{\r\n      display:inline-block;\r\n      width:auto;\r\n      font-weight:700;\r\n      text-align:center;\r\n      vertical-align:middle;\r\n      -webkit-transition:all .25s ease-in-out;\r\n      -moz-transition:all .25s ease-in-out;\r\n      -o-transition:all .25s ease-in-out;\r\n      -ms-transition:all .25s ease-in-out;\r\n      transition:all .25s ease-in-out;\r\n\r\n              width:300px; max-width:100%; padding:.9em 1.3em .8em; font-size:150%;     \r\n      \r\n      background-color:#115250;      color:#FFFFFF;          }\r\n    .tcd-submit-button:hover{\r\n      background-color:#84BBB9;    }\r\n\r\n    .workflow_left_td{\r\n      background-color:#F7F7F7!important;    }\r\n\r\n    .workflow_right_td{\r\n      background-color:#FFFFFF!important;    }\r\n\r\n    .workflow_top_th{\r\n      background-color:#115250!important;    }    \r\n  <\/style>\r\n  <script type=\"text\/javascript\">\r\n      var app = angular.module('app363686', [])\r\n      app.controller('MainCtrl363686', function($scope, $http, $httpParamSerializerJQLike) {\r\n        $scope.data = {\"name\":\"\\u304a\\u554f\\u3044\\u5408\\u308f\\u305b\",\"title\":\"\\u304a\\u554f\\u3044\\u5408\\u308f\\u305b\",\"mainbgcol\":\"FFFFFF\",\"textboxcol\":\"FFFFFF\",\"col1\":\"115250\",\"textcol1\":\"ffffff\",\"col2\":\"F7F7F7\",\"textcol2\":\"000000\",\"col3\":\"FFFFFF\",\"textcol3\":\"000000\",\"bordercol\":\"DDDDDD\",\"type\":\"form\",\"tablewidth\":\"100%\",\"colwidth\":\"30%\",\"border\":true,\"steps\":[{\"label1\":\"\\u304a\\u540d\\u524d\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"text\",\"options\":null},{\"label1\":\"\\u30d5\\u30ea\\u30ac\\u30ca\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"text\",\"options\":null},{\"label1\":\"\\u30e1\\u30fc\\u30eb\\u30a2\\u30c9\\u30ec\\u30b9\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"text\",\"options\":null},{\"label1\":\"\\u76f8\\u8ac7\\u5185\\u5bb9\",\"label2\":null,\"cols\":[],\"required\":false,\"answer\":\"\",\"type\":\"textarea\",\"options\":null}],\"columnpadding\":\"10\",\"layoutstyle\":null,\"column1\":null,\"column1head\":null,\"column1img\":null,\"column2\":null,\"column2head\":null,\"column2img\":null,\"column3\":null,\"column3img\":null,\"column4\":null,\"column4img\":null,\"submitcol\":\"115250\",\"submithovercol\":\"84BBB9\",\"submitsize\":\"m\",\"submitalign\":\"center\",\"mailto\":\"clinicagent2019@gmail.com\",\"redirect\":\"https:\\\/\\\/clinic-agent.jp\\\/\",\"mailnotif\":true,\"mailcustsender\":\"\\u30af\\u30ea\\u30cb\\u30c3\\u30af\\u30a8\\u30fc\\u30b8\\u30a7\\u30f3\\u30c8\",\"mailcustsendermail\":\"clinicagent2019@gmail.com\",\"mailcustsubj\":\"\\u78ba\\u8a8d\\u30e1\\u30fc\\u30eb\",\"mailcustcontent\":\"\\u30c6\\u30b9\\u30c8\\u30c6\\u30b9\\u30c8\",\"submit\":\"\\u78ba\\u8a8d\\u753b\\u9762\\u3078\\u9032\\u3080\",\"submittextcol\":\"FFFFFF\",\"mailsubj\":\"\\u304a\\u554f\\u3044\\u5408\\u308f\\u305b\",\"id\":\"1\",\"mail\":null};\r\n        $scope.data.steps.forEach(function(step, i){\r\n          if( $scope.data.steps[i].options ){\r\n            $scope.data.steps[i].options = step.options.split(\"\\n\")\r\n          }\r\n        })\r\n        $scope.confirmForm = function(){\r\n          $scope.confirm = true\r\n        }\r\n        $scope.sendForm = function(){\r\n          var str = \"\";\r\n          var mail = \"\";\r\n          $scope.data.steps.forEach(function(row){\r\n            str = str + row.label1 + ': ' + row.answer\r\n            str = str + '\\r\\n----------\\r\\n'\r\n            if( row.type == 'email' ){\r\n              mail = row.answer\r\n            }\r\n          })\r\n          var obj = { action: \"tcd_submit_form\", data: str, steps: angular.toJson($scope.data.steps), mail:mail, id: 1 }\r\n          $http({\r\n            url: \"https:\/\/clinic-agent.jp\/wp-admin\/admin-ajax.php\",\r\n            method: \"POST\",\r\n            data: obj,\r\n            headers: { 'Content-Type' : 'application\/x-www-form-urlencoded' },\r\n            transformRequest: $httpParamSerializerJQLike\r\n          }).then(function(res){\r\n                          window.location.href = 'https:\/\/clinic-agent.jp\/';\r\n                      })\r\n        }\r\n      })\r\n  <\/script>\r\n  <div ng-app=\"app363686\" ng-controller=\"MainCtrl363686\">\r\n\r\n    <h2 class=\"text-center\" ng-show=\"completed\">\r\n      <br \/>\n<b>Warning<\/b>:  Undefined array key \"completed\" in <b>\/home\/r6245215\/public_html\/clinic-agent.jp\/wp-content\/plugins\/tcd-workflow\/form.php<\/b> on line <b>101<\/b><br \/>\n    <\/h2>\r\n\r\n    <form ng-submit=\"confirmForm()\" ng-hide=\"completed\">\r\n      <table class=\"workflow_form table table-bordered tcd-workflow wf-form\" style=\"table-layout:auto; background:#{{data.mainbgcol}}\">\r\n        <tr class=\"workflow_form_headline\" style=\"color:#{{data.textcol1}}\">\r\n          <th class=\"text-center workflow_top_th\" colspan=\"2\">\r\n            <b>{{data.title}}<\/b>\r\n              <span ng-if=\"data.subtitle\"><br\/>{{data.subtitle}}<\/span>\r\n          <\/th>\r\n        <\/tr>\r\n        <tr ng-repeat=\"row in data.steps\">\r\n          <td style=\"width:30%; vertical-align:middle\" class=\"text-center workflow_left_td\">\r\n            <span style=\"color:#{{data.textcol2}};\">{{row.label1}}<span ng-if=\" row.required == '1' \" style=\"color:firebrick\">&nbsp;*<\/span><\/span>\r\n          <\/td>\r\n\r\n          <td class=\"workflow_right_td\" ng-hide=\"confirm\">\r\n            <input style=\"background:#{{data.textboxcol}}\" class=\"form-control\" type=\"text\" ng-if=\" row.type == 'text' \" ng-model=\"row.answer\" ng-required=\" row.required == '1' \" \/>\r\n            <input style=\"background:#{{data.textboxcol}}\" class=\"form-control\" type=\"email\" ng-if=\" row.type == 'email' \" ng-model=\"row.answer\" ng-required=\" row.required == '1' \" \/>\r\n            <textarea style=\"background:#{{data.textboxcol}}\" class=\"form-control\" ng-if=\" row.type == 'textarea' \" ng-model=\"row.answer\" ng-required=\" row.required == '1' \"><\/textarea>\r\n            <fieldset ng-if=\" row.type == 'radio' \">\r\n              <div style=\"display:inline-block\" ng-repeat=\"option in row.options track by $index\">\r\n                <input name=\"{{row.label1}}\" type=\"radio\" id=\"{{option}}\" value=\"{{option}}\" ng-model=\"row.answer\" ng-required=\" row.required == '1' \" \/>&nbsp;&nbsp;<label for=\"{{option}}\">{{option}}<\/label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n              <\/div>\r\n            <\/fieldset>\r\n            <fieldset ng-if=\" row.type == 'select' \">\r\n              <select ng-required=\" row.required == '1' \" ng-model=\"row.answer\">\r\n                <option ng-if=\" row.required == '1' \" value=\"\">Please select<\/option>\r\n                <option ng-repeat=\"option in row.options track by $index\" value=\"{{option}}\">{{option}}<\/option>\r\n              <\/select>\r\n            <\/fieldset>\r\n          <\/td>\r\n          <td ng-show=\"confirm\">{{ row.answer }}<\/td>\r\n        <\/tr>\r\n      <\/table>\r\n      <div class=\"text-center\" colspan=\"2\" ng-hide=\"confirm\">\r\n        <input type=\"submit\" class=\"tcd-submit-button\" value=\"{{ data.submit ? data.submit : 'Confirm' }}\" \/>\r\n      <\/div>\r\n\r\n      <div class=\"text-center\" colspan=\"2\" ng-show=\"confirm\">\r\n        <button type=\"button\" class=\"tcd-submit-button\" ng-click=\"confirm = false\">\u30ad\u30e3\u30f3\u30bb\u30eb<\/button>\r\n        <button type=\"button\" class=\"tcd-submit-button\" ng-click=\"sendForm()\">\u9001\u4fe1<\/button>\r\n      <\/div>\r\n    <\/form>\r\n<\/div>\n<p>\u30af\u30ea\u30cb\u30c3\u30af\u533b\u7642\u6cd5\u4eba\u306e\u672c\u90e8\u652f\u63f4\u3001\u5e38\u52e4\u533b\u5e2b\u30d8\u30c3\u30c9\u30cf\u30f3\u30c6\u30a3\u30f3\u30b0\u306b\u3064\u3044\u3066\u3054\u76f8\u8ac7\u306e\u3042\u308b\u306e\u65b9\u306f\u3001\u3053\u3061\u3089\u304b\u3089\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002\u30af\u30ea\u30cb\u30c3\u30af\u3078\u306e\u8ee2\u8077\u5e0c\u671b\u306e\u30c9\u30af\u30bf\u30fc\u306e\u3054\u76f8\u8ac7\u3082\u6b53\u8fce\u3057\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u30af\u30ea\u30cb\u30c3\u30af\u533b\u7642\u6cd5\u4eba\u306e\u672c\u90e8\u652f\u63f4\u3001\u5e38\u52e4\u533b\u5e2b\u30d8\u30c3\u30c9\u30cf\u30f3\u30c6\u30a3\u30f3\u30b0\u306b\u3064\u3044\u3066\u3054\u76f8\u8ac7\u306e\u3042\u308b\u306e\u65b9\u306f\u3001\u3053\u3061\u3089\u304b\u3089\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002\u30af\u30ea\u30cb\u30c3\u30af\u3078\u306e\u8ee2\u8077\u5e0c\u671b\u306e\u30c9\u30af\u30bf\u30fc\u306e\u3054\u76f8\u8ac7\u3082\u6b53\u8fce\u3057\u3066\u304a\u308a\u307e\u3059\u3002","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-nosidebar.php","meta":{"footnotes":""},"class_list":["post-2174","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/clinic-agent.jp\/index.php?rest_route=\/wp\/v2\/pages\/2174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clinic-agent.jp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/clinic-agent.jp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/clinic-agent.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clinic-agent.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2174"}],"version-history":[{"count":8,"href":"https:\/\/clinic-agent.jp\/index.php?rest_route=\/wp\/v2\/pages\/2174\/revisions"}],"predecessor-version":[{"id":2419,"href":"https:\/\/clinic-agent.jp\/index.php?rest_route=\/wp\/v2\/pages\/2174\/revisions\/2419"}],"wp:attachment":[{"href":"https:\/\/clinic-agent.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}