Compare commits

...

189 Commits

Author SHA1 Message Date
liaozetao
ce7ed33f03 时间样式 2024-02-27 21:39:15 +08:00
liaozetao
d20ba9e3a3 轮次持续时间展示问题 2024-02-27 21:39:15 +08:00
liaozetao
8b744fbc0a 修复白名单展示 2024-02-27 21:39:14 +08:00
liaozetao
78a0896e99 修复白名单ID 2024-02-27 21:39:14 +08:00
Dragon
c3e24aae51 修复查询异常问题 2024-02-27 21:39:13 +08:00
liaozetao
3aa9d98aa2 修复设置白名单 2024-02-27 21:39:13 +08:00
liaozetao
5d13b68c5a 修复查询参数 2024-02-27 21:39:13 +08:00
liaozetao
b900c5fe83 修复导出问题 2024-02-27 21:39:12 +08:00
liaozetao
cfeceed259 修复展示问题 2024-02-27 21:39:12 +08:00
liaozetao
a9fedeccf2 处理获奖展示 2024-02-27 21:39:12 +08:00
liaozetao
624afcc90a 修复设置白名单后重新渲染 2024-02-27 21:39:11 +08:00
liaozetao
1a3f6137cb 修复白名单数量 2024-02-27 21:39:11 +08:00
liaozetao
05721d3916 添加白名单数量判断 2024-02-27 21:39:10 +08:00
liaozetao
3a52b34239 修改按钮颜色 2024-02-27 21:39:10 +08:00
liaozetao
782989b3c8 修复设置完后刷新问题 2024-02-27 21:39:09 +08:00
liaozetao
e5a2bd8433 修复设置白名单 2024-02-27 21:39:09 +08:00
liaozetao
04d23c58de 返回轮次ID 2024-02-27 21:39:08 +08:00
liaozetao
72649778a5 修复查询问题 2024-02-27 21:39:08 +08:00
Dragon
e850d11175 调用初始化接口 2024-02-27 21:39:07 +08:00
Dragon
f78e1c10b7 修复bug,新增ts,去除黄色警告 2024-02-27 21:39:06 +08:00
Dragon
4ed3d88e1e 完善许愿管理剩余接口 2024-02-27 21:39:06 +08:00
liaozetao
ccc03895a7 新增许愿轮次记录 2024-02-27 21:39:05 +08:00
Dragon
b38614c45e 新增许愿之星 2024-02-27 21:39:04 +08:00
liaozetao
74b32be861 去除id默認值0 2024-02-23 17:27:34 +08:00
liaozetao
e5f78df6e5 修改時間各式 2024-02-23 17:22:34 +08:00
liaozetao
3c5ea1a5e0 展示置顶时间 2024-02-23 16:47:28 +08:00
liaozetao
8019555459 修复roomUid问题 2024-02-23 16:17:19 +08:00
liaozetao
a5996c3db8 去除tab不能删除逻辑 2024-02-23 15:42:25 +08:00
liaozetao
681d7f7a5c 修复数据回显问题 2024-02-23 15:37:52 +08:00
liaozetao
52f4d6277c 添加时间组件 2024-02-23 15:03:11 +08:00
liaozetao
bc4c36bdc8 修改校验逻辑 2024-02-23 14:29:51 +08:00
liaozetao
5fa717465e 修改判斷邏輯 2024-02-21 17:59:02 +08:00
liaozetao
889bb2363e 修改toast提示 2024-02-21 17:59:01 +08:00
liaozetao
1111d4782e 标题判断逻辑 2024-02-21 17:59:01 +08:00
liaozetao
96ad03efb9 修复展示问题 2024-02-21 17:59:01 +08:00
liaozetao
49cdeb7407 修改版本判断逻辑 2024-02-21 17:59:01 +08:00
liaozetao
80dca35881 新增app原生固定编码 2024-02-20 14:29:16 +08:00
liaozetao
c7d6455c16 修复台湾货币保存 2024-02-20 10:18:43 +08:00
liaozetao
b2cd8d5b75 新增台湾地区银行 2024-02-19 16:45:42 +08:00
liaozetao
f6740bf1ca 设置时间必填项 2024-02-18 16:11:55 +08:00
liaozetao
ec30e516a0 修改开屏设置时间问题 2024-02-18 15:50:08 +08:00
liaozetao
a962dbc669 线性福袋 2024-02-05 20:46:57 +08:00
liaozetao
dab97ce8ae 新增mycard字段 2024-01-31 12:42:07 +08:00
liaozetao
3fbb4e287e 修改窗口长度滚动 2024-01-24 18:39:32 +08:00
liaozetao
1096194250 修改loading尺寸 2024-01-24 18:39:32 +08:00
liaozetao
6ad1b136a8 修改高度 2024-01-24 18:39:32 +08:00
liaozetao
f5a30e7a04 修改大小 2024-01-24 18:39:32 +08:00
liaozetao
62e8a2239f 补充 2024-01-24 18:39:32 +08:00
liaozetao
0c17ceffce 新增loading图 2024-01-24 18:39:32 +08:00
liaozetao
1cb752be00 修改时间长度 2024-01-24 18:39:32 +08:00
liaozetao
62211d9cf4 去除添加功能 2024-01-24 18:39:06 +08:00
liaozetao
bf9de20556 修复表单提交问题 2024-01-24 18:38:05 +08:00
liaozetao
7185f8f77a 修復鏈接回線問題 2024-01-24 18:32:58 +08:00
liaozetao
7d5fcd1494 修改鏈接展示邏輯 2024-01-24 18:32:58 +08:00
liaozetao
d462f6bbde 修改上傳按鈕邏輯 2024-01-24 18:32:57 +08:00
liaozetao
b470859daa 修改刪除按鈕邏輯 2024-01-24 18:32:57 +08:00
liaozetao
e3c82bcf92 打印日誌 2024-01-24 18:32:57 +08:00
liaozetao
ef022da215 清空鏈接處理 2024-01-24 18:32:57 +08:00
liaozetao
82dc883119 修復編輯回線 2024-01-24 18:32:57 +08:00
liaozetao
bf1ae344e3 修復查詢問題 2024-01-24 18:32:57 +08:00
liaozetao
eb10bdb44d 修改上傳組件按鈕 2024-01-24 18:32:57 +08:00
liaozetao
b52de9a90d 刪除多餘代碼 2024-01-24 18:32:57 +08:00
liaozetao
2a4929b476 修改上傳組件 2024-01-24 18:32:57 +08:00
liaozetao
9433dd254f 修復view name問題 2024-01-24 18:32:57 +08:00
liaozetao
c206b17acb 修复报错 2024-01-24 18:32:57 +08:00
liaozetao
8d21755335 新增官网配置页面 2024-01-24 18:32:57 +08:00
liaozetao
d8593c736d 修改名称 2024-01-22 15:57:10 +08:00
liaozetao
9258f46bdb 处理电话账单 2024-01-22 14:08:52 +08:00
liaozetao
12c3ad1e6e 修复编辑问题 2024-01-22 11:25:53 +08:00
liaozetao
451f778732 修复上传组件问题 2024-01-20 19:00:04 +08:00
liaozetao
68d7433a05 修复表单提交问题 2024-01-20 17:47:30 +08:00
liaozetao
dcc8e081ee 修复开屏广告配置问题 2024-01-20 15:37:02 +08:00
liaozetao
fc705cbc01 新增公会名称字段 2024-01-15 15:24:00 +08:00
liaozetao
7072376da6 新增平台号搜索 2024-01-15 14:23:52 +08:00
liaozetao
368550d4b8 修改时间格式化 2024-01-12 15:13:52 +08:00
liaozetao
60f349060d 新增修改事件 2024-01-12 12:03:13 +08:00
liaozetao
a5b21a28e0 修复事件失效问题 2024-01-11 19:04:31 +08:00
liaozetao
0b3aa136f9 补充5 2024-01-11 19:00:19 +08:00
liaozetao
c46de130c6 修复奖品设置 2024-01-11 18:55:56 +08:00
liaozetao
c184753083 补充4 2024-01-11 18:48:23 +08:00
liaozetao
6a55b37490 补充3 2024-01-11 18:21:14 +08:00
liaozetao
4b4185f71d 修改事件加载问题 2024-01-11 18:11:03 +08:00
liaozetao
7371a1654a 将事件迁移 2024-01-11 17:53:53 +08:00
liaozetao
e3bb745a92 补充 2024-01-11 17:33:31 +08:00
liaozetao
eb2920b62b 修复报错 2024-01-11 17:28:33 +08:00
liaozetao
270ef2e0e1 修复字段报错 2024-01-11 17:14:45 +08:00
Dragon
b7cc65001f 访问白名单新增操作人字段 2024-01-10 15:34:44 +08:00
liaozetao
dbf84bf7c8 修复时间问题 2024-01-10 15:00:58 +08:00
khalil
9d98c1afd8 寻爱之旅-后台-去掉废弃接口 2024-01-09 18:02:36 +08:00
liaozetao
f6845854a1 修复vgg问题 2024-01-09 15:56:44 +08:00
liaozetao
dbb193c7e9 补充2 2024-01-09 15:51:32 +08:00
liaozetao
71e44300a4 补充 2024-01-09 15:48:42 +08:00
liaozetao
39f1ad026c 修改上传代码 2024-01-09 15:48:27 +08:00
liaozetao
fdc01127e2 修补选择组件 2024-01-09 12:11:42 +08:00
liaozetao
faf0250aae 补充 2024-01-08 17:30:11 +08:00
liaozetao
1526875c7f 修复工具类问题 2024-01-08 17:08:31 +08:00
liaozetao
56df854368 优化私聊查询 2024-01-04 19:02:10 +08:00
liaozetao
7f15427638 超过高度滚动 2024-01-02 18:32:18 +08:00
liaozetao
0586ef3e55 修改mp4 2024-01-02 18:29:34 +08:00
liaozetao
d65e4eb701 修改视图展示 2024-01-02 18:23:17 +08:00
liaozetao
c050d4a338 添加遮罩层 2024-01-02 18:11:11 +08:00
liaozetao
11f0ca3dbd 添加遮罩层 2024-01-02 16:03:17 +08:00
liaozetao
f40a401b2b 超出换行 2023-12-28 18:49:43 +08:00
liaozetao
25ed55eac6 补充2 2023-12-28 18:42:21 +08:00
liaozetao
789d71d7c2 补充 2023-12-28 18:31:57 +08:00
liaozetao
51fa966457 修复超管展示问题 2023-12-28 18:19:45 +08:00
liaozetao
b2334b4e5f 新用户送礼流水 2023-12-28 11:47:17 +08:00
liaozetao
bf909cfa0f 渠道展示颜色 2023-12-27 17:40:38 +08:00
liaozetao
1f7dc304fd 修复置顶问题 2023-12-27 17:31:53 +08:00
liaozetao
b5d8eeebfe 新增合作方字段 2023-12-26 18:55:31 +08:00
liaozetao
2940c9dc0a 去除提示 2023-12-21 20:13:53 +08:00
Dragon
e2c34e5863 修复房间流水筛选bug 2023-12-20 14:50:49 +08:00
liaozetao
ac415d1bcb 修复查询逻辑 2023-12-18 16:52:32 +08:00
liaozetao
61f9575255 窗口未关闭问题 2023-12-18 16:44:04 +08:00
liaozetao
ef4e04286b 增加人气礼物类型 2023-12-15 10:21:16 +08:00
liaozetao
32ad54e4e3 补充 2023-12-13 17:45:10 +08:00
liaozetao
6ff8e23e59 修改礼物类型组件 2023-12-13 17:23:31 +08:00
liaozetao
c60c28efa2 调整样式 2023-12-11 12:37:00 +08:00
liaozetao
86e62d8d40 添加忽视版本和渠道字段 2023-12-11 10:47:26 +08:00
liaozetao
b25b59615e 修改默认选中 2023-12-11 10:28:00 +08:00
liaozetao
ff6bd4a91f 修改礼物默认类型 2023-12-11 10:14:18 +08:00
liaozetao
d20a59e843 补充 2023-12-08 15:37:19 +08:00
liaozetao
94dbb140fb 修改礼物类型默认值 2023-12-08 15:16:13 +08:00
liaozetao
864687bdab 修改礼物管理默认值 2023-12-08 15:13:04 +08:00
liaozetao
e11bf2a439 修改铭牌配置为动态获取 2023-12-06 15:31:26 +08:00
liaozetao
053be766c9 修复按钮问题 2023-12-05 11:51:10 +08:00
Dragon
3f0839f434 新增地区访问简体中文判断条件 2023-12-04 17:54:43 +08:00
Dragon
a7a1e080f3 新增语言转换 2023-12-04 17:05:30 +08:00
Dragon
5171520e65 修复报错问题,更改渲染格式 2023-12-04 15:01:35 +08:00
Dragon
73bddf774b 新增访问限制字段和弹窗 2023-12-04 14:20:20 +08:00
liaozetao
7d794a0fff 修复礼物默认选中逻辑 2023-11-29 17:21:34 +08:00
liaozetao
16503488c1 修改字段名 2023-11-28 11:17:33 +08:00
liaozetao
ff850ee37a 去除授权码 2023-11-27 16:31:14 +08:00
Dragon
cdfecefa12 修复地点为时间 2023-11-27 16:16:55 +08:00
Dragon
abf81518fe 修复白名单错别字 2023-11-27 16:15:23 +08:00
Dragon
1431dff97b 修改错别字 2023-11-27 16:12:28 +08:00
liaozetao
8d6efb8efb 邀请码管理增加填写类型来源 2023-11-27 15:04:39 +08:00
liaozetao
b3defa71d1 删除奇怪的文件 2023-11-27 14:56:23 +08:00
liaozetao
83a4ed0c9e 修复手机号缺少86 2023-11-23 14:27:50 +08:00
Dragon
1148e4b35d 修复全局上传文件按钮影响 2023-11-23 14:27:50 +08:00
Dragon
3aacfea299 完善分页 2023-11-23 14:27:49 +08:00
Dragon
90a732b4f4 修复假如白名单传参异常问题 2023-11-23 14:27:49 +08:00
Dragon
24f6702101 修复字段名错误问题 2023-11-23 14:27:49 +08:00
Dragon
ddcfd8c7ec 修复列表展示文案,以及字眼错误问题 2023-11-23 14:27:48 +08:00
Dragon
0cf6366dbd 修改post请求方式 2023-11-23 14:27:48 +08:00
Dragon
ac9756cf08 完成白名单以及地区访问限制 2023-11-23 14:27:47 +08:00
Dragon
6d8117050c 白名单功能暂存 2023-11-23 14:27:47 +08:00
liaozetao
9ee10ef721 修改菜单查询逻辑 2023-11-23 10:36:00 +08:00
liaozetao
ef3a28e686 修改单线比刷新逻辑 2023-11-22 17:11:40 +08:00
liaozetao
fc6a53122c 修复查询字段 2023-11-22 15:25:01 +08:00
liaozetao
5179669fb1 修复代码报错 2023-11-21 17:59:09 +08:00
liaozetao
271d3ad2b3 修復編輯回線問題 2023-11-21 16:29:31 +08:00
liaozetao
972816b94b 暫時去除緩存 2023-11-21 16:20:39 +08:00
liaozetao
eea217af60 修复渠道展示问题 2023-11-21 15:59:25 +08:00
liaozetao
376a72fdb2 修复跳转类型 2023-11-21 15:59:25 +08:00
liaozetao
fa47d94a96 修复开屏跳转类型 2023-11-21 15:59:25 +08:00
liaozetao
babe71973b 开屏设置默认开启 2023-11-21 15:59:25 +08:00
liaozetao
bbd7e21197 修复闪屏逻辑 2023-11-21 15:59:25 +08:00
liaozetao
0356944be5 修复上传按钮 2023-11-21 15:59:25 +08:00
liaozetao
c5196494ea 手机授权页面增加字段 2023-11-21 15:59:25 +08:00
liaozetao
80f5f05ea0 上传文件增加遮罩层 2023-11-21 15:59:25 +08:00
liaozetao
a2f10cc41f 修改file文件上传判断 2023-11-21 15:59:25 +08:00
liaozetao
339e3f5ba9 补充 2023-11-21 15:59:25 +08:00
liaozetao
908047e40b 修复展示类型 2023-11-21 15:59:25 +08:00
liaozetao
545a86ed54 判断不允许重复发请求 2023-11-21 15:59:25 +08:00
liaozetao
14c2e701a0 删除日志 2023-11-21 15:59:25 +08:00
liaozetao
211f4f51fa 修复按钮展示问题 2023-11-21 15:59:25 +08:00
liaozetao
c9a6677b91 修复上传问题 2023-11-21 15:59:25 +08:00
liaozetao
c5f4861c78 补充 2023-11-21 15:59:25 +08:00
liaozetao
2ff3cdac81 修改上传逻辑 2023-11-21 15:59:25 +08:00
liaozetao
9bc44106d5 修復時間格式化 2023-11-21 15:59:25 +08:00
liaozetao
ba89520f01 修復圖片上傳 2023-11-21 15:59:25 +08:00
liaozetao
8a2a51b0de 修复下拉框字段 2023-11-21 15:59:25 +08:00
liaozetao
2c95c7fbd3 修复按钮判断 2023-11-21 15:59:25 +08:00
liaozetao
8e654d1680 修复时间格式化问题 2023-11-21 15:59:25 +08:00
liaozetao
d168653061 新增开屏设置 2023-11-21 15:59:25 +08:00
liaozetao
7689181eb8 新增资源位管理 2023-11-21 15:59:25 +08:00
liaozetao
dbe9d47065 去除分析工具 2023-11-20 18:53:30 +08:00
liaozetao
a8232182ba 去除分析库 2023-11-16 14:38:41 +08:00
liaozetao
8065c2faca 去除unmounted 2023-11-14 18:00:42 +08:00
liaozetao
3a13518b10 修复table组件问题 2023-11-14 17:57:02 +08:00
liaozetao
2c55463d35 修复上传组件 2023-11-14 16:01:12 +08:00
Dragon
b8568ce761 后台-充值明细-输入框校验修改 2023-11-14 12:17:07 +08:00
Dragon
7daf9feb39 转赠身份设置后台管理 2023-11-06 18:23:59 +08:00
liaozetao
20bccaae6a 优化菜单展示逻辑 2023-11-02 17:29:09 +08:00
liaozetao
d392cb089f 修改菜单读取逻辑 2023-11-02 17:16:37 +08:00
liaozetao
9a68bf278f 归因场次不允许跨月 2023-11-02 15:44:30 +08:00
liaozetao
f8fc444e32 新增累计字段 2023-11-01 13:08:38 +08:00
liaozetao
332edf1d0c 修复小数点问题 2023-11-01 11:50:29 +08:00
349 changed files with 6583 additions and 2796 deletions

