{"id":2362,"date":"2021-01-12T15:21:37","date_gmt":"2021-01-12T07:21:37","guid":{"rendered":"https:\/\/fisf.fudan.edu.cn\/ee-test\/?page_id=2362"},"modified":"2021-09-10T10:09:30","modified_gmt":"2021-09-10T02:09:30","slug":"test","status":"publish","type":"page","link":"https:\/\/fisf.fudan.edu.cn\/ee\/test\/","title":{"rendered":"\u6d4b\u4e00\u6d4b"},"content":{"rendered":"\n<style>\n  .title-left {\n    min-width: 5px;\n    height: 17px;\n    margin-top: 3px;\n    background: linear-gradient(#EE9134 , #DE6A1B);\n    border-radius: 1rem !important;\n    margin-right: 10px;\n  }\n  .body {\n    background-color: #f3f3f3;\n    display: flex;\n    justify-content: center;\n  }\n  .form-input {\n    border-style: none;\n    flex-grow: 1;\n    height: 35px;\n    border-radius: 6px;\n    margin: 5px 3px;\n  }\n  .form-filed {\n    margin:5px 3px;\n    display: flex;\n    align-items: center;\n  }\n  .form-input-radio {\n    position: unset!important;\n    opacity: inherit!important;\n    margin-right: 10px!important;\n  }\n  [type=radio]:checked, [type=radio]:not(:checked) {\n    position: unset;\n    opacity: 2;\n    pointer-events: auto;\n  }\n  .submit-div {\n    text-align: center;\n    margin-bottom: 100px;\n    margin-top: 20px;\n  }\n  .submit-button {\n    border-style: none;\n    background: linear-gradient(to right, #EE9134 , #DE6A1B);\n    border-radius: 38px;\n    color: white;\n    height: 30px;\n    width: 170px;\n  }\n  #fm {\n    padding-left: 10px;\n    padding-right: 10px;\n  }\n  #otherText1, #otherText2 {\n    background-color: white!important;\n  }\n<\/style>\n<div class=\"body\">\n  <form id=\"fm\">\n    <div class=\"d-flex font-weight-bold mb-3 pt-5\">\n      <div class=\"title-left\"><\/div>\n      <div class=\"title\">\u5feb\u6765\u6d4b\u4e00\u4fa7\uff0c\u4f60\u9002\u5408\u54ea\u95e8\u8bfe\u7a0b\uff1f<\/div>\n    <\/div>\n    <div>\n      <div class=\"form-filed\">\n        <span>\u59d3&emsp;\u540d\uff1a<\/span>\n        <input class=\"form-input\" type=\"text\" name=\"surname\">\n      <\/div>\n      <div class=\"form-filed\">\n        <span>\u516c&emsp;\u53f8\uff1a<\/span>\n        <input class=\"form-input\" type=\"text\" name=\"current_company_name\">\n      <\/div>\n      <div class=\"form-filed\">\n        <span>\u804c&emsp;\u4f4d\uff1a<\/span>\n        <input class=\"form-input\" type=\"text\" name=\"current_job_title\">\n      <\/div>\n      <div class=\"form-filed\">\n        <span>\u90e8&emsp;\u95e8\uff1a<\/span>\n        <input class=\"form-input\" type=\"text\" name=\"current_department\">\n      <\/div>\n      <div class=\"form-filed\">\n        <span>\u624b\u673a\u53f7\uff1a<\/span>\n        <input class=\"form-input\" type=\"text\" name=\"contact_number_mobile\"><span>\n      <\/div>\n    <\/div>\n    <div class=\"d-flex font-weight-bold mb-3 pt-4\">\n      <div class=\"title-left\"><\/div>\n      <div class=\"title\">\u4f60\u5728\u7ec4\u7ec7\u4e2d\u6240\u5904\u7ba1\u7406\u5c42\u7ea7<\/div>\n    <\/div>\n    <div>\n      <input class=\"form-input-radio\" type=\"radio\" name=\"current_job_title_level\" value=\"94559,,\u51b3\u7b56\u5c42\uff1a\u5982CEO\u3001\u603b\u88c1\u3001\u8463\u4e8b\u4f1a\u6210\u5458\"><span>\u51b3\u7b56\u5c42\uff1a\u5982CEO\u3001\u603b\u88c1\u3001\u8463\u4e8b\u4f1a\u6210\u5458<\/span><br>\n      <input class=\"form-input-radio\" type=\"radio\" name=\"current_job_title_level\" value=\"94560,,\u9ad8\u5c42\uff1a\u5982\u96c6\u56e2\u526f\u603b\u3001\u4e8b\u4e1a\u90e8\u603b\u7ecf\u7406\"><span>\u9ad8&emsp;\u5c42\uff1a \u5982\u96c6\u56e2\u526f\u603b\u3001\u4e8b\u4e1a\u90e8\u603b\u7ecf\u7406<\/span><br>\n      <input class=\"form-input-radio\" type=\"radio\" name=\"current_job_title_level\" value=\"94561,,\u4e2d\u5c42\uff1a\u603b\u76d1\u3001\u90e8\u95e8\u7ecf\u7406\"><span>\u4e2d&emsp;\u5c42\uff1a\u603b\u76d1\u3001\u90e8\u95e8\u7ecf\u7406<\/span><br>\n      <input class=\"form-input-radio\" type=\"radio\" name=\"current_job_title_level\" id=\"other1\" value=\"94562,,\u5176\u4ed6\uff0c\u8bf7\u6ce8\u660e\"><span>\u5176&emsp;\u4ed6\uff0c\u8bf7\u6ce8\u660e\uff1a<\/span><br>\n      <div class=\"d-flex\">\n        <input class=\"form-input ml-4\" type=\"text\" id=\"otherText1\" name=\"current_company_hierarchy\" disabled=\"disabled\">\n      <\/div>\n    <\/div>\n    <div class=\"d-flex font-weight-bold mb-3 pt-4\">\n      <div class=\"title-left\"><\/div>\n      <div class=\"title\">\u9996\u9009\u6388\u8bfe\u5730<\/div>\n    <\/div>\n    <div>\n      <input class=\"form-input-radio\" type=\"radio\" name=\"correspondence_address_street1\" value=\"94555,,\u4e0a\u6d77\"><span>\u4e0a\u6d77<\/span>\n      <input class=\"form-input-radio ml-4\" type=\"radio\" name=\"correspondence_address_street1\" value=\"94556,,\u5317\u4eac\"><span>\u5317\u4eac<\/span>\n      <input class=\"form-input-radio ml-4\" type=\"radio\" name=\"correspondence_address_street1\" value=\"94557,,\u6df1\u5733\"><span>\u6df1\u5733<\/span><br>\n      <input class=\"form-input-radio\" type=\"radio\" name=\"correspondence_address_street1\" id=\"other2\" value=\"94558,,\u5176\u4ed6\uff0c\u8bf7\u6ce8\u660e\">\u5176\u4ed6\uff0c\u8bf7\u6ce8\u660e:\n      <div class=\"d-flex\">\n        <input class=\"form-input ml-4\" type=\"text\" id=\"otherText2\" name=\"correspondence_addr_street2_en\" disabled=\"disabled\">\n      <\/div>\n    <\/div>\n    <div class=\"d-flex font-weight-bold mb-3 pt-4\">\n      <div class=\"title-left\"><\/div>\n      <div class=\"title\">\u4f60\u5e0c\u671b\u901a\u8fc7\u590d\u65e6\u516c\u5f00\u8bfe\uff0c\u89e3\u51b3\u54ea\u4e9b\u516c\u53f8\u7ecf\u8425\u5b9e\u9645\u95ee\u9898\uff1f \uff08\u6700\u591a\u53ef\u586b\u51993\u9879\uff09<\/div>\n    <\/div>\n    <div class=\"questions\">\n      <div class=\"d-flex\">\n        <input class=\"form-input\" type=\"text\" name=\"essay1\"><br>\n      <\/div>\n      <div class=\"d-flex\">\n        <input class=\"form-input\" type=\"text\" name=\"essay2\"><br>\n      <\/div>\n      <div class=\"d-flex\">\n        <input class=\"form-input\" type=\"text\" name=\"essay3\"><br>\n      <\/div>\n    <\/div>\n    <div class=\"submit-div\">\n      <button id=\"submit\" class=\"submit-button\" type=\"button\">\u7acb\u5373\u63d0\u4ea4<\/button>\n    <\/div>\n    <input type=\"hidden\" name=\"program_code\" value=\"ee-inquiry\">\n    <input type=\"hidden\" name=\"_sub_program_\" value=\"1\">\n    <!-- <input type=\"hidden\" name=\"email_address\" value=\"chenqi@qq.com\" \/> -->\n  <\/form>\n<\/div>\n<script language=\"JavaScript\" type=\"text\/javascript\">\n  window.onload = function() {\n    $.fn.serializeObject = function(){\n      var o = {};\n      var a = this.serializeArray();\n      $.each(a, function() {\n          if (o[this.name] !== undefined) {\n              if (!o[this.name].push) {\n                  o[this.name] = [o[this.name]];\n              }\n              o[this.name].push(this.value || '');\n          } else {\n              o[this.name] = this.value || '';\n          }\n      });\n      return o;\n    };\n    $(function() {\n      $(document).ready(function() {\n         $(\"#submit\").click(function() {\n           var data = $(\"#fm\").serializeObject();\n           $.ajax({\n             type: \"post\",\n             headers: {\"Content-Type\": \"application\/json\"},\n             url: \"https:\/\/application.fisf.com.cn\/as\/api\/json\/newap\/pre\/program\",\n             data: JSON.stringify(data),\n             success: function(data) {\n               if (data.code == \"success\") {\n                 alert(\"\u63d0\u4ea4\u6210\u529f\");\n               } else {\n                 alert(data.message)\n               }\n             },\n             error: function(err){\n               alert(\"\u670d\u52a1\u5668\u5f02\u5e38\u8bf7\u7a0d\u540e\u518d\u8bd5\");\n             }\n           });\n         });\n       });\n    });\n  };\n  $('input[type=radio][name=current_job_title_level]').change(function () {\n    var myvalue = $('input:radio[name=\"current_job_title_level\"]:checked').val();\n    var input1 = document.getElementById(\"otherText1\");\n    if (myvalue == \"94562,,\u5176\u4ed6\uff0c\u8bf7\u6ce8\u660e\") {\/\/\u4e2d\u6807,\u70b9\u51fb\u9009\u62e9\u4e2d\u6807\u4e4b\u540e\u9700\u8981\u9009\u62e9\u4fdd\u5b58\u4e2d\u6807\u8054\u7cfb\u4eba\n        input1.removeAttribute('disabled');\n    } else {\n        input1.value = \"\";\n        input1.setAttribute('disabled', 'disabled');\n    }\n  });\n  $('input[type=radio][name=correspondence_address_street1]').change(function () {\n    var myvalue = $('input:radio[name=\"correspondence_address_street1\"]:checked').val();\n    var input1 = document.getElementById(\"otherText2\");\n    if (myvalue == \"94558,,\u5176\u4ed6\uff0c\u8bf7\u6ce8\u660e\") {\/\/\u4e2d\u6807,\u70b9\u51fb\u9009\u62e9\u4e2d\u6807\u4e4b\u540e\u9700\u8981\u9009\u62e9\u4fdd\u5b58\u4e2d\u6807\u8054\u7cfb\u4eba\n        input1.removeAttribute('disabled');\n    } else {\n        input1.value = \"\";\n        input1.setAttribute('disabled', 'disabled');\n    }\n  });\n\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>\u5feb\u6765\u6d4b\u4e00\u4fa7\uff0c\u4f60\u9002\u5408\u54ea\u95e8\u8bfe\u7a0b\uff1f \u59d3&emsp;\u540d\uff1a \u516c&emsp;\u53f8\uff1a \u804c&emsp;\u4f4d\uff1a \u90e8&emsp;\u95e8\uff1a \u624b\u673a\u53f7\uff1a \u4f60\u5728\u7ec4\u7ec7\u4e2d\u6240\u5904\u7ba1\u7406\u5c42\u7ea7 \u51b3\u7b56\u5c42\uff1a\u5982CEO\u3001\u603b\u88c1\u3001\u8463\u4e8b\u4f1a\u6210\u5458 \u9ad8&emsp;\u5c42\uff1a \u5982\u96c6\u56e2\u526f\u603b\u3001\u4e8b\u4e1a\u90e8\u603b\u7ecf\u7406 \u4e2d&emsp;\u5c42\uff1a\u603b\u76d1\u3001\u90e8\u95e8\u7ecf<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/fisf.fudan.edu.cn\/ee\/wp-json\/wp\/v2\/pages\/2362"}],"collection":[{"href":"https:\/\/fisf.fudan.edu.cn\/ee\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fisf.fudan.edu.cn\/ee\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fisf.fudan.edu.cn\/ee\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fisf.fudan.edu.cn\/ee\/wp-json\/wp\/v2\/comments?post=2362"}],"version-history":[{"count":10,"href":"https:\/\/fisf.fudan.edu.cn\/ee\/wp-json\/wp\/v2\/pages\/2362\/revisions"}],"predecessor-version":[{"id":4982,"href":"https:\/\/fisf.fudan.edu.cn\/ee\/wp-json\/wp\/v2\/pages\/2362\/revisions\/4982"}],"wp:attachment":[{"href":"https:\/\/fisf.fudan.edu.cn\/ee\/wp-json\/wp\/v2\/media?parent=2362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}