Skip to content

Commit 7488faa

Browse files
committed
fix(equipmentCloud): 修复设备列表状态查询
通道分页查询优化
1 parent 3fcab88 commit 7488faa

File tree

7 files changed

+10
-6
lines changed

7 files changed

+10
-6
lines changed

CHANGELOG.EN.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## [4.5.5](https://github.com/dgiot/dgiot-dashboard/compare/v4.5.4...v4.5.5) (2022-07-07)
1+
## [4.5.5](https://github.com/dgiot/dgiot-dashboard/compare/v4.5.4...v4.5.5) (2022-07-11)
22

33

44
### Bug Fixes
@@ -20,6 +20,7 @@
2020
* **components:** 修复topic 订阅不正常 ([640037d](https://github.com/dgiot/dgiot-dashboard/commit/640037d89dbf6b36fb4f5a6da4f7d17f930ce09d))
2121
* **components:** dgiot-amis ([85c8aba](https://github.com/dgiot/dgiot-dashboard/commit/85c8abae0b14d4ca8aa4e3f7542f1d6ca67d8883))
2222
* **dependencies:** 降低amis 依賴 ([5e0588b](https://github.com/dgiot/dgiot-dashboard/commit/5e0588b901b1143ffd117d197ebce1cc72fa6b48))
23+
* **equipmentCloud:** 设备location 字段不正确修复 ([7cb037b](https://github.com/dgiot/dgiot-dashboard/commit/7cb037b4a69eb11cf50c864f40b86f2d94036127))
2324
* **equipmentCloud:** 修复产品详情默认经纬度未赋值导致的报错 ([0e40544](https://github.com/dgiot/dgiot-dashboard/commit/0e405447e29df011bf2e96c34fd8b47c88264284))
2425
* **equipmentCloud:** 修复设备管理因存在默认值导致添加设备时,时序数据问题 ([71d7b87](https://github.com/dgiot/dgiot-dashboard/commit/71d7b8752f7c211d119f388f29908c0e2671ef01))
2526
* **equipmentCloud:** 组态 ([a52ecd2](https://github.com/dgiot/dgiot-dashboard/commit/a52ecd2c2717e016d1185e0f64d0f151121e93ae))

CHANGELOG.ZH.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## [4.5.5](https://github.com/dgiot/dgiot-dashboard/compare/v4.5.4...v4.5.5) (2022-07-07)
1+
## [4.5.5](https://github.com/dgiot/dgiot-dashboard/compare/v4.5.4...v4.5.5) (2022-07-11)
22

33

44
### Bug Fixes
@@ -20,6 +20,7 @@
2020
* **components:** 修复topic 订阅不正常 ([640037d](https://github.com/dgiot/dgiot-dashboard/commit/640037d89dbf6b36fb4f5a6da4f7d17f930ce09d))
2121
* **components:** dgiot-amis ([85c8aba](https://github.com/dgiot/dgiot-dashboard/commit/85c8abae0b14d4ca8aa4e3f7542f1d6ca67d8883))
2222
* **dependencies:** 降低amis 依賴 ([5e0588b](https://github.com/dgiot/dgiot-dashboard/commit/5e0588b901b1143ffd117d197ebce1cc72fa6b48))
23+
* **equipmentCloud:** 设备location 字段不正确修复 ([7cb037b](https://github.com/dgiot/dgiot-dashboard/commit/7cb037b4a69eb11cf50c864f40b86f2d94036127))
2324
* **equipmentCloud:** 修复产品详情默认经纬度未赋值导致的报错 ([0e40544](https://github.com/dgiot/dgiot-dashboard/commit/0e405447e29df011bf2e96c34fd8b47c88264284))
2425
* **equipmentCloud:** 修复设备管理因存在默认值导致添加设备时,时序数据问题 ([71d7b87](https://github.com/dgiot/dgiot-dashboard/commit/71d7b8752f7c211d119f388f29908c0e2671ef01))
2526
* **equipmentCloud:** 组态 ([a52ecd2](https://github.com/dgiot/dgiot-dashboard/commit/a52ecd2c2717e016d1185e0f64d0f151121e93ae))

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## [4.5.5](https://github.com/dgiot/dgiot-dashboard/compare/v4.5.4...v4.5.5) (2022-07-07)
1+
## [4.5.5](https://github.com/dgiot/dgiot-dashboard/compare/v4.5.4...v4.5.5) (2022-07-11)
22

33

44
### Bug Fixes
@@ -20,6 +20,7 @@
2020
* **components:** 修复topic 订阅不正常 ([640037d](https://github.com/dgiot/dgiot-dashboard/commit/640037d89dbf6b36fb4f5a6da4f7d17f930ce09d))
2121
* **components:** dgiot-amis ([85c8aba](https://github.com/dgiot/dgiot-dashboard/commit/85c8abae0b14d4ca8aa4e3f7542f1d6ca67d8883))
2222
* **dependencies:** 降低amis 依賴 ([5e0588b](https://github.com/dgiot/dgiot-dashboard/commit/5e0588b901b1143ffd117d197ebce1cc72fa6b48))
23+
* **equipmentCloud:** 设备location 字段不正确修复 ([7cb037b](https://github.com/dgiot/dgiot-dashboard/commit/7cb037b4a69eb11cf50c864f40b86f2d94036127))
2324
* **equipmentCloud:** 修复产品详情默认经纬度未赋值导致的报错 ([0e40544](https://github.com/dgiot/dgiot-dashboard/commit/0e405447e29df011bf2e96c34fd8b47c88264284))
2425
* **equipmentCloud:** 修复设备管理因存在默认值导致添加设备时,时序数据问题 ([71d7b87](https://github.com/dgiot/dgiot-dashboard/commit/71d7b8752f7c211d119f388f29908c0e2671ef01))
2526
* **equipmentCloud:** 组态 ([a52ecd2](https://github.com/dgiot/dgiot-dashboard/commit/a52ecd2c2717e016d1185e0f64d0f151121e93ae))

public/dist/element-icons.ttf

54.6 KB
Binary file not shown.

public/dist/element-icons.woff

27.5 KB
Binary file not shown.

src/store/modules/user.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ import {
134134
} from '@/config'
135135

136136
import { getUserInfo, login, logout, socialLogin, jwtlogin } from '@/api/User'
137+
import { departmentToken } from '@/api/Role'
137138
import { queryMenu } from '@/api/Menu/index'
138139
import { clearCookie, getToken, removeToken, setToken } from '@/utils/vue'
139140
import { resetRouter } from '@/router'
140-
141141
import { license } from '@/api/License'
142142
import { isJson } from '@/utils/data/validate'
143143
import { tickTime } from '@/utils/time/index'
@@ -409,9 +409,10 @@ const actions = {
409409
},
410410
_userInfo
411411
)
412-
const { sessionToken = '' } = data
412+
const { sessionToken = '', roles = [] } = data
413413
if (sessionToken) {
414414
await queryAllMsg(commit, dispatch, data, 'ajax')
415+
await departmentToken(roles[0].name)
415416
commit('setLoginInfo', userInfo)
416417
} else {
417418
Vue.prototype.$baseMessage(

src/views/DeviceCloud/manage/home_index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@
13241324
$regex: this.queryForm.search,
13251325
})
13261326
: ''
1327-
_.isNumber(this.queryForm.status)
1327+
this.queryForm.status
13281328
? (params.where.status = this.queryForm.status)
13291329
: ''
13301330
this.queryForm.isEnable

0 commit comments

Comments
 (0)