班组注册

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({ setTimeout(function() {
url: `${ctxPath}` + '/organizational/getRegisterTeamGroup?id=' + id, //查询数据
type: 'GET', $.ajax({
dataType: "JSON", url: `${ctxPath}` + '/organizational/getRegisterTeamGroup?id=' + id,
success: function (result) { type: 'GET',
$("#id").val(id) dataType: "JSON",
if (result.res === 1) { success: function (result) {
setFormData(result.obj); $("#id").val(id)
if (result.res === 1) {
setFormData(result.obj);
}
} }
} });
}); }, 300);
//回显数据 //回显数据
function setFormData(data) { function setFormData(data) {