From d6ee48093065fb2f2a2ba0240838b6ccfcadcd4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=9C=E8=B4=A4=E9=87=91?= <1960116313@qq.com>
Date: Tue, 5 Jul 2022 14:19:11 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E8=B4=A7=E5=88=B0=E4=BB=98=E6=AC=BE=20=20?=
=?UTF-8?q?=E4=B8=8E=20=20=E7=BB=9F=E8=AE=A1=E4=BF=A1=E6=81=AF(=E7=82=B9?=
=?UTF-8?q?=E5=87=BB=E6=95=B0)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/operator/statisticalsms.js | 13 ++++++
src/api/ordermanage/delivery.js | 11 -----
src/views/operator/statisticalsms/index.vue | 42 +++++++++++++++++++
src/views/ordermanage/payondelivery/index.vue | 22 +++++++++-
4 files changed, 76 insertions(+), 12 deletions(-)
create mode 100644 src/api/operator/statisticalsms.js
create mode 100644 src/views/operator/statisticalsms/index.vue
diff --git a/src/api/operator/statisticalsms.js b/src/api/operator/statisticalsms.js
new file mode 100644
index 0000000..43bd734
--- /dev/null
+++ b/src/api/operator/statisticalsms.js
@@ -0,0 +1,13 @@
+import request from '@/router/axios';
+//列表
+export const getUserClick = (current, size, params) => {
+ return request({
+ url: '/api/iot-sim/orders/getUserClick',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ }
+ })
+}
diff --git a/src/api/ordermanage/delivery.js b/src/api/ordermanage/delivery.js
index b87c641..9b1399a 100644
--- a/src/api/ordermanage/delivery.js
+++ b/src/api/ordermanage/delivery.js
@@ -48,14 +48,3 @@ export const update = (row) => {
data: row
})
}
-//树型省市区
-export const getLazyTree = (parentCode, params) => {
- return request({
- url: '/api/iot-system/region/lazy-tree',
- method: 'get',
- params: {
- ...params,
- parentCode
- }
- })
-}
diff --git a/src/views/operator/statisticalsms/index.vue b/src/views/operator/statisticalsms/index.vue
new file mode 100644
index 0000000..fd67d78
--- /dev/null
+++ b/src/views/operator/statisticalsms/index.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ordermanage/payondelivery/index.vue b/src/views/ordermanage/payondelivery/index.vue
index 857fe1c..13954dd 100644
--- a/src/views/ordermanage/payondelivery/index.vue
+++ b/src/views/ordermanage/payondelivery/index.vue
@@ -31,7 +31,6 @@ import {
remove,
update,
} from "@/api/ordermanage/delivery";
-
export default {
data() {
return {
@@ -121,6 +120,7 @@ export default {
prop: "status",
type: "select",
dicUrl: "/api/iot-system/dict/dictionary?code=order_status",
+ search: true,
props: {
label: "dictValue",
value: "dictKey",
@@ -134,6 +134,26 @@ export default {
},
],
},
+ {
+ label: "渠道类型",
+ prop: "type",
+ type: "select",
+ dicUrl: "/api/iot-system/dict/dictionary?code=channel_type",
+ search: true,
+ editDisplay: false,
+ props: {
+ label: "dictValue",
+ value: "dictKey",
+ },
+ dataType: "number",
+ rules: [
+ {
+ required: true,
+ message: "请选择渠道类型",
+ trigger: "change",
+ },
+ ],
+ },
],
},
data: [],