From 5acd6a692b23aead73192150c140642724122a63 Mon Sep 17 00:00:00 2001 From: zhangdingyu <974548713@qq.com> Date: Fri, 27 Sep 2019 11:58:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=BC=E5=90=88=E6=9F=A5=E8=AF=A2loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ManufacturingCenter/ParseQuery/index.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/views/ManufacturingCenter/ParseQuery/index.vue b/src/views/ManufacturingCenter/ParseQuery/index.vue index c46b0f34..e29ec966 100644 --- a/src/views/ManufacturingCenter/ParseQuery/index.vue +++ b/src/views/ManufacturingCenter/ParseQuery/index.vue @@ -146,6 +146,7 @@ { - this.tableDataDiv0 = response.data - }) + this.SearchMachine1() + // this.machineValue ? this.check = 1 : this.check = 0 + // searchMachine(this.check, this.machineValue).then(response => { + // this.tableDataDiv0 = response.data + // }) }, // 机床名称查询函数 querySearch(queryString, cb) { @@ -2333,8 +2337,10 @@ export default { }, SearchMachine1() { this.machineValue ? this.check = 1 : this.check = 0 + this.loading0 = true searchMachine(this.check, this.machineValue).then(response => { this.tableDataDiv0 = response.data + this.loading0 = false }) }, SearchMachine(item) {