1、修改Mysql线程池逻辑

2、新增数据表信息查询接口
3、优化前端代码逻辑
4、新增业面业务功能提示信息窗口
This commit is contained in:
2019-04-10 16:32:13 +08:00
parent abc220eb35
commit 9623b70875
50 changed files with 1197 additions and 1195 deletions

View File

@@ -120,8 +120,30 @@
},
methods: {
loginCheck: function ({username, pwd}) {
login({username, pwd}, function (json) {
login({username, pwd}) {
login({username, pwd}).then(res => {
console.log(res)
platList().then(res => {
let rows = res.rows
console.log(rows)
red.showMsg({msg:"请选择业务平台"})
this.sysPlats = rows;
if (!this.sysPlat) {
this.sysPlat = rows[0];
}
red.setData("sysPlats", rows);
red.setData('userName', username)
setTimeout(function () {
vm.choose = true;
}, 500);
})
})
},
/*loginCheck: function ({username, pwd}) {
/!*login({username, pwd}, function (json) {
if (json.code == 0) {
platList().then(res => {
let rows = res.rows
@@ -139,12 +161,12 @@
} else {
red.showMsg({msg: json.message})
}
});
},
});*!/
},*/
/*loadPlats: function () {
var para = {
doc:"sys_plat",
shows: JSON.stringify(["_id", "_key", "name", "token","remark", "status"])
shows: JSON.stringify(["_id", "_key", "field", "token","remark", "status"])
};
red.getJSON("/meta/plat_list", {}, function (json) {
vm.sysPlats = json;
@@ -166,7 +188,7 @@
$('body').bind('keyup', function(event) {
if (event.keyCode == "13") {
if (!vm.choose) {
vm.loginCheck(vm.row);
vm.login(vm.row);
} else {
vm.goIndex();
}