23 changed files with 2752 additions and 1441 deletions
@ -1,11 +1,413 @@ |
|||
export default { |
|||
language: { |
|||
switchSuccess: 'Switch language successfully' |
|||
common: { |
|||
add: 'Add', |
|||
search: 'Search', |
|||
reset: 'Reset', |
|||
edit: 'Edit', |
|||
delete: 'Delete', |
|||
operation: 'Operation', |
|||
confirm: 'Confirm', |
|||
cancel: 'Cancel', |
|||
export: 'Export', |
|||
import: 'Import', |
|||
close: 'Close', |
|||
detail: 'Details', |
|||
startDate: 'Start Time', |
|||
endDate: 'End Time', |
|||
createTime: 'Creation Time', |
|||
updateTime: 'Update Time', |
|||
more: 'More', |
|||
addSuccess: 'Add Success', |
|||
editSuccess: 'Edit Success', |
|||
deleteConfirm: 'Are you sure you want to delete?', |
|||
deleteSuccess: 'Delete Success' |
|||
}, |
|||
navbar: { |
|||
logout: 'Logout' |
|||
language: { |
|||
switchSuccess: 'Language switch successful' |
|||
}, |
|||
index: { |
|||
title: 'Laos Payment Financial Management System' |
|||
title: 'Laos Payment Financial Holding Management System' |
|||
}, |
|||
menus: { |
|||
'首页': 'Home', |
|||
'系统管理': 'System Management', |
|||
'部门管理': 'Department Management', |
|||
'岗位管理': 'Position Management', |
|||
'用户管理': 'User Management', |
|||
'角色管理': 'Role Management', |
|||
'菜单管理': 'Menu Management', |
|||
'参数设置': 'Parameter Settings', |
|||
'通知公告': 'Notifications', |
|||
'日志管理': 'Log Management', |
|||
'操作日志': 'Operation Log', |
|||
'登录日志': 'Login Log', |
|||
'文件管理': 'File Management', |
|||
'系统监控': 'System Monitoring', |
|||
'在线用户': 'Online Users', |
|||
'缓存监控': 'Cache Monitoring', |
|||
'缓存列表': 'Cache List', |
|||
'用户相关': 'User Related', |
|||
'用户注册': 'User Registration', |
|||
'用户信息': 'User Information', |
|||
'用户账户': 'User Account', |
|||
'用户密码': 'User Password', |
|||
'用户银行卡': 'User Bank Card', |
|||
'用户好友': 'User Friend', |
|||
'交易相关': 'Transaction Related', |
|||
'转账': 'Transfer', |
|||
'付款': 'Payment', |
|||
'提现': 'Withdrawal', |
|||
'收款': 'Receipt', |
|||
'公共': 'Public', |
|||
'关于信息': 'About Information', |
|||
'反馈信息': 'Feedback Information', |
|||
'消息通知': 'Message Notification', |
|||
'阈值设置': 'Threshold Settings', |
|||
'记录': 'Record', |
|||
'交易动账记录': 'Transaction Account Movement Record' |
|||
}, |
|||
system: { |
|||
dept: { |
|||
deptName: 'Department Name', |
|||
inputDeptName: 'Please enter department name', |
|||
deptStatus: 'Department Status', |
|||
orderNum: 'Sort Number', |
|||
createTime: 'Creation Time', |
|||
parentDept: 'Parent Department', |
|||
selectParentDept: 'Please select parent department', |
|||
leader: 'Leader', |
|||
inputLeader: 'Please enter leader', |
|||
phone: 'Contact Phone', |
|||
inputPhone: 'Please enter contact phone', |
|||
email: 'Email', |
|||
inputEmail: 'Please enter email', |
|||
expandCollapse: 'Expand/Collapse', |
|||
addDept: 'Add Department', |
|||
editDept: 'Edit Department', |
|||
status: 'Status', |
|||
parentDeptRequired: 'Parent department cannot be empty', |
|||
deptNameRequired: 'Department name cannot be empty', |
|||
orderNumRequired: 'Sort number cannot be empty', |
|||
emailFormatError: 'Please enter a valid email address', |
|||
phoneFormatError: 'Please enter a valid phone number' |
|||
}, |
|||
post: { |
|||
postId: 'Position ID', |
|||
postCode: 'Position Code', |
|||
inputPostCode: 'Please enter position code', |
|||
postName: 'Position Name', |
|||
inputPostName: 'Please enter position name', |
|||
postStatus: 'Position Status', |
|||
postSort: 'Position Order', |
|||
createTime: 'Creation Time', |
|||
remark: 'Remark', |
|||
status: 'Status' |
|||
}, |
|||
}, |
|||
business: { |
|||
userRegister: { |
|||
name: 'User Registration Name', |
|||
namePlaceholder: 'Please enter user registration name', |
|||
phone: 'User Registration Phone Number', |
|||
phonePlaceholder: 'Please enter user registration phone number', |
|||
createTime: 'User Registration Creation Time', |
|||
updateTime: 'User Registration Update Time', |
|||
userId: 'User Registration ID', |
|||
userIdPlaceholder: 'Please enter user registration ID', |
|||
password: 'User Registration Password', |
|||
passwordPlaceholder: 'Please enter user registration password', |
|||
nameRequired: 'User registration name cannot be empty', |
|||
addTitle: 'Add User Registration Information', |
|||
title: 'User Registration Information', |
|||
editTitle: 'Edit User Registration Information', |
|||
status: 'User Status' |
|||
}, |
|||
userInfo: { |
|||
userCode: 'User Code', |
|||
userCodePlaceholder: 'Please enter user code', |
|||
name: 'User Name', |
|||
namePlaceholder: 'Please enter user name', |
|||
gender: 'User Gender', |
|||
genderPlaceholder: 'Please enter user gender', |
|||
phone: 'User Phone', |
|||
phonePlaceholder: 'Please enter user phone', |
|||
addr: 'User Address', |
|||
addrPlaceholder: 'Please enter user address', |
|||
userId: 'User ID', |
|||
idCard: 'User ID Card Number', |
|||
age: 'User Age', |
|||
status: 'User Status', |
|||
statusNormal: 'Normal', |
|||
statusDisabled: 'Disabled', |
|||
delFlag: 'Delete Flag', |
|||
delFlagExist: 'Exist', |
|||
delFlagDeleted: 'Deleted', |
|||
addTitle: 'Add User Information', |
|||
detailTitle: 'User Information Details', |
|||
editTitle: 'Edit User Information', |
|||
idCardPlaceholder: 'Please enter user ID card number', |
|||
agePlaceholder: 'Please enter user age', |
|||
detailUserId: 'Detail User ID', |
|||
detailName: 'Detail User Name', |
|||
detailGender: 'Detail User Gender', |
|||
detailIdCard: 'Detail User ID Card Number', |
|||
detailPhone: 'Detail User Phone', |
|||
detailAge: 'Detail User Age', |
|||
detailAddr: 'Detail User Address' |
|||
}, |
|||
userAccount: { |
|||
userId: 'User ID', |
|||
accountId: 'Account ID', |
|||
accountCode: 'Account Code', |
|||
accountName: 'Account Name', |
|||
accountNamePlaceholder: 'Please enter account name', |
|||
addTitle: 'Add User Account', |
|||
editTitle: 'Edit User Account', |
|||
detailTitle: 'User Account Details', |
|||
accountAmount: 'Account Amount', |
|||
status: 'Status', |
|||
statusNormal: 'Normal', |
|||
statusFrozen: 'Frozen', |
|||
delFlag: 'Delete Flag', |
|||
delFlagExist: 'Exist', |
|||
delFlagDeleted: 'Deleted', |
|||
detailAccountId: 'Account ID', |
|||
inputAccountId: 'Please enter account ID', |
|||
detailAccountCode: 'Account Code', |
|||
inputAccountCode: 'Please enter account code', |
|||
detailAccountName: 'Account Name', |
|||
inputAccountName: 'Please enter account name', |
|||
detailAccountAmount: 'Account Amount', |
|||
inputAccountAmount: 'Please enter account amount', |
|||
detailAccountIdLabel: 'Account ID:', |
|||
detailAccountCodeLabel: 'Account Code:', |
|||
detailAccountNameLabel: 'Account Name:', |
|||
detailAccountAmountLabel: 'Account Amount:' |
|||
}, |
|||
userPasswd: { |
|||
userId: 'User ID', |
|||
userIdPlaceholder: 'Please enter user ID', |
|||
payPasswd: 'Payment Password', |
|||
payPasswdPlaceholder: 'Please enter payment password', |
|||
phoneLock: 'Phone Lock', |
|||
phoneLockPlaceholder: 'Please enter phone lock status', |
|||
loginPasswd: 'Login Password', |
|||
loginPasswdPlaceholder: 'Please enter login password', |
|||
payStatus: 'Payment Status', |
|||
delFlag: 'Delete Flag', |
|||
detailUserId: 'Detail User ID', |
|||
detailPayPasswd: 'Detail Payment Password', |
|||
detailPhoneLock: 'Detail Phone Lock', |
|||
detailLoginPasswd: 'Detail Login Password', |
|||
addTitle: 'Add User Password', |
|||
detailTitle: 'User Password Details', |
|||
editTitle: 'Edit User Password', |
|||
userIdRequired: 'User ID cannot be empty', |
|||
payPasswdRequired: 'Payment password cannot be empty', |
|||
phoneLockRequired: 'Phone lock status cannot be empty', |
|||
loginPasswdRequired: 'Login password cannot be empty' |
|||
}, |
|||
userCard: { |
|||
userId: 'User ID', |
|||
inputUserId: 'Please enter user ID', |
|||
cardNum: 'Bank Card Number', |
|||
cardNumPlaceholder: 'Please enter bank card number', |
|||
cardAmount: 'Card Balance', |
|||
cardAmountPlaceholder: 'Please enter card balance', |
|||
bankName: 'Bank Name', |
|||
bankNamePlaceholder: 'Please enter bank name', |
|||
deptName: 'Department Name', |
|||
deptNamePlaceholder: 'Please enter department name', |
|||
status: 'Status', |
|||
statusNormal: 'Normal', |
|||
statusDisabled: 'Disabled', |
|||
createTime: 'Creation Time', |
|||
updateTime: 'Update Time', |
|||
operation: 'Operation', |
|||
detail: 'Details', |
|||
title: 'User Bank Card Details', |
|||
addTitle: 'Add User Bank Card', |
|||
editTitle: 'Edit User Bank Card' |
|||
}, |
|||
userFriend: { |
|||
userId: 'User ID', |
|||
inputUserId: 'Please enter user ID', |
|||
friendId: 'Friend ID', |
|||
inputFriendId: 'Please enter friend ID', |
|||
delFlag: 'Delete Flag', |
|||
inputDelFlag: 'Please enter delete flag', |
|||
id: 'ID', |
|||
status: 'Status', |
|||
statusNormal: 'Normal', |
|||
statusBlocked: 'Blocked', |
|||
delFlagExist: 'Not Deleted', |
|||
delFlagDeleted: 'Deleted', |
|||
addTitle: 'Add User Friend', |
|||
editTitle: 'Edit User Friend', |
|||
detailTitle: 'User Friend Details', |
|||
}, |
|||
dealTransfer: { |
|||
transferAccount: 'Transfer Account', |
|||
transferAccountPlaceholder: 'Please enter transfer account', |
|||
receiveAccount: 'Receive Account', |
|||
receiveAccountPlaceholder: 'Please enter receive account', |
|||
transferId: 'Transfer ID', |
|||
transferIdPlaceholder: 'Please enter transfer ID', |
|||
receiveId: 'Receive ID', |
|||
receiveIdPlaceholder: 'Please enter receive ID', |
|||
billCode: 'Bill Number', |
|||
billCodePlaceholder: 'Please enter bill number', |
|||
amount: 'Amount', |
|||
amountPlaceholder: 'Please enter amount', |
|||
transferType: 'Transfer Type', |
|||
directTransfer: 'Direct Transfer', |
|||
reviewTransfer: 'Review Transfer', |
|||
remark: 'Remark', |
|||
remarkPlaceholder: 'Please enter remark', |
|||
status: 'Status', |
|||
statusInit: 'Initial Status', |
|||
statusReject: 'Rejected', |
|||
statusPass: 'Approved', |
|||
transferIdRequired: 'Transfer ID cannot be empty', |
|||
transferAccountRequired: 'Transfer account cannot be empty', |
|||
receiveIdRequired: 'Receive ID cannot be empty', |
|||
receiveAccountRequired: 'Receive account cannot be empty', |
|||
addTitle: 'Add Transfer Record', |
|||
editTitle: 'Edit Transfer Record', |
|||
detailTitle: 'Transfer Record Details' |
|||
}, |
|||
dealPay: { |
|||
paymentId: 'Payment ID', |
|||
paymentIdPlaceholder: 'Please enter payment ID', |
|||
paymentIdRequired: 'Payment ID cannot be empty', |
|||
paymentAccount: 'Payment Account', |
|||
paymentAccountPlaceholder: 'Please enter payment account', |
|||
paymentAccountRequired: 'Payment account cannot be empty', |
|||
targetId: 'Target ID', |
|||
targetIdPlaceholder: 'Please enter target ID', |
|||
targetIdRequired: 'Target ID cannot be empty', |
|||
targetAccount: 'Target Account', |
|||
targetAccountPlaceholder: 'Please enter target account', |
|||
targetAccountRequired: 'Target account cannot be empty', |
|||
billCode: 'Bill Code', |
|||
billCodePlaceholder: 'Please enter bill code', |
|||
amount: 'Amount', |
|||
amountPlaceholder: 'Please enter amount', |
|||
amountRequired: 'Amount cannot be empty', |
|||
transferType: 'Transfer Type', |
|||
directPayment: 'Direct Payment', |
|||
review: 'Review Payment', |
|||
qrCode: 'QR Code', |
|||
qrCodePlaceholder: 'Please enter QR code', |
|||
remark: 'Remark', |
|||
remarkPlaceholder: 'Please enter remark', |
|||
status: 'Status', |
|||
submit: 'Submitted', |
|||
reject: 'Rejected', |
|||
approve: 'Approved', |
|||
addPayment: 'Add Payment', |
|||
editPayment: 'Edit Payment', |
|||
payment: 'Payment Details', |
|||
paymentIdLabel: 'Payment ID', |
|||
paymentAccountLabel: 'Payment Account', |
|||
targetIdLabel: 'Target ID', |
|||
targetAccountLabel: 'Target Account', |
|||
billCodeLabel: 'Bill Code', |
|||
amountLabel: 'Amount', |
|||
qrCodeLabel: 'QR Code', |
|||
remarkLabel: 'Remark' |
|||
}, |
|||
dealCashout: { |
|||
cashoutId: 'Withdrawal ID', |
|||
cashoutIdPlaceholder: 'Please enter withdrawal ID', |
|||
cashoutAccount: 'Withdrawal Account', |
|||
cashoutAccountPlaceholder: 'Please enter withdrawal account', |
|||
targetId: 'Target ID', |
|||
targetIdPlaceholder: 'Please enter target ID', |
|||
targetAccount: 'Target Account', |
|||
targetAccountPlaceholder: 'Please enter target account', |
|||
billCode: 'Bill Number', |
|||
billCodePlaceholder: 'Please enter bill number', |
|||
amount: 'Amount', |
|||
amountPlaceholder: 'Please enter amount', |
|||
transferType: 'Transfer Type', |
|||
directCashout: 'Direct Withdrawal', |
|||
review: 'Requires Review', |
|||
remark: 'Remark', |
|||
remarkPlaceholder: 'Please enter remark', |
|||
status: 'Status', |
|||
submit: 'Submitted', |
|||
reject: 'Rejected', |
|||
approve: 'Approved', |
|||
createBy: 'Creator', |
|||
userIdRequired: 'Withdrawal ID cannot be empty', |
|||
userAccountRequired: 'Withdrawal account cannot be empty', |
|||
toIdRequired: 'Target ID cannot be empty', |
|||
amountRequired: 'Amount cannot be empty', |
|||
addTitle: 'Add Withdrawal Record', |
|||
editTitle: 'Edit Withdrawal Record', |
|||
detailTitle: 'Withdrawal Record Details', |
|||
cashoutIdLabel: 'Withdrawal ID', |
|||
cashoutAccountLabel: 'Withdrawal Account', |
|||
targetIdLabel: 'Target ID', |
|||
targetAccountLabel: 'Target Account', |
|||
billCodeLabel: 'Bill Number', |
|||
amountLabel: 'Amount', |
|||
remarkLabel: 'Remark' |
|||
}, |
|||
dealReceive: { |
|||
cashoutId: 'Receipt ID', |
|||
cashoutIdPlaceholder: 'Please enter receipt ID', |
|||
cashoutAccount: 'Receipt Account', |
|||
cashoutAccountPlaceholder: 'Please enter receipt account', |
|||
targetId: 'Target ID', |
|||
targetIdPlaceholder: 'Please enter target ID', |
|||
targetAccount: 'Target Account', |
|||
targetAccountPlaceholder: 'Please enter target account', |
|||
billCode: 'Unique Bill Number', |
|||
billCodePlaceholder: 'Please enter unique bill number', |
|||
amount: 'Receipt Amount', |
|||
amountPlaceholder: 'Please enter receipt amount', |
|||
qrCode: 'QR Code Parsing', |
|||
qrCodePlaceholder: 'Please enter QR code parsing content', |
|||
remark: 'Withdrawal Remark', |
|||
remarkPlaceholder: 'Please enter withdrawal remark', |
|||
userIdRequired: 'Receipt ID cannot be empty', |
|||
userAccountRequired: 'Receipt account cannot be empty', |
|||
toIdRequired: 'Target ID cannot be empty', |
|||
toAccountRequired: 'Target account cannot be empty', |
|||
addTitle: 'Add Receipt Record', |
|||
editTitle: 'Edit Receipt Record', |
|||
detailTitle: 'Receipt Record Details' |
|||
}, |
|||
recordTransaction: { |
|||
senderId: 'Sender ID', |
|||
senderAccount: 'Sender Account', |
|||
senderAccountPlaceholder: 'Please enter sender account', |
|||
receiverAccount: 'Receiver Account', |
|||
receiverAccountPlaceholder: 'Please enter receiver account', |
|||
transactionTime: 'Transaction Time', |
|||
transactionTimePlaceholder: 'Please enter transaction time', |
|||
transactionType: 'Transaction Type', |
|||
transfer: 'Transfer', |
|||
payment: 'Payment', |
|||
withdraw: 'Withdrawal', |
|||
receive: 'Receipt', |
|||
recharge: 'Recharge', |
|||
previousBalance: 'Balance Before Transaction', |
|||
previousBalancePlaceholder: 'Please enter balance before transaction', |
|||
changeBalance: 'Change Amount', |
|||
changeBalancePlaceholder: 'Please enter change amount', |
|||
currentBalance: 'Balance After Transaction', |
|||
currentBalancePlaceholder: 'Please enter balance after transaction', |
|||
note: 'Note', |
|||
notePlaceholder: 'Please enter note', |
|||
status: 'Status', |
|||
normal: 'Normal', |
|||
banned: 'Banned', |
|||
addTitle: 'Add Transaction Account Movement Record', |
|||
editTitle: 'Edit Transaction Account Movement Record', |
|||
detailTitle: 'Transaction Account Movement Record Details' |
|||
} |
|||
} |
|||
} |
@ -1,11 +1,413 @@ |
|||
export default { |
|||
common: { |
|||
add: 'ເພີ່ມ', |
|||
search: 'ຄົ້ນຫາ', |
|||
reset: 'ຕັ້ງຄ່າໃໝ່', |
|||
edit: 'ແກ້ໄຂ', |
|||
delete: 'ລຶບ', |
|||
operation: 'ການດໍາເນີນງານ', |
|||
confirm: 'ຢືນຢັນ', |
|||
cancel: 'ຍົກເລີກ', |
|||
export: 'ສົ່ງອອກ', |
|||
import: 'ນຳເຂົ້າ', |
|||
close: 'ປິດ', |
|||
detail: 'ລາຍລະອຽດ', |
|||
startDate: 'ເວລາເລີ່ມຕົ້ນ', |
|||
endDate: 'ເວລາສິ້ນສຸດ', |
|||
createTime: 'ເວລາສ້າງ', |
|||
updateTime: 'ເວລາແກ້ໄຂ', |
|||
more: 'ເພີ່ມເຕີມ', |
|||
addSuccess: 'ເພີ່ມສຳເລັດ', |
|||
editSuccess: 'ແກ້ໄຂສຳເລັດ', |
|||
deleteConfirm: 'ທ່ານຕ້ອງການລຶບແທ້ບໍ?', |
|||
deleteSuccess: 'ລຶບສຳເລັດ' |
|||
}, |
|||
language: { |
|||
switchSuccess: 'ປ່ຽນພາສາສຳເລັດ' |
|||
}, |
|||
navbar: { |
|||
logout: 'ອອກຈາກລະບົບ' |
|||
}, |
|||
index: { |
|||
title: 'ລະບົບຈັດການການເງິນການຈ່າຍເງິນລາວ' |
|||
title: 'ລະບົບການຈັດການຄຸ້ມຄອງທຶນເງິນຈ່າຍເລົາ' |
|||
}, |
|||
menus: { |
|||
首页: 'ໜ້າຫຼັກ', |
|||
系统管理: 'ການຈັດການລະບົບ', |
|||
部门管理: 'ການຈັດການພະແນກ', |
|||
岗位管理: 'ການຈັດການຕຳແໜ່ງ', |
|||
用户管理: 'ການຈັດການຜູ້ໃຊ້', |
|||
角色管理: 'ການຈັດການບົດບາດ', |
|||
菜单管理: 'ການຈັດການລາຍການ', |
|||
参数设置: 'ການຕັ້ງຄ່າພາລາມິເຕີ', |
|||
通知公告: 'ການປະກາດແຈ້ງການ', |
|||
日志管理: 'ການຈັດການລັອກ', |
|||
操作日志: 'ລັອກການປະຕິບັດງານ', |
|||
登录日志: 'ລັອກການລ໋ອກອິນ', |
|||
文件管理: 'ການຈັດການຟາຍ', |
|||
系统监控: 'ການຕິດຕາມລະບົບ', |
|||
在线用户: 'ຜູ້ໃຊ້ออนไลน', |
|||
缓存监控: 'ການຕິດຕາມຄາແຊ', |
|||
缓存列表: 'ລາຍການຄາແຊ', |
|||
用户相关: 'ກ່ຽວຂ້ອງກັບຜູ້ໃຊ້', |
|||
用户注册: 'ການລົງທະບຽນຜູ້ໃຊ້', |
|||
用户信息: 'ຂໍ້ມູນຜູ້ໃຊ້', |
|||
用户账户: 'ບັນຊີຜູ້ໃຊ້', |
|||
用户密码: 'ລະຫັດຜ່ານຜູ້ໃຊ້', |
|||
用户银行卡: 'ບັດທະນາຄານຜູ້ໃຊ້', |
|||
用户好友: 'ເພື່ອນຜູ້ໃຊ້', |
|||
交易相关: 'ກ່ຽວຂ້ອງກັບທຸລະກຳ', |
|||
转账: 'ໂອນເງິນ', |
|||
付款: 'ຈ່າຍເງິນ', |
|||
提现: 'ຖອນເງິນ', |
|||
收款: 'ຮັບເງິນ', |
|||
公共: 'ສາທາລະນະ', |
|||
关于信息: 'ຂໍ້ມູນກ່ຽວກັບ', |
|||
反馈信息: 'ຂໍ້ມູນຄືນຟີດແບັກ', |
|||
消息通知: 'ແຈ້ງເຂົ້າໃຈຂ່າວສານ', |
|||
阈值设置: 'ການຕັ້ງຄ່າເຂດຂອບເຂດ', |
|||
记录: 'ບັນທຶກ', |
|||
交易动账记录: 'ບັນທຶກການເຄື່ອນໄຫວບັນຊີທຸລະກຳ', |
|||
}, |
|||
system: { |
|||
dept: { |
|||
deptName: 'ຊື່ພະແນກ', |
|||
inputDeptName: 'ກະລຸນາປ້ອນຊື່ພະແນກ', |
|||
deptStatus: 'ສະຖານະພະແນກ', |
|||
orderNum: 'ເລກລຳດັບ', |
|||
createTime: 'ເວລາສ້າງ', |
|||
parentDept: 'ພະແນກຫົວໜ້າ', |
|||
selectParentDept: 'ກະລຸນາເລືອກພະແນກຫົວໜ້າ', |
|||
leader: 'ຜູ້ນຳ', |
|||
inputLeader: 'ກະລຸນາປ້ອນຜູ້ນຳ', |
|||
phone: 'ເບີໂທຕິດຕໍ່', |
|||
inputPhone: 'ກະລຸນາປ້ອນເບີໂທຕິດຕໍ່', |
|||
email: 'ອີເມວ', |
|||
inputEmail: 'ກະລຸນາປ້ອນອີເມວ', |
|||
expandCollapse: 'ຂະຫຍາຍ/ຫົດ', |
|||
addDept: 'ເພີ່ມພະແນກ', |
|||
editDept: 'ແກ້ໄຂພະແນກ', |
|||
status: 'ສະຖານະ', |
|||
parentDeptRequired: 'ພະແນກຫົວໜ້າບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
deptNameRequired: 'ຊື່ພະແນກບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
orderNumRequired: 'ເລກລຳດັບບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
emailFormatError: 'ກະລຸນາປ້ອນອີເມວທີ່ຖືກຕ້ອງ', |
|||
phoneFormatError: 'ກະລຸນາປ້ອນເບີໂທທີ່ຖືກຕ້ອງ' |
|||
}, |
|||
post: { |
|||
postId: 'ລະຫັດຕຳແໜ່ງ', |
|||
postCode: 'ລະຫັດສັນຍາລັກຕຳແໜ່ງ', |
|||
inputPostCode: 'ກະລຸນາປ້ອນລະຫັດສັນຍາລັກຕຳແໜ່ງ', |
|||
postName: 'ຊື່ຕຳແໜ່ງ', |
|||
inputPostName: 'ກະລຸນາປ້ອນຊື່ຕຳແໜ່ງ', |
|||
postStatus: 'ສະຖານະຕຳແໜ່ງ', |
|||
postSort: 'ລຳດັບຕຳແໜ່ງ', |
|||
createTime: 'ເວລາສ້າງ', |
|||
remark: 'หมายเหตຸ', |
|||
status: 'ສະຖານະ' |
|||
}, |
|||
}, |
|||
business: { |
|||
userRegister: { |
|||
name: 'ຊື່ການລົງທະບຽນຜູ້ໃຊ້', |
|||
namePlaceholder: 'ກະລຸນາປ້ອນຊື່ການລົງທະບຽນຜູ້ໃຊ້', |
|||
phone: 'ເບີໂທການລົງທະບຽນຜູ້ໃຊ້', |
|||
phonePlaceholder: 'ກະລຸນາປ້ອນເບີໂທການລົງທະບຽນຜູ້ໃຊ້', |
|||
createTime: 'ເວລາສ້າງການລົງທະບຽນຜູ້ໃຊ້', |
|||
updateTime: 'ເວລາແກ້ໄຂການລົງທະບຽນຜູ້ໃຊ້', |
|||
userId: 'ລະຫັດການລົງທະບຽນຜູ້ໃຊ້', |
|||
userIdPlaceholder: 'ກະລຸນາປ້ອນລະຫັດການລົງທະບຽນຜູ້ໃຊ້', |
|||
password: 'ລະຫັດຜ່ານລົງທະບຽນຜູ້ໃຊ້', |
|||
passwordPlaceholder: 'ກະລຸນາປ້ອນລະຫັດຜ່ານລົງທະບຽນຜູ້ໃຊ້', |
|||
nameRequired: 'ຊື່ການລົງທະບຽນຜູ້ໃຊ້ບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
addTitle: 'ເພີ່ມຂໍ້ມູນລົງທະບຽນຜູ້ໃຊ້', |
|||
title: 'ຂໍ້ມູນລົງທະບຽນຜູ້ໃຊ້', |
|||
editTitle: 'ແກ້ໄຂຂໍ້ມູນລົງທະບຽນຜູ້ໃຊ້', |
|||
status: 'ສະຖານະຜູ້ໃຊ້' |
|||
}, |
|||
userInfo: { |
|||
userCode: 'ລະຫັດຜູ້ໃຊ້', |
|||
userCodePlaceholder: 'ກະລຸນາປ້ອນລະຫັດຜູ້ໃຊ້', |
|||
name: 'ຊື່ຜູ້ໃຊ້', |
|||
namePlaceholder: 'ກະລຸນາປ້ອນຊື່ຜູ້ໃຊ້', |
|||
gender: 'ເພດຜູ້ໃຊ້', |
|||
genderPlaceholder: 'ກະລຸນາປ້ອນເພດຜູ້ໃຊ້', |
|||
phone: 'ເບີໂທຜູ້ໃຊ້', |
|||
phonePlaceholder: 'ກະລຸນາປ້ອນເບີໂທຜູ້ໃຊ້', |
|||
addr: 'ທີ່ຢູ່ຜູ້ໃຊ້', |
|||
addrPlaceholder: 'ກະລຸນາປ້ອນທີ່ຢູ່ຜູ້ໃຊ້', |
|||
userId: 'ລະຫັດຜູ້ໃຊ້', |
|||
idCard: 'ເລກບັດປະຊາຊົນ', |
|||
age: 'ອາຍຸຜູ້ໃຊ້', |
|||
status: 'ສະຖານະຜູ້ໃຊ້', |
|||
statusNormal: 'ປົກກະຕິ', |
|||
statusDisabled: 'ບໍ່ສາມາດໃຊ້ງານໄດ້', |
|||
delFlag: 'ເຄື່ອງหมายລຶບ', |
|||
delFlagExist: 'ມີຢູ່', |
|||
delFlagDeleted: 'ລຶບແລ້ວ', |
|||
addTitle: 'ເພີ່ມຂໍ້ມູນຜູ້ໃຊ້', |
|||
detailTitle: 'ລາຍລະອຽດຂໍ້ມູນຜູ້ໃຊ້', |
|||
editTitle: 'ແກ້ໄຂຂໍ້ມູນຜູ້ໃຊ້', |
|||
idCardPlaceholder: 'ກະລຸນາປ້ອນເລກບັດປະຊາຊົນ', |
|||
agePlaceholder: 'ກະລຸນາປ້ອນອາຍຸຜູ້ໃຊ້', |
|||
detailUserId: 'ລະຫັດຜູ້ໃຊ້ລາຍລະອຽດ', |
|||
detailName: 'ຊື່ຜູ້ໃຊ້ລາຍລະອຽດ', |
|||
detailGender: 'ເພດຜູ້ໃຊ້ລາຍລະອຽດ', |
|||
detailIdCard: 'ເລກບັດປະຊາຊົນລາຍລະອຽດ', |
|||
detailPhone: 'ເບີໂທຜູ້ໃຊ້ລາຍລະອຽດ', |
|||
detailAge: 'ອາຍຸຜູ້ໃຊ້ລາຍລະອຽດ', |
|||
detailAddr: 'ທີ່ຢູ່ຜູ້ໃຊ້ລາຍລະອຽດ' |
|||
}, |
|||
userAccount: { |
|||
userId: 'ລະຫັດຜູ້ໃຊ້', |
|||
accountId: 'ລະຫັດບັນຊີ', |
|||
accountCode: 'ລະຫັດສັນຍາລັກບັນຊີ', |
|||
accountName: 'ຊື່ບັນຊີ', |
|||
accountNamePlaceholder: 'ກະລຸນາປ້ອນຊື່ບັນຊີ', |
|||
addTitle: 'ເພີ່ມບັນຊີຜູ້ໃຊ້', |
|||
editTitle: 'ແກ້ໄຂບັນຊີຜູ້ໃຊ້', |
|||
detailTitle: 'ລາຍລະອຽດບັນຊີຜູ້ໃຊ້', |
|||
accountAmount: 'ຈຳນວນເງິນບັນຊີ', |
|||
status: 'ສະຖານະ', |
|||
statusNormal: 'ປົກກະຕິ', |
|||
statusFrozen: 'ຖືກປິດລ້ອມ', |
|||
delFlag: 'ເຄື່ອງหมายລຶບ', |
|||
delFlagExist: 'ມີຢູ່', |
|||
delFlagDeleted: 'ລຶບແລ້ວ', |
|||
detailAccountId: 'ລະຫັດບັນຊີ', |
|||
inputAccountId: 'ກະລຸນາປ້ອນລະຫັດບັນຊີ', |
|||
detailAccountCode: 'ລະຫັດສັນຍາລັກບັນຊີ', |
|||
inputAccountCode: 'ກະລຸນາປ້ອນລະຫັດສັນຍາລັກບັນຊີ', |
|||
detailAccountName: 'ຊື່ບັນຊີ', |
|||
inputAccountName: 'ກະລຸນາປ້ອນຊື່ບັນຊີ', |
|||
detailAccountAmount: 'ຈຳນວນເງິນບັນຊີ', |
|||
inputAccountAmount: 'ກະລຸນາປ້ອນຈຳນວນເງິນບັນຊີ', |
|||
detailAccountIdLabel: 'ລະຫັດບັນຊີ:', |
|||
detailAccountCodeLabel: 'ລະຫັດສັນຍາລັກບັນຊີ:', |
|||
detailAccountNameLabel: 'ຊື່ບັນຊີ:', |
|||
detailAccountAmountLabel: 'ຈຳນວນເງິນບັນຊີ:' |
|||
}, |
|||
userPasswd: { |
|||
userId: 'ລະຫັດຜູ້ໃຊ້', |
|||
userIdPlaceholder: 'ກະລຸນາປ້ອນລະຫັດຜູ້ໃຊ້', |
|||
payPasswd: 'ລະຫັດຜ່ານການຈ່າຍເງິນ', |
|||
payPasswdPlaceholder: 'ກະລຸນາປ້ອນລະຫັດຜ່ານການຈ່າຍເງິນ', |
|||
phoneLock: 'ລັອກໂທລະສັບ', |
|||
phoneLockPlaceholder: 'ກະລຸນາປ້ອນສະຖານະລັອກໂທລະສັບ', |
|||
loginPasswd: 'ລະຫັດຜ່ານເຂົ້າສູ່ລະບົບ', |
|||
loginPasswdPlaceholder: 'ກະລຸນາປ້ອນລະຫັດຜ່ານເຂົ້າສູ່ລະບົບ', |
|||
payStatus: 'ສະຖານະການຈ່າຍເງິນ', |
|||
delFlag: 'ເຄື່ອງหมายລຶບ', |
|||
detailUserId: 'ລະຫັດຜູ້ໃຊ້ລາຍລະອຽດ', |
|||
detailPayPasswd: 'ລະຫັດຜ່ານການຈ່າຍເງິນລາຍລະອຽດ', |
|||
detailPhoneLock: 'ລັອກໂທລະສັບລາຍລະອຽດ', |
|||
detailLoginPasswd: 'ລະຫັດຜ່ານເຂົ້າສູ່ລະບົບລາຍລະອຽດ', |
|||
addTitle: 'ເພີ່ມລະຫັດຜ່ານຜູ້ໃຊ້', |
|||
detailTitle: 'ລາຍລະອຽດລະຫັດຜ່ານຜູ້ໃຊ້', |
|||
editTitle: 'ແກ້ໄຂລະຫັດຜ່ານຜູ້ໃຊ້', |
|||
userIdRequired: 'ລະຫັດຜູ້ໃຊ້ບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
payPasswdRequired: 'ລະຫັດຜ່ານການຈ່າຍເງິນບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
phoneLockRequired: 'ສະຖານະລັອກໂທລະສັບບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
loginPasswdRequired: 'ລະຫັດຜ່ານເຂົ້າສູ່ລະບົບບໍ່ສາມາດເປັນຫວ່າງໄດ້' |
|||
}, |
|||
userCard: { |
|||
userId: 'ລະຫັດຜູ້ໃຊ້', |
|||
inputUserId: 'ກະລຸນາປ້ອນລະຫັດຜູ້ໃຊ້', |
|||
cardNum: 'ເລກບັດທະນາຄານ', |
|||
cardNumPlaceholder: 'ກະລຸນາປ້ອນເລກບັດທະນາຄານ', |
|||
cardAmount: 'ຍອດເງິນບັດ', |
|||
cardAmountPlaceholder: 'ກະລຸນາປ້ອນຍອດເງິນບັດ', |
|||
bankName: 'ຊື່ທະນາຄານ', |
|||
bankNamePlaceholder: 'ກະລຸນາປ້ອນຊື່ທະນາຄານ', |
|||
deptName: 'ຊື່ພະແນກ', |
|||
deptNamePlaceholder: 'ກະລຸນາປ້ອນຊື່ພະແນກ', |
|||
status: 'ສະຖານະ', |
|||
statusNormal: 'ປົກກະຕິ', |
|||
statusDisabled: 'ບໍ່ສາມາດໃຊ້ງານໄດ້', |
|||
createTime: 'ເວລາສ້າງ', |
|||
updateTime: 'ເວລາແກ້ໄຂ', |
|||
operation: 'ການດໍາເນີນງານ', |
|||
detail: 'ລາຍລະອຽດ', |
|||
title: 'ລາຍລະອຽດບັດທະນາຄານຜູ້ໃຊ້', |
|||
addTitle: 'ເພີ່ມບັດທະນາຄານຜູ້ໃຊ້', |
|||
editTitle: 'ແກ້ໄຂບັດທະນາຄານຜູ້ໃຊ້' |
|||
}, |
|||
userFriend: { |
|||
userId: 'ລະຫັດຜູ້ໃຊ້', |
|||
inputUserId: 'ກະລຸນາປ້ອນລະຫັດຜູ້ໃຊ້', |
|||
friendId: 'ລະຫັດເພື່ອນ', |
|||
inputFriendId: 'ກະລຸນາປ້ອນລະຫັດເພື່ອນ', |
|||
delFlag: 'ເຄື່ອງหมายລຶບ', |
|||
inputDelFlag: 'ກະລຸນາປ້ອນເຄື່ອງหมายລຶບ', |
|||
id: 'ລະຫັດ', |
|||
status: 'ສະຖານະ', |
|||
statusNormal: 'ປົກກະຕິ', |
|||
statusBlocked: 'ຖືກລ້ອມບັນທັດ', |
|||
delFlagExist: 'ບໍ່ໄດ້ລຶບ', |
|||
delFlagDeleted: 'ລຶບແລ້ວ', |
|||
addTitle: 'ເພີ່ມເພື່ອນຜູ້ໃຊ້', |
|||
editTitle: 'ແກ້ໄຂເພື່ອນຜູ້ໃຊ້', |
|||
detailTitle: 'ລາຍລະອຽດເພື່ອນຜູ້ໃຊ້', |
|||
}, |
|||
dealTransfer: { |
|||
transferAccount: 'ບັນຊີໂອນເງິນ', |
|||
transferAccountPlaceholder: 'ກະລຸນາປ້ອນບັນຊີໂອນເງິນ', |
|||
receiveAccount: 'ບັນຊີຮັບເງິນ', |
|||
receiveAccountPlaceholder: 'ກະລຸນາປ້ອນບັນຊີຮັບເງິນ', |
|||
transferId: 'ລະຫັດການໂອນເງິນ', |
|||
transferIdPlaceholder: 'ກະລຸນາປ້ອນລະຫັດການໂອນເງິນ', |
|||
receiveId: 'ລະຫັດການຮັບເງິນ', |
|||
receiveIdPlaceholder: 'ກະລຸນາປ້ອນລະຫັດການຮັບເງິນ', |
|||
billCode: 'ເລກທີບິນ', |
|||
billCodePlaceholder: 'ກະລຸນາປ້ອນເລກທີບິນ', |
|||
amount: 'ຈຳນວນເງິນ', |
|||
amountPlaceholder: 'ກະລຸນາປ້ອນຈຳນວນເງິນ', |
|||
transferType: 'ປະເພດການໂອນເງິນ', |
|||
directTransfer: 'ໂອນໂດຍກົງ', |
|||
reviewTransfer: 'ໂອນຫຼັງຈາກກວດກາ', |
|||
remark: 'หมายเหตຸ', |
|||
remarkPlaceholder: 'ກະລຸນາປ້ອນຫมายเหตຸ', |
|||
status: 'ສະຖານະ', |
|||
statusInit: 'ສະຖານະເລີ່ມຕົ້ນ', |
|||
statusReject: 'ຖືກປະຕິເສດ', |
|||
statusPass: 'ຖືກອະນຸມັດ', |
|||
transferIdRequired: 'ລະຫັດການໂອນເງິນບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
transferAccountRequired: 'ບັນຊີໂອນເງິນບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
receiveIdRequired: 'ລະຫັດການຮັບເງິນບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
receiveAccountRequired: 'ບັນຊີຮັບເງິນບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
addTitle: 'ເພີ່ມບັນທຶກການໂອນເງິນ', |
|||
editTitle: 'ແກ້ໄຂບັນທຶກການໂອນເງິນ', |
|||
detailTitle: 'ລາຍລະອຽດບັນທຶກການໂອນເງິນ' |
|||
}, |
|||
dealPay: { |
|||
paymentId: 'ລະຫັດການຈ່າຍເງິນ', |
|||
paymentIdPlaceholder: 'ກະລຸນາປ້ອນລະຫັດການຈ່າຍເງິນ', |
|||
paymentIdRequired: 'ລະຫັດການຈ່າຍເງິນບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
paymentAccount: 'ບັນຊີຈ່າຍເງິນ', |
|||
paymentAccountPlaceholder: 'ກະລຸນາປ້ອນບັນຊີຈ່າຍເງິນ', |
|||
paymentAccountRequired: 'ບັນຊີຈ່າຍເງິນບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
targetId: 'ລະຫັດເປົ້າ ໝາຍ', |
|||
targetIdPlaceholder: 'ກະລຸນາປ້ອນລະຫັດເປົ້າ ໝາຍ', |
|||
targetIdRequired: 'ລະຫັດເປົ້າ ໝາຍບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
targetAccount: 'ບັນຊີເປົ້າ ໝາຍ', |
|||
targetAccountPlaceholder: 'ກະລຸນາປ້ອນບັນຊີເປົ້າ ໝາຍ', |
|||
targetAccountRequired: 'ບັນຊີເປົ້າ ໝາຍບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
billCode: 'ເລກທີບິນ', |
|||
billCodePlaceholder: 'ກະລຸນາປ້ອນເລກທີບິນ', |
|||
amount: 'ຈຳນວນເງິນ', |
|||
amountPlaceholder: 'ກະລຸນາປ້ອນຈຳນວນເງິນ', |
|||
amountRequired: 'ຈຳນວນເງິນບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
transferType: 'ປະເພດການຈ່າຍເງິນ', |
|||
directPayment: 'ຈ່າຍເງິນໂດຍກົງ', |
|||
review: 'ຈ່າຍເງິນຫຼັງຈາກກວດກາ', |
|||
qrCode: 'QR Code', |
|||
qrCodePlaceholder: 'ກະລຸນາປ້ອນ QR Code', |
|||
remark: 'หมายเหตุ', |
|||
remarkPlaceholder: 'ກະລຸນາປ້ອນຫมายเหตุ', |
|||
status: 'ສະຖານະ', |
|||
submit: 'ສົ່ງ', |
|||
reject: 'ປະຕິເສດ', |
|||
approve: 'ອະນຸມັດ', |
|||
addPayment: 'ເພີ່ມການຈ່າຍເງິນ', |
|||
editPayment: 'ແກ້ໄຂການຈ່າຍເງິນ', |
|||
payment: 'ລາຍລະອຽດການຈ່າຍເງິນ', |
|||
paymentIdLabel: 'ລະຫັດການຈ່າຍເງິນ', |
|||
paymentAccountLabel: 'ບັນຊີຈ່າຍເງິນ', |
|||
targetIdLabel: 'ລະຫັດເປົ້າ ໝາຍ', |
|||
targetAccountLabel: 'ບັນຊີເປົ້າ ໝາຍ', |
|||
billCodeLabel: 'ເລກທີບິນ', |
|||
amountLabel: 'ຈຳນວນເງິນ', |
|||
qrCodeLabel: 'QR Code', |
|||
remarkLabel: 'หมายเหตุ' |
|||
}, |
|||
dealCashout: { |
|||
cashoutId: 'ລະຫັດຖອນເງິນ', |
|||
cashoutIdPlaceholder: 'ກະລຸນາປ້ອນລະຫັດຖອນເງິນ', |
|||
cashoutAccount: 'ບັນຊີຖອນເງິນ', |
|||
cashoutAccountPlaceholder: 'ກະລຸນາປ້ອນບັນຊີຖອນເງິນ', |
|||
targetId: 'ລະຫັດເປົ້າ ໝາຍ', |
|||
targetIdPlaceholder: 'ກະລຸນາປ້ອນລະຫັດເປົ້າ ໝາຍ', |
|||
targetAccount: 'ບັນຊີເປົ້າ ໝາຍ', |
|||
targetAccountPlaceholder: 'ກະລຸນາປ້ອນບັນຊີເປົ້າ ໝາຍ', |
|||
billCode: 'ເລກທີບິນ', |
|||
billCodePlaceholder: 'ກະລຸນາປ້ອນເລກທີບິນ', |
|||
amount: 'ຈຳນວນເງິນ', |
|||
amountPlaceholder: 'ກະລຸນາປ້ອນຈຳນວນເງິນ', |
|||
transferType: 'ປະເພດການຖອນເງິນ', |
|||
directCashout: 'ຖອນເງິນໂດຍກົງ', |
|||
review: 'ຕ້ອງການກວດກາ', |
|||
remark: 'หมายเหตุ', |
|||
remarkPlaceholder: 'ກະລຸນາປ້ອນຫมายเหตุ', |
|||
status: 'ສະຖານະ', |
|||
submit: 'ສົ່ງ', |
|||
reject: 'ປະຕິເສດ', |
|||
approve: 'ອະນຸມັດ', |
|||
createBy: 'ຜູ້ສ້າງ', |
|||
userIdRequired: 'ລະຫັດຖອນເງິນບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
userAccountRequired: 'ບັນຊີຖອນເງິນບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
toIdRequired: 'ລະຫັດເປົ້າ ໝາຍບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
amountRequired: 'ຈຳນວນເງິນບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
addTitle: 'ເພີ່ມບັນທຶກການຖອນເງິນ', |
|||
editTitle: 'ແກ້ໄຂບັນທຶກການຖອນເງິນ', |
|||
detailTitle: 'ລາຍລະອຽດບັນທຶກການຖອນເງິນ', |
|||
cashoutIdLabel: 'ລະຫັດຖອນເງິນ', |
|||
cashoutAccountLabel: 'ບັນຊີຖອນເງິນ', |
|||
targetIdLabel: 'ລະຫັດເປົ້າ ໝາຍ', |
|||
targetAccountLabel: 'ບັນຊີເປົ້າ ໝາຍ', |
|||
billCodeLabel: 'ເລກທີບິນ', |
|||
amountLabel: 'ຈຳນວນເງິນ', |
|||
remarkLabel: 'หมายเหตุ' |
|||
}, |
|||
dealReceive: { |
|||
cashoutId: 'ລະຫັດຮັບເງິນ', |
|||
cashoutIdPlaceholder: 'ກະລຸນາປ້ອນລະຫັດຮັບເງິນ', |
|||
cashoutAccount: 'ບັນຊີຮັບເງິນ', |
|||
cashoutAccountPlaceholder: 'ກະລຸນາປ້ອນບັນຊີຮັບເງິນ', |
|||
targetId: 'ລະຫັດເປົ້າ ໝາຍ', |
|||
targetIdPlaceholder: 'ກະລຸນາປ້ອນລະຫັດເປົ້າ ໝາຍ', |
|||
targetAccount: 'ບັນຊີເປົ້າ ໝາຍ', |
|||
targetAccountPlaceholder: 'ກະລຸນາປ້ອນບັນຊີເປົ້າ ໝາຍ', |
|||
billCode: 'ເລກທີບິນສຳຄັນ', |
|||
billCodePlaceholder: 'ກະລຸນາປ້ອນເລກທີບິນສຳຄັນ', |
|||
amount: 'ຈຳນວນເງິນຮັບ', |
|||
amountPlaceholder: 'ກະລຸນາປ້ອນຈຳນວນເງິນຮັບ', |
|||
qrCode: 'ການອ່ານ QR Code', |
|||
qrCodePlaceholder: 'ກະລຸນາປ້ອນຂໍ້ມູນທີ່ອ່ານ QR Code', |
|||
remark: 'หมายเหตຸການຮັບເງິນ', |
|||
remarkPlaceholder: 'ກະລຸນາປ້ອນຫมายเหตຸການຮັບເງິນ', |
|||
userIdRequired: 'ລະຫັດຮັບເງິນບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
userAccountRequired: 'ບັນຊີຮັບເງິນບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
toIdRequired: 'ລະຫັດເປົ້າ ໝາຍບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
toAccountRequired: 'ບັນຊີເປົ້າ ໝາຍບໍ່ສາມາດເປັນຫວ່າງໄດ້', |
|||
addTitle: 'ເພີ່ມບັນທຶກການຮັບເງິນ', |
|||
editTitle: 'ແກ້ໄຂບັນທຶກການຮັບເງິນ', |
|||
detailTitle: 'ລາຍລະອຽດບັນທຶກການຮັບເງິນ' |
|||
}, |
|||
recordTransaction: { |
|||
senderId: 'ລະຫັດຜູ້ສົ່ງ', |
|||
senderAccount: 'ບັນຊີຜູ້ສົ່ງ', |
|||
senderAccountPlaceholder: 'ກະລຸນາປ້ອນບັນຊີຜູ້ສົ່ງ', |
|||
receiverAccount: 'ບັນຊີຜູ້ຮັບ', |
|||
receiverAccountPlaceholder: 'ກະລຸນາປ້ອນບັນຊີຜູ້ຮັບ', |
|||
transactionTime: 'ເວລາທຸລະກຳ', |
|||
transactionTimePlaceholder: 'ກະລຸນາປ້ອນເວລາທຸລະກຳ', |
|||
transactionType: 'ປະເພດທຸລະກຳ', |
|||
transfer: 'ໂອນເງິນ', |
|||
payment: 'ຈ່າຍເງິນ', |
|||
withdraw: 'ຖອນເງິນ', |
|||
receive: 'ຮັບເງິນ', |
|||
recharge: 'ເຕີມເງິນ', |
|||
previousBalance: 'ຍອດເງິນກ່ອນທຸລະກຳ', |
|||
previousBalancePlaceholder: 'ກະລຸນາປ້ອນຍອດເງິນກ່ອນທຸລະກຳ', |
|||
changeBalance: 'ຈຳນວນເງິນທີ່ປ່ຽນແປງ', |
|||
changeBalancePlaceholder: 'ກະລຸນາປ້ອນຈຳນວນເງິນທີ່ປ່ຽນແປງ', |
|||
currentBalance: 'ຍອດເງິນຫຼັງຈາກທຸລະກຳ', |
|||
currentBalancePlaceholder: 'ກະລຸນາປ້ອນຍອດເງິນຫຼັງຈາກທຸລະກຳ', |
|||
note: 'ບັນທຶກ', |
|||
notePlaceholder: 'ກະລຸນາປ້ອນບັນທຶກ', |
|||
status: 'ສະຖານະ', |
|||
normal: 'ປົກກະຕິ', |
|||
banned: 'ຖືກຫ້າມ', |
|||
addTitle: 'ເພີ່ມບັນທຶກການເຄື່ອນໄຫວບັນຊີທຸລະກຳ', |
|||
editTitle: 'ແກ້ໄຂບັນທຶກການເຄື່ອນໄຫວບັນຊີທຸລະກຳ', |
|||
detailTitle: 'ລາຍລະອຽດບັນທຶກການເຄື່ອນໄຫວບັນຊີທຸລະກຳ', |
|||
}, |
|||
}, |
|||
} |
@ -1,11 +1,413 @@ |
|||
export default { |
|||
common: { |
|||
add: '新增', |
|||
search: '搜索', |
|||
reset: '重置', |
|||
edit: '编辑', |
|||
delete: '删除', |
|||
operation: '操作', |
|||
confirm: '确认', |
|||
cancel: '取消', |
|||
export: '导出', |
|||
import: '导入', |
|||
close: '关闭', |
|||
detail: '详情', |
|||
startDate: '开始时间', |
|||
endDate: '结束时间', |
|||
createTime: '创建时间', |
|||
updateTime: '更新时间', |
|||
more: '更多', |
|||
addSuccess: '新增成功', |
|||
editSuccess: '修改成功', |
|||
deleteConfirm: '确认删除吗?', |
|||
deleteSuccess: '删除成功' |
|||
}, |
|||
language: { |
|||
switchSuccess: '语言切换成功' |
|||
}, |
|||
navbar: { |
|||
logout: '退出登录' |
|||
}, |
|||
index: { |
|||
title: '老挝支付金控管理系统' |
|||
}, |
|||
menus: { |
|||
首页: '首页', |
|||
系统管理: '系统管理', |
|||
部门管理: '部门管理', |
|||
岗位管理: '岗位管理', |
|||
用户管理: '用户管理', |
|||
角色管理: '角色管理', |
|||
菜单管理: '菜单管理', |
|||
参数设置: '参数设置', |
|||
通知公告: '通知公告', |
|||
日志管理: '日志管理', |
|||
操作日志: '操作日志', |
|||
登录日志: '登录日志', |
|||
文件管理: '文件管理', |
|||
系统监控: '系统监控', |
|||
在线用户: '在线用户', |
|||
缓存监控: '缓存监控', |
|||
缓存列表: '缓存列表', |
|||
用户相关: '用户相关', |
|||
用户注册: '用户注册', |
|||
用户信息: '用户信息', |
|||
用户账户: '用户账户', |
|||
用户密码: '用户密码', |
|||
用户银行卡: '用户银行卡', |
|||
用户好友: '用户好友', |
|||
交易相关: '交易相关', |
|||
转账: '转账', |
|||
付款: '付款', |
|||
提现: '提现', |
|||
收款: '收款', |
|||
公共: '公共', |
|||
关于信息: '关于信息', |
|||
反馈信息: '反馈信息', |
|||
消息通知: '消息通知', |
|||
阈值设置: '阈值设置', |
|||
记录: '记录', |
|||
交易动账记录: '交易动账记录', |
|||
}, |
|||
system: { |
|||
dept: { |
|||
deptName: '部门名称', |
|||
inputDeptName: '请输入部门名称', |
|||
deptStatus: '部门状态', |
|||
orderNum: '排序号', |
|||
createTime: '创建时间', |
|||
parentDept: '上级部门', |
|||
selectParentDept: '请选择上级部门', |
|||
leader: '负责人', |
|||
inputLeader: '请输入负责人', |
|||
phone: '联系电话', |
|||
inputPhone: '请输入联系电话', |
|||
email: '邮箱', |
|||
inputEmail: '请输入邮箱', |
|||
expandCollapse: '展开/折叠', |
|||
addDept: '添加部门', |
|||
editDept: '修改部门', |
|||
status: '状态', |
|||
parentDeptRequired: '上级部门不能为空', |
|||
deptNameRequired: '部门名称不能为空', |
|||
orderNumRequired: '排序号不能为空', |
|||
emailFormatError: '请输入正确的邮箱地址', |
|||
phoneFormatError: '请输入正确的手机号码', |
|||
}, |
|||
post: { |
|||
postId: '岗位编号', |
|||
postCode: '岗位编码', |
|||
inputPostCode: '请输入岗位编码', |
|||
postName: '岗位名称', |
|||
inputPostName: '请输入岗位名称', |
|||
postStatus: '岗位状态', |
|||
postSort: '岗位顺序', |
|||
createTime: '创建时间', |
|||
remark: '备注', |
|||
status: '状态', |
|||
}, |
|||
}, |
|||
business: { |
|||
userRegister: { |
|||
name: '用户注册姓名', |
|||
namePlaceholder: '请输入用户注册姓名', |
|||
phone: '用户注册手机号', |
|||
phonePlaceholder: '请输入用户注册手机号', |
|||
createTime: '用户注册创建时间', |
|||
updateTime: '用户注册更新时间', |
|||
userId: '用户注册 ID', |
|||
userIdPlaceholder: '请输入用户注册 ID', |
|||
password: '用户注册密码', |
|||
passwordPlaceholder: '请输入用户注册密码', |
|||
nameRequired: '用户注册姓名不能为空', |
|||
addTitle: '新增用户注册信息', |
|||
title: '用户注册信息', |
|||
editTitle: '修改用户注册信息', |
|||
status: '用户状态', |
|||
}, |
|||
userInfo: { |
|||
userCode: '用户编码', |
|||
userCodePlaceholder: '请输入用户编码', |
|||
name: '用户姓名', |
|||
namePlaceholder: '请输入用户姓名', |
|||
gender: '用户性别', |
|||
genderPlaceholder: '请输入用户性别', |
|||
phone: '用户电话', |
|||
phonePlaceholder: '请输入用户电话', |
|||
addr: '用户地址', |
|||
addrPlaceholder: '请输入用户地址', |
|||
userId: '用户 ID', |
|||
idCard: '用户身份证号', |
|||
age: '用户年龄', |
|||
status: '用户状态', |
|||
statusNormal: '正常', |
|||
statusDisabled: '禁用', |
|||
delFlag: '删除标识', |
|||
delFlagExist: '存在', |
|||
delFlagDeleted: '已删除', |
|||
addTitle: '新增用户信息', |
|||
detailTitle: '用户信息详情', |
|||
editTitle: '编辑用户信息', |
|||
idCardPlaceholder: '请输入用户身份证号', |
|||
agePlaceholder: '请输入用户年龄', |
|||
detailUserId: '详情用户 ID', |
|||
detailName: '详情用户姓名', |
|||
detailGender: '详情用户性别', |
|||
detailIdCard: '详情用户身份证号', |
|||
detailPhone: '详情用户电话', |
|||
detailAge: '详情用户年龄', |
|||
detailAddr: '详情用户地址' |
|||
}, |
|||
userAccount: { |
|||
userId: '用户ID', |
|||
accountId: '账户ID', |
|||
accountCode: '账户编码', |
|||
accountName: '账户名称', |
|||
accountNamePlaceholder: '请输入账户名称', |
|||
addTitle: '新增用户账户', |
|||
editTitle: '修改用户账户', |
|||
detailTitle: '用户账户详情', |
|||
accountAmount: '账户金额', |
|||
status: '状态', |
|||
statusNormal: '正常', |
|||
statusFrozen: '冻结', |
|||
delFlag: '删除标志', |
|||
delFlagExist: '存在', |
|||
delFlagDeleted: '已删除', |
|||
detailAccountId: '账户ID', |
|||
inputAccountId: '请输入账户ID', |
|||
detailAccountCode: '账户编码', |
|||
inputAccountCode: '请输入账户编码', |
|||
detailAccountName: '账户名称', |
|||
inputAccountName: '请输入账户名称', |
|||
detailAccountAmount: '账户金额', |
|||
inputAccountAmount: '请输入账户金额', |
|||
detailAccountIdLabel: '账户ID:', |
|||
detailAccountCodeLabel: '账户编码:', |
|||
detailAccountNameLabel: '账户名称:', |
|||
detailAccountAmountLabel: '账户金额:' |
|||
}, |
|||
userPasswd: { |
|||
userId: '用户ID', |
|||
userIdPlaceholder: '请输入用户ID', |
|||
payPasswd: '支付密码', |
|||
payPasswdPlaceholder: '请输入支付密码', |
|||
phoneLock: '手机锁定', |
|||
phoneLockPlaceholder: '请输入手机锁定状态', |
|||
loginPasswd: '登录密码', |
|||
loginPasswdPlaceholder: '请输入登录密码', |
|||
payStatus: '支付状态', |
|||
delFlag: '删除标志', |
|||
detailUserId: '详情用户ID', |
|||
detailPayPasswd: '详情支付密码', |
|||
detailPhoneLock: '详情手机锁定', |
|||
detailLoginPasswd: '详情登录密码', |
|||
addTitle: '新增用户密码', |
|||
detailTitle: '用户密码详情', |
|||
editTitle: '修改用户密码', |
|||
userIdRequired: '用户ID不能为空', |
|||
payPasswdRequired: '支付密码不能为空', |
|||
phoneLockRequired: '手机锁定状态不能为空', |
|||
loginPasswdRequired: '登录密码不能为空', |
|||
}, |
|||
userCard: { |
|||
userId: '用户ID', |
|||
inputUserId: '请输入用户ID', |
|||
cardNum: '银行卡号', |
|||
cardNumPlaceholder: '请输入银行卡号', |
|||
cardAmount: '卡余额', |
|||
cardAmountPlaceholder: '请输入卡余额', |
|||
bankName: '银行名称', |
|||
bankNamePlaceholder: '请输入银行名称', |
|||
deptName: '部门名称', |
|||
deptNamePlaceholder: '请输入部门名称', |
|||
status: '状态', |
|||
statusNormal: '正常', |
|||
statusDisabled: '禁用', |
|||
createTime: '创建时间', |
|||
updateTime: '更新时间', |
|||
operation: '操作', |
|||
detail: '详情', |
|||
title: '用户银行卡详情', |
|||
addTitle: '新增用户银行卡', |
|||
editTitle: '修改用户银行卡' |
|||
}, |
|||
userFriend: { |
|||
userId: '用户ID', |
|||
inputUserId: '请输入用户ID', |
|||
friendId: '好友ID', |
|||
inputFriendId: '请输入好友ID', |
|||
delFlag: '删除标志', |
|||
inputDelFlag: '请输入删除标志', |
|||
id: 'ID', |
|||
status: '状态', |
|||
statusNormal: '正常', |
|||
statusBlocked: '已封禁', |
|||
delFlagExist: '未删除', |
|||
delFlagDeleted: '已删除', |
|||
addTitle: '新增用户好友', |
|||
editTitle: '修改用户好友', |
|||
detailTitle: '用户好友详情', |
|||
}, |
|||
dealTransfer: { |
|||
transferAccount: '转出账户', |
|||
transferAccountPlaceholder: '请输入转出账户', |
|||
receiveAccount: '接收账户', |
|||
receiveAccountPlaceholder: '请输入接收账户', |
|||
transferId: '转出ID', |
|||
transferIdPlaceholder: '请输入转出ID', |
|||
receiveId: '接收ID', |
|||
receiveIdPlaceholder: '请输入接收ID', |
|||
billCode: '账单编号', |
|||
billCodePlaceholder: '请输入账单编号', |
|||
amount: '金额', |
|||
amountPlaceholder: '请输入金额', |
|||
transferType: '转账类型', |
|||
directTransfer: '直接转账', |
|||
reviewTransfer: '审核转账', |
|||
remark: '备注', |
|||
remarkPlaceholder: '请输入备注', |
|||
status: '状态', |
|||
statusInit: '初始状态', |
|||
statusReject: '已拒绝', |
|||
statusPass: '已通过', |
|||
transferIdRequired: '转出ID不能为空', |
|||
transferAccountRequired: '转出账户不能为空', |
|||
receiveIdRequired: '接收ID不能为空', |
|||
receiveAccountRequired: '接收账户不能为空', |
|||
addTitle: '新增转账记录', |
|||
editTitle: '修改转账记录', |
|||
detailTitle: '转账记录详情' |
|||
}, |
|||
dealPay: { |
|||
paymentId: '付款ID', |
|||
paymentIdPlaceholder: '请输入付款ID', |
|||
paymentIdRequired: '付款ID不能为空', |
|||
paymentAccount: '付款账户', |
|||
paymentAccountPlaceholder: '请输入付款账户', |
|||
paymentAccountRequired: '付款账户不能为空', |
|||
targetId: '目标ID', |
|||
targetIdPlaceholder: '请输入目标ID', |
|||
targetIdRequired: '目标ID不能为空', |
|||
targetAccount: '目标账户', |
|||
targetAccountPlaceholder: '请输入目标账户', |
|||
targetAccountRequired: '目标账户不能为空', |
|||
billCode: '账单编码', |
|||
billCodePlaceholder: '请输入账单编码', |
|||
amount: '金额', |
|||
amountPlaceholder: '请输入金额', |
|||
amountRequired: '金额不能为空', |
|||
transferType: '转账类型', |
|||
directPayment: '直接支付', |
|||
review: '审核支付', |
|||
qrCode: '二维码', |
|||
qrCodePlaceholder: '请输入二维码', |
|||
remark: '备注', |
|||
remarkPlaceholder: '请输入备注', |
|||
status: '状态', |
|||
submit: '已提交', |
|||
reject: '已拒绝', |
|||
approve: '已批准', |
|||
addPayment: '新增付款', |
|||
editPayment: '编辑付款', |
|||
payment: '付款详情', |
|||
paymentIdLabel: '付款ID', |
|||
paymentAccountLabel: '付款账户', |
|||
targetIdLabel: '目标ID', |
|||
targetAccountLabel: '目标账户', |
|||
billCodeLabel: '账单编码', |
|||
amountLabel: '金额', |
|||
qrCodeLabel: '二维码', |
|||
remarkLabel: '备注' |
|||
}, |
|||
dealCashout: { |
|||
cashoutId: '提现ID', |
|||
cashoutIdPlaceholder: '请输入提现ID', |
|||
cashoutAccount: '提现账户', |
|||
cashoutAccountPlaceholder: '请输入提现账户', |
|||
targetId: '目标ID', |
|||
targetIdPlaceholder: '请输入目标ID', |
|||
targetAccount: '目标账户', |
|||
targetAccountPlaceholder: '请输入目标账户', |
|||
billCode: '账单编号', |
|||
billCodePlaceholder: '请输入账单编号', |
|||
amount: '金额', |
|||
amountPlaceholder: '请输入金额', |
|||
transferType: '转账类型', |
|||
directCashout: '直接提现', |
|||
review: '需审核', |
|||
remark: '备注', |
|||
remarkPlaceholder: '请输入备注', |
|||
status: '状态', |
|||
submit: '已提交', |
|||
reject: '已拒绝', |
|||
approve: '已批准', |
|||
createBy: '创建人', |
|||
userIdRequired: '提现ID不能为空', |
|||
userAccountRequired: '提现账户不能为空', |
|||
toIdRequired: '目标ID不能为空', |
|||
amountRequired: '金额不能为空', |
|||
addTitle: '新增提现记录', |
|||
editTitle: '修改提现记录', |
|||
detailTitle: '提现记录详情', |
|||
cashoutIdLabel: '提现ID', |
|||
cashoutAccountLabel: '提现账户', |
|||
targetIdLabel: '目标ID', |
|||
targetAccountLabel: '目标账户', |
|||
billCodeLabel: '账单编号', |
|||
amountLabel: '金额', |
|||
remarkLabel: '备注' |
|||
}, |
|||
dealReceive: { |
|||
cashoutId: '收款ID', |
|||
cashoutIdPlaceholder: '请输入收款ID', |
|||
cashoutAccount: '收款账户', |
|||
cashoutAccountPlaceholder: '请输入收款账户', |
|||
targetId: '目标ID', |
|||
targetIdPlaceholder: '请输入目标ID', |
|||
targetAccount: '目标账户', |
|||
targetAccountPlaceholder: '请输入目标账户', |
|||
billCode: '账单唯一编号', |
|||
billCodePlaceholder: '请输入账单唯一编号', |
|||
amount: '收款金额', |
|||
amountPlaceholder: '请输入收款金额', |
|||
qrCode: '二维码解析', |
|||
qrCodePlaceholder: '请输入二维码解析内容', |
|||
remark: '提现备注', |
|||
remarkPlaceholder: '请输入提现备注', |
|||
userIdRequired: '收款ID不能为空', |
|||
userAccountRequired: '收款账户不能为空', |
|||
toIdRequired: '目标ID不能为空', |
|||
toAccountRequired: '目标账户不能为空', |
|||
addTitle: '新增收款记录', |
|||
editTitle: '修改收款记录', |
|||
detailTitle: '收款记录详情' |
|||
}, |
|||
recordTransaction: { |
|||
senderId: '转出方ID', |
|||
senderAccount: '转出方账户', |
|||
senderAccountPlaceholder: '请输入转出方账户', |
|||
receiverAccount: '接收方账户', |
|||
receiverAccountPlaceholder: '请输入接收方账户', |
|||
transactionTime: '交易时间', |
|||
transactionTimePlaceholder: '请输入交易时间', |
|||
transactionType: '交易类型', |
|||
transfer: '转账', |
|||
payment: '支付', |
|||
withdraw: '提现', |
|||
receive: '收款', |
|||
recharge: '充值', |
|||
previousBalance: '交易前余额', |
|||
previousBalancePlaceholder: '请输入交易前余额', |
|||
changeBalance: '变动金额', |
|||
changeBalancePlaceholder: '请输入变动金额', |
|||
currentBalance: '交易后余额', |
|||
currentBalancePlaceholder: '请输入交易后余额', |
|||
note: '备注', |
|||
notePlaceholder: '请输入备注', |
|||
status: '状态', |
|||
normal: '正常', |
|||
banned: '禁用', |
|||
addTitle: '新增交易动账记录', |
|||
editTitle: '修改交易动账记录', |
|||
detailTitle: '交易动账记录详情', |
|||
}, |
|||
}, |
|||
} |
@ -1,387 +1,408 @@ |
|||
<template> |
|||
<div class="app-container"> |
|||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> |
|||
<el-form-item label="付款ID" prop="userId"> |
|||
<el-input v-model="queryParams.userId" placeholder="请输入付款ID" clearable @keyup.enter.native="handleQuery" /> |
|||
<el-form-item :label="$t('business.dealPay.paymentId')" prop="userId"> |
|||
<el-input v-model="queryParams.userId" :placeholder="$t('business.dealPay.paymentIdPlaceholder')" clearable |
|||
@keyup.enter.native="handleQuery"/> |
|||
</el-form-item> |
|||
<el-form-item label="付款账户" prop="userAccount"> |
|||
<el-input v-model="queryParams.userAccount" placeholder="请输入付款账户" clearable @keyup.enter.native="handleQuery" /> |
|||
<el-form-item :label="$t('business.dealPay.paymentAccount')" prop="userAccount"> |
|||
<el-input v-model="queryParams.userAccount" :placeholder="$t('business.dealPay.paymentAccountPlaceholder')" |
|||
clearable @keyup.enter.native="handleQuery"/> |
|||
</el-form-item> |
|||
<el-form-item label="目标账户" prop="toAccount"> |
|||
<el-input v-model="queryParams.toAccount" placeholder="请输入目标账户" clearable @keyup.enter.native="handleQuery" /> |
|||
<el-form-item :label="$t('business.dealPay.targetAccount')" prop="toAccount"> |
|||
<el-input v-model="queryParams.toAccount" :placeholder="$t('business.dealPay.targetAccountPlaceholder')" |
|||
clearable @keyup.enter.native="handleQuery"/> |
|||
</el-form-item> |
|||
<el-form-item label="创建时间"> |
|||
<el-form-item :label="$t('common.createTime')"> |
|||
<el-date-picker v-model="daterangeCreateTime" style="width: 240px" value-format="yyyy-MM-dd HH:mm:ss" |
|||
type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" |
|||
:default-time="['00:00:00', '23:59:59']"></el-date-picker> |
|||
type="daterange" range-separator="-" :start-placeholder="$t('common.startDate')" |
|||
:end-placeholder="$t('common.endDate')" |
|||
:default-time="['00:00:00', '23:59:59']"></el-date-picker> |
|||
</el-form-item> |
|||
<el-form-item> |
|||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
|||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> |
|||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">{{ |
|||
$t('common.search') |
|||
}} |
|||
</el-button> |
|||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">{{ $t('common.reset') }}</el-button> |
|||
</el-form-item> |
|||
</el-form> |
|||
|
|||
<el-row :gutter="10" class="mb8"> |
|||
<el-col :span="1.5"> |
|||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd" |
|||
v-hasPermi="['business:dealPay:add']">新增</el-button> |
|||
v-hasPermi="['business:dealPay:add']">{{ $t('common.add') }} |
|||
</el-button> |
|||
</el-col> |
|||
<el-col :span="1.5"> |
|||
<el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" |
|||
v-hasPermi="['business:dealPay:edit']">修改</el-button> |
|||
v-hasPermi="['business:dealPay:edit']">{{ $t('common.edit') }} |
|||
</el-button> |
|||
</el-col> |
|||
<el-col :span="1.5"> |
|||
<el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete" |
|||
v-hasPermi="['business:dealPay:remove']">删除</el-button> |
|||
v-hasPermi="['business:dealPay:remove']">{{ $t('common.delete') }} |
|||
</el-button> |
|||
</el-col> |
|||
<el-col :span="1.5"> |
|||
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport" |
|||
v-hasPermi="['business:dealPay:export']">导出</el-button> |
|||
v-hasPermi="['business:dealPay:export']">{{ $t('common.export') }} |
|||
</el-button> |
|||
</el-col> |
|||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
|||
</el-row> |
|||
|
|||
<el-table v-loading="loading" :data="dealPayList" @selection-change="handleSelectionChange"> |
|||
<el-table-column type="selection" width="55" align="center" /> |
|||
<el-table-column label="付款ID" align="center" prop="userId" /> |
|||
<el-table-column label="付款账户" align="center" prop="userAccount" /> |
|||
<el-table-column label="目标ID" align="center" prop="toId" /> |
|||
<el-table-column label="目标账户" align="center" prop="toAccount" /> |
|||
<el-table-column label="账单唯一编号" align="center" prop="billCode" /> |
|||
<el-table-column label="付款金额" align="center" prop="amount" /> |
|||
<el-table-column label="付款类型" align="center" prop="transferType"> |
|||
<template slot-scope="scope"> |
|||
<el-tag type="success" v-if="scope.row.transferType == '0'">直接付</el-tag> |
|||
<el-tag type="danger" v-if="scope.row.transferType == '1'">审核</el-tag> |
|||
<el-table-column type="selection" width="55" align="center"/> |
|||
<el-table-column :label="$t('business.dealPay.paymentId')" align="center" prop="userId"/> |
|||
<el-table-column :label="$t('business.dealPay.paymentAccount')" align="center" prop="userAccount"/> |
|||
<el-table-column :label="$t('business.dealPay.targetId')" align="center" prop="toId"/> |
|||
<el-table-column :label="$t('business.dealPay.targetAccount')" align="center" prop="toAccount"/> |
|||
<el-table-column :label="$t('business.dealPay.billCode')" align="center" prop="billCode"/> |
|||
<el-table-column :label="$t('business.dealPay.amount')" align="center" prop="amount"/> |
|||
<el-table-column :label="$t('business.dealPay.transferType')" align="center" prop="transferType"> |
|||
<template slot-scope="scope"> |
|||
<el-tag type="success" v-if="scope.row.transferType == '0'">{{ |
|||
$t('business.dealPay.directPayment') |
|||
}} |
|||
</el-tag> |
|||
<el-tag type="danger" v-if="scope.row.transferType == '1'">{{ $t('business.dealPay.review') }}</el-tag> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="二维码解析" align="center" prop="qrCode" /> |
|||
<el-table-column label="付款备注" align="center" prop="remark" /> |
|||
<el-table-column label="状态" align="center" prop="status"> |
|||
<el-table-column :label="$t('business.dealPay.qrCode')" align="center" prop="qrCode"/> |
|||
<el-table-column :label="$t('business.dealPay.remark')" align="center" prop="remark"/> |
|||
<el-table-column :label="$t('business.dealPay.status')" align="center" prop="status"> |
|||
<template slot-scope="scope"> |
|||
<el-tag v-if="scope.row.status == '0'">提交</el-tag> |
|||
<el-tag type="danger" v-if="scope.row.status == '1'">拒绝</el-tag> |
|||
<el-tag type="success" v-if="scope.row.status == '2'">通过</el-tag> |
|||
<el-tag v-if="scope.row.status == '0'">{{ $t('business.dealPay.submit') }}</el-tag> |
|||
<el-tag type="danger" v-if="scope.row.status == '1'">{{ $t('business.dealPay.reject') }}</el-tag> |
|||
<el-tag type="success" v-if="scope.row.status == '2'">{{ $t('business.dealPay.approve') }}</el-tag> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
|||
<el-table-column :label="$t('common.createTime')" align="center" prop="createTime" width="180"> |
|||
<template slot-scope="scope"> |
|||
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width"> |
|||
<el-table-column :label="$t('common.operation')" align="center" width="200" |
|||
class-name="small-padding fixed-width"> |
|||
<template slot-scope="scope"> |
|||
<el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.row)">详情</el-button> |
|||
<el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.row)">{{ |
|||
$t('common.detail') |
|||
}} |
|||
</el-button> |
|||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
|||
v-hasPermi="['business:dealPay:edit']">修改</el-button> |
|||
v-hasPermi="['business:dealPay:edit']">{{ $t('common.edit') }} |
|||
</el-button> |
|||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
|||
v-hasPermi="['business:dealPay:remove']">删除</el-button> |
|||
v-hasPermi="['business:dealPay:remove']">{{ $t('common.delete') }} |
|||
</el-button> |
|||
</template> |
|||
</el-table-column> |
|||
</el-table> |
|||
|
|||
<pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" |
|||
@pagination="getList" /> |
|||
@pagination="getList"/> |
|||
|
|||
<!-- 添加或修改付款对话框 --> |
|||
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> |
|||
<el-form ref="form" :model="form" :rules="rules" label-width="80px"> |
|||
<el-form-item label="付款ID" prop="userId"> |
|||
<el-input v-model="form.userId" placeholder="请输入付款ID" /> |
|||
<el-form-item :label="$t('business.dealPay.paymentId')" prop="userId"> |
|||
<el-input v-model="form.userId" :placeholder="$t('business.dealPay.paymentIdPlaceholder')"/> |
|||
</el-form-item> |
|||
<el-form-item label="付款账户" prop="userAccount"> |
|||
<el-input v-model="form.userAccount" placeholder="请输入付款账户" /> |
|||
<el-form-item :label="$t('business.dealPay.paymentAccount')" prop="userAccount"> |
|||
<el-input v-model="form.userAccount" :placeholder="$t('business.dealPay.paymentAccountPlaceholder')"/> |
|||
</el-form-item> |
|||
<el-form-item label="目标ID" prop="toId"> |
|||
<el-input v-model="form.toId" placeholder="请输入目标ID" /> |
|||
<el-form-item :label="$t('business.dealPay.targetId')" prop="toId"> |
|||
<el-input v-model="form.toId" :placeholder="$t('business.dealPay.targetIdPlaceholder')"/> |
|||
</el-form-item> |
|||
<el-form-item label="目标账户" prop="toAccount"> |
|||
<el-input v-model="form.toAccount" placeholder="请输入目标账户" /> |
|||
<el-form-item :label="$t('business.dealPay.targetAccount')" prop="toAccount"> |
|||
<el-input v-model="form.toAccount" :placeholder="$t('business.dealPay.targetAccountPlaceholder')"/> |
|||
</el-form-item> |
|||
<el-form-item label="账单唯一编号" prop="billCode"> |
|||
<el-input v-model="form.billCode" placeholder="请输入账单唯一编号" /> |
|||
<el-form-item :label="$t('business.dealPay.billCode')" prop="billCode"> |
|||
<el-input v-model="form.billCode" :placeholder="$t('business.dealPay.billCodePlaceholder')"/> |
|||
</el-form-item> |
|||
<el-form-item label="付款金额" prop="amount"> |
|||
<el-input v-model="form.amount" placeholder="请输入付款金额" /> |
|||
<el-form-item :label="$t('business.dealPay.amount')" prop="amount"> |
|||
<el-input v-model="form.amount" :placeholder="$t('business.dealPay.amountPlaceholder')"/> |
|||
</el-form-item> |
|||
<el-form-item label="二维码解析" prop="qrCode"> |
|||
<el-input v-model="form.qrCode" placeholder="请输入二维码解析" /> |
|||
<el-form-item :label="$t('business.dealPay.qrCode')" prop="qrCode"> |
|||
<el-input v-model="form.qrCode" :placeholder="$t('business.dealPay.qrCodePlaceholder')"/> |
|||
</el-form-item> |
|||
<el-form-item label="状态" prop="amount" v-if="statusShow"> |
|||
<el-form-item :label="$t('business.dealPay.status')" prop="amount" v-if="statusShow"> |
|||
<el-switch v-model="value" active-color="#13ce66" inactive-color="#ff4949" active-value="2" |
|||
inactive-value="1"> |
|||
inactive-value="1"> |
|||
</el-switch> |
|||
</el-form-item> |
|||
<el-form-item label="付款备注" prop="remark"> |
|||
<el-input v-model="form.remark" placeholder="请输入付款备注" /> |
|||
<el-form-item :label="$t('business.dealPay.remark')" prop="remark"> |
|||
<el-input v-model="form.remark" :placeholder="$t('business.dealPay.remarkPlaceholder')"/> |
|||
</el-form-item> |
|||
</el-form> |
|||
<div slot="footer" class="dialog-footer"> |
|||
<el-button :loading="buttonLoading" type="primary" @click="submitForm">确 定</el-button> |
|||
<el-button @click="cancel">取 消</el-button> |
|||
<el-button :loading="buttonLoading" type="primary" @click="submitForm">{{ $t('common.confirm') }}</el-button> |
|||
<el-button @click="cancel">{{ $t('common.cancel') }}</el-button> |
|||
</div> |
|||
</el-dialog> |
|||
|
|||
<!-- 付款详情 --> |
|||
<el-dialog :title="title" :visible.sync="detailOpen" width="700px" append-to-body> |
|||
<el-form ref="form" :model="form" label-width="auto"> |
|||
<el-form-item label="付款ID:"> |
|||
{{form.userId}} |
|||
<el-form-item :label="$t('business.dealPay.paymentIdLabel')"> |
|||
{{ form.userId }} |
|||
</el-form-item> |
|||
<el-form-item label="付款账户:"> |
|||
{{form.userAccount}} |
|||
<el-form-item :label="$t('business.dealPay.paymentAccountLabel')"> |
|||
{{ form.userAccount }} |
|||
</el-form-item> |
|||
<el-form-item label="目标ID:"> |
|||
{{form.toId}} |
|||
<el-form-item :label="$t('business.dealPay.targetIdLabel')"> |
|||
{{ form.toId }} |
|||
</el-form-item> |
|||
<el-form-item label="目标账户:"> |
|||
{{form.toAccount}} |
|||
<el-form-item :label="$t('business.dealPay.targetAccountLabel')"> |
|||
{{ form.toAccount }} |
|||
</el-form-item> |
|||
<el-form-item label="账单唯一编号:"> |
|||
{{form.billCode}} |
|||
<el-form-item :label="$t('business.dealPay.billCodeLabel')"> |
|||
{{ form.billCode }} |
|||
</el-form-item> |
|||
<el-form-item label="付款金额:"> |
|||
{{form.amount}} |
|||
<el-form-item :label="$t('business.dealPay.amountLabel')"> |
|||
{{ form.amount }} |
|||
</el-form-item> |
|||
<el-form-item label="二维码解析:"> |
|||
{{form.qrCode}} |
|||
<el-form-item :label="$t('business.dealPay.qrCodeLabel')"> |
|||
{{ form.qrCode }} |
|||
</el-form-item> |
|||
<el-form-item label="付款备注:"> |
|||
{{form.remark}} |
|||
<el-form-item :label="$t('business.dealPay.remarkLabel')"> |
|||
{{ form.remark }} |
|||
</el-form-item> |
|||
</el-form> |
|||
<div slot="footer" class="dialog-footer"> |
|||
<el-button @click="cancel">关 闭</el-button> |
|||
<el-button @click="cancel">{{ $t('common.close') }}</el-button> |
|||
</div> |
|||
</el-dialog> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import { |
|||
listDealPay, |
|||
getDealPay, |
|||
delDealPay, |
|||
addDealPay, |
|||
updateDealPay |
|||
} from "@/api/business/dealPay"; |
|||
import { |
|||
listDealPay, |
|||
getDealPay, |
|||
delDealPay, |
|||
addDealPay, |
|||
updateDealPay |
|||
} from "@/api/business/dealPay"; |
|||
|
|||
export default { |
|||
name: "DealPay", |
|||
data() { |
|||
return { |
|||
// 滑块 |
|||
statusShow: false, |
|||
value: '2', |
|||
// 按钮loading |
|||
buttonLoading: false, |
|||
// 遮罩层 |
|||
loading: true, |
|||
// 选中数组 |
|||
ids: [], |
|||
// 非单个禁用 |
|||
single: true, |
|||
// 非多个禁用 |
|||
multiple: true, |
|||
// 显示搜索条件 |
|||
showSearch: true, |
|||
// 总条数 |
|||
total: 0, |
|||
// 付款表格数据 |
|||
dealPayList: [], |
|||
// 弹出层标题 |
|||
title: "", |
|||
// 是否显示弹出层 |
|||
open: false, |
|||
// 是否显示详情弹出层 |
|||
detailOpen: false, |
|||
// 状态时间范围 |
|||
daterangeCreateTime: [], |
|||
// 查询参数 |
|||
queryParams: { |
|||
pageNum: 1, |
|||
pageSize: 10, |
|||
userId: undefined, |
|||
userAccount: undefined, |
|||
toId: undefined, |
|||
toAccount: undefined, |
|||
billCode: undefined, |
|||
amount: undefined, |
|||
transferType: undefined, |
|||
qrCode: undefined, |
|||
remark: undefined, |
|||
status: undefined, |
|||
createTime: undefined, |
|||
}, |
|||
// 表单参数 |
|||
form: {}, |
|||
// 表单校验 |
|||
rules: { |
|||
userId: [{ |
|||
required: true, |
|||
message: "付款ID不能为空", |
|||
trigger: "blur" |
|||
}], |
|||
userAccount: [{ |
|||
required: true, |
|||
message: "付款账户不能为空", |
|||
trigger: "blur" |
|||
}], |
|||
toId: [{ |
|||
required: true, |
|||
message: "目标ID不能为空", |
|||
trigger: "blur" |
|||
}], |
|||
toAccount: [{ |
|||
required: true, |
|||
message: "目标账户不能为空", |
|||
trigger: "blur" |
|||
}], |
|||
amount: [{ |
|||
required: true, |
|||
message: "付款金额不能为空", |
|||
trigger: "blur" |
|||
}], |
|||
} |
|||
export default { |
|||
name: "DealPay", |
|||
data() { |
|||
return { |
|||
// 滑块 |
|||
statusShow: false, |
|||
value: '2', |
|||
// 按钮loading |
|||
buttonLoading: false, |
|||
// 遮罩层 |
|||
loading: true, |
|||
// 选中数组 |
|||
ids: [], |
|||
// 非单个禁用 |
|||
single: true, |
|||
// 非多个禁用 |
|||
multiple: true, |
|||
// 显示搜索条件 |
|||
showSearch: true, |
|||
// 总条数 |
|||
total: 0, |
|||
// 付款表格数据 |
|||
dealPayList: [], |
|||
// 弹出层标题 |
|||
title: "", |
|||
// 是否显示弹出层 |
|||
open: false, |
|||
// 是否显示详情弹出层 |
|||
detailOpen: false, |
|||
// 状态时间范围 |
|||
daterangeCreateTime: [], |
|||
// 查询参数 |
|||
queryParams: { |
|||
pageNum: 1, |
|||
pageSize: 10, |
|||
userId: undefined, |
|||
userAccount: undefined, |
|||
toId: undefined, |
|||
toAccount: undefined, |
|||
billCode: undefined, |
|||
amount: undefined, |
|||
transferType: undefined, |
|||
qrCode: undefined, |
|||
remark: undefined, |
|||
status: undefined, |
|||
createTime: undefined, |
|||
}, |
|||
// 表单参数 |
|||
form: {}, |
|||
// 表单校验 |
|||
rules: { |
|||
userId: [{ |
|||
required: true, |
|||
message: this.$t('business.dealPay.paymentIdRequired'), |
|||
trigger: "blur" |
|||
}], |
|||
userAccount: [{ |
|||
required: true, |
|||
message: this.$t('business.dealPay.paymentAccountRequired'), |
|||
trigger: "blur" |
|||
}], |
|||
toId: [{ |
|||
required: true, |
|||
message: this.$t('business.dealPay.targetIdRequired'), |
|||
trigger: "blur" |
|||
}], |
|||
toAccount: [{ |
|||
required: true, |
|||
message: this.$t('business.dealPay.targetAccountRequired'), |
|||
trigger: "blur" |
|||
}], |
|||
amount: [{ |
|||
required: true, |
|||
message: this.$t('business.dealPay.amountRequired'), |
|||
trigger: "blur" |
|||
}] |
|||
} |
|||
}; |
|||
}, |
|||
created() { |
|||
this.getList(); |
|||
}, |
|||
methods: { |
|||
/** 查询付款列表 */ |
|||
getList() { |
|||
this.loading = true; |
|||
this.queryParams.params = {}; |
|||
if (null != this.daterangeCreateTime && '' != this.daterangeCreateTime) { |
|||
this.queryParams.params["beginCreateTime"] = this.daterangeCreateTime[0]; |
|||
this.queryParams.params["endCreateTime"] = this.daterangeCreateTime[1]; |
|||
} |
|||
listDealPay(this.queryParams).then(response => { |
|||
this.dealPayList = response.rows; |
|||
this.total = response.total; |
|||
this.loading = false; |
|||
}); |
|||
}, |
|||
// 取消按钮 |
|||
cancel() { |
|||
this.open = false; |
|||
this.detailOpen = false; |
|||
this.reset(); |
|||
}, |
|||
// 表单重置 |
|||
reset() { |
|||
this.form = { |
|||
id: undefined, |
|||
userId: undefined, |
|||
userAccount: undefined, |
|||
toId: undefined, |
|||
toAccount: undefined, |
|||
billCode: undefined, |
|||
amount: undefined, |
|||
transferType: undefined, |
|||
qrCode: undefined, |
|||
remark: undefined, |
|||
status: undefined, |
|||
delFlag: undefined, |
|||
createBy: undefined, |
|||
createTime: undefined, |
|||
updateBy: undefined, |
|||
updateTime: undefined |
|||
}; |
|||
this.resetForm("form"); |
|||
}, |
|||
created() { |
|||
/** 搜索按钮操作 */ |
|||
handleQuery() { |
|||
this.queryParams.pageNum = 1; |
|||
this.getList(); |
|||
}, |
|||
methods: { |
|||
/** 查询付款列表 */ |
|||
getList() { |
|||
this.loading = true; |
|||
this.queryParams.params = {}; |
|||
if (null != this.daterangeCreateTime && '' != this.daterangeCreateTime) { |
|||
this.queryParams.params["beginCreateTime"] = this.daterangeCreateTime[0]; |
|||
this.queryParams.params["endCreateTime"] = this.daterangeCreateTime[1]; |
|||
/** 重置按钮操作 */ |
|||
resetQuery() { |
|||
this.daterangeCreateTime = []; |
|||
this.resetForm("queryForm"); |
|||
this.handleQuery(); |
|||
}, |
|||
// 多选框选中数据 |
|||
handleSelectionChange(selection) { |
|||
this.ids = selection.map(item => item.id) |
|||
this.single = selection.length !== 1 |
|||
this.multiple = !selection.length |
|||
}, |
|||
/** 新增按钮操作 */ |
|||
handleAdd() { |
|||
this.reset(); |
|||
this.open = true; |
|||
this.title = this.$t('business.dealPay.addPayment'); |
|||
}, |
|||
/** 详情按钮操作 */ |
|||
handleDetail(row) { |
|||
this.reset(); |
|||
this.form = row; |
|||
this.detailOpen = true; |
|||
this.title = this.$t('business.dealPay.payment'); |
|||
}, |
|||
/** 修改按钮操作 */ |
|||
handleUpdate(row) { |
|||
this.loading = true; |
|||
this.reset(); |
|||
const id = row.id || this.ids |
|||
getDealPay(id).then(response => { |
|||
this.loading = false; |
|||
this.form = response.data; |
|||
if (this.form.status == "0") { |
|||
this.statusShow = true; |
|||
} |
|||
listDealPay(this.queryParams).then(response => { |
|||
this.dealPayList = response.rows; |
|||
this.total = response.total; |
|||
this.loading = false; |
|||
}); |
|||
}, |
|||
// 取消按钮 |
|||
cancel() { |
|||
this.open = false; |
|||
this.detailOpen = false; |
|||
this.reset(); |
|||
}, |
|||
// 表单重置 |
|||
reset() { |
|||
this.form = { |
|||
id: undefined, |
|||
userId: undefined, |
|||
userAccount: undefined, |
|||
toId: undefined, |
|||
toAccount: undefined, |
|||
billCode: undefined, |
|||
amount: undefined, |
|||
transferType: undefined, |
|||
qrCode: undefined, |
|||
remark: undefined, |
|||
status: undefined, |
|||
delFlag: undefined, |
|||
createBy: undefined, |
|||
createTime: undefined, |
|||
updateBy: undefined, |
|||
updateTime: undefined |
|||
}; |
|||
this.resetForm("form"); |
|||
}, |
|||
/** 搜索按钮操作 */ |
|||
handleQuery() { |
|||
this.queryParams.pageNum = 1; |
|||
this.getList(); |
|||
}, |
|||
/** 重置按钮操作 */ |
|||
resetQuery() { |
|||
this.daterangeCreateTime = []; |
|||
this.resetForm("queryForm"); |
|||
this.handleQuery(); |
|||
}, |
|||
// 多选框选中数据 |
|||
handleSelectionChange(selection) { |
|||
this.ids = selection.map(item => item.id) |
|||
this.single = selection.length !== 1 |
|||
this.multiple = !selection.length |
|||
}, |
|||
/** 新增按钮操作 */ |
|||
handleAdd() { |
|||
this.reset(); |
|||
this.open = true; |
|||
this.title = "添加付款"; |
|||
}, |
|||
/** 详情按钮操作 */ |
|||
handleDetail(row) { |
|||
this.reset(); |
|||
this.form = row; |
|||
this.detailOpen = true; |
|||
this.title = "付款"; |
|||
}, |
|||
/** 修改按钮操作 */ |
|||
handleUpdate(row) { |
|||
this.loading = true; |
|||
this.reset(); |
|||
const id = row.id || this.ids |
|||
getDealPay(id).then(response => { |
|||
this.loading = false; |
|||
this.form = response.data; |
|||
if (this.form.status == "0") { |
|||
this.statusShow = true; |
|||
} |
|||
this.open = true; |
|||
this.title = "修改付款"; |
|||
}); |
|||
}, |
|||
/** 提交按钮 */ |
|||
submitForm() { |
|||
this.$refs["form"].validate(valid => { |
|||
if (valid) { |
|||
this.buttonLoading = true; |
|||
if (this.form.id != null) { |
|||
this.form.status = this.value; |
|||
updateDealPay(this.form).then(response => { |
|||
this.$modal.msgSuccess("修改成功"); |
|||
this.open = false; |
|||
this.getList(); |
|||
}).finally(() => { |
|||
this.buttonLoading = false; |
|||
}); |
|||
} else { |
|||
addDealPay(this.form).then(response => { |
|||
this.$modal.msgSuccess("新增成功"); |
|||
this.open = false; |
|||
this.getList(); |
|||
}).finally(() => { |
|||
this.buttonLoading = false; |
|||
}); |
|||
} |
|||
this.title = this.$t('business.dealPay.editPayment'); |
|||
}); |
|||
}, |
|||
/** 提交按钮 */ |
|||
submitForm() { |
|||
this.$refs["form"].validate(valid => { |
|||
if (valid) { |
|||
this.buttonLoading = true; |
|||
if (this.form.id != null) { |
|||
this.form.status = this.value; |
|||
updateDealPay(this.form).then(response => { |
|||
this.$modal.msgSuccess(this.$t('common.editSuccess')); |
|||
this.open = false; |
|||
this.getList(); |
|||
}).finally(() => { |
|||
this.buttonLoading = false; |
|||
}); |
|||
} else { |
|||
addDealPay(this.form).then(response => { |
|||
this.$modal.msgSuccess(this.$t('common.addSuccess')); |
|||
this.open = false; |
|||
this.getList(); |
|||
}).finally(() => { |
|||
this.buttonLoading = false; |
|||
}); |
|||
} |
|||
}); |
|||
}, |
|||
/** 删除按钮操作 */ |
|||
handleDelete(row) { |
|||
const ids = row.id || this.ids; |
|||
this.$modal.confirm('是否确认删除付款编号为"' + ids + '"的数据项?').then(() => { |
|||
this.loading = true; |
|||
return delDealPay(ids); |
|||
}).then(() => { |
|||
this.loading = false; |
|||
this.getList(); |
|||
this.$modal.msgSuccess("删除成功"); |
|||
}).catch(() => {}).finally(() => { |
|||
this.loading = false; |
|||
}); |
|||
}, |
|||
/** 导出按钮操作 */ |
|||
handleExport() { |
|||
this.download('business/dealPay/export', { |
|||
...this.queryParams |
|||
}, `dealPay_${new Date().getTime()}.xlsx`) |
|||
} |
|||
} |
|||
}); |
|||
}, |
|||
/** 删除按钮操作 */ |
|||
handleDelete(row) { |
|||
const ids = row.id || this.ids; |
|||
this.$modal.confirm(this.$t('common.deleteConfirm')).then(() => { |
|||
this.loading = true; |
|||
return delDealPay(ids); |
|||
}).then(() => { |
|||
this.loading = false; |
|||
this.getList(); |
|||
this.$modal.msgSuccess(this.$t('common.deleteSuccess')); |
|||
}).catch(() => { |
|||
}).finally(() => { |
|||
this.loading = false; |
|||
}); |
|||
}, |
|||
/** 导出按钮操作 */ |
|||
handleExport() { |
|||
this.download('business/dealPay/export', { |
|||
...this.queryParams |
|||
}, `dealPay_${new Date().getTime()}.xlsx`) |
|||
} |
|||
}; |
|||
} |
|||
}; |
|||
</script> |
|||
|
@ -1,373 +1,391 @@ |
|||
<template> |
|||
<div class="app-container"> |
|||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> |
|||
<el-form-item label="账户编号" prop="senderAccount"> |
|||
<el-input v-model="queryParams.senderAccount" placeholder="请输入账户编号" clearable |
|||
@keyup.enter.native="handleQuery" /> |
|||
<el-form-item :label="$t('business.recordTransaction.senderAccount')" prop="senderAccount"> |
|||
<el-input v-model="queryParams.senderAccount" :placeholder="$t('business.recordTransaction.senderAccountPlaceholder')" clearable |
|||
@keyup.enter.native="handleQuery"/> |
|||
</el-form-item> |
|||
<el-form-item label="目标用户账户编号" prop="receiverAccount" label-width="130px"> |
|||
<el-input v-model="queryParams.receiverAccount" placeholder="请输入目标用户账户编号" clearable |
|||
@keyup.enter.native="handleQuery" /> |
|||
<el-form-item :label="$t('business.recordTransaction.receiverAccount')" prop="receiverAccount" label-width="130px"> |
|||
<el-input v-model="queryParams.receiverAccount" :placeholder="$t('business.recordTransaction.receiverAccountPlaceholder')" clearable |
|||
@keyup.enter.native="handleQuery"/> |
|||
</el-form-item> |
|||
<el-form-item label="交易时间"> |
|||
<el-form-item :label="$t('business.recordTransaction.transactionTime')"> |
|||
<el-date-picker v-model="daterangeTime" style="width: 240px" value-format="yyyy-MM-dd HH:mm:ss" type="daterange" |
|||
range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" |
|||
:default-time="['00:00:00', '23:59:59']"></el-date-picker> |
|||
range-separator="-" :start-placeholder="$t('common.startDate')" |
|||
:end-placeholder="$t('common.endDate')" |
|||
:default-time="['00:00:00', '23:59:59']"></el-date-picker> |
|||
</el-form-item> |
|||
<el-form-item label="创建时间"> |
|||
<el-form-item :label="$t('common.createTime')"> |
|||
<el-date-picker v-model="daterangeCreateTime" style="width: 240px" value-format="yyyy-MM-dd HH:mm:ss" |
|||
type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" |
|||
:default-time="['00:00:00', '23:59:59']"></el-date-picker> |
|||
type="daterange" range-separator="-" :start-placeholder="$t('common.startDate')" |
|||
:end-placeholder="$t('common.endDate')" |
|||
:default-time="['00:00:00', '23:59:59']"></el-date-picker> |
|||
</el-form-item> |
|||
<el-form-item> |
|||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
|||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> |
|||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">{{ |
|||
$t('common.search') |
|||
}} |
|||
</el-button> |
|||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">{{ $t('common.reset') }}</el-button> |
|||
</el-form-item> |
|||
</el-form> |
|||
|
|||
<el-row :gutter="10" class="mb8"> |
|||
<el-col :span="1.5"> |
|||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd" |
|||
v-hasPermi="['business:recordTransaction:add']">新增</el-button> |
|||
v-hasPermi="['business:recordTransaction:add']">{{ $t('common.add') }} |
|||
</el-button> |
|||
</el-col> |
|||
<el-col :span="1.5"> |
|||
<el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" |
|||
v-hasPermi="['business:recordTransaction:edit']">修改</el-button> |
|||
v-hasPermi="['business:recordTransaction:edit']">{{ $t('common.edit') }} |
|||
</el-button> |
|||
</el-col> |
|||
<el-col :span="1.5"> |
|||
<el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete" |
|||
v-hasPermi="['business:recordTransaction:remove']">删除</el-button> |
|||
v-hasPermi="['business:recordTransaction:remove']">{{ $t('common.delete') }} |
|||
</el-button> |
|||
</el-col> |
|||
<el-col :span="1.5"> |
|||
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport" |
|||
v-hasPermi="['business:recordTransaction:export']">导出</el-button> |
|||
v-hasPermi="['business:recordTransaction:export']">{{ $t('common.export') }} |
|||
</el-button> |
|||
</el-col> |
|||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
|||
</el-row> |
|||
|
|||
<el-table v-loading="loading" :data="recordTransactionList" @selection-change="handleSelectionChange"> |
|||
<el-table-column type="selection" width="55" align="center" /> |
|||
<el-table-column label="用户ID" align="center" prop="senderId" /> |
|||
<el-table-column label="账户编号" align="center" prop="senderAccount" /> |
|||
<el-table-column label="交易类型" align="center" prop="type"> |
|||
<el-table-column type="selection" width="55" align="center"/> |
|||
<el-table-column :label="$t('business.recordTransaction.senderId')" align="center" prop="senderId"/> |
|||
<el-table-column :label="$t('business.recordTransaction.senderAccount')" align="center" prop="senderAccount"/> |
|||
<el-table-column :label="$t('business.recordTransaction.transactionType')" align="center" prop="type"> |
|||
|
|||
|
|||
<template slot-scope="scope"> |
|||
<el-tag v-if="scope.row.type == 'BT'">转账</el-tag> |
|||
<el-tag v-if="scope.row.type == 'BP'">支付</el-tag> |
|||
<el-tag v-if="scope.row.type == 'BC'">提现</el-tag> |
|||
<el-tag v-if="scope.row.type == 'BR'">收款</el-tag> |
|||
<el-tag v-if="scope.row.type == 'BU'">充值</el-tag> |
|||
<el-tag v-if="scope.row.type == 'BT'">{{ $t('business.recordTransaction.transfer') }}</el-tag> |
|||
<el-tag v-if="scope.row.type == 'BP'">{{ $t('business.recordTransaction.payment') }}</el-tag> |
|||
<el-tag v-if="scope.row.type == 'BC'">{{ $t('business.recordTransaction.withdraw') }}</el-tag> |
|||
<el-tag v-if="scope.row.type == 'BR'">{{ $t('business.recordTransaction.receive') }}</el-tag> |
|||
<el-tag v-if="scope.row.type == 'BU'">{{ $t('business.recordTransaction.recharge') }}</el-tag> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="目标用户账户编号" align="center" prop="receiverAccount" /> |
|||
<el-table-column label="交易前金额" align="center" prop="previousBalance" /> |
|||
<el-table-column label="交易金额" align="center" prop="changeBalance" /> |
|||
<el-table-column label="当前金额" align="center" prop="currentBalance" /> |
|||
<el-table-column label="交易备注" align="center" prop="note" /> |
|||
<el-table-column label="交易时间" align="center" prop="time" width="180"> |
|||
<el-table-column :label="$t('business.recordTransaction.receiverAccount')" align="center" prop="receiverAccount"/> |
|||
<el-table-column :label="$t('business.recordTransaction.previousBalance')" align="center" prop="previousBalance"/> |
|||
<el-table-column :label="$t('business.recordTransaction.changeBalance')" align="center" prop="changeBalance"/> |
|||
<el-table-column :label="$t('business.recordTransaction.currentBalance')" align="center" prop="currentBalance"/> |
|||
<el-table-column :label="$t('business.recordTransaction.note')" align="center" prop="note"/> |
|||
<el-table-column :label="$t('business.recordTransaction.transactionTime')" align="center" prop="time" width="180"> |
|||
<template slot-scope="scope"> |
|||
<span>{{ parseTime(scope.row.time, '{y}-{m}-{d}') }}</span> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="状态" align="center" prop="status"> |
|||
<el-table-column :label="$t('business.recordTransaction.status')" align="center" prop="status"> |
|||
<template slot-scope="scope"> |
|||
<el-tag v-if="scope.row.status == '0'">正常</el-tag> |
|||
<el-tag type="danger" v-if="scope.row.status == '1'">封禁</el-tag> |
|||
<el-tag v-if="scope.row.status == '0'">{{ $t('business.recordTransaction.normal') }}</el-tag> |
|||
<el-tag type="danger" v-if="scope.row.status == '1'">{{ $t('business.recordTransaction.banned') }}</el-tag> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
|||
<el-table-column :label="$t('common.createTime')" align="center" prop="createTime" width="180"> |
|||
<template slot-scope="scope"> |
|||
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width"> |
|||
<el-table-column :label="$t('common.operation')" align="center" width="200" |
|||
class-name="small-padding fixed-width"> |
|||
<template slot-scope="scope"> |
|||
<el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.row)">详情</el-button> |
|||
<el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.row)">{{ |
|||
$t('common.detail') |
|||
}} |
|||
</el-button> |
|||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
|||
v-hasPermi="['business:recordTransaction:edit']">修改</el-button> |
|||
v-hasPermi="['business:recordTransaction:edit']">{{ $t('common.edit') }} |
|||
</el-button> |
|||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
|||
v-hasPermi="['business:recordTransaction:remove']">删除</el-button> |
|||
v-hasPermi="['business:recordTransaction:remove']">{{ $t('common.delete') }} |
|||
</el-button> |
|||
</template> |
|||
</el-table-column> |
|||
</el-table> |
|||
|
|||
<pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" |
|||
@pagination="getList" /> |
|||
@pagination="getList"/> |
|||
|
|||
<!-- 添加或修改交易动账记录对话框 --> |
|||
<el-dialog :title="title" :visible.sync="open" width="700px" append-to-body> |
|||
<el-form ref="form" :model="form" :rules="rules" label-width="auto"> |
|||
<el-form-item label="账户编号" prop="senderAccount"> |
|||
<el-input v-model="form.senderAccount" placeholder="请输入账户编号" /> |
|||
<el-form-item :label="$t('business.recordTransaction.senderAccount')" prop="senderAccount"> |
|||
<el-input v-model="form.senderAccount" :placeholder="$t('business.recordTransaction.senderAccountPlaceholder')"/> |
|||
</el-form-item> |
|||
<el-form-item label="目标用户账户编号" prop="receiverAccount"> |
|||
<el-input v-model="form.receiverAccount" placeholder="请输入目标用户账户编号" /> |
|||
<el-form-item :label="$t('business.recordTransaction.receiverAccount')" prop="receiverAccount"> |
|||
<el-input v-model="form.receiverAccount" :placeholder="$t('business.recordTransaction.receiverAccountPlaceholder')"/> |
|||
</el-form-item> |
|||
<el-form-item label="交易前金额" prop="previousBalance"> |
|||
<el-input v-model="form.previousBalance" placeholder="请输入交易前金额" /> |
|||
<el-form-item :label="$t('business.recordTransaction.previousBalance')" prop="previousBalance"> |
|||
<el-input v-model="form.previousBalance" :placeholder="$t('business.recordTransaction.previousBalancePlaceholder')"/> |
|||
</el-form-item> |
|||
<el-form-item label="交易金额" prop="changeBalance"> |
|||
<el-input v-model="form.changeBalance" placeholder="请输入交易金额" /> |
|||
<el-form-item :label="$t('business.recordTransaction.changeBalance')" prop="changeBalance"> |
|||
<el-input v-model="form.changeBalance" :placeholder="$t('business.recordTransaction.changeBalancePlaceholder')"/> |
|||
</el-form-item> |
|||
<el-form-item label="当前金额" prop="currentBalance"> |
|||
<el-input v-model="form.currentBalance" placeholder="请输入当前金额" /> |
|||
<el-form-item :label="$t('business.recordTransaction.currentBalance')" prop="currentBalance"> |
|||
<el-input v-model="form.currentBalance" :placeholder="$t('business.recordTransaction.currentBalancePlaceholder')"/> |
|||
</el-form-item> |
|||
<el-form-item label="交易备注" prop="note"> |
|||
<el-input v-model="form.note" type="textarea" placeholder="请输入内容" /> |
|||
<el-form-item :label="$t('business.recordTransaction.note')" prop="note"> |
|||
<el-input v-model="form.note" type="textarea" :placeholder="$t('business.recordTransaction.notePlaceholder')"/> |
|||
</el-form-item> |
|||
<el-form-item label="交易时间" prop="time"> |
|||
<el-form-item :label="$t('business.recordTransaction.transactionTime')" prop="time"> |
|||
<el-date-picker clearable v-model="form.time" type="datetime" value-format="yyyy-MM-dd HH:mm:ss" |
|||
placeholder="请选择交易时间"> |
|||
:placeholder="$t('business.recordTransaction.transactionTimePlaceholder')"> |
|||
</el-date-picker> |
|||
</el-form-item> |
|||
</el-form> |
|||
<div slot="footer" class="dialog-footer"> |
|||
<el-button :loading="buttonLoading" type="primary" @click="submitForm">确 定</el-button> |
|||
<el-button @click="cancel">取 消</el-button> |
|||
<el-button :loading="buttonLoading" type="primary" @click="submitForm">{{ $t('common.confirm') }}</el-button> |
|||
<el-button @click="cancel">{{ $t('common.cancel') }}</el-button> |
|||
</div> |
|||
</el-dialog> |
|||
|
|||
<!-- 交易动账记录详情 --> |
|||
<el-dialog :title="title" :visible.sync="detailOpen" width="700px" append-to-body> |
|||
<el-form ref="form" :model="form" label-width="auto"> |
|||
<el-form-item label="用户ID:"> |
|||
{{form.senderId}} |
|||
<el-form-item :label="$t('business.recordTransaction.senderId')"> |
|||
{{ form.senderId }} |
|||
</el-form-item> |
|||
<el-form-item label="账户编号:"> |
|||
{{form.senderAccount}} |
|||
<el-form-item :label="$t('business.recordTransaction.senderAccount')"> |
|||
{{ form.senderAccount }} |
|||
</el-form-item> |
|||
<el-form-item label="目标用户ID:"> |
|||
{{form.receiverId}} |
|||
<el-form-item :label="$t('business.recordTransaction.receiverId')"> |
|||
{{ form.receiverId }} |
|||
</el-form-item> |
|||
<el-form-item label="目标用户账户编号:"> |
|||
{{form.receiverAccount}} |
|||
<el-form-item :label="$t('business.recordTransaction.receiverAccount')"> |
|||
{{ form.receiverAccount }} |
|||
</el-form-item> |
|||
<el-form-item label="交易前金额:"> |
|||
{{form.previous}} |
|||
<el-form-item :label="$t('business.recordTransaction.previousBalance')"> |
|||
{{ form.previous }} |
|||
</el-form-item> |
|||
<el-form-item label="交易金额:"> |
|||
{{form.change}} |
|||
<el-form-item :label="$t('business.recordTransaction.changeBalance')"> |
|||
{{ form.change }} |
|||
</el-form-item> |
|||
<el-form-item label="当前金额:"> |
|||
{{form.current}} |
|||
<el-form-item :label="$t('business.recordTransaction.currentBalance')"> |
|||
{{ form.current }} |
|||
</el-form-item> |
|||
<el-form-item label="交易备注:" s> |
|||
{{form.note}} |
|||
<el-form-item :label="$t('business.recordTransaction.note')"> |
|||
{{ form.note }} |
|||
|
|||
</el-form-item> |
|||
<el-form-item label="交易时间" prop="time"> |
|||
<el-form-item :label="$t('business.recordTransaction.transactionTime')" prop="time"> |
|||
<el-date-picker clearable v-model="form.time" type="datetime" value-format="yyyy-MM-dd HH:mm:ss" |
|||
placeholder="请选择交易时间"> |
|||
:placeholder="$t('business.recordTransaction.transactionTimePlaceholder')"> |
|||
</el-date-picker> |
|||
</el-form-item> |
|||
</el-form> |
|||
<div slot="footer" class="dialog-footer"> |
|||
<el-button @click="cancel">关 闭</el-button> |
|||
<el-button @click="cancel">{{ $t('common.close') }}</el-button> |
|||
</div> |
|||
</el-dialog> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import { |
|||
listRecordTransaction, |
|||
getRecordTransaction, |
|||
delRecordTransaction, |
|||
addRecordTransaction, |
|||
updateRecordTransaction |
|||
} from "@/api/business/recordTransaction"; |
|||
import { |
|||
listRecordTransaction, |
|||
getRecordTransaction, |
|||
delRecordTransaction, |
|||
addRecordTransaction, |
|||
updateRecordTransaction |
|||
} from "@/api/business/recordTransaction"; |
|||
|
|||
export default { |
|||
name: "RecordTransaction", |
|||
data() { |
|||
return { |
|||
// 按钮loading |
|||
buttonLoading: false, |
|||
// 遮罩层 |
|||
loading: true, |
|||
// 选中数组 |
|||
ids: [], |
|||
// 非单个禁用 |
|||
single: true, |
|||
// 非多个禁用 |
|||
multiple: true, |
|||
// 显示搜索条件 |
|||
showSearch: true, |
|||
// 总条数 |
|||
total: 0, |
|||
// 交易动账记录表格数据 |
|||
recordTransactionList: [], |
|||
// 弹出层标题 |
|||
title: "", |
|||
// 是否显示弹出层 |
|||
open: false, |
|||
// 是否显示详情弹出层 |
|||
detailOpen: false, |
|||
// 状态时间范围 |
|||
daterangeTime: [], |
|||
// 状态时间范围 |
|||
daterangeCreateTime: [], |
|||
// 查询参数 |
|||
queryParams: { |
|||
pageNum: 1, |
|||
pageSize: 10, |
|||
senderId: undefined, |
|||
senderAccount: undefined, |
|||
type: undefined, |
|||
receiverId: undefined, |
|||
receiverAccount: undefined, |
|||
previousBalance: undefined, |
|||
changeBalance: undefined, |
|||
currentBalance: undefined, |
|||
note: undefined, |
|||
time: undefined, |
|||
status: undefined, |
|||
createTime: undefined, |
|||
}, |
|||
// 表单参数 |
|||
form: {}, |
|||
// 表单校验 |
|||
rules: {} |
|||
export default { |
|||
name: "RecordTransaction", |
|||
data() { |
|||
return { |
|||
// 按钮loading |
|||
buttonLoading: false, |
|||
// 遮罩层 |
|||
loading: true, |
|||
// 选中数组 |
|||
ids: [], |
|||
// 非单个禁用 |
|||
single: true, |
|||
// 非多个禁用 |
|||
multiple: true, |
|||
// 显示搜索条件 |
|||
showSearch: true, |
|||
// 总条数 |
|||
total: 0, |
|||
// 交易动账记录表格数据 |
|||
recordTransactionList: [], |
|||
// 弹出层标题 |
|||
title: "", |
|||
// 是否显示弹出层 |
|||
open: false, |
|||
// 是否显示详情弹出层 |
|||
detailOpen: false, |
|||
// 状态时间范围 |
|||
daterangeTime: [], |
|||
// 状态时间范围 |
|||
daterangeCreateTime: [], |
|||
// 查询参数 |
|||
queryParams: { |
|||
pageNum: 1, |
|||
pageSize: 10, |
|||
senderId: undefined, |
|||
senderAccount: undefined, |
|||
type: undefined, |
|||
receiverId: undefined, |
|||
receiverAccount: undefined, |
|||
previousBalance: undefined, |
|||
changeBalance: undefined, |
|||
currentBalance: undefined, |
|||
note: undefined, |
|||
time: undefined, |
|||
status: undefined, |
|||
createTime: undefined, |
|||
}, |
|||
// 表单参数 |
|||
form: {}, |
|||
// 表单校验 |
|||
rules: {} |
|||
}; |
|||
}, |
|||
created() { |
|||
this.getList(); |
|||
}, |
|||
methods: { |
|||
/** 查询交易动账记录列表 */ |
|||
getList() { |
|||
this.loading = true; |
|||
this.queryParams.params = {}; |
|||
if (null != this.daterangeTime && '' != this.daterangeTime) { |
|||
this.queryParams.params["beginTime"] = this.daterangeTime[0]; |
|||
this.queryParams.params["endTime"] = this.daterangeTime[1]; |
|||
} |
|||
if (null != this.daterangeCreateTime && '' != this.daterangeCreateTime) { |
|||
this.queryParams.params["beginCreateTime"] = this.daterangeCreateTime[0]; |
|||
this.queryParams.params["endCreateTime"] = this.daterangeCreateTime[1]; |
|||
} |
|||
listRecordTransaction(this.queryParams).then(response => { |
|||
this.recordTransactionList = response.rows; |
|||
this.total = response.total; |
|||
this.loading = false; |
|||
}); |
|||
}, |
|||
// 取消按钮 |
|||
cancel() { |
|||
this.open = false; |
|||
this.detailOpen = false; |
|||
this.reset(); |
|||
}, |
|||
// 表单重置 |
|||
reset() { |
|||
this.form = { |
|||
id: undefined, |
|||
senderId: undefined, |
|||
senderAccount: undefined, |
|||
type: undefined, |
|||
receiverId: undefined, |
|||
receiverAccount: undefined, |
|||
previousBalance: undefined, |
|||
changeBalance: undefined, |
|||
currentBalance: undefined, |
|||
note: undefined, |
|||
time: undefined, |
|||
status: undefined, |
|||
delFlag: undefined, |
|||
createBy: undefined, |
|||
createTime: undefined, |
|||
updateBy: undefined, |
|||
updateTime: undefined |
|||
}; |
|||
this.resetForm("form"); |
|||
}, |
|||
created() { |
|||
/** 搜索按钮操作 */ |
|||
handleQuery() { |
|||
this.queryParams.pageNum = 1; |
|||
this.getList(); |
|||
}, |
|||
methods: { |
|||
/** 查询交易动账记录列表 */ |
|||
getList() { |
|||
this.loading = true; |
|||
this.queryParams.params = {}; |
|||
if (null != this.daterangeTime && '' != this.daterangeTime) { |
|||
this.queryParams.params["beginTime"] = this.daterangeTime[0]; |
|||
this.queryParams.params["endTime"] = this.daterangeTime[1]; |
|||
} |
|||
if (null != this.daterangeCreateTime && '' != this.daterangeCreateTime) { |
|||
this.queryParams.params["beginCreateTime"] = this.daterangeCreateTime[0]; |
|||
this.queryParams.params["endCreateTime"] = this.daterangeCreateTime[1]; |
|||
} |
|||
listRecordTransaction(this.queryParams).then(response => { |
|||
this.recordTransactionList = response.rows; |
|||
this.total = response.total; |
|||
this.loading = false; |
|||
}); |
|||
}, |
|||
// 取消按钮 |
|||
cancel() { |
|||
this.open = false; |
|||
this.detailOpen = false; |
|||
this.reset(); |
|||
}, |
|||
// 表单重置 |
|||
reset() { |
|||
this.form = { |
|||
id: undefined, |
|||
senderId: undefined, |
|||
senderAccount: undefined, |
|||
type: undefined, |
|||
receiverId: undefined, |
|||
receiverAccount: undefined, |
|||
previousBalance: undefined, |
|||
changeBalance: undefined, |
|||
currentBalance: undefined, |
|||
note: undefined, |
|||
time: undefined, |
|||
status: undefined, |
|||
delFlag: undefined, |
|||
createBy: undefined, |
|||
createTime: undefined, |
|||
updateBy: undefined, |
|||
updateTime: undefined |
|||
}; |
|||
this.resetForm("form"); |
|||
}, |
|||
/** 搜索按钮操作 */ |
|||
handleQuery() { |
|||
this.queryParams.pageNum = 1; |
|||
this.getList(); |
|||
}, |
|||
/** 重置按钮操作 */ |
|||
resetQuery() { |
|||
this.daterangeTime = []; |
|||
this.daterangeCreateTime = []; |
|||
this.resetForm("queryForm"); |
|||
this.handleQuery(); |
|||
}, |
|||
// 多选框选中数据 |
|||
handleSelectionChange(selection) { |
|||
this.ids = selection.map(item => item.id) |
|||
this.single = selection.length !== 1 |
|||
this.multiple = !selection.length |
|||
}, |
|||
/** 新增按钮操作 */ |
|||
handleAdd() { |
|||
this.reset(); |
|||
/** 重置按钮操作 */ |
|||
resetQuery() { |
|||
this.daterangeTime = []; |
|||
this.daterangeCreateTime = []; |
|||
this.resetForm("queryForm"); |
|||
this.handleQuery(); |
|||
}, |
|||
// 多选框选中数据 |
|||
handleSelectionChange(selection) { |
|||
this.ids = selection.map(item => item.id) |
|||
this.single = selection.length !== 1 |
|||
this.multiple = !selection.length |
|||
}, |
|||
/** 新增按钮操作 */ |
|||
handleAdd() { |
|||
this.reset(); |
|||
this.open = true; |
|||
this.title = this.$t('business.recordTransaction.addTitle'); |
|||
}, |
|||
/** 详情按钮操作 */ |
|||
handleDetail(row) { |
|||
this.reset(); |
|||
this.form = row; |
|||
this.detailOpen = true; |
|||
this.title = this.$t('business.recordTransaction.detailTitle'); |
|||
}, |
|||
/** 修改按钮操作 */ |
|||
handleUpdate(row) { |
|||
this.loading = true; |
|||
this.reset(); |
|||
const id = row.id || this.ids |
|||
getRecordTransaction(id).then(response => { |
|||
this.loading = false; |
|||
this.form = response.data; |
|||
this.open = true; |
|||
this.title = "添加交易动账记录"; |
|||
}, |
|||
/** 详情按钮操作 */ |
|||
handleDetail(row) { |
|||
this.reset(); |
|||
this.form = row; |
|||
this.detailOpen = true; |
|||
this.title = "交易动账记录"; |
|||
}, |
|||
/** 修改按钮操作 */ |
|||
handleUpdate(row) { |
|||
this.loading = true; |
|||
this.reset(); |
|||
const id = row.id || this.ids |
|||
getRecordTransaction(id).then(response => { |
|||
this.loading = false; |
|||
this.form = response.data; |
|||
this.open = true; |
|||
this.title = "修改交易动账记录"; |
|||
}); |
|||
}, |
|||
/** 提交按钮 */ |
|||
submitForm() { |
|||
this.$refs["form"].validate(valid => { |
|||
if (valid) { |
|||
this.buttonLoading = true; |
|||
if (this.form.id != null) { |
|||
updateRecordTransaction(this.form).then(response => { |
|||
this.$modal.msgSuccess("修改成功"); |
|||
this.open = false; |
|||
this.getList(); |
|||
}).finally(() => { |
|||
this.buttonLoading = false; |
|||
}); |
|||
} else { |
|||
addRecordTransaction(this.form).then(response => { |
|||
this.$modal.msgSuccess("新增成功"); |
|||
this.open = false; |
|||
this.getList(); |
|||
}).finally(() => { |
|||
this.buttonLoading = false; |
|||
}); |
|||
} |
|||
this.title = this.$t('business.recordTransaction.editTitle'); |
|||
}); |
|||
}, |
|||
/** 提交按钮 */ |
|||
submitForm() { |
|||
this.$refs["form"].validate(valid => { |
|||
if (valid) { |
|||
this.buttonLoading = true; |
|||
if (this.form.id != null) { |
|||
updateRecordTransaction(this.form).then(response => { |
|||
this.$modal.msgSuccess(this.$t('common.editSuccess')); |
|||
this.open = false; |
|||
this.getList(); |
|||
}).finally(() => { |
|||
this.buttonLoading = false; |
|||
}); |
|||
} else { |
|||
addRecordTransaction(this.form).then(response => { |
|||
this.$modal.msgSuccess(this.$t('common.addSuccess')); |
|||
this.open = false; |
|||
this.getList(); |
|||
}).finally(() => { |
|||
this.buttonLoading = false; |
|||
}); |
|||
} |
|||
}); |
|||
}, |
|||
/** 删除按钮操作 */ |
|||
handleDelete(row) { |
|||
const ids = row.id || this.ids; |
|||
this.$modal.confirm('是否确认删除交易动账记录编号为"' + ids + '"的数据项?').then(() => { |
|||
this.loading = true; |
|||
return delRecordTransaction(ids); |
|||
}).then(() => { |
|||
this.loading = false; |
|||
this.getList(); |
|||
this.$modal.msgSuccess("删除成功"); |
|||
}).catch(() => {}).finally(() => { |
|||
this.loading = false; |
|||
}); |
|||
}, |
|||
/** 导出按钮操作 */ |
|||
handleExport() { |
|||
this.download('business/recordTransaction/export', { |
|||
...this.queryParams |
|||
}, `recordTransaction_${new Date().getTime()}.xlsx`) |
|||
} |
|||
} |
|||
}); |
|||
}, |
|||
/** 删除按钮操作 */ |
|||
handleDelete(row) { |
|||
const ids = row.id || this.ids; |
|||
this.$modal.confirm(this.$t('common.deleteConfirm')).then(() => { |
|||
this.loading = true; |
|||
return delRecordTransaction(ids); |
|||
}).then(() => { |
|||
this.loading = false; |
|||
this.getList(); |
|||
this.$modal.msgSuccess(this.$t('common.deleteSuccess')); |
|||
}).catch(() => { |
|||
}).finally(() => { |
|||
this.loading = false; |
|||
}); |
|||
}, |
|||
/** 导出按钮操作 */ |
|||
handleExport() { |
|||
this.download('business/recordTransaction/export', { |
|||
...this.queryParams |
|||
}, `recordTransaction_${new Date().getTime()}.xlsx`) |
|||
} |
|||
}; |
|||
} |
|||
}; |
|||
</script> |
|||
|
Loading…
Reference in new issue