|
@@ -10,6 +10,7 @@
|
|
v-model="model.interlockConditionData"
|
|
v-model="model.interlockConditionData"
|
|
:options="tagDataOptions"
|
|
:options="tagDataOptions"
|
|
:fieldNames="customFieldNames"
|
|
:fieldNames="customFieldNames"
|
|
|
|
+ :show-search="{ filter }"
|
|
expand-trigger="hover"
|
|
expand-trigger="hover"
|
|
placeholder="请选择点位"
|
|
placeholder="请选择点位"
|
|
@change="changeCascaderCondition"
|
|
@change="changeCascaderCondition"
|
|
@@ -51,6 +52,7 @@
|
|
v-model="model.inputStatusData"
|
|
v-model="model.inputStatusData"
|
|
:options="tagDataOptions"
|
|
:options="tagDataOptions"
|
|
:fieldNames="customFieldNames"
|
|
:fieldNames="customFieldNames"
|
|
|
|
+ :show-search="{ filter }"
|
|
expand-trigger="hover"
|
|
expand-trigger="hover"
|
|
placeholder="请选择输入卡件状态"
|
|
placeholder="请选择输入卡件状态"
|
|
@change="changeCascaderInput"
|
|
@change="changeCascaderInput"
|
|
@@ -72,6 +74,7 @@
|
|
v-model="model.outputStatusData"
|
|
v-model="model.outputStatusData"
|
|
:options="tagDataOptions"
|
|
:options="tagDataOptions"
|
|
:fieldNames="customFieldNames"
|
|
:fieldNames="customFieldNames"
|
|
|
|
+ :show-search="{ filter }"
|
|
expand-trigger="hover"
|
|
expand-trigger="hover"
|
|
placeholder="请选择输出卡件状态"
|
|
placeholder="请选择输出卡件状态"
|
|
@change="changeCascaderOutput"
|
|
@change="changeCascaderOutput"
|
|
@@ -93,6 +96,7 @@
|
|
v-model="model.mpStatusData"
|
|
v-model="model.mpStatusData"
|
|
:options="tagDataOptions"
|
|
:options="tagDataOptions"
|
|
:fieldNames="customFieldNames"
|
|
:fieldNames="customFieldNames"
|
|
|
|
+ :show-search="{ filter }"
|
|
expand-trigger="hover"
|
|
expand-trigger="hover"
|
|
placeholder="请选择MP状态"
|
|
placeholder="请选择MP状态"
|
|
@change="changeCascaderMp"
|
|
@change="changeCascaderMp"
|
|
@@ -126,6 +130,7 @@
|
|
v-model="model.instrumentStatusData"
|
|
v-model="model.instrumentStatusData"
|
|
:options="tagDataOptions"
|
|
:options="tagDataOptions"
|
|
:fieldNames="customFieldNames"
|
|
:fieldNames="customFieldNames"
|
|
|
|
+ :show-search="{ filter }"
|
|
expand-trigger="hover"
|
|
expand-trigger="hover"
|
|
placeholder="请选择仪表位号"
|
|
placeholder="请选择仪表位号"
|
|
@change="changeCascaderInstrument"
|
|
@change="changeCascaderInstrument"
|
|
@@ -140,6 +145,7 @@
|
|
v-model="model.ysmnlData"
|
|
v-model="model.ysmnlData"
|
|
:options="tagDataOptions"
|
|
:options="tagDataOptions"
|
|
:fieldNames="customFieldNames"
|
|
:fieldNames="customFieldNames"
|
|
|
|
+ :show-search="{ filter }"
|
|
expand-trigger="hover"
|
|
expand-trigger="hover"
|
|
placeholder="请选择原始模拟量"
|
|
placeholder="请选择原始模拟量"
|
|
@change="changeCascaderYsmnl"
|
|
@change="changeCascaderYsmnl"
|
|
@@ -166,6 +172,7 @@
|
|
v-model="model.ysmnlData"
|
|
v-model="model.ysmnlData"
|
|
:options="tagDataOptions"
|
|
:options="tagDataOptions"
|
|
:fieldNames="customFieldNames"
|
|
:fieldNames="customFieldNames"
|
|
|
|
+ :show-search="{ filter }"
|
|
expand-trigger="hover"
|
|
expand-trigger="hover"
|
|
placeholder="请选择原始模拟量"
|
|
placeholder="请选择原始模拟量"
|
|
@change="changeCascaderYsmnl"
|
|
@change="changeCascaderYsmnl"
|
|
@@ -230,6 +237,7 @@
|
|
v-model="model.bypassData"
|
|
v-model="model.bypassData"
|
|
:options="tagDataOptions"
|
|
:options="tagDataOptions"
|
|
:fieldNames="customFieldNames"
|
|
:fieldNames="customFieldNames"
|
|
|
|
+ :show-search="{ filter }"
|
|
expand-trigger="hover"
|
|
expand-trigger="hover"
|
|
placeholder="请选择旁路"
|
|
placeholder="请选择旁路"
|
|
@change="changeCascaderBypass"
|
|
@change="changeCascaderBypass"
|
|
@@ -482,6 +490,10 @@
|
|
this.model.bypass = selectedOptions[2].value
|
|
this.model.bypass = selectedOptions[2].value
|
|
this.model = {...this.model}
|
|
this.model = {...this.model}
|
|
},
|
|
},
|
|
|
|
+ // 级联选择过滤搜索
|
|
|
|
+ filter(inputValue, path) {
|
|
|
|
+ return path.some(option => option.label.toLowerCase().indexOf(inputValue.toLowerCase()) > -1);
|
|
|
|
+ },
|
|
statusRadioChange(e){
|
|
statusRadioChange(e){
|
|
// console.log(e)
|
|
// console.log(e)
|
|
// console.log(this.model.inputStatusRadio)
|
|
// console.log(this.model.inputStatusRadio)
|