跟踪预警逻辑调整

This commit is contained in:
wuteng 2025-12-31 15:33:30 +08:00
parent 982841aa28
commit b122b85db3
4 changed files with 20 additions and 0 deletions

View File

@ -398,6 +398,10 @@
<div v-if="scope.row.blSign=='1'" > <div v-if="scope.row.blSign=='1'" >
已签收 已签收
</div> </div>
<div v-else >
<div v-if="[150,151,170,173].includes(scope.row.problemType)">
<span style="color: red">{{ scope.row.problemTypeName }}</span>
</div>
<div v-else> <div v-else>
<span v-if="calcDeliveryTime(new Date(),scope.row.lastScanRecord.scanDate)>2" style="color: red" > <span v-if="calcDeliveryTime(new Date(),scope.row.lastScanRecord.scanDate)>2" style="color: red" >
轨迹异常:停留超时{{calcDeliveryTime(new Date(),scope.row.lastScanRecord.scanDate)}} 天 轨迹异常:停留超时{{calcDeliveryTime(new Date(),scope.row.lastScanRecord.scanDate)}} 天
@ -407,6 +411,7 @@
</span> </span>
</div> </div>
</div> </div>
</div>
</template> </template>
</el-table-column> </el-table-column>

View File

@ -381,6 +381,10 @@
<div v-if="scope.row.blSign=='1'" > <div v-if="scope.row.blSign=='1'" >
已签收 已签收
</div> </div>
<div v-else >
<div v-if="[150,151,170,173].includes(scope.row.problemType)">
<span style="color: red">{{ scope.row.problemTypeName }}</span>
</div>
<div v-else> <div v-else>
<span v-if="calcDeliveryTime(new Date(),scope.row.lastScanRecord.scanDate)>2" style="color: red" > <span v-if="calcDeliveryTime(new Date(),scope.row.lastScanRecord.scanDate)>2" style="color: red" >
轨迹异常:停留超时{{calcDeliveryTime(new Date(),scope.row.lastScanRecord.scanDate)}} 天 轨迹异常:停留超时{{calcDeliveryTime(new Date(),scope.row.lastScanRecord.scanDate)}} 天
@ -390,6 +394,7 @@
</span> </span>
</div> </div>
</div> </div>
</div>
</template> </template>
</el-table-column> </el-table-column>

View File

@ -385,6 +385,10 @@
<div v-if="scope.row.blSign=='1'" > <div v-if="scope.row.blSign=='1'" >
已签收 已签收
</div> </div>
<div v-else >
<div v-if="[150,151,170,173].includes(scope.row.problemType)" >
<span style="color: red">{{ scope.row.problemTypeName }}</span>
</div>
<div v-else> <div v-else>
<span v-if="calcDeliveryTime(new Date(),scope.row.lastScanDate)>2" style="color: red" > <span v-if="calcDeliveryTime(new Date(),scope.row.lastScanDate)>2" style="color: red" >
轨迹异常:停留超时{{calcDeliveryTime(new Date(),scope.row.lastScanDate)}} 天 轨迹异常:停留超时{{calcDeliveryTime(new Date(),scope.row.lastScanDate)}} 天
@ -394,6 +398,7 @@
</span> </span>
</div> </div>
</div> </div>
</div>
</template> </template>
</el-table-column> </el-table-column>

View File

@ -377,6 +377,10 @@
<div v-if="scope.row.blSign=='1'" > <div v-if="scope.row.blSign=='1'" >
已签收 已签收
</div> </div>
<div v-else >
<div v-if="[150,151,170,173].includes(scope.row.problemType)" >
<span style="color: red">{{ scope.row.problemTypeName }}</span>
</div>
<div v-else> <div v-else>
<span v-if="calcDeliveryTime(new Date(),scope.row.lastScanRecord.scanDate)>2" style="color: red" > <span v-if="calcDeliveryTime(new Date(),scope.row.lastScanRecord.scanDate)>2" style="color: red" >
轨迹异常:停留超时{{calcDeliveryTime(new Date(),scope.row.lastScanRecord.scanDate)}} 天 轨迹异常:停留超时{{calcDeliveryTime(new Date(),scope.row.lastScanRecord.scanDate)}} 天
@ -386,6 +390,7 @@
</span> </span>
</div> </div>
</div> </div>
</div>
</template> </template>
</el-table-column> </el-table-column>