') {
        alert("请选择应用");
        return;
      }

      nodes = $('#scan_instance-select').selectpicker('val');
      size = $('#scan_size-select').selectpicker('val');
      params.push($('#scan-pattern').val());
      params.push(size);
    }
    $.post(
            '${request.contextPath}/manage/app/tool/diagnostic/submit.json',
            {
              type: type,
              appId: appId,
              nodes: nodes == null ? "" : nodes.toString(),
              params: params.toStrin