diff --git a/my/feedback/feedbackMenu.vue b/my/feedback/feedbackMenu.vue
new file mode 100644
index 0000000..82ba874
--- /dev/null
+++ b/my/feedback/feedbackMenu.vue
@@ -0,0 +1,258 @@
+
+
+
+
+ 投诉中心
+ 倾听您的声音,保障您的权益
+
+
+
+
+
+
+ 历史消息
+
+
+
+
+
+ 我要投诉
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/my/feedback/index.vue b/my/feedback/index.vue
index 3a260b5..67901fe 100644
--- a/my/feedback/index.vue
+++ b/my/feedback/index.vue
@@ -5,7 +5,7 @@
问题和意见
快速键入
-
+
联系方式
@@ -28,10 +28,12 @@ export default {
score: 5,
content: '',
contact: ''
- }
+ },
+ type:2,
};
},
- onLoad() {
+ onLoad(e) {
+ if(e.type) this.type = e.type
// let deviceInfo = {
// appid: plus.runtime.appid,
// imei: plus.device.imei, //设备标识
@@ -98,15 +100,24 @@ export default {
return;
}
this.$queue.showLoading('加载中...');
- this.$Request.postJson('/app/message/insertMessage', {
- state: 2,
+ let reqParams = {
+ state: this.type,
+ obj:'PT',
title: this.sendDate.contact,
content: this.sendDate.content,
userId: userId
// title: this.sendDate.contact,
// content: JSON.stringify(this.sendDate),
// state: 2
- }).then(res => {
+ }
+ if(this.type == 7){
+ reqParams.type = 0
+ reqParams.userName = this.$queue.getData('userName')
+ reqParams.byUserId = -1
+ reqParams.byUserName = '平台'
+ }
+ console.log(reqParams)
+ this.$Request.postJson('/app/message/insertMessage',reqParams ).then(res => {
if (res.code === 0) {
uni.showToast({
title: '提交成功'
diff --git a/my/feedback/indexts.vue b/my/feedback/indexts.vue
new file mode 100644
index 0000000..3dc913a
--- /dev/null
+++ b/my/feedback/indexts.vue
@@ -0,0 +1,211 @@
+
+
+
+
+ 平台投诉
+ 快速键入
+
+
+
+
+ 联系方式
+
+
+
+
+
+
+
+
+
+
+
diff --git a/my/feedback/tshistory.vue b/my/feedback/tshistory.vue
new file mode 100644
index 0000000..6d7250c
--- /dev/null
+++ b/my/feedback/tshistory.vue
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 投诉类型:{{item.typeName}}
+ 投诉标题:{{ item.title }}
+ 投诉内容:{{ item.content }}
+
+ 被投诉人:{{ item.byUserName }}
+
+
+ 投诉时间:{{ item.createAt }}
+
+
+
+
+ 处理结果:{{ item.auditContent?item.auditContent:'正在处理中' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/my/feedback/tsjsForm.vue b/my/feedback/tsjsForm.vue
new file mode 100644
index 0000000..c28fe5f
--- /dev/null
+++ b/my/feedback/tsjsForm.vue
@@ -0,0 +1,1290 @@
+
+
+
+ 投诉类型
+
+ {{typeName ? typeName : '请选择投诉类型'}}
+
+ 投诉标题
+
+
+
+ 投诉内容
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 选择图片
+
+
+
+
+ 温馨提示:最多上传3张图片
+
+
+ 选择技师
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.artificerName }}
+
+
+
+
+
+
+ {{item.content}}
+
+
+
+
+
+
+
+ {{ item.distance }}
+
+
+
+
+
+ {{item.consortiaName}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/my/help/feedbackIndex.vue b/my/help/feedbackIndex.vue
index 5961acd..71eb8b3 100644
--- a/my/help/feedbackIndex.vue
+++ b/my/help/feedbackIndex.vue
@@ -10,6 +10,10 @@
联系客服
+
+
+ 历史反馈
+
我要反馈
@@ -142,6 +146,14 @@
fail: () => {},
complete: () => {}
});
+ },
+ goHistory(){
+ uni.navigateTo({
+ url: '/my/help/xxhistory',
+ success: res => {},
+ fail: () => {},
+ complete: () => {}
+ });
}
}
}
diff --git a/my/help/xxhistory.vue b/my/help/xxhistory.vue
new file mode 100644
index 0000000..9a5d046
--- /dev/null
+++ b/my/help/xxhistory.vue
@@ -0,0 +1,161 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 反馈时间:{{ item.createAt }}
+ 反馈内容:{{ item.content }}
+ 联系方式:{{ item.title }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages.json b/pages.json
index bcacbae..395a9a4 100644
--- a/pages.json
+++ b/pages.json
@@ -1114,6 +1114,16 @@
"titleNView": false
}
}
+ },{
+ "path": "help/xxhistory",
+ "style": {
+ "navigationBarTitleText": "历史反馈",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom",
+ "app-plus": {
+ "titleNView": false
+ }
+ }
},{
"path": "order/payModifyPt",
"style": {
@@ -1667,6 +1677,26 @@
}
}
},
+ {
+ "path": "feedback/feedbackMenu",
+ "style": {
+ "navigationBarTitleText": "我要投诉",
+ "navigationStyle": "custom",
+ "app-plus": {
+ "titleNView": false
+ }
+ }
+ },
+ {
+ "path": "feedback/tsjsForm",
+ "style": {
+ "navigationBarTitleText": "投诉技师",
+ "navigationStyle": "custom",
+ "app-plus": {
+ "titleNView": false
+ }
+ }
+ },
{
"path": "feedback/index",
"style": {
@@ -1677,6 +1707,26 @@
}
}
},
+ {
+ "path": "feedback/indexts",
+ "style": {
+ "navigationBarTitleText": "投诉平台",
+ "navigationStyle": "custom",
+ "app-plus": {
+ "titleNView": false
+ }
+ }
+ },
+ {
+ "path" : "feedback/tshistory",
+ "style": {
+ "navigationBarTitleText": "历史投诉",
+ "navigationStyle": "custom",
+ "app-plus": {
+ "titleNView": false
+ }
+ }
+ },
{
"path": "setting/help",
"style": {
diff --git a/pages/my/index.vue b/pages/my/index.vue
index 00baba9..9104b0e 100644
--- a/pages/my/index.vue
+++ b/pages/my/index.vue
@@ -207,7 +207,7 @@
我的团队
-
+
我要投诉