|
@@ -106,7 +106,7 @@
|
|
<!-- 是否旁路 -->
|
|
<!-- 是否旁路 -->
|
|
<span slot="ifBypass" slot-scope="text, record">
|
|
<span slot="ifBypass" slot-scope="text, record">
|
|
<span v-if="record.ifBypass === '1'">{{ record.bypassTag }}</span>
|
|
<span v-if="record.ifBypass === '1'">{{ record.bypassTag }}</span>
|
|
- <span v-if="record.ifBypass === '0'">{{ record.bypass_dictText+'('+record.bypass+')' }}</span>
|
|
|
|
|
|
+ <span v-if="record.ifBypass === '0'">{{ (record.bypass_dictText?record.bypass_dictText:itSystemDefaultValue.bypassYesName)+'('+record.bypass+')' }}</span>
|
|
</span>
|
|
</span>
|
|
<!-- 操作 -->
|
|
<!-- 操作 -->
|
|
<span slot="action" slot-scope="text, record, index">
|
|
<span slot="action" slot-scope="text, record, index">
|
|
@@ -295,7 +295,8 @@
|
|
if(record.inputStatusTag){
|
|
if(record.inputStatusTag){
|
|
return record.inputStatusTag
|
|
return record.inputStatusTag
|
|
} else {
|
|
} else {
|
|
- return record.inputStatus_dictText +'('+ record.inputStatus+')'
|
|
|
|
|
|
+ var name = record.inputStatus_dictText ? record.inputStatus_dictText : this.itSystemDefaultValue.instrumentStatusNormalName
|
|
|
|
+ return name +'('+ record.inputStatus+')'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -307,7 +308,8 @@
|
|
if(record.outputStatusTag){
|
|
if(record.outputStatusTag){
|
|
return record.outputStatusTag
|
|
return record.outputStatusTag
|
|
} else {
|
|
} else {
|
|
- return record.outputStatus_dictText +'('+ record.outputStatus+')'
|
|
|
|
|
|
+ var name = record.outputStatus_dictText ? record.outputStatus_dictText : this.itSystemDefaultValue.instrumentStatusNormalName
|
|
|
|
+ return name +'('+ record.outputStatus+')'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -319,7 +321,8 @@
|
|
if(record.mpStatusTag){
|
|
if(record.mpStatusTag){
|
|
return record.mpStatusTag
|
|
return record.mpStatusTag
|
|
} else {
|
|
} else {
|
|
- return record.mpStatus_dictText +'('+ record.mpStatus+')'
|
|
|
|
|
|
+ var name = record.mpStatus_dictText ? record.mpStatus_dictText : this.itSystemDefaultValue.instrumentStatusNormalName
|
|
|
|
+ return name +'('+ record.mpStatus+')'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|