|
@@ -5,7 +5,7 @@
|
|
|
<a-row>
|
|
|
<a-divider orientation="left"> <span style="font-size: 12px;">基本信息</span> </a-divider>
|
|
|
<a-col :span="24">
|
|
|
- <a-form-model-item label="联锁条件位号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="interlockConditionData">
|
|
|
+ <a-form-model-item label="联锁条件" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="interlockConditionData">
|
|
|
<a-cascader
|
|
|
v-model="model.interlockConditionData"
|
|
|
:options="tagDataOptions"
|
|
@@ -21,50 +21,50 @@
|
|
|
<a-input v-model="model.interlockSetValue" placeholder="请输入描述"></a-input>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
- <a-col :span="24">
|
|
|
- <a-form-model-item label="当前值位号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="currentValueData">
|
|
|
+ <!-- <a-col :span="24">
|
|
|
+ <a-form-model-item label="当前值" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="currentValueData">
|
|
|
<a-cascader
|
|
|
v-model="model.currentValueData"
|
|
|
:options="tagDataOptions"
|
|
|
:display-render="displayRender"
|
|
|
:fieldNames="customFieldNames"
|
|
|
expand-trigger="hover"
|
|
|
- placeholder="请选择当前值位号"/>
|
|
|
+ placeholder="请选择当前值"/>
|
|
|
</a-form-model-item>
|
|
|
- </a-col>
|
|
|
+ </a-col> -->
|
|
|
<a-col :span="24">
|
|
|
- <a-form-model-item label="输入卡件状态位号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="inputStatusData">
|
|
|
+ <a-form-model-item label="输入卡件状态" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="inputStatusData">
|
|
|
<a-cascader
|
|
|
v-model="model.inputStatusData"
|
|
|
:options="tagDataOptions"
|
|
|
:display-render="displayRender"
|
|
|
:fieldNames="customFieldNames"
|
|
|
expand-trigger="hover"
|
|
|
- placeholder="请选择输入卡件状态位号"
|
|
|
+ placeholder="请选择输入卡件状态"
|
|
|
/>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :span="24">
|
|
|
- <a-form-model-item label="输出卡件状态位号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="outputStatusData">
|
|
|
+ <a-form-model-item label="输出卡件状态" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="outputStatusData">
|
|
|
<a-cascader
|
|
|
v-model="model.outputStatusData"
|
|
|
:options="tagDataOptions"
|
|
|
:display-render="displayRender"
|
|
|
:fieldNames="customFieldNames"
|
|
|
expand-trigger="hover"
|
|
|
- placeholder="请选择输出卡件状态位号"
|
|
|
+ placeholder="请选择输出卡件状态"
|
|
|
/>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :span="24">
|
|
|
- <a-form-model-item label="MP状态位号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="mpStatusData">
|
|
|
+ <a-form-model-item label="MP状态" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="mpStatusData">
|
|
|
<a-cascader
|
|
|
v-model="model.mpStatusData"
|
|
|
:options="tagDataOptions"
|
|
|
:display-render="displayRender"
|
|
|
:fieldNames="customFieldNames"
|
|
|
expand-trigger="hover"
|
|
|
- placeholder="请选择MP状态位号"
|
|
|
+ placeholder="请选择MP状态"
|
|
|
/>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
@@ -81,27 +81,27 @@
|
|
|
</a-col>
|
|
|
<template v-if="model.instrumentStatusJuge === '0'">
|
|
|
<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
|
|
|
v-model="model.instrumentStatusData"
|
|
|
:options="tagDataOptions"
|
|
|
:display-render="displayRender"
|
|
|
:fieldNames="customFieldNames"
|
|
|
expand-trigger="hover"
|
|
|
- placeholder="请选择仪表状态位号"/>
|
|
|
+ placeholder="请选择仪表状态"/>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
</template>
|
|
|
<template v-if="model.instrumentStatusJuge === '1'">
|
|
|
<a-col :span="24">
|
|
|
- <a-form-model-item label="原始模拟量位号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="ysmnlData">
|
|
|
+ <a-form-model-item label="原始模拟量" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="ysmnlData">
|
|
|
<a-cascader
|
|
|
v-model="model.ysmnlData"
|
|
|
:options="tagDataOptions"
|
|
|
:display-render="displayRender"
|
|
|
:fieldNames="customFieldNames"
|
|
|
expand-trigger="hover"
|
|
|
- placeholder="请选择原始模拟量位号"
|
|
|
+ placeholder="请选择原始模拟量"
|
|
|
/>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
@@ -118,14 +118,14 @@
|
|
|
</template>
|
|
|
<template v-if="model.instrumentStatusJuge === '2'">
|
|
|
<a-col :span="24">
|
|
|
- <a-form-model-item label="原始模拟量位号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="ysmnlData">
|
|
|
+ <a-form-model-item label="原始模拟量" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="ysmnlData">
|
|
|
<a-cascader
|
|
|
v-model="model.ysmnlData"
|
|
|
:options="tagDataOptions"
|
|
|
:display-render="displayRender"
|
|
|
:fieldNames="customFieldNames"
|
|
|
expand-trigger="hover"
|
|
|
- placeholder="请选择原始模拟量位号"
|
|
|
+ placeholder="请选择原始模拟量"
|
|
|
/>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
@@ -181,7 +181,7 @@
|
|
|
<!-- 是否旁路 -->
|
|
|
<a-divider orientation="left"> <span style="font-size: 12px;">旁路状态</span> </a-divider>
|
|
|
<a-col :span="24">
|
|
|
- <a-form-model-item label="是否有旁路位号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="ifBypass">
|
|
|
+ <a-form-model-item label="是否有旁路" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="ifBypass">
|
|
|
<a-radio-group name="radioGroup" v-model="model.ifBypass">
|
|
|
<!-- :default-value="model.ifBypass" -->
|
|
|
<a-radio :value="'1'"> 是 </a-radio>
|
|
@@ -191,14 +191,14 @@
|
|
|
</a-col>
|
|
|
<template v-if="model.ifBypass === '1'">
|
|
|
<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
|
|
|
v-model="model.bypassData"
|
|
|
:options="tagDataOptions"
|
|
|
:display-render="displayRender"
|
|
|
:fieldNames="customFieldNames"
|
|
|
expand-trigger="hover"
|
|
|
- placeholder="请选择旁路位号"/>
|
|
|
+ placeholder="请选择旁路"/>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
</template>
|
|
@@ -254,17 +254,17 @@
|
|
|
confirmLoading: true,
|
|
|
validatorRules: {
|
|
|
interlockConditionData: [{
|
|
|
- required: true, message: '请选择联锁条件位号!',
|
|
|
+ required: true, message: '请选择联锁条件!',
|
|
|
}],
|
|
|
instrumentStatusJuge: [{
|
|
|
required: true, message: '请选择仪表状态判定依据!',
|
|
|
}],
|
|
|
instrumentStatusData: [{
|
|
|
- required: true, message: '请选择仪表状态位号!',
|
|
|
+ required: true, message: '请选择仪表状态!',
|
|
|
}],
|
|
|
// 高低限
|
|
|
ysmnlData: [{
|
|
|
- required: true, message: '请选择原始模拟量位号!',
|
|
|
+ required: true, message: '请选择原始模拟量!',
|
|
|
}],
|
|
|
upperLimit: [{
|
|
|
required: true, message: '请输入高限值!',
|
|
@@ -293,13 +293,13 @@
|
|
|
required: true, message: '请输入联锁设定值!',
|
|
|
}],
|
|
|
currentValueData: [{
|
|
|
- required: true, message: '请选择当前值位号!',
|
|
|
+ required: true, message: '请选择当前值!',
|
|
|
}],
|
|
|
ifBypass: [{
|
|
|
required: true, message: '请选择是否旁路!',
|
|
|
}],
|
|
|
bypassData: [{
|
|
|
- required: true, message: '请选择旁路位号!',
|
|
|
+ required: true, message: '请选择旁路!',
|
|
|
}],
|
|
|
bypassNo: [{
|
|
|
required: true, message: '请选择旁路状态!',
|
|
@@ -308,13 +308,13 @@
|
|
|
required: true, message: '请选择!',
|
|
|
}],
|
|
|
interlockConditionData: [{
|
|
|
- required: true, message: '请选择输入卡件状态位号!',
|
|
|
+ required: true, message: '请选择输入卡件状态!',
|
|
|
}],
|
|
|
outputStatusData: [{
|
|
|
- required: true, message: '请选择输出卡件状态位号!',
|
|
|
+ required: true, message: '请选择输出卡件状态!',
|
|
|
}],
|
|
|
mpStatusData: [{
|
|
|
- required: true, message: '请选择MP状态位号!',
|
|
|
+ required: true, message: '请选择MP状态!',
|
|
|
}],
|
|
|
},
|
|
|
url: {
|