更新页面细节

This commit is contained in:
yaooo 2023-11-29 17:01:10 +08:00
parent 50b73df61b
commit fe5be17613
6 changed files with 50 additions and 50 deletions

View File

@ -94,31 +94,31 @@
<el-table :data="pager.lists" @selection-change="handleSelectionChange" style="width: 100%">
<el-table-column type="selection" width="55" />
<el-table-column label="ID" prop="id" width="80" show-overflow-tooltip />
<el-table-column label="用户信息" width="200">
<!-- <el-table-column label="用户信息" width="200">
<template #default="{ row }">
<el-tag class="mr-2" effect="dark">ID: {{ row.user_id }}</el-tag>
<el-tag class="mr-2" effect="dark">账户: {{ row.account }}</el-tag>
<el-tag class="mr-2" type="info">ID: {{ row.user_id }}</el-tag>
<el-tag class="mr-2" type="info">账户: {{ row.account }}</el-tag>
</template>
</el-table-column>
<el-table-column label="土地信息" width="200">
</el-table-column> -->
<el-table-column label="设备名称" width="200" prop="name" show-overflow-tooltip />
<el-table-column label="设备类型" width="150" prop="type">
<template #default="{ row }">
<el-tag class="mr-2" effect="dark">ID: {{ row.land_id }}</el-tag>
<el-tag class="mr-2" effect="dark">名称: {{ row.land_title }}</el-tag>
</template>
</el-table-column>
<el-table-column label="产品信息" width="200">
<template #default="{ row }">
<el-tag class="mr-2" effect="dark">ID: {{ row.product_id }}</el-tag>
<el-tag class="mr-2" effect="dark">名称: {{ row.product_name }}</el-tag>
<dict-value :options="dictData.device_type" :value="row.type" />
</template>
</el-table-column>
<el-table-column label="设备编码" width="120" prop="code" show-overflow-tooltip />
<el-table-column label="设备名称" width="200" prop="name" show-overflow-tooltip />
<el-table-column label="设备类型" width="150" prop="type">
<template #default="{ row }">
<dict-value :options="dictData.device_type" :value="row.type" />
</template>
</el-table-column>
<el-table-column label="所属土地" width="200">
<template #default="{ row }">
<el-tag class="mr-2" type="info">ID: {{ row.land_id }}</el-tag>
<el-tag class="mr-2" type="info">名称: {{ row.land_title }}</el-tag>
</template>
</el-table-column>
<el-table-column label="所属产品" width="200">
<template #default="{ row }">
<el-tag class="mr-2" type="info">ID: {{ row.product_id }}</el-tag>
<el-tag class="mr-2" type="info">名称: {{ row.product_name }}</el-tag>
</template>
</el-table-column>
<el-table-column label="设备状态" width="100" align="center" prop="status">
<template #default="{ row }">
<dict-value :options="dictData.device_status" :value="row.status" />

View File

@ -43,15 +43,15 @@
<el-table :data="pager.lists" @selection-change="handleSelectionChange" style="width: 100%">
<el-table-column type="selection" width="55" />
<el-table-column label="ID" prop="id" width="80" show-overflow-tooltip />
<el-table-column label="用户信息" width="200">
<!-- <el-table-column label="用户信息" width="200">
<template #default="{ row }">
<el-tag class="mr-2" effect="dark">ID: {{ row.user_id }}</el-tag>
<el-tag class="mr-2" effect="dark">账户: {{ row.user.account }}</el-tag>
<el-tag class="mr-2" type="info">ID: {{ row.user_id }}</el-tag>
<el-tag class="mr-2" type="info">账户: {{ row.user.account }}</el-tag>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column label="土地名称">
<template #default="{ row }">
<el-tag class="mr-2" effect="dark">{{ row.title }}</el-tag>
<el-tag class="mr-2" type="info">{{ row.title }}</el-tag>
</template>
</el-table-column>
<el-table-column label="土地面积" prop="total_area" show-overflow-tooltip />

View File

