...
|
...
|
@@ -52,7 +52,7 @@ |
|
|
|
|
|
</div>
|
|
|
<div class="modal-footer">
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal" id="guanbi">关闭</button>
|
|
|
<button type="button" class="btn btn-primary" onclick="bianji()">提交更改</button>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -67,6 +67,7 @@ |
|
|
weidu = $("input[name='weidu']").val();
|
|
|
$.post("{:url('Ditu/dupdata')}", {name:name,jingdu,jingdu,weidu,weidu}, function(data) {
|
|
|
if(data){
|
|
|
$('#guanbi').trigger('click');
|
|
|
alert('修改成功');
|
|
|
}else{
|
|
|
alert('修改失败');
|
...
|
...
|
|