|
@@ -226,7 +226,7 @@
|
|
|
:labelCol="BaseTool.Constant.labelCol"
|
|
|
:wrapperCol="BaseTool.Constant.wrapperCol"
|
|
|
>
|
|
|
- <a-select @change="childChange" v-decorator="['isChild', {initialValue:3, rules: [{required: true, message: '是否子设备不能为空'}]}]" placeholder="请选择">
|
|
|
+ <a-select @change="childChange" v-decorator="['isChild', { rules: [{required: true, message: '是否子设备不能为空'}]}]" placeholder="请选择">
|
|
|
<a-select-option
|
|
|
v-for="(label,value) in isChildMap"
|
|
|
:key="value"
|
|
@@ -256,7 +256,7 @@
|
|
|
:labelCol="BaseTool.Constant.labelCol"
|
|
|
:wrapperCol="BaseTool.Constant.wrapperCol"
|
|
|
>
|
|
|
- <a-select @change="isShow=!isShow" v-decorator="['isShow', {initialValue:0, rules: [{required: true, message: '是否显示不能为空'}]}]" placeholder="请选择">
|
|
|
+ <a-select v-decorator="['isShow', { rules: [{required: true, message: '是否显示不能为空'}]}]" placeholder="请选择">
|
|
|
<a-select-option
|
|
|
v-for="(label,value) in isShowMap"
|
|
|
:key="value"
|
|
@@ -270,24 +270,30 @@
|
|
|
<a-row class="form-row" :gutter="BaseTool.Constant.row.gutter">
|
|
|
<a-col :lg="12" :md="24" :sm="24">
|
|
|
<a-form-item
|
|
|
- label="大屏水平位置"
|
|
|
+ label="水平位置"
|
|
|
:labelCol="BaseTool.Constant.labelCol"
|
|
|
:wrapperCol="BaseTool.Constant.wrapperCol"
|
|
|
>
|
|
|
- <a-input
|
|
|
+ <a-input-number
|
|
|
+ :step="1"
|
|
|
+ :min="85"
|
|
|
+ style="width:100%"
|
|
|
v-decorator="['zjm']"
|
|
|
- placeholder="请输入水平位置,如300"/>
|
|
|
+ placeholder="请输入离屏幕左上角的右方距离,最低85"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :lg="12" :md="24" :sm="24">
|
|
|
<a-form-item
|
|
|
- label="大屏垂直位置"
|
|
|
+ label="垂直位置"
|
|
|
:labelCol="BaseTool.Constant.labelCol"
|
|
|
:wrapperCol="BaseTool.Constant.wrapperCol"
|
|
|
>
|
|
|
- <a-input
|
|
|
+ <a-input-number
|
|
|
+ :step="1"
|
|
|
+ :min="340"
|
|
|
+ style="width:100%"
|
|
|
v-decorator="['jbdh']"
|
|
|
- placeholder="请输入垂直位置,如200"/>
|
|
|
+ placeholder="请输入离屏幕左上角的下方位置,最低340"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
@@ -970,22 +976,6 @@ export default {
|
|
|
record.no = null
|
|
|
this.clearFileList()
|
|
|
}
|
|
|
- if (record.isChild === 1) {
|
|
|
- record.isChild = '1'
|
|
|
- }
|
|
|
- if (record.isChild === 2) {
|
|
|
- record.isChild = '2'
|
|
|
- }
|
|
|
- if (record.isChild === 3) {
|
|
|
- record.isChild = '3'
|
|
|
- }
|
|
|
-
|
|
|
- if (record.isShow === 0) {
|
|
|
- record.isShow = '0'
|
|
|
- }
|
|
|
- if (record.isShow === 1) {
|
|
|
- record.isShow = '1'
|
|
|
- }
|
|
|
|
|
|
const { form: { setFieldsValue } } = this
|
|
|
// 日期处理
|