@ -50,16 +50,16 @@
<el-table :data="pager.lists" @selection-change="handleSelectionChange" style="width: 100%">
<el-table-column type="selection" width="55" />
<el-table-column label="ID" prop="id" width="80" show-overflow-tooltip />
<el-table-column label="用户信息" width="200">
<!-- <el-table-column label="用户信息" width="200">
<template #default="{ row }">
<el-tag class="mr-2" effect="dark">ID: {{ row.user_id }}</el-tag>
<el-tag class="mr-2" effect="dark">账户: {{ row.account }}</el-tag>
<el-tag class="mr-2" type="info">ID: {{ row.user_id }}</el-tag>
<el-tag class="mr-2" type="info">账户: {{ row.account }}</el-tag>
</template>
</el-table-column>
<el-table-column label="土地信息" width="200">
</el-table-column> -->
<el-table-column label="所属土地" width="200">
<template #default="{ row }">
<el-tag class="mr-2" effect="dark">ID: {{ row.land_id }}</el-tag>
<el-tag class="mr-2" effect="dark">名称: {{ row.title }}</el-tag>
<el-tag class="mr-2" type="info">ID: {{ row.land_id }}</el-tag>
<el-tag class="mr-2" type="info">名称: {{ row.title }}</el-tag>
</template>
</el-table-column>
<el-table-column label="种植种类" prop="kind" show-overflow-tooltip />

View File

@ -40,16 +40,16 @@
<el-table :data="pager.lists" @selection-change="handleSelectionChange" style="width: 100%">
<el-table-column type="selection" width="55" />
<el-table-column label="ID" prop="id" width="80" show-overflow-tooltip />
<el-table-column label="用户信息" width="200">
<!-- <el-table-column label="用户信息" width="200">
<template #default="{ row }">
<el-tag class="mr-2" effect="dark">ID: {{ row.user_id }}</el-tag>
<el-tag class="mr-2" effect="dark">账户: {{ row.account }}</el-tag>
<el-tag class="mr-2" type="info">ID: {{ row.user_id }}</el-tag>
<el-tag class="mr-2" type="info">账户: {{ row.account }}</el-tag>
</template>
</el-table-column>
<el-table-column label="土地种植信息" width="200">
</el-table-column> -->
<el-table-column label="所属土地种植" width="200">
<template #default="{ row }">
<el-tag class="mr-2" effect="dark">ID: {{ row.plant_id }}</el-tag>
<el-tag class="mr-2" effect="dark">类型: {{ row.kind }} 品牌: {{ row.breed }}</el-tag>
<el-tag class="mr-2" type="info">ID: {{ row.plant_id }}</el-tag>
<el-tag class="mr-2" type="info">类型: {{ row.kind }} 品牌: {{ row.breed }}</el-tag>
</template>
</el-table-column>
<el-table-column label="种植操作类型" align="center" prop="type">

View File

@ -39,8 +39,8 @@
<el-table-column label="ID" prop="id" width="80" show-overflow-tooltip />
<el-table-column label="设备信息" width="200">
<template #default="{ row }">
<el-tag class="mr-2" effect="dark">ID: {{ row.device_id }}</el-tag>
<el-tag class="mr-2" effect="dark">名称: {{ row.device.name }}</el-tag>
<el-tag class="mr-2" type="info">ID: {{ row.device_id }}</el-tag>
<el-tag class="mr-2" type="info">名称: {{ row.device.name }}</el-tag>
</template>
</el-table-column>
<el-table-column label="监测类型" align="center" prop="type">

View File

@ -60,20 +60,20 @@
<el-table :data="pager.lists" @selection-change="handleSelectionChange" style="width: 100%">
<el-table-column type="selection" width="55" />
<el-table-column label="ID" prop="id" width="80" show-overflow-tooltip />
<el-table-column label="用户信息" width="200">
<!-- <el-table-column label="用户信息" width="200">
<template #default="{ row }">
<el-tag class="mr-2" effect="dark">ID: {{ row.user_id }}</el-tag>
<el-tag class="mr-2" effect="dark">账户: {{ row.account }}</el-tag>
<el-tag class="mr-2" type="info">ID: {{ row.user_id }}</el-tag>
<el-tag class="mr-2" type="info">账户: {{ row.account }}</el-tag>
</template>
</el-table-column>
<el-table-column label="土地信息" width="200">
<template #default="{ row }">
<el-tag class="mr-2" effect="dark">ID: {{ row.land_id }}</el-tag>
<el-tag class="mr-2" effect="dark">名称: {{ row.title }}</el-tag>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column label="产品编号" prop="code" show-overflow-tooltip />
<el-table-column label="产品名称" prop="name" show-overflow-tooltip />
<el-table-column label="所属土地" width="200">
<template #default="{ row }">
<el-tag class="mr-2" type="info">ID: {{ row.land_id }}</el-tag>
<el-tag class="mr-2" type="info">名称: {{ row.title }}</el-tag>
</template>
</el-table-column>
<el-table-column label="产品状态" align="center" prop="status">
<template #default="{ row }">
<dict-value :options="dictData.product_status" :value="row.status" />