feat:新增设备IMEI字段到用户相关接口和表单,更新用户查询和表单视图以支持该字段
This commit is contained in:
1 parent
a155e873f3
commit
ab58f6eb5e
4 files changed
+10512
-5017
No files matched your search
Generated
+10491
-5017
File diff suppressed because it is too large.
Load diff
@@ -13,6 +13,7 @@ export interface UserVO {
|
||||
loginIp: string
|
||||
status: number
|
||||
remark: string
|
||||
deviceId: string
|
||||
loginDate: Date
|
||||
createTime: Date
|
||||
}
|
||||
|
||||
@@ -81,6 +81,13 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="设备IMEI" prop="deviceId">
|
||||
<el-input v-model="formData.deviceId" placeholder="请输入设备IMEI" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="备注">
|
||||
@@ -124,6 +131,7 @@ const formData = ref({
|
||||
sex: undefined,
|
||||
postIds: [],
|
||||
remark: '',
|
||||
deviceId: '',
|
||||
status: CommonStatusEnum.ENABLE,
|
||||
roleIds: []
|
||||
})
|
||||
@@ -211,6 +219,7 @@ const resetForm = () => {
|
||||
sex: undefined,
|
||||
postIds: [],
|
||||
remark: '',
|
||||
deviceId: '',
|
||||
status: CommonStatusEnum.ENABLE,
|
||||
roleIds: []
|
||||
}
|
||||
|
||||
@@ -38,6 +38,15 @@
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="设备IMEI" prop="deviceId">
|
||||
<el-input
|
||||
v-model="queryParams.deviceId"
|
||||
placeholder="请输入设备IMEI"
|
||||
clearable
|
||||
@keyup.enter="handleQuery"
|
||||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="状态" prop="status">
|
||||
<el-select
|
||||
v-model="queryParams.status"
|
||||
@@ -117,6 +126,7 @@
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column label="手机号码" align="center" prop="mobile" width="120" />
|
||||
<el-table-column label="设备IMEI" align="center" prop="deviceId" width="150" />
|
||||
<el-table-column label="状态" key="status">
|
||||
<template #default="scope">
|
||||
<el-switch
|
||||
@@ -224,6 +234,7 @@ const queryParams = reactive({
|
||||
pageSize: 10,
|
||||
username: undefined,
|
||||
mobile: undefined,
|
||||
deviceId: undefined,
|
||||
status: undefined,
|
||||
deptId: undefined,
|
||||
createTime: []
|
||||
|
||||
Reference in new issue
Block a user