Merge branch 'zentaopms_284' of https://gitlab.zcorp.cc/easycorp/zentaopms into zentaopms_284

This commit is contained in:
hufangzhou
2023-01-30 17:15:06 +08:00
+3 -3
View File
@@ -223,15 +223,15 @@ function subString(title, stringLength)
*/
function loadProjectExecutions(projectID)
{
$.get(createLink('execution', 'ajaxGetCopyProjectExecutions', 'projectID=' + projectID + '&$copyExecutionID' + copyExecutionID), function(data)
$.get(createLink('execution', 'ajaxGetCopyProjectExecutions', 'projectID=' + projectID), function(data)
{
if(data != '[]')
{
$('.alert').replaceWith("<div id='copyProjects' class='row'>");
$('#copyProjectModal .alert').replaceWith("<div id='copyProjects' class='row'>");
$("#copyProjects > div[data-id != '']").remove();
$(".model-body").remove();
var data = JSON.parse(data);
if(copyExecutionID != 0 )
if(copyExecutionID != 0)
{
$('#copyProjects').append("<div class='col-md-4 col-sm-6'><a href='javascript:;' data-id='' class='cancel'><i class='icon-ban-circle'></i>" + cancelCopy + "</a></div>");
}