Merge branch 'fix_foton_20240619' into 'master'

fix: 企标计划编辑功能BUG修改

See merge request laws-foton-slrs/foton-laws-system-front!208
This commit is contained in:
王晓勇
2024-07-15 09:58:45 +00:00
2 changed files with 14 additions and 3 deletions
+1
View File
@@ -412,6 +412,7 @@
watch: {
isVisible(val) {
this.visible = val
this.filterText= ''
if (val) {
this.nodeList2 = this.nodeList
if (this.nodeList2.length && this.nodeList2[0].length) {
@@ -1657,15 +1657,25 @@ export default {
})
}
} else {
this.addDrawer = false
this.$message.warning(res.data)
this.getData()
if (res.data === '操作成功') {
this.addDrawer = false
this.$message.success(res.data)
this.submitLoading = false
this.getData()
} else {
this.addDrawer = false
this.$message.warning(res.data)
this.submitLoading = false
this.getData()
}
}
} else {
this.submitLoading = false
this.$message.warning(tips + '失败')
}
})
} else {
this.submitLoading = false
this.$message.warning('请检查表单是否填写正确')
}
})