Merge branch 'develop' of http://g.28ms.com:8000/yangjianbin/page into develop
Showing
9 changed files
with
84 additions
and
28 deletions
| ... | @@ -25,6 +25,8 @@ | ... | @@ -25,6 +25,8 @@ |
| 25 | <meta name="description" content=""> | 25 | <meta name="description" content=""> |
| 26 | <title>标题</title> | 26 | <title>标题</title> |
| 27 | <script> | 27 | <script> |
| 28 | var apiBaseUrl = "http://151.28ms.com:8088/"; | 28 | // var apiBaseUrl = "http://151.28ms.com:8088/"; |
| 29 | var apiBaseUrl = "http://192.168.11.60:8082/"; | ||
| 30 | |||
| 29 | </script> | 31 | </script> |
| 30 | </head> | 32 | </head> | ... | ... |
| ... | @@ -48,14 +48,14 @@ | ... | @@ -48,14 +48,14 @@ |
| 48 | <label>期数</label> | 48 | <label>期数</label> |
| 49 | <input type="text" class="form-control input-text" value=""> | 49 | <input type="text" class="form-control input-text" value=""> |
| 50 | </div> | 50 | </div> |
| 51 | <div class="form-group col-sm-4 col-md-2"> | 51 | <!--<div class="form-group col-sm-4 col-md-2"> |
| 52 | <label>还款方式</label> | 52 | <label>还款方式</label> |
| 53 | <span class="form-control select-box"> | 53 | <span class="form-control select-box"> |
| 54 | <select class="select" size="1"> | 54 | <select class="select" size="1"> |
| 55 | <option>请选择</option> | 55 | <option>请选择</option> |
| 56 | </select> | 56 | </select> |
| 57 | </span> | 57 | </span> |
| 58 | </div> | 58 | </div>--> |
| 59 | <div class="form-group col-sm-4 col-md-2"> | 59 | <div class="form-group col-sm-4 col-md-2"> |
| 60 | <label>逾期天数</label> | 60 | <label>逾期天数</label> |
| 61 | <input type="text" class="form-control input-text" value=""> | 61 | <input type="text" class="form-control input-text" value=""> | ... | ... |
| ... | @@ -56,17 +56,17 @@ | ... | @@ -56,17 +56,17 @@ |
| 56 | <label>期数</label> | 56 | <label>期数</label> |
| 57 | <input type="text" class="form-control input-text" value=""> | 57 | <input type="text" class="form-control input-text" value=""> |
| 58 | </div> | 58 | </div> |
| 59 | <div class="form-group col-sm-4 col-md-2"> | 59 | <!--<div class="form-group col-sm-4 col-md-2"> |
| 60 | <label>还款方式</label> | 60 | <label>还款方式</label> |
| 61 | <span class="form-control select-box"> | 61 | <span class="form-control select-box"> |
| 62 | <select class="select" size="1"> | 62 | <select class="select" size="1"> |
| 63 | <option>请选择</option> | 63 | <option>请选择</option> |
| 64 | <?php foreach ($this->session->repayments as $k=>$v):?> | 64 | <?php /*foreach ($this->session->repayments as $k=>$v):*/?> |
| 65 | <option <?=$v == $data->repaymentMode ? 'selected' : '' ?> value="<?=$k?>"><?=$v?></option> | 65 | <option <?/*=$v == $data->repaymentMode ? 'selected' : '' */?> value="<?/*=$k*/?>"><?/*=$v*/?></option> |
| 66 | <?php endforeach;?> | 66 | <?php /*endforeach;*/?> |
| 67 | </select> | 67 | </select> |
| 68 | </span> | 68 | </span> |
| 69 | </div> | 69 | </div>--> |
| 70 | <div class="form-group col-sm-4 col-md-2"> | 70 | <div class="form-group col-sm-4 col-md-2"> |
| 71 | <label>本期应还款日</label> | 71 | <label>本期应还款日</label> |
| 72 | <input type="text" class="form-control input-text" value=""> | 72 | <input type="text" class="form-control input-text" value=""> | ... | ... |
| ... | @@ -3,6 +3,7 @@ | ... | @@ -3,6 +3,7 @@ |
| 3 | <body> | 3 | <body> |
| 4 | <div class="panel panel-default mb-20"> | 4 | <div class="panel panel-default mb-20"> |
| 5 | <form> | 5 | <form> |
| 6 | <input type="hidden" name="source" value="1"> | ||
| 6 | <div class="panel-body cl"> | 7 | <div class="panel-body cl"> |
| 7 | <div class="row cl"> | 8 | <div class="row cl"> |
| 8 | <input type="hidden" name="id" value="<?=$id?>"> | 9 | <input type="hidden" name="id" value="<?=$id?>"> | ... | ... |
| ... | @@ -13,7 +13,7 @@ | ... | @@ -13,7 +13,7 @@ |
| 13 | <option value="<?=$v->id?>"><?=$v->name?></option> | 13 | <option value="<?=$v->id?>"><?=$v->name?></option> |
| 14 | <?php if($v->children && !empty($v->children)):?> | 14 | <?php if($v->children && !empty($v->children)):?> |
| 15 | <?php foreach ($v->children as $kk=>$vv):?> | 15 | <?php foreach ($v->children as $kk=>$vv):?> |
| 16 | <option value="<?=$vv->id?>"><?=$vv->name?></option> | 16 | <option value="<?=$vv->id?>"> <?=$vv->name?></option> |
| 17 | <?php endforeach;?> | 17 | <?php endforeach;?> |
| 18 | <?php endif;?> | 18 | <?php endif;?> |
| 19 | <?php endforeach;?> | 19 | <?php endforeach;?> | ... | ... |
| ... | @@ -68,14 +68,14 @@ | ... | @@ -68,14 +68,14 @@ |
| 68 | <div class="form-group col-sm-3 col-md-2"> | 68 | <div class="form-group col-sm-3 col-md-2"> |
| 69 | <label>姓名</label> | 69 | <label>姓名</label> |
| 70 | <input type="text" class="form-control input-text" name="userName" | 70 | <input type="text" class="form-control input-text" name="userName" |
| 71 | value="<?= $clientInfoOutputVO->userName ?>"> | 71 | value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->userName : '' ?>"> |
| 72 | </div> | 72 | </div> |
| 73 | <div class="form-group col-sm-3 col-md-2"> | 73 | <div class="form-group col-sm-3 col-md-2"> |
| 74 | <label>性别</label> | 74 | <label>性别</label> |
| 75 | <span class="form-control select-box"> | 75 | <span class="form-control select-box"> |
| 76 | <select class="select" size="1" name="gender"> | 76 | <select class="select" size="1" name="gender"> |
| 77 | <?php foreach ($this->session->genderEnum as $k => $v): ?> | 77 | <?php foreach ($this->session->genderEnum as $k => $v): ?> |
| 78 | <option <?= $clientInfoOutputVO->gender == $k ? 'selected' : '' ?> | 78 | <option <?= $clientInfoOutputVO && $clientInfoOutputVO->gender == $k ? 'selected' : '' ?> |
| 79 | value="<?= $k ?>"><?= $v ?></option> | 79 | value="<?= $k ?>"><?= $v ?></option> |
| 80 | <?php endforeach; ?> | 80 | <?php endforeach; ?> |
| 81 | </select> | 81 | </select> |
| ... | @@ -86,7 +86,7 @@ | ... | @@ -86,7 +86,7 @@ |
| 86 | <span class="form-control select-box"> | 86 | <span class="form-control select-box"> |
| 87 | <select class="select" size="1" name="marriageState"> | 87 | <select class="select" size="1" name="marriageState"> |
| 88 | <?php foreach ($this->session->marryEnum as $k => $v): ?> | 88 | <?php foreach ($this->session->marryEnum as $k => $v): ?> |
| 89 | <option <?= $clientInfoOutputVO->marriageState == $k ? 'selected' : '' ?> | 89 | <option <?= $clientInfoOutputVO && $clientInfoOutputVO->marriageState == $k ? 'selected' : '' ?> |
| 90 | value="<?= $k ?>"><?= $v ?></option> | 90 | value="<?= $k ?>"><?= $v ?></option> |
| 91 | <?php endforeach; ?> | 91 | <?php endforeach; ?> |
| 92 | </select> | 92 | </select> |
| ... | @@ -95,7 +95,7 @@ | ... | @@ -95,7 +95,7 @@ |
| 95 | <div class="form-group col-sm-3 col-md-2"> | 95 | <div class="form-group col-sm-3 col-md-2"> |
| 96 | <label>出生日期</label> | 96 | <label>出生日期</label> |
| 97 | <input type="text" name="birthDate" class="form-control input-text Wdate" | 97 | <input type="text" name="birthDate" class="form-control input-text Wdate" |
| 98 | value="<?= $clientInfoOutputVO->birthDate ?>" onfocus="WdatePicker()"> | 98 | value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->birthDate : '' ?>" onfocus="WdatePicker()"> |
| 99 | </div> | 99 | </div> |
| 100 | </div> | 100 | </div> |
| 101 | 101 | ||
| ... | @@ -105,7 +105,7 @@ | ... | @@ -105,7 +105,7 @@ |
| 105 | <span class="form-control select-box"> | 105 | <span class="form-control select-box"> |
| 106 | <select class="select" size="1" name="educationDegree"> | 106 | <select class="select" size="1" name="educationDegree"> |
| 107 | <?php foreach ($this->session->educationEnum as $k => $v): ?> | 107 | <?php foreach ($this->session->educationEnum as $k => $v): ?> |
| 108 | <option <?= $clientInfoOutputVO->educationDegree == $k ? 'selected' : '' ?> | 108 | <option <?= $clientInfoOutputVO && $clientInfoOutputVO->educationDegree == $k ? 'selected' : '' ?> |
| 109 | value="<?= $k ?>"><?= $v ?></option> | 109 | value="<?= $k ?>"><?= $v ?></option> |
| 110 | <?php endforeach; ?> | 110 | <?php endforeach; ?> |
| 111 | </select> | 111 | </select> |
| ... | @@ -114,7 +114,7 @@ | ... | @@ -114,7 +114,7 @@ |
| 114 | <div class="form-group col-sm-3 col-md-2"> | 114 | <div class="form-group col-sm-3 col-md-2"> |
| 115 | <label>身份证</label> | 115 | <label>身份证</label> |
| 116 | <input type="text" name="idCard" class="form-control input-text" | 116 | <input type="text" name="idCard" class="form-control input-text" |
| 117 | value="<?= $clientInfoOutputVO->idCard ?>"> | 117 | value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->idCard : '' ?>"> |
| 118 | </div> | 118 | </div> |
| 119 | </div> | 119 | </div> |
| 120 | 120 | ||
| ... | @@ -122,16 +122,16 @@ | ... | @@ -122,16 +122,16 @@ |
| 122 | <div class="form-group has-feedback col-sm-3 col-md-2"> | 122 | <div class="form-group has-feedback col-sm-3 col-md-2"> |
| 123 | <label>月收入</label> | 123 | <label>月收入</label> |
| 124 | <input type="text" name="monthlyIncome" class="form-control input-text" | 124 | <input type="text" name="monthlyIncome" class="form-control input-text" |
| 125 | value="<?= $clientInfoOutputVO->monthlyIncome ?>"> | 125 | value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->monthlyIncome : '' ?>"> |
| 126 | <span class="glyphicon glyphicon-rmb form-control-feedback" aria-hidden="true"></span> | 126 | <span class="glyphicon glyphicon-rmb form-control-feedback" aria-hidden="true"></span> |
| 127 | </div> | 127 | </div> |
| 128 | <div class="form-group col-sm-3 col-md-2"> | 128 | <div class="form-group col-sm-3 col-md-2"> |
| 129 | <label>有无本地房产</label> | 129 | <label>有无本地房产</label> |
| 130 | <span class="form-control select-box"> | 130 | <span class="form-control select-box"> |
| 131 | <select class="select" size="1" name="localHouse"> | 131 | <select class="select" size="1" name="localHouse"> |
| 132 | <option <?= $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?> | 132 | <option <?= $clientInfoOutputVO && $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?> |
| 133 | value="0">无</option> | 133 | value="0">无</option> |
| 134 | <option <?= $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?> | 134 | <option <?= $clientInfoOutputVO && $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?> |
| 135 | value="1">有</option> | 135 | value="1">有</option> |
| 136 | </select> | 136 | </select> |
| 137 | </span> | 137 | </span> |
| ... | @@ -144,17 +144,17 @@ | ... | @@ -144,17 +144,17 @@ |
| 144 | <div class="info"> | 144 | <div class="info"> |
| 145 | <?php foreach ($this->session->dwellEnum as $k => $v): ?> | 145 | <?php foreach ($this->session->dwellEnum as $k => $v): ?> |
| 146 | <div class="live-info"> | 146 | <div class="live-info"> |
| 147 | <input type="checkbox" <?= $clientInfoOutputVO->dwellState == $k ? 'checked' : '' ?> | 147 | <input type="checkbox" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? 'checked' : '' ?> |
| 148 | name="dwellState"> | 148 | name="dwellState"> |
| 149 | <span><?= $v ?></span> | 149 | <span><?= $v ?></span> |
| 150 | <?php if ($k == 0): ?> | 150 | <?php if ($k == 0): ?> |
| 151 | <input type="text" <?= $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?> | 151 | <input type="text" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?> |
| 152 | class="input-decoration w-50 text-c" name="dwellDetail" value=""> 层 | 152 | class="input-decoration w-50 text-c" name="dwellDetail" value=""> 层 |
| 153 | <?php elseif ($k == 1): ?> | 153 | <?php elseif ($k == 1): ?> |
| 154 | <input type="text" <?= $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?> | 154 | <input type="text" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?> |
| 155 | name="dwellDetail" class="input-decoration w-50 text-c"> 万 | 155 | name="dwellDetail" class="input-decoration w-50 text-c"> 万 |
| 156 | <?php elseif ($k == 2): ?> | 156 | <?php elseif ($k == 2): ?> |
| 157 | <input type="text" <?= $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?> | 157 | <input type="text" <?= $clientInfoOutputVO && $clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : '' ?> |
| 158 | name="dwellDetail" class="input-decoration w-50 text-c"> 万 | 158 | name="dwellDetail" class="input-decoration w-50 text-c"> 万 |
| 159 | <?php endif; ?> | 159 | <?php endif; ?> |
| 160 | </div> | 160 | </div> |
| ... | @@ -194,7 +194,7 @@ | ... | @@ -194,7 +194,7 @@ |
| 194 | <div class="form-group col-sm-3 col-md-2"> | 194 | <div class="form-group col-sm-3 col-md-2"> |
| 195 | <label>手机</label> | 195 | <label>手机</label> |
| 196 | <input type="text" class="form-control input-text" | 196 | <input type="text" class="form-control input-text" |
| 197 | value="<?= $clientInfoOutputVO->phoneNumber ?>"> | 197 | value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->phoneNumber : '' ?>"> |
| 198 | </div> | 198 | </div> |
| 199 | <div class="form-group col-sm-3 col-md-2"> | 199 | <div class="form-group col-sm-3 col-md-2"> |
| 200 | <label>户口所在地</label> | 200 | <label>户口所在地</label> |
| ... | @@ -223,7 +223,7 @@ | ... | @@ -223,7 +223,7 @@ |
| 223 | <div class="form-group col-sm-6 col-md-4"> | 223 | <div class="form-group col-sm-6 col-md-4"> |
| 224 | <label>户口详细地址</label> | 224 | <label>户口详细地址</label> |
| 225 | <input type="text" class="form-control input-text" id="address" | 225 | <input type="text" class="form-control input-text" id="address" |
| 226 | value="<?= $clientInfoOutputVO->registerDetailAddress ?>"> | 226 | value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->registerDetailAddress : '' ?>"> |
| 227 | </div> | 227 | </div> |
| 228 | </div> | 228 | </div> |
| 229 | 229 | ||
| ... | @@ -231,7 +231,7 @@ | ... | @@ -231,7 +231,7 @@ |
| 231 | <div class="form-group col-sm-6 col-md-4"> | 231 | <div class="form-group col-sm-6 col-md-4"> |
| 232 | <label>现居住地址</label> | 232 | <label>现居住地址</label> |
| 233 | <input type="text" class="form-control input-text" | 233 | <input type="text" class="form-control input-text" |
| 234 | value="<?= $clientInfoOutputVO->currentAddress ?>"> | 234 | value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->currentAddress :'' ?>"> |
| 235 | </div> | 235 | </div> |
| 236 | </div> | 236 | </div> |
| 237 | </div> | 237 | </div> | ... | ... |
| ... | @@ -8,8 +8,8 @@ | ... | @@ -8,8 +8,8 @@ |
| 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> | 8 | <button class="btn btn-primary radius" type="button" onclick="$('#table').DataTable().draw()">提交搜索</button> |
| 9 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> | 9 | <input class="btn btn-warning radius" type="reset" value="重置搜索"> |
| 10 | 10 | ||
| 11 | <button class="btn btn-primary radius" type="button" onclick="pass(1)">批量通过</button> | 11 | <!-- <button class="btn btn-primary radius" type="button" onclick="pass(1)">批量通过</button>--> |
| 12 | <button class="btn btn-danger radius" type="button" onclick="refuse(1)">批量拒绝</button> | 12 | <!-- <button class="btn btn-danger radius" type="button" onclick="refuse(1)">批量拒绝</button>--> |
| 13 | </div> | 13 | </div> |
| 14 | </form> | 14 | </form> |
| 15 | 15 | ... | ... |
test.php
0 → 100644
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" | ||
| 8 | content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/> | ||
| 9 | <meta http-equiv="Cache-Control" content="no-siteapp"/> | ||
| 10 | <link rel="stylesheet" type="text/css" href="/resource/static/h-ui/css/H-ui.min.css"/> | ||
| 11 | |||
| 12 | <?php | ||
| 13 | if (isset($styles) && is_array($styles)) { | ||
| 14 | foreach ($styles as $style) { | ||
| 15 | echo '<link rel="stylesheet" type="text/css" href="' . $style . '" />'; | ||
| 16 | } | ||
| 17 | } | ||
| 18 | ?> | ||
| 19 | <meta name="keywords" content=""> | ||
| 20 | <meta name="description" content=""> | ||
| 21 | <title></title> | ||
| 22 | <script> | ||
| 23 | var apiBaseUrl = "http://151.28ms.com:8088/"; | ||
| 24 | </script> | ||
| 25 | </head> | ||
| 26 | |||
| 27 | <body> | ||
| 28 | |||
| 29 | |||
| 30 | <script type="text/javascript" src="/resource/lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 31 | |||
| 32 | |||
| 33 | <script> | ||
| 34 | $.ajax({ | ||
| 35 | type: "GET", | ||
| 36 | url: "http://test.smalldebit.club/api/Debit/GetUserDebitRecords?userId=7", | ||
| 37 | beforeSend: function (request) { | ||
| 38 | request.setRequestHeader("token", "926EE68FEF39A83EBFAAC7AF632A4737"); | ||
| 39 | }, | ||
| 40 | success: function (result) { | ||
| 41 | console.log(result); | ||
| 42 | } | ||
| 43 | }); | ||
| 44 | |||
| 45 | // $.get('http://test.smalldebit.club/api/Debit/GetUserDebitRecords?userId=7', function (d) { | ||
| 46 | // console.log(d) | ||
| 47 | // }); | ||
| 48 | |||
| 49 | </script> | ||
| 50 | |||
| 51 | </body> | ||
| 52 | |||
| 53 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment