|
@@ -1,26 +1,23 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <ContentWrap>
|
|
|
|
|
|
|
+ <ContentWrap style="border: none">
|
|
|
<!-- 搜索工作栏 -->
|
|
<!-- 搜索工作栏 -->
|
|
|
<el-form
|
|
<el-form
|
|
|
class="-mb-15px"
|
|
class="-mb-15px"
|
|
|
:model="queryParams"
|
|
:model="queryParams"
|
|
|
ref="queryFormRef"
|
|
ref="queryFormRef"
|
|
|
:inline="true"
|
|
:inline="true"
|
|
|
- label-width="68px"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ label-width="68px">
|
|
|
<el-form-item label="产品" prop="productId">
|
|
<el-form-item label="产品" prop="productId">
|
|
|
<el-select
|
|
<el-select
|
|
|
v-model="queryParams.productId"
|
|
v-model="queryParams.productId"
|
|
|
placeholder="请选择产品"
|
|
placeholder="请选择产品"
|
|
|
clearable
|
|
clearable
|
|
|
- class="!w-240px"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ class="!w-240px">
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="product in products"
|
|
v-for="product in products"
|
|
|
:key="product.id"
|
|
:key="product.id"
|
|
|
:label="product.name"
|
|
:label="product.name"
|
|
|
- :value="product.id"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :value="product.id" />
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="DeviceName" prop="deviceName">
|
|
<el-form-item label="DeviceName" prop="deviceName">
|
|
@@ -29,8 +26,7 @@
|
|
|
placeholder="请输入 DeviceName"
|
|
placeholder="请输入 DeviceName"
|
|
|
clearable
|
|
clearable
|
|
|
@keyup.enter="handleQuery"
|
|
@keyup.enter="handleQuery"
|
|
|
- class="!w-240px"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ class="!w-240px" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="备注名称" prop="nickname">
|
|
<el-form-item label="备注名称" prop="nickname">
|
|
|
<el-input
|
|
<el-input
|
|
@@ -38,22 +34,19 @@
|
|
|
placeholder="请输入备注名称"
|
|
placeholder="请输入备注名称"
|
|
|
clearable
|
|
clearable
|
|
|
@keyup.enter="handleQuery"
|
|
@keyup.enter="handleQuery"
|
|
|
- class="!w-240px"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ class="!w-240px" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="设备类型" prop="deviceType">
|
|
<el-form-item label="设备类型" prop="deviceType">
|
|
|
<el-select
|
|
<el-select
|
|
|
v-model="queryParams.deviceType"
|
|
v-model="queryParams.deviceType"
|
|
|
placeholder="请选择设备类型"
|
|
placeholder="请选择设备类型"
|
|
|
clearable
|
|
clearable
|
|
|
- class="!w-240px"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ class="!w-240px">
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="dict in getIntDictOptions(DICT_TYPE.IOT_PRODUCT_DEVICE_TYPE)"
|
|
v-for="dict in getIntDictOptions(DICT_TYPE.IOT_PRODUCT_DEVICE_TYPE)"
|
|
|
:key="dict.value"
|
|
:key="dict.value"
|
|
|
:label="dict.label"
|
|
:label="dict.label"
|
|
|
- :value="dict.value"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :value="dict.value" />
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="设备状态" prop="status">
|
|
<el-form-item label="设备状态" prop="status">
|
|
@@ -61,14 +54,12 @@
|
|
|
v-model="queryParams.status"
|
|
v-model="queryParams.status"
|
|
|
placeholder="请选择设备状态"
|
|
placeholder="请选择设备状态"
|
|
|
clearable
|
|
clearable
|
|
|
- class="!w-240px"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ class="!w-240px">
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="dict in getIntDictOptions(DICT_TYPE.IOT_DEVICE_STATE)"
|
|
v-for="dict in getIntDictOptions(DICT_TYPE.IOT_DEVICE_STATE)"
|
|
|
:key="dict.value"
|
|
:key="dict.value"
|
|
|
:label="dict.label"
|
|
:label="dict.label"
|
|
|
- :value="dict.value"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :value="dict.value" />
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="设备分组" prop="groupId">
|
|
<el-form-item label="设备分组" prop="groupId">
|
|
@@ -76,14 +67,12 @@
|
|
|
v-model="queryParams.groupId"
|
|
v-model="queryParams.groupId"
|
|
|
placeholder="请选择设备分组"
|
|
placeholder="请选择设备分组"
|
|
|
clearable
|
|
clearable
|
|
|
- class="!w-240px"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ class="!w-240px">
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="group in deviceGroups"
|
|
v-for="group in deviceGroups"
|
|
|
:key="group.id"
|
|
:key="group.id"
|
|
|
:label="group.name"
|
|
:label="group.name"
|
|
|
- :value="group.id"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ :value="group.id" />
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item class="float-right !mr-0 !mb-0">
|
|
<el-form-item class="float-right !mr-0 !mb-0">
|
|
@@ -109,8 +98,7 @@
|
|
|
type="primary"
|
|
type="primary"
|
|
|
plain
|
|
plain
|
|
|
@click="openForm('create')"
|
|
@click="openForm('create')"
|
|
|
- v-hasPermi="['iot:device:create']"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ v-hasPermi="['iot:device:create']">
|
|
|
<Icon icon="ep:plus" class="mr-5px" />
|
|
<Icon icon="ep:plus" class="mr-5px" />
|
|
|
新增
|
|
新增
|
|
|
</el-button>
|
|
</el-button>
|
|
@@ -119,8 +107,7 @@
|
|
|
plain
|
|
plain
|
|
|
@click="handleExport"
|
|
@click="handleExport"
|
|
|
:loading="exportLoading"
|
|
:loading="exportLoading"
|
|
|
- v-hasPermi="['iot:device:export']"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ v-hasPermi="['iot:device:export']">
|
|
|
<Icon icon="ep:download" class="mr-5px" /> 导出
|
|
<Icon icon="ep:download" class="mr-5px" /> 导出
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button type="warning" plain @click="handleImport" v-hasPermi="['iot:device:import']">
|
|
<el-button type="warning" plain @click="handleImport" v-hasPermi="['iot:device:import']">
|
|
@@ -131,8 +118,7 @@
|
|
|
plain
|
|
plain
|
|
|
@click="openGroupForm"
|
|
@click="openGroupForm"
|
|
|
:disabled="selectedIds.length === 0"
|
|
:disabled="selectedIds.length === 0"
|
|
|
- v-hasPermi="['iot:device:update']"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ v-hasPermi="['iot:device:update']">
|
|
|
<Icon icon="ep:folder-add" class="mr-5px" /> 添加到分组
|
|
<Icon icon="ep:folder-add" class="mr-5px" /> 添加到分组
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
@@ -140,8 +126,7 @@
|
|
|
plain
|
|
plain
|
|
|
@click="handleDeleteList"
|
|
@click="handleDeleteList"
|
|
|
:disabled="selectedIds.length === 0"
|
|
:disabled="selectedIds.length === 0"
|
|
|
- v-hasPermi="['iot:device:delete']"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ v-hasPermi="['iot:device:delete']">
|
|
|
<Icon icon="ep:delete" class="mr-5px" /> 批量删除
|
|
<Icon icon="ep:delete" class="mr-5px" /> 批量删除
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -149,14 +134,13 @@
|
|
|
</ContentWrap>
|
|
</ContentWrap>
|
|
|
|
|
|
|
|
<!-- 列表 -->
|
|
<!-- 列表 -->
|
|
|
- <ContentWrap>
|
|
|
|
|
|
|
+ <ContentWrap style="border: none">
|
|
|
<template v-if="viewMode === 'card'">
|
|
<template v-if="viewMode === 'card'">
|
|
|
<el-row :gutter="16">
|
|
<el-row :gutter="16">
|
|
|
<el-col v-for="item in list" :key="item.id" :xs="24" :sm="12" :md="12" :lg="6" class="mb-4">
|
|
<el-col v-for="item in list" :key="item.id" :xs="24" :sm="12" :md="12" :lg="6" class="mb-4">
|
|
|
<el-card
|
|
<el-card
|
|
|
class="h-full transition-colors relative overflow-hidden"
|
|
class="h-full transition-colors relative overflow-hidden"
|
|
|
- :body-style="{ padding: '0' }"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ :body-style="{ padding: '0' }">
|
|
|
<!-- 添加渐变背景层 -->
|
|
<!-- 添加渐变背景层 -->
|
|
|
<div
|
|
<div
|
|
|
class="absolute top-0 left-0 right-0 h-[50px] pointer-events-none"
|
|
class="absolute top-0 left-0 right-0 h-[50px] pointer-events-none"
|
|
@@ -164,8 +148,7 @@
|
|
|
item.state === DeviceStateEnum.ONLINE
|
|
item.state === DeviceStateEnum.ONLINE
|
|
|
? 'bg-gradient-to-b from-[#eefaff] to-transparent'
|
|
? 'bg-gradient-to-b from-[#eefaff] to-transparent'
|
|
|
: 'bg-gradient-to-b from-[#fff1f1] to-transparent'
|
|
: 'bg-gradient-to-b from-[#fff1f1] to-transparent'
|
|
|
- ]"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ ]">
|
|
|
</div>
|
|
</div>
|
|
|
<div class="p-4 relative">
|
|
<div class="p-4 relative">
|
|
|
<!-- 标题区域 -->
|
|
<!-- 标题区域 -->
|
|
@@ -173,7 +156,10 @@
|
|
|
<div class="mr-2.5 flex items-center">
|
|
<div class="mr-2.5 flex items-center">
|
|
|
<el-image :src="defaultIconUrl" class="w-[18px] h-[18px]" />
|
|
<el-image :src="defaultIconUrl" class="w-[18px] h-[18px]" />
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="text-[16px] font-600 flex-1 overflow-hidden text-ellipsis whitespace-nowrap">{{ item.deviceName }}</div>
|
|
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="text-[16px] font-600 flex-1 overflow-hidden text-ellipsis whitespace-nowrap"
|
|
|
|
|
+ >{{ item.deviceName }}</div
|
|
|
|
|
+ >
|
|
|
<!-- 添加设备状态标签 -->
|
|
<!-- 添加设备状态标签 -->
|
|
|
<div class="inline-flex items-center">
|
|
<div class="inline-flex items-center">
|
|
|
<div
|
|
<div
|
|
@@ -182,13 +168,11 @@
|
|
|
item.state === DeviceStateEnum.ONLINE
|
|
item.state === DeviceStateEnum.ONLINE
|
|
|
? 'bg-[var(--el-color-success)]'
|
|
? 'bg-[var(--el-color-success)]'
|
|
|
: 'bg-[var(--el-color-danger)]'
|
|
: 'bg-[var(--el-color-danger)]'
|
|
|
- "
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ ">
|
|
|
</div>
|
|
</div>
|
|
|
<el-text
|
|
<el-text
|
|
|
class="!text-xs font-bold"
|
|
class="!text-xs font-bold"
|
|
|
- :type="item.state === DeviceStateEnum.ONLINE ? 'success' : 'danger'"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ :type="item.state === DeviceStateEnum.ONLINE ? 'success' : 'danger'">
|
|
|
{{ getDictLabel(DICT_TYPE.IOT_DEVICE_STATE, item.state) }}
|
|
{{ getDictLabel(DICT_TYPE.IOT_DEVICE_STATE, item.state) }}
|
|
|
</el-text>
|
|
</el-text>
|
|
|
</div>
|
|
</div>
|
|
@@ -210,8 +194,7 @@
|
|
|
<div class="mb-2.5 last:mb-0">
|
|
<div class="mb-2.5 last:mb-0">
|
|
|
<span class="text-[#717c8e] mr-2.5">备注名称</span>
|
|
<span class="text-[#717c8e] mr-2.5">备注名称</span>
|
|
|
<span
|
|
<span
|
|
|
- class="text-[var(--el-text-color-primary)] inline-block align-middle overflow-hidden text-ellipsis whitespace-nowrap max-w-[130px]"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ class="text-[var(--el-text-color-primary)] inline-block align-middle overflow-hidden text-ellipsis whitespace-nowrap max-w-[130px]">
|
|
|
{{ item.nickname || item.deviceName }}
|
|
{{ item.nickname || item.deviceName }}
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
@@ -231,8 +214,7 @@
|
|
|
type="primary"
|
|
type="primary"
|
|
|
plain
|
|
plain
|
|
|
@click="openForm('update', item.id)"
|
|
@click="openForm('update', item.id)"
|
|
|
- v-hasPermi="['iot:device:update']"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ v-hasPermi="['iot:device:update']">
|
|
|
<Icon icon="ep:edit-pen" class="mr-1" />
|
|
<Icon icon="ep:edit-pen" class="mr-1" />
|
|
|
编辑
|
|
编辑
|
|
|
</el-button>
|
|
</el-button>
|
|
@@ -240,8 +222,7 @@
|
|
|
class="flex-1 !px-2 !h-[32px] !ml-[10px] text-[13px]"
|
|
class="flex-1 !px-2 !h-[32px] !ml-[10px] text-[13px]"
|
|
|
type="warning"
|
|
type="warning"
|
|
|
plain
|
|
plain
|
|
|
- @click="openDetail(item.id)"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ @click="openDetail(item.id)">
|
|
|
<Icon icon="ep:view" class="mr-1" />
|
|
<Icon icon="ep:view" class="mr-1" />
|
|
|
详情
|
|
详情
|
|
|
</el-button>
|
|
</el-button>
|
|
@@ -249,8 +230,7 @@
|
|
|
class="flex-1 !px-2 !h-[32px] !ml-[10px] text-[13px]"
|
|
class="flex-1 !px-2 !h-[32px] !ml-[10px] text-[13px]"
|
|
|
type="info"
|
|
type="info"
|
|
|
plain
|
|
plain
|
|
|
- @click="openModel(item.id)"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ @click="openModel(item.id)">
|
|
|
<Icon icon="ep:tickets" class="mr-1" />
|
|
<Icon icon="ep:tickets" class="mr-1" />
|
|
|
数据
|
|
数据
|
|
|
</el-button>
|
|
</el-button>
|
|
@@ -260,8 +240,7 @@
|
|
|
type="danger"
|
|
type="danger"
|
|
|
plain
|
|
plain
|
|
|
@click="handleDelete(item.id)"
|
|
@click="handleDelete(item.id)"
|
|
|
- v-hasPermi="['iot:device:delete']"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ v-hasPermi="['iot:device:delete']">
|
|
|
<Icon icon="ep:delete" />
|
|
<Icon icon="ep:delete" />
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</div>
|
|
</div>
|
|
@@ -272,34 +251,33 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<!-- 列表视图 -->
|
|
<!-- 列表视图 -->
|
|
|
- <el-table
|
|
|
|
|
|
|
+ <zm-table
|
|
|
v-else
|
|
v-else
|
|
|
- v-loading="loading"
|
|
|
|
|
|
|
+ :loading="loading"
|
|
|
:data="list"
|
|
:data="list"
|
|
|
:stripe="true"
|
|
:stripe="true"
|
|
|
:show-overflow-tooltip="true"
|
|
:show-overflow-tooltip="true"
|
|
|
- @selection-change="handleSelectionChange"
|
|
|
|
|
- >
|
|
|
|
|
- <el-table-column type="selection" width="55" />
|
|
|
|
|
- <el-table-column label="DeviceName" align="center" prop="deviceName">
|
|
|
|
|
|
|
+ @selection-change="handleSelectionChange">
|
|
|
|
|
+ <zm-table-column type="selection" width="55" />
|
|
|
|
|
+ <zm-table-column label="DeviceName" align="center" prop="deviceName">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<el-link @click="openDetail(scope.row.id)">{{ scope.row.deviceName }}</el-link>
|
|
<el-link @click="openDetail(scope.row.id)">{{ scope.row.deviceName }}</el-link>
|
|
|
</template>
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="备注名称" align="center" prop="nickname" />
|
|
|
|
|
- <el-table-column label="所属产品" align="center" prop="productId">
|
|
|
|
|
|
|
+ </zm-table-column>
|
|
|
|
|
+ <zm-table-column label="备注名称" align="center" prop="nickname" />
|
|
|
|
|
+ <zm-table-column label="所属产品" align="center" prop="productId">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<el-link @click="openProductDetail(scope.row.productId)">
|
|
<el-link @click="openProductDetail(scope.row.productId)">
|
|
|
{{ products.find((p) => p.id === scope.row.productId)?.name || '-' }}
|
|
{{ products.find((p) => p.id === scope.row.productId)?.name || '-' }}
|
|
|
</el-link>
|
|
</el-link>
|
|
|
</template>
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="设备类型" align="center" prop="deviceType">
|
|
|
|
|
|
|
+ </zm-table-column>
|
|
|
|
|
+ <zm-table-column label="设备类型" align="center" prop="deviceType">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<dict-tag :type="DICT_TYPE.IOT_PRODUCT_DEVICE_TYPE" :value="scope.row.deviceType" />
|
|
<dict-tag :type="DICT_TYPE.IOT_PRODUCT_DEVICE_TYPE" :value="scope.row.deviceType" />
|
|
|
</template>
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="所属分组" align="center" prop="groupId">
|
|
|
|
|
|
|
+ </zm-table-column>
|
|
|
|
|
+ <zm-table-column label="所属分组" align="center" prop="groupId">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<template v-if="scope.row.groupIds?.length">
|
|
<template v-if="scope.row.groupIds?.length">
|
|
|
<el-tag v-for="id in scope.row.groupIds" :key="id" class="ml-5px" size="small">
|
|
<el-tag v-for="id in scope.row.groupIds" :key="id" class="ml-5px" size="small">
|
|
@@ -307,27 +285,25 @@
|
|
|
</el-tag>
|
|
</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</template>
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="设备状态" align="center" prop="status">
|
|
|
|
|
|
|
+ </zm-table-column>
|
|
|
|
|
+ <zm-table-column label="设备状态" align="center" prop="status">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<dict-tag :type="DICT_TYPE.IOT_DEVICE_STATE" :value="scope.row.status" />
|
|
<dict-tag :type="DICT_TYPE.IOT_DEVICE_STATE" :value="scope.row.status" />
|
|
|
</template>
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column
|
|
|
|
|
|
|
+ </zm-table-column>
|
|
|
|
|
+ <zm-table-column
|
|
|
label="最后上线时间"
|
|
label="最后上线时间"
|
|
|
align="center"
|
|
align="center"
|
|
|
prop="onlineTime"
|
|
prop="onlineTime"
|
|
|
:formatter="dateFormatter"
|
|
:formatter="dateFormatter"
|
|
|
- width="180px"
|
|
|
|
|
- />
|
|
|
|
|
- <el-table-column label="操作" align="center" min-width="120px">
|
|
|
|
|
|
|
+ width="180px" />
|
|
|
|
|
+ <zm-table-column label="操作" align="center" min-width="90px" action>
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<el-button
|
|
<el-button
|
|
|
link
|
|
link
|
|
|
type="primary"
|
|
type="primary"
|
|
|
@click="openDetail(scope.row.id)"
|
|
@click="openDetail(scope.row.id)"
|
|
|
- v-hasPermi="['iot:product:query']"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ v-hasPermi="['iot:product:query']">
|
|
|
查看
|
|
查看
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button link type="primary" @click="openModel(scope.row.id)"> 日志 </el-button>
|
|
<el-button link type="primary" @click="openModel(scope.row.id)"> 日志 </el-button>
|
|
@@ -335,29 +311,26 @@
|
|
|
link
|
|
link
|
|
|
type="primary"
|
|
type="primary"
|
|
|
@click="openForm('update', scope.row.id)"
|
|
@click="openForm('update', scope.row.id)"
|
|
|
- v-hasPermi="['iot:device:update']"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ v-hasPermi="['iot:device:update']">
|
|
|
编辑
|
|
编辑
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
link
|
|
link
|
|
|
type="danger"
|
|
type="danger"
|
|
|
@click="handleDelete(scope.row.id)"
|
|
@click="handleDelete(scope.row.id)"
|
|
|
- v-hasPermi="['iot:device:delete']"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ v-hasPermi="['iot:device:delete']">
|
|
|
删除
|
|
删除
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
|
|
+ </zm-table-column>
|
|
|
|
|
+ </zm-table>
|
|
|
|
|
|
|
|
<!-- 分页 -->
|
|
<!-- 分页 -->
|
|
|
<Pagination
|
|
<Pagination
|
|
|
:total="total"
|
|
:total="total"
|
|
|
v-model:page="queryParams.pageNo"
|
|
v-model:page="queryParams.pageNo"
|
|
|
v-model:limit="queryParams.pageSize"
|
|
v-model:limit="queryParams.pageSize"
|
|
|
- @pagination="getList"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ @pagination="getList" />
|
|
|
</ContentWrap>
|
|
</ContentWrap>
|
|
|
|
|
|
|
|
<!-- 表单弹窗:添加/修改 -->
|
|
<!-- 表单弹窗:添加/修改 -->
|