check js bugs

This commit is contained in:
yubaolee
2016-05-26 10:30:15 +08:00
parent e5a3f4e4f6
commit 0c8399cbc4
13 changed files with 78 additions and 52 deletions

View File

@@ -23,6 +23,7 @@ $(document).ready(function () {
firstId: $('#firstId').val(),
secIds: ids
}, function (json) {
json = $.parseJSON(json);
if (json.statusCode != "200") {
json = $.parseJSON(json);
$(this).alertmsg('warn', json.message);
@@ -40,6 +41,7 @@ $(document).ready(function () {
firstId: $('#firstId').val(),
secIds: ids
}, function (json) {
json = $.parseJSON(json);
if (json.statusCode != "200") {
json = $.parseJSON(json);
$(this).alertmsg('warn', json.message);

View File

@@ -23,6 +23,7 @@ $(document).ready(function () {
firstId: $('#firstId').val(),
secIds: ids
}, function (json) {
json = $.parseJSON(json);
if (json.statusCode != "200") {
json = $.parseJSON(json);
$(this).alertmsg('warn', json.message);
@@ -40,6 +41,7 @@ $(document).ready(function () {
firstId: $('#firstId').val(),
secIds: ids
}, function (json) {
json = $.parseJSON(json);
if (json.statusCode != "200") {
json = $.parseJSON(json);
$(this).alertmsg('warn', json.message);

View File

@@ -23,6 +23,7 @@ $(document).ready(function () {
firstId: $('#firstId').val(),
secIds: ids
}, function (json) {
json = $.parseJSON(json);
if (json.statusCode != "200") {
json = $.parseJSON(json);
$(this).alertmsg('warn', json.message);
@@ -40,6 +41,7 @@ $(document).ready(function () {
firstId: $('#firstId').val(),
secIds: ids
}, function (json) {
json = $.parseJSON(json);
if (json.statusCode != "200") {
json = $.parseJSON(json);
$(this).alertmsg('warn', json.message);

View File

@@ -189,7 +189,6 @@ var editDlg = function () {
show();
$('#Id').val(ret.Id);
$('#Account').val(ret.Account);
$('#Password').val(ret.Password);
$('#Name').val(ret.Name);
$('#Sex').selectpicker('val', ret.Sex);
$('#Status').selectpicker('val', ret.Status);
@@ -208,7 +207,6 @@ var editDlg = function () {
return;
}
list.reload();
ztree.reload();
}
});
});

View File

@@ -234,7 +234,7 @@
</div>
<div class="bottom">
可以用admin(密码:admin) /test(密码:test) 查看不同账号登陆情况<br>
Copyright &copy; 2015 <a href="/Login/LoginByDev">基于典DDD的权限管理 - 点击以开发者账号登录</a>
Copyright &copy; 2015 <a href="/Login/LoginByDev">基于典DDD的权限管理 - 点击以开发者账号登录</a>
</div>
</div>
</body>

View File

@@ -23,7 +23,7 @@
</fieldset>
<!--已经选中的列表-->
<fieldset style="height: auto;margin-left: 310px; width: 280px">
<fieldset style="height: auto;margin-left: 300px; width: 280px">
<legend>已分配的模块</legend>
<ul id="selected" class="ztree"></ul>
</fieldset>

View File

@@ -23,7 +23,7 @@
</fieldset>
<!--已经选中的列表-->
<fieldset style="height: auto;margin-left: 310px; width: 280px">
<fieldset style="height: auto;margin-left: 300px; width: 280px">
<legend>已分配的机构</legend>
<ul id="selected" class="ztree"></ul>
</fieldset>

View File

@@ -22,7 +22,6 @@
<table class="table table-condensed table-hover">
<tbody>
<input type="text" id="Id" name="Id" value="" class="hidden"/>
<input type="text" id="Password" name="Password" class="hidden" />
<tr>
<td>
<label for="Account" class="control-label x120">账号:</label>