4e57c595 by wang

Merge branch 'develop' of http://g.28ms.com:8000/yangjianbin/page into develop

2 parents d2786ad7 bfdbf3aa
......@@ -25,6 +25,8 @@
<meta name="description" content="">
<title>标题</title>
<script>
var apiBaseUrl = "http://151.28ms.com:8088/";
// var apiBaseUrl = "http://151.28ms.com:8088/";
var apiBaseUrl = "http://192.168.11.60:8082/";
</script>
</head>
......
......@@ -48,14 +48,14 @@
<label>期数</label>
<input type="text" class="form-control input-text" value="">
</div>
<div class="form-group col-sm-4 col-md-2">
<!--<div class="form-group col-sm-4 col-md-2">
<label>还款方式</label>
<span class="form-control select-box">
<select class="select" size="1">
<option>请选择</option>
</select>
</span>
</div>
</div>-->
<div class="form-group col-sm-4 col-md-2">
<label>逾期天数</label>
<input type="text" class="form-control input-text" value="">
......
......@@ -56,17 +56,17 @@
<label>期数</label>
<input type="text" class="form-control input-text" value="">
</div>
<div class="form-group col-sm-4 col-md-2">
<!--<div class="form-group col-sm-4 col-md-2">
<label>还款方式</label>
<span class="form-control select-box">
<select class="select" size="1">
<option>请选择</option>
<?php foreach ($this->session->repayments as $k=>$v):?>
<option <?=$v == $data->repaymentMode ? 'selected' : '' ?> value="<?=$k?>"><?=$v?></option>
<?php endforeach;?>
<?php /*foreach ($this->session->repayments as $k=>$v):*/?>
<option <?/*=$v == $data->repaymentMode ? 'selected' : '' */?> value="<?/*=$k*/?>"><?/*=$v*/?></option>
<?php /*endforeach;*/?>
</select>
</span>
</div>
</div>-->
<div class="form-group col-sm-4 col-md-2">
<label>本期应还款日</label>
<input type="text" class="form-control input-text" value="">
......
......@@ -3,6 +3,7 @@
<body>
<div class="panel panel-default mb-20">
<form>
<input type="hidden" name="source" value="1">
<div class="panel-body cl">
<div class="row cl">
<input type="hidden" name="id" value="<?=$id?>">
......
......@@ -103,7 +103,7 @@
},
{data: "branchName"},//所属网点
{data: "nameZh"},//角色
{data: "employeeCount;"},//人数
{data: "employeeCount"},//人数
]
});
......
......@@ -13,7 +13,7 @@
<option value="<?=$v->id?>"><?=$v->name?></option>
<?php if($v->children && !empty($v->children)):?>
<?php foreach ($v->children as $kk=>$vv):?>
<option value="<?=$vv->id?>"><?=$vv->name?></option>
<option value="<?=$vv->id?>">&nbsp;&nbsp;<?=$vv->name?></option>
<?php endforeach;?>
<?php endif;?>
<?php endforeach;?>
......
......@@ -68,14 +68,14 @@
<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 ?>">
value="<?= $clientInfoOutputVO ? $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' : '' ?>
<option <?= $clientInfoOutputVO && $clientInfoOutputVO->gender == $k ? 'selected' : '' ?>
value="<?= $k ?>"><?= $v ?></option>
<?php endforeach; ?>
</select>
......@@ -86,7 +86,7 @@
<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' : '' ?>
<option <?= $clientInfoOutputVO && $clientInfoOutputVO->marriageState == $k ? 'selected' : '' ?>
value="<?= $k ?>"><?= $v ?></option>
<?php endforeach; ?>
</select>
......@@ -95,7 +95,7 @@
<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()">
value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->birthDate : '' ?>" onfocus="WdatePicker()">
</div>
</div>
......@@ -105,7 +105,7 @@
<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' : '' ?>
<option <?= $clientInfoOutputVO && $clientInfoOutputVO->educationDegree == $k ? 'selected' : '' ?>
value="<?= $k ?>"><?= $v ?></option>
<?php endforeach; ?>
</select>
......@@ -114,7 +114,7 @@
<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 ?>">
value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->idCard : '' ?>">
</div>
</div>
......@@ -122,16 +122,16 @@
<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 ?>">
value="<?= $clientInfoOutputVO ? $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' : '' ?>
<option <?= $clientInfoOutputVO && $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?>
value="0"></option>
<option <?= $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?>
<option <?= $clientInfoOutputVO && $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?>
value="1"></option>
</select>
</span>
......@@ -144,17 +144,17 @@
<div class="info">
<?php foreach ($this->session->dwellEnum as $k => $v): ?>
<div class="live-info">
<input type="checkbox" <?= $clientInfoOutputVO->dwellState == $k ? 'checked' : '' ?>
<input type="checkbox" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? 'checked' : '' ?>
name="dwellState">
<span><?= $v ?></span>
<?php if ($k == 0): ?>
<input type="text" <?= $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?>
<input type="text" <?= $clientInfoOutputVO && $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 : '' ?>
<input type="text" <?= $clientInfoOutputVO && $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 : '' ?>
<input type="text" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?>
name="dwellDetail" class="input-decoration w-50 text-c">
<?php endif; ?>
</div>
......@@ -194,7 +194,7 @@
<div class="form-group col-sm-3 col-md-2">
<label>手机</label>
<input type="text" class="form-control input-text"
value="<?= $clientInfoOutputVO->phoneNumber ?>">
value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->phoneNumber : '' ?>">
</div>
<div class="form-group col-sm-3 col-md-2">
<label>户口所在地</label>
......@@ -223,7 +223,7 @@
<div class="form-group col-sm-6 col-md-4">
<label>户口详细地址</label>
<input type="text" class="form-control input-text" id="address"
value="<?= $clientInfoOutputVO->registerDetailAddress ?>">
value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->registerDetailAddress : '' ?>">
</div>
</div>
......@@ -231,7 +231,7 @@
<div class="form-group col-sm-6 col-md-4">
<label>现居住地址</label>
<input type="text" class="form-control input-text"
value="<?= $clientInfoOutputVO->currentAddress ?>">
value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->currentAddress :'' ?>">
</div>
</div>
</div>
......
......@@ -8,8 +8,8 @@
<button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button>
<input class="btn btn-warning radius" type="reset" value="重置搜索">
<button class="btn btn-primary radius" type="button" onclick="pass(1)">批量通过</button>
<button class="btn btn-danger radius" type="button" onclick="refuse(1)">批量拒绝</button>
<!-- <button class="btn btn-primary radius" type="button" onclick="pass(1)">批量通过</button>-->
<!-- <button class="btn btn-danger radius" type="button" onclick="refuse(1)">批量拒绝</button>-->
</div>
</form>
......
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<link rel="stylesheet" type="text/css" href="/resource/static/h-ui/css/H-ui.min.css"/>
<?php
if (isset($styles) && is_array($styles)) {
foreach ($styles as $style) {
echo '<link rel="stylesheet" type="text/css" href="' . $style . '" />';
}
}
?>
<meta name="keywords" content="">
<meta name="description" content="">
<title></title>
<script>
var apiBaseUrl = "http://151.28ms.com:8088/";
</script>
</head>
<body>
<script type="text/javascript" src="/resource/lib/jquery/1.9.1/jquery.min.js"></script>
<script>
$.ajax({
type: "GET",
url: "http://test.smalldebit.club/api/Debit/GetUserDebitRecords?userId=7",
beforeSend: function (request) {
request.setRequestHeader("token", "926EE68FEF39A83EBFAAC7AF632A4737");
},
success: function (result) {
console.log(result);
}
});
// $.get('http://test.smalldebit.club/api/Debit/GetUserDebitRecords?userId=7', function (d) {
// console.log(d)
// });
</script>
</body>
</html>
\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!