From 0126ae19b896af7c3f7f78568e8754ae4bc401df Mon Sep 17 00:00:00 2001 From: ZhangYong Date: Wed, 5 Nov 2025 11:18:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=9B=E9=80=89=E9=A1=B9=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../moneyManage/receiveDetail/receiveDetail.vue | 261 +-------------------- .../moneyManage/receiveDetail/utils/staticData.js | 259 ++++++++++++++++++++ 2 files changed, 264 insertions(+), 256 deletions(-) create mode 100644 src/views/moneyManage/receiveDetail/utils/staticData.js diff --git a/src/views/moneyManage/receiveDetail/receiveDetail.vue b/src/views/moneyManage/receiveDetail/receiveDetail.vue index b46a1dd..7fedb54 100644 --- a/src/views/moneyManage/receiveDetail/receiveDetail.vue +++ b/src/views/moneyManage/receiveDetail/receiveDetail.vue @@ -45,7 +45,7 @@
活动名称 - +
@@ -702,6 +702,7 @@ const {menuTree} = storeToRefs(adminStore); console.log('menutree', menuTree.value); import _ from 'lodash' import {addFormRule, editFormRule} from './utils/recriveFormRules.js' +import { productList,MarketNameForId,CurrencyForId,marketList,statusList} from './utils/staticData.js' //===================== 查询相关 ================================= const tableData = ref([]) const searchData = ref({}) @@ -1446,225 +1447,11 @@ const getAdminData = async function () { console.log('请求失败', error) } } -const statusList = [ - { - name: '待审核', - value: 0 - }, - { - name: '已通过', - value: 134 - }, - { - name: '已撤回', - value: 5 - }, { - name: '退款', - value: 6 - }, { - name: '已驳回', - value: 2 - }, -] + const paytypeList = ["Stripe-链接收款", "PaymentAsia-链接收款", "Ipay88-链接收款", "银行转账", "刷卡", "现金", "支票", "Grabpay", "Nets", "E-Transfer", "Paypal"] const activityList = ref([]) -const marketList = ['马来西亚', '香港', '新加坡', '泰国', '越南HCM', '加拿大'] -const productList = [ - { - "value": "金币产品", - "label": "金币产品", - "children": [ - { - "value": "金币充值", - "label": "金币充值" - } - ] - }, - { - "value": "软件产品", - "label": "软件产品", - "children": [ - { - "value": "软件", - "label": "软件", - "children": [ - { - "value": "美股", - "label": "美股", - "children": [ - { - "value": "美股软件", - "label": "美股软件" - } - ] - }, - { - "value": "港股", - "label": "港股", - "children": [ - { - "value": "港股软件", - "label": "港股软件" - } - ] - }, - { - "value": "A股", - "label": "A股", - "children": [ - { - "value": "A股软件", - "label": "A股软件" - } - ] - }, - { - "value": "新加坡股", - "label": "新加坡股", - "children": [ - { - "value": "新加坡股软件", - "label": "新加坡股软件" - } - ] - }, - { - "value": "马股", - "label": "马股", - "children": [ - { - "value": "马股软件", - "label": "马股软件" - } - ] - }, - { - "value": "日本股", - "label": "日本股", - "children": [ - { - "value": "日本股软件", - "label": "日本股软件" - } - ] - }, - { - "value": "泰股", - "label": "泰股", - "children": [ - { - "value": "泰股软件", - "label": "泰股软件" - } - ] - }, - { - "value": "越南股", - "label": "越南股", - "children": [ - { - "value": "越南股软件", - "label": "越南股软件" - } - ] - }, - { - "value": "印尼股", - "label": "印尼股", - "children": [ - { - "value": "印尼股软件", - "label": "印尼股软件" - } - ] - }, - { - "value": "韩国股", - "label": "韩国股", - "children": [ - { - "value": "韩国股软件", - "label": "韩国股软件" - } - ] - }, - { - "value": "台湾股", - "label": "台湾股", - "children": [ - { - "value": "台湾股软件", - "label": "台湾股软件" - } - ] - } - ] - }, - { - "value": "AI机构探测神器", - "label": "AI机构探测神器", - "children": [ - { - "value": "AI机构追踪", - "label": "AI机构追踪" - }, - { - "value": "AI机构出击", - "label": "AI机构出击" - }, - { - "value": "AI机构资金", - "label": "AI机构资金" - }, - { - "value": "AI机活跃度", - "label": "AI机活跃度" - } - ] - }, - { - "value": "超级机构探测神器", - "label": "超级机构探测神器", - "children": [ - { - "value": "超级机构透视", - "label": "超级机构透视" - }, - { - "value": "超级机构伏击", - "label": "超级机构伏击" - }, - { - "value": "超级机构猎杀", - "label": "超级机构猎杀" - }, - { - "value": "超级机构脉博", - "label": "超级机构脉博" - }, - { - "value": "超级机构罗盘", - "label": "超级机构罗盘" - } - ] - }, - { - "value": "其他", - "label": "其他", - "children": [ - { - "value": "静态信息费", - "label": "静态信息费" - }, - { - "value": "博股会员", - "label": "博股会员" - } - ] - } - ] - } -] + + // 获取活动信息 const getActivitys = async function () { try { @@ -1686,44 +1473,6 @@ const getActivitys = async function () { } -const MarketNameForId = (name) => { - if (name == '新加坡') { - return 4 - } else if (name == '加拿大') { - return 24016 - } else if (name == '马来西亚') { - return 5 - } else if (name == '香港') { - return 13 - } else if (name == '泰国') { - return 24018 - } else if (name == '越南HCM') { - return 24022 - } else { - return name - } -} -const CurrencyForId = (name) => { - if (name == '美元(USD)') { - return 1 - } else if (name == '港币(HKD)') { - return 2 - } else if (name == '新币(SGD)') { - return 3 - } else if (name == '马币(MYR)') { - return 4 - } else if (name == '泰铢(THB)') { - return 5 - } else if (name == '加币(CAD)') { - return 6 - } else if (name == '越南盾(VDN)') { - return 7 - } else if (name == '越南盾(VDN)') { - return 8 - } else { - return name - } -} //节流 const throttledhandleAddForm = _.throttle(handleAddForm, 5000, { diff --git a/src/views/moneyManage/receiveDetail/utils/staticData.js b/src/views/moneyManage/receiveDetail/utils/staticData.js new file mode 100644 index 0000000..12acd6a --- /dev/null +++ b/src/views/moneyManage/receiveDetail/utils/staticData.js @@ -0,0 +1,259 @@ +export const productList = [ + { + "value": "金币产品", + "label": "金币产品", + "children": [ + { + "value": "金币充值", + "label": "金币充值" + } + ] + }, + { + "value": "软件产品", + "label": "软件产品", + "children": [ + { + "value": "软件", + "label": "软件", + "children": [ + { + "value": "美股", + "label": "美股", + "children": [ + { + "value": "美股软件", + "label": "美股软件" + } + ] + }, + { + "value": "港股", + "label": "港股", + "children": [ + { + "value": "港股软件", + "label": "港股软件" + } + ] + }, + { + "value": "A股", + "label": "A股", + "children": [ + { + "value": "A股软件", + "label": "A股软件" + } + ] + }, + { + "value": "新加坡股", + "label": "新加坡股", + "children": [ + { + "value": "新加坡股软件", + "label": "新加坡股软件" + } + ] + }, + { + "value": "马股", + "label": "马股", + "children": [ + { + "value": "马股软件", + "label": "马股软件" + } + ] + }, + { + "value": "日本股", + "label": "日本股", + "children": [ + { + "value": "日本股软件", + "label": "日本股软件" + } + ] + }, + { + "value": "泰股", + "label": "泰股", + "children": [ + { + "value": "泰股软件", + "label": "泰股软件" + } + ] + }, + { + "value": "越南股", + "label": "越南股", + "children": [ + { + "value": "越南股软件", + "label": "越南股软件" + } + ] + }, + { + "value": "印尼股", + "label": "印尼股", + "children": [ + { + "value": "印尼股软件", + "label": "印尼股软件" + } + ] + }, + { + "value": "韩国股", + "label": "韩国股", + "children": [ + { + "value": "韩国股软件", + "label": "韩国股软件" + } + ] + }, + { + "value": "台湾股", + "label": "台湾股", + "children": [ + { + "value": "台湾股软件", + "label": "台湾股软件" + } + ] + } + ] + }, + { + "value": "AI机构探测神器", + "label": "AI机构探测神器", + "children": [ + { + "value": "AI机构追踪", + "label": "AI机构追踪" + }, + { + "value": "AI机构出击", + "label": "AI机构出击" + }, + { + "value": "AI机构资金", + "label": "AI机构资金" + }, + { + "value": "AI机活跃度", + "label": "AI机活跃度" + } + ] + }, + { + "value": "超级机构探测神器", + "label": "超级机构探测神器", + "children": [ + { + "value": "超级机构透视", + "label": "超级机构透视" + }, + { + "value": "超级机构伏击", + "label": "超级机构伏击" + }, + { + "value": "超级机构猎杀", + "label": "超级机构猎杀" + }, + { + "value": "超级机构脉博", + "label": "超级机构脉博" + }, + { + "value": "超级机构罗盘", + "label": "超级机构罗盘" + } + ] + }, + { + "value": "其他", + "label": "其他", + "children": [ + { + "value": "静态信息费", + "label": "静态信息费" + }, + { + "value": "博股会员", + "label": "博股会员" + } + ] + } + ] + } +] + + +export const MarketNameForId = (name) => { + if (name == '新加坡') { + return 4 + } else if (name == '加拿大') { + return 24016 + } else if (name == '马来西亚') { + return 5 + } else if (name == '香港') { + return 13 + } else if (name == '泰国') { + return 24018 + } else if (name == '越南HCM') { + return 24022 + } else { + return name + } +} +export const CurrencyForId = (name) => { + if (name == '美元(USD)') { + return 1 + } else if (name == '港币(HKD)') { + return 2 + } else if (name == '新币(SGD)') { + return 3 + } else if (name == '马币(MYR)') { + return 4 + } else if (name == '泰铢(THB)') { + return 5 + } else if (name == '加币(CAD)') { + return 6 + } else if (name == '越南盾(VDN)') { + return 7 + } else if (name == '越南盾(VDN)') { + return 8 + } else { + return name + } +} + +export const marketList = ['马来西亚', '香港', '新加坡', '泰国', '越南HCM', '加拿大'] + +export const statusList = [ + { + name: '待审核', + value: 0 + }, + { + name: '已通过', + value: 134 + }, + { + name: '已撤回', + value: 5 + }, { + name: '退款', + value: 6 + }, { + name: '已驳回', + value: 2 + }, +] \ No newline at end of file