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