...
|
...
|
@@ -43,7 +43,7 @@ |
|
|
<input type="text" class="form-control" name="phone" disabled="disabled">
|
|
|
</div>
|
|
|
<br>
|
|
|
<textarea rows="10" cols="89" disabled="disabled">
|
|
|
<textarea rows="10" cols="89" disabled="disabled" id='content'>
|
|
|
|
|
|
</textarea>
|
|
|
</div>
|
...
|
...
|
@@ -60,7 +60,9 @@ |
|
|
$.post("{:url('Contacts/consel')}", {id:id}, function(data) {
|
|
|
if(data){
|
|
|
shuju = JSON.parse(data);
|
|
|
|
|
|
$("input[name='name']").val(shuju.name);
|
|
|
$("input[name='phone']").val(shuju.phone);
|
|
|
$("#content").val(shuju.content);
|
|
|
}else{
|
|
|
alert('查询错误');
|
|
|
}
|
...
|
...
|
|