Commit 00ad520c authored by linxin's avatar linxin

add

parent b40a7b05
Pipeline #4643 canceled with stages
...@@ -539,13 +539,13 @@ export default { ...@@ -539,13 +539,13 @@ export default {
hlsPopup.showLoading('请稍候') hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) { vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.code === '00') { if (res.result === 'S') {
vm.hlsPopup.showSuccess('保存成功') vm.hlsPopup.showSuccess('保存成功')
vm.getEquipment()
setTimeout(() => {
vm.downNum = false
}, 2000)
vm.savePicture() vm.savePicture()
// setTimeout(() => {
// vm.downNum = false
// vm.getEquipment()
// }, 2000)
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
...@@ -566,8 +566,6 @@ export default { ...@@ -566,8 +566,6 @@ export default {
} }
list.push(obj) list.push(obj)
vm.save_picture(list) vm.save_picture(list)
vm.downNum = false
vm.getEquipment()
}, },
isSave () { isSave () {
this.hlsPopup.showConfirm({ this.hlsPopup.showConfirm({
......
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