参考大佬文章:107
数据库
js函数–login_show
function login_show() {
//显示蒙层,设置好蒙层的层级关系在调试层下,在其他元素之上
document.getElementById('mengceng').style.display = 'block';
document.getElementById('mengceng').style.zIndex = '998';
document.getElementById('login_set_div').style.zIndex = '999';
document.getElementById('login_set_div').style.display = 'block';
$.get('/project_get_login/', {
"project_id":{
{
project.id}}
}, function (ret) {
console.log(ret);
// 运行第三方表格插件的函数:
$('#login_mytable').SetEditable({
$addButton: $('#login_add'),
});
$('#login_mytable2').SetEditable({
$addButton: $('#login_add2')