98
package-lock.json generated
View File

@@ -26,7 +26,8 @@
"sass": "^1.67.0",
"sass-loader": "^13.3.2",
"vue-router": "^4.0.3",
"vuex": "^4.0.0"
"vuex": "^4.0.0",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@babel/core": "^7.12.16",
@@ -41,7 +42,6 @@
"unplugin-auto-import": "^0.16.7",
"unplugin-vue-components": "^0.25.2",
"vue": "^3.2.13",
"webpack-bundle-analyzer": "^4.9.1",
"webpack-cli": "^5.1.4"
}
},
@@ -3717,6 +3717,14 @@
"node": ">= 10.0.0"
}
},
"node_modules/adler-32": {
"version": "1.3.1",
"resolved": "https://registry.npmmirror.com/adler-32/-/adler-32-1.3.1.tgz",
"integrity": "sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==",
"engines": {
"node": ">=0.8"
}
},
"node_modules/admin-lte": {
"version": "2.3.2",
"resolved": "https://registry.npmmirror.com/admin-lte/-/admin-lte-2.3.2.tgz",
@@ -4440,6 +4448,18 @@
"node": ">=4"
}
},
"node_modules/cfb": {
"version": "1.2.2",
"resolved": "https://registry.npmmirror.com/cfb/-/cfb-1.2.2.tgz",
"integrity": "sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==",
"dependencies": {
"adler-32": "~1.3.0",
"crc-32": "~1.2.0"
},
"engines": {
"node": ">=0.8"
}
},
"node_modules/chalk": {
"version": "2.4.2",
"resolved": "https://registry.npmmirror.com/chalk/-/chalk-2.4.2.tgz",
@@ -4692,6 +4712,14 @@
"node": ">=0.10.0"
}
},
"node_modules/codepage": {
"version": "1.15.0",
"resolved": "https://registry.npmmirror.com/codepage/-/codepage-1.15.0.tgz",
"integrity": "sha512-3g6NUTPd/YtuuGrhMnOMRjFc+LJw/bnMp3+0r/Wcz3IXUuCosKRJvMphm5+Q+bvTVGcJJuRvVLuYba+WojaFaA==",
"engines": {
"node": ">=0.8"
}
},
"node_modules/color-convert": {
"version": "1.9.3",
"resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-1.9.3.tgz",
@@ -4962,6 +4990,17 @@
"node": ">=10"
}
},
"node_modules/crc-32": {
"version": "1.2.2",
"resolved": "https://registry.npmmirror.com/crc-32/-/crc-32-1.2.2.tgz",
"integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==",
"bin": {
"crc32": "bin/crc32.njs"
},
"engines": {
"node": ">=0.8"
}
},
"node_modules/cross-spawn": {
"version": "6.0.5",
"resolved": "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-6.0.5.tgz",
@@ -6779,6 +6818,14 @@
"node": ">= 0.6"
}
},
"node_modules/frac": {
"version": "1.1.2",
"resolved": "https://registry.npmmirror.com/frac/-/frac-1.1.2.tgz",
"integrity": "sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA==",
"engines": {
"node": ">=0.8"
}
},
"node_modules/fraction.js": {
"version": "4.3.6",
"resolved": "https://registry.npmmirror.com/fraction.js/-/fraction.js-4.3.6.tgz",
@@ -11661,6 +11708,17 @@
"integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",
"dev": true
},
"node_modules/ssf": {
"version": "0.11.2",
"resolved": "https://registry.npmmirror.com/ssf/-/ssf-0.11.2.tgz",
"integrity": "sha512-+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==",
"dependencies": {
"frac": "~1.1.2"
},
"engines": {
"node": ">=0.8"
}
},
"node_modules/ssri": {
"version": "8.0.1",
"resolved": "https://registry.npmmirror.com/ssri/-/ssri-8.0.1.tgz",
@@ -13274,6 +13332,22 @@
"integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==",
"dev": true
},
"node_modules/wmf": {
"version": "1.0.2",
"resolved": "https://registry.npmmirror.com/wmf/-/wmf-1.0.2.tgz",
"integrity": "sha512-/p9K7bEh0Dj6WbXg4JG0xvLQmIadrner1bi45VMJTfnbVHsc7yIajZyoSoK60/dtVBs12Fm6WkUI5/3WAVsNMw==",
"engines": {
"node": ">=0.8"
}
},
"node_modules/word": {
"version": "0.3.0",
"resolved": "https://registry.npmmirror.com/word/-/word-0.3.0.tgz",
"integrity": "sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA==",
"engines": {
"node": ">=0.8"
}
},
"node_modules/wrap-ansi": {
"version": "7.0.0",
"resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
@@ -13340,6 +13414,26 @@
}
}
},
"node_modules/xlsx": {
"version": "0.18.5",
"resolved": "https://registry.npmmirror.com/xlsx/-/xlsx-0.18.5.tgz",
"integrity": "sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==",
"dependencies": {
"adler-32": "~1.3.0",
"cfb": "~1.2.1",
"codepage": "~1.15.0",
"crc-32": "~1.2.1",
"ssf": "~0.11.2",
"wmf": "~1.0.1",
"word": "~0.3.0"
},
"bin": {
"xlsx": "bin/xlsx.njs"
},
"engines": {
"node": ">=0.8"
}
},
"node_modules/y18n": {
"version": "5.0.8",
"resolved": "https://registry.npmmirror.com/y18n/-/y18n-5.0.8.tgz",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "vue-cli-service serve --mode development --report",
"dev": "vue-cli-service serve --mode development",
"build": "vue-cli-service build --mode production",
"lint": "vue-cli-service lint"
},
@@ -26,7 +26,8 @@
"sass": "^1.67.0",
"sass-loader": "^13.3.2",
"vue-router": "^4.0.3",
"vuex": "^4.0.0"
"vuex": "^4.0.0",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@babel/core": "^7.12.16",
@@ -41,7 +42,6 @@
"unplugin-auto-import": "^0.16.7",
"unplugin-vue-components": "^0.25.2",
"vue": "^3.2.13",
"webpack-bundle-analyzer": "^4.9.1",
"webpack-cli": "^5.1.4"
}
}

View File

@@ -0,0 +1,65 @@
import request from '@/utils/request';
import qs from 'qs';
// ==================================地区限制====================================
// 地区列表
export const recordPage = query => {
return request({
url: '/admin/ip/region/limit/record/page',
method: 'get',
params: query
});
};
// 加入白名单
export const addWhite = query => {
return request({
url: '/admin/ip/region/limit/record/addWhite',
method: 'get',
params: query
});
};
// 解除限制
export const relieve = query => {
return request({
url: '/admin/ip/region/limit/record/relieve',
method: 'get',
params: query
});
};
// 添加地区访问限制
export const recordSave = query => {
return request({
url: '/admin/ip/region/limit/record/save',
headers:{"Content-Type": 'application/x-www-form-urlencoded'},
method: 'post',
data: query
});
};
// ==================================访问白名单====================================
// 白名单列表
export const whitePage = query => {
return request({
url: '/admin/ip/region/white/page',
method: 'get',
params: query
});
};
// 移除白名单
export const whiteDel = query => {
return request({
url: '/admin/ip/region/white/del',
method: 'get',
params: query
});
};
// 添加白名单
export const whiteSave = query => {
return request({
url: '/admin/ip/region/white/save',
headers:{"Content-Type": 'application/x-www-form-urlencoded'},
method: 'post',
data: query
});
};

