ec8d3f8b by 杨建斌

init

1 parent 3bd938b3
...@@ -182,11 +182,21 @@ class Work extends CI_Controller ...@@ -182,11 +182,21 @@ class Work extends CI_Controller
182 if (!$ret->applyOrderVO) { 182 if (!$ret->applyOrderVO) {
183 $ret->applyOrderVO = array(); 183 $ret->applyOrderVO = array();
184 } 184 }
185
186 $url2 = $this->config->item('apiBaseUrl') . 'audit/creditReport/' . $id;
187 $result2 = file_get_contents($url2);
188 $json2 = json_decode($result2);
189 $ret2 = $json2->data;
190 $credit = (object) array();
191 if ($ret2) {
192 $credit = $ret2;
193 }
185 $data = array( 194 $data = array(
186 'clientInfoOutputVO' => $ret->clientInfoOutputVO, 195 'clientInfoOutputVO' => $ret->clientInfoOutputVO,
187 'clientUnitOutputVO' => $ret->clientUnitOutputVO, 196 'clientUnitOutputVO' => $ret->clientUnitOutputVO,
188 'clientContactOutputVOS' => $ret->clientContactOutputVOS, 197 'clientContactOutputVOS' => $ret->clientContactOutputVOS,
189 'applyOrderVO' => $ret->applyOrderVO, 198 'applyOrderVO' => $ret->applyOrderVO,
199 'credit'=> $credit,
190 'id' => $id 200 'id' => $id
191 ); 201 );
192 } 202 }
......
...@@ -119,22 +119,22 @@ ...@@ -119,22 +119,22 @@
119 <div class="row cl"> 119 <div class="row cl">
120 <div class="form-group has-feedback col-sm-3 col-md-2"> 120 <div class="form-group has-feedback col-sm-3 col-md-2">
121 <label>M1</label> 121 <label>M1</label>
122 <input type="text" class="form-control input-text" name="creditCardMOne" value=""> 122 <input type="text" class="form-control input-text" name="creditCardMOne" value="<?=$credit ? $credit->threeMOne : ''?>">
123 <span class="glyphicon form-control-feedback" aria-hidden="true"></span> 123 <span class="glyphicon form-control-feedback" aria-hidden="true"></span>
124 </div> 124 </div>
125 <div class="form-group has-feedback col-sm-3 col-md-2"> 125 <div class="form-group has-feedback col-sm-3 col-md-2">
126 <label>M2</label> 126 <label>M2</label>
127 <input type="text" class="form-control input-text" name="creditCardMTwo" value=""> 127 <input type="text" class="form-control input-text" name="creditCardMTwo" value="<?=$credit ? $credit->threeMTwo : ''?>">
128 <span class="glyphicon form-control-feedback" aria-hidden="true"></span> 128 <span class="glyphicon form-control-feedback" aria-hidden="true"></span>
129 </div> 129 </div>
130 <div class="form-group has-feedback col-sm-3 col-md-2"> 130 <div class="form-group has-feedback col-sm-3 col-md-2">
131 <label>M3</label> 131 <label>M3</label>
132 <input type="text" class="form-control input-text" name="creditCardMThree" value=""> 132 <input type="text" class="form-control input-text" name="creditCardMThree" value="<?=$credit ? $credit->threeMThree : ''?>">
133 <span class="glyphicon form-control-feedback" aria-hidden="true"></span> 133 <span class="glyphicon form-control-feedback" aria-hidden="true"></span>
134 </div> 134 </div>
135 <div class="form-group has-feedback col-sm-3 col-md-2"> 135 <div class="form-group has-feedback col-sm-3 col-md-2">
136 <label>M7</label> 136 <label>M7</label>
137 <input type="text" class="form-control input-text" name="creditCardMSeven" value=""> 137 <input type="text" class="form-control input-text" name="creditCardMSeven" value="<?=$credit ? $credit->threeMSeven : ''?>">
138 <span class="glyphicon form-control-feedback" aria-hidden="true"></span> 138 <span class="glyphicon form-control-feedback" aria-hidden="true"></span>
139 </div> 139 </div>
140 </div> 140 </div>
...@@ -147,31 +147,31 @@ ...@@ -147,31 +147,31 @@
147 <div class="row cl"> 147 <div class="row cl">
148 <div class="form-group col-sm-6 col-md-6"> 148 <div class="form-group col-sm-6 col-md-6">
149 <label>贷款</label> 149 <label>贷款</label>
150 <input type="text" name="threeMonthLoan" class="form-control input-text" value=""> 150 <input type="text" name="threeMonthLoan" class="form-control input-text" value="<?=$credit ? $credit->threeMonthLoan : ''?>">
151 </div> 151 </div>
152 </div> 152 </div>
153 <div class="row cl"> 153 <div class="row cl">
154 <div class="form-group col-sm-6 col-md-6"> 154 <div class="form-group col-sm-6 col-md-6">
155 <label>信用卡</label> 155 <label>信用卡</label>
156 <input type="text" name="threeMonthCreditCard" class="form-control input-text" value=""> 156 <input type="text" name="threeMonthCreditCard" class="form-control input-text" value="<?=$credit ? $credit->threeMonthCreditCard : ''?>">
157 </div> 157 </div>
158 </div> 158 </div>
159 <div class="row cl"> 159 <div class="row cl">
160 <div class="form-group col-sm-6 col-md-6"> 160 <div class="form-group col-sm-6 col-md-6">
161 <label>担保</label> 161 <label>担保</label>
162 <input type="text" name="threeMonthGuarantee" class="form-control input-text" value=""> 162 <input type="text" name="threeMonthGuarantee" class="form-control input-text" value="<?=$credit ? $credit->threeMonthGuarantee : ''?>">
163 </div> 163 </div>
164 </div> 164 </div>
165 <div class="row cl"> 165 <div class="row cl">
166 <div class="form-group col-sm-6 col-md-6"> 166 <div class="form-group col-sm-6 col-md-6">
167 <label>保前</label> 167 <label>保前</label>
168 <input type="text" name="threeMonthGuaranteeBefore" class="form-control input-text" value=""> 168 <input type="text" name="threeMonthGuaranteeBefore" class="form-control input-text" value="<?=$credit ? $credit->threeMonthGuaranteeBefore : ''?>">
169 </div> 169 </div>
170 </div> 170 </div>
171 <div class="row cl"> 171 <div class="row cl">
172 <div class="form-group col-sm-6 col-md-6"> 172 <div class="form-group col-sm-6 col-md-6">
173 <label>个人查询</label> 173 <label>个人查询</label>
174 <input type="text" name="threeMonthPersonage" class="form-control input-text" value=""> 174 <input type="text" name="threeMonthPersonage" class="form-control input-text" value="<?=$credit ? $credit->threeMonthPersonage : ''?>">
175 </div> 175 </div>
176 </div> 176 </div>
177 </div> 177 </div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!