diff --git a/src/components/LanguageSelect/index.vue b/src/components/LanguageSelect/index.vue
index 796a93a..e6dfa77 100644
--- a/src/components/LanguageSelect/index.vue
+++ b/src/components/LanguageSelect/index.vue
@@ -20,7 +20,7 @@ export default {
handleSetLanguage(lang) {
this.$i18n.locale = lang
localStorage.setItem('language', lang)
- this.$message.success(this.$t('language.switchSuccess'))
+ this.$message.success(this.$t('common.switchSuccess'))
}
}
}
@@ -38,4 +38,4 @@ export default {
background: rgba(0, 0, 0, .025);
}
}
-
\ No newline at end of file
+
diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue
index 2dfb7c5..1598dab 100644
--- a/src/layout/components/Sidebar/Logo.vue
+++ b/src/layout/components/Sidebar/Logo.vue
@@ -3,11 +3,15 @@
@@ -35,7 +39,7 @@ export default {
},
data() {
return {
- title: this.$t('index.title'),
+ title: "老挝金融支付管理系统",
logo: logoImg
}
}
diff --git a/src/views/business/appVersion/index.vue b/src/views/business/appVersion/index.vue
index 1370a61..118140a 100644
--- a/src/views/business/appVersion/index.vue
+++ b/src/views/business/appVersion/index.vue
@@ -1,41 +1,41 @@
-
+
-
+
-
+
+ placeholder="$t('public.appVersion.releaseDatePlaceholder')">
-
+
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -48,8 +48,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:appVersion:add']"
- >新增
-
+ >{{ $t('common.button.add') }}
修改
-
+ >{{ $t('common.button.edit') }}
删除
-
+ >{{ $t('common.button.delete') }}
导出
-
+ >{{ $t('common.button.export') }}
-
-
-
-
-
+
+
+
+
+
{{ parseTime(scope.row.releaseDate, '{y}-{m}-{d}') }}
-
-
-
-
-
+
+
+
+
+
详情
-
+ >{{ $t('common.button.detail') }}
修改
-
+ >{{ $t('common.button.edit') }}
删除
-
+ >{{ $t('common.button.delete') }}
@@ -144,63 +137,66 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+ {{ $t('public.appVersion.forceUpdateYes') }}
+ {{ $t('public.appVersion.forceUpdateNo') }}
+
-
+
+ placeholder="$t('public.appVersion.releaseDatePlaceholder')">
-
+
{{ form.versionCode }}
-
+
{{ form.versionName }}
-
+
+ placeholder="$t('public.appVersion.releaseDatePlaceholder')">
-
+
{{ form.downloadUrl }}
-
+
{{ form.updateLog }}
@@ -209,7 +205,7 @@
@@ -262,25 +258,25 @@ export default {
// 表单校验
rules: {
versionCode: [
- {required: true, message: "版本代码不能为空", trigger: "blur"}
+ {required: true, message: this.$t('public.appVersion.versionCodeRequired'), trigger: "blur"}
],
versionName: [
- {required: true, message: "版本名称不能为空", trigger: "blur"}
+ {required: true, message: this.$t('public.appVersion.versionNameRequired'), trigger: "blur"}
],
platform: [
- {required: true, message: "平台类型,枚举值包括安卓和iOS不能为空", trigger: "blur"}
+ {required: true, message: this.$t('public.appVersion.platformRequired'), trigger: "blur"}
],
releaseDate: [
- {required: true, message: "发布日期不能为空", trigger: "blur"}
+ {required: true, message: this.$t('public.appVersion.releaseDateRequired'), trigger: "blur"}
],
downloadUrl: [
- {required: true, message: "更新地址不能为空", trigger: "blur"}
+ {required: true, message: this.$t('public.appVersion.downloadUrlRequired'), trigger: "blur"}
],
updateLog: [
- {required: true, message: "更新日志不能为空", trigger: "blur"}
+ {required: true, message: this.$t('public.appVersion.updateLogRequired'), trigger: "blur"}
],
isForceUpdate: [
- {required: true, message: "是否强制更新不能为空", trigger: "blur"}
+ {required: true, message: this.$t('public.appVersion.isForceUpdateRequired'), trigger: "blur"}
],
}
};
@@ -343,14 +339,14 @@ export default {
handleAdd() {
this.reset();
this.open = true;
- this.title = "添加应用程序版本控制";
+ this.title = this.$t('public.appVersion.addTitle');
},
/** 详情按钮操作 */
handleDetail(row) {
this.reset();
this.form = row;
this.detailOpen = true;
- this.title = "应用程序版本控制";
+ this.title = this.$t('public.appVersion.detailTitle');
},
/** 修改按钮操作 */
handleUpdate(row) {
@@ -361,7 +357,7 @@ export default {
this.loading = false;
this.form = response.data;
this.open = true;
- this.title = "修改应用程序版本控制";
+ this.title = this.$t('public.appVersion.editTitle');
});
},
/** 提交按钮 */
@@ -371,7 +367,7 @@ export default {
this.buttonLoading = true;
if (this.form.id != null) {
updateAppVersion(this.form).then(response => {
- this.$modal.msgSuccess("修改成功");
+ this.$modal.msgSuccess(this.$t('common.promptMsg.editSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -379,7 +375,7 @@ export default {
});
} else {
addAppVersion(this.form).then(response => {
- this.$modal.msgSuccess("新增成功");
+ this.$modal.msgSuccess(this.$t('common.promptMsg.addSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -398,7 +394,7 @@ export default {
}).then(() => {
this.loading = false;
this.getList();
- this.$modal.msgSuccess("删除成功");
+ this.$modal.msgSuccess(this.$t('common.promptMsg.deleteSuccess'));
}).catch(() => {
}).finally(() => {
this.loading = false;
diff --git a/src/views/business/behaviorModelInfo/index.vue b/src/views/business/behaviorModelInfo/index.vue
index ca8f46b..ad36af1 100644
--- a/src/views/business/behaviorModelInfo/index.vue
+++ b/src/views/business/behaviorModelInfo/index.vue
@@ -18,8 +18,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -32,7 +32,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:behaviorModelInfo:add']"
- >新增
+ >{{ $t('common.button.add') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
导出
+ >{{ $t('common.button.export') }}
@@ -83,21 +83,21 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -121,8 +121,8 @@
diff --git a/src/views/business/commonFeedback/index.vue b/src/views/business/commonFeedback/index.vue
index c55b307..e06c1fc 100755
--- a/src/views/business/commonFeedback/index.vue
+++ b/src/views/business/commonFeedback/index.vue
@@ -16,27 +16,27 @@
:default-time="['00:00:00', '23:59:59']">
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
新增
+ v-hasPermi="['business:commonFeedback:add']">{{ $t('common.button.add') }}
修改
+ v-hasPermi="['business:commonFeedback:edit']">{{ $t('common.button.edit') }}
删除
+ v-hasPermi="['business:commonFeedback:remove']">{{ $t('common.button.delete') }}
导出
+ v-hasPermi="['business:commonFeedback:export']">{{ $t('common.button.export') }}
@@ -61,11 +61,11 @@
- 详情
+ {{ $t('common.button.detail') }}
修改
+ v-hasPermi="['business:commonFeedback:edit']">{{ $t('common.button.edit') }}
删除
+ v-hasPermi="['business:commonFeedback:remove']">{{ $t('common.button.delete') }}
@@ -90,8 +90,8 @@
diff --git a/src/views/business/commonInfo/index.vue b/src/views/business/commonInfo/index.vue
index b260e95..8c02f4b 100755
--- a/src/views/business/commonInfo/index.vue
+++ b/src/views/business/commonInfo/index.vue
@@ -1,84 +1,84 @@
-
-
+
+
-
+
-
-
+
+
-
+
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
新增
+ v-hasPermi="['business:commonInfo:add']">{{ $t('common.button.add') }}
修改
+ v-hasPermi="['business:commonInfo:edit']">{{ $t('common.button.edit') }}
删除
+ v-hasPermi="['business:commonInfo:remove']">{{ $t('common.button.delete') }}
导出
+ v-hasPermi="['business:commonInfo:export']">{{ $t('common.button.export') }}
-
-
-
+
+
+
{{ parseTime(scope.row.releaseDate, '{y}-{m}-{d}') }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
- 正常
- 停用
+ {{$t('common.dict.normal')}}
+ {{ $t('common.dict.disabled')}}
-
+
{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
-
+
- 详情
+ {{ $t('common.button.detail') }}
修改
+ v-hasPermi="['business:commonInfo:edit']">{{ $t('common.button.edit') }}
删除
+ v-hasPermi="['business:commonInfo:remove']">{{ $t('common.button.delete') }}
@@ -89,97 +89,89 @@
-
-
+
+
-
+
+ :placeholder="$t('public.commonInfo.releaseDatePlaceholder')">
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
{{form.version}}
-
+
+ :placeholder="$t('public.commonInfo.releaseDatePlaceholder')">
-
+
{{form.privacyPolicy}}
-
-
+
{{form.privacySetting}}
-
-
+
{{form.featureDesc}}
-
-
+
{{form.techDesc}}
-
-
+
{{form.userAgreement}}
-
-
+
{{form.disclaimer}}
-
-
+
{{form.about}}
-
+
{{form.shareInfoList}}
-
-
+
{{form.collectInfoList}}
-
@@ -322,14 +314,14 @@
handleAdd() {
this.reset();
this.open = true;
- this.title = "添加关于信息";
+ this.title = this.$t('public.commonInfo.addTitle');
},
/** 详情按钮操作 */
handleDetail(row) {
this.reset();
this.form = row;
this.detailOpen = true;
- this.title = "关于信息";
+ this.title = this.$t('public.commonInfo.detailTitle');
},
/** 修改按钮操作 */
handleUpdate(row) {
@@ -340,7 +332,7 @@
this.loading = false;
this.form = response.data;
this.open = true;
- this.title = "修改关于信息";
+ this.title = this.$t('public.commonInfo.editTitle');
});
},
/** 提交按钮 */
@@ -350,7 +342,7 @@
this.buttonLoading = true;
if (this.form.id != null) {
updateCommonInfo(this.form).then(response => {
- this.$modal.msgSuccess("修改成功");
+ this.$modal.msgSuccess(this.$t('common.promptMsg.editSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -358,7 +350,7 @@
});
} else {
addCommonInfo(this.form).then(response => {
- this.$modal.msgSuccess("新增成功");
+ this.$modal.msgSuccess(this.$t('common.promptMsg.addSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -377,7 +369,7 @@
}).then(() => {
this.loading = false;
this.getList();
- this.$modal.msgSuccess("删除成功");
+ this.$modal.msgSuccess(this.$t('common.promptMsg.deleteSuccess'));
}).catch(() => {}).finally(() => {
this.loading = false;
});
diff --git a/src/views/business/commonNotify/index.vue b/src/views/business/commonNotify/index.vue
index d75ca6e..83863d2 100755
--- a/src/views/business/commonNotify/index.vue
+++ b/src/views/business/commonNotify/index.vue
@@ -1,80 +1,74 @@
-
+
-
-
-
+
+
-
-
+
-
-
+
+
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
新增
-
+ v-hasPermi="['business:commonNotify:add']">{{ $t('common.button.add') }}
修改
-
+ v-hasPermi="['business:commonNotify:edit']">{{ $t('common.button.edit') }}
删除
-
+ v-hasPermi="['business:commonNotify:remove']">{{ $t('common.button.delete') }}
导出
-
+ v-hasPermi="['business:commonNotify:export']">{{ $t('common.button.export') }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
- 正常
- 封禁
+ {{ $t('common.dict.normal') }}
+ {{ $t('common.dict.blocked') }}
-
+
- 详情
+ {{ $t('common.button.detail') }}
修改
-
+ v-hasPermi="['business:commonNotify:edit']">{{ $t('common.button.edit') }}
删除
-
+ v-hasPermi="['business:commonNotify:remove']">{{ $t('common.button.delete') }}
@@ -85,58 +79,70 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+ {{ $t('public.commonNotify.uploadButton') }}
+ {{ $t('public.commonNotify.uploadTip') }}
+
-
+
{{ form.eventId }}
-
+
{{ form.messageScene }}
-
+
{{ form.sender }}
-
+
{{ form.receiver }}
-
+
{{ form.title }}
-
+
@@ -201,7 +207,9 @@ export default {
// 表单参数
form: {},
// 表单校验
- rules: {}
+ rules: {},
+ // 文件列表
+ fileList: []
};
},
created() {
@@ -264,14 +272,15 @@ export default {
handleAdd() {
this.reset();
this.open = true;
- this.title = "添加消息通知";
+ this.title = this.$t('public.commonNotify.addTitle');
},
/** 详情按钮操作 */
handleDetail(row) {
this.reset();
this.form = row;
this.detailOpen = true;
- this.title = "消息通知";
+ this.title = this.$t('public.commonNotify.detailTitle');
+
},
/** 修改按钮操作 */
handleUpdate(row) {
@@ -282,7 +291,7 @@ export default {
this.loading = false;
this.form = response.data;
this.open = true;
- this.title = "修改消息通知";
+ this.title = this.$t('public.commonNotify.editTitle');
});
},
/** 提交按钮 */
@@ -292,7 +301,7 @@ export default {
this.buttonLoading = true;
if (this.form.id != null) {
updateCommonNotify(this.form).then(response => {
- this.$modal.msgSuccess("修改成功");
+ this.$modal.msgSuccess(this.$t('common.promptMsg.editSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -300,7 +309,7 @@ export default {
});
} else {
addCommonNotify(this.form).then(response => {
- this.$modal.msgSuccess("新增成功");
+ this.$modal.msgSuccess(this.$t('common.promptMsg.addSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -319,7 +328,7 @@ export default {
}).then(() => {
this.loading = false;
this.getList();
- this.$modal.msgSuccess("删除成功");
+ this.$modal.msgSuccess(this.$t('common.promptMsg.deleteSuccess'));
}).catch(() => {
}).finally(() => {
this.loading = false;
@@ -330,6 +339,18 @@ export default {
this.download('business/commonNotify/export', {
...this.queryParams
}, `commonNotify_${new Date().getTime()}.xlsx`)
+ },
+ handlePreview(file) {
+ console.log(file);
+ },
+ handleRemove(file, fileList) {
+ console.log(file, fileList);
+ },
+ handleExceed(files, fileList) {
+ this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
+ },
+ beforeRemove(file) {
+ return this.$confirm(`确定移除 ${file.name}?`);
}
}
};
diff --git a/src/views/business/creditRule/index.vue b/src/views/business/creditRule/index.vue
index 85c7e5a..77321ca 100644
--- a/src/views/business/creditRule/index.vue
+++ b/src/views/business/creditRule/index.vue
@@ -74,8 +74,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -88,7 +88,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:creditRule:add']"
- >新增
+ >{{ $t('common.button.add') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
导出
+ >{{ $t('common.button.export') }}
@@ -149,26 +149,9 @@
- 详情
- 修改
- 删除
+ {{ $t('common.button.detail') }}
+ {{ $t('common.button.edit') }}
+ {{ $t('common.button.delete') }}
@@ -223,8 +206,8 @@
@@ -271,7 +254,7 @@
diff --git a/src/views/business/customerServiceChat/index.vue b/src/views/business/customerServiceChat/index.vue
index d79659c..0889888 100644
--- a/src/views/business/customerServiceChat/index.vue
+++ b/src/views/business/customerServiceChat/index.vue
@@ -40,8 +40,8 @@
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -54,8 +54,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:customerServiceChat:add']"
- >新增
-
+ >{{ $t('common.button.add') }}
修改
-
+ >{{ $t('common.button.edit') }}
删除
-
+ >{{ $t('common.button.delete') }}
导出
-
+ >{{ $t('common.button.export') }}
@@ -110,29 +106,9 @@
- 详情
-
- 修改
-
- 删除
-
+ {{ $t('common.button.detail') }}
+ {{ $t('common.button.edit') }}
+ {{ $t('common.button.delete') }}
@@ -170,8 +146,8 @@
@@ -201,7 +177,7 @@
diff --git a/src/views/business/dealPayment/index.vue b/src/views/business/dealPayment/index.vue
index 98479a4..1d02b58 100644
--- a/src/views/business/dealPayment/index.vue
+++ b/src/views/business/dealPayment/index.vue
@@ -50,57 +50,23 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
- 新增
-
+ {{ $t('common.button.add') }}
- 修改
-
+ {{ $t('common.button.edit') }}
- 删除
-
+ {{ $t('common.button.delete') }}
- 导出
-
+ {{ $t('common.button.export') }}
@@ -122,29 +88,9 @@
- 详情
-
- 修改
-
- 删除
-
+ {{ $t('common.button.detail') }}
+ {{ $t('common.button.edit') }}
+ {{ $t('common.button.delete') }}
@@ -192,8 +138,8 @@
@@ -232,7 +178,7 @@
diff --git a/src/views/business/dealProxy/index.vue b/src/views/business/dealProxy/index.vue
index 739b3f7..8df9106 100644
--- a/src/views/business/dealProxy/index.vue
+++ b/src/views/business/dealProxy/index.vue
@@ -34,8 +34,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -48,7 +48,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:dealProxy:add']"
- >新增
+ >{{ $t('common.button.add') }}
@@ -60,7 +60,7 @@
:disabled="single"
@click="handleUpdate"
v-hasPermi="['business:dealProxy:edit']"
- >修改
+ >{{ $t('common.button.edit') }}
@@ -72,7 +72,7 @@
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['business:dealProxy:remove']"
- >删除
+ >{{ $t('common.button.delete') }}
@@ -83,7 +83,7 @@
size="mini"
@click="handleExport"
v-hasPermi="['business:dealProxy:export']"
- >导出
+ >{{ $t('common.button.export') }}
@@ -109,7 +109,7 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -165,8 +165,8 @@
@@ -199,7 +199,7 @@
diff --git a/src/views/business/dealReceipt/index.vue b/src/views/business/dealReceipt/index.vue
index c65b83b..6de6521 100644
--- a/src/views/business/dealReceipt/index.vue
+++ b/src/views/business/dealReceipt/index.vue
@@ -50,8 +50,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -64,8 +64,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:dealReceipt:add']"
- >新增
-
+ >{{ $t('common.button.add') }}
修改
-
+ >{{ $t('common.button.edit') }}
删除
-
+ >{{ $t('common.button.delete') }}
导出
-
+ >{{ $t('common.button.export') }}
@@ -122,29 +118,9 @@
- 详情
-
- 修改
-
- 删除
-
+ {{ $t('common.button.detail') }}
+ {{ $t('common.button.edit') }}
+ {{ $t('common.button.delete') }}
@@ -189,8 +165,8 @@
@@ -229,7 +205,7 @@
diff --git a/src/views/business/dealRecharge/index.vue b/src/views/business/dealRecharge/index.vue
index 32edc50..db970bf 100644
--- a/src/views/business/dealRecharge/index.vue
+++ b/src/views/business/dealRecharge/index.vue
@@ -42,22 +42,14 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
- 新增
-
+ {{ $t('common.button.add') }}
修改
-
+ >{{ $t('common.button.edit') }}
删除
-
+ >{{ $t('common.button.delete') }}
导出
-
+ >{{ $t('common.button.export') }}
@@ -112,29 +101,9 @@
- 详情
-
- 修改
-
- 删除
-
+ {{ $t('common.button.detail') }}
+ {{ $t('common.button.edit') }}
+ {{ $t('common.button.delete') }}
@@ -179,8 +148,8 @@
@@ -216,7 +185,7 @@
diff --git a/src/views/business/dealTransfer/index.vue b/src/views/business/dealTransfer/index.vue
index df18caa..e54cbfc 100755
--- a/src/views/business/dealTransfer/index.vue
+++ b/src/views/business/dealTransfer/index.vue
@@ -50,8 +50,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -64,7 +64,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:dealTransfer:add']"
- >新增
+ >{{ $t('common.button.add') }}
@@ -76,7 +76,7 @@
:disabled="single"
@click="handleUpdate"
v-hasPermi="['business:dealTransfer:edit']"
- >修改
+ >{{ $t('common.button.edit') }}
@@ -88,7 +88,7 @@
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['business:dealTransfer:remove']"
- >删除
+ >{{ $t('common.button.delete') }}
@@ -99,7 +99,7 @@
size="mini"
@click="handleExport"
v-hasPermi="['business:dealTransfer:export']"
- >导出
+ >{{ $t('common.button.export') }}
@@ -126,7 +126,7 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -188,8 +188,8 @@
diff --git a/src/views/business/dealWithdrawal/index.vue b/src/views/business/dealWithdrawal/index.vue
index cc8a8bb..09f25a3 100644
--- a/src/views/business/dealWithdrawal/index.vue
+++ b/src/views/business/dealWithdrawal/index.vue
@@ -26,8 +26,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -40,7 +40,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:dealWithdrawal:add']"
- >新增
+ >{{ $t('common.button.add') }}
@@ -52,7 +52,7 @@
:disabled="single"
@click="handleUpdate"
v-hasPermi="['business:dealWithdrawal:edit']"
- >修改
+ >{{ $t('common.button.edit') }}
@@ -64,7 +64,7 @@
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['business:dealWithdrawal:remove']"
- >删除
+ >{{ $t('common.button.delete') }}
@@ -75,7 +75,7 @@
size="mini"
@click="handleExport"
v-hasPermi="['business:dealWithdrawal:export']"
- >导出
+ >{{ $t('common.button.export') }}
@@ -100,7 +100,7 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -159,8 +159,8 @@
@@ -193,7 +193,7 @@
diff --git a/src/views/business/faq/index.vue b/src/views/business/faq/index.vue
index 901ade9..edf42ee 100644
--- a/src/views/business/faq/index.vue
+++ b/src/views/business/faq/index.vue
@@ -40,8 +40,8 @@
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -54,7 +54,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:faq:add']"
- >新增
+ >{{ $t('common.button.add') }}
@@ -66,7 +66,7 @@
:disabled="single"
@click="handleUpdate"
v-hasPermi="['business:faq:edit']"
- >修改
+ >{{ $t('common.button.edit') }}
@@ -78,7 +78,7 @@
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['business:faq:remove']"
- >删除
+ >{{ $t('common.button.delete') }}
@@ -89,7 +89,7 @@
size="mini"
@click="handleExport"
v-hasPermi="['business:faq:export']"
- >导出
+ >{{ $t('common.button.export') }}
@@ -109,7 +109,7 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -172,8 +172,8 @@
@@ -191,7 +191,7 @@
diff --git a/src/views/business/feeRecord/index.vue b/src/views/business/feeRecord/index.vue
index cfa447c..45d9468 100644
--- a/src/views/business/feeRecord/index.vue
+++ b/src/views/business/feeRecord/index.vue
@@ -34,8 +34,8 @@
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -48,7 +48,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:feeRecord:add']"
- >新增
+ >{{ $t('common.button.add') }}
@@ -60,7 +60,7 @@
:disabled="single"
@click="handleUpdate"
v-hasPermi="['business:feeRecord:edit']"
- >修改
+ >{{ $t('common.button.edit') }}
@@ -72,7 +72,7 @@
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['business:feeRecord:remove']"
- >删除
+ >{{ $t('common.button.delete') }}
@@ -83,7 +83,7 @@
size="mini"
@click="handleExport"
v-hasPermi="['business:feeRecord:export']"
- >导出
+ >{{ $t('common.button.export') }}
@@ -113,7 +113,7 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -177,8 +177,8 @@
diff --git a/src/views/business/feeStandard/index.vue b/src/views/business/feeStandard/index.vue
index a804202..19cf244 100644
--- a/src/views/business/feeStandard/index.vue
+++ b/src/views/business/feeStandard/index.vue
@@ -10,8 +10,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -24,7 +24,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:feeStandard:add']"
- >新增
+ >{{ $t('common.button.add') }}
@@ -36,7 +36,7 @@
:disabled="single"
@click="handleUpdate"
v-hasPermi="['business:feeStandard:edit']"
- >修改
+ >{{ $t('common.button.edit') }}
@@ -48,7 +48,7 @@
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['business:feeStandard:remove']"
- >删除
+ >{{ $t('common.button.delete') }}
@@ -59,7 +59,7 @@
size="mini"
@click="handleExport"
v-hasPermi="['business:feeStandard:export']"
- >导出
+ >{{ $t('common.button.export') }}
@@ -82,7 +82,7 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -132,8 +132,8 @@
@@ -158,7 +158,7 @@
diff --git a/src/views/business/financialRecord/index.vue b/src/views/business/financialRecord/index.vue
index afdbdbc..2e6cb3f 100644
--- a/src/views/business/financialRecord/index.vue
+++ b/src/views/business/financialRecord/index.vue
@@ -50,8 +50,8 @@
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -64,7 +64,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:financialRecord:add']"
- >新增
+ >{{ $t('common.button.add') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
导出
+ >{{ $t('common.button.export') }}
@@ -123,21 +123,21 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -178,8 +178,8 @@
@@ -200,7 +200,6 @@
{{form.description}}
-
diff --git a/src/views/business/merchantVerification/index.vue b/src/views/business/merchantVerification/index.vue
index 7998f68..018b87a 100644
--- a/src/views/business/merchantVerification/index.vue
+++ b/src/views/business/merchantVerification/index.vue
@@ -74,8 +74,8 @@
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -88,8 +88,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:merchantVerification:add']"
- >新增
-
+ >{{ $t('common.button.add') }}
修改
-
+ >{{ $t('common.button.edit') }}
删除
-
+ >{{ $t('common.button.delete') }}
导出
-
+ >{{ $t('common.button.export') }}
@@ -165,24 +161,21 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
-
+ >{{ $t('common.button.detail') }}
修改
-
+ >{{ $t('common.button.edit') }}
删除
-
+ >{{ $t('common.button.delete') }}
@@ -244,8 +237,8 @@
@@ -298,7 +291,7 @@
diff --git a/src/views/business/recordPayCallback/index.vue b/src/views/business/recordPayCallback/index.vue
index 249ba6f..e0b1fed 100644
--- a/src/views/business/recordPayCallback/index.vue
+++ b/src/views/business/recordPayCallback/index.vue
@@ -42,8 +42,8 @@
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -56,8 +56,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:recordPayCallback:add']"
- >新增
-
+ >{{ $t('common.button.add') }}
修改
-
+ >{{ $t('common.button.edit') }}
删除
-
+ >{{ $t('common.button.delete') }}
导出
-
+ >{{ $t('common.button.export') }}
@@ -123,24 +119,21 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
-
+ >{{ $t('common.button.detail') }}
修改
-
+ >{{ $t('common.button.edit') }}
删除
-
+ >{{ $t('common.button.delete') }}
@@ -190,8 +183,8 @@
@@ -232,7 +225,7 @@
diff --git a/src/views/business/recordTransaction/index.vue b/src/views/business/recordTransaction/index.vue
index 23e31d5..fecc1b4 100755
--- a/src/views/business/recordTransaction/index.vue
+++ b/src/views/business/recordTransaction/index.vue
@@ -42,8 +42,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -56,8 +56,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:recordTransaction:add']"
- >新增
-
+ >{{ $t('common.button.add') }}
修改
-
+ >{{ $t('common.button.detail') }}
删除
-
+ >{{ $t('common.button.edit') }}
导出
-
+ >{{ $t('common.button.export') }}
@@ -118,7 +114,7 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -180,8 +176,8 @@
@@ -217,7 +213,7 @@
diff --git a/src/views/business/tradingChannel/index.vue b/src/views/business/tradingChannel/index.vue
index e73ccd9..080cbb5 100644
--- a/src/views/business/tradingChannel/index.vue
+++ b/src/views/business/tradingChannel/index.vue
@@ -50,8 +50,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -64,7 +64,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:tradingChannel:add']"
- >新增
+ >{{ $t('common.button.add') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
导出
+ >{{ $t('common.button.export') }}
@@ -120,21 +120,21 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -176,8 +176,8 @@
@@ -210,7 +210,7 @@
diff --git a/src/views/business/tradingChannelRecord/index.vue b/src/views/business/tradingChannelRecord/index.vue
index c1aded6..aff1b85 100644
--- a/src/views/business/tradingChannelRecord/index.vue
+++ b/src/views/business/tradingChannelRecord/index.vue
@@ -42,8 +42,8 @@
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -56,8 +56,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:tradingChannelRecord:add']"
- >新增
-
+ >{{ $t('common.button.add') }}
修改
-
+ >{{ $t('common.button.edit') }}
删除
-
+ >{{ $t('common.button.delete') }}
导出
-
+ >{{ $t('common.button.export') }}
@@ -120,24 +116,21 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
-
+ >{{ $t('common.button.detail') }}
修改
-
+ >{{ $t('common.button.edit') }}
删除
-
+ >{{ $t('common.button.delete') }}
@@ -184,8 +177,8 @@
@@ -224,7 +217,7 @@
diff --git a/src/views/business/userAccount/index.vue b/src/views/business/userAccount/index.vue
index 86233c7..f136d2a 100755
--- a/src/views/business/userAccount/index.vue
+++ b/src/views/business/userAccount/index.vue
@@ -4,33 +4,33 @@
-
+
- {{ $t('common.search') }}
- {{ $t('common.reset') }}
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
{{ $t('common.add') }}
+ v-hasPermi="['business:userAccount:add']">{{ $t('common.button.add') }}
{{ $t('common.edit') }}
+ v-hasPermi="['business:userAccount:edit']">{{ $t('common.button.edit') }}
{{ $t('common.delete') }}
+ v-hasPermi="['business:userAccount:remove']">{{ $t('common.button.delete') }}
{{ $t('common.export') }}
+ v-hasPermi="['business:userAccount:export']">{{ $t('common.button.export') }}
@@ -47,13 +47,13 @@
{{ $t('business.userAccount.statusFrozen') }}
-
+
- {{ $t('common.detail') }}
+ {{ $t('common.button.detail') }}
{{ $t('common.edit') }}
+ v-hasPermi="['business:userAccount:edit']">{{ $t('common.button.edit') }}
{{ $t('common.delete') }}
+ v-hasPermi="['business:userAccount:remove']">{{ $t('common.button.delete') }}
@@ -78,8 +78,8 @@
@@ -100,7 +100,7 @@
@@ -260,7 +260,7 @@
this.buttonLoading = true;
if (this.form.id != null) {
updateUserAccount(this.form).then(response => {
- this.$modal.msgSuccess(this.$t('common.updateSuccess'));
+ this.$modal.msgSuccess(this.$t('common.button.updateSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -268,7 +268,7 @@
});
} else {
addUserAccount(this.form).then(response => {
- this.$modal.msgSuccess(this.$t('common.addSuccess'));
+ this.$modal.msgSuccess(this.$t('common.button.addSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -281,13 +281,13 @@
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
- this.$modal.confirm(this.$t('common.deleteConfirm')).then(() => {
+ this.$modal.confirm(this.$t('common.button.deleteConfirm')).then(() => {
this.loading = true;
return delUserAccount(ids);
}).then(() => {
this.loading = false;
this.getList();
- this.$modal.msgSuccess(this.$t('common.deleteSuccess'));
+ this.$modal.msgSuccess(this.$t('common.button.deleteSuccess'));
}).catch(() => {}).finally(() => {
this.loading = false;
});
diff --git a/src/views/business/userBehaviorLog/index.vue b/src/views/business/userBehaviorLog/index.vue
index 4255abe..0d8687b 100644
--- a/src/views/business/userBehaviorLog/index.vue
+++ b/src/views/business/userBehaviorLog/index.vue
@@ -44,8 +44,8 @@
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -58,7 +58,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:userBehaviorLog:add']"
- >新增
+ >{{ $t('common.button.add') }}
@@ -70,7 +70,7 @@
:disabled="single"
@click="handleUpdate"
v-hasPermi="['business:userBehaviorLog:edit']"
- >修改
+ >{{ $t('common.button.edit') }}
@@ -82,7 +82,7 @@
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['business:userBehaviorLog:remove']"
- >删除
+ >{{ $t('common.button.delete') }}
@@ -93,7 +93,7 @@
size="mini"
@click="handleExport"
v-hasPermi="['business:userBehaviorLog:export']"
- >导出
+ >{{ $t('common.button.export') }}
@@ -120,7 +120,7 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -173,8 +173,8 @@
@@ -201,7 +201,7 @@
diff --git a/src/views/business/userBehaviorRuleAction/index.vue b/src/views/business/userBehaviorRuleAction/index.vue
index 9d91f5a..bbf46a9 100644
--- a/src/views/business/userBehaviorRuleAction/index.vue
+++ b/src/views/business/userBehaviorRuleAction/index.vue
@@ -18,8 +18,11 @@
/>
- 搜索
- 重置
+ {{
+ $t('common.button.search')
+ }}
+
+ {{ $t('common.button.reset') }}
@@ -32,7 +35,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:userBehaviorRuleAction:add']"
- >新增
+ >{{ $t('common.button.add') }}
@@ -44,7 +47,7 @@
:disabled="single"
@click="handleUpdate"
v-hasPermi="['business:userBehaviorRuleAction:edit']"
- >修改
+ >{{ $t('common.button.edit') }}
@@ -56,7 +59,7 @@
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['business:userBehaviorRuleAction:remove']"
- >删除
+ >{{ $t('common.button.delete') }}
@@ -67,7 +70,7 @@
size="mini"
@click="handleExport"
v-hasPermi="['business:userBehaviorRuleAction:export']"
- >导出
+ >{{ $t('common.button.export') }}
@@ -86,7 +89,7 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -119,16 +122,27 @@
-
+
+
+
+
+
+
+
+
+
@@ -141,12 +155,15 @@
{{ form.riskRuleId }}
+
+ {{ form.actionType }}
+
{{ form.description }}
diff --git a/src/views/business/userBehaviorRuleRisk/index.vue b/src/views/business/userBehaviorRuleRisk/index.vue
index eaf17ae..3035912 100644
--- a/src/views/business/userBehaviorRuleRisk/index.vue
+++ b/src/views/business/userBehaviorRuleRisk/index.vue
@@ -32,8 +32,8 @@
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -46,7 +46,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:userBehaviorRuleRisk:add']"
- >新增
+ >{{ $t('common.button.add') }}
@@ -58,7 +58,7 @@
:disabled="single"
@click="handleUpdate"
v-hasPermi="['business:userBehaviorRuleRisk:edit']"
- >修改
+ >{{ $t('common.button.edit') }}
@@ -70,7 +70,7 @@
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['business:userBehaviorRuleRisk:remove']"
- >删除
+ >{{ $t('common.button.delete') }}
@@ -81,7 +81,7 @@
size="mini"
@click="handleExport"
v-hasPermi="['business:userBehaviorRuleRisk:export']"
- >导出
+ >{{ $t('common.button.export') }}
@@ -103,7 +103,7 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -150,8 +150,8 @@
@@ -173,7 +173,7 @@
diff --git a/src/views/business/userBehaviorStats/index.vue b/src/views/business/userBehaviorStats/index.vue
index d39d18a..a7b9c62 100644
--- a/src/views/business/userBehaviorStats/index.vue
+++ b/src/views/business/userBehaviorStats/index.vue
@@ -50,8 +50,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -64,7 +64,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:userBehaviorStats:add']"
- >新增
+ >{{ $t('common.button.add') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
导出
+ >{{ $t('common.button.export') }}
@@ -124,21 +124,21 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -179,8 +179,8 @@
@@ -212,7 +212,7 @@
diff --git a/src/views/business/userCard/index.vue b/src/views/business/userCard/index.vue
index ff9e8b7..644e7b4 100755
--- a/src/views/business/userCard/index.vue
+++ b/src/views/business/userCard/index.vue
@@ -26,8 +26,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -40,7 +40,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:userCard:add']"
- >新增
+ >{{ $t('common.button.add') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
导出
+ >{{ $t('common.button.export') }}
@@ -89,21 +89,21 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -130,8 +130,8 @@
@@ -149,7 +149,7 @@
diff --git a/src/views/business/userCredit/index.vue b/src/views/business/userCredit/index.vue
index fad844b..92ca1fc 100644
--- a/src/views/business/userCredit/index.vue
+++ b/src/views/business/userCredit/index.vue
@@ -26,8 +26,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -40,7 +40,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:userCredit:add']"
- >新增
+ >{{ $t('common.button.add') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
导出
+ >{{ $t('common.button.export') }}
@@ -89,21 +89,21 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -130,8 +130,8 @@
@@ -149,7 +149,7 @@
diff --git a/src/views/business/userCreditRecord/index.vue b/src/views/business/userCreditRecord/index.vue
index ecf9828..8e84c9e 100644
--- a/src/views/business/userCreditRecord/index.vue
+++ b/src/views/business/userCreditRecord/index.vue
@@ -34,8 +34,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -48,7 +48,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:userCreditRecord:add']"
- >新增
+ >{{ $t('common.button.add') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
导出
+ >{{ $t('common.button.export') }}
@@ -99,21 +99,21 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -145,9 +145,9 @@
-
diff --git a/src/views/business/userFriend/index.vue b/src/views/business/userFriend/index.vue
index 0f169e8..1ac2cd4 100755
--- a/src/views/business/userFriend/index.vue
+++ b/src/views/business/userFriend/index.vue
@@ -18,8 +18,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -32,7 +32,7 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:userFriend:add']"
- >新增
+ >{{ $t('common.button.add') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
导出
+ >{{ $t('common.button.export') }}
@@ -81,21 +81,21 @@
type="text"
icon="el-icon-view"
@click="handleDetail(scope.row)"
- >详情
+ >{{ $t('common.button.detail') }}
修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -119,8 +119,8 @@
@@ -135,7 +135,7 @@
diff --git a/src/views/business/userInfo/index.vue b/src/views/business/userInfo/index.vue
index e117d57..2925098 100755
--- a/src/views/business/userInfo/index.vue
+++ b/src/views/business/userInfo/index.vue
@@ -1,63 +1,63 @@
-
-
+
+
-
-
+
+
-
-
+
+
- {{ $t('common.search') }}
- {{ $t('common.reset') }}
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
{{ $t('common.edit') }}
+ v-hasPermi="['business:userInfo:edit']">{{ $t('common.button.edit') }}
{{ $t('common.delete') }}
+ v-hasPermi="['business:userInfo:remove']">{{ $t('common.button.delete') }}
{{ $t('common.export') }}
+ v-hasPermi="['business:userInfo:export']">{{ $t('common.button.export') }}
-
-
-
+
+
+
- 男
- 女
+ {{ $t('common.dic.male') }}
+ {{ $t('common.dic.female') }}
-
-
-
-
-
+
+
+
+
+
- {{ $t('business.userInfo.statusNormal') }}
- {{ $t('business.userInfo.statusDisabled') }}
+ {{ $t('userManager.userInfo.statusNormal') }}
+ {{ $t('userManager.userInfo.statusDisabled') }}
-
+
{{ $t('common.edit') }}
+ v-hasPermi="['business:userInfo:edit']">{{ $t('common.button.edit') }}
{{ $t('common.delete') }}
+ v-hasPermi="['business:userInfo:remove']">{{ $t('common.button.delete') }}
@@ -68,62 +68,62 @@
-
-
+
+
-
-
-
-
-
-
+
+
+ {{ $t('common.dic.male') }}
+ {{ $t('common.dic.female') }}
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
{{form.userCode}}
-
+
{{form.name}}
-
+
{{form.gender}}
-
+
{{form.idCard}}
-
+
{{form.phone}}
-
+
{{form.age}}
-
+
{{form.addr}}
@@ -188,22 +188,22 @@
// 表单校验
rules: {
name: [
- { required: true, message: "姓名不能为空", trigger: "blur" }
+ { required: true, message: this.$t('userManager.userInfo.nameRequired'), trigger: "blur" }
],
gender: [
- { required: true, message: "性别不能为空", trigger: "blur" }
+ { required: true, message: $t('userManager.userInfo.genderRequired'), trigger: "blur" }
],
idCard: [
- { required: true, message: "身份证号不能为空", trigger: "blur" }
+ { required: true, message: this.$t('userManager.userInfo.idCardRequired'), trigger: "blur" }
],
phone: [
- { required: true, message: "用户电话", trigger: "blur" }
+ { required: true, message: this.$t('userManager.userInfo.phoneRequired'), trigger: "blur" }
],
age: [
- { required: true, message: "用户年龄", trigger: "blur" }
+ { required: true, message: this.$t('userManager.userInfo.ageRequired'), trigger: "blur" }
],
addr: [
- { required: true, message: "用户地址", trigger: "change" }
+ { required: true, message: this.$t('userManager.userInfo.addrRequired'), trigger: "change" }
]
}
};
@@ -274,7 +274,7 @@
handleAdd() {
this.reset();
this.open = true;
- this.title = this.$t('business.userInfo.addTitle');
+ this.title = this.$t('userManager.userInfo.addTitle');
},
/** 修改按钮操作 */
handleUpdate(row) {
@@ -285,7 +285,7 @@
this.loading = false;
this.form = response.data;
this.open = true;
- this.title = this.$t('business.userInfo.editTitle');
+ this.title = this.$t('userManager.userInfo.editTitle');
});
},
/** 提交按钮 */
@@ -295,7 +295,7 @@
this.buttonLoading = true;
if (this.form.id != null) {
updateUserInfo(this.form).then(response => {
- this.$modal.msgSuccess(this.$t('common.editSuccess'));
+ this.$modal.msgSuccess(this.$t('common.button.editSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -303,7 +303,7 @@
});
} else {
addUserInfo(this.form).then(response => {
- this.$modal.msgSuccess(this.$t('common.addSuccess'));
+ this.$modal.msgSuccess(this.$t('common.button.addSuccess'));
this.open = false;
this.getList();
}).finally(() => {
@@ -316,13 +316,13 @@
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
- this.$modal.confirm(this.$t('common.deleteConfirm')).then(() => {
+ this.$modal.confirm(this.$t('common.button.deleteConfirm')).then(() => {
this.loading = true;
return delUserInfo(ids);
}).then(() => {
this.loading = false;
this.getList();
- this.$modal.msgSuccess(this.$t('common.deleteSuccess'));
+ this.$modal.msgSuccess(this.$t('common.button.deleteSuccess'));
}).catch(() => {}).finally(() => {
this.loading = false;
});
diff --git a/src/views/business/userInfoBus/index.vue b/src/views/business/userInfoBus/index.vue
index e1bd970..6155caa 100644
--- a/src/views/business/userInfoBus/index.vue
+++ b/src/views/business/userInfoBus/index.vue
@@ -25,8 +25,8 @@
/>
- 搜索
- 重置
+ {{ $t('common.button.search') }}
+ {{ $t('common.button.reset') }}
@@ -40,7 +40,7 @@
:disabled="single"
@click="handleUpdate"
v-hasPermi="['business:userInfoBus:edit']"
- >修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
导出
+ >{{ $t('common.button.export') }}
@@ -82,14 +82,14 @@
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['business:userInfoBus:edit']"
- >修改
+ >{{ $t('common.button.edit') }}
删除
+ >{{ $t('common.button.delete') }}
@@ -129,8 +129,8 @@
@@ -154,7 +154,7 @@
diff --git a/src/views/business/userRegister/index.vue b/src/views/business/userRegister/index.vue
index b0487ff..d5a9a20 100755
--- a/src/views/business/userRegister/index.vue
+++ b/src/views/business/userRegister/index.vue
@@ -1,24 +1,24 @@
-
+
-
+
-
-
+
+
- 搜索
- 重置
+ {{
+ $t('common.button.search')
+ }}
+
+ {{ $t('common.button.reset') }}
@@ -42,7 +45,8 @@
size="mini"
@click="handleAdd"
v-hasPermi="['business:userRegister:add']"
- >新增
+ >{{ $t('common.button.add') }}
+
修改
+ >{{ $t('common.button.edit') }}
+
删除
+ >{{ $t('common.button.delete') }}
+
导出
+ >{{ $t('common.button.export') }}
+
-
-
-
+
+
+
- 发起
- 拒绝
- 通过
- 冻结
+ {{ $t('userManager.userRegister.statusInit') }}
+ {{ $t('userManager.userRegister.statusReject') }}
+ {{ $t('userManager.userRegister.statusPass') }}
+ {{ $t('userManager.userRegister.statusFreeze') }}
-
+
- 普通用户
- 商企用户
+ {{ $t('userManager.userRegister.normalUser') }}
+ {{ $t('userManager.userRegister.businessUser') }}
-
+
- 普通用户
- VIP用户
- 商企用户
+ {{ $t('userManager.userRegister.normalUser') }}
+ {{ $t('userManager.userRegister.vipUser') }}
+ {{ $t('userManager.userRegister.businessUser') }}
-
-
+
+
{{ scope.row.addressInfo }}
{{ scope.row.address }}
-
+
补充
+ size="mini"
+ type="text"
+ icon="el-icon-document-add"
+ @click="handleAddInfo(scope.row)"
+ >{{ $t('business.userManage.supplement') }}
+
详情
+ size="mini"
+ type="text"
+ icon="el-icon-view"
+ @click="handleDetail(scope.row)"
+ >{{ $t('common.button.detail') }}
+
修改
+ >{{ $t('common.button.edit') }}
+
- 更多
+ {{ $t('common.button.more') }}
+
@@ -142,24 +153,27 @@
type="text"
icon="el-icon-refresh"
@click="passwordReset(scope.row)"
- v-hasPermi="['business:userRegister:edit']"
- >密码重置
+ v-hasPermi="['business:userRegister:edit']">
+ {{ $t('business.userManage.passwordReset') }}
+
账号冻结
+ size="mini"
+ type="text"
+ icon="el-icon-lock"
+ @click="accountLock(scope.row)"
+ v-hasPermi="['business:userRegister:edit']">
+ {{ $t('business.userManage.accountFreezing') }}
+
账号解冻
+ v-hasPermi="['business:userRegister:edit']">
+ {{ $t('business.userManage.accountUnfreezing') }}
+
删除
+ >删除
+
@@ -187,14 +202,14 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
+
-
-
-
-
+
+ {{ $t('business.userInfo.male') }}
+ {{ $t('business.userInfo.female') }}
+
-
+
-
+
-
+
-
+
@@ -256,16 +277,16 @@
-
+
-
+
-
+
-
+
-
+