From 064961019cebcd92fa3928c20e9df531aec86b10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?= <14103883+leaf-phos@user.noreply.gitee.com> Date: Thu, 6 Feb 2025 18:01:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ss/app.js | 8 + src/components/Business/SmUser/UserLink.vue | 24 ++- src/components/Editor/index.vue | 144 ++++++++++++++---- src/utils/constants.js | 9 ++ src/utils/wx.js | 8 +- src/views/ss/app/index.vue | 85 ++++++----- src/views/ss/risk/index.vue | 2 +- src/views/ss/riskInfo/index.vue | 2 +- .../storeStaff/components/StoreStaffTable.vue | 4 +- .../system/device/components/DeviceSn.vue | 74 +++++++++ .../system/device/components/DeviceTable.vue | 23 --- src/views/system/device/detail.vue | 16 +- src/views/system/device/index.vue | 5 +- .../recharge/components/RechargeTable.vue | 8 +- src/views/system/recharge/detail.vue | 6 +- .../smUser/components/UserFormDialog.vue | 15 +- src/views/system/smUser/detail.vue | 31 ++-- src/views/system/smUser/index.vue | 9 +- 18 files changed, 335 insertions(+), 138 deletions(-) create mode 100644 src/views/system/device/components/DeviceSn.vue diff --git a/src/api/ss/app.js b/src/api/ss/app.js index 9cb7639..f249d77 100644 --- a/src/api/ss/app.js +++ b/src/api/ss/app.js @@ -9,6 +9,14 @@ export function listApp(query) { }) } +// 所有APP列表 +export function listAllApp() { + return request({ + url: '/ss/app/all', + method: 'get' + }) +} + // 查询APP信息列表 export function listAppByIds(ids) { return request({ diff --git a/src/components/Business/SmUser/UserLink.vue b/src/components/Business/SmUser/UserLink.vue index ef8bc48..38e3cb2 100644 --- a/src/components/Business/SmUser/UserLink.vue +++ b/src/components/Business/SmUser/UserLink.vue @@ -1,11 +1,12 @@ diff --git a/src/utils/constants.js b/src/utils/constants.js index 95ef544..8c33965 100644 --- a/src/utils/constants.js +++ b/src/utils/constants.js @@ -341,3 +341,12 @@ export const VipOrderStatus = { SUCCESS: "2", // 支付成功 CANCEL: "3", // 已取消 } + +// 用户风控标签 +export const UserRiskTag = { + NORMAL: "1", // 正常 + TRUST: "2", // 信任 + SUSPICIOUS: "3", // 可疑 + RISK: "4", // 风险 +} + diff --git a/src/utils/wx.js b/src/utils/wx.js index d0dd0db..a894845 100644 --- a/src/utils/wx.js +++ b/src/utils/wx.js @@ -1,12 +1,11 @@ // 获取微信小程序外链 -import {tansParams} from "@/utils/ruoyi"; +import { tansParams } from "@/utils/ruoyi"; export function getWxSchemeUrl(path, query) { return `${process.env.VUE_APP_WX_DEVICE_URL}&path=${path}&query=${encodeURIComponent(query)}`; } -export function getWxIndexUrl(query) { - let url = `https://kg.chuantewulian.cn/w`; +export function getWxIndexUrl(url, query) { if (query != null ) { if (query instanceof Object) { query = tansParams(query).slice(0, -1); @@ -19,8 +18,7 @@ export function getWxIndexUrl(query) { } // 获取合伙人外链 -export function getStaffUrl(query) { - let url = `https://kg.chuangtewl.com/h`; +export function getStaffUrl(url, query) { if (query != null ) { if (query instanceof Object) { query = tansParams(query).slice(0, -1); diff --git a/src/views/ss/app/index.vue b/src/views/ss/app/index.vue index 0fa150a..c25761a 100644 --- a/src/views/ss/app/index.vue +++ b/src/views/ss/app/index.vue @@ -124,46 +124,56 @@ - - - - - - - - + + + + + + + + + - - - - - + +