|
@@ -1738,6 +1738,7 @@ export default {
|
|
duration: 2000
|
|
duration: 2000
|
|
});
|
|
});
|
|
ok = false;
|
|
ok = false;
|
|
|
|
+
|
|
}
|
|
}
|
|
if (item === 'LAND_CERTIFICATE' && !this.target.landCertificate) {
|
|
if (item === 'LAND_CERTIFICATE' && !this.target.landCertificate) {
|
|
this.$notify({
|
|
this.$notify({
|
|
@@ -1747,6 +1748,7 @@ export default {
|
|
duration: 2000
|
|
duration: 2000
|
|
});
|
|
});
|
|
ok = false;
|
|
ok = false;
|
|
|
|
+
|
|
}
|
|
}
|
|
if (item === 'IMMOVABLE_CERTIFICATE' && !this.target.immovableCertificate) {
|
|
if (item === 'IMMOVABLE_CERTIFICATE' && !this.target.immovableCertificate) {
|
|
this.$notify({
|
|
this.$notify({
|
|
@@ -1756,8 +1758,25 @@ export default {
|
|
duration: 2000
|
|
duration: 2000
|
|
});
|
|
});
|
|
ok = false;
|
|
ok = false;
|
|
|
|
+
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ if (!ok){
|
|
|
|
+ verify.state = false;
|
|
|
|
+ callback(verify);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (this.compareList.calculateId==null || this.compareList.targetId==null){
|
|
|
|
+ this.$notify({
|
|
|
|
+ title: '提示',
|
|
|
|
+ message: '请先完成可比实例表。',
|
|
|
|
+ type: 'error',
|
|
|
|
+ duration: 2000
|
|
|
|
+ });
|
|
|
|
+ verify.state = false;
|
|
|
|
+ callback(verify);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
if (ok && nodeCode === 'GENERATE_STATEMENT' && (this.statementProd == null || this.statementProd.files.length === 0)) {
|
|
if (ok && nodeCode === 'GENERATE_STATEMENT' && (this.statementProd == null || this.statementProd.files.length === 0)) {
|
|
this.$notify({
|
|
this.$notify({
|
|
title: '提示',
|
|
title: '提示',
|
|
@@ -1766,6 +1785,8 @@ export default {
|
|
duration: 2000
|
|
duration: 2000
|
|
});
|
|
});
|
|
verify.state = false;
|
|
verify.state = false;
|
|
|
|
+ callback(verify);
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
if (ok && nodeCode === 'WRITE_REPORT' && (this.technicReportProd == null || this.technicReportProd.files.length === 0)) {
|
|
if (ok && nodeCode === 'WRITE_REPORT' && (this.technicReportProd == null || this.technicReportProd.files.length === 0)) {
|
|
this.$notify({
|
|
this.$notify({
|
|
@@ -1775,6 +1796,8 @@ export default {
|
|
duration: 2000
|
|
duration: 2000
|
|
});
|
|
});
|
|
verify.state = false;
|
|
verify.state = false;
|
|
|
|
+ callback(verify);
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
if (ok && nodeCode === 'WRITE_LETTER' && (this.letterReprotProd == null || this.letterReprotProd.files.length === 0)) {
|
|
if (ok && nodeCode === 'WRITE_LETTER' && (this.letterReprotProd == null || this.letterReprotProd.files.length === 0)) {
|
|
this.$notify({
|
|
this.$notify({
|
|
@@ -1784,8 +1807,44 @@ export default {
|
|
duration: 2000
|
|
duration: 2000
|
|
});
|
|
});
|
|
verify.state = false;
|
|
verify.state = false;
|
|
|
|
+ callback(verify);
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ }else{
|
|
|
|
+ if (nodeCode === 'GENERATE_STATEMENT' && (this.statementProd == null || this.statementProd.files.length === 0)) {
|
|
|
|
+ this.$notify({
|
|
|
|
+ title: '提示',
|
|
|
|
+ message: '流程类型为下线请上传意见书,再提交流程',
|
|
|
|
+ type: 'error',
|
|
|
|
+ duration: 2000
|
|
|
|
+ });
|
|
|
|
+ verify.state = false;
|
|
|
|
+ callback(verify);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (nodeCode === 'WRITE_REPORT' && (this.technicReportProd == null || this.technicReportProd.files.length === 0)) {
|
|
|
|
+ this.$notify({
|
|
|
|
+ title: '提示',
|
|
|
|
+ message: '流程类型为下线请上传报告,再提交流程',
|
|
|
|
+ type: 'error',
|
|
|
|
+ duration: 2000
|
|
|
|
+ });
|
|
|
|
+ verify.state = false;
|
|
|
|
+ callback(verify);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (nodeCode === 'WRITE_LETTER' && (this.letterReprotProd == null || this.letterReprotProd.files.length === 0)) {
|
|
|
|
+ this.$notify({
|
|
|
|
+ title: '提示',
|
|
|
|
+ message: '流程类型为下线请上传复评函,再提交流程',
|
|
|
|
+ type: 'error',
|
|
|
|
+ duration: 2000
|
|
|
|
+ });
|
|
|
|
+ verify.state = false;
|
|
|
|
+ callback(verify);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
if (!verify.nextHandlerId ){
|
|
if (!verify.nextHandlerId ){
|
|
this.checkerDialog = true;
|
|
this.checkerDialog = true;
|