|
@@ -50,7 +50,7 @@
|
50
|
50
|
|
51
|
51
|
<script>
|
52
|
52
|
import { dateFormat } from "@/utils";
|
53
|
|
-import {logDeviceLogin_list, logDeviceLogin_list_all} from "@/api/log";
|
|
53
|
+import { userPosition_list, userPosition_list_all } from "@/api/log";
|
54
|
54
|
import { exportToExcel } from "@/utils/exportToExcel";
|
55
|
55
|
export default {
|
56
|
56
|
data() {
|
|
@@ -109,7 +109,7 @@ export default {
|
109
|
109
|
},
|
110
|
110
|
{
|
111
|
111
|
title: "地址",
|
112
|
|
- key: "ipAddress",
|
|
112
|
+ key: "address",
|
113
|
113
|
align: "center"
|
114
|
114
|
},
|
115
|
115
|
{
|
|
@@ -156,7 +156,7 @@ export default {
|
156
|
156
|
let _enddate = this.searchForm.dataRange[1];
|
157
|
157
|
_enddate = _enddate ? dateFormat(_enddate, "yyyy-MM-dd") : null;
|
158
|
158
|
this.showLoading = true;
|
159
|
|
- logDeviceLogin_list({
|
|
159
|
+ userPosition_list({
|
160
|
160
|
rtype: this.powerParams.rtype,
|
161
|
161
|
objectid: this.powerParams.objectid,
|
162
|
162
|
regionid: this.powerParams.objectid,
|
|
@@ -181,7 +181,7 @@ export default {
|
181
|
181
|
let _enddate = this.searchForm.dataRange[1];
|
182
|
182
|
_enddate = _enddate ? dateFormat(_enddate, "yyyy-MM-dd") : null;
|
183
|
183
|
this.showLoading = true;
|
184
|
|
- logDeviceLogin_list_all({
|
|
184
|
+ userPosition_list_all({
|
185
|
185
|
rtype: this.powerParams.rtype,
|
186
|
186
|
objectid: this.powerParams.objectid,
|
187
|
187
|
regionid: this.powerParams.objectid,
|
|
@@ -201,7 +201,7 @@ export default {
|
201
|
201
|
姓名: item.username,
|
202
|
202
|
学校名称: item.schoolName,
|
203
|
203
|
班级: item.classname,
|
204
|
|
- 地址: item.ipAddress,
|
|
204
|
+ 地址: item.address,
|
205
|
205
|
时间: item.createtime
|
206
|
206
|
};
|
207
|
207
|
}),
|