Commit 535797d0 by lichengming

修改了添加设备后加载

parent 8282d9c5
...@@ -271,6 +271,7 @@ export default { ...@@ -271,6 +271,7 @@ export default {
} }
}, },
_equipResult: async function(res) { _equipResult: async function(res) {
this.$refs.pageTable._showLoading()
console.log(res) console.log(res)
const tempData = {} const tempData = {}
tempData.equipList = [] tempData.equipList = []
...@@ -292,6 +293,9 @@ export default { ...@@ -292,6 +293,9 @@ export default {
const result = await soilTest.addExpEquip(tempData) const result = await soilTest.addExpEquip(tempData)
if (result) { if (result) {
this.$Message.success('添加成功') this.$Message.success('添加成功')
this.$refs.pageTable._hideLoading()
} else {
this.$refs.pageTable._hideLoading()
} }
}, },
// 调整分组 // 调整分组
......
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