|
@@ -33,6 +33,26 @@
|
|
var dataList;
|
|
var dataList;
|
|
function doSubmit(obj){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
|
|
function doSubmit(obj){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
|
|
if(validateForm.form()){
|
|
if(validateForm.form()){
|
|
|
|
+
|
|
|
|
+ var info = false;
|
|
|
|
+ if(dataList == undefined){
|
|
|
|
+ dataList = ${fns:toJson(projectcontentinfo.projectReportData.projectReviewList)}
|
|
|
|
+ }
|
|
|
|
+ if (null!==dataList){
|
|
|
|
+ if (null != dataList){
|
|
|
|
+ for (var i=0; i<dataList.length; i++){
|
|
|
|
+ console.log($("#audit"+dataList[i].id).val())
|
|
|
|
+ if($("#audit"+dataList[i].id).val() == 0){
|
|
|
|
+ info = true;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if (info){
|
|
|
|
+ parent.layer.msg("请先确认质量符合内容!", {icon: 2});
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
var projectId = '${projectId}';
|
|
var projectId = '${projectId}';
|
|
var leng = $("#file_attachment tr").length;
|
|
var leng = $("#file_attachment tr").length;
|
|
var leng1 = $("#reportedConsultantList tr").length;
|
|
var leng1 = $("#reportedConsultantList tr").length;
|
|
@@ -46,102 +66,181 @@
|
|
parent.layer.msg("工作开始日期不得大于工作结束日期!", {icon: 5});
|
|
parent.layer.msg("工作开始日期不得大于工作结束日期!", {icon: 5});
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- if(null != projectStartDate && undefined != projectStartDate && '' != projectStartDate){
|
|
|
|
- if(startDate.getTime() > projectStartDate.getTime()){
|
|
|
|
- parent.layer.msg("工作结束日期不得大于工作计划最早结束时间!", {icon: 5});
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- if(null != projectEndDate && undefined != projectEndDate && '' != projectEndDate){
|
|
|
|
- if(endingDate.getTime() < projectEndDate.getTime()){
|
|
|
|
- parent.layer.msg("工作结束日期不得小于工作计划最晚开始时间!", {icon: 5});
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- var ziXunShouRu = $("#ziXunShouRu").val();
|
|
|
|
- if(null == ziXunShouRu || undefined == ziXunShouRu || '' == ziXunShouRu || parseFloat(ziXunShouRu)<=0){
|
|
|
|
- top.layer.msg("造价咨询营业收入必须大于0!", {icon: 0});
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
- if (leng1<=1){
|
|
|
|
- top.layer.msg("请添加咨询员信息!", {icon: 0});
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
- for(var i=0; i<leng; i++) {
|
|
|
|
- var numberStr = $("#file_attachment tr").eq(i).find("td:first").html();
|
|
|
|
- var second = $("#file_attachment tr").eq(i).find("td:eq(1)").html();
|
|
|
|
- var fileFlag = $("#file_attachment tr").eq(i).find("td:last").html();
|
|
|
|
- if(second == 1){
|
|
|
|
- if(numberStr != undefined && numberStr !=null && numberStr !=''){
|
|
|
|
- if (fileFlag==1){
|
|
|
|
-
|
|
|
|
- }else{
|
|
|
|
- top.layer.msg("请上传成果文件!", {icon: 0});
|
|
|
|
|
|
+ var newDate = new Date()
|
|
|
|
+ if(startDate.getTime() > newDate.getTime() || endingDate.getTime() < newDate.getTime()){
|
|
|
|
+
|
|
|
|
+ top.layer.open({
|
|
|
|
+ content: '质量复核日期不在工作开始结束日期之内,是否要修改工作开始结束日期?'
|
|
|
|
+ ,btn: ['是', '否']
|
|
|
|
+ ,yes: function(index, layero){
|
|
|
|
+ top.layer.close(index);//关闭对话框。
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ ,btn2: function(index, layero){
|
|
|
|
+ top.layer.close(index);//关闭对话框。
|
|
|
|
+ if(null != projectStartDate && undefined != projectStartDate && '' != projectStartDate){
|
|
|
|
+ if(startDate.getTime() > projectStartDate.getTime()){
|
|
|
|
+ parent.layer.msg("工作结束日期不得大于工作计划最早结束时间!", {icon: 5});
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if(null != projectEndDate && undefined != projectEndDate && '' != projectEndDate){
|
|
|
|
+ if(endingDate.getTime() < projectEndDate.getTime()){
|
|
|
|
+ parent.layer.msg("工作结束日期不得小于工作计划最晚开始时间!", {icon: 5});
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ var ziXunShouRu = $("#ziXunShouRu").val();
|
|
|
|
+ if(null == ziXunShouRu || undefined == ziXunShouRu || '' == ziXunShouRu || parseFloat(ziXunShouRu)<=0){
|
|
|
|
+ top.layer.msg("造价咨询营业收入必须大于0!", {icon: 0});
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- <%--$.ajax({--%>
|
|
|
|
- <%-- type: 'post',--%>
|
|
|
|
- <%-- url:'${ctx}/projectAccessoryRelation/projectAccessoryRelation/getAttachmentCount',--%>
|
|
|
|
- <%-- data: {"attachmentId":numberStr,"projectId":projectId},--%>
|
|
|
|
- <%-- dataType: "json",--%>
|
|
|
|
- <%-- async: false--%>
|
|
|
|
- <%--}).success(function (result) {--%>
|
|
|
|
- <%-- if(result == 0){--%>
|
|
|
|
- <%-- boolFlag = false;--%>
|
|
|
|
- <%-- top.layer.msg("请上传成果文件!", {icon: 0});--%>
|
|
|
|
- <%-- return false;--%>
|
|
|
|
- <%-- }--%>
|
|
|
|
- <%--}).error(function () {--%>
|
|
|
|
- <%-- top.layer.msg("文件载入失败!");--%>
|
|
|
|
- <%--});--%>
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- if(boolFlag){
|
|
|
|
- var gistdata = $("#file_gistdata tr").length;
|
|
|
|
- for(var i=0; i<gistdata; i++) {
|
|
|
|
- var numberStr = $("#file_gistdata tr").eq(i).find("td:first").html();
|
|
|
|
- var second = $("#file_gistdata tr").eq(i).find("td:eq(1)").html();
|
|
|
|
- var fileFlag = $("#file_gistdata tr").eq(i).find("td:last").html();
|
|
|
|
- if(second == 1){
|
|
|
|
- if(numberStr != undefined && numberStr !=null && numberStr !=''){
|
|
|
|
- if (fileFlag==1){
|
|
|
|
|
|
+ if (leng1<=1){
|
|
|
|
+ top.layer.msg("请添加咨询员信息!", {icon: 0});
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ for(var i=0; i<leng; i++) {
|
|
|
|
+ var numberStr = $("#file_attachment tr").eq(i).find("td:first").html();
|
|
|
|
+ var second = $("#file_attachment tr").eq(i).find("td:eq(1)").html();
|
|
|
|
+ var fileFlag = $("#file_attachment tr").eq(i).find("td:last").html();
|
|
|
|
+ if(second == 1){
|
|
|
|
+ if(numberStr != undefined && numberStr !=null && numberStr !=''){
|
|
|
|
+ if (fileFlag==1){
|
|
|
|
+
|
|
|
|
+ }else{
|
|
|
|
+ top.layer.msg("请上传成果文件!", {icon: 0});
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ <%--$.ajax({--%>
|
|
|
|
+ <%-- type: 'post',--%>
|
|
|
|
+ <%-- url:'${ctx}/projectAccessoryRelation/projectAccessoryRelation/getAttachmentCount',--%>
|
|
|
|
+ <%-- data: {"attachmentId":numberStr,"projectId":projectId},--%>
|
|
|
|
+ <%-- dataType: "json",--%>
|
|
|
|
+ <%-- async: false--%>
|
|
|
|
+ <%--}).success(function (result) {--%>
|
|
|
|
+ <%-- if(result == 0){--%>
|
|
|
|
+ <%-- boolFlag = false;--%>
|
|
|
|
+ <%-- top.layer.msg("请上传成果文件!", {icon: 0});--%>
|
|
|
|
+ <%-- return false;--%>
|
|
|
|
+ <%-- }--%>
|
|
|
|
+ <%--}).error(function () {--%>
|
|
|
|
+ <%-- top.layer.msg("文件载入失败!");--%>
|
|
|
|
+ <%--});--%>
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if(boolFlag){
|
|
|
|
+ var gistdata = $("#file_gistdata tr").length;
|
|
|
|
+ for(var i=0; i<gistdata; i++) {
|
|
|
|
+ var numberStr = $("#file_gistdata tr").eq(i).find("td:first").html();
|
|
|
|
+ var second = $("#file_gistdata tr").eq(i).find("td:eq(1)").html();
|
|
|
|
+ var fileFlag = $("#file_gistdata tr").eq(i).find("td:last").html();
|
|
|
|
+ if(second == 1){
|
|
|
|
+ if(numberStr != undefined && numberStr !=null && numberStr !=''){
|
|
|
|
+ if (fileFlag==1){
|
|
|
|
+
|
|
|
|
+ }else{
|
|
|
|
+ top.layer.msg("请上传依据性文件!", {icon: 0});
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ <%--$.ajax({--%>
|
|
|
|
+ <%-- type: 'post',--%>
|
|
|
|
+ <%-- url:'${ctx}/projectAccessoryRelation/projectAccessoryRelation/getAttachmentCount',--%>
|
|
|
|
+ <%-- data: {"attachmentId":numberStr,"projectId":projectId},--%>
|
|
|
|
+ <%-- dataType: "json",--%>
|
|
|
|
+ <%-- async: false--%>
|
|
|
|
+ <%--}).success(function (result) {--%>
|
|
|
|
+ <%-- if(result == 0){--%>
|
|
|
|
+ <%-- boolFlag = false;--%>
|
|
|
|
+ <%-- top.layer.msg("请上传依据性文件!", {icon: 0});--%>
|
|
|
|
+ <%-- return false;--%>
|
|
|
|
+ <%-- }--%>
|
|
|
|
+ <%--}).error(function () {--%>
|
|
|
|
+ <%-- top.layer.msg("文件载入失败!");--%>
|
|
|
|
+ <%--});--%>
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if(boolFlag){
|
|
|
|
+ var other = $("#file_other tr").length;
|
|
|
|
+ for(var i=0; i<other; i++) {
|
|
|
|
+ var numberStr = $("#file_other tr").eq(i).find("td:first").html();
|
|
|
|
+ var second = $("#file_other tr").eq(i).find("td:eq(1)").html(); var fileFlag = $("#file_gistdata tr").eq(i).find("td:last").html();
|
|
|
|
+ var fileFlag = $("#file_other tr").eq(i).find("td:last").html();
|
|
|
|
+ if(second == 1){
|
|
|
|
+ if(numberStr != undefined && numberStr !=null && numberStr !=''){
|
|
|
|
+ if (fileFlag==1){
|
|
|
|
+
|
|
|
|
+ }else{
|
|
|
|
+ top.layer.msg("请上传其它文件!", {icon: 0});
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ <%--$.ajax({--%>
|
|
|
|
+ <%-- type: 'post',--%>
|
|
|
|
+ <%-- url:'${ctx}/projectAccessoryRelation/projectAccessoryRelation/getAttachmentCount',--%>
|
|
|
|
+ <%-- data: {"attachmentId":numberStr,"projectId":projectId},--%>
|
|
|
|
+ <%-- dataType: "json",--%>
|
|
|
|
+ <%-- async: false--%>
|
|
|
|
+ <%--}).success(function (result) {--%>
|
|
|
|
+ <%-- if(result == 0){--%>
|
|
|
|
+ <%-- boolFlag = false;--%>
|
|
|
|
+ <%-- top.layer.msg("请上传其他文件!", {icon: 0});--%>
|
|
|
|
+ <%-- return false;--%>
|
|
|
|
+ <%-- }--%>
|
|
|
|
+ <%--}).error(function () {--%>
|
|
|
|
+ <%-- top.layer.msg("文件载入失败!");--%>
|
|
|
|
+ <%--});--%>
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
|
|
+ if(boolFlag){
|
|
|
|
+ if(obj == 1){
|
|
|
|
+ $("#inputForm").attr("action","${ctx}/ruralProject/ruralCostProjectMessageNew/reportAudit");
|
|
}else{
|
|
}else{
|
|
- top.layer.msg("请上传依据性文件!", {icon: 0});
|
|
|
|
- return false;
|
|
|
|
|
|
+ $("#inputForm").attr("action","${ctx}/ruralProject/ruralCostProjectMessageNew/reportAudit");
|
|
}
|
|
}
|
|
- <%--$.ajax({--%>
|
|
|
|
- <%-- type: 'post',--%>
|
|
|
|
- <%-- url:'${ctx}/projectAccessoryRelation/projectAccessoryRelation/getAttachmentCount',--%>
|
|
|
|
- <%-- data: {"attachmentId":numberStr,"projectId":projectId},--%>
|
|
|
|
- <%-- dataType: "json",--%>
|
|
|
|
- <%-- async: false--%>
|
|
|
|
- <%--}).success(function (result) {--%>
|
|
|
|
- <%-- if(result == 0){--%>
|
|
|
|
- <%-- boolFlag = false;--%>
|
|
|
|
- <%-- top.layer.msg("请上传依据性文件!", {icon: 0});--%>
|
|
|
|
- <%-- return false;--%>
|
|
|
|
- <%-- }--%>
|
|
|
|
- <%--}).error(function () {--%>
|
|
|
|
- <%-- top.layer.msg("文件载入失败!");--%>
|
|
|
|
- <%--});--%>
|
|
|
|
|
|
+ $("#inputForm").submit();
|
|
|
|
+ top.layer.closeAll();//关闭对话框。
|
|
|
|
+ return true;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ }else{
|
|
|
|
+ if(null != projectStartDate && undefined != projectStartDate && '' != projectStartDate){
|
|
|
|
+ if(startDate.getTime() > projectStartDate.getTime()){
|
|
|
|
+ parent.layer.msg("工作结束日期不得大于工作计划最早结束时间!", {icon: 5});
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- }
|
|
|
|
- if(boolFlag){
|
|
|
|
- var other = $("#file_other tr").length;
|
|
|
|
- for(var i=0; i<other; i++) {
|
|
|
|
- var numberStr = $("#file_other tr").eq(i).find("td:first").html();
|
|
|
|
- var second = $("#file_other tr").eq(i).find("td:eq(1)").html(); var fileFlag = $("#file_gistdata tr").eq(i).find("td:last").html();
|
|
|
|
- var fileFlag = $("#file_other tr").eq(i).find("td:last").html();
|
|
|
|
|
|
+ if(null != projectEndDate && undefined != projectEndDate && '' != projectEndDate){
|
|
|
|
+ if(endingDate.getTime() < projectEndDate.getTime()){
|
|
|
|
+ parent.layer.msg("工作结束日期不得小于工作计划最晚开始时间!", {icon: 5});
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ var ziXunShouRu = $("#ziXunShouRu").val();
|
|
|
|
+ if(null == ziXunShouRu || undefined == ziXunShouRu || '' == ziXunShouRu || parseFloat(ziXunShouRu)<=0){
|
|
|
|
+ top.layer.msg("造价咨询营业收入必须大于0!", {icon: 0});
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ if (leng1<=1){
|
|
|
|
+ top.layer.msg("请添加咨询员信息!", {icon: 0});
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ for(var i=0; i<leng; i++) {
|
|
|
|
+ var numberStr = $("#file_attachment tr").eq(i).find("td:first").html();
|
|
|
|
+ var second = $("#file_attachment tr").eq(i).find("td:eq(1)").html();
|
|
|
|
+ var fileFlag = $("#file_attachment tr").eq(i).find("td:last").html();
|
|
if(second == 1){
|
|
if(second == 1){
|
|
if(numberStr != undefined && numberStr !=null && numberStr !=''){
|
|
if(numberStr != undefined && numberStr !=null && numberStr !=''){
|
|
if (fileFlag==1){
|
|
if (fileFlag==1){
|
|
|
|
|
|
}else{
|
|
}else{
|
|
- top.layer.msg("请上传其它文件!", {icon: 0});
|
|
|
|
|
|
+ top.layer.msg("请上传成果文件!", {icon: 0});
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
<%--$.ajax({--%>
|
|
<%--$.ajax({--%>
|
|
@@ -153,7 +252,7 @@
|
|
<%--}).success(function (result) {--%>
|
|
<%--}).success(function (result) {--%>
|
|
<%-- if(result == 0){--%>
|
|
<%-- if(result == 0){--%>
|
|
<%-- boolFlag = false;--%>
|
|
<%-- boolFlag = false;--%>
|
|
- <%-- top.layer.msg("请上传其他文件!", {icon: 0});--%>
|
|
|
|
|
|
+ <%-- top.layer.msg("请上传成果文件!", {icon: 0});--%>
|
|
<%-- return false;--%>
|
|
<%-- return false;--%>
|
|
<%-- }--%>
|
|
<%-- }--%>
|
|
<%--}).error(function () {--%>
|
|
<%--}).error(function () {--%>
|
|
@@ -162,34 +261,83 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- }
|
|
|
|
- var info = false;
|
|
|
|
- if(dataList == undefined){
|
|
|
|
- dataList = ${fns:toJson(projectcontentinfo.projectReportData.projectReviewList)}
|
|
|
|
- }
|
|
|
|
- if (null!==dataList){
|
|
|
|
- if (null != dataList){
|
|
|
|
- for (var i=0; i<dataList.length; i++){
|
|
|
|
- console.log($("#audit"+dataList[i].id).val())
|
|
|
|
- if($("#audit"+dataList[i].id).val() == 0){
|
|
|
|
- info = true;
|
|
|
|
|
|
+ if(boolFlag){
|
|
|
|
+ var gistdata = $("#file_gistdata tr").length;
|
|
|
|
+ for(var i=0; i<gistdata; i++) {
|
|
|
|
+ var numberStr = $("#file_gistdata tr").eq(i).find("td:first").html();
|
|
|
|
+ var second = $("#file_gistdata tr").eq(i).find("td:eq(1)").html();
|
|
|
|
+ var fileFlag = $("#file_gistdata tr").eq(i).find("td:last").html();
|
|
|
|
+ if(second == 1){
|
|
|
|
+ if(numberStr != undefined && numberStr !=null && numberStr !=''){
|
|
|
|
+ if (fileFlag==1){
|
|
|
|
+
|
|
|
|
+ }else{
|
|
|
|
+ top.layer.msg("请上传依据性文件!", {icon: 0});
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ <%--$.ajax({--%>
|
|
|
|
+ <%-- type: 'post',--%>
|
|
|
|
+ <%-- url:'${ctx}/projectAccessoryRelation/projectAccessoryRelation/getAttachmentCount',--%>
|
|
|
|
+ <%-- data: {"attachmentId":numberStr,"projectId":projectId},--%>
|
|
|
|
+ <%-- dataType: "json",--%>
|
|
|
|
+ <%-- async: false--%>
|
|
|
|
+ <%--}).success(function (result) {--%>
|
|
|
|
+ <%-- if(result == 0){--%>
|
|
|
|
+ <%-- boolFlag = false;--%>
|
|
|
|
+ <%-- top.layer.msg("请上传依据性文件!", {icon: 0});--%>
|
|
|
|
+ <%-- return false;--%>
|
|
|
|
+ <%-- }--%>
|
|
|
|
+ <%--}).error(function () {--%>
|
|
|
|
+ <%-- top.layer.msg("文件载入失败!");--%>
|
|
|
|
+ <%--});--%>
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (info){
|
|
|
|
- parent.layer.msg("请先确认质量符合内容!", {icon: 2});
|
|
|
|
- return false;
|
|
|
|
|
|
+ }
|
|
|
|
+ if(boolFlag){
|
|
|
|
+ var other = $("#file_other tr").length;
|
|
|
|
+ for(var i=0; i<other; i++) {
|
|
|
|
+ var numberStr = $("#file_other tr").eq(i).find("td:first").html();
|
|
|
|
+ var second = $("#file_other tr").eq(i).find("td:eq(1)").html(); var fileFlag = $("#file_gistdata tr").eq(i).find("td:last").html();
|
|
|
|
+ var fileFlag = $("#file_other tr").eq(i).find("td:last").html();
|
|
|
|
+ if(second == 1){
|
|
|
|
+ if(numberStr != undefined && numberStr !=null && numberStr !=''){
|
|
|
|
+ if (fileFlag==1){
|
|
|
|
+
|
|
|
|
+ }else{
|
|
|
|
+ top.layer.msg("请上传其它文件!", {icon: 0});
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ <%--$.ajax({--%>
|
|
|
|
+ <%-- type: 'post',--%>
|
|
|
|
+ <%-- url:'${ctx}/projectAccessoryRelation/projectAccessoryRelation/getAttachmentCount',--%>
|
|
|
|
+ <%-- data: {"attachmentId":numberStr,"projectId":projectId},--%>
|
|
|
|
+ <%-- dataType: "json",--%>
|
|
|
|
+ <%-- async: false--%>
|
|
|
|
+ <%--}).success(function (result) {--%>
|
|
|
|
+ <%-- if(result == 0){--%>
|
|
|
|
+ <%-- boolFlag = false;--%>
|
|
|
|
+ <%-- top.layer.msg("请上传其他文件!", {icon: 0});--%>
|
|
|
|
+ <%-- return false;--%>
|
|
|
|
+ <%-- }--%>
|
|
|
|
+ <%--}).error(function () {--%>
|
|
|
|
+ <%-- top.layer.msg("文件载入失败!");--%>
|
|
|
|
+ <%--});--%>
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
|
|
- if(boolFlag){
|
|
|
|
- if(obj == 1){
|
|
|
|
- $("#inputForm").attr("action","${ctx}/ruralProject/ruralCostProjectMessageNew/reportAudit");
|
|
|
|
- }else{
|
|
|
|
- $("#inputForm").attr("action","${ctx}/ruralProject/ruralCostProjectMessageNew/reportAudit");
|
|
|
|
|
|
+ if(boolFlag){
|
|
|
|
+ if(obj == 1){
|
|
|
|
+ $("#inputForm").attr("action","${ctx}/ruralProject/ruralCostProjectMessageNew/reportAudit");
|
|
|
|
+ }else{
|
|
|
|
+ $("#inputForm").attr("action","${ctx}/ruralProject/ruralCostProjectMessageNew/reportAudit");
|
|
|
|
+ }
|
|
|
|
+ $("#inputForm").submit();
|
|
|
|
+ top.layer.closeAll();//关闭对话框。
|
|
|
|
+ return true;
|
|
}
|
|
}
|
|
- $("#inputForm").submit();
|
|
|
|
- return true;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|