12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>广西自学考试网上系统</title>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-
- <!--<link rel="stylesheet" href="https://unpkg.com/element-ui@2.4.11/lib/theme-chalk/index.css">-->
- <!--<link rel="stylesheet" href="https://unpkg.com/element-ui@2.4.11/lib/theme-chalk/index.css">-->
- <link rel="stylesheet" href="https://lib.baomitu.com/element-ui/2.12.0/theme-chalk/index.css">
- <script src="https://lib.baomitu.com/jquery/1.12.4/jquery.min.js"></script>
- <script src="./vendor/md5/md5.js" type="text/javascript"></script>
- <script src="./js/tool.js"></script>
- <script src="https://lib.baomitu.com/vue/2.5.17/vue.min.js"></script>
- <script src="https://lib.baomitu.com/element-ui/2.4.11/index.js"></script>
- <script>
- function keyDown(){
- if (event.keyCode==13) //回车键的键值为13
- document.getElementById("loginBtn").click(); //调用登录按钮的登录事件
- }
- </script>
- </head>
- <body onkeydown="keyDown();">
-
- <div id="particles-js"></div>
- <div id="app">
-
-
- <div class="center" v-show="loaded">
-
- <div class="content">
-
- <el-card class="box-card" style="position: absolute;top: 5%;left:30%;width: 520px;">
- <div slot="header" class="clearfix" style="text-align: center;">
- <span>广西{{exam_year}}年{{exam_month}}月自学考试考生赴考报备表</span>
- </div>
- <el-form ref="loginForm" :model="loginForm" :rules="loginFormRule">
-
- <form class="el-form">
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend" style="padding-left: 85px;padding-right: 5px;color: black">
- <font style="color:red;">*</font>姓名
- </div>
-
- <input v-model="loginForm.std_name" maxlength="16" style="width:316px;" readonly
- type="text" autocomplete="off" placeholder="请填写姓名" class="el-input__inner">
-
- </div>
- </div>
- </div>
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend" style="padding-left: 57px;padding-right: 5px;color: black">
- <font style="color:red;">*</font>准考证号
- </div>
-
-
- <input v-model="loginForm.ticket_no" maxlength="11" readonly style="width:316px;"
- type="text" autocomplete="off" placeholder="请填写准考证号" class="el-input__inner">
-
- </div>
- </div>
- </div>
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
-
- <div class="el-input-group__prepend" style="padding-left: 72px;padding-right: 5px;color: black">
- <font style="color:red;">*</font>手机号
- </div>
- <input v-model="loginForm.std_mobile" maxlength="16" style="width:316px;"
- type="text" autocomplete="off" placeholder="请填写手机号" class="el-input__inner">
-
- </div>
- </div>
- </div>
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend" style="width:443px;">
- <div class="el-input-group__prepend el-input__inner" style="padding-left: 5px;color: black;">
- <font style="color:red;">*</font>您当前是否已在考点所在城市
- </div>
-
-
-
- </div>
- </div>
- </div>
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
-
- <el-radio name="el-radio1" style="padding-left: 140px;width:120px;border: 0px solid #DCDFE6;" class="el-input__inner" label="是" v-model="loginForm.already_in_city" >是</el-radio>
- <el-radio name="el-radio1" style="padding-left: 0px;width:120px;border: 0px solid #DCDFE6;" class="el-input__inner" label="否" v-model="loginForm.already_in_city" >否</el-radio>
-
-
-
- </div>
- </div>
- </div>
-
-
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <el-row style="color:#409EFF;margin-bottom:0px;padding-bottom:0px;">
- <el-col :span="8" style="margin-bottom:0px;padding-bottom:0px;">
- <font style="color:red;">*</font>当前所在地区
- </el-col>
-
- </el-row>
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend" style="padding-left: 5px;padding-right: 0px;color: black">
- <font style="color:red;">*</font>省(市、自治区)
- </div>
- <el-select v-model="loginForm.current_province" filterable placeholder="请选择省(市、自治区)" @change="cityChange" style="width:316px;">
- <el-option v-for="(item) in provinces" :key="item.code_id" :label="item.code_name" :value="item.code_id"></el-option>
- </el-select>
- </div>
- </div>
- </div>
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend" style="padding-left: 98px;padding-right: 5px;color: black">
- <font style="color:red;">*</font>市
- </div>
- <el-select v-model="loginForm.current_city" filterable placeholder="请选择市" @change="countyChange" style="width:316px;">
- <el-option v-for="(item) in citys" :key="item.code_id" :label="item.code_name" :value="item.code_id"></el-option>
- </el-select>
- </div>
- </div>
- </div>
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend" style="padding-left: 56px;padding-right: 5px;color: black">
- <font style="color:red;">*</font>区(县)
- </div>
- <el-select v-model="loginForm.current_county" filterable placeholder="请选择区(县)" style="width:316px;">
- <el-option v-for="(item) in countys" :key="item.code_id" :label="item.code_name" :value="item.code_id"></el-option>
- </el-select>
- </div>
- </div>
- </div>
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend" style="padding-left: 56px;padding-right: 5px;color: black">
- <font style="color:red;">*</font>详细地址
- </div>
- <input v-model="loginForm.current_address" maxlength="128" style="width:316px;"
- type="text" autocomplete="off" placeholder="如街道、门牌号、小区、乡镇、村等" class="el-input__inner">
-
- </div>
- </div>
- </div>
-
- <div class="el-form-item" style="margin-bottom:5px;" v-show="loginForm.already_in_city=='否'">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend el-input__inner" style="padding-left: 5px;padding-right: 5px;color: black;">
- <font style="color:red;">*</font>预计出行至报考考区的时间
- </div>
-
- <el-date-picker value-format="yyyy-MM-dd" type="date" v-model="loginForm.travel_date" placeholder="选择出行时间" style="width:256px;"></el-date-picker>
-
- </div>
- </div>
- </div>
- <div class="el-form-item" style="margin-bottom:5px;" v-show="loginForm.already_in_city=='否'">
- <div class="el-form-item__content">
- <el-row style="color:#409EFF;margin-bottom:0px;padding-bottom:0px;">
- <el-col :span="8" style="margin-bottom:0px;padding-bottom:0px;">
- <font style="color:red;">*</font>抵达考区后入住地区
- </el-col>
-
- </el-row>
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend" style="padding-left: 5px;padding-right: 0px;color: black">
- <font style="color:red;">*</font>省(市、自治区)
- </div>
- <el-select v-model="loginForm.arrive_province" filterable placeholder="请选择省(市、自治区)" @change="arrivecityChange" style="width:316px;">
- <el-option v-for="(item) in arriveprovinces" :key="item.code_id" :label="item.code_name" :value="item.code_id"></el-option>
- </el-select>
-
- </div>
- </div>
- </div>
-
- <div class="el-form-item" style="margin-bottom:5px;" v-show="loginForm.already_in_city=='否'">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend" style="padding-left: 98px;padding-right: 5px;color: black">
- <font style="color:red;">*</font>市
- </div>
- <el-select v-model="loginForm.arrive_city" filterable placeholder="请选择市" @change="arrivecountyChange" style="width:316px;">
- <el-option v-for="(item) in arrivecitys" :key="item.code_id" :label="item.code_name" :value="item.code_id"></el-option>
- </el-select>
-
- </div>
- </div>
- </div>
-
- <div class="el-form-item" style="margin-bottom:5px;" v-show="loginForm.already_in_city=='否'">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend" style="padding-left: 56px;padding-right: 5px;color: black">
- <font style="color:red;">*</font>区(县)
- </div>
- <el-select v-model="loginForm.arrive_county" filterable placeholder="请选择区(县)" style="width:316px;">
- <el-option v-for="(item) in arrivecountys" :key="item.code_id" :label="item.code_name" :value="item.code_id"></el-option>
- </el-select>
-
- </div>
- </div>
- </div>
-
-
- <div class="el-form-item" style="margin-bottom:5px;" v-show="loginForm.already_in_city=='否'">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend" style="padding-left: 56px;padding-right: 5px;color: black">
- <font style="color:red;">*</font>详细地址
- </div>
- <input v-model="loginForm.arrive_address" maxlength="128" style="width:316px;"
- type="text" autocomplete="off" placeholder="如街道、门牌号、小区、乡镇、村等" class="el-input__inner">
-
-
- </div>
- </div>
- </div>
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend" style="width:443px;">
- <div class="el-input-group__prepend el-input__inner" style="padding-left: 5px;padding-right: 5px;color: black">
- <font style="color:red;">*</font>考前{{days}}天期间,是否计划去或去过除当前所在地及考区所在地外的市
- </div>
-
-
-
- </div>
- </div>
- </div>
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
-
- <el-radio name="el-radio2" style="padding-left: 140px;width:120px;border: 0px solid #DCDFE6;" class="el-input__inner" label="是" v-model="loginForm.is_plan_city" @change.native="setIs_plan_city('是')">是</el-radio>
- <el-radio name="el-radio2" style="padding-left: 0px;width:120px;border: 0px solid #DCDFE6;" class="el-input__inner" label="否" v-model="loginForm.is_plan_city" @change.native="setIs_plan_city('否')">否</el-radio>
-
-
-
- </div>
- </div>
- </div>
-
- <div v-show="loginForm.is_plan_city=='是'" v-for="(i,index) in plan_citys" :key="i.id" v-if="i != null">
-
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <el-row style="color:#409EFF;margin-bottom:0px;padding-bottom:0px;">
- <el-col :span="24" style="margin-bottom:0px;padding-bottom:0px;">
- <font style="color:red;">*</font>计划或去过的地区<span style="padding-left:160px;">
- <li class="el-icon-plus" style="color:green;cursor:pointer;" title="点击新增一行" @click="addRow()">添加一行</li>
- <li class="el-icon-close" style="color:red;cursor:pointer;" title="点击删除该行" @click="delRow(index)">删除该行</li>
- </span>
- </el-col>
-
- </el-row>
-
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend" style="padding-left: 5px;padding-right: 0px;color: black">
- <font style="color:red;">*</font>省(市、自治区)
- </div>
- <el-select v-model="i.plan_province" filterable placeholder="请选择省(市、自治区)" @change="plancityChange" style="width:316px;">
- <el-option v-for="(item) in planprovinces" :key="item.code_id" :label="item.code_name" :value="item.code_id"></el-option>
- </el-select>
-
- </div>
- </div>
- </div>
-
- <div class="el-form-item" style="margin-bottom:5px;" >
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend" style="padding-left: 98px;padding-right: 5px;color: black">
- <font style="color:red;">*</font>市
- </div>
- <el-select v-if="i.id != null" v-model="i.plan_city" filterable placeholder="请选择市" @change="plancountyChange" style="width:316px;">
- <el-option v-for="(item) in i.citys" :key="item.code_id" :label="item.code_name" :value="item.code_id"></el-option>
- </el-select>
- <el-select v-if="i.id == null" v-model="i.plan_city" filterable placeholder="请选择市" @change="plancountyChange" style="width:316px;">
- <el-option v-for="(item) in plancitys" :key="item.code_id" :label="item.code_name" :value="item.code_id"></el-option>
- </el-select>
-
- </div>
- </div>
- </div>
-
- <div class="el-form-item" style="margin-bottom:5px;" >
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend" style="padding-left: 61px;padding-right: 0px;color: black">
- <font style="color:red;">*</font>区(县)
- </div>
- <el-select v-if="i.id != null" v-model="i.plan_county" filterable placeholder="请选择区(县)" style="width:316px;">
- <el-option v-for="(item) in i.countys" :key="item.code_id" :label="item.code_name" :value="item.code_id"></el-option>
- </el-select>
- <el-select v-if="i.id == null" v-model="i.plan_county" filterable placeholder="请选择区(县)" style="width:316px;">
- <el-option v-for="(item) in plancountys" :key="item.code_id" :label="item.code_name" :value="item.code_id"></el-option>
- </el-select>
-
- </div>
- </div>
- </div>
- </div>
-
-
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <el-row style="color:#409EFF;margin-bottom:0px;padding-bottom:0px;">
- <el-col :span="14" style="margin-bottom:0px;padding-bottom:0px;">
- <font style="color:red;">*</font>如在考前7天存在以下现象,请及时填报
- </el-col>
-
- </el-row>
- <div class="el-input el-input-group el-input-group--prepend" style="width:443px;">
- <div class="el-input-group__prepend el-input__inner" style="padding-left: 5px;padding-right: 5px;color: black">
- <font style="color:red;">*</font>是否有中、高或者低风险地区所在市(县、区)旅居史
- </div>
-
-
-
- </div>
- </div>
- </div>
-
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
-
- <el-radio name="el-radio3" style="padding-left: 140px;width:120px;border: 0px solid #DCDFE6;" class="el-input__inner" label="是" v-model="loginForm.is_high_risk" >是</el-radio>
- <el-radio name="el-radio3" style="padding-left: 0px;width:120px;border: 0px solid #DCDFE6;" class="el-input__inner" label="否" v-model="loginForm.is_high_risk" >否</el-radio>
-
-
-
- </div>
- </div>
- </div>
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend" style="width:443px;">
- <div class="el-input-group__prepend el-input__inner" style="padding-left: 5px;padding-right: 5px;color: black">
- <font style="color:red;">*</font>是否处于隔离或居家观察中
- </div>
-
-
-
- </div>
- </div>
- </div>
-
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
-
- <el-radio name="el-radio4" style="padding-left: 140px;width:120px;border: 0px solid #DCDFE6;" class="el-input__inner" label="是" v-model="loginForm.is_quarantine" >是</el-radio>
- <el-radio name="el-radio4" style="padding-left: 0px;width:120px;border: 0px solid #DCDFE6;" class="el-input__inner" label="否" v-model="loginForm.is_quarantine">否</el-radio>
-
-
-
- </div>
- </div>
- </div>
- <div class="el-form-item" style="margin-bottom:5px;">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend" style="width:443px;">
- <div class="el-input-group__prepend el-input__inner" style="padding-left: 5px;padding-right: 5px;color: black">
- 本人郑重承诺:
- </div>
-
- </div>
- </div>
- </div>
- <div class="el-form-item" style="margin-bottom:5px;padding-bottom:0px;">
- <div class="el-form-item__content" style="margin-bottom:0px;padding-bottom:0px;">
- <div class="el-input el-input-group el-input-group--prepend">
-
- <el-checkbox style="margin-bottom:0px;padding: bottom 4px;" v-model="loginForm.promise_one">本人已详细阅读{{exam_year}}年{{exam_month}}月广西高等自学考试防疫须知。</el-checkbox>
- <center><a style="color:blue;margin-bottom:0px;padding-bottom:4px" href="javascript:void(0)" @click="to_ticket_promise_one()" target="_new2">防疫须知链接</a> </center>
- <el-checkbox style="margin-bottom:0px;padding-bottom:4px;" v-model="loginForm.promise_two">本人对以上信息内容的真实性和完整性负责,本人保证遵守属地疫情管控</el-checkbox>
- <span style="margin-bottom:0px;padding-bottom:4px;">各项规定,配合并听从疫情管控各项措施和要求。</span>
-
- </div>
- </div>
- </div>
- <div class="el-form-item">
- <div class="el-form-item__content">
- <div class="el-input el-input-group el-input-group--prepend">
- <div class="el-input-group__prepend" style="padding-left: 61px;padding-right: 5px;color: black">
- <font style="color:red;">*</font>校验码
- </div>
- <input v-model="validateCode" maxlength="4" style="width:316px;"
- type="text" autocomplete="off" placeholder="校验码" class="el-input__inner">
- <i v-if="validateCode_check==1" class="fa fa-check-circle-o fa-lg" style="font-size: 22px; position: absolute;top: 15px;right: 100px;height: 80%;color:#67C23A"></i>
- <i v-if="validateCode_check==0" class="fa fa-times-circle-o fa-lg" style="font-size: 22px; position: absolute;top: 15px;right: 100px;height: 80%;color: #F56C6C"></i>
- <i v-if="validateCode_check=='loading'" class="fa fa-spinner fa-lg" style="font-size: 22px; position: absolute;top: 15px;right: 100px;height: 80%;color: blue"></i>
-
- <img :src="validateCodesrc" @click="freshImg" style="padding-right:48px;cursor:pointer; position: absolute;top: 5px;right: 2px;height: 80%;">
- </div>
- </div>
-
- </div>
- <el-form-item>
-
- <el-button type="primary" id="loginBtn" class="btn-long" @click="login('loginForm')">提交</el-button>
- <!--
- <span style="cursor:pointer;color: red; position: absolute;top: 35px;left: 2px;height: 80%;">没有手机号码,请选择密保设置</span>
-
- <a style="cursor:pointer; position: absolute;top: 35px;right: 2px;height: 80%;" href="javascript:void(0)" @click="goQuestion()">设置密保问题</a>
- -->
-
- </el-form-item>
-
-
- <div class="el-form-item" style="padding-bottom: 20px;">
- <div class="el-form-item__content" style="margin-bottom:0px;padding-bottom:0px;">
- <div class="el-input el-input-group el-input-group--prepend">
- <span style="margin-bottom:0px;padding-bottom:4px;font-size: 16px;">温馨提示:</span>
-
- <br>
- <span style="margin-bottom:0px;padding-bottom:4px;" >1.鉴于目前国内多地疫情频发,考试组织工作及疫情防控措施将根据疫情防控形势变化适时调整,请考生密切关注广西招生考试院官网或微信公众号“柳园清风”,获悉最新考试疫情防控要求。</span>
- <br>
- <span style="margin-bottom:0px;padding-bottom:4px;" >2.考生以上信息如有变动,请及时登录本系统,点击“赴考报备表”进行修改。</span>
- <br>
- <span style="margin-bottom:0px;padding-bottom:4px;" >3.本系统采集的信息仅用于考试疫情防控,不做其他用途。</span>
-
- </div>
- </div>
- </div>
-
-
-
-
- </form>
-
-
-
- </el-form>
- </el-card>
-
- </div>
-
- </div>
- </div>
- </body>
- <script>
-
- new Vue({
- el: '#app',
- computed: {
- validateCodesrc: function() {
- this.randomnum = Date.parse(new Date());
- return basePath + "/std/validateCode.htm?"+this.randomnum;
- },
-
- },
- watch: {
- validateCode: function(newValue, oldValue) {
- if(newValue && newValue.length ==4){
- this.validateCode_check = "loading";
- var this_ = this;
- //请求验证 验证码
- ajaxRequest("", '/std/stdRegInfo/checkValidateCode.htm', {validateCode:this.validateCode}, function (resp) {
- if (resp.success) {
- this_.validateCode_check = 1;
- } else {
- this_.validateCode_check = 0;
- }
- })
- }
- },
- },
- data: function () {
- return {
- showInfo:true,
- randomnum:null,
- validateCode_check:null,
- loaded: false,
- isLogin:false,
- logoPath: "",
- productName: "广西自考报考系统",
- errorInfo: null,
- validateCode: "",
- isMutiAccount:false,
- selection:null,
- accountArrayloading:false,
- secCountDown: 0,
- secCountDownInfo:"发送验证码",
- provinces:[],
- citys:[],
- countys:[],
- year_code:null,
- exam_year:null,
- exam_month:null,
- days:null,
- arriveprovinces:[],
- arrivecitys:[],
- arrivecountys:[],
- planprovinces:[],
- plancitys:[],
- plancountys:[],
-
- plan_citys: [],
- planCity: {
- plan_province:"",
- plan_city:"",
- plan_county:"",
- },
- ticket_promise_one:null,
- loginForm: {
- already_in_city:"",
- std_name:"",
- ticket_no:"",
- std_mobile: "",
- current_province:"",
- current_city:"",
- current_county:"",
- current_address:"",
- travel_date:"",
- arrive_province:"",
- carrive_city:"",
- arrive_county:"",
- arrive_address:"",
- promise_one:"",
- promise_two:"",
- is_plan_city:"否",
- is_high_risk:"",
- is_quarantine:"",
- planJson:null,
-
- validateCode:"",
- std_id:"",
-
- },
- loginFormRule: {
- std_mobile: [{
- required: true,
- message: "请填写手机号",
- trigger: "blur"
- }],
-
-
- }
- }
- },
- mounted: function() {
- this.loading = true;
- let std_id = '';
- let uerStr = localStorage.getItem("user");
- let user = null;
- if(uerStr){
- let user = JSON.parse(uerStr);
- if(user){
- std_id = user.id;
- this.loginForm = user;
- }
-
- }
- let _this = this;
- ajaxRequest("", '/std/stdRegInfo/initForReportForm.htm', {std_id:std_id}, function (resp) {
- if (resp.success) {
-
- _this.provinces = resp.map.provinces;
- _this.year_code = resp.map.year_code;
- _this.exam_year = resp.map.exam_year;
- _this.exam_month = resp.map.exam_month;
- _this.days = resp.map.days;
- _this.loginForm.current_province = "450000";
- _this.cityChange("450000");
- _this.arriveprovinces = resp.map.provinces;
- _this.loginForm.arrive_province = "450000";
- _this.arrivecityChange("450000");
- _this.planprovinces = resp.map.provinces;
- _this.ticket_promise_one = resp.map.ticket_promise_one;
- if(resp.map.stdReportForm){
- _this.loginForm = resp.map.stdReportForm;
- if(_this.loginForm.current_city){
- _this.countyChange(_this.loginForm.current_city);
- }
-
- if(_this.loginForm.arrive_city){
- _this.arrivecountyChange(_this.loginForm.arrive_city);
- }
-
- }else{
-
- _this.loginForm.id = null;
- //_this.loginForm.already_in_city = "是";
- }
- if(resp.map.plans){
- _this.plan_citys = resp.map.plans;
- }
-
- }
- });
-
- this.loading = false;
- },
- created: function() {
- this.loaded = true;
- },
- methods: {
- freshImg: function(){
- this.randomnum = Date.parse(new Date());
- },
- goLogin: function() {
- window.location.href = "./login.html";
- },
- goQuestion: function() {
- //跳转设置密保问题页面
- window.location.href = "./question.html";
- },
- sendSmsForLoginBindPhone: function(){
- var _this = this;
- if(!_this.loginForm.std_mobile){
- this.errorInfo = "请填写手机号";
- return;
- }
- // if(!_this.validateCode){
- // _this.errorInfo = "请填写校验码";
- // return;
- // }
- let std_id = '';
- let uerStr = localStorage.getItem("user");
- if(uerStr){
- let user = JSON.parse(uerStr);
- if(user){
- std_id = user.id;
- }
- }
- ajaxRequest("", '/std/sendSmsForLoginBindPhone.htm', {std_id:std_id,std_mobile:this.loginForm.std_mobile }, function (resp) {
-
-
- if(resp.success==true){
- _this.secCountDown = 60;
- var int = setInterval(function(){
- _this.secCountDown--;
- if(_this.secCountDown == 0){
- clearInterval(int);
- //恢复 发送按钮
- _this.secCountDownInfo = "发送验证码";
- }else{
- //倒计时提示
- _this.secCountDownInfo = _this.secCountDown+"秒后可重新发送";
- }
- },1000);
- _this.errorInfo = "验证码发送成功,请填写短信验证码!";
-
- }else if(resp.success==false && resp.errorMsg){
- _this.errorInfo = resp.errorMsg;
-
- }else{
- _this.errorInfo = "验证码发送失败,请重新尝试!";
-
-
- }
- //_this.freshImg();
- //_this.validateCode = "";
- })
- },
-
- login: function () {
- this.errorInfo = null;
- var _this = this;
- if(!this.loginForm.std_name){
- alert("请填写姓名");
-
- return;
- }
- if(!this.loginForm.std_mobile){
- alert("请填写手机号");
-
- return;
- }
-
- if(!this.loginForm.already_in_city){
- alert("请选择您当前是否已在考点所在城市");
-
- return;
- }
-
- if(!this.loginForm.current_province){
- alert("请选择当前所在地区省(市、自治区)");
-
- return;
- }
- if(!this.loginForm.current_city){
- alert("请选择当前所在地区市");
-
- return;
- }
- if(!this.loginForm.current_county){
- alert("请选择当前所在地区区(县)");
-
- return;
- }
- if(!this.loginForm.current_address){
- alert("请填写当前所在地区详细地址");
-
- return;
- }
- if(this.loginForm.already_in_city =='否'){
- if(!this.loginForm.travel_date){
- alert("请填写预计出行至报考考区的时间");
- return;
- }
- if(!this.loginForm.arrive_province){
- alert("请选择抵达考区后入住地区省(市、自治区)");
- return;
- }
- if(!this.loginForm.arrive_city){
- alert("请选择抵达考区后入住地区市");
- return;
- }
- if(!this.loginForm.arrive_county){
- alert("请选择抵达考区后入住地区区(县)");
- return;
- }
- if(!this.loginForm.arrive_address){
- alert("请选择抵达考区后入住地区详细地址");
- return;
- }
- }
- if(!this.loginForm.is_plan_city){
- alert("请选择考前14天期间,是否计划去或去过除当前所在地及考区所在地外的市");
-
- return;
- }
- if(this.loginForm.is_plan_city == '是'){
- for (let i = 0; i < this.plan_citys.length; i++) {
- const item = this.plan_citys[i];
- if(!item.plan_province){
- alert("请选择计划或去过的地区第"+(i+1)+"行的省(市、自治区)!");
- return;
- }
- if(!item.plan_city){
- alert("请选择计划或去过的地区第"+(i+1)+"行的市!");
- return;
- }
- if(!item.plan_county){
- alert("请选择计划或去过的地区第"+(i+1)+"行的区(县)!");
- return;
- }
-
- }
- }
- if(!this.loginForm.is_high_risk){
- alert("请选择是否有中、高或者低风险地区所在市(县、区)旅居史");
-
- return;
- }
- if(!this.loginForm.is_quarantine){
- alert("请选择是否处于隔离或居家观察中");
-
- return;
- }
- if(!this.loginForm.promise_one){
- alert("请选择本人已详细阅读"+this.exam_year+"年"+this.exam_month+"月广西高等自学考试防疫须知");
-
- return;
- }
- if(!this.loginForm.promise_two){
- alert("请选择本人对以上信息内容的真实性和完整性负责,本人保证遵守属地疫情管控各项规定,配合并听从疫情管控各项措施和要求。");
-
- return;
- }
-
- //if(!this.loginForm.current_address){
- // this.errorInfo = "请填写详细地址";
- // return;
- // }else{
- // this.loginForm.current_address = this.loginForm.current_address.trim();
- //}
- //var regex = new RegExp('(?=.*[0-9])(?=.*[a-zA-Z])(?=.*[^a-zA-Z0-9]).{8,30}');
- //var regex = new RegExp('^([\u4E00-\u9FA5A-Za-z0-9\uFF0E\,\s,-,_,—,-](?!\u3000))+$');
- //var regex = new RegExp('[^\a-\z\A-\Z0-9\u4E00-\u9FA5\.\,\?\<\>\。\,\-\——\=\;\@\!\!\+\$]/g');
- //if (!regex.test(this.loginForm.current_address)) {
- // this.errorInfo = "详细地址只允许输入中文、英文或数字!";
- // return;
- // }
- // this.errorInfo = null;
- if(!this.validateCode){
- alert("请填写校验码");
-
- return;
- }
-
- let info = "确定提交"+this.exam_year+"年"+this.exam_month+"月广西自学考试考生赴考报备表";
- var rtn = window.confirm(info);
- if(rtn){
-
- var cloneLoginForm = JSON.parse(JSON.stringify(this.loginForm));
- cloneLoginForm.planJson=JSON.stringify(this.plan_citys);
- cloneLoginForm.validateCode = this.validateCode;
- let std_id = '';
- let uerStr = localStorage.getItem("user");
- if(uerStr){
- let user = JSON.parse(uerStr);
- if(user){
- std_id = user.id;
- }
- }
- cloneLoginForm.std_id = std_id;
- ajaxRequest("", '/std/addStdeRportForm.htm', cloneLoginForm, function (resp) {
- if (resp.success) {
- if(!resp.login){
- alert("请先登录后再提交"+this.exam_year+"年"+this.exam_month+"月广西自学考试考生赴考报备表!");
- _this.freshImg();
- _this.validateCode = "";
- _this.isLogin = true;
- }else{
- _this.$alert(_this.exam_year+"年"+_this.exam_month+"月广西自学考试考生赴考报备表提交成功!", '信息提示', {
- confirmButtonText: '确定', callback: function() {
- window.location.href = "../#/index";
- }
- });
-
- }
-
-
- } else {
- alert(resp.errorMsg);
- _this.freshImg();
- _this.validateCode = "";
- }
- })
-
- }
- },
- cityChange(parent_id){
- if(!parent_id) return;
- let std_id = '';
- let uerStr = localStorage.getItem("user");
- if(uerStr){
- let user = JSON.parse(uerStr);
- if(user){
- std_id = user.id;
- }
- }
- let _this = this;
- ajaxRequest("", '/std/stdRegInfo/queryBzmbGbXzqhdm.htm', {std_id:std_id,parent_id:parent_id}, function (resp) {
- if (resp.success) {
- _this.citys = resp.map.data;
- }
- });
- },
- countyChange(parent_id){
- if(!parent_id) return;
- let std_id = '';
- let uerStr = localStorage.getItem("user");
- if(uerStr){
- let user = JSON.parse(uerStr);
- if(user){
- std_id = user.id;
- }
- }
- let _this = this;
- ajaxRequest("", '/std/stdRegInfo/queryBzmbGbXzqhdm.htm', {std_id:std_id,parent_id:parent_id}, function (resp) {
- if (resp.success) {
- _this.countys = resp.map.data;
- }
- });
-
- },
- arrivecityChange(parent_id){
- if(!parent_id) return;
- let std_id = '';
- let uerStr = localStorage.getItem("user");
- if(uerStr){
- let user = JSON.parse(uerStr);
- if(user){
- std_id = user.id;
- }
- }
- let _this = this;
- ajaxRequest("", '/std/stdRegInfo/queryBzmbGbXzqhdm.htm', {std_id:std_id,parent_id:parent_id}, function (resp) {
- if (resp.success) {
- _this.arrivecitys = resp.map.data;
- }
- });
- },
- arrivecountyChange(parent_id){
- if(!parent_id) return;
- let std_id = '';
- let uerStr = localStorage.getItem("user");
- if(uerStr){
- let user = JSON.parse(uerStr);
- if(user){
- std_id = user.id;
- }
- }
- let _this = this;
- ajaxRequest("", '/std/stdRegInfo/queryBzmbGbXzqhdm.htm', {std_id:std_id,parent_id:parent_id}, function (resp) {
- if (resp.success) {
- _this.arrivecountys = resp.map.data;
- }
- });
-
- },
- plancityChange(parent_id){
-
- if(!parent_id) return;
- let std_id = '';
- let uerStr = localStorage.getItem("user");
- if(uerStr){
- let user = JSON.parse(uerStr);
- if(user){
- std_id = user.id;
- }
- }
- let _this = this;
- ajaxRequest("", '/std/stdRegInfo/queryBzmbGbXzqhdm.htm', {std_id:std_id,parent_id:parent_id}, function (resp) {
-
- if (resp.success) {
- _this.plancitys = resp.map.data;
- }
- });
- },
- plancountyChange(parent_id){
- if(!parent_id) return;
- let std_id = '';
- let uerStr = localStorage.getItem("user");
- if(uerStr){
- let user = JSON.parse(uerStr);
- if(user){
- std_id = user.id;
- }
- }
- let _this = this;
- ajaxRequest("", '/std/stdRegInfo/queryBzmbGbXzqhdm.htm', {std_id:std_id,parent_id:parent_id}, function (resp) {
- if (resp.success) {
- _this.plancountys = resp.map.data;
- }
- });
-
- },
- setIs_plan_city(is_plan_city){
- this.loginForm.is_plan_city = is_plan_city;
-
- if(this.loginForm.is_plan_city=='是' && (!this.plan_citys || (this.plan_citys && this.plan_citys.length==0))){
-
- this.plan_citys = [];
- this.planCity = {plan_province:"",plan_city:"",plan_county:""};
- this.plan_citys.push(this.planCity);
- }
-
- },
- addRow() {
- if (this.plan_citys.length == 8) {
- alert("最多8条数据");
- return;
- }
-
- this.planCity = {plan_province:"",plan_city:"",plan_county:""};
- this.plan_citys.push(this.planCity);
- },
- delRow(index) {
- if(this.plan_citys.length==1){
- alert("不允许删除最后一行记录!");
- return;
- }
- let newList = [];
- for (let i = 0; i < this.plan_citys.length; i++) {
- if (i != index) {
-
- newList.push(this.plan_citys[i]);
- }
- }
- this.plan_citys = newList;
- },
- to_ticket_promise_one(){
- if(this.ticket_promise_one){
- window.open(this.ticket_promise_one);
- }
-
- }
-
- }
- });
- </script>
- <style scoped>
- .home {
- display: flex;
- flex-direction: column;
- height: 100vh;
- }
- .school-logo {
- margin-left: -300px;
- }
- .header {
- min-height: 120px;
- display: grid;
- }
- .center {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
-
- background-position: center;
- background-repeat: no-repeat;
- background-size: cover;
- opacity: 0.8;
- filter: alpha(opacity = 20);
- }
- .content {
- margin-top: 100px;
- margin-left: 35%;
- width: 380px;
- /* height: 300px; */
- border-radius: 6px;
- background-color: white;
- display: grid;
- grid-template-areas: "";
- }
- .login-type {
- flex: 1;
- line-height: 40px;
- background-color: #eeeeee;
- }
- .active-type {
- background-color: #ffffff;
- }
- .close {
- position: absolute;
- top: 0;
- right: 0;
- background-color: #eeeeee;
- color: #999999;
- width: 80px;
- height: 40px;
- line-height: 40px;
- }
- .close:hover {
- color: #444444;
- }
- .btn-long {
- width: 100%;
- }
- body {
- margin: 0px 0px
- }
- .group__prepend{
- padding: 0px 10px !important;
- }
- .el-alert {
- margin: 20px 0 0;
- }
- .el-alert--error {
- background-color: #fef0f0 !important;
- color: #f56c6c;
- }
- .el-alert {
- width: 100%;
- padding: 8px 16px;
- margin: 0;
- box-sizing: border-box;
- border-radius: 4px;
- position: relative;
- background-color: #fff;
- overflow: hidden;
- opacity: 1;
- display: flex;
- align-items: center;
- transition: opacity .2s;
- }
- .artcle-title {
- margin-top: 25px !important;
- font-family: "Microsoft YaHei", "微软雅黑字体";
- color: #4c4c4c !important;
- font-size: 23px !important;
- text-align: center !important;
- font-weight: bold !important;
- }
- .artcle-detail {
- padding-top: 20px;
- line-height: 30px;
- font-size: 18px;
- }
-
- </style>
- </html>
|