72
src/api/common/upload.js Normal file
View File

@@ -0,0 +1,72 @@
import request from "@/utils/request";
import '@/utils/ajaxfileupload';
export const uploadFile = id => {
return new Promise((resolve, reject) => {
$.ajaxFileUpload({
fileElementId: id,
url: '/admin/upload/img',
type: 'post',
dataType: 'json',
secureuri: false,
async: true,
submitType: 'ajax',
success: function (res) {
resolve(res);
},
error: function (res, status, e) {
console.error(res);
console.error(status);
reject(e);
}
});
});
};
export const uploadQiNiuFile = (file) => {
console.log(file);
let formData = new FormData();
formData.append('file', file);
return new Promise((resolve, reject) => {
request.post('/admin/qiniu/upload/file', formData).then(res => {
resolve(res);
}).catch(e => {
reject(e);
});
});
};
export const uploadTencentFile = id => {
return new Promise((resolve, reject) => {
$.ajaxFileUpload({
fileElementId: id,
url: '/admin/upload/tencent/file',
type: 'post',
dataType: 'json',
secureuri: false,
async: true,
submitType: 'ajax',
success: function (res) {
resolve(res);
},
error: function (res, status, e) {
console.error(res);
console.error(status);
reject(e);
}
});
});
};
export const uploadGift = (file) => {
let formData = new FormData();
console.log(file);
formData.append('file', file);
return new Promise((resolve, reject) => {
request.post('/admin/gift/upload', formData).then(res => {
resolve(res);
}).catch(e => {
reject(e);
});
});
};

View File

@@ -0,0 +1,18 @@
import request from '@/utils/request';
export const getOfficialConfigList = query => {
return request({
url: '/admin/official/config/list',
method: 'get',
params: query
});
};
export const saveOfficialConfig = data => {
return request({
url: '/admin/official/config/save',
headers:{"Content-Type": 'application/x-www-form-urlencoded'},
method: 'post',
data: data
});
}

View File

@@ -0,0 +1,9 @@
import request from '@/utils/request';
export const browseFor30Days = query => {
return request({
url: '/admin/official/browse/record/browseFor30Days',
method: 'get',
params: query
});
};

View File

@@ -0,0 +1,34 @@
import request from '@/utils/request';
export const getResourcePage = query => {
return request({
url: '/admin/resource/page',
method: 'get',
params: query
});
};
export const delResource = query => {
return request({
url: '/admin/resource/del',
method: 'get',
params: query
});
};
export const effective = query => {
return request({
url: '/admin/resource/effective',
method: 'get',
params: query
});
};
export const saveResource = data => {
return request({
url: '/admin/resource/save',
headers:{"Content-Type": 'application/x-www-form-urlencoded'},
method: 'post',
data: data
});
}

View File

@@ -0,0 +1,9 @@
import request from '@/utils/request';
export const getResourceRuleList = query => {
return request({
url: '/admin/resource/rule/list',
method: 'get',
params: query
});
};

View File

@@ -5,4 +5,12 @@ export function getSysConfList() {
url: '/admin/sysConf/getList',
method: 'get'
});
}
export const getConfigValueByKey = query => {
return request({
url: '/admin/sysConf/key',
method: 'get',
params: query,
});
}

View File

@@ -0,0 +1,27 @@
import request from '@/utils/request';
import qs from 'qs';
// 获取列表
export const userPage = query => {
return request({
url: '/admin/give/user/page',
method: 'get',
params: query
});
};
// 新增
export const userSave = query => {
return request({
url: '/admin/give/user/save',
method: 'post',
params: query
});
};
// 删除
export const batchDel = query => {
return request({
url: '/admin/give/user/batchDel',
method: 'get',
params: query
});
};

View File

@@ -0,0 +1,76 @@
import request from '@/utils/request';
import qs from 'qs';
import { genQueryParam } from '@/utils/maintainer';
// ==================================许愿礼物配置====================================
// 表单
export const promiseStarConfigList = query => {
return request({
url: '/admin/promiseStarConfig/list',
method: 'get',
params: query
});
};
// 新增弹窗列表数据
export const giftGetAll = query => {
return request({
url: '/admin/gift/getAll',
method: 'get',
params: query
});
};
// 新增
export const promiseStarConfigSave = query => {
return request({
url: '/admin/promiseStarConfig/save',
headers:{"Content-Type": 'application/x-www-form-urlencoded'},
method: 'post',
data: query
});
};
// 下线
export const promiseStarConfigUpdateEnable = query => {
return request({
url: '/admin/promiseStarConfig/updateEnable',
headers:{"Content-Type": 'application/x-www-form-urlencoded'},
method: 'post',
data: query
});
};
export const promiseStarRoundPage = query => {
return request({
url: '/admin/promiseStarRound/page',
method: 'get',
params: query
});
};
export const promiseStarUserRecordGetPromiseUsers = query => {
return request({
url: '/admin/promiseStarUserRecord/getPromiseUsers',
method: 'get',
params: query
});
};
export const promiseStarUserRecordSetUserWhite = query => {
return request({
url: '/admin/promiseStarUserRecord/setUserWhite',
headers:{"Content-Type": 'application/x-www-form-urlencoded'},
method: 'post',
data: query
});
};
export const promiseStarUserRecordPage = query => {
return request({
url: '/admin/promiseStarUserRecord/page',
method: 'get',
params: query
});
};
export const promiseStarUserRecordExport = query => {
window.location.href = `/admin/promiseStarUserRecord/export?${genQueryParam(query)}`;
return;
};

View File

