删除teacher应用

This commit is contained in:
强哥 committed 2021-10-11 15:36:08 +08:00
1 parent 6674226574
commit 8dbf23899c
19 files changed
+52 -1985

No files matched your search

+18 -16
View File
@@ -151,22 +151,24 @@
// 初始化系统
function resetMayi() {
layer.confirm('初始化系统会删除原来的数据,确定要继续操作吗?', { btn: ['我确定要继续删除!', '我再想想'] }, function(index) {
$.ajax({
url: '/system/reset',
type: 'POST',
dataType: 'json',
success: function(result) {
// 弹出提示
layer.msg(result.msg);
},
error: function(xhr, status, error) {
layer.msg('数据处理错误', {
icon: 2,
time: 2000 //2秒关闭(如果不配置,默认是3秒)
});
}
});
});
$.ajax({
url: '/system/reset',
type: 'POST',
dataType: 'json',
success: function(result) {
// 弹出提示
layer.msg(result.msg);
},
error: function(xhr, status, error) {
layer.msg('数据处理错误', {
icon: 2,
time: 2000 //2秒关闭(如果不配置,默认是3秒)
});
}
});
},
function (){}
)
return false;
}