-
-
+
+
-
-
+
+
-
+
- 搜索
- 重置
+ {{ $t('common.search') }}
+ {{ $t('common.reset') }}
新增
+ v-hasPermi="['business:dealTransfer:add']">{{ $t('common.add') }}
修改
+ v-hasPermi="['business:dealTransfer:edit']">{{ $t('common.edit') }}
删除
+ v-hasPermi="['business:dealTransfer:remove']">{{ $t('common.delete') }}
导出
+ v-hasPermi="['business:dealTransfer:export']">{{ $t('common.export') }}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
- 直接转
- 审核
+ {{ $t('business.dealTransfer.directTransfer') }}
+ {{ $t('business.dealTransfer.reviewTransfer') }}
-
-
+
+
- 发起
- 拒绝
- 通过
+ {{ $t('business.dealTransfer.statusInit') }}
+ {{ $t('business.dealTransfer.statusReject') }}
+ {{ $t('business.dealTransfer.statusPass') }}
-
+
{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
-
+
- 详情
+ {{ $t('common.detail') }}
修改
+ v-hasPermi="['business:dealTransfer:edit']">{{ $t('common.edit') }}
删除
+ v-hasPermi="['business:dealTransfer:remove']">{{ $t('common.delete') }}
@@ -82,66 +82,66 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
{{form.userId}}
-
+
{{form.userAccount}}
-
+
{{form.toId}}
-
+
{{form.toAccount}}
-
+
{{form.billCode}}
-
+
{{form.amount}}
-
+
{{form.remark}}
@@ -210,22 +210,22 @@
rules: {
userId: [{
required: true,
- message: "转账ID不能为空",
+ message: this.$t('business.dealTransfer.transferIdRequired'),
trigger: "blur"
}],
userAccount: [{
required: true,
- message: "转账账户不能为空",
+ message: this.$t('business.dealTransfer.transferAccountRequired'),
trigger: "blur"
}],
toId: [{
required: true,
- message: "接收ID不能为空",
+ message: this.$t('business.dealTransfer.receiveIdRequired'),
trigger: "blur"
}],
toAccount: [{
required: true,
- message: "接收账户不能为空",
+ message: this.$t('business.dealTransfer.receiveAccountRequired'),
trigger: "blur"
}],
}
@@ -297,14 +297,14 @@
handleAdd() {
this.reset();
this.open = true;
- this.title = "添加转账";
+ this.title = this.$t('business.dealTransfer.addTitle');
},
/** 详情按钮操作 */
handleDetail(row) {
this.reset();
this.form = row;
this.detailOpen = true;
- this.title = "转账";
+ this.title = this.$t('business.dealTransfer.detailTitle');
},
/** 修改按钮操作 */
handleUpdate(row) {
@@ -318,7 +318,7 @@
this.statusShow = true;
}
this.open = true;
- this.title = "修改转账";
+ this.title = this.$t('business.dealTransfer.editTitle');
});
},
/** 提交按钮 */
@@ -329,7 +329,7 @@
if (this.form.id != null) {
this.form.status = this.value;
updateDealTransfer(this.form).then(response => {
- this.$modal.msgSuccess("修改成功");
+ this.$modal.msgSuccess(this.$t('common.editSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -337,7 +337,7 @@
});
} else {
addDealTransfer(this.form).then(response => {
- this.$modal.msgSuccess("新增成功");
+ this.$modal.msgSuccess(this.$t('common.addSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -350,13 +350,13 @@
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
- this.$modal.confirm('是否确认删除转账编号为"' + ids + '"的数据项?').then(() => {
+ this.$modal.confirm(this.$t('common.deleteConfirm')).then(() => {
this.loading = true;
return delDealTransfer(ids);
}).then(() => {
this.loading = false;
this.getList();
- this.$modal.msgSuccess("删除成功");
+ this.$modal.msgSuccess(this.$t('common.deleteSuccess'));
}).catch(() => {}).finally(() => {
this.loading = false;
});
diff --git a/src/views/business/recordTransaction/index.vue b/src/views/business/recordTransaction/index.vue
index ed7e54c..fa72ff8 100755
--- a/src/views/business/recordTransaction/index.vue
+++ b/src/views/business/recordTransaction/index.vue
@@ -1,373 +1,391 @@
-
-
+
+
-
-
+
+
-
+
+ range-separator="-" :start-placeholder="$t('common.startDate')"
+ :end-placeholder="$t('common.endDate')"
+ :default-time="['00:00:00', '23:59:59']">
-
+
+ type="daterange" range-separator="-" :start-placeholder="$t('common.startDate')"
+ :end-placeholder="$t('common.endDate')"
+ :default-time="['00:00:00', '23:59:59']">
- 搜索
- 重置
+ {{
+ $t('common.search')
+ }}
+
+ {{ $t('common.reset') }}
新增
+ v-hasPermi="['business:recordTransaction:add']">{{ $t('common.add') }}
+
修改
+ v-hasPermi="['business:recordTransaction:edit']">{{ $t('common.edit') }}
+
删除
+ v-hasPermi="['business:recordTransaction:remove']">{{ $t('common.delete') }}
+
导出
+ v-hasPermi="['business:recordTransaction:export']">{{ $t('common.export') }}
+
-
-
-
-
+
+
+
+
+
+
- 转账
- 支付
- 提现
- 收款
- 充值
+ {{ $t('business.recordTransaction.transfer') }}
+ {{ $t('business.recordTransaction.payment') }}
+ {{ $t('business.recordTransaction.withdraw') }}
+ {{ $t('business.recordTransaction.receive') }}
+ {{ $t('business.recordTransaction.recharge') }}
-
-
-
-
-
-
+
+
+
+
+
+
{{ parseTime(scope.row.time, '{y}-{m}-{d}') }}
-
+
- 正常
- 封禁
+ {{ $t('business.recordTransaction.normal') }}
+ {{ $t('business.recordTransaction.banned') }}
-
+
{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
-
+
- 详情
+ {{
+ $t('common.detail')
+ }}
+
修改
+ v-hasPermi="['business:recordTransaction:edit']">{{ $t('common.edit') }}
+
删除
+ v-hasPermi="['business:recordTransaction:remove']">{{ $t('common.delete') }}
+
+ @pagination="getList"/>
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
+ :placeholder="$t('business.recordTransaction.transactionTimePlaceholder')">
-
- {{form.senderId}}
+
+ {{ form.senderId }}
-
- {{form.senderAccount}}
+
+ {{ form.senderAccount }}
-
- {{form.receiverId}}
+
+ {{ form.receiverId }}
-
- {{form.receiverAccount}}
+
+ {{ form.receiverAccount }}
-
- {{form.previous}}
+
+ {{ form.previous }}
-
- {{form.change}}
+
+ {{ form.change }}
-
- {{form.current}}
+
+ {{ form.current }}
-
- {{form.note}}
+
+ {{ form.note }}
-
+
+ :placeholder="$t('business.recordTransaction.transactionTimePlaceholder')">
diff --git a/src/views/business/userAccount/index.vue b/src/views/business/userAccount/index.vue
index 9e695d2..03a4474 100755
--- a/src/views/business/userAccount/index.vue
+++ b/src/views/business/userAccount/index.vue
@@ -1,76 +1,76 @@
-
-
+
+
-
+
- 搜索
- 重置
+ {{ $t('common.search') }}
+ {{ $t('common.reset') }}
新增
+ v-hasPermi="['business:userAccount:add']">{{ $t('common.add') }}
修改
+ v-hasPermi="['business:userAccount:edit']">{{ $t('common.edit') }}
删除
+ v-hasPermi="['business:userAccount:remove']">{{ $t('common.delete') }}
导出
+ v-hasPermi="['business:userAccount:export']">{{ $t('common.export') }}
-
-
-
-
-
-
+
+
+
+
+
+
- 正常
- 冻结
+ {{ $t('business.userAccount.statusNormal') }}
+ {{ $t('business.userAccount.statusFrozen') }}
-
+
- 存在
- 已删除
+ {{ $t('business.userAccount.delFlagExist') }}
+ {{ $t('business.userAccount.delFlagDeleted') }}
-
+
{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
-
+
{{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}
-
+
- 详情
+ {{ $t('common.detail') }}
修改
+ v-hasPermi="['business:userAccount:edit']">{{ $t('common.edit') }}
删除
+ v-hasPermi="['business:userAccount:remove']">{{ $t('common.delete') }}
@@ -81,43 +81,43 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
{{form.accountId}}
-
+
{{form.accountCode}}
-
+
{{form.accountName}}
-
+
{{form.accountAmount}}
@@ -249,14 +249,14 @@
handleAdd() {
this.reset();
this.open = true;
- this.title = "添加用户账户";
+ this.title = this.$t('business.userAccount.addTitle');
},
/** 详情按钮操作 */
handleDetail(row) {
this.reset();
this.form = row;
this.detailOpen = true;
- this.title = "用户账户";
+ this.title = this.$t('business.userAccount.detailTitle');
},
/** 修改按钮操作 */
handleUpdate(row) {
@@ -267,7 +267,7 @@
this.loading = false;
this.form = response.data;
this.open = true;
- this.title = "修改用户账户";
+ this.title = this.$t('business.userAccount.editTitle');
});
},
/** 提交按钮 */
@@ -277,7 +277,7 @@
this.buttonLoading = true;
if (this.form.id != null) {
updateUserAccount(this.form).then(response => {
- this.$modal.msgSuccess("修改成功");
+ this.$modal.msgSuccess(this.$t('common.updateSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -285,7 +285,7 @@
});
} else {
addUserAccount(this.form).then(response => {
- this.$modal.msgSuccess("新增成功");
+ this.$modal.msgSuccess(this.$t('common.addSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -298,13 +298,13 @@
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
- this.$modal.confirm('是否确认删除用户账户编号为"' + ids + '"的数据项?').then(() => {
+ this.$modal.confirm(this.$t('common.deleteConfirm')).then(() => {
this.loading = true;
return delUserAccount(ids);
}).then(() => {
this.loading = false;
this.getList();
- this.$modal.msgSuccess("删除成功");
+ this.$modal.msgSuccess(this.$t('common.deleteSuccess'));
}).catch(() => {}).finally(() => {
this.loading = false;
});
diff --git a/src/views/business/userCard/index.vue b/src/views/business/userCard/index.vue
index 7dfba15..81874b6 100755
--- a/src/views/business/userCard/index.vue
+++ b/src/views/business/userCard/index.vue
@@ -1,76 +1,76 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
+
- 搜索
- 重置
+ {{ $t('common.search') }}
+ {{ $t('common.reset') }}
新增
+ v-hasPermi="['business:userCard:add']">{{ $t('common.add') }}
修改
+ v-hasPermi="['business:userCard:edit']">{{ $t('common.edit') }}
删除
+ v-hasPermi="['business:userCard:remove']">{{ $t('common.delete') }}
导出
+ v-hasPermi="['business:userCard:export']">{{ $t('common.export') }}
-
-
-
-
-
-
+
+
+
+
+
+
- 正常
- 停用
+ {{ $t('business.userCard.statusNormal') }}
+ {{ $t('business.userCard.statusDisabled') }}
-
+
{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
-
+
{{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}
-
+
- 详情
+ {{ $t('common.detail') }}
修改
+ v-hasPermi="['business:userCard:edit']">{{ $t('common.edit') }}
删除
+ v-hasPermi="['business:userCard:remove']">{{ $t('common.delete') }}
@@ -81,46 +81,46 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
{{form.userId}}
-
+
{{form.cardNum}}
-
+
{{form.cardAmount}}
-
+
{{form.bankName}}
-
+
{{form.deptName}}
@@ -263,14 +263,14 @@
handleAdd() {
this.reset();
this.open = true;
- this.title = "添加用户银行卡";
+ this.title = this.$t('business.userCard.addTitle');
},
/** 详情按钮操作 */
handleDetail(row) {
this.reset();
this.form = row;
this.detailOpen = true;
- this.title = "用户银行卡";
+ this.title = this.$t('business.userCard.title');
},
/** 修改按钮操作 */
handleUpdate(row) {
@@ -281,7 +281,7 @@
this.loading = false;
this.form = response.data;
this.open = true;
- this.title = "修改用户银行卡";
+ this.title = this.$t('business.userCard.editTitle');
});
},
/** 提交按钮 */
@@ -291,7 +291,7 @@
this.buttonLoading = true;
if (this.form.id != null) {
updateUserCard(this.form).then(response => {
- this.$modal.msgSuccess("修改成功");
+ this.$modal.msgSuccess(this.$t('common.editSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -299,7 +299,7 @@
});
} else {
addUserCard(this.form).then(response => {
- this.$modal.msgSuccess("新增成功");
+ this.$modal.msgSuccess(this.$t('common.addSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -312,13 +312,13 @@
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
- this.$modal.confirm('是否确认删除用户银行卡编号为"' + ids + '"的数据项?').then(() => {
+ this.$modal.confirm(this.$t('common.deleteConfirm')).then(() => {
this.loading = true;
return delUserCard(ids);
}).then(() => {
this.loading = false;
this.getList();
- this.$modal.msgSuccess("删除成功");
+ this.$modal.msgSuccess(this.$t('common.deleteSuccess'));
}).catch(() => {}).finally(() => {
this.loading = false;
});
diff --git a/src/views/business/userFriend/index.vue b/src/views/business/userFriend/index.vue
index bdd473b..3f39cbd 100755
--- a/src/views/business/userFriend/index.vue
+++ b/src/views/business/userFriend/index.vue
@@ -1,75 +1,75 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
+
- 搜索
- 重置
+ {{$t('common.search')}}
+ {{$t('common.reset')}}
新增
+ v-hasPermi="['business:userFriend:add']">{{$t('common.add')}}
修改
+ v-hasPermi="['business:userFriend:edit']">{{$t('common.edit')}}
删除
+ v-hasPermi="['business:userFriend:remove']">{{$t('common.delete')}}
导出
+ v-hasPermi="['business:userFriend:export']">{{$t('common.export')}}
-
-
-
-
+
+
+
+
- 正常
- 拉黑
+ {{$t('business.userFriend.statusNormal')}}
+ {{$t('business.userFriend.statusBlocked')}}
-
+
- 存在
- 已删除
+ {{$t('business.userFriend.delFlagExist')}}
+ {{$t('business.userFriend.delFlagDeleted')}}
-
+
{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
-
+
- 详情
+ {{$t('common.detail')}}
修改
+ v-hasPermi="['business:userFriend:edit']">{{$t('common.edit')}}
删除
+ v-hasPermi="['business:userFriend:remove']">{{$t('common.delete')}}
@@ -80,37 +80,37 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
+
{{form.userId}}
-
+
{{form.friendId}}
-
+
{{form.delFlag}}
@@ -229,14 +229,14 @@
handleAdd() {
this.reset();
this.open = true;
- this.title = "添加用户好友";
+ this.title = this.$t('business.userFriend.addTitle');
},
/** 详情按钮操作 */
handleDetail(row) {
this.reset();
this.form = row;
this.detailOpen = true;
- this.title = "用户好友";
+ this.title = this.$t('business.userFriend.detailTitle');
},
/** 修改按钮操作 */
handleUpdate(row) {
@@ -247,7 +247,7 @@
this.loading = false;
this.form = response.data;
this.open = true;
- this.title = "修改用户好友";
+ this.title = this.$t('business.userFriend.editTitle');
});
},
/** 提交按钮 */
@@ -257,7 +257,7 @@
this.buttonLoading = true;
if (this.form.id != null) {
updateUserFriend(this.form).then(response => {
- this.$modal.msgSuccess("修改成功");
+ this.$modal.msgSuccess(this.$t('common.editSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -265,7 +265,7 @@
});
} else {
addUserFriend(this.form).then(response => {
- this.$modal.msgSuccess("新增成功");
+ this.$modal.msgSuccess(this.$t('common.addSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -278,13 +278,13 @@
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
- this.$modal.confirm('是否确认删除用户好友编号为"' + ids + '"的数据项?').then(() => {
+ this.$modal.confirm(this.$t('common.deleteConfirm')).then(() => {
this.loading = true;
return delUserFriend(ids);
}).then(() => {
this.loading = false;
this.getList();
- this.$modal.msgSuccess("删除成功");
+ this.$modal.msgSuccess(this.$t('common.deleteSuccess'));
}).catch(() => {}).finally(() => {
this.loading = false;
});
diff --git a/src/views/business/userInfo/index.vue b/src/views/business/userInfo/index.vue
index ac4e0a3..de9493b 100755
--- a/src/views/business/userInfo/index.vue
+++ b/src/views/business/userInfo/index.vue
@@ -1,91 +1,91 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
- 搜索
- 重置
+ {{ $t('common.search') }}
+ {{ $t('common.reset') }}
新增
+ v-hasPermi="['business:userInfo:add']">{{ $t('common.add') }}
修改
+ v-hasPermi="['business:userInfo:edit']">{{ $t('common.edit') }}
删除
+ v-hasPermi="['business:userInfo:remove']">{{ $t('common.delete') }}
导出
+ v-hasPermi="['business:userInfo:export']">{{ $t('common.export') }}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
- 正常
- 停用
+ {{ $t('business.userInfo.statusNormal') }}
+ {{ $t('business.userInfo.statusDisabled') }}
-
+
- 存在
- 已删除
+ {{ $t('business.userInfo.delFlagExist') }}
+ {{ $t('business.userInfo.delFlagDeleted') }}
-
+
{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
-
+
{{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}
-
+
- 详情
+ {{ $t('common.detail') }}
修改
+ v-hasPermi="['business:userInfo:edit']">{{ $t('common.edit') }}
删除
+ v-hasPermi="['business:userInfo:remove']">{{ $t('common.delete') }}
@@ -96,61 +96,61 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
{{form.userCode}}
-
+
{{form.name}}
-
+
{{form.gender}}
-
+
{{form.idCard}}
-
+
{{form.phone}}
-
+
{{form.age}}
-
+
{{form.addr}}
@@ -281,14 +281,14 @@
handleAdd() {
this.reset();
this.open = true;
- this.title = "添加用户信息";
+ this.title = this.$t('business.userInfo.addTitle');
},
/** 详情按钮操作 */
handleDetail(row) {
this.reset();
this.form = row;
this.detailOpen = true;
- this.title = "用户信息";
+ this.title = this.$t('business.userInfo.detailTitle');
},
/** 修改按钮操作 */
handleUpdate(row) {
@@ -299,7 +299,7 @@
this.loading = false;
this.form = response.data;
this.open = true;
- this.title = "修改用户信息";
+ this.title = this.$t('business.userInfo.editTitle');
});
},
/** 提交按钮 */
@@ -309,7 +309,7 @@
this.buttonLoading = true;
if (this.form.id != null) {
updateUserInfo(this.form).then(response => {
- this.$modal.msgSuccess("修改成功");
+ this.$modal.msgSuccess(this.$t('common.editSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -317,7 +317,7 @@
});
} else {
addUserInfo(this.form).then(response => {
- this.$modal.msgSuccess("新增成功");
+ this.$modal.msgSuccess(this.$t('common.addSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -330,13 +330,13 @@
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
- this.$modal.confirm('是否确认删除用户信息编号为"' + ids + '"的数据项?').then(() => {
+ this.$modal.confirm(this.$t('common.deleteConfirm')).then(() => {
this.loading = true;
return delUserInfo(ids);
}).then(() => {
this.loading = false;
this.getList();
- this.$modal.msgSuccess("删除成功");
+ this.$modal.msgSuccess(this.$t('common.deleteSuccess'));
}).catch(() => {}).finally(() => {
this.loading = false;
});
diff --git a/src/views/business/userPasswd/index.vue b/src/views/business/userPasswd/index.vue
index 8f11c25..27c7c90 100755
--- a/src/views/business/userPasswd/index.vue
+++ b/src/views/business/userPasswd/index.vue
@@ -1,76 +1,76 @@
-
-
+
+
-
+
- 搜索
- 重置
+ {{ $t('common.search') }}
+ {{ $t('common.reset') }}
新增
+ v-hasPermi="['business:userPasswd:add']">{{ $t('common.add') }}
修改
+ v-hasPermi="['business:userPasswd:edit']">{{ $t('common.edit') }}
删除
+ v-hasPermi="['business:userPasswd:remove']">{{ $t('common.delete') }}
导出
+ v-hasPermi="['business:userPasswd:export']">{{ $t('common.export') }}
-
-
-
-
-
+
+
+
+
+
正常
仅收款
冻结
-
+
存在
已删除
-
+
{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
-
+
{{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}
-
+
- 详情
+ {{ $t('common.detail') }}
修改
+ v-hasPermi="['business:userPasswd:edit']">{{ $t('common.edit') }}
删除
+ v-hasPermi="['business:userPasswd:remove']">{{ $t('common.delete') }}
@@ -81,43 +81,43 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
{{form.userId}}
-
+
{{form.payPasswd}}
-
+
{{form.phoneLock}}
-
+
{{form.loginPasswd}}
@@ -177,7 +177,20 @@
// 表单参数
form: {},
// 表单校验
- rules: {}
+ rules: {
+ userId: [
+ { required: true, message: this.$t('business.userPasswd.userIdRequired'), trigger: 'blur' }
+ ],
+ payPasswd: [
+ { required: true, message: this.$t('business.userPasswd.payPasswdRequired'), trigger: 'blur' }
+ ],
+ phoneLock: [
+ { required: true, message: this.$t('business.userPasswd.phoneLockRequired'), trigger: 'blur' }
+ ],
+ loginPasswd: [
+ { required: true, message: this.$t('business.userPasswd.loginPasswdRequired'), trigger: 'blur' }
+ ]
+}
};
},
created() {
@@ -247,14 +260,14 @@
handleAdd() {
this.reset();
this.open = true;
- this.title = "添加用户密码";
+ this.title = this.$t('business.userPasswd.addTitle');
},
/** 详情按钮操作 */
handleDetail(row) {
this.reset();
this.form = row;
this.detailOpen = true;
- this.title = "用户密码";
+ this.title = this.$t('business.userPasswd.detailTitle');
},
/** 修改按钮操作 */
handleUpdate(row) {
@@ -265,7 +278,7 @@
this.loading = false;
this.form = response.data;
this.open = true;
- this.title = "修改用户密码";
+ this.title = this.$t('business.userPasswd.editTitle');
});
},
/** 提交按钮 */
@@ -275,7 +288,7 @@
this.buttonLoading = true;
if (this.form.id != null) {
updateUserPasswd(this.form).then(response => {
- this.$modal.msgSuccess("修改成功");
+ this.$modal.msgSuccess(this.$t('common.editSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -283,7 +296,7 @@
});
} else {
addUserPasswd(this.form).then(response => {
- this.$modal.msgSuccess("新增成功");
+ this.$modal.msgSuccess(this.$t('common.addSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -296,13 +309,13 @@
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
- this.$modal.confirm('是否确认删除用户密码编号为"' + ids + '"的数据项?').then(() => {
+ this.$modal.confirm(this.$t('common.deleteConfirm')).then(() => {
this.loading = true;
return delUserPasswd(ids);
}).then(() => {
this.loading = false;
this.getList();
- this.$modal.msgSuccess("删除成功");
+ this.$modal.msgSuccess(this.$t('common.deleteSuccess'));
}).catch(() => {}).finally(() => {
this.loading = false;
});
diff --git a/src/views/business/userRegister/index.vue b/src/views/business/userRegister/index.vue
index 5609f08..be1394e 100755
--- a/src/views/business/userRegister/index.vue
+++ b/src/views/business/userRegister/index.vue
@@ -1,71 +1,71 @@
-
-
+
+
-
-
+
+
-
+
-
+
- 搜索
- 重置
+ {{ $t('common.search') }}
+ {{ $t('common.reset') }}
新增
+ v-hasPermi="['business:userRegister:add']">{{ $t('common.add') }}
修改
+ v-hasPermi="['business:userRegister:edit']">{{ $t('common.edit') }}
删除
+ v-hasPermi="['business:userRegister:remove']">{{ $t('common.delete') }}
导出
+ v-hasPermi="['business:userRegister:export']">{{ $t('common.export') }}
-
-
-
-
-
+
+
+
+
+
{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
-
+
{{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}
-
+
- 详情
+ {{ $t('common.detail') }}
修改
+ v-hasPermi="['business:userRegister:edit']">{{ $t('common.edit') }}
删除
+ v-hasPermi="['business:userRegister:remove']">{{ $t('common.delete') }}
@@ -76,22 +76,22 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -109,7 +109,7 @@
@@ -173,7 +173,7 @@
rules: {
name: [{
required: true,
- message: "名字不能为空",
+ message: this.$t('business.userRegister.nameRequired'),
trigger: "blur"
}],
}
@@ -247,14 +247,14 @@
handleAdd() {
this.reset();
this.open = true;
- this.title = "添加用户注册";
+ this.title = this.$t('business.userRegister.addTitle');
},
/** 详情按钮操作 */
handleDetail(row) {
this.reset();
this.form = row;
this.detailOpen = true;
- this.title = "用户注册";
+ this.title = this.$t('business.userRegister.title');
},
/** 修改按钮操作 */
handleUpdate(row) {
@@ -265,7 +265,7 @@
this.loading = false;
this.form = response.data;
this.open = true;
- this.title = "修改用户注册";
+ this.title = this.$t('business.userRegister.editTitle');
});
},
/** 提交按钮 */
@@ -275,7 +275,7 @@
this.buttonLoading = true;
if (this.form.id != null) {
updateUserRegister(this.form).then(response => {
- this.$modal.msgSuccess("修改成功");
+ this.$modal.msgSuccess(this.$t('common.editSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -283,7 +283,7 @@
});
} else {
addUserRegister(this.form).then(response => {
- this.$modal.msgSuccess("新增成功");
+ this.$modal.msgSuccess(this.$t('common.addSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -296,13 +296,13 @@
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
- this.$modal.confirm('是否确认删除用户注册编号为"' + ids + '"的数据项?').then(() => {
+ this.$modal.confirm(this.$t('common.deleteConfirm')).then(() => {
this.loading = true;
return delUserRegister(ids);
}).then(() => {
this.loading = false;
this.getList();
- this.$modal.msgSuccess("删除成功");
+ this.$modal.msgSuccess(this.$t('common.deleteSuccess'));
}).catch(() => {}).finally(() => {
this.loading = false;
});
diff --git a/src/views/index.vue b/src/views/index.vue
index 4bf922e..83b651f 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -2,7 +2,7 @@
- 老挝支付金控管理系统
+ {{ $t('index.title') }}
diff --git a/src/views/login.vue b/src/views/login.vue
index faadc28..0f5d7ae 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -1,7 +1,7 @@
- 老挝支付金控管理系统
+ 老挝金融支付管理系统
- 老挝支付金控管理系统
+ 老挝金融支付管理系统
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index e502b4e..494e5c7 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -1,16 +1,16 @@
-
+
-
-
+
+
- 搜索
- 重置
+ {{ $t('common.search') }}
+
+ {{ $t('common.reset') }}
@@ -34,7 +35,8 @@
size="mini"
@click="handleAdd"
v-hasPermi="['system:dept:add']"
- >新增
+ >{{ $t('common.add') }}
+
展开/折叠
+ >{{ $t('system.dept.expandCollapse') }}
+
@@ -56,19 +59,19 @@
:default-expand-all="isExpandAll"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
>
-
-
-
+
+
+
-
+
{{ parseTime(scope.row.createTime) }}
-
+
修改
+ >{{ $t('common.edit') }}
+
新增
+ >{{ $t('common.add') }}
+
删除
+ >{{ $t('common.delete') }}
+
@@ -101,71 +107,73 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
{{dict.label}}
+ >{{ dict.label }}
+