解决设备激活时间查询报错问题

This commit is contained in:
kerwincui
2022-05-20 15:20:18 +08:00
parent 767fdebe2c
commit 317c728f37

View File

@@ -447,9 +447,10 @@ export default {
/** 查询所有简短设备列表 */ /** 查询所有简短设备列表 */
getList() { getList() {
this.loading = true; this.loading = true;
this.queryParams.params={};
if (null != this.daterangeActiveTime && '' != this.daterangeActiveTime) { if (null != this.daterangeActiveTime && '' != this.daterangeActiveTime) {
this.queryParams.params["beginActiveTime"] = this.daterangeActiveTime[0]; this.queryParams.params['beginActiveTime'] = this.daterangeActiveTime[0];
this.queryParams.params["endActiveTime"] = this.daterangeActiveTime[1]; this.queryParams.params['endActiveTime'] = this.daterangeActiveTime[1];
} }
// 判断是否是admin角色 // 判断是否是admin角色
// if (this.$store.state.user.roles.indexOf("admin") === -1) { // if (this.$store.state.user.roles.indexOf("admin") === -1) {