优化表结构

This commit is contained in:
季圣华
2020-07-21 01:36:26 +08:00
parent 1393244160
commit 70f0dae473
104 changed files with 5005 additions and 9006 deletions

View File

@@ -42,7 +42,7 @@ function initSelectInfo(lei) {
}
//按钮权限列表
else if (lei == 3) {
var btnStr = userBusinessList[0].btnstr;
var btnStr = userBusinessList[0].btnStr;
if (btnStr != null) {
var btnObj = JSON.parse(btnStr);
for (var j = 0; j < btnObj.length; j++) {
@@ -71,10 +71,10 @@ if (btnStrList.length > 0) {
}
$.ajax({
type: "post",
url: "/functions/findMenu",
url: "/function/findMenu",
data: ({
pNumber: 0,
hasFunctions: functions
hasFunction: functions
}),
dataType: "json",
async: false,

View File

@@ -312,8 +312,8 @@
options += "<option value='many' class='many' data-manyAmount=''>多账户</option>";
for(var i = 0 ;i < accountList.length;i++) {
var account = accountList[i];
options += '<option value="' + account.id + '" data-currentAmount="' + account.currentamount + '">' + account.name + '</option>';
if(account.isdefault) {
options += '<option value="' + account.id + '" data-currentAmount="' + account.currentAmount + '">' + account.name + '</option>';
if(account.isDefault) {
defaultAccountId = account.id; //给账户赋值默认id
}
}