feat: 抽签信息完善
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<vab-query-form-right-panel :span="12">
|
||||
<el-form :inline="true" :model="queryForm" @submit.native.prevent>
|
||||
<el-form-item>
|
||||
<el-input v-model.trim="queryForm.permission" clearable placeholder="请输入查询条件" />
|
||||
<el-input v-model.trim="queryForm.deviceId" clearable placeholder="请输入查询条件" />
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button icon="el-icon-search" type="primary" @click="queryData">查询</el-button>
|
||||
@@ -58,13 +58,18 @@
|
||||
queryForm: {
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
permission: '',
|
||||
deviceId: '',
|
||||
appId: '69665538a49b8ae3be50fe5d',
|
||||
},
|
||||
timeOutID: null,
|
||||
}
|
||||
},
|
||||
created() {
|
||||
const { deviceId } = this.$route.query || {}
|
||||
if (deviceId) {
|
||||
this.queryForm.deviceId = deviceId
|
||||
this.queryForm.pageNo = 1
|
||||
}
|
||||
this.fetchData()
|
||||
},
|
||||
|
||||
|
||||
@@ -36,7 +36,10 @@
|
||||
</div>
|
||||
<div>
|
||||
<strong>设备 id:</strong>
|
||||
{{ row.deviceId }}
|
||||
<template v-if="row.deviceId">
|
||||
<el-link type="primary" :underline="false" @click="goToDevice(row.deviceId)">{{ row.deviceId }}</el-link>
|
||||
</template>
|
||||
<template v-else>--</template>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -158,6 +161,9 @@
|
||||
this.queryForm.pageNo = 1
|
||||
this.fetchData()
|
||||
},
|
||||
goToDevice(deviceId) {
|
||||
this.$router.push({ path: '/spring/user/userChat', query: { deviceId } })
|
||||
},
|
||||
async fetchData() {
|
||||
this.listLoading = true
|
||||
const { data } = await getUserList(this.queryForm)
|
||||
|
||||
Reference in New Issue
Block a user