|
@@ -1423,7 +1423,13 @@ export class HushijiandanComponent implements OnInit {
|
1423
|
1423
|
yyInspectChange(e) {
|
1424
|
1424
|
if (this.currentTasktype.associationType.value === "inspect") {
|
1425
|
1425
|
//陪检
|
1426
|
|
- if (this.filterLinkCheckLis.length) {
|
|
1426
|
+ let obj = this.filterLinkCheckLis.find((item) => {
|
|
1427
|
+ return (
|
|
1428
|
+ new Date(item.yyTime).getTime() - new Date().getTime() >
|
|
1429
|
+ this.leadTime * 60 * 1000
|
|
1430
|
+ );
|
|
1431
|
+ });
|
|
1432
|
+ if (obj) {
|
1427
|
1433
|
this.showDateTime();
|
1428
|
1434
|
} else {
|
1429
|
1435
|
this.yyTime = null;
|