Commit 4a0545ff authored by huyf's avatar huyf

fanyi

parent 20fd044a
...@@ -3791,6 +3791,13 @@ ...@@ -3791,6 +3791,13 @@
"内部号不能为空": "Internal number cannot be empty", "内部号不能为空": "Internal number cannot be empty",
"版本链接不能为空": "Version link cannot be empty", "版本链接不能为空": "Version link cannot be empty",
"强制更新不能为空": "Forced update cannot be empty", "强制更新不能为空": "Forced update cannot be empty",
"请输入名称-中文": "Please enter a name - Chinese",
"请输入名称-英文": "Please enter a name - English",
"请输入内部名称-中文": "Please enter internal name - Chinese",
"请输入内部名称-英文": "Please enter the internal name - English",
"备注-中文": "Remarks - Chinese",
"备注-英文": "Remarks - English",
"请输入备注-英文": "Please enter remarks - English",
"货物毛重(KGS)": "Gross weight of goods (KGS)", "货物毛重(KGS)": "Gross weight of goods (KGS)",
"请输入货物毛重": "Please enter the gross weight of the goods", "请输入货物毛重": "Please enter the gross weight of the goods",
"提单确认件.xlsx": "Bill of Lading Confirmation.xlsx", "提单确认件.xlsx": "Bill of Lading Confirmation.xlsx",
......
...@@ -171,13 +171,13 @@ export const constantRoutes = [ ...@@ -171,13 +171,13 @@ export const constantRoutes = [
path: 'empAchievement', path: 'empAchievement',
component: (resolve) => require(['@/views/ecw/deptTarget/empAchievement'], resolve), component: (resolve) => require(['@/views/ecw/deptTarget/empAchievement'], resolve),
name: '员工业绩', name: '员工业绩',
meta: {title: '员工业绩', activeMenu: '/deptTarget/index'} meta: {title: '员工业绩',titleEn: 'Emp Achievement', activeMenu: '/deptTarget/index'}
}, },
{ {
path: 'myDeptAchievement', path: 'myDeptAchievement',
component: (resolve) => require(['@/views/ecw/deptTarget/myDeptAchievement'], resolve), component: (resolve) => require(['@/views/ecw/deptTarget/myDeptAchievement'], resolve),
name: '我的部门业绩', name: '我的部门业绩',
meta: {title: '我的部门业绩', activeMenu: '/deptTarget/myDeptAchievement'} meta: {title: '我的部门业绩',titleEn: 'My dept Achievement', activeMenu: '/deptTarget/myDeptAchievement'}
} }
] ]
}, },
......
...@@ -10,19 +10,19 @@ ...@@ -10,19 +10,19 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('中文名称')" prop="nameZh"> <el-form-item :label="$t('中文名称')" prop="nameZh">
<el-input v-model="form.nameZh" placeholder="请输入名称-中文" /> <el-input v-model="form.nameZh" :placeholder="$t('请输入名称-中文')" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('名称英文')" prop="nameEn"> <el-form-item :label="$t('名称英文')" prop="nameEn">
<el-input v-model="form.nameEn" placeholder="请输入名称-英文" /> <el-input v-model="form.nameEn" :placeholder="$t('请输入名称-英文')" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('内部名称中文')" prop="internalNameZh"> <el-form-item :label="$t('内部名称中文')" prop="internalNameZh">
<el-input <el-input
v-model="form.internalNameZh" v-model="form.internalNameZh"
placeholder="请输入内部名称-中文" :placeholder="$t('请输入内部名称-中文')"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<el-form-item :label="$t('内部名称英文')" prop="internalNameEn"> <el-form-item :label="$t('内部名称英文')" prop="internalNameEn">
<el-input <el-input
v-model="form.internalNameEn" v-model="form.internalNameEn"
placeholder="请输入内部名称-英文" :placeholder="$t('请输入内部名称-英文')"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -95,16 +95,16 @@ ...@@ -95,16 +95,16 @@
</el-col> --> </el-col> -->
</el-row> </el-row>
<el-form-item label="备注-中文" prop="remarksZh"> <el-form-item :label="$t('备注-中文')" prop="remarksZh">
<el-input <el-input
v-model="form.remarksZh" v-model="form.remarksZh"
placeholder="请输入备注-中文" :placeholder="$t('请输入备注-中文')"
/> />
</el-form-item> </el-form-item>
<el-form-item label="备注-英文" prop="remarksEn"> <el-form-item :label="$t('备注-英文')" prop="remarksEn">
<el-input <el-input
v-model="form.remarksEn" v-model="form.remarksEn"
placeholder="请输入备注-英文" :placeholder="$t('请输入备注-英文')"
/> />
</el-form-item> </el-form-item>
<!-- <el-form-item label="状态(0:禁用 1:启用)" prop="status"> <!-- <el-form-item label="状态(0:禁用 1:启用)" prop="status">
......
...@@ -201,7 +201,7 @@ export default { ...@@ -201,7 +201,7 @@ export default {
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
const channelId = row.channelId; const channelId = row.channelId;
this.$modal.confirm('是否确认删除渠道管理编号为"' + channelId + '"的数据项?').then(function() { this.$modal.confirm(this.$t('是否确认删除渠道管理编号为{channelId}的数据项?'),{channelId} ).then(function() {
return deleteChannel(channelId); return deleteChannel(channelId);
}).then(() => { }).then(() => {
this.getList(); this.getList();
......
...@@ -444,10 +444,8 @@ ...@@ -444,10 +444,8 @@
// this.addBeginAndEndTime(params, this.dateRangeStartTime, 'startTime'); // this.addBeginAndEndTime(params, this.dateRangeStartTime, 'startTime');
// this.addBeginAndEndTime(params, this.dateRangeEndTime, 'endTime'); // this.addBeginAndEndTime(params, this.dateRangeEndTime, 'endTime');
// 执行导出 // 执行导出
this.$modal.confirm(this.$t('是否确认导出所有部门业绩数据项?')).then(() => {
this.exportLoading = true; this.exportLoading = true;
return exportDetailExcel(params); exportDetailExcel(params).then(response => {
}).then(response => {
this.$download.excel(response, `${this.$t('业绩明细')}.xls`); this.$download.excel(response, `${this.$t('业绩明细')}.xls`);
this.exportLoading = false; this.exportLoading = false;
...@@ -466,10 +464,8 @@ ...@@ -466,10 +464,8 @@
// this.addBeginAndEndTime(params, this.dateRangeStartTime, 'startTime'); // this.addBeginAndEndTime(params, this.dateRangeStartTime, 'startTime');
// this.addBeginAndEndTime(params, this.dateRangeEndTime, 'endTime'); // this.addBeginAndEndTime(params, this.dateRangeEndTime, 'endTime');
// 执行导出 // 执行导出
this.$modal.confirm(this.$t('是否确认导出所有部门业绩统计?')).then(() => {
this.exportLoading = true; this.exportLoading = true;
return exportStatisticsExcel(params); exportStatisticsExcel(params).then(response => {
}).then(response => {
this.$download.excel(response, `${this.$t('业绩统计')}.xls`); this.$download.excel(response, `${this.$t('业绩统计')}.xls`);
this.exportLoading = false; this.exportLoading = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment