Browse Source

修改心理咨询问题页面修改bug

feature/yujt_analysis_pc
zhangyuan 5 years ago
parent
commit
3978f6d69f
  1. 4
      src/views/modules/psychology/psychologyquestion.vue

4
src/views/modules/psychology/psychologyquestion.vue

@ -186,7 +186,7 @@ export default {
}).then(() => {
this.dataForm.id = id
this.dataForm.displayFlag = '0'
this.$http['put']('/property/psychologyquestion/', this.dataForm).then(({ data: res }) => {
this.$http['put']('/property/psychologyquestion/', { id: this.dataForm.id, displayFlag: this.dataForm.displayFlag }).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
@ -213,7 +213,7 @@ export default {
}).then(() => {
this.dataForm.id = id
this.dataForm.displayFlag = '1'
this.$http['put']('/property/psychologyquestion/', this.dataForm).then(({ data: res }) => {
this.$http['put']('/property/psychologyquestion/', { id: this.dataForm.id, displayFlag: this.dataForm.displayFlag }).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}

Loading…
Cancel
Save