e1c8e8c9 by yangjianbin

init

1 parent 0cd23b96
......@@ -15,15 +15,15 @@
<div class="panel-body cl">
<div class="row cl text-c">
<?php foreach ($this->session->products as $k => $v):?>
<div class="col-sm-4 mb-20">
<label class="radio">
<input type="radio" value="<?=$v->id?>" name="1"/>
<img width="160" height="160" src="holder.js/180x18">
<?=$v->productName?>
</label>
</div>
<?php endforeach;?>
<?php foreach ($this->session->products as $k => $v): ?>
<div class="col-sm-4 mb-20">
<label class="radio">
<input type="radio" value="<?= $v->id ?>" name="1"/>
<img width="160" height="160" src="holder.js/180x18">
<?= $v->productName ?>
</label>
</div>
<?php endforeach; ?>
<!--<div class="col-sm-4 mb-20">
<label class="radio">
......@@ -67,15 +67,17 @@
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>姓名</label>
<input type="text" class="form-control input-text" name="userName" value="<?=$clientInfoOutputVO->userName?>">
<input type="text" class="form-control input-text" name="userName"
value="<?= $clientInfoOutputVO->userName ?>">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>性别</label>
<span class="form-control select-box">
<select class="select" size="1" name="gender">
<?php foreach ($this->session->genderEnum as $k=>$v):?>
<option <?=$clientInfoOutputVO->gender == $k ? 'selected' : ''?> value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
<?php foreach ($this->session->genderEnum as $k => $v): ?>
<option <?= $clientInfoOutputVO->gender == $k ? 'selected' : '' ?>
value="<?= $k ?>"><?= $v ?></option>
<?php endforeach; ?>
</select>
</span>
</div>
......@@ -83,15 +85,17 @@
<label>婚姻</label>
<span class="form-control select-box">
<select class="select" size="1" name="marriageState">
<?php foreach ($this->session->marryEnum as $k=>$v):?>
<option <?=$clientInfoOutputVO->marriageState == $k ? 'selected' : ''?> value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
<?php foreach ($this->session->marryEnum as $k => $v): ?>
<option <?= $clientInfoOutputVO->marriageState == $k ? 'selected' : '' ?>
value="<?= $k ?>"><?= $v ?></option>
<?php endforeach; ?>
</select>
</span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>出生日期</label>
<input type="text" name="birthDate" class="form-control input-text Wdate" value="<?=$clientInfoOutputVO->birthDate?>" onfocus="WdatePicker()">
<input type="text" name="birthDate" class="form-control input-text Wdate"
value="<?= $clientInfoOutputVO->birthDate ?>" onfocus="WdatePicker()">
</div>
</div>
......@@ -100,30 +104,35 @@
<label>教育程度</label>
<span class="form-control select-box">
<select class="select" size="1" name="educationDegree">
<?php foreach ($this->session->educationEnum as $k=>$v):?>
<option <?=$clientInfoOutputVO->educationDegree == $k ? 'selected' : ''?> value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
<?php foreach ($this->session->educationEnum as $k => $v): ?>
<option <?= $clientInfoOutputVO->educationDegree == $k ? 'selected' : '' ?>
value="<?= $k ?>"><?= $v ?></option>
<?php endforeach; ?>
</select>
</span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>身份证</label>
<input type="text" name="idCard" class="form-control input-text" value="<?=$clientInfoOutputVO->idCard?>">
<input type="text" name="idCard" class="form-control input-text"
value="<?= $clientInfoOutputVO->idCard ?>">
</div>
</div>
<div class="row cl">
<div class="form-group has-feedback col-sm-3 col-md-2">
<label>月收入</label>
<input type="text" name="monthlyIncome" class="form-control input-text" value="<?=$clientInfoOutputVO->monthlyIncome?>">
<input type="text" name="monthlyIncome" class="form-control input-text"
value="<?= $clientInfoOutputVO->monthlyIncome ?>">
<span class="glyphicon glyphicon-rmb form-control-feedback" aria-hidden="true"></span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>有无本地房产</label>
<span class="form-control select-box">
<select class="select" size="1" name="localHouse">
<option <?=$clientInfoOutputVO->localHouse == $k ? 'selected' : ''?> value="0"></option>
<option <?=$clientInfoOutputVO->localHouse == $k ? 'selected' : ''?> value="1"></option>
<option <?= $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?>
value="0"></option>
<option <?= $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?>
value="1"></option>
</select>
</span>
</div>
......@@ -133,19 +142,23 @@
<div class="form-group col-sm-12 col-md-12">
<label>居住情况</label>
<div class="info">
<?php foreach ($this->session->dwellEnum as $k=>$v):?>
<?php foreach ($this->session->dwellEnum as $k => $v): ?>
<div class="live-info">
<input type="checkbox" <?=$clientInfoOutputVO->dwellState == $k ? 'checked' : ''?> name="dwellState">
<span><?=$v?></span>
<?php if($k == 0):?>
<input type="text" <?=$clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : ''?> class="input-decoration w-50 text-c" name="dwellDetail" value=""> 层
<?php elseif ($k == 1):?>
<input type="text" <?=$clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : ''?> name="dwellDetail" class="input-decoration w-50 text-c"> 万
<?php elseif ($k == 2):?>
<input type="text" <?=$clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : ''?> name="dwellDetail" class="input-decoration w-50 text-c"> 万
<?php endif;?>
<input type="checkbox" <?= $clientInfoOutputVO->dwellState == $k ? 'checked' : '' ?>
name="dwellState">
<span><?= $v ?></span>
<?php if ($k == 0): ?>
<input type="text" <?= $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?>
class="input-decoration w-50 text-c" name="dwellDetail" value="">
<?php elseif ($k == 1): ?>
<input type="text" <?= $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?>
name="dwellDetail" class="input-decoration w-50 text-c">
<?php elseif ($k == 2): ?>
<input type="text" <?= $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?>
name="dwellDetail" class="input-decoration w-50 text-c">
<?php endif; ?>
</div>
<?php endforeach;?>
<?php endforeach; ?>
<!--<div class="live-info">
<input type="checkbox" name="dwellState">
<span>自建</span>
......@@ -180,7 +193,8 @@
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>手机</label>
<input type="text" class="form-control input-text" value="<?=$clientInfoOutputVO->phoneNumber?>">
<input type="text" class="form-control input-text"
value="<?= $clientInfoOutputVO->phoneNumber ?>">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>户口所在地</label>
......@@ -195,14 +209,16 @@
<div class="row cl">
<div class="form-group col-sm-6 col-md-4">
<label>户口详细地址</label>
<input type="text" class="form-control input-text" value="<?=$clientInfoOutputVO->registerDetailAddress?>">
<input type="text" class="form-control input-text"
value="<?= $clientInfoOutputVO->registerDetailAddress ?>">
</div>
</div>
<div class="row cl">
<div class="form-group col-sm-6 col-md-4">
<label>现居住地址</label>
<input type="text" class="form-control input-text" value="<?=$clientInfoOutputVO->currentAddress?>">
<input type="text" class="form-control input-text"
value="<?= $clientInfoOutputVO->currentAddress ?>">
</div>
</div>
</div>
......@@ -214,57 +230,66 @@
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>单位名称</label>
<input type="text" class="form-control input-text" value="<?=$clientUnitOutputVO ? $clientUnitOutputVO->unitName : ''?>">
<input type="text" class="form-control input-text"
value="<?= $clientUnitOutputVO ? $clientUnitOutputVO->unitName : '' ?>">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>部门</label>
<input type="text" class="form-control input-text" value="<?=$clientUnitOutputVO ? $clientUnitOutputVO->department : ''?>">
<input type="text" class="form-control input-text"
value="<?= $clientUnitOutputVO ? $clientUnitOutputVO->department : '' ?>">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>单位性质</label>
<span class="form-control select-box">
<select class="select" size="1">
<?php foreach ($this->session->unitEnum as $k=>$v):?>
<option <?=$clientUnitOutputVO && $clientUnitOutputVO->unitNature == $k ? 'selected' : ''?> value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
<?php foreach ($this->session->unitEnum as $k => $v): ?>
<option <?= $clientUnitOutputVO && $clientUnitOutputVO->unitNature == $k ? 'selected' : '' ?>
value="<?= $k ?>"><?= $v ?></option>
<?php endforeach; ?>
</select>
</span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>职位名称</label>
<input type="text" class="form-control input-text" value="<?=$clientUnitOutputVO ? $clientUnitOutputVO->jobPosition : ''?>">
<input type="text" class="form-control input-text"
value="<?= $clientUnitOutputVO ? $clientUnitOutputVO->jobPosition : '' ?>">
</div>
</div>
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>现单位入职时间</label>
<input type="text" class="form-control input-text Wdate" value="<?=$clientUnitOutputVO ? $clientUnitOutputVO->currentUnitEntryDate : ''?>">
<input type="text" class="form-control input-text Wdate"
value="<?= $clientUnitOutputVO ? $clientUnitOutputVO->currentUnitEntryDate : '' ?>">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>现单位工作年限</label>
<input type="text" class="form-control input-text" value="<?=$clientUnitOutputVO ? $clientUnitOutputVO->currentUnitWorkYears : ''?>">
<input type="text" class="form-control input-text"
value="<?= $clientUnitOutputVO ? $clientUnitOutputVO->currentUnitWorkYears : '' ?>">
<span class="glyphicon glyphicon-year form-control-feedback" aria-hidden="true"></span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>现单位电话</label>
<input type="text" class="form-control input-text" value="<?=$clientUnitOutputVO ? $clientUnitOutputVO->unitPhone : ''?>">
<input type="text" class="form-control input-text"
value="<?= $clientUnitOutputVO ? $clientUnitOutputVO->unitPhone : '' ?>">
</div>
</div>
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>月收入</label>
<input type="text" class="form-control input-text" value="<?=$clientUnitOutputVO ? $clientUnitOutputVO->monthlyIncome : ''?>">
<input type="text" class="form-control input-text"
value="<?= $clientUnitOutputVO ? $clientUnitOutputVO->monthlyIncome : '' ?>">
<span class="glyphicon glyphicon-rmb form-control-feedback" aria-hidden="true"></span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>工资发放形式</label>
<span class="form-control select-box">
<select class="select" size="1">
<?php foreach ($this->session->wagePaymentFormEnum as $k=>$v):?>
<option <?=$clientUnitOutputVO && $clientUnitOutputVO->salaryGrantForm == $k ? 'selected' : ''?> value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
<?php foreach ($this->session->wagePaymentFormEnum as $k => $v): ?>
<option <?= $clientUnitOutputVO && $clientUnitOutputVO->salaryGrantForm == $k ? 'selected' : '' ?>
value="<?= $k ?>"><?= $v ?></option>
<?php endforeach; ?>
</select>
</span>
</div>
......@@ -273,7 +298,8 @@
<div class="row cl">
<div class="form-group col-sm-6 col-md-4">
<label>现单位所在地</label>
<input type="text" class="form-control input-text" value="<?=$clientUnitOutputVO ? $clientUnitOutputVO->currentUnitAddress : ''?>">
<input type="text" class="form-control input-text"
value="<?= $clientUnitOutputVO ? $clientUnitOutputVO->currentUnitAddress : '' ?>">
</div>
</div>
</div>
......@@ -347,14 +373,18 @@
<div class="row cl">
<div class="form-group col-sm-3 col-md-2">
<label>申请金额</label>
<input type="text" class="form-control input-text" value="XXX">
<input type="text" class="form-control input-text"
value="<?= $applyOrderVO ? $applyOrderVO->applyMoney : '' ?>">
<span class="glyphicon glyphicon-rmb form-control-feedback" aria-hidden="true"></span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>贷款期限</label>
<span class="form-control select-box">
<select class="select" size="1">
<option value="1"></option>
<?php for ($i = 1; $i <= 12; $i++): ?>
<option <?= $applyOrderVO && $applyOrderVO->deadline ? 'selected' : '' ?>
value="<?= $i ?>"><?= $i ?></option>
<?php endfor; ?>
</select>
</span>
</div>
......@@ -362,7 +392,10 @@
<label>还款方式</label>
<span class="form-control select-box">
<select class="select" size=c"">
<option value="1"></option>
<?php foreach ($this->session->repayments as $k => $v): ?>
<option <?= $applyOrderVO && $applyOrderVO->payBackType ? 'selected' : '' ?>
value="<?= $k ?>"><?= $v ?></option>
<?php endforeach; ?>
</select>
</span>
</div>
......@@ -370,9 +403,9 @@
<label>贷款用途</label>
<span class="form-control select-box">
<select class="select" size="1">
<?php foreach ($this->session->loanUseEnum as $k=>$v):?>
<option value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
<?php foreach ($this->session->loanUseEnum as $k => $v): ?>
<option value="<?= $k ?>"><?= $v ?></option>
<?php endforeach; ?>
</select>
</span>
</div>
......@@ -396,9 +429,9 @@
<label>贷款用途性质</label>
<span class="form-control select-box">
<select class="select" size="1">
<?php foreach ($this->session->loanNatureEnum as $k=>$v):?>
<option value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
<?php foreach ($this->session->loanNatureEnum as $k => $v): ?>
<option value="<?= $k ?>"><?= $v ?></option>
<?php endforeach; ?>
</select>
</span>
</div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!