修改电子围栏添加样式

pull/3/head
LiuJiaNan 2024-03-01 10:53:50 +08:00
parent 09618493c1
commit 3aef4d21fe
2 changed files with 19 additions and 38 deletions

View File

@ -9,29 +9,18 @@
<el-tag>{{ parentName }}</el-tag>
</el-form-item>
<el-form-item label="所属电子围栏" prop="ELECTRONIC_FENCE_NAME">
<el-input
v-model="form.ELECTRONIC_FENCE_NAME"
style="width: 240px"
disabled
/>
<el-button
type="primary"
style="margin-left: 10px"
@click="data.drawer = true"
>添加</el-button
>
<el-button
type="danger"
style="margin-left: 10px"
@click="fnRemoveRegName"
>移除</el-button
>
<div style="flex: 1; display: flex">
<el-input v-model="form.ELECTRONIC_FENCE_NAME" disabled />
<el-button type="primary" class="ml-10" @click="data.drawer = true">
添加
</el-button>
<el-button type="danger" class="ml-10" @click="fnRemoveRegName">
移除
</el-button>
</div>
</el-form-item>
<el-form-item label="电子围栏区域" prop="ELECTRONIC_FENCE_AREA_NAME">
<el-input
v-model="form.ELECTRONIC_FENCE_AREA_NAME"
style="width: 240px"
/>
<el-input v-model="form.ELECTRONIC_FENCE_AREA_NAME" />
</el-form-item>
<el-form-item label="负责人" prop="HEADMAN">
<el-input v-model="form.HEADMAN" placeholder="请输入" />

View File

@ -28,23 +28,15 @@
/>
</el-form-item>
<el-form-item label="电子围栏" prop="ELECTRONIC_FENCE_NAME">
<el-input
v-model="form.ELECTRONIC_FENCE_NAME"
style="width: 240px"
disabled
/>
<el-button
type="primary"
style="margin-left: 10px"
@click="data.drawer = true"
>添加</el-button
>
<el-button
type="danger"
style="margin-left: 10px"
@click="fnRemoveRegName"
>移除</el-button
>
<div style="flex: 1; display: flex">
<el-input v-model="form.ELECTRONIC_FENCE_NAME" disabled />
<el-button type="primary" class="ml-10" @click="data.drawer = true">
添加
</el-button>
<el-button type="danger" class="ml-10" @click="fnRemoveRegName">
移除
</el-button>
</div>
</el-form-item>
</el-form>
<template #footer>