Browse Source

feat: 添加了英文语言包,调整了样式

huangqizheng/feature-20251213090502-现金退款多语言
zhangrenyuan 1 month ago
parent
commit
20d32b9679
  1. 422
      src/components/locales/lang/en.js
  2. 2
      src/components/locales/lang/zh-CN.js
  3. 2
      src/util/request.js
  4. 2
      src/views/consume/gold/addCoinConsume.vue
  5. 8
      src/views/consume/gold/coinConsumeDetail.vue
  6. 14
      src/views/language/languageTranslate.vue
  7. 4
      src/views/recharge/gold/addCoinRecharge.vue
  8. 2
      src/views/recharge/gold/coinRechargeDetail.vue
  9. 10
      src/views/refund/gold/addCoinRefund.vue
  10. 4
      src/views/refund/gold/coinRefundDetail.vue
  11. 8
      src/views/usergold/gold/clientCountBalance.vue
  12. 6
      src/views/usergold/gold/clientCountDetail.vue

422
src/components/locales/lang/en.js

@ -1,104 +1,434 @@
// Do not modify the variables in this package arbitrarily!!!
export default {
// Common Group
// Common Group (Filters, Buttons, Units)
common: {
// Filters
jwcode: 'jwcode',
jwcodePlaceholder: 'Please enter jwcode',
name: 'Name',
jwcode: 'Jwcode',
jwcodePlaceholder: 'Please enter Jwcode',
activityName: 'Activity Name',
activityNamePlaceholder: 'Please enter activity name',
goodsName: 'Goods Name',
goodsNamePlaceholder: 'Please enter goods name',
goodsName: 'Product Name',
goodsNamePlaceholder: 'Please enter product name',
payModel: 'Payment Method',
payModelPlaceholder: 'Please select payment method',
payModelPlaceholder: 'Select a payment method',
refundType: 'Refund Type',
refundTypePlaceholder: 'Please select refund type',
market: 'Market',
marketPlaceholder: 'Please select market',
refundTypePlaceholder: 'Select refund type',
market: 'Region',
marketPlaceholder: 'Select region',
consumePlatform: 'Consumption Platform',
consumePlatformPlaceholder: 'Select consumption platform',
rechargePlatform: 'Recharge Platform',
rechargePlatformPlaceholder: 'Select recharge platform',
payPlatform: 'Platform',
payPlatformPlaceholder: 'Select platform',
updateType: 'Update Type',
updateTypePlaceholder: 'Select update type',
consumeTime: 'Consumption Time',
rechargeTime: 'Recharge Time',
refundTime: 'Refund Time',
updateTime: 'Update Time',
submitTime: 'Submit Time',
auditTime: 'Audit Time',
startTime: 'Start Time',
to: 'To',
endTime: 'End Time',
// Button Group
// Buttons
search: 'Search',
exportExcel: 'Export Excel',
viewExportList: 'View Export List',
reset: 'Reset',
edit: 'Edit',
pass: 'Pass',
pass: 'Approve',
reject: 'Reject',
cancel: 'Cancel',
confirm: 'Confirm',
submit: 'Submit',
confrimRecharge: 'Confirm Recharge',
// Buttons - Date
today: 'Today',
yesterday: 'Yesterday',
last7Days: 'Last 7 Days',
// Currency Types
// Units
rechargeSGD: 'Recharge (SGD)',
consumeSGD: 'Consumption (SGD)',
refundGoldCoin: 'Total Refunded Gold Coins',
totalGoldCoin: 'Total Gold Coins',
netGoldChange: 'Net Gold Coin Change',
netGoldChangeTip:
'The current total shows the net change in gold coins within the selected range (Total Recharged - Total Consumed + Total Refunded)',
permanentGold: 'Permanent Gold Coins',
freeGold: 'Free Gold Coins',
taskGold: 'Task Gold Coins',
SGD: 'SGD',
goldCoin: '', // Gold Coin label intentionally empty
// 对话框标题
will: 'Will',
goldCoin: '',
: 'items',
: '',
goldBean: '',
// Dialog Titles
will: 'Action Notice',
},
// Message Group
elmessage: {
// Common
addSuccess: 'Added successfully',
searchSuccess: 'Search completed',
requestFailed: 'Request failed',
jwcodeError: 'Invalid Jwcode',
addFailedUnknown: 'Add failed due to an unknown error',
addFailed: 'Add failed. Please check your network or contact the administrator',
queryFailed: 'Query failed. Please check your network or Jwcode',
refundTypeError: 'Refund type format error. Please contact the administrator',
getTotalFailed: 'Failed to obtain summary data. Please try again later',
payPlatformError: 'Platform data format error. Please contact the administrator',
confirmRefund: 'Confirm refund?',
// Validation
checkInputContent: 'Please verify the input content',
permanentAndFreeNoZero: 'Permanent and free gold coins cannot both be 0',
checkRate: 'Please select a currency',
checkMoney: 'Please enter the recharge amount',
checkJwcode: 'Please enter Jwcode',
checkGoodsName: 'Please select a product',
checkUserInfo: 'Please query user information first',
checkActivity: 'Please enter activity name',
checkPermanentGold: 'Please enter permanent gold coin amount',
checkFreeGold: 'Please enter free gold coin amount',
checkTaskGold: 'Please enter task gold coin amount',
checkNumber: 'Please enter a valid number',
checkPayModel: 'Please select a payment method',
checkPayTime: 'Please select a payment time',
checkQueryParams: 'Please check query parameters',
checkRefundType: 'Please select a refund type',
checkRefundGoods: 'Please select a refund product',
checkOrderNo: 'Please enter the order number',
// Validation Error
noEmptyJwcode: 'Jwcode cannot be empty',
noEmptySumGold: 'Total consumed gold coins cannot be empty',
noUser: 'User does not exist',
noOrder: 'No related order found',
noTotalGoldZero: 'Total gold coins cannot be 0',
noNegativeNumber: 'Negative numbers are not allowed',
limitDigitJwcode: 'Jwcode may only contain digits',
limitNoSpecialChar: 'Cannot contain special characters or negative numbers',
limitNegativeNumber: 'Consumed gold coins cannot be negative',
limitExceeded: 'Consumed gold coins exceed the available balance',
limitSix: 'Integer part cannot exceed 6 digits',
limitTwoDecimal: 'Decimal part cannot exceed 2 digits',
limitZero: 'Amount cannot be less than 0',
limitPositiveNumber: 'Enter a positive number greater than 0 (up to 2 decimals)',
limitJwcodeNine: 'Jwcode must be numeric and up to 9 digits',
limitBalance: 'Entered amount exceeds available balance',
// Image Upload
onlyUploadJPGPNG: 'Only JPG/PNG images are allowed',
limitImageSize: 'Image size cannot exceed 1MB',
uploadSuccess: 'Upload successful',
UploadFailed: 'Upload failed',
// Audit
noPermission: 'No permission',
checkJwcodeFormat: 'Please check the Jwcode format',
rejectReasonPlaceholder: 'Please enter a rejection reason',
rejectSuccess: 'Rejected successfully',
rejectFailed: 'Rejection failed',
operationFailed: 'Operation failed',
approveSuccess: 'Approved successfully',
approveFailed: 'Approval failed',
activityFormatError: 'Activity data format error. Please contact the administrator',
rechargeFormatError: 'Recharge method format error. Please contact the administrator',
getRechargeError: 'Failed to obtain recharge methods. Please try again later',
// Export
exportSuccess: 'Export successful',
exportFailed: 'Export failed. Please try again later',
getExportListError: 'Failed to retrieve export list. Please try again later',
exportingInProgress: 'File is being generated. Please try again later',
// Export Status
pendingExecution: 'Pending',
executing: 'In Progress',
executed: 'Completed',
errorExecution: 'Error',
unknownStatus: 'Unknown',
},
// Common List Fields
common_list: {
id: 'No.',
name: 'Name',
jwcode: 'Jwcode',
market: 'Region',
sumGold: 'Total Gold Coins',
payPlatform: 'Platform',
type: 'Update Type',
orderNo: 'Order No.',
goodsName: 'Product Name',
refundType: 'Refund Type',
refundModel: 'Refund Method',
refundModelAll: 'Full Refund',
refundModelPart: 'Partial Refund',
refundGoldCoin: 'Refunded Gold Coins',
activity: 'Activity Name',
rateName: 'Currency',
rechargeAmount: 'Recharge Amount',
Gold: 'Gold Coin Quantity',
freeGold6Month: 'Free Gold (Exp. June)',
freeGold12Month: 'Free Gold (Exp. Dec)',
permanentGold: 'Permanent Gold Coins',
freeGold: 'Free Gold Coins',
taskGold: 'Task Gold Coins',
rechargePlatform: 'Recharge Platform',
consumePlatform: 'Consumption Platform',
consumeTotalGold: 'Total Consumed Gold Coins',
payModel: 'Payment Method',
remark: 'Remark',
orderStatus: 'Order Status',
submitter: 'Submitter',
rechargeTime: 'Recharge Time',
consumeTime: 'Consumption Time',
refundTime: 'Refund Time',
updateTime: 'Update Time',
},
// Common Export Fields
common_export: {
exportList: 'Export List',
fileName: 'File Name',
status: 'Status',
createTime: 'Created At',
operation: 'Operation',
download: 'Download',
close: 'Close',
},
// Add Form Fields
common_add: {
jwcode: 'Jwcode',
activity: 'Activity Name',
activityPlaceholder: 'Please enter activity name',
permanentGold: 'Permanent Gold Coins',
freeGold: 'Free Gold Coins',
taskGold: 'Task Gold Coins',
rechargeAmount: 'Recharge Amount',
currencyName: 'Currency',
goodsName: 'Product Name',
goodsNamePlaceholder: 'Select product',
payModel: 'Collection Method',
refundType: 'Refund Type',
refundTypePlaceholder: 'Select refund type',
orderNo: 'Order No.',
orderNoPlaceholder: 'Select order number',
refundModel: 'Refund Method',
refundModelAll: 'Full Refund',
refundModelPart: 'Partial Refund',
refundGoldCoin: 'Refunded Gold Coins',
payModelPlaceholder: 'Select collection method',
consumeTotalGold: 'Total Consumed Gold Coins',
totalGold: 'Total Gold Coins',
paymentTime: 'Payment Time',
paymentVoucher: 'Payment Voucher',
paymentVoucherPlaceholder: 'JPG/PNG only, ≤1MB',
remark: 'Remark',
// Confirm Form
operationConfirm: 'Operation Confirmation',
userInfo: 'User Information',
prompt: 'Duplicate Recharge Warning',
similarRechargeRecords: 'Recent similar recharge records were detected for this user',
rechargePermanentGold: 'Permanent Gold Coin Recharge',
buy: 'Purchase',
operator: 'Operator',
continueOperation: 'Proceed with this action?',
},
// Add Form User Info
common_add_user: {
customerInfo: 'Customer Information',
name: 'Name',
currentGoldCoinTotal: 'Current Gold Coin Total',
permanentGold: 'Permanent Gold Coins',
freeGold: 'Free Gold Coins',
taskGold: 'Task Gold Coins',
jwcode: 'Jwcode',
consumptionTimes: 'Consumption Count',
onlyStatisticsDataAfter20250101: 'Statistics only include data after 2025-01-01',
store: 'Store',
},
// Audit Group
audit: {
// Audit Common
audit: {
refundTypeOptions: {
'商品退款': 'Product Refund',
'金币退款': 'Gold Refund',
'金币退款': 'Gold Coin Refund',
},
waitAudit: 'Pending Audit',
waitAudit: 'Pending',
passed: 'Approved',
rejected: 'Rejected',
permanentGold: 'Permanent',
freeGold: 'Free',
taskGold: 'Task',
permanentGold: 'Permanent Gold Coins',
freeGold: 'Free Gold Coins',
taskGold: 'Task Gold Coins',
// Audit Common - List Fields
id: 'ID',
id: 'No.',
name: 'Name',
jwcode: 'JW Code',
market: 'Market',
jwcode: 'Jwcode',
market: 'Region',
activityName: 'Activity Name',
currencyName: 'Currency Name',
currencyName: 'Currency',
rechargeAmount: 'Recharge Amount',
note: 'Note',
note: 'Remark',
payModel: 'Payment Method',
paymentVoucher: 'Payment Voucher',
submitter: 'Submitter',
auditor: 'Auditor',
rejectReason: 'Reject Reason',
rejectReasonPlaceholder: 'Please enter reject reason',
rejectReason: 'Rejection Reason',
rejectReasonPlaceholder: 'Enter rejection reason',
paymentTime: 'Payment Time',
submitTime: 'Submit Time',
auditTime: 'Audit Time',
operation: 'Operation',
// Supplement Fields for Refund Audit
orderCode: 'Order Number',
orderCode: 'Order No.',
refundType: 'Refund Type',
refundModel: 'Refund Method',
allRefund: 'Full Refund',
partialRefund: 'Partial Refund',
refundGoods: 'Refund Goods',
refundGoods: 'Refund Product',
permanentBean: 'Paid Gold Beans',
freeBean: 'Free Gold Beans',
rechargeAudit: 'Recharge Audit',
rechargeSGD: 'Recharge (SGD)',
totalGold: 'Total Gold Coins',
// Gold Recharge Audit ------------------------
rechargeAudit: 'Recharge Audit',
rechargeSGD: 'Recharge SGD',
totalGold: 'Total Gold',
// 添加支付方式翻译
payMethods: {
bankTransfer: 'Bank Transfer',
cash: 'Cash',
check: 'Check',
card: 'Card Payment',
grabpay: 'Grabpay',
nets: 'Nets',
grabpay: 'GrabPay',
nets: 'NETS',
paypal: 'PayPal',
stripe: 'Stripe - Link Payment',
ipay88: 'Ipay88 - Link Payment',
paymentAsia: 'PaymentAsia - Link Payment',
other: 'Other'
stripe: 'Stripe (Link)',
ipay88: 'iPay88 (Link)',
paymentAsia: 'PaymentAsia (Link)',
other: 'Other',
},
// Gold Refund Audit --------------------------
refundAudit: 'Refund Audit',
refundTotalGold: 'Total Refund',
refundTotalGold: 'Total Refunded Gold Coins',
totalNum: 'Total Items',
totalBean: 'Total Gold Beans',
rejectRecord: 'Reject This Record',
passRecord: 'Approve This Record',
},
// Recharge Group
recharge: {
coinRechargeDetail: 'Gold Coin Recharge Details',
normal: 'Normal',
refunded: 'Refunded',
unknown: 'Unknown',
addCoinRecharge: 'New Recharge',
payMethods: {
bankTransfer: 'Bank Transfer',
cash: 'Cash',
check: 'Check',
card: 'Card Payment',
grabpay: 'GrabPay',
nets: 'NETS',
paypal: 'PayPal',
stripe: 'Stripe (Link)',
ipay88: 'iPay88 (Link)',
paymentAsia: 'PaymentAsia (Link)',
other: 'Other',
},
},
// Consume Group
consume: {
coinConsumeDetail: 'Gold Coin Consumption Details',
normal: 'Normal',
refunded: 'Refunded',
unknown: 'Unknown',
consumePlatforms: {
goldSystem: 'Gold System',
HomilyChart: 'HomilyChart',
HomilyLink: 'HomilyLink',
ERP: 'ERP',
other: 'Other',
initGold: 'Gold Initialization',
},
addCoinConsume: 'New Consumption',
},
// Refund Group
refund: {
coinRefundDetail: 'Gold Coin Refund Details',
normal: 'Normal',
refunded: 'Refunded',
unknown: 'Unknown',
refundMethods: {
allRefund: 'Full Refund',
partialRefund: 'Partial Refund',
},
refundTypeOptions: {
'商品退款': 'Product Refund',
'金币退款': 'Gold Coin Refund',
},
addCoinRefund: 'New Refund',
id: 'No.',
type: 'Type',
recharge: 'Recharge',
consume: 'Consumption',
productName: 'Product Name',
orderCode: 'Order No.',
permanentGold: 'Permanent Gold Coins',
freeGold: 'Free Gold Coins',
taskGold: 'Task Gold Coins',
isRefund: 'Refund Allowed',
no: 'No',
yes: 'Yes',
},
// Client Count Group
clientCount: {
clientCountBalance: 'Gold Coin Balance',
clientCountDetail: 'Gold Coin Details',
recharge: 'Recharge',
consume: 'Consumption',
refund: 'Refund',
other: 'Other',
type: {
recharge: 'Recharge',
consume: 'Consumption',
refund: 'Refund',
},
},
}

2
src/components/locales/lang/zh-CN.js

@ -1,4 +1,4 @@
import { UploadFilled } from "@element-plus/icons-vue";
// 包里的变量不可随意更改!!!

2
src/util/request.js

@ -2,7 +2,7 @@ import axios from 'axios'
// 创建axios实例
const service = axios.create({
baseURL: import.meta.env.VITE_API_BASE,//.env.development
timeout: 20000, // 20秒超时
timeout: 60000, // 60秒超时
headers: {
'Content-Type': 'application/json'
},

2
src/views/consume/gold/addCoinConsume.vue

@ -535,7 +535,7 @@ onMounted(async function () {
<template>
<div class="father1">
<div class="left">
<el-form :model="addConsume" ref="Ref" :rules="rules" style="min-width: 420px;" class="add-form"
<el-form :model="addConsume" ref="Ref" :rules="rules" style="min-width: 600px;" class="add-form"
label-width="auto" label-position="right">
<el-form-item prop="jwcode" :label="t('common_add.jwcode')" style="margin-top: 50px">
<el-input v-model="addConsume.jwcode" style="width: 200px;" />

8
src/views/consume/gold/coinConsumeDetail.vue

@ -667,12 +667,12 @@ const getMarket = async function () {
<el-table-column prop="orderCode" :label="$t('common_list.orderNo')" width="260px" show-overflow-tooltip />
_list
<el-table-column prop="goodsName" :label="$t('common_list.goodsName')" width="160px" show-overflow-tooltip />
<el-table-column prop="payPlatform" :label="$t('common_list.consumePlatform')" width="120px">
<el-table-column prop="payPlatform" :label="$t('common_list.consumePlatform')" width="130px">
<template #default="scope">
{{ scope.row.payPlatform }}
</template>
</el-table-column>
<el-table-column prop="sumGold" :label="$t('common_list.consumeTotalGold')" width="120px">
<el-table-column prop="sumGold" :label="$t('common_list.consumeTotalGold')" width="140px">
<template #default="scope">
{{
(scope.row.taskGold +
@ -682,7 +682,7 @@ _list
</template>
</el-table-column>
<el-table-column prop="permanentGold" :label="$t('common_list.permanentGold')" sortable="“custom”" width="110px">
<el-table-column prop="permanentGold" :label="$t('common_list.permanentGold')" sortable="“custom”" width="130px">
<template #default="scope">
{{ scope.row.permanentGold }}
</template>
@ -828,7 +828,7 @@ _list
padding: 0 0.5vw;
.text {
width: 5vw;
width: 5.5vw;
font-size: 15px;
}

14
src/views/language/languageTranslate.vue

@ -22,7 +22,7 @@
</div>
<div>
<el-table :data="tableData" style="width: 82vw;height:70vh;" :row-style="{ height: '50px' }">
<el-table :data="tableData" style="width: 82vw;height:72vh;" :row-style="{ height: '50px' }">
<el-table-column type="index" label="序号" width="80px" fixed="left">
<template #default="scope">
<span>{{ scope.$index + 1 + (pagination.pageNum - 1) * pagination.pageSize }}</span>
@ -39,7 +39,7 @@
</template>
</el-table-column>
<el-table-column prop="english" label="英文" width="180px" header-align="center">
<el-table-column prop="english" label="英文" width="200px" header-align="center">
<template #default="scope">
<div style="display: flex; align-items: center; justify-content: space-between;">
<div style="flex: 1;">
@ -56,7 +56,7 @@
</template>
</el-table-column>
<el-table-column prop="thai" label="泰语" width="180px" header-align="center">
<el-table-column prop="thai" label="泰语" width="200px" header-align="center">
<template #default="scope">
<div style="display: flex; align-items: center; justify-content: space-between;">
<div style="flex: 1;">
@ -73,7 +73,7 @@
</template>
</el-table-column>
<el-table-column prop="chineseTraditional" label="繁体中文" width="150px" header-align="center">
<el-table-column prop="chineseTraditional" label="繁体中文" width="180px" header-align="center">
<template #default="scope">
<div style="display: flex; align-items: center; justify-content: space-between;">
<div style="flex: 1;">
@ -90,7 +90,7 @@
</template>
</el-table-column>
<el-table-column prop="malay" label="马来语" width="150px" header-align="center">
<el-table-column prop="malay" label="马来语" width="200px" header-align="center">
<template #default="scope">
<div style="display: flex; align-items: center; justify-content: space-between;">
<div style="flex: 1;">
@ -107,7 +107,7 @@
</template>
</el-table-column>
<el-table-column prop="vietnamese" label="越南语" width="150px" header-align="center">
<el-table-column prop="vietnamese" label="越南语" width="200px" header-align="center">
<template #default="scope">
<div style="display: flex; align-items: center; justify-content: space-between;">
<div style="flex: 1;">
@ -143,7 +143,7 @@
</div>
<!-- 分页组件 -->
<div style="margin-top: 20px;display: flex;">
<div style="margin-top: 10px;display: flex;">
<el-pagination background v-model:current-page="pagination.pageNum" v-model:page-size="pagination.pageSize"
layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" style="margin-top: 1vh;"
@size-change="handleSizeChange" @current-change="handleCurrentChange" />

4
src/views/recharge/gold/addCoinRecharge.vue

@ -642,7 +642,7 @@ onMounted(() => {
<div class="userAndForm">
<div class="left">
<el-form :model="recharge" ref="Ref" :rules="rules" label-width="auto" label-position="right"
style="min-width: 420px" class="add-form">
style="min-width: 500px" class="add-form">
<el-form-item prop="jwcode" :label="$t('common_add.jwcode')">
<el-input v-model="recharge.jwcode" style="width: 220px"/>
<el-button type="primary" @click="getUser(recharge.jwcode)" style="margin-left: 20px">{{ $t('common.search') }}</el-button>
@ -902,7 +902,7 @@ onMounted(() => {
.right {
flex: 1;
margin-left: 20px;
margin-left: 100px;
display: flex;
.customer-info{

2
src/views/recharge/gold/coinRechargeDetail.vue

@ -682,7 +682,7 @@ const getTagText = (state) => {
<el-table-column prop="activity" :label="$t('common_list.activity')" width="110px" show-overflow-tooltip />
<el-table-column prop="rateName" :label="$t('common_list.rateName')" width="110px" />
<el-table-column prop="money" sortable="custom" :label="$t('common_list.rechargeAmount')" width="110px" />
<el-table-column prop="permanentGold" :label="$t('common_list.permanentGold')" sortable="custom" width="110px" />
<el-table-column prop="permanentGold" :label="$t('common_list.permanentGold')" sortable="custom" width="130px" />
<el-table-column prop="freeGold" :label="$t('common_list.freeGold')" sortable="custom" width="110px" />
<el-table-column prop="payPlatform" :label="$t('common_list.rechargePlatform')" width="110px" />
<el-table-column prop="payModel" :label="$t('common_list.payModel')" width="100px" />

10
src/views/refund/gold/addCoinRefund.vue

@ -439,7 +439,7 @@ onMounted(() =>{
<div class="userAndForm">
<div class="left">
<el-form :model="addRefund" ref="Ref" :rules="rules" label-width="auto" label-position="right"
style="min-width: 420px" class="add-form">
style="min-width: 500px" class="add-form">
<el-form-item prop="jwcode" :label="$t('common_add.jwcode')">
<el-input v-model="addRefund.jwcode" style="width: 220px" />
<el-button type="primary" @click="getUser(addRefund.jwcode)" style="margin-left: 20px">{{ $t('common.search') }}
@ -637,12 +637,12 @@ p {
}
.right-up {
width: 50vw;
width: 52vw;
height: 20vh;
display: flex;
justify-content: center;
align-items: center;
margin-left: 5vw;
margin-left: 2vw;
.customer-info {
height: 21vh;
@ -658,9 +658,9 @@ p {
}
.card {
width: 50vw;
width: 52vw;
height: 50vh;
margin-left: 5vw;
margin-left: 2vw;
margin-top: 1vh;
}

4
src/views/refund/gold/coinRefundDetail.vue

@ -549,7 +549,7 @@ const getMarket = async function () {
<div class="selectRow" style="width: 35vw">
<el-text class="text" size="large">{{ $t('common.refundTime') }}</el-text>
<el-date-picker class="selectContent" v-model="getTime" type="datetimerange" :range-separator="$t('common.to')"
:start-placeholder="$t('common.startTime')" :end-placeholder="$t('common.endTime')" style="width: 20vw;" @change="handleDatePickerChange"
:start-placeholder="$t('common.startTime')" :end-placeholder="$t('common.endTime')" style="width: 14.2vw;" @change="handleDatePickerChange"
:default-time="defaultTime" :disabled-date="disabledDate" />
<el-button @click="getToday()" style="margin-left: 0.3vw"
:type="activeTimeRange === 'today' ? 'primary' : ''">
@ -605,7 +605,7 @@ const getMarket = async function () {
</template>
</el-table-column>
<el-table-column prop="sumGold" :label="$t('common_list.refundGoldCoin')" width="150px" sortable="custom" />
<el-table-column prop="permanentGold" :label="$t('common_list.permanentGold')" width="110px" sortable="custom" />
<el-table-column prop="permanentGold" :label="$t('common_list.permanentGold')" width="130px" sortable="custom" />
<el-table-column prop="freeGold" :label="$t('common_list.freeGold')" width="110px" sortable="custom" />
<el-table-column prop="taskGold" :label="$t('common_list.taskGold')" width="110px" sortable="custom" />
<el-table-column prop="remark" :label="$t('common_list.remark')" width="160px" show-overflow-tooltip />

8
src/views/usergold/gold/clientCountBalance.vue

@ -437,7 +437,7 @@ const format3 = (num) => {
<el-table-column prop="name" :label="$t('common_list.name')" width="140" />
<el-table-column prop="jwcode" :label="$t('common_list.jwcode')" width="160" />
<el-table-column prop="market" :label="$t('common_list.market')" width="140" />
<el-table-column prop="sumGold" :label="$t('common_list.sumGold')" width="140" aligh="center">
<el-table-column prop="sumGold" :label="$t('common_list.sumGold')" width="180" aligh="center">
<!-- <template #default="scope">
<span>{{
((scope.row.currentPermanentGold || 0) +
@ -447,17 +447,17 @@ const format3 = (num) => {
}}</span>
</template> -->
</el-table-column>
<el-table-column prop="currentPermanentGold" :label="$t('common_list.permanentGold')" sortable="custom" width="150">
<el-table-column prop="currentPermanentGold" :label="$t('common_list.permanentGold')" sortable="custom" width="210">
<template #default="scope">
<span>{{ (scope.row.currentPermanentGold || 0) }}</span>
</template>
</el-table-column>
<el-table-column prop="currentFreeJune" :label="$t('common_list.freeGold6Month')" sortable="custom" width="170">
<el-table-column prop="currentFreeJune" :label="$t('common_list.freeGold6Month')" sortable="custom" width="200">
<template #default="scope">
<span>{{ (scope.row.currentFreeJune || 0) }}</span>
</template>
</el-table-column>
<el-table-column prop="currentFreeDecember" :label="$t('common_list.freeGold12Month')" sortable="custom" width="180">
<el-table-column prop="currentFreeDecember" :label="$t('common_list.freeGold12Month')" sortable="custom" width="200">
<template #default="scope">
<span>{{ (scope.row.currentFreeDecember || 0) }}</span>
</template>

6
src/views/usergold/gold/clientCountDetail.vue

@ -518,7 +518,7 @@ const format3 = (num) => {
<div class="selectRow" style="width: 35vw">
<el-text class="text" size="large">{{ $t('common.updateTime') }}</el-text>
<el-date-picker class="selectContent" v-model="getTime" type="datetimerange" :range-separator="$t('common.to')"
:start-placeholder="$t('common.startTime')" :end-placeholder="$t('common.endTime')" style="width: 20vw" @change="handleDatePickerChange"
:start-placeholder="$t('common.startTime')" :end-placeholder="$t('common.endTime')" style="width: 14.2vw" @change="handleDatePickerChange"
:default-time="defaultTime" :disabled-date="disabledDate" />
<el-button @click="getToday()" style="margin-left: 0.3vw"
:type="activeTimeRange === 'today' ? 'primary' : ''">
@ -563,7 +563,7 @@ const format3 = (num) => {
<el-table-column fixed="left" prop="jwcode" :label="$t('common_list.jwcode')" width="120" />
<el-table-column prop="market" :label="$t('common_list.market')" width="120" />
<el-table-column prop="payPlatform" :label="$t('common_list.payPlatform')" width="140" />
<el-table-column prop="type" :label="$t('common_list.type')" width="110">
<el-table-column prop="type" :label="$t('common_list.type')" width="130">
<template #default="scope">
<span v-if="scope.row.type === 0">{{ $t('clientCount.recharge') }}</span>
<span v-if="scope.row.type === 1">{{ $t('clientCount.consume') }}</span>
@ -578,7 +578,7 @@ const format3 = (num) => {
</template>
</el-table-column>
<el-table-column prop="permanentGold" sortable="custom" :label="$t('common_list.permanentGold')" width="110">
<el-table-column prop="permanentGold" sortable="custom" :label="$t('common_list.permanentGold')" width="130">
<template #default="scope">
<span>{{ (scope.row.permanentGold || 0) }}</span>
</template>

Loading…
Cancel
Save