|
@@ -202,6 +202,7 @@ export default {
|
|
|
methods: {
|
|
|
async _getCameraData () {
|
|
|
this.fullscreenLoading = true
|
|
|
+ if (!Number(this.currentPage)) this.currentPage = 1
|
|
|
let res = await this.$http.post('/manager/camera/list', {
|
|
|
pageNum: this.currentPage,
|
|
|
pageSize: this.pagesize,
|
|
@@ -234,6 +235,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
handleCurrentChange (val) {
|
|
|
+ console.log('----', val)
|
|
|
this.currentPage = val
|
|
|
},
|
|
|
showDialog (row) {
|
|
@@ -290,6 +292,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async _modifyPoints () {
|
|
|
+ console.log('------'+this.currentPage+'-----')
|
|
|
let body = this.form.region
|
|
|
let points = this.form.point
|
|
|
let cameraId = this.currentDeviceId
|
|
@@ -313,6 +316,7 @@ export default {
|
|
|
type: 'success',
|
|
|
message: '充值成功!'
|
|
|
})
|
|
|
+ console.log('------'+this.currentPage+'-----')
|
|
|
this._getCameraData()
|
|
|
this.dialogFormVisible = false
|
|
|
} else {
|
|
@@ -332,7 +336,6 @@ export default {
|
|
|
type,
|
|
|
orderNum: orderSn
|
|
|
} = this.ruleForm
|
|
|
- console.log(wifiName, childName, balance, own, orderSn)
|
|
|
if (wifiName === '' || childName === '' || balance === '' || own === '' || type === '') {
|
|
|
return
|
|
|
}
|