Commit 8230a1a8 authored by xiejb's avatar xiejb

加载接口 弹出加载框

parent 25048958
...@@ -192,7 +192,6 @@ export default { ...@@ -192,7 +192,6 @@ export default {
this.getPostData() this.getPostData()
}, },
onLoad() { onLoad() {
this.loading = true
this.getPostData() this.getPostData()
}, },
getPostData() { getPostData() {
...@@ -222,6 +221,7 @@ export default { ...@@ -222,6 +221,7 @@ export default {
'start': _this.currentPage, 'start': _this.currentPage,
'length': _this.pageSize 'length': _this.pageSize
} }
_this.loading = true
getOrderCustomerSetList(data).then(rt => { getOrderCustomerSetList(data).then(rt => {
if (rt.code === '1') { if (rt.code === '1') {
if (_this.currentPage === 1) { if (_this.currentPage === 1) {
......
...@@ -179,7 +179,7 @@ export default { ...@@ -179,7 +179,7 @@ export default {
this.getPostData() this.getPostData()
}, },
onLoad() { onLoad() {
this.loading = true // this.loading = true
this.getPostData() this.getPostData()
}, },
getPostData() { getPostData() {
...@@ -217,6 +217,7 @@ export default { ...@@ -217,6 +217,7 @@ export default {
// } // }
// ] // ]
// } // }
_this.loading = true
getEmployeeOrgQueryList(data).then(rt => { getEmployeeOrgQueryList(data).then(rt => {
if (rt.code === 200) { if (rt.code === 200) {
if (_this.currentPage === 1) { if (_this.currentPage === 1) {
......
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