| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323 |
- <!doctype html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title></title>
- <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <link href="../css/mui.min.css" rel="stylesheet" />
- <link rel="stylesheet" href="../css/app.css" />
- <link rel="stylesheet" href="../layui/css/layui.mobile.css" />
- <link href="../css/mui.picker.css" rel="stylesheet" />
- <link href="../css/mui.poppicker.css" rel="stylesheet" />
- <link href="../css/feedback-page.css" rel="stylesheet" />
- <link rel="stylesheet" href="../css/iconfont.css" />
- <link rel="stylesheet" href="../css/inits.css" />
- <style>
- body{
- overflow: scroll;
- -webkit-overflow-scrolling: touch;
- }
- .mui-bar-popover {
- width: 30%;
- }
-
- .mui-popover.mui-bar-popover .mui-table-view {
- width: 100%;
- }
-
- .mui-table-view .mui-table-view-cell>a:not(.mui-btn) {
- text-align: center;
- }
-
- .mui-table-view-cell {
- padding: 1px 15px!important;
- }
-
- .mui-table-view {
- margin-top: 0!important;
- }
-
- .san {
- font-size: 14px;
- margin-right: 5px
- }
-
- .nav_a {
- border-right: 1px solid #ccc;
- }
-
- .radio_box {
- display: inline-block;
- }
-
- .mui-radio input[type=radio]:before {
- font-size: 20px;
- vertical-align: middle;
- }
-
- .mui-radio.mui-left input[type=radio] {
- line-height: 24px!important;
- }
-
- .mui-radio.mui-left label {
- padding-right: 1px!important;
- padding-left: 51px!important;
- }
-
- .ztext {
- width: 100%;
- margin: 0;
- border: 0;
- }
-
- .action {
- padding: 11px 15px;
- }
-
- .type_down {
- float: right!important;
- display: inline-block!important;
- vertical-align: middle!important;
- line-height: 42px;
- }
-
- .type_con {
- width: 55%!important;
- float: left!important;
- vertical-align: middle!important;
- display: inline-block!important;
- padding: 10px 0!important;
- }
-
- .label {
- width: 30%!important;
- padding: 11px 0px!important;
- }
-
- .get_yzm {
- padding: 5px!important;
- width: auto!important;
- }
-
- .yzm_con {
- float: left!important;
- width: 40%!important;
- }
- h4,h5{
- text-align: center;
- padding-top:20px ;
- }
- h5{
- margin-bottom: 10px;
- }
- .mui-content{
- background-color: #fff;
- }
- #serve{
- height: 70px;
- }
- .required{
- color: lightcoral;
- }
- </style>
- </head>
- <body>
- <div class="mui-content">
- <h4>民权县12345政府热线志愿者申请表</h3>
- <h5>个人信息</h4>
- <ul class="mui-table-view">
- <li class="mui-table-view-cell" id="showUserPicker">
- <div class="mui-input-row">
- <label class="label"><i class="required">*</i>姓名:</label>
- <input type="text" id='Name' class="ui-alert" placeholder="请填写您的姓名" />
- </div>
- </li>
- <li class="mui-table-view-cell" id="">
- <div class="mui-input-row">
- <label class="label">性别:</label>
- <div class="mui-input-row mui-radio mui-left radio_box">
- <label>男</label>
- <input type="radio" name="gender" value="1" checked/>
- </div>
- <div class="mui-input-row mui-radio mui-left radio_box">
- <label>女</label>
- <input type="radio" name="gender" value="0" />
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell" id="">
- <div class="mui-input-row">
- <label class="label">民族:</label>
- <input type="text" id='Nation' class="ui-alert " placeholder="请填写您的民族" />
- </div>
- </li>
- <li class="mui-table-view-cell" id="">
- <div class="mui-input-row">
- <label class="label"><i class="required">*</i>电话:</label>
- <input type="text" id='Tel' class="ui-alert " placeholder="请填写您的电话"/>
- </div>
- </li>
- <li class="mui-table-view-cell" id="">
- <div class="mui-input-row">
- <label class="label">身份证号码:</label>
- <input type="text" id='IDcardNo' class="ui-alert " placeholder="请填写您的身份证号码"/>
- </div>
- </li>
- <li class="mui-table-view-cell" id="">
- <div class="mui-input-row">
- <label class="label">政治面貌:</label>
- <input type="text" id='Politicaloutlook' class="ui-alert " />
- </div>
- </li>
- <li class="mui-table-view-cell" id="">
- <div class="mui-input-row">
- <label class="label">专业特长:</label>
- <input type="text" id='Specialty' class="ui-alert " />
- </div>
- </li>
- <li class="mui-table-view-cell" id="">
- <div class="mui-input-row">
- <label class="label">目前工作单位或职务:</label>
- <input type="text" id='Post' class="ui-alert " />
- </div>
- </li>
- <li class="mui-table-view-cell" id="">
- <div class="mui-input-row">
- <label class="label">现居地址:</label>
- <input type="text" id='Placeofresidence' class="ui-alert " />
- </div>
- </li>
- <li class="mui-table-view-cell" id="serve">
- <div class="mui-input-row" style="height: 100%;">
- <label class="label" style="height: 100%;">服务意向:</label>
- <span id="severList">
- <!--<span><input type="checkbox" name="" id="" value="" />参与问题反馈</span>
- <span><input type="checkbox" name="" id="" value="" />参与办理结果核实</span>
- <span><input type="checkbox" name="" id="" value="" />参与矛盾化解</span>
- <span><input type="checkbox" name="" id="" value="" />参与办理过程监督</span>
- <span><input type="checkbox" name="" id="" value="" />提供专业咨询服务</span>-->
- </span>
- </div>
- </li>
- <li class="mui-table-view-cell baoMi">
- <div class="mui-input-row">
- <label class="label">是否有兴趣参与团队管理和组织建设:</label>
- <div class="mui-input-row mui-radio mui-left radio_box">
- <label>是</label>
- <input type="radio" name="secret" value="1" checked/>
- </div>
- <div class="mui-input-row mui-radio mui-left radio_box">
- <label>否</label>
- <input type="radio" name="secret" value="0" />
- </div>
- </li>
- <li class="mui-table-view-cell">
- <div class="mui-input-row">
- <label class="label">您的意见和建议:</label>
- <textarea class="ztext content" name="" id="textarea" rows="3" cols="" placeholder="请输入您的意见 和建议..."></textarea>
- </div>
- </li>
- </ul>
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block block_button submit">提交</button>
- <p class="action">
- <span>感谢您向“民权县12345政府服务热线”提出志愿者加入申请,请您在填写表格前注意以下几点:<br/></span>
- <span id="">
- 1、在提交申请之前,请务必详细阅读志愿者申请条件,志愿者服务内容,并真实详细的填写您的个人信息;<br/>
- </span>
- <span id="">
- 2、您的个人资料我们将严格保密,不会对热线志愿者工作站组织内部的其他无关人员公开;<br/>
- </span>
- <span id="">
- 3、热线在收到您的申请表后,会审核您的资料;<br/>
- </span>
- <span id="">
- 4、与申请有关的问题或者建议,可致电0370-8518369或通过关注公众号“民权12345政府服务热线”与我们交流。
- </span>
- </p>
- </div>
- <script src="../layui/layui.js"></script>
- <script src="../js/mui.min.js"></script>
- <script src="../js/mui.picker.js"></script>
- <script src="../js/mui.poppicker.js"></script>
- <script src="../js/zepto.js"></script>
- <script src="../Script/Common/huayi.config.js"></script>
- <script src="../Script/Common/huayi.http.js"></script>
- <script type="text/javascript">
- $(function(){
- var openid = helper.cookies.get("openid");
- getServe();
- $('.submit').on('click',function(){
- var chk_value =[];//定义一个数组
- $('input[name="serve"]:checked').each(function(){//遍历每一个名字为serve的复选框,其中选中的执行函数
- chk_value.push($(this).val());//将选中的值添加到数组chk_value中
- });
- if(chk_value.length>0){
- chk_value=chk_value.toString()
- }else{
- chk_value=''
- }
- $.ajax({
- type:"post",
- url:huayi.config.callcenter_url + "Volunteer/Add",
- async:true,
- data:{
- openid: openid,
- Name:$('#Name').val(),//姓名
- Gender:$('input[name="gender"]:checked').val(),//性别
- Nation:$('#Nation').val(),//民族
- Tel:$('#Tel').val(),//电话
- IDcardNo:$('#IDcardNo').val(),//身份证号码
- Politicaloutlook:$('#Politicaloutlook').val(),//政治面貌
- Specialty:$('#Specialty').val(),//专业特长
- Post:$('#Post').val(),//工作单位
- Placeofresidence:$('#Placeofresidence').val(),//现居地址
- Serviceintention:chk_value,//服务意向
- Participatein:$('input[name="secret"]:checked').val(),//组织管理
- Opinion:$('#textarea').val(),//意见和建议
- },
- success:function(res){
- var res=JSON.parse(res)
- if(res.state=='success'){
- mui.toast('提交成功')
- setTimeout(function () {
- window.location.reload()
- }, 1000);
- }
- }
- });
- })
- })
- function getServe(){
- $.ajax({
- type:"get",
- url:huayi.config.callcenter_url + "Dictionary/GetDicValueListByParentId",
- async:true,
- data:{
- openid: openid,
- pid:62
- },
- success:function(res){
- var res=JSON.parse(res)
- if(res.state=='success'){
- var severData=res.data;
- $.each(severData, function(index,item) {
- var html=''
- html += '<span><input type="checkbox" name="serve" id="" value="'+item.F_ValueId+'" />'+item.F_Value+'</span>'
- $('#severList').append(html)
- });
-
- }
- }
- });
- //input点击跳转
- $("input").on("blur", function () {
- $("body").removeClass("mui-focusin")
- })
- }
- </script>
- </body>
- </html>
|