This commit is contained in:
2024-08-01 16:31:28 +08:00
parent 1f532024fc
commit 20bcb81abc

View File

@ -203,6 +203,7 @@
<div class="tabtexts"> <div class="tabtexts">
<div class="tabtitle"> <div class="tabtitle">
{{ item.taskTypeName }}-{{ item.taskPartitionDictName }} {{ item.taskTypeName }}-{{ item.taskPartitionDictName }}
<span v-if="!item.conditionSatisfyStatus" style="color: red">(不符合条件)</span>
</div> </div>
<div class="tabtext" style="height: 50px;line-height: 30px;"> <div class="tabtext" style="height: 50px;line-height: 30px;">
<div class="lefttext"> <div class="lefttext">
@ -350,7 +351,7 @@ export default {
}, },
methods: { methods: {
changeswitch(e) { changeswitch(e) {
if (e) { if (!e) {
this.routelist = this.allroutelist.filter(item => item.conditionSatisfyStatus); this.routelist = this.allroutelist.filter(item => item.conditionSatisfyStatus);
} else { } else {
this.routelist = this.allroutelist this.routelist = this.allroutelist
@ -396,7 +397,7 @@ export default {
}); });
getRouteNodeInfo(this.$route.query.signRecordId).then(res => { getRouteNodeInfo(this.$route.query.signRecordId).then(res => {
this.allroutelist = res.data this.allroutelist = res.data
this.routelist = res.data this.routelist = this.allroutelist.filter(item => item.conditionSatisfyStatus);
this.tab = 2 this.tab = 2
loading.close(); loading.close();
}).catch(err => { }).catch(err => {