From 2b62df23259a8d0674762723e9690ca3e443739b Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: Mon, 27 Jul 2020 14:22:44 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E8=AF=89=E5=BE=85=E5=8A=9E=E5=A4=84?=
=?UTF-8?q?=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/complaint/complaint.js | 25 +++++
pages/complaintList/complaintList.vue | 132 +++++++++-----------------
2 files changed, 68 insertions(+), 89 deletions(-)
create mode 100644 api/complaint/complaint.js
diff --git a/api/complaint/complaint.js b/api/complaint/complaint.js
new file mode 100644
index 0000000..c46993a
--- /dev/null
+++ b/api/complaint/complaint.js
@@ -0,0 +1,25 @@
+import url from '../../constant/url.js';
+
+/**
+ * 查询投诉待办
+ * @param {Object} _that 上下文对象
+ * @param {Object} _data 请求报文
+ */
+export function loadTodoCompaint(_that,_data){
+ return new Promise(function(reslove,reject){
+ _that.context.get({
+ url: url.listAuditComplaints,
+ data:_data,
+ success: function(res) {
+ reslove(res);
+ },
+ fail: function(e) {
+ wx.showToast({
+ title: "服务器异常了",
+ icon: 'none',
+ duration: 2000
+ })
+ }
+ })
+ });
+}
\ No newline at end of file
diff --git a/pages/complaintList/complaintList.vue b/pages/complaintList/complaintList.vue
index 052b13a..4d09f54 100644
--- a/pages/complaintList/complaintList.vue
+++ b/pages/complaintList/complaintList.vue
@@ -1,53 +1,32 @@
-
-
-
- 待处理单
-
-
- 历史单
-
+
+
+ {{item.complaintId}}
+ {{item.tel}}
-
-
-
-
-
-
-
-
-
@@ -55,12 +34,12 @@