From 4109e8348f555e0d4617c546fb80666c64c25320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=83=E8=82=89=E7=9A=84=E9=A5=BA=E5=AD=90?= <2659004835@qq.com> Date: Sun, 31 Jul 2022 16:59:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=8D=E9=A6=88=E6=8E=A5=E5=8F=A3=E6=8E=A5?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesA/feedback/feedback.vue | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/pagesA/feedback/feedback.vue b/pagesA/feedback/feedback.vue index 5fd6894..8ee4f58 100644 --- a/pagesA/feedback/feedback.vue +++ b/pagesA/feedback/feedback.vue @@ -38,7 +38,7 @@ - + @@ -52,7 +52,8 @@ data() { return { typeList:['满意','不满意'], - typeText:'满意' + typeText:'满意', + content:'' } }, methods: { @@ -64,6 +65,18 @@ this.typeText = this.typeList[res.tapIndex]; } }) + }, + // 反馈提交 + setFeedBack(){ + let params = { + satisfied:this.typeText=="满意"?1:0, + content:this.content + } + this.$requst.post('user/create-feedback').then(res=>{ + if(res.code==0){ + + } + }) } } }