Commit 8282d9c5 by lichengming

修改了添加设备后加载

parent d65af13a
...@@ -331,6 +331,7 @@ export default { ...@@ -331,6 +331,7 @@ export default {
this.$refs.pageTable._loadColumn(colList) this.$refs.pageTable._loadColumn(colList)
}, },
_equipResult: async function(res) { _equipResult: async function(res) {
this.$refs.pageTable._showLoading()
const tempData = {} const tempData = {}
tempData.equipList = [] tempData.equipList = []
res.map((item, index) => { res.map((item, index) => {
...@@ -351,6 +352,9 @@ export default { ...@@ -351,6 +352,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