From 7f4f4582c6e04ec77d494671850d903610a7a468 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=9C=E8=B4=A4=E9=87=91?= <1960116313@qq.com>
Date: Fri, 30 Sep 2022 15:11:52 +0800
Subject: [PATCH] =?UTF-8?q?fix:=E6=B5=81=E9=87=8F=E6=97=A5=E6=9C=88?=
=?UTF-8?q?=E5=8E=86=E5=8F=B2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/informationmanage/cardusemonth.js | 13 ++
src/views/informationmanage/carduse/index.vue | 30 +--
.../informationmanage/cardusemonth/index.vue | 189 ++++++++++++++++++
3 files changed, 206 insertions(+), 26 deletions(-)
create mode 100644 src/api/informationmanage/cardusemonth.js
create mode 100644 src/views/informationmanage/cardusemonth/index.vue
diff --git a/src/api/informationmanage/cardusemonth.js b/src/api/informationmanage/cardusemonth.js
new file mode 100644
index 0000000..d45648e
--- /dev/null
+++ b/src/api/informationmanage/cardusemonth.js
@@ -0,0 +1,13 @@
+import request from '@/router/axios';
+//列表
+export const getList = (current, size, params) => {
+ return request({
+ url: '/api/iot-sim/simcarddeliver/getFlowHisMonth',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ }
+ })
+}
diff --git a/src/views/informationmanage/carduse/index.vue b/src/views/informationmanage/carduse/index.vue
index de9e6cc..f12ef09 100644
--- a/src/views/informationmanage/carduse/index.vue
+++ b/src/views/informationmanage/carduse/index.vue
@@ -69,36 +69,14 @@ export default {
prop: "msisdn",
search: true,
},
+
{
label: "时间",
+ type: "date",
+ format: "yyyy-MM-dd",
+ valueFormat: "yyyyMMdd",
prop: "time",
- },
- {
- label: "时间",
- prop: "type",
- type: "select",
search: true,
- hide: true,
- // searchClearable: false,
- searchValue: 2,
- dicData: [
- {
- label: "昨日",
- value: 1,
- },
- {
- label: "本周",
- value: 2,
- },
- {
- label: "上周",
- value: 3,
- },
- {
- label: "本月",
- value: 4,
- },
- ],
},
],
},
diff --git a/src/views/informationmanage/cardusemonth/index.vue b/src/views/informationmanage/cardusemonth/index.vue
new file mode 100644
index 0000000..842997c
--- /dev/null
+++ b/src/views/informationmanage/cardusemonth/index.vue
@@ -0,0 +1,189 @@
+
+
+
+
+
+
+
+
+
+