@@ -2203,8 +2203,10 @@
fixedScroll = data.fixedScroll;
data = data[this.options.dataField];
} else if (!$.isArray(data)) { // support fixedScroll
fixedScroll = data.fixedScroll;
data = data.data;
if (data) {
fixedScroll = data.fixedScroll;
data = data.data;
}
}
this.initData(data);
@@ -2528,13 +2530,25 @@
};
BootstrapTable.prototype.destroy = function () {
let bootstrapTable = $('div .bootstrap-table');
if (bootstrapTable) {
let $this = this;
let tables = bootstrapTable.filter(i => {
let $container = $(bootstrapTable[i]);
return ($container && $container.html().indexOf('"' +$this.$el[0].id + '"') != -1);
});
if (tables.length > 1) {
this.$container = $(tables[0]);
this.options.toolbar = $('div.fixed-table-toolbar > div.bars.pull-left').html();
}
}
this.$el.insertBefore(this.$container);
$(this.options.toolbar).insertBefore(this.$el);
this.$container.next().remove();
this.$container.remove();
this.$el.html(this.$el_.html())
.css('margin-top', '0')
.attr('class', this.$el_.attr('class') || ''); // reset the class
$(this.options.toolbar).insertBefore(this.$el);
this.$container.next().remove();
this.$container.remove();
this.$el.html(this.$el_.html())
.css('margin-top', '0')
.attr('class', this.$el_.attr('class') || ''); // reset the class
};
BootstrapTable.prototype.showLoading = function () {
@@ -2776,12 +2790,17 @@
data = $this.data('bootstrap.table'),
options = $.extend({}, BootstrapTable.DEFAULTS, $this.data(),
typeof option === 'object' && option);
if (typeof option === 'string') {
if ($.inArray(option, allowedMethods) < 0) {
throw new Error("Unknown method: " + option);
}
if (!data && option === 'destroy') {
new BootstrapTable(this, options).destroy();
return;
}
if (!data) {
return;
}

View File

@@ -99,13 +99,13 @@
</div>
<div class="modal fade loading" style="background: #00000040;" tabindex="-1" role="dialog"
aria-labelledby="loadingModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="loadingGif" style="position: fixed;"><img :src="loading"></div>
<div class="loadingGif" style="position: fixed; left:50%; top:50%;"><img src="https://img.zcool.cn/community/0111345d94b0b8a801211d53cbd04d.gif" style="width: 10%;"></div>
</div>
</template>
<script>
import store from '@/store';
import loading from '@/assets/images/loading.gif';
import { getStore } from '@/utils/store';
export default {
name: 'MaintainerView',
@@ -130,6 +130,8 @@ export default {
},
methods: {
getMenu() {
this.parentMenus = getStore({ name: 'parent_menus' });
this.childMenus = getStore({ name: 'child_menus' });
store.dispatch('getMenu').then(res => {
this.parentMenus = res.parents;
this.childMenus = res.childs;
@@ -163,9 +165,7 @@ export default {
parentIds.push(v.id);
});
}
console.log(parentIds);
this.parentMenus = store.getters.parentMenus.filter(v1 => parentIds.filter(v2 => v1.id == v2).length > 0);
this.childMenus = store.getters.childMenus.filter(v1 => parentIds.filter(v2 => v1.parentid == v2).length > 0);
}
}
},

View File

@@ -2,39 +2,69 @@
/*鼠标点击后移开,恢复本身样式*/
.primary,
.primary:focus:not(.primary:hover) {
color: white;
background: #409eff;
}
/*鼠标悬浮,没有按下;鼠标按下后抬起,没有移开*/
/* 更改背景和字體顏色 */
.primary:focus, .primary:hover{
color: white;
background: #409eff;
}
/*鼠标悬浮,没有按下;鼠标按下后抬起,没有移开*/
/* 更改背景和字體顏色 */
.primary:focus,
.primary:hover {
color: white;
background: #409eff;
}
/*鼠标按下,没有抬起*/
/* 更改邊框顏色 */
.primary:active {
color: white;
background: #337ecc;
color: white;
background: #337ecc;
}
/*鼠标点击后移开,恢复本身样式*/
.danger,
.danger:focus:not(.danger:hover) {
color: white;
background: #f56c6c;
}
/* 危险的按钮样式 */
/*鼠标悬浮,没有按下;鼠标按下后抬起,没有移开*/
/* 更改背景和字體顏色 */
.danger:focus, .danger:hover{
color: white;
background: #f56c6c;
}
/* 危险的按钮样式 */
/*鼠标悬浮,没有按下;鼠标按下后抬起,没有移开*/
/* 更改背景和字體顏色 */
.danger:focus,
.danger:hover {
color: white;
background: #f56c6c;
}
/*鼠标按下,没有抬起*/
/* 更改邊框顏色 */
.danger:active {
color: white;
background: #c45656;
color: white;
background: #c45656;
}
/*鼠标点击后移开,恢复本身样式*/
.success,
.success:focus:not(.success:hover) {
color: white;
background: #67c23a;
}
/* 危险的按钮样式 */
/*鼠标悬浮,没有按下;鼠标按下后抬起,没有移开*/
/* 更改背景和字體顏色 */
.success:focus,
.success:hover {
color: white;
background: #b3e19d;
}
/*鼠标按下,没有抬起*/
/* 更改邊框顏色 */
.danger:active {
color: white;
background: #529b2e;
}

View File

@@ -1,7 +1,9 @@
import { createApp } from 'vue'
// @ts-ignore
import App from './App.vue'
import router from './router'
import store from './store'
import 'jquery'
import 'jquery.md5'
import 'bootstrap/dist/css/bootstrap.min.css'
@@ -45,10 +47,13 @@ import '@/assets/plugins/jQuery-Validation-Engine/js/languages/jquery.validation
import '@/assets/plugins/bootstrap-treeview/css/bootstrap-treeview.min.css'
import '@/assets/plugins/bootstrap-treeview/js/bootstrap-treeview.min.js'
// @ts-ignore
import components from '@/utils/components.js'
// import ElementPlus from 'element-plus'
// import 'element-plus/dist/index.css'
import '@/css/public.css'
createApp(App).use(store).use(router).use(components).mount('#app')
const app = createApp(App)
app.config.warnHandler = () => null;
app.use(store).use(router).use(components).mount('#app')

View File

@@ -4,7 +4,6 @@ jQuery.extend({
if (s.error) {
s.error.call(s.context || s, xhr, status, e);
}
// Fire the global callback
if (s.global) {
(s.context ? jQuery(s.context) : jQuery.event).trigger("ajaxError", [xhr, s, e]);
@@ -13,17 +12,14 @@ jQuery.extend({
createUploadIframe: function (id, uri) {
//create frame
var frameId = 'jUploadFrame' + id;
if (window.ActiveXObject) {
var io = document.createElement('<iframe id="' + frameId + '" name="' + frameId + '" />');
if (typeof uri == 'boolean') {
io.src = 'javascript:false';
}
else if (typeof uri == 'string') {
} else if (typeof uri == 'string') {
io.src = uri;
}
}
else {
} else {
io = document.createElement('iframe');
io.id = frameId;
io.name = frameId;
@@ -31,18 +27,21 @@ jQuery.extend({
io.style.position = 'absolute';
io.style.top = '-1000px';
io.style.left = '-1000px';
document.body.appendChild(io);
return io
return io;
},
createUploadForm: function (id, fileElementId) {
//create form
var formId = 'jUploadForm' + id;
var fileId = 'jUploadFile' + id;
var form = $('<form action="" method="POST" name="' + formId + '" id="' + formId + '" enctype="multipart/form-data"></form>');
var form = $('#' + formId);
if (form && form.length > 0) {
form.remove();
}
form = $('<form action="" method="POST" name="' + formId + '" id="' + formId + '" enctype="multipart/form-data"></form>');
var oldElement = $('#' + fileElementId);
var newElement = $(oldElement).clone();
var newElement = $(oldElement).clone(true).val("");
//须要复制元素的全部事件处理。
$(oldElement).attr('id', fileId);
$(oldElement).before(newElement);
$(oldElement).appendTo(form);
@@ -53,7 +52,6 @@ jQuery.extend({
$(form).appendTo('body');
return form;
},
ajaxFileUpload: function (s) {
// TODO introduce global settings, allowing the client to modify them for all requests, not only timeout
s = jQuery.extend({}, jQuery.ajaxSettings, s);
@@ -68,7 +66,7 @@ jQuery.extend({
}
var requestDone = false;
// Create the request object
var xml = {}
var xml = {};
if (s.global)
jQuery.event.trigger("ajaxSend", [xml, s]);
// Wait for a response to come back
@@ -98,7 +96,6 @@ jQuery.extend({
// If a local callback was specified, fire it and pass it the data
if (s.success)
s.success(data, status);
// Fire the global callback
if (s.global)
jQuery.event.trigger("ajaxSuccess", [xml, s]);
@@ -112,30 +109,22 @@ jQuery.extend({
// The request was completed
if (s.global)
jQuery.event.trigger("ajaxComplete", [xml, s]);
// Handle the global AJAX counter
if (s.global && ! --jQuery.active)
jQuery.event.trigger("ajaxStop");
// Process result
if (s.complete)
s.complete(xml, status);
jQuery(io).unbind()
jQuery(io).unbind();
setTimeout(function () {
try {
$(io).remove();
$(form).remove();
} catch (e) {
jQuery.handleError(s, xml, null, e);
}
}, 100)
xml = null
}, 100);
xml = null;
}
}
// Timeout checker
@@ -153,12 +142,23 @@ jQuery.extend({
$(form).attr('target', frameId);
if (form.encoding) {
form.encoding = 'multipart/form-data';
}
else {
} else {
form.enctype = 'multipart/form-data';
}
$(form).submit();
let submitType = s.submitType;
let $form = $(form);
if (!submitType || submitType == 'form') {
$form.submit();
} else if (submitType == 'ajax') {
$form.ajaxSubmit({
success: function (data, status) {
s.success(data, status);
},
error: function (err) {
jQuery.handleError(s, xml, null, err);
}
});
}
} catch (e) {
jQuery.handleError(s, xml, null, e);
}
@@ -169,9 +169,7 @@ jQuery.extend({
document.getElementById(frameId).addEventListener('load', uploadCallback, false);
}
return { abort: function () { } };
},
uploadHttpData: function (r, type) {
var data = !type;
data = type == "xml" || data ? r.responseXML : r.responseText;

View File

@@ -1,42 +1,50 @@
export default {
idstr: null,
// 是否有且只选择了一项
isSelectOne: function (idstr) {
if ($(idstr).bootstrapTable('getSelections').length == 1) {
isSelectOne: function (id) {
if ($(id).bootstrapTable('getSelections').length == 1) {
return true;
}
return false;
},
//是否选择了至少一项
hasSelectAny: function (idstr) {
if ($(idstr).bootstrapTable('getSelections').length > 0) {
hasSelectAny: function (id) {
if ($(id).bootstrapTable('getSelections').length > 0) {
return true;
}
return false;
},
// 获取选择的一项
getOneSelectItem: function (idstr) {
return $(idstr).bootstrapTable('getSelections')[0];
getOneSelectItem: function (id) {
return $(id).bootstrapTable('getSelections')[0];
},
// 已经选择的记录
getAllSelectItems: function (idstr) {
return $(idstr).bootstrapTable('getSelections');
getAllSelectItems: function (id) {
return $(id).bootstrapTable('getSelections');
},
getRowByUniqueId: function (idstr, id) {
return $(idstr).bootstrapTable('getRowByUniqueId', id);
getRowByUniqueId: function (id, recordId) {
return $(id).bootstrapTable('getRowByUniqueId', recordId);
},
// 已选择的项数量
selectLength: function (idstr) {
return $(idstr).bootstrapTable('getSelections').length;
selectLength: function (id) {
return $(id).bootstrapTable('getSelections').length;
},
// 刷新
doRefresh: function (idstr) {
$(idstr).bootstrapTable('refresh');
doRefresh: function (id) {
$(id).bootstrapTable('refresh');
},
unCheckAll: function (idstr) {
$(idstr).bootstrapTable('uncheckAll');
unCheckAll: function (id) {
$(id).bootstrapTable('uncheckAll');
},
doRefreshAndToPage1: function (idstr) {
$(idstr).bootstrapTable('selectPage', 1);
doRefreshAndToPage1: function (id) {
$(id).bootstrapTable('selectPage', 1);
},
getData: function(id) {
return $(id).bootstrapTable('getData');
},
destroy: function(id) {
$(id).bootstrapTable('destroy');
},
load: function(id, data) {
$(id).bootstrapTable('load', data);
}
}

26
src/utils/excelUtils.js Normal file
View File

@@ -0,0 +1,26 @@
import * as XLSX from 'xlsx';
const exportToExcel = (row, fileName, list, sheetNames) => {//调用方式 exportToExcel(接口返回的表格列表, "文件名", 定义的表头和字段[{ piko号: "erbanNo" }{ piko号: "erbanNo" }],, ["Sheet1"]);
var data = [];
var headerTitle = [];
row.forEach((res, i) => {
var arr = [];
for (let index = 0; index < list.length; index++) {
for (let key in list[index]) {
headerTitle[index] = key;
arr[index] = res[list[index][key]];
}
}
data[i] = arr;
});
let smallArr = Array.from(data);
let bigArr = [];
smallArr = smallArr.map((item) => {
bigArr.push(Object.values(item));
});
const ws = XLSX.utils.aoa_to_sheet([...[headerTitle], ...bigArr]); // tableName为表头tableData为数据
const wb = XLSX.utils.book_new();
// 将工作表放入工作簿中
XLSX.utils.book_append_sheet(wb, ws, sheetNames);
XLSX.writeFile(wb, fileName + ".xlsx");
}
export default exportToExcel

View File

@@ -47,4 +47,13 @@ export function apiResult(json) {
$("#tipMsg").text("请求失败,错误信息:" + json.message);
$("#tipModal").modal('show');
return false;
}
export function genQueryParam(json) {
if (!json) return ''
return cleanArray(Object.keys(json).map(key => {
if (json[key] === undefined) return ''
return encodeURIComponent(key) + '=' +
encodeURIComponent(json[key])
})).join('&');
}

View File

@@ -1,6 +1,38 @@
//获取url中的参数
function getUrlParam(name) {
export function getUrlParam(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
var r = window.location.search.substr(1).match(reg); //匹配目标参数
if (r != null) return unescape(r[2]); return null; //返回参数值
}
export function dateFormat (date, fmt) {
date = new Date(date);
var o = {
'M+': date.getMonth() + 1,
'd+': date.getDate(),
'h+': date.getHours(),
'm+': date.getMinutes(),
's+': date.getSeconds()
};
// 补全0
let padLeftZero = (str) => {
return ('00' + str).substr(str.length);
}
// 年份
if (/(y+)/.test(fmt)) {
fmt = fmt.replace(RegExp.$1, (date.getFullYear() + '').substr(4 - RegExp.$1.length));
}
// 月日时分秒
for (var k in o) {
if (new RegExp('(' + k + ')').test(fmt)) {
var str = o[k] + '';
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? str : padLeftZero(str));
}
}
date = o = padLeftZero = null;
return fmt;
}

View File

@@ -389,9 +389,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -0,0 +1,355 @@
<template>
<div class="outer">
<div class="search">
<div class="searchLeft">
<span>用户平台ID</span>
<el-input
v-model="userId"
size="default"
placeholder="用户平台ID"
class="input"
></el-input>
</div>
</div>
<!-- 按钮 -->
<div class="buttonBox">
<el-button class="primary" type="primary" size="default" @click="add()"
>新增</el-button
>
<el-button class="primary" type="primary" size="default" @click="search()"
>查询</el-button
>
</div>
<!-- 列表 -->
<el-table
v-loading="loading"
:data="tableData"
border
style="width: 100%; margin-top: 25px"
>
<el-table-column prop="erbanNo" align="center" label="用戶id" />
<el-table-column prop="nick" align="center" label="用戶昵称" />
<el-table-column prop="phone" align="center" label="手机号" />
<el-table-column prop="signTime" align="center" label="注册时间" />
<el-table-column prop="createTime" align="center" label="进入访问限制时间" />
<el-table-column prop="inviteCode" align="center" label="邀请码" />
<el-table-column prop="signDeviceId" align="center" label="注册设备" />
<el-table-column prop="deviceIds" align="center" label="访问设备" />
<el-table-column prop="lastCheckIpRegion" align="center" label="最近一次访问地点" />
<el-table-column align="center" label="平台"
><template v-slot="scope">{{
scope.row.os == "android" ? "安卓" : "苹果"
}}</template>
</el-table-column>
<el-table-column align="center" label="sim卡信息" width="150"
><template v-slot="scope">
<div v-html="tableArrFormat(scope.row)"></div>
</template>
</el-table-column>
<el-table-column align="center" label="系统语言" width="200">
<template v-slot="scope">
{{langFormat(scope.row.lang)}}
</template>
</el-table-column>
<el-table-column align="center" label="操作" width="300">
<template v-slot="scope">
<el-button
@click="unfreeze(scope.row)"
class="primary"
type="primary"
size="default"
>解除限制</el-button
>
<el-button
@click="addWhite(scope.row)"
class="primary"
type="primary"
size="default"
>加入白名单</el-button
>
</template>
</el-table-column>
</el-table>
<!-- 分页 -->
<el-pagination
style="margin-top: 10px"
class="paginationClass"
v-model:current-page="currentPage"
v-model:page-size="pageSize"
:page-sizes="[10, 20, 30, 40, 50, 100, 200, 300, 400, 500]"
:small="small"
:disabled="disabled"
:background="background"
layout="sizes, prev, pager, next"
:total="total"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
/>
<!-- 公共二次确认删除弹窗 -->
<el-dialog v-model="delDialog" title="提示" width="30%" center>
<span> {{ delDialogText }}</span>
<template #footer>
<span class="dialog-footer">
<el-button @click="delDialog = false">取消</el-button>
<el-button type="primary" @click="sureClick(val, type)"> 确认 </el-button>
</span>
</template>
</el-dialog>
<!-- 添加弹窗 -->
<el-dialog v-model="addSure" title="提示" width="30%" center>
<div class="selectBox">
<span class="left" style="margin-right: 20px">用户ID</span>
<el-input
v-model="selectUserId"
size="default"
placeholder="用户平台ID"
class="right"
style="width: 70%"
></el-input>
</div>
<template #footer>
<span class="dialog-footer">
<el-button @click="addSure = false">取消</el-button>
<el-button type="primary" @click="addSureClick()"> 添加 </el-button>
</span>
</template>
</el-dialog>
</div>
</template>
<script>
import {
recordPage,
addWhite,
relieve,
recordSave,
} from "@/api/AccessRestriction.vue/AccessRestriction.js";
import { ElMessage } from "element-plus";
export default {
name: "AccessRestriction",
data() {
return {
userId: "", //用戶id
loading: false, //列表loading
tableData: [
{
erbanNo: "123123123",
},
], //列表数据
total: 10, //总页数
currentPage: 1, //页码
pageSize: 10, //条数
delDialog: false, //控制公共弹窗展示
delDialogText: "确定要解除限制吗?", //公共弹窗标题
type: null, //1解除限制 2加入白名单
obj: {}, //存放公共参数
addSure: false, //控制确认添加弹窗展示
selectUserId: "", //添加用户id
};
},
created() {
this.getData();
},
methods: {
// 初始化
getData() {
this.loading = true;
recordPage({
page: this.currentPage,
pageSize: this.pageSize,
userErBanNo: this.userId,
}).then((res) => {
this.tableData = res.data.records;
this.loading = false;
this.total = res.data.total;
});
},
// 搜索
search() {
this.getData();
},
// 新增
add() {
this.addSure = true;
},
// 确认新增
addSureClick() {
this.addSure = false;
this.delDialogText = "确定要添加地区限制访问吗?";
this.delDialog = true;
this.type = 3;
},
// 解除限制按钮
unfreeze(row) {
console.log(row);
this.delDialogText = "确定要解除限制吗?";
this.delDialog = true;
this.type = 1;
this.obj = row;
},
// 加入白名单
addWhite(row) {
console.log(row);
this.delDialogText = "确定要加入白名单吗?";
this.delDialog = true;
this.type = 2;
this.obj = row;
},
// 二次确认
sureClick() {
if (this.type == 1) {
relieve({ uid: this.obj.uid }).then((res) => {
if (res.code == 200) {
ElMessage({
showClose: true,
message: res.message,
type: "success",
});
this.getData();
} else {
ElMessage({
showClose: true,
message: res.message,
type: "error",
});
}
});
} else if (this.type == 2) {
addWhite({ uid: this.obj.uid }).then((res) => {
if (res.code == 200) {
ElMessage({
showClose: true,
message: res.message,
type: "success",
});
this.getData();
} else {
ElMessage({
showClose: true,
message: res.message,
type: "error",
});
}
});
}
if (this.type == 3) {
recordSave({ erBanNoStr: this.selectUserId }).then((res) => {
if (res.code == 200) {
this.selectUserId = "";
ElMessage({
showClose: true,
message: res.message,
type: "success",
});
this.getData();
} else {
ElMessage({
showClose: true,
message: res.message,
type: "error",
});
}
});
}
this.getData();
this.delDialog = false;
},
// 分页导航
handleSizeChange(val) {
this.getData();
},
handleCurrentChange(val) {
this.getData();
},
// sim格式化
tableArrFormat(val) {
// console.log("aaaaaaaaaaaaa", val.simCards);
var str = "";
if (!val.simCards) {
return;
}
val.simCards.forEach((res, i) => {
str += `
sim卡${i + 1}: ${
res == 452
? "越南"
: res == 454
? "香港"
: res == 460
? "中国"
: res == 466
? "台湾"
: res == 456
? "柬埔寨"
: res == 502
? "马来西亚"
: res == 525
? "新加坡"
: res == 510
? "印尼"
: res == 414
? "缅甸"
: res == 515
? "菲律宾"
: res == 520
? "泰国"
: res == 457
? "老挝"
: res
}<br>
`;
});
return str;
},
// sim格式化
langFormat(val) {
var str = "";
if (val == null) {
str = "空";
}else if(val.match(/cn/gi)||val.match(/hans/gi)){
str = `${val}【简体中文】`;
}else if(val.match(/tw/gi)||val.match(/hant/gi)||val.match(/hk/gi)||val.match(/mo/gi)){
str = `${val}【繁体中文】`;
}else{
str = val;
}
return str;
},
},
};
</script>
<style lang="less" scoped>
.outer {
padding-top: 20px;
background: #ecf0f5;
border-top: 3px solid #d2d6de;
.search {
width: 100%;
height: 41px;
.searchLeft,
.searchRight {
width: 20%;
float: left;
span {
margin-right: 10px;
}
.input {
width: 75%;
}
}
}
.buttonBox {
margin-top: 10px;
}
.authorityBox {
.authoritySpan {
margin-right: 20px;
}
.authorityInpput {
width: 50%;
}
}
.dialogTableVisibleBut {
margin: -25px 0 20px 0px;
}
}
</style>

View File

@@ -0,0 +1,355 @@
<template>
<div class="outer">
<!-- 搜索 -->
<div class="search">
<div class="searchLeft">
<span>用户平台ID</span>
<el-input
v-model="userId"
size="default"
placeholder="用户平台ID"
class="input"
></el-input>
</div>
<div class="searchRight">
<span>用户手机号</span>
<el-input
v-model="userPhone"
size="default"
placeholder="用户手机号"
class="input"
></el-input>
</div>
</div>
<!-- 按钮 -->
<div class="buttonBox">
<el-button class="primary" type="primary" size="default" @click="add()"
>新增</el-button
>
<el-button class="primary" type="primary" size="default" @click="search()"
>查询</el-button
>
</div>
<!-- 列表 -->
<el-table
v-loading="loading"
:data="tableData"
border
style="width: 100%; margin-top: 25px"
>
<el-table-column prop="erbanNo" align="center" label="用戶id" />
<el-table-column prop="phone" align="center" label="用戶手机号" />
<el-table-column prop="nick" align="center" label="昵称" />
<el-table-column prop="signTime" align="center" label="注册时间" />
<el-table-column prop="roleName" align="center" label="身份" />
<el-table-column prop="createTime" align="center" label="进入白名单时间" />
<el-table-column prop="lastCheckTime" align="center" label="最近一次访问时间" />
<el-table-column align="center" label="进入白名单来源">
<template v-slot="scope">
{{
scope.row.source == 1
? "手动添加"
: scope.row.source == 2
? "手机号申请通过"
: scope.row.source == 3
? "限制访问记录添加"
: "未知来源"
}}
</template>
</el-table-column>
<el-table-column prop="adminName" align="center" label="操作人" />
<el-table-column align="center" label="操作" width="300">
<template v-slot="scope">
<el-button
@click="delWhite(scope.row)"
class="primary"
type="primary"
size="default"
>移除白名单</el-button
>
</template>
</el-table-column>
</el-table>
<!-- 分页 -->
<el-pagination
style="margin-top: 10px"
class="paginationClass"
v-model:current-page="currentPage"
v-model:page-size="pageSize"
:page-sizes="[10, 20, 30, 40, 50, 100, 200, 300, 400, 500]"
:small="small"
:disabled="disabled"
:background="background"
layout="sizes, prev, pager, next"
:total="total"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
/>
<!-- 公共二次确认删除弹窗 -->
<el-dialog v-model="delDialog" title="提示" width="30%" center>
<span> {{ delDialogText }}</span>
<template #footer>
<span class="dialog-footer">
<el-button @click="delDialog = false">取消</el-button>
<el-button type="primary" @click="sureClick(val, type)"> 确认 </el-button>
</span>
</template>
</el-dialog>
<!-- 添加弹窗 -->
<el-dialog v-model="addSure" title="提示" width="30%" center>
<div class="selectBox">
<span class="left">添加号码类型</span>
<el-select
v-model="value"
fit-input-width="true"
placeholder="请选择"
class="right"
>
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</div>
<div class="selectBox" v-if="value == 1">
<span class="left">用户ID</span>
<el-input
v-model="selectUserId"
size="default"
placeholder="用户平台ID"
class="right"
></el-input>
</div>
<div class="selectBox" v-else>
<span class="left">手机号</span>
<el-input
v-model="selectUserPhone"
size="default"
placeholder=""
class="right"
style="width: 56%"
>
</el-input>
<b>+86</b>
</div>
<template #footer>
<span class="dialog-footer">
<el-button @click="addSure = false">取消</el-button>
<el-button type="primary" @click="addSureClick()"> 添加 </el-button>
</span>
</template>
</el-dialog>
</div>
</template>
<script>
import {
whitePage,
whiteDel,
whiteSave,
} from "@/api/AccessRestriction.vue/AccessRestriction.js";
import { ElMessage } from "element-plus";
export default {
name: "AccessWhitelist",
data() {
return {
userId: "", //用戶id
userPhone: "", //用戶手机号
loading: false, //列表loading
tableData: [], //列表数据
total: 10, //总页数
currentPage: 1, //页码
pageSize: 10, //条数
delDialog: false, //控制公共弹窗展示
delDialogText: "确定要移除白名单吗?", //公共弹窗标题
addSure: false, //控制确认添加弹窗展示
value: "1", //选择器
options: [
{
value: "1",
label: "用户id",
},
{
value: "2",
label: "用户手机号",
},
],
selectUserId: "", //添加弹窗用户id
selectUserPhone: "", //添加弹窗用户手机号
obj: {}, //存放公共参数
};
},
created() {
this.getData();
},
methods: {
// 初始化
getData() {
this.loading = true;
whitePage({
page: this.currentPage,
pageSize: this.pageSize,
userErBanNo: this.userId,
phone: this.userPhone,
}).then((res) => {
this.tableData = res.data.records;
this.loading = false;
this.total = res.data.total;
});
},
// 新增
add() {
this.addSure = true;
},
// 搜索
search() {
this.getData();
},
// 移除白名单
delWhite(row) {
console.log(row);
this.obj = row;
this.delDialog = true;
},
// 二次确认
sureClick() {
whiteDel({ id: this.obj.id }).then((res) => {
if (res.code == 200) {
ElMessage({
showClose: true,
message: res.message,
type: "success",
});
this.getData();
} else {
ElMessage({
showClose: true,
message: res.message,
type: "error",
});
}
this.delDialog = false;
});
},
// 添加确认
addSureClick() {
var objs = {};
if (this.value == 1) {
objs = {
userErBanNoStr: this.selectUserId,
};
} else {
let phone = this.selectUserPhone;
if (phone) {
phone = '86' + phone;
}
objs = {
phone: phone,
};
}
whiteSave(objs).then((res) => {
this.selectUserId = "";
this.selectUserPhone = "";
if (res.code == 200) {
ElMessage({
showClose: true,
message: res.message,
type: "success",
});
this.getData();
} else {
ElMessage({
showClose: true,
message: res.message,
type: "error",
});
}
this.getData();
});
this.addSure = false;
},
// 分页导航
handleSizeChange(val) {
this.getData();
},
handleCurrentChange(val) {
this.getData();
},
},
};
</script>
<style lang="less" scoped>
.outer {
padding-top: 20px;
background: #ecf0f5;
border-top: 3px solid #d2d6de;
.search {
width: 100%;
height: 41px;
.searchLeft,
.searchRight {
width: 20%;
float: left;
span {
margin-right: 10px;
}
.input {
width: 75%;
}
}
}
.buttonBox {
margin-top: 10px;
}
.authorityBox {
.authoritySpan {
margin-right: 20px;
}
.authorityInpput {
width: 50%;
}
}
.dialogTableVisibleBut {
margin: -25px 0 20px 0px;
}
.selectBox {
margin-bottom: 10px;
display: flex;
justify-content: space-between;
width: 70%;
.left {
display: block;
margin-right: 25px;
white-space: nowrap;
}
.right {
width: 70%;
position: relative;
}
b {
font-style: normal;
position: absolute;
left: 135px;
width: 54px;
height: 32px;
line-height: 32px;
text-align: center;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
border-right: 1px solid #dcdfe6;
border-left: 1px solid #dcdfe6;
border-bottom: 1px solid #dcdfe6;
border-top: 1px solid #dcdfe6;
background: #fff;
}
}
}
input[type="file"] {
display: none;
}
</style>

View File

@@ -590,9 +590,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -757,9 +757,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -1147,9 +1147,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -617,9 +617,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -654,9 +654,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -166,9 +166,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -289,9 +289,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -133,9 +133,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -256,9 +256,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -249,9 +249,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -138,9 +138,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -409,9 +409,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -184,9 +184,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -136,9 +136,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};

View File

@@ -221,9 +221,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -242,9 +242,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -261,9 +261,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -279,9 +279,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -502,9 +502,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -212,9 +212,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -254,9 +254,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -1061,9 +1061,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -434,9 +434,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -264,9 +264,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -551,9 +551,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -151,9 +151,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -438,6 +438,11 @@ export default {
let id = $('#id').val();
let startTime = $('#startTime').val();
let endTime = $('#endTime').val();
if (getDate(endTime).getMonth() != getDate(startTime).getMonth()) {
$("#tipMsg").text("归因场次不允许跨月.");
$("#tipModal").modal('show');
return;
}
if ((getDate(endTime).getTime() - getDate(startTime).getTime()) > (36 * 60 * 60 * 1000)) {
$("#tipMsg").text("时间间隔不能超过36h.");
$("#tipModal").modal('show');
@@ -536,9 +541,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -288,7 +288,7 @@ export default {
$("#tipMsg").text("保存成功");
$("#tipModal").modal('show');
TableHelper.doRefresh("#table");
$("#updateItemModal").modal('hide');
$("#updateCapModal").modal('hide');
} else {
$("#tipMsg").text("保存失败." + json.message);
$("#tipModal").modal('show');
@@ -334,6 +334,7 @@ export default {
$("#tipMsg").text("保存成功");
$("#tipModal").modal('show');
TableHelper.doRefresh("#table");
$("#addCapModal").modal('hide');
} else {
$("#tipMsg").text("保存失败." + json.message);
$("#tipModal").modal('show');
@@ -405,9 +406,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -341,7 +341,7 @@ export default {
$("#tipMsg").text("保存成功");
$("#tipModal").modal('show');
TableHelper.doRefresh("#table");
$("#updateItemModal").modal('hide');
$("#updateJoinHandModal").modal('hide');
} else {
$("#tipMsg").text("保存失败." + json.message);
$("#tipModal").modal('show');
@@ -387,6 +387,7 @@ export default {
$("#tipMsg").text("保存成功");
$("#tipModal").modal('show');
TableHelper.doRefresh("#table");
$("#addJoinHandModal").modal('hide');
} else {
$("#tipMsg").text("保存失败." + json.message);
$("#tipModal").modal('show');
@@ -517,9 +518,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -570,9 +570,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -156,9 +156,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -290,9 +290,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -133,9 +133,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -267,9 +267,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -1035,9 +1035,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -114,9 +114,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -125,9 +125,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -489,9 +489,7 @@ export default {
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -307,7 +307,24 @@ export default {
$('#channelTable').bootstrapTable('destroy');
$('#channelTable').bootstrapTable({
columns: [
{ field: 'desc', title: '渠道名称', align: 'center', width: '5%' },
{ field: 'payChannel', title: '合作方', align: 'center', width: '5%' },
{
field: 'desc',
title: '渠道名称',
align: 'center',
width: '5%',
formatter: function (val, row, index) {
let color = 'black';
if (val == 'MyCard點數卡' || val == 'MyCard會員點數' || val == 'MyCard Paypal' || val == '信用卡' || val == '悠遊付' || val == 'ezPay 簡單付' || val == '台灣Pay' || val == 'icash Pay' || val == 'Pi 拍錢包' || val == '全支付' || val == 'LINE Pay') {
color = 'green';
} else if (val == '電子支付' || val == '銀行轉賬') {
color = 'blue';
} else if (val == '市內電話帳單' || val == '行動電話帳單' || val == '電信數據ADSL帳單') {
color = 'orange';
}
return '<span style="color:' + color + ';">' + val + '</span>';
}
},
{
field: 'logo',
title: '图标',

View File

@@ -272,9 +272,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -482,9 +482,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -257,9 +257,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -197,9 +197,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -471,9 +471,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -200,9 +200,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -548,9 +548,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
function clearForm(formId) {

View File

@@ -407,9 +407,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -815,9 +815,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -773,9 +773,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -201,9 +201,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -472,9 +472,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -143,9 +143,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -185,9 +185,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -228,9 +228,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -823,9 +823,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -147,9 +147,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -959,9 +959,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -977,9 +977,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -342,9 +342,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -571,9 +571,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -476,9 +476,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -575,9 +575,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -329,9 +329,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -186,9 +186,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -477,9 +477,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -256,6 +256,21 @@ export default {
return date.format('yyyy-MM-dd hh:mm:ss');
}
},
{
field: 'source',
title: '邀请码填写类型',
align: 'center',
width: '5%',
formatter: function (val) {
let value = '';
if (val == 0) {
value = '自填';
} else if (val == 1) {
value = '补填';
}
return value;
}
},
{
field: 'memberId',
title: '操作',
@@ -382,9 +397,7 @@ export default {
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
// 初始化团队选择器

View File

@@ -454,9 +454,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};

View File

@@ -206,8 +206,11 @@ export default {
{ field: 'totalChargeAmount', title: '累计充值(美元)', align: 'center', width: '5%', },
{ field: 'totalChargeUserNum', title: '累计充值人数', align: 'center', width: '5%', },
{ field: 'totalChargeNum', title: '累计充值次数', align: 'center', width: '5%', },
{ field: 'totalGiveNum', title: '累计收到转赠次数', align: 'center', width: '5%', },
{ field: 'totalGiveAmount', title: '累计收到转赠金额', align: 'center', width: '5%', },
{ field: 'newUserGiveAmount', title: '当月新增转赠', align: 'center', width: '10%', valign: 'center' },
{ field: 'totalGiveAmount', title: '累计转赠(美元)', align: 'center', width: '5%', },
{ field: 'totalGiveUserNum', title: '累计转赠人数', align: 'center', width: '5%', },
{ field: 'totalGiveNum', title: '累计转赠次数', align: 'center', width: '5%', },
{
field: 'month',
title: '操作',
@@ -352,9 +355,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -477,7 +477,7 @@ export default {
groupData.tchargeMoney = tchargeMoney;
groupData.tsendGiftMony = tsendGiftMony;
groupData.tgiveCount = tgiveCount;
groupData.tgiveMoney = tgiveMoney;
groupData.tgiveMoney = tgiveMoney.toFixed(0);
groupData.tarpu = (tchargeMoney / tnewUserCount).toFixed(2);
groupDataList.push(groupData);
}
@@ -793,9 +793,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -254,9 +254,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -306,9 +306,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -770,9 +770,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -333,9 +333,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -364,9 +364,7 @@ export default {
})
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -785,9 +785,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
function cleanModal(obj) {

View File

@@ -193,9 +193,7 @@ export default {
}
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

View File

@@ -970,9 +970,7 @@ export default {
});
}
},
unmounted() {
$('#table').bootstrapTable('destroy');
}
};
</script>

Some files were not shown because too many files have changed in this diff Show More