设备
This commit is contained in:
@@ -19,10 +19,10 @@
|
|||||||
<img src="./img/lb@2x.png" alt="" class="voice-img">
|
<img src="./img/lb@2x.png" alt="" class="voice-img">
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p>{{item.deviceName}}</p>
|
<p>{{item.name}}</p>
|
||||||
<span>{{item.orgName}}</span>
|
<span>{{item.areaName}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="status">在线</div>
|
<div class="status">{{ $dict.getLabel('dlbDevStatus', item.devStatus) }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -48,7 +48,9 @@ export default {
|
|||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
this.areaId = this.user.areaId
|
this.areaId = this.user.areaId
|
||||||
this.areaName = this.user.areaName
|
this.areaName = this.user.areaName
|
||||||
this.getList()
|
this.$dict.load(['dlbDevStatus']).then(() => {
|
||||||
|
this.getList()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
areaSelect(e) {
|
areaSelect(e) {
|
||||||
@@ -56,7 +58,7 @@ export default {
|
|||||||
// this.getList()
|
// this.getList()
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
this.$http.post(`/app/appdlbquipment/getDlbDeviceList?current=1&size=20&keyword=${this.keyword}`).then((res) => {
|
this.$http.post(`/app/appdlbquipment/list?current=1&size=20&name=${this.keyword}`).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
res.data.records.map(item => {
|
res.data.records.map(item => {
|
||||||
item.isCheck = false
|
item.isCheck = false
|
||||||
|
|||||||
Reference in New Issue
Block a user