Commit fb415738 by 杨北旺

fix:修复查询监听问题

1 parent 668fdeb2
...@@ -153,7 +153,7 @@ const actions = { ...@@ -153,7 +153,7 @@ const actions = {
}, },
registerHttp({}, sessionId = '') { registerHttp({}, sessionId = '') {
window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: sessionId } }) window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: sessionId } })
// window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: 'mini-025daaf5-bf2a-4fb3-8232-ed1bc31304d3-rop' } }) // window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: '342ecba1-ab1a-41e6-88c3-76797915df27' } })
} }
} }
const getParams = name => { const getParams = name => {
......
...@@ -158,8 +158,6 @@ export default { ...@@ -158,8 +158,6 @@ export default {
delete this.paramForm.queryText delete this.paramForm.queryText
} }
this.initData() this.initData()
this.getServicesList()
this.getOrderCount(e)
}, },
toIconSearch(e){ toIconSearch(e){
this.search(e) this.search(e)
...@@ -172,7 +170,6 @@ export default { ...@@ -172,7 +170,6 @@ export default {
delete this.paramForm.dataPerfection delete this.paramForm.dataPerfection
} }
this.initData() this.initData()
this.getServicesList()
}, },
initData(){ initData(){
this.serviceList = [] this.serviceList = []
...@@ -180,6 +177,9 @@ export default { ...@@ -180,6 +177,9 @@ export default {
this.loading = false this.loading = false
this.finished = false this.finished = false
this.paramForm.pageNum = 1 this.paramForm.pageNum = 1
this.getServicesList()
this.getOrderCount(e)
}, },
onLoad() { onLoad() {
if (this.serviceList.length != 0 && this.serviceList.length % this.paramForm.pageSize == 0) { if (this.serviceList.length != 0 && this.serviceList.length % this.paramForm.pageSize == 0) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!