修改电子围栏添加样式

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

View File

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