Compare commits
No commits in common. "9571be39400a9a1cfb86db7258a29407a837e580" and "65f15df3207c34ac5de1da60a7439524953d7389" have entirely different histories.
9571be3940
...
65f15df320
|
@ -38,7 +38,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="disjcac pad-zy20 mar-s30">
|
<view class="disjcac pad-zy20 mar-s30">
|
||||||
<view class="disjbac radius30 width100 pad-sx20 pad-zy30" style="border: 2rpx solid #d9d9d9;box-sizing: border-box;">
|
<view class="disjbac radius30 width100 pad-sx20 pad-zy30" style="border: 2rpx solid #d9d9d9;box-sizing: border-box;">
|
||||||
<textarea class="col9 fon30" v-model="content" style="height: 272rpx;" placeholder="请输入反馈信息"></textarea>
|
<textarea class="col9 fon30" style="height: 272rpx;" placeholder="请输入反馈信息"></textarea>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="disjcac mar-s70">
|
<view class="disjcac mar-s70">
|
||||||
|
@ -52,8 +52,7 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
typeList:['满意','不满意'],
|
typeList:['满意','不满意'],
|
||||||
typeText:'满意',
|
typeText:'满意'
|
||||||
content:''
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -65,18 +64,6 @@
|
||||||
this.typeText = this.typeList[res.tapIndex];
|
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){
|
|
||||||
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue