Commit efe3bd7c authored by xinzhedeai's avatar xinzhedeai

fix:分页问题处理

parent edd150c0
...@@ -56,6 +56,8 @@ window.addEventListener("load", function () { ...@@ -56,6 +56,8 @@ window.addEventListener("load", function () {
this.size = 6 this.size = 6
this.total = 0 this.total = 0
this.hazardList = [] this.hazardList = []
this.loading = false
this.finished = false
}, },
getList(){ getList(){
// 这里添加获取数据的逻辑 // 这里添加获取数据的逻辑
......
...@@ -42,6 +42,8 @@ window.addEventListener('load', function () { ...@@ -42,6 +42,8 @@ window.addEventListener('load', function () {
this.size = 10 this.size = 10
this.total = 0 this.total = 0
this.hazardList = [] this.hazardList = []
this.loading = false
this.finished = false
}, },
onSearch() { onSearch() {
console.log('xxxx', this.merName) console.log('xxxx', this.merName)
......
...@@ -132,6 +132,8 @@ window.addEventListener("load", function() { ...@@ -132,6 +132,8 @@ window.addEventListener("load", function() {
this.size = 10 this.size = 10
this.total = 0 this.total = 0
this.hazardList = [] this.hazardList = []
this.loading = false
this.finished = false
}, },
clickTab() { clickTab() {
this.init() this.init()
......
...@@ -41,6 +41,8 @@ window.addEventListener('load', function () { ...@@ -41,6 +41,8 @@ window.addEventListener('load', function () {
this.size = 10 this.size = 10
this.total = 0 this.total = 0
this.hazardList = [] this.hazardList = []
this.loading = false
this.finished = false
}, },
onSearch() { onSearch() {
console.log('xxxx', this.merName) console.log('xxxx', this.merName)
......
...@@ -98,6 +98,8 @@ window.addEventListener('load', function () { ...@@ -98,6 +98,8 @@ window.addEventListener('load', function () {
this.size = 9999 this.size = 9999
this.total = 0 this.total = 0
this.consumerSuggestList = [] this.consumerSuggestList = []
this.loading = false
this.finished = false
}, },
showImage(list, index) { showImage(list, index) {
......
...@@ -76,6 +76,9 @@ window.addEventListener("load", function() { ...@@ -76,6 +76,9 @@ window.addEventListener("load", function() {
this.size = 10 this.size = 10
this.total = 0 this.total = 0
this.hazardList = [] this.hazardList = []
this.loading = false
this.finished = false
}, },
onSearch() { onSearch() {
console.log('xxxx', this.title) console.log('xxxx', this.title)
......
...@@ -120,6 +120,9 @@ window.addEventListener('load', function () { ...@@ -120,6 +120,9 @@ window.addEventListener('load', function () {
this.page = 1 this.page = 1
this.size = 6 this.size = 6
this.total = 0 this.total = 0
this.loading = false
this.finished = false
this.hazardList = [] this.hazardList = []
}, },
yhstatus() { // tab值对应的隐患状态码装欢 yhstatus() { // tab值对应的隐患状态码装欢
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment