Commit a4fad7b6 authored by 刘殿昕's avatar 刘殿昕

Merge branch 'dev'

parents 08c07dd1 57ae5e47
...@@ -456,11 +456,11 @@ export default { ...@@ -456,11 +456,11 @@ export default {
}); });
}); });
} else { } else {
this.$message.error("获取组织失败"); // this.$message.error("获取组织失败");
} }
}) })
.catch(function(response) { .catch(function(response) {
this.$message.error("获取组织失败"); // this.$message.error("获取组织失败");
}); });
}, },
removepic() { removepic() {
......
...@@ -200,6 +200,7 @@ export default { ...@@ -200,6 +200,7 @@ export default {
).then((res)=>{ ).then((res)=>{
if(res.data.success){ if(res.data.success){
this.$message.success('添加成功') this.$message.success('添加成功')
this.$emit("update2");
this.get_question() this.get_question()
this.get_answer() this.get_answer()
}else{ }else{
...@@ -230,6 +231,7 @@ export default { ...@@ -230,6 +231,7 @@ export default {
if(res.data.success){ if(res.data.success){
this.$message.success('添加成功') this.$message.success('添加成功')
this.editstr = '' this.editstr = ''
this.$emit("update2");
this.get_question() this.get_question()
this.get_answer() this.get_answer()
}else{ }else{
......
...@@ -89,6 +89,7 @@ export default { ...@@ -89,6 +89,7 @@ export default {
if(res.data.success){ if(res.data.success){
this.$message.success('添加成功') this.$message.success('添加成功')
this.$router.push({name: 'answerCenterList'}) this.$router.push({name: 'answerCenterList'})
this.$emit("update2");
}else{ }else{
this.$message.error('添加失败') this.$message.error('添加失败')
} }
......
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