班组注册

This commit is contained in:
lSun 2025-08-20 17:09:43 +08:00
parent 609de79fec
commit 8c6b3a6a55
1 changed files with 16 additions and 11 deletions

View File

@ -58,18 +58,23 @@ function setParams(id,index,title){
},
})
//查询数据
$.ajax({
url: `${ctxPath}` + '/organizational/getRegisterTeamGroup?id=' + id,
type: 'GET',
dataType: "JSON",
success: function (result) {
$("#id").val(id)
if (result.res === 1) {
setFormData(result.obj);
setTimeout(function() {
//查询数据
$.ajax({
url: `${ctxPath}` + '/organizational/getRegisterTeamGroup?id=' + id,
type: 'GET',
dataType: "JSON",
success: function (result) {
$("#id").val(id)
if (result.res === 1) {
setFormData(result.obj);
}
}
}
});
});
}, 300);
//回显数据
function setFormData(data) {