...
|
...
|
@@ -12,7 +12,7 @@ |
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<tr id="ggg">
|
|
|
<td>{$data.name}</td>
|
|
|
<td>{$data.jingdu}</td>
|
|
|
<td>{$data.weidu}</td>
|
...
|
...
|
@@ -68,7 +68,7 @@ |
|
|
$.post("{:url('Ditu/dupdata')}", {name:name,jingdu,jingdu,weidu,weidu}, function(data) {
|
|
|
if(data){
|
|
|
$('#guanbi').trigger('click');
|
|
|
alert('修改成功');
|
|
|
$('#ggg').html("<td>"+name+"</td><td>"+jingdu+"</td><td>"+weidu+"</td><td><button type='button' class='btn btn-default' data-toggle='modal' data-target='#myModal'>编辑</button></td>");
|
|
|
}else{
|
|
|
alert('修改失败');
|
|
|
}
|
...
|
...
|
|