|
@@ -11,7 +11,9 @@
|
|
:options="tagDataOptions"
|
|
:options="tagDataOptions"
|
|
:fieldNames="customFieldNames"
|
|
:fieldNames="customFieldNames"
|
|
expand-trigger="hover"
|
|
expand-trigger="hover"
|
|
- placeholder="请选择点位"/>
|
|
|
|
|
|
+ placeholder="请选择点位"
|
|
|
|
+ @change="changeCascader"
|
|
|
|
+ />
|
|
<!-- :display-render="displayRender" -->
|
|
<!-- :display-render="displayRender" -->
|
|
<!-- @change="dianwerChange" -->
|
|
<!-- @change="dianwerChange" -->
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
@@ -52,6 +54,7 @@
|
|
:fieldNames="customFieldNames"
|
|
:fieldNames="customFieldNames"
|
|
expand-trigger="hover"
|
|
expand-trigger="hover"
|
|
placeholder="请选择输入卡件状态"
|
|
placeholder="请选择输入卡件状态"
|
|
|
|
+ @change="changeCascader"
|
|
/>
|
|
/>
|
|
</template>
|
|
</template>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
@@ -72,6 +75,7 @@
|
|
:fieldNames="customFieldNames"
|
|
:fieldNames="customFieldNames"
|
|
expand-trigger="hover"
|
|
expand-trigger="hover"
|
|
placeholder="请选择输出卡件状态"
|
|
placeholder="请选择输出卡件状态"
|
|
|
|
+ @change="changeCascader"
|
|
/>
|
|
/>
|
|
</template>
|
|
</template>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
@@ -92,6 +96,7 @@
|
|
:fieldNames="customFieldNames"
|
|
:fieldNames="customFieldNames"
|
|
expand-trigger="hover"
|
|
expand-trigger="hover"
|
|
placeholder="请选择MP状态"
|
|
placeholder="请选择MP状态"
|
|
|
|
+ @change="changeCascader"
|
|
/>
|
|
/>
|
|
</template>
|
|
</template>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
@@ -119,11 +124,13 @@
|
|
<a-col :span="24">
|
|
<a-col :span="24">
|
|
<a-form-model-item label="仪表位号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="instrumentStatusData">
|
|
<a-form-model-item label="仪表位号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="instrumentStatusData">
|
|
<a-cascader
|
|
<a-cascader
|
|
- v-model="model.instrumentStatusData"
|
|
|
|
- :options="tagDataOptions"
|
|
|
|
- :fieldNames="customFieldNames"
|
|
|
|
- expand-trigger="hover"
|
|
|
|
- placeholder="请选择仪表位号"/>
|
|
|
|
|
|
+ v-model="model.instrumentStatusData"
|
|
|
|
+ :options="tagDataOptions"
|
|
|
|
+ :fieldNames="customFieldNames"
|
|
|
|
+ expand-trigger="hover"
|
|
|
|
+ placeholder="请选择仪表位号"
|
|
|
|
+ @change="changeCascader"
|
|
|
|
+ />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
</template>
|
|
</template>
|
|
@@ -136,6 +143,7 @@
|
|
:fieldNames="customFieldNames"
|
|
:fieldNames="customFieldNames"
|
|
expand-trigger="hover"
|
|
expand-trigger="hover"
|
|
placeholder="请选择原始模拟量"
|
|
placeholder="请选择原始模拟量"
|
|
|
|
+ @change="changeCascader"
|
|
/>
|
|
/>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
@@ -161,6 +169,7 @@
|
|
:fieldNames="customFieldNames"
|
|
:fieldNames="customFieldNames"
|
|
expand-trigger="hover"
|
|
expand-trigger="hover"
|
|
placeholder="请选择原始模拟量"
|
|
placeholder="请选择原始模拟量"
|
|
|
|
+ @change="changeCascader"
|
|
/>
|
|
/>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
@@ -219,11 +228,13 @@
|
|
<a-col :span="24">
|
|
<a-col :span="24">
|
|
<a-form-model-item label="旁路" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bypassData">
|
|
<a-form-model-item label="旁路" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bypassData">
|
|
<a-cascader
|
|
<a-cascader
|
|
- v-model="model.bypassData"
|
|
|
|
- :options="tagDataOptions"
|
|
|
|
- :fieldNames="customFieldNames"
|
|
|
|
- expand-trigger="hover"
|
|
|
|
- placeholder="请选择旁路"/>
|
|
|
|
|
|
+ v-model="model.bypassData"
|
|
|
|
+ :options="tagDataOptions"
|
|
|
|
+ :fieldNames="customFieldNames"
|
|
|
|
+ expand-trigger="hover"
|
|
|
|
+ placeholder="请选择旁路"
|
|
|
|
+ @change="changeCascader"
|
|
|
|
+ />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
</template>
|
|
</template>
|
|
@@ -385,6 +396,9 @@
|
|
this.modelDefault = JSON.parse(JSON.stringify(this.model));
|
|
this.modelDefault = JSON.parse(JSON.stringify(this.model));
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ changeCascader(){
|
|
|
|
+ this.model = {...this.model}
|
|
|
|
+ },
|
|
statusRadioChange(e){
|
|
statusRadioChange(e){
|
|
// console.log(e)
|
|
// console.log(e)
|
|
// console.log(this.model.inputStatusRadio)
|
|
// console.log(this.model.inputStatusRadio)
|