diff --git a/package.json b/package.json index 0de1a13..384a29f 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "echarts": "^5.4.2", "element-ui": "2.13.2", "file-saver": "^2.0.5", + "glob": "^10.4.5", "html2canvas": "^1.4.1", "js-cookie": "2.2.0", "jsbarcode": "^3.11.5", diff --git a/scripts/remove-i18n.js b/scripts/remove-i18n.js index ad0715f..6601c3a 100644 --- a/scripts/remove-i18n.js +++ b/scripts/remove-i18n.js @@ -19,7 +19,6 @@ async function getAllFiles(dir, patterns) { // 获取嵌套对象的值 function getNestedValue(obj, path) { - console.log('obj', obj) return path.split('.').reduce((current, key) => { return current && current[key] }, obj) @@ -29,20 +28,29 @@ function getNestedValue(obj, path) { function replaceContent(content) { // 替换模板中的 $t('key') content = content.replace( - /(? { - console.log('key', key) const value = getNestedValue(zhCN, key) return value ? `'${value}'` : match } ) // 替换 JavaScript 中的 this.$t('key') - content = content.replace(/i18n\.t\(['"]([^'"]+)['"]\)/g, (match, key) => { + content = content.replace(/this\.\$t\(['"`]([^'"`]+)['"`](?:,.*?)?\)/g, (match, key) => { const value = getNestedValue(zhCN, key) return value ? `'${value}'` : match }) + // 替换模板字符串中的 this.$t, 例如 `${this.$t('key')}` + content = content.replace(/`\$\{this\.\$t\(['"`]([^'"`]+)['"`](?:,.*?)?\)\}([^`]*)`/g, (match, key, suffix) => { + const value = getNestedValue(zhCN, key) + if (value) { + // 将最终的字符串用单引号包裹 + return `'${value}${suffix}'` + } + return match + }) + return content } diff --git a/src/components/Delivery/nowdelivery.vue b/src/components/Delivery/nowdelivery.vue index 5b66a12..05910fd 100644 --- a/src/components/Delivery/nowdelivery.vue +++ b/src/components/Delivery/nowdelivery.vue @@ -851,7 +851,7 @@ export default { this.download( "/sale/manage/deliver/template-export", {}, - `${this.$t("MN_F_T_232")}${new Date().getTime()}.xlsx` + `${'模板'}${new Date().getTime()}.xlsx` ); }, @@ -861,7 +861,7 @@ export default { process.env.VUE_APP_BASE_API + "/sale/manage/deliver/immediate-import?idList=" + this.idList; - this.upload.title = this.$t("MN_T_9"); + this.upload.title = '导入'; this.upload.open = true; }, // 文件上传中处理 @@ -890,7 +890,7 @@ export default { this.upload.open = false; this.upload.isUploading = false; this.$refs.upload.clearFiles(); - this.$alert(response.msg, this.$t("MN_F_T_233"), { + this.$alert(response.msg, '导入结果', { dangerouslyUseHTMLString: true, }); // this.getList(); @@ -898,7 +898,7 @@ export default { // 上传文件数量超出后的动作 handleExceed() { this.upload.isUploading = false; - this.msgInfo(this.$t("MN_F_T_234")); + this.msgInfo('仅可上传一个文件哦'); }, // 提交上传文件 submitFileForm() { @@ -986,7 +986,7 @@ export default { }, //立即发货弹框删除 handleDelete(row, index, tab) { - this.$confirm(`${this.$t("MN_F_T_267")}?`).then((_) => { + this.$confirm(`${'是否删除'}?`).then((_) => { const delList = []; this.fhTable.forEach((ele, eindex) => { if ( @@ -1008,16 +1008,16 @@ export default { //导出 handleExport() { this.params.pkIdList = this.idList; - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( "/sale/manage/deliver/export", // {pkIdList:this.idList}, { ...this.params }, - `${this.$t("MN_F_T_269")}${new Date().getTime()}.xlsx` + `${'发货清单-立即发货'}${new Date().getTime()}.xlsx` ); }); }, diff --git a/src/components/Delivery/twoSend.vue b/src/components/Delivery/twoSend.vue index c921b5d..5bf355f 100644 --- a/src/components/Delivery/twoSend.vue +++ b/src/components/Delivery/twoSend.vue @@ -982,7 +982,7 @@ export default { this.download( "/sale/manage/deliver/export", { ...this.params }, - `${this.$t("MN_F_T_236")}${new Date().getTime()}.xlsx` + `${'发货清单-立即发货'}${new Date().getTime()}.xlsx` ); }, tableRowClassName({ row, rowIndex }) { diff --git a/src/components/Delivery/unhandeled.vue b/src/components/Delivery/unhandeled.vue index 58bdd8f..21dc087 100644 --- a/src/components/Delivery/unhandeled.vue +++ b/src/components/Delivery/unhandeled.vue @@ -695,11 +695,11 @@ export default { return { qhList: [ { - text: this.$t("MN_F_T_259"), + text: '提货商品', id: 0, }, { - text: this.$t("MN_F_T_260"), + text: '绑定追溯码', id: 1, }, ], @@ -724,10 +724,10 @@ export default { }, hdrules: { transportTypeList: [ - { required: true, message: this.$t("w_0064"), trigger: "change" }, + { required: true, message: '请选择运输方式', trigger: "change" }, ], deliveryWayList: [ - { required: true, message: this.$t("w_0062"), trigger: "change" }, + { required: true, message: '请选择发货方式', trigger: "change" }, ], }, yesornoList: [], @@ -737,7 +737,7 @@ export default { presaleStatusList: [], //预售状态 unproductData: [], zitiShow: false, - ztTitle: this.$t("MN_F_T_708"), + ztTitle: '自提', isMenu: "0", ztData: {}, ztForm: { @@ -846,7 +846,7 @@ export default { this.unproductData = res.data; }); } else if (index == 0) { - this.$confirm(this.$t("MN_F_T_261")).then((_) => { + this.$confirm('是否确定进行全部合单操作?').then((_) => { del .deliverUnhandeldMerge( Object.assign({}, this.params, { @@ -920,16 +920,16 @@ export default { //导出 handleExport() { this.params.pkIdList = this.hdform.idList; - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( "/sale/manage/deliver-unhandled/export", // {pkIdList:this.hdform.idList}, { ...this.params }, - `${this.$t("MN_F_T_1178")}${new Date().getTime()}.xlsx` + `${'未合单'}${new Date().getTime()}.xlsx` ); }); }, diff --git a/src/components/Delivery/yihandeled.vue b/src/components/Delivery/yihandeled.vue index c9e0ec9..119208e 100644 --- a/src/components/Delivery/yihandeled.vue +++ b/src/components/Delivery/yihandeled.vue @@ -974,7 +974,7 @@ export default { }, //删除行内订单状态列 deleteOrderRow(row) { - this.$confirm(this.$t("MN_F_T_267") + "?").then((_) => { + this.$confirm('是否删除' + "?").then((_) => { del.deleteDeliverItems({ id: row.pkId || null }).then((res) => { if (res.code == 200) { this.$message({ @@ -988,7 +988,7 @@ export default { }, //重置 reCz(row) { - this.$confirm(this.$t("MN_F_T_283")).then((_) => { + this.$confirm('是否重置?').then((_) => { row.barCode = ""; // del // .codeReset({ barCodeId: row.deliverBarCodeId || null }) @@ -1004,7 +1004,7 @@ export default { }, //列表删除 deleteDelivery() { - this.$confirm(this.$t("MN_F_T_267") + "?").then((_) => { + this.$confirm('是否删除' + "?").then((_) => { del.deleteDeliver({ idList: this.idList.join() }).then((res) => { if (res.code == 200) { this.$message({ @@ -1020,7 +1020,7 @@ export default { handleDelete(row, index, rows) { if (this.ifcodebind) { //绑定-删除 - this.$confirm(this.$t("MN_F_T_267") + "?").then((_) => { + this.$confirm('是否删除' + "?").then((_) => { if (row.deliverBarCodeId) { del.codeReset({ barCodeId: row.deliverBarCodeId }).then((res) => { if (res.code == 200) { @@ -1041,7 +1041,7 @@ export default { } else { //解绑-删除 - this.$confirm(this.$t("MN_F_T_267") + "?").then((_) => { + this.$confirm('是否删除' + "?").then((_) => { if (row.deliverBarCodeId) { del.codeReset({ barCodeId: row.deliverBarCodeId }).then((res) => { if (res.code == 200) { @@ -1114,7 +1114,7 @@ export default { if (index == true) { //绑定追溯 - this.zsTitle = this.$t("MN_F_T_260"); + this.zsTitle = '绑定追溯码'; del .getCodeBindData({ deliverIdList: this.idList.join() }) .then((res) => { @@ -1125,7 +1125,7 @@ export default { }); } else if (index == false) { //解绑追溯 - this.zsTitle = this.$t("MN_F_T_284"); + this.zsTitle = '解绑追溯码'; del .getCodeUnbindData({ @@ -1197,15 +1197,15 @@ export default { //导出 handleExport() { this.params.pkDeliverList = this.idList; - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( "/sale/manage/deliver-handled/export", { ...this.params }, - `${this.$t("MN_F_T_1179")}${new Date().getTime()}.xlsx` + `${'已合单'}${new Date().getTime()}.xlsx` ); }); }, diff --git a/src/views/announcement/email/details.vue b/src/views/announcement/email/details.vue index c9c0cc7..c21e3c2 100644 --- a/src/views/announcement/email/details.vue +++ b/src/views/announcement/email/details.vue @@ -291,7 +291,7 @@ export default { urlRequest(obj).then((res) => { this.$message({ - message: this.$t('MN_F_T_477'), + message: '添加成功', type: 'success', }) diff --git a/src/views/announcement/email/index.vue b/src/views/announcement/email/index.vue index f3cd024..0314a2b 100644 --- a/src/views/announcement/email/index.vue +++ b/src/views/announcement/email/index.vue @@ -291,9 +291,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t('ENU_POPUP_TYPE_1'); + return '允许'; } else { - return this.$t('ENU_POPUP_TYPE_2'); + return '禁止'; } }, }, @@ -302,21 +302,21 @@ export default { typeList: [ { value: 0, - label: this.$t('ENU_NOTICE_WEBSITE_TYPE_1'), + label: '前台', }, { value: 1, - label: this.$t('ENU_NOTICE_WEBSITE_TYPE_2'), + label: '后台', }, ], digList: [ { value: 0, - label: this.$t('ENU_POPUP_TYPE_1'), + label: '允许', }, { value: 1, - label: this.$t('ENU_POPUP_TYPE_2'), + label: '禁止', }, ], creationTime: [], @@ -339,7 +339,7 @@ export default { name: "", }, rules: { - name: [{ required: true, message: this.$t('MN_F_T_302'), trigger: "blur" }], + name: [{ required: true, message: '请输入规格类型', trigger: "blur" }], }, webList: [], localList: [], @@ -415,9 +415,9 @@ export default { }, // 删除 handleDelete(id) { - this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { api.noticeDelete({ pkId: id }).then((res) => { @@ -482,9 +482,9 @@ export default { /** 导出按钮操作 */ handleExport() { const queryParams = this.queryParams; - this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }) .then(function () { diff --git a/src/views/announcement/fbZxqc.vue b/src/views/announcement/fbZxqc.vue index 27f7907..3f07b69 100644 --- a/src/views/announcement/fbZxqc.vue +++ b/src/views/announcement/fbZxqc.vue @@ -221,7 +221,7 @@ export default { moren: 'specialZxqc', topList: [ { - name: this.$t('MN_F_T_14'), + name: '在线签呈', path: 'specialZxqc', }, ], @@ -415,7 +415,7 @@ export default { } else { this.$message({ type: 'error', - message: this.$t('MY_ORD_79'), + message: '上传失败', }) } }, diff --git a/src/views/announcement/feedback/index.vue b/src/views/announcement/feedback/index.vue index 88d8123..a52f49f 100644 --- a/src/views/announcement/feedback/index.vue +++ b/src/views/announcement/feedback/index.vue @@ -207,9 +207,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t("ENU_POPUP_TYPE_1"); + return '允许'; } else { - return this.$t("ENU_POPUP_TYPE_2"); + return '禁止'; } }, }, @@ -218,28 +218,28 @@ export default { moren: "/announcement/feedback", topList: [ { - name: this.$t("MN_F_T_84"), + name: '意见反馈', path: "/announcement/feedback", }, ], typeList: [ { value: 0, - label: this.$t("ENU_NOTICE_WEBSITE_TYPE_1"), + label: '前台', }, { value: 1, - label: this.$t("ENU_NOTICE_WEBSITE_TYPE_2"), + label: '后台', }, ], digList: [ { value: 0, - label: this.$t("ENU_POPUP_TYPE_1"), + label: '允许', }, { value: 1, - label: this.$t("ENU_POPUP_TYPE_2"), + label: '禁止', }, ], creationTime: [], @@ -259,7 +259,7 @@ export default { }, rules: { name: [ - { required: true, message: this.$t("MN_F_T_302"), trigger: "blur" }, + { required: true, message: '请输入规格类型', trigger: "blur" }, ], }, webList: [], @@ -325,9 +325,9 @@ export default { }, // 删除 handleDelete(id) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { api.delFeed(id).then((res) => { @@ -354,9 +354,9 @@ export default { handleSelectionChange(val) {}, /** 导出按钮操作 */ handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/announcement/noticeList/admin.vue b/src/views/announcement/noticeList/admin.vue index daa48c0..5cdeca9 100644 --- a/src/views/announcement/noticeList/admin.vue +++ b/src/views/announcement/noticeList/admin.vue @@ -242,9 +242,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t('ENU_POPUP_TYPE_1'); + return '允许'; } else { - return this.$t('ENU_POPUP_TYPE_2'); + return '禁止'; } }, }, @@ -253,21 +253,21 @@ export default { typeList: [ { value: 0, - label: this.$t('ENU_NOTICE_WEBSITE_TYPE_1'), + label: '前台', }, { value: 1, - label: this.$t('ENU_NOTICE_WEBSITE_TYPE_2'), + label: '后台', }, ], digList: [ { value: 0, - label: this.$t('ENU_POPUP_TYPE_1'), + label: '允许', }, { value: 1, - label: this.$t('ENU_POPUP_TYPE_2'), + label: '禁止', }, ], creationTime: [], @@ -289,13 +289,13 @@ export default { moren: "/announcement/noticeList/admin", topList: [ { - name: this.$t('ENU_APPROVE_B_520'), + name: '前台公告', path: "/announcement/noticeList", url: "Notice", changed: false, }, { - name: this.$t('ENU_APPROVE_B_521'), + name: '后台公告', path: "/announcement/noticeList/admin", url: "NoticeAdmin", changed: false, @@ -305,7 +305,7 @@ export default { name: "", }, rules: { - name: [{ required: true, message: this.$t('MN_F_T_302'), trigger: "blur" }], + name: [{ required: true, message: '请输入规格类型', trigger: "blur" }], }, webList: [], localList: [], @@ -386,9 +386,9 @@ export default { }, // 删除 handleDelete(id) { - this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { api.noticeDelete({ pkId: id }).then((res) => { @@ -450,9 +450,9 @@ export default { /** 导出按钮操作 */ handleExport() { const queryParams = this.queryParams; - this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }) .then(function () { diff --git a/src/views/announcement/noticeList/details.vue b/src/views/announcement/noticeList/details.vue index be6d050..deac32c 100644 --- a/src/views/announcement/noticeList/details.vue +++ b/src/views/announcement/noticeList/details.vue @@ -269,17 +269,17 @@ export default { { required: true, message: "请选择", trigger: "change" }, ], websiteType: [ - { required: true, message: this.$t("CK_KS_38"), trigger: "change" }, + { required: true, message: '请选择', trigger: "change" }, ], ruleFormTime: [ { required: true, message: "请选择起止时间", trigger: "change" }, ], isPopScreen: [ - { required: true, message: this.$t("CK_KS_38"), trigger: "change" }, + { required: true, message: '请选择', trigger: "change" }, ], systemType: [{ required: true, message: "请选择", trigger: "change" }], content: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], }, diff --git a/src/views/announcement/noticeList/index.vue b/src/views/announcement/noticeList/index.vue index 39f3c2b..b5b25d6 100644 --- a/src/views/announcement/noticeList/index.vue +++ b/src/views/announcement/noticeList/index.vue @@ -323,9 +323,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t('ENU_POPUP_TYPE_1'); + return '允许'; } else { - return this.$t('ENU_POPUP_TYPE_2'); + return '禁止'; } }, }, @@ -334,21 +334,21 @@ export default { typeList: [ { value: 0, - label: this.$t('ENU_NOTICE_WEBSITE_TYPE_1'), + label: '前台', }, { value: 1, - label: this.$t('ENU_NOTICE_WEBSITE_TYPE_2'), + label: '后台', }, ], digList: [ { value: 0, - label: this.$t('ENU_POPUP_TYPE_1'), + label: '允许', }, { value: 1, - label: this.$t('ENU_POPUP_TYPE_2'), + label: '禁止', }, ], creationTime: [], @@ -370,13 +370,13 @@ export default { moren: "/announcement/noticeList", topList: [ { - name: this.$t('ENU_APPROVE_B_520'), + name: '前台公告', path: "/announcement/noticeList", url: "Notice", changed: false, }, { - name: this.$t('ENU_APPROVE_B_521'), + name: '后台公告', path: "/announcement/noticeList/admin", url: "NoticeAdmin", changed: false, @@ -386,7 +386,7 @@ export default { name: "", }, rules: { - name: [{ required: true, message: this.$t('MN_F_T_302'), trigger: "blur" }], + name: [{ required: true, message: '请输入规格类型', trigger: "blur" }], }, webList: [], localList: [], @@ -484,9 +484,9 @@ export default { }, // 删除 handleDelete(id) { - // this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), { - // confirmButtonText: this.$t('w_0035'), - // cancelButtonText: this.$t('ENU_P_TYPE0'), + // this.$confirm('确认删除?', '提示', { + // confirmButtonText: '确定', + // cancelButtonText: '取消', // type: "warning", // }).then(() => { // api.noticeDelete({ pkId: id }).then((res) => { @@ -553,9 +553,9 @@ export default { /** 导出按钮操作 */ handleExport() { const queryParams = this.queryParams; - this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }) .then(function () { diff --git a/src/views/announcement/onSiteConfig/index.vue b/src/views/announcement/onSiteConfig/index.vue index a8f6aaf..91c5604 100644 --- a/src/views/announcement/onSiteConfig/index.vue +++ b/src/views/announcement/onSiteConfig/index.vue @@ -176,7 +176,7 @@ export default { moren: "onSiteConfig", topList: [ { - name: this.$t('MN_F_T_85'), + name: '站内信配置', path: "onSiteConfig", }, ], @@ -203,9 +203,9 @@ export default { // serviceRatio: [ // { required: true, message: "请输入手续费值", trigger: "blur" }, // ], - // serviceType: [{ required: true, message: this.$t('CK_KS_38'), trigger: "change" }], + // serviceType: [{ required: true, message: '请选择', trigger: "change" }], // effectiveDate: [ - // { required: true, message: this.$t('MN_F_T_402'), trigger: "change" }, + // { required: true, message: '请选择生效时间', trigger: "change" }, // ], }, }; @@ -270,7 +270,7 @@ export default { //添加 adddate() { this.updateShow = true; - this.updateTitle = this.$t('w_0328'); + this.updateTitle = '添加'; this.addOrEdit = true; if (this.$refs.form) { this.form.pkId = null; @@ -280,7 +280,7 @@ export default { }, //修改 update(row) { - this.updateTitle = this.$t('PER_DA_20'); + this.updateTitle = '修改'; this.addOrEdit = false; this.updateShow = true; ons.getMessageDetail({pkId:row.pkId}).then((res) => { @@ -290,7 +290,7 @@ export default { }, //删除 deleteRow(row) { - this.$confirm(this.$t('MN_F_T_431')).then((_) => { + this.$confirm('确定删除?').then((_) => { ons.deletePlateform({ pkId: row.pkId }).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/configManage/addSms/index.vue b/src/views/configManage/addSms/index.vue index 48deff5..6a17250 100644 --- a/src/views/configManage/addSms/index.vue +++ b/src/views/configManage/addSms/index.vue @@ -239,13 +239,13 @@ export default { forms: '', rules: { templateCode: [ - { required: true, message: this.$t('MN_F_T_321'), trigger: 'blur' } + { required: true, message: '请输入短信编号', trigger: 'blur' } ], templateName: [ - { required: true, message: this.$t('MN_F_T_324'), trigger: 'blur' } + { required: true, message: '请输入模板名称', trigger: 'blur' } ], templateContent: [ - { required: true, message: this.$t('MN_F_T_326'), trigger: 'change' } + { required: true, message: '请输入短信内容', trigger: 'change' } ] }, tables: { templateCode: '', templateName: '', templateContent: '', paramNum: 0, arr: [] }, @@ -259,15 +259,15 @@ export default { moren: 'addSms', topList: [ { - name: this.$t('MN_F_T_338'), + name: '短信记录', path: 'smsRecordList' }, { - name: this.$t('MN_F_T_125'), + name: '短信模板', path: 'smsTemplate' }, { - name: this.$t('MN_F_T_126'), + name: '新增短信', path: 'addSms' } ], @@ -284,7 +284,7 @@ export default { }, gradeRangList: [], awardsList: [], - statusList: [{ 'name': this.$t('ENU_BON_I_S_0'), 'id': '0' }, { 'name': this.$t('ENU_MACHINE_STATE_3'), 'id': '1' }], + statusList: [{ 'name': '正常', 'id': '0' }, { 'name': '停用', 'id': '1' }], menuOptions: [], tableData: [], total: 0, @@ -369,7 +369,7 @@ export default { const arr = [] if (row.paramNum > 0) { for (let i = 0; i < row.paramNum; i++) { - arr.push({ 'name': this.$t('MN_F_T_339') + (i + 1), 'value': '' }) + arr.push({ 'name': '参数' + (i + 1), 'value': '' }) } } row.arr = arr @@ -457,15 +457,15 @@ export default { }, delRole(item) { // 删除角色信息 - this.$confirm(this.$t('MN_F_T_340'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认要删除该角色吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { api.delRole(item.roleId).then((res) => { if (res.code === 200) { Message({ - message: this.$t('w_0089'), + message: '删除成功', type: 'success' }) this.research() @@ -482,7 +482,7 @@ export default { const datas = this.table if (datas.templateId == '') { Message({ - message: this.$t('MN_F_T_336') + message: '选择短信模版' }) return } @@ -495,25 +495,25 @@ export default { console.error(this.memberList) if (datas.sendScope == 1 && this.memberList.length==0) { Message({ - message: this.$t('MN_F_T_341') + message: '请选择指定会员' }) return } if (datas.sendScope == 2 && this.orderList.length==0) { Message({ - message: this.$t('MN_F_T_342') + message: '请选择订单短信' }) return } if (datas.sendScope == 3 && datas.phones == '' || datas.phones == null) { Message({ - message: this.$t('MN_F_T_343') + message: '请输入指定用户' }) return } if (datas.sendType == 2 && datas.sendTime == '' || datas.phones == null) { Message({ - message: this.$t('MN_F_T_344') + message: '请输入选择指定时间' }) return } @@ -549,9 +549,9 @@ export default { }) } if (this.tables.paramNum > 0 && datas.paramList.length == 0) { - this.$confirm(this.$t('MN_F_T_349'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('该短信模板存在参数设置是否不输入进行提交?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { api.create(datas).then((res) => { diff --git a/src/views/configManage/advertisementBanner/index.vue b/src/views/configManage/advertisementBanner/index.vue index 0cba040..003383c 100644 --- a/src/views/configManage/advertisementBanner/index.vue +++ b/src/views/configManage/advertisementBanner/index.vue @@ -217,23 +217,23 @@ export default { return { modifiedTime:[], modifiedTime1:[], - title: this.$t('w_0328'), + title: '添加', forms: '', rules: { position: [ - { required: true, message: this.$t('MN_F_T_355'), trigger: 'blur' } + { required: true, message: '请选择发布位置', trigger: 'blur' } ], picture: [ - { required: true, message: this.$t('MN_F_T_356'), trigger: 'blur' } + { required: true, message: '请上传图片', trigger: 'blur' } ], sort: [ - { required: true, message: this.$t('MN_F_T_357'), trigger: 'blur' } + { required: true, message: '请输入排序', trigger: 'blur' } ], // link: [ - // { required: true, message: this.$t('MN_F_T_358'), trigger: 'blur' } + // { required: true, message: '请输入链接', trigger: 'blur' } // ], effectiveDate: [ - { required: true, message: this.$t('MN_F_T_358'), trigger: 'blur' } + { required: true, message: '请输入链接', trigger: 'blur' } ] }, table: { position: '', picture: '', sort: '', effectiveDate: '', link: '' }, @@ -241,7 +241,7 @@ export default { moren: 'advertisementBanner', topList: [ { - name: this.$t('MN_F_T_142'), + name: '广告Banner', path: 'advertisementBanner' } ], @@ -257,8 +257,8 @@ export default { }, gradeRangList: [], awardsList: [], - statusList: [{ 'name': this.$t('MN_F_T_334'), 'id': '1' }, { 'name': this.$t('MN_F_T_335'), 'id': '2' }], - statusList1: [{ 'name': this.$t('MN_F_T_359'), 'id': '0' }, { 'name': this.$t('MN_F_T_360'), 'id': '1' }], + statusList: [{ 'name': '立即发送', 'id': '1' }, { 'name': '定时发送', 'id': '2' }], + statusList1: [{ 'name': '未发送', 'id': '0' }, { 'name': '已发送', 'id': '1' }], menuOptions: [], loading:false, tableData: [], @@ -317,7 +317,7 @@ export default { addRules() { this.types = 1 this.ruleShow = true - this.title = this.$t('w_0328') + this.title = '添加' }, submitBtn() { console.error(this.table) @@ -326,7 +326,7 @@ export default { }, updateShow(item) { this.types = 2 - this.title = this.$t('PER_DA_20') + this.title = '修改' // 更新角色信息 this.formId = item.pkId api.getBannerDetails(item.pkId).then((res) => { @@ -344,9 +344,9 @@ export default { }, delRole(item) { // 删除广告 - this.$confirm(this.$t('MN_F_T_361'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认要删除该广告吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { api.delBanner(item.pkId).then((res) => { diff --git a/src/views/configManage/affiliatedteam/index.vue b/src/views/configManage/affiliatedteam/index.vue index 6418a52..bf0e21f 100644 --- a/src/views/configManage/affiliatedteam/index.vue +++ b/src/views/configManage/affiliatedteam/index.vue @@ -294,7 +294,7 @@ export default { moren: "lstd", topList: [ { - name: this.$t("MN_F_T_122"), + name: '隶属团队', path: "lstd", }, ], @@ -325,14 +325,14 @@ export default { pkBdVertex: [ { required: true, - message: this.$t("MN_F_T_367"), + message: '请选择体系名称', trigger: "change", }, ], teamName: [ { required: true, - message: this.$t("MN_F_T_364"), + message: '请输入团队名称', trigger: "blur", }, ], @@ -340,7 +340,7 @@ export default { memberCode: [ { required: true, - message: this.$t("w_0046"), + message: '请输入会员编号', trigger: "blur", }, ], @@ -348,7 +348,7 @@ export default { teamCode: [ { required: true, - message: this.$t("MN_F_T_370"), + message: '请输入团队编码', trigger: "blur", }, ], @@ -414,9 +414,9 @@ export default { }, // 更新团队 updateTeam(row) { - this.$confirm(this.$t("MN_F_T_371"), "", { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认更新该团队?', "", { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { updateTeams(row.pkId).then((res) => { @@ -436,8 +436,8 @@ export default { }, addflushAll() { this.$confirm("是否确认更新全部?", "", { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { const loading = this.$loading({ @@ -460,7 +460,7 @@ export default { // 修改 update(row) { this.updateShow = true; - this.updateTitle = this.$t("PER_DA_20"); + this.updateTitle = '修改'; this.addOrEdit = false; getOneTeam(row.pkId).then((res) => { this.form = res.data; @@ -469,7 +469,7 @@ export default { // 添加 adddate() { this.updateShow = true; - this.updateTitle = this.$t("w_0328"); + this.updateTitle = '添加'; this.addOrEdit = true; if (this.$refs.form) { this.form.pkId = null; @@ -494,9 +494,9 @@ export default { // 删除 deleteRow(row) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { deleteMemberTeam(row.pkId).then((res) => { @@ -524,9 +524,9 @@ export default { }, checkQiyong(row) { if (row.enableState == 0) { - return this.$t("MN_F_T_372"); + return '启用'; } else { - return this.$t("MN_F_T_373"); + return '禁用'; } }, handleSelectionChange(val) { diff --git a/src/views/configManage/bank/index.vue b/src/views/configManage/bank/index.vue index 6fbaf16..ff7c734 100644 --- a/src/views/configManage/bank/index.vue +++ b/src/views/configManage/bank/index.vue @@ -225,7 +225,7 @@ export default { moren: "yhpz", topList: [ { - name: this.$t('MN_F_T_133'), + name: '银行配置', path: "yhpz", }, ], @@ -241,8 +241,8 @@ export default { loading:false, multipleSelection: [], qiyongList: [ - { value: 0, label: this.$t('MN_F_T_372') }, - { value: 1, label: this.$t('MN_F_T_373') }, + { value: 0, label: '启用' }, + { value: 1, label: '禁用' }, ], total: 0, queryParams: { @@ -258,15 +258,15 @@ export default { }, rules: { enableState: [ - { required: true, message: this.$t('MN_F_T_377'), trigger: "change" }, + { required: true, message: '请选择启用状态', trigger: "change" }, ], bankName: [ - { required: true, message: this.$t('MN_F_T_374'), trigger: "blur" }, + { required: true, message: '请输入银行名称', trigger: "blur" }, ], backgroundImg: [ - { required: true, message: this.$t('MN_F_T_379'), trigger: "change" }, + { required: true, message: '请上传背景', trigger: "change" }, ], - logo: [{ required: true, message: this.$t('MN_F_T_380'), trigger: "change" }], + logo: [{ required: true, message: '请上传logo', trigger: "change" }], }, updateShow: false, addOrEdit: "", //添加还是修改 true添加 false修改 @@ -335,7 +335,7 @@ export default { //修改 update(row) { this.updateShow = true; - this.updateTitle = this.$t('PER_DA_20'); + this.updateTitle = '修改'; this.addOrEdit = false; getOneBankList({ pkId: row.pkId }).then((res) => { this.form = res.data; @@ -344,7 +344,7 @@ export default { //添加 adddate() { this.updateShow = true; - this.updateTitle = this.$t('w_0328'); + this.updateTitle = '添加'; this.addOrEdit = true; if (this.$refs.form) { this.form.pkId = null; @@ -365,9 +365,9 @@ export default { //删除 deleteRow(row) { - this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { deleteBank({ pkId: row.pkId }).then((res) => { diff --git a/src/views/configManage/barcodeConfiguration/details.vue b/src/views/configManage/barcodeConfiguration/details.vue index 9e1190e..2852679 100644 --- a/src/views/configManage/barcodeConfiguration/details.vue +++ b/src/views/configManage/barcodeConfiguration/details.vue @@ -204,9 +204,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t("ENU_POPUP_TYPE_1"); + return '允许'; } else { - return this.$t("ENU_POPUP_TYPE_2"); + return '禁止'; } }, }, @@ -227,15 +227,15 @@ export default { // 1=已生成 2=已打印 3=已绑定 codeStatusList: [ { - text: this.$t("ENU_BAR_S_1"), + text: '已生成', val: 1, }, { - text: this.$t("ENU_BAR_S_2"), + text: '会员级', val: 2, }, { - text: this.$t("ENU_BAR_S_3"), + text: '会员级', val: 3, }, ], @@ -285,15 +285,15 @@ export default { }, /** 导出按钮操作 */ handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( "/system/manage/bar-code-items/printTxm", Object.assign({}, this.queryParams, this.select), - `${this.$t("MN_F_T_408")}${new Date().getTime()}.pdf` + `${'条形码明细'}${new Date().getTime()}.pdf` ); // api.printTxm(Object.assign({}, this.queryParams, this.select)).then(res=>{ // console.log('%c [ res ]-267', 'font-size:13px; background:#9fe869; color:#e3ffad;', res) @@ -302,15 +302,15 @@ export default { }); }, handleExportDetail() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( "/system/manage/bar-code-items/export", Object.assign({}, this.queryParams, this.select), - `${this.$t("MN_F_T_408")}${new Date().getTime()}.xlsx` + `${'条形码明细'}${new Date().getTime()}.xlsx` ); // api.printTxm(Object.assign({}, this.queryParams, this.select)).then(res=>{ // console.log('%c [ res ]-267', 'font-size:13px; background:#9fe869; color:#e3ffad;', res) @@ -320,9 +320,9 @@ export default { }, // 删除 handleDelete(id) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { api.waresDel(id).then((res) => { diff --git a/src/views/configManage/barcodeConfiguration/index.vue b/src/views/configManage/barcodeConfiguration/index.vue index b0091ec..b6e1817 100644 --- a/src/views/configManage/barcodeConfiguration/index.vue +++ b/src/views/configManage/barcodeConfiguration/index.vue @@ -647,11 +647,11 @@ export default { tableData: [], agreeList: [ { - text: this.$t('ENU_POPUP_TYPE_1'), + text: '允许', val: 0 }, { - text: this.$t('ENU_POPUP_TYPE_2'), + text: '禁止', val: 1 } ], @@ -664,35 +664,35 @@ export default { shengcheng: false, rules: { isYear: [ - { required: true, message: this.$t('MN_F_T_383'), trigger: 'change' } + { required: true, message: '请选择包含年份', trigger: 'change' } ], isMonth: [ - { required: true, message: this.$t('MN_F_T_385'), trigger: 'change' } + { required: true, message: '请选择包含月份', trigger: 'change' } ], isInitialize: [ - { required: true, message: this.$t('MN_F_T_389'), trigger: 'change' } + { required: true, message: '请选择自动初始化', trigger: 'change' } ], effectiveDate: [ - { required: true, message: this.$t('MN_F_T_402'), trigger: 'change' } + { required: true, message: '请选择生效时间', trigger: 'change' } ], productCode: [ - { required: true, message: this.$t('MN_F_T_401'), trigger: 'blur' } + { required: true, message: '请输入正确的产品编码', trigger: 'blur' } ], - prefix: [{ required: true, message: this.$t('MN_F_T_400'), trigger: 'blur' }], + prefix: [{ required: true, message: '请输入前缀', trigger: 'blur' }], tailNumber: [ - { required: true, message: this.$t('MN_F_T_387'), trigger: 'blur' } + { required: true, message: '请输入尾号位数', trigger: 'blur' } ], endNumber: [ - { required: true, message: this.$t('MN_F_T_399'), trigger: 'blur' } + { required: true, message: '请输入初始位数', trigger: 'blur' } ], currentNumber: [ - { required: true, message: this.$t('MN_F_T_398'), trigger: 'blur' } + { required: true, message: '请输入当前尾数', trigger: 'blur' } ], - batch: [{ required: true, message: this.$t('MN_F_T_397'), trigger: 'blur' }] + batch: [{ required: true, message: '请输入追溯批次', trigger: 'blur' }] }, rules1: { generateCount: [ - { required: true, message: this.$t('MN_F_T_396'), trigger: 'blur' } + { required: true, message: '请输入生成数量', trigger: 'blur' } ] } } @@ -753,9 +753,9 @@ export default { // 删除 handleDelete(id) { - this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { api.bd_bar_codeDel(id).then((res) => { diff --git a/src/views/configManage/bonus/fdfh.vue b/src/views/configManage/bonus/fdfh.vue index c2533b4..78b4249 100644 --- a/src/views/configManage/bonus/fdfh.vue +++ b/src/views/configManage/bonus/fdfh.vue @@ -75,40 +75,40 @@ export default { moren: "fdfh", topList: [ { - name: this.$t('MN_F_T_412'), + name: '奖项配置', path: "bonus", }, { - name: this.$t('MN_F_T_114'), + name: '直推配置', path: "ztpz", }, { - name: this.$t('MN_F_T_413'), + name: '拓展配置', path: "kzpz", }, { - name: this.$t('MN_F_T_116'), + name: '辅导分红', path: "fdfh", }, { - name: this.$t('MN_F_T_117'), + name: '服务补贴', path: "fwbt", }, { - name: this.$t('MN_F_T_118'), + name: '奖金扣项', path: "jjkx", }, { - name: this.$t('MN_F_T_119'), + name: '云代配置', path: "ydpz", }, { - name: this.$t('MN_F_T_120'), + name: '环球积分', path: "hqjf", }, { - name: this.$t('MN_F_T_121'), + name: '车奖积分', path: "njjf", }, ], diff --git a/src/views/configManage/bonus/fwbt.vue b/src/views/configManage/bonus/fwbt.vue index a6ea53d..765049b 100644 --- a/src/views/configManage/bonus/fwbt.vue +++ b/src/views/configManage/bonus/fwbt.vue @@ -90,40 +90,40 @@ export default { moren: "fwbt", topList: [ { - name: this.$t("MN_F_T_412"), + name: '奖项配置', path: "bonus", }, { - name: this.$t("MN_F_T_114"), + name: '直推配置', path: "ztpz", }, { - name: this.$t("MN_F_T_413"), + name: '拓展配置', path: "kzpz", }, { - name: this.$t("MN_F_T_116"), + name: '辅导分红', path: "fdfh", }, { - name: this.$t("MN_F_T_117"), + name: '服务补贴', path: "fwbt", }, { - name: this.$t("MN_F_T_118"), + name: '奖金扣项', path: "jjkx", }, { - name: this.$t("MN_F_T_119"), + name: '云代配置', path: "ydpz", }, { - name: this.$t("MN_F_T_120"), + name: '环球积分', path: "hqjf", }, { - name: this.$t("MN_F_T_121"), + name: '车奖积分', path: "njjf", }, ], diff --git a/src/views/configManage/bonus/hqjf.vue b/src/views/configManage/bonus/hqjf.vue index 0c3d1b0..8d7e678 100644 --- a/src/views/configManage/bonus/hqjf.vue +++ b/src/views/configManage/bonus/hqjf.vue @@ -45,40 +45,40 @@ export default { moren: "hqjf", topList: [ { - name: this.$t('MN_F_T_412'), + name: '奖项配置', path: "bonus", }, { - name: this.$t('MN_F_T_114'), + name: '直推配置', path: "ztpz", }, { - name: this.$t('MN_F_T_413'), + name: '拓展配置', path: "kzpz", }, { - name: this.$t('MN_F_T_116'), + name: '辅导分红', path: "fdfh", }, { - name: this.$t('MN_F_T_117'), + name: '服务补贴', path: "fwbt", }, { - name: this.$t('MN_F_T_118'), + name: '奖金扣项', path: "jjkx", }, { - name: this.$t('MN_F_T_119'), + name: '云代配置', path: "ydpz", }, { - name: this.$t('MN_F_T_120'), + name: '环球积分', path: "hqjf", }, { - name: this.$t('MN_F_T_121'), + name: '车奖积分', path: "njjf", }, ], diff --git a/src/views/configManage/bonus/index.vue b/src/views/configManage/bonus/index.vue index 9f4f0bd..f2c206a 100644 --- a/src/views/configManage/bonus/index.vue +++ b/src/views/configManage/bonus/index.vue @@ -212,40 +212,40 @@ export default { moren: "bonus", topList: [ { - name: this.$t('MN_F_T_412'), + name: '奖项配置', path: "bonus", }, { - name: this.$t('MN_F_T_114'), + name: '直推配置', path: "ztpz", }, { - name: this.$t('MN_F_T_413'), + name: '拓展配置', path: "kzpz", }, { - name: this.$t('MN_F_T_116'), + name: '辅导分红', path: "fdfh", }, { - name: this.$t('MN_F_T_117'), + name: '服务补贴', path: "fwbt", }, { - name: this.$t('MN_F_T_118'), + name: '奖金扣项', path: "jjkx", }, { - name: this.$t('MN_F_T_119'), + name: '云代配置', path: "ydpz", }, { - name: this.$t('MN_F_T_120'), + name: '环球积分', path: "hqjf", }, { - name: this.$t('MN_F_T_121'), + name: '车奖积分', path: "njjf", }, ], @@ -279,15 +279,15 @@ export default { methods: { /** 导出按钮操作 */ handleExport() { - this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm( '是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning', }).then((_) => { this.download( '/system/manage/bd-bonus-items/export', Object.assign({}, this.queryParams, this.select), - `${this.$t('MN_F_T_412')}${new Date().getTime()}.xlsx` + `${'奖项配置'}${new Date().getTime()}.xlsx` ) }) }, @@ -380,7 +380,7 @@ export default { }, //删除 deleteRow(row) { - this.$confirm(this.$t('MN_F_T_431')).then((_) => { + this.$confirm('确定删除?').then((_) => { deletebonusList(row.pkId).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/configManage/bonus/jjkx.vue b/src/views/configManage/bonus/jjkx.vue index 9740e81..4311a8a 100644 --- a/src/views/configManage/bonus/jjkx.vue +++ b/src/views/configManage/bonus/jjkx.vue @@ -74,40 +74,40 @@ export default { moren: "jjkx", topList: [ { - name: this.$t('MN_F_T_412'), + name: '奖项配置', path: "bonus", }, { - name: this.$t('MN_F_T_114'), + name: '直推配置', path: "ztpz", }, { - name: this.$t('MN_F_T_413'), + name: '拓展配置', path: "kzpz", }, { - name: this.$t('MN_F_T_116'), + name: '辅导分红', path: "fdfh", }, { - name: this.$t('MN_F_T_117'), + name: '服务补贴', path: "fwbt", }, { - name: this.$t('MN_F_T_118'), + name: '奖金扣项', path: "jjkx", }, { - name: this.$t('MN_F_T_119'), + name: '云代配置', path: "ydpz", }, { - name: this.$t('MN_F_T_120'), + name: '环球积分', path: "hqjf", }, { - name: this.$t('MN_F_T_121'), + name: '车奖积分', path: "njjf", }, ], diff --git a/src/views/configManage/bonus/kzpz.vue b/src/views/configManage/bonus/kzpz.vue index a78e04c..9f8a951 100644 --- a/src/views/configManage/bonus/kzpz.vue +++ b/src/views/configManage/bonus/kzpz.vue @@ -263,40 +263,40 @@ export default { moren: "kzpz", topList: [ { - name: this.$t('MN_F_T_412'), + name: '奖项配置', path: "bonus", }, { - name: this.$t('MN_F_T_114'), + name: '直推配置', path: "ztpz", }, { - name: this.$t('MN_F_T_413'), + name: '拓展配置', path: "kzpz", }, { - name: this.$t('MN_F_T_116'), + name: '辅导分红', path: "fdfh", }, { - name: this.$t('MN_F_T_117'), + name: '服务补贴', path: "fwbt", }, { - name: this.$t('MN_F_T_118'), + name: '奖金扣项', path: "jjkx", }, { - name: this.$t('MN_F_T_119'), + name: '云代配置', path: "ydpz", }, { - name: this.$t('MN_F_T_120'), + name: '环球积分', path: "hqjf", }, { - name: this.$t('MN_F_T_121'), + name: '车奖积分', path: "njjf", }, ], diff --git a/src/views/configManage/bonus/njjf.vue b/src/views/configManage/bonus/njjf.vue index 1dafe60..a016778 100644 --- a/src/views/configManage/bonus/njjf.vue +++ b/src/views/configManage/bonus/njjf.vue @@ -59,40 +59,40 @@ export default { moren: "njjf", topList: [ { - name: this.$t('MN_F_T_412'), + name: '奖项配置', path: "bonus", }, { - name: this.$t('MN_F_T_114'), + name: '直推配置', path: "ztpz", }, { - name: this.$t('MN_F_T_413'), + name: '拓展配置', path: "kzpz", }, { - name: this.$t('MN_F_T_116'), + name: '辅导分红', path: "fdfh", }, { - name: this.$t('MN_F_T_117'), + name: '服务补贴', path: "fwbt", }, { - name: this.$t('MN_F_T_118'), + name: '奖金扣项', path: "jjkx", }, { - name: this.$t('MN_F_T_119'), + name: '云代配置', path: "ydpz", }, { - name: this.$t('MN_F_T_120'), + name: '环球积分', path: "hqjf", }, { - name: this.$t('MN_F_T_121'), + name: '车奖积分', path: "njjf", }, ], diff --git a/src/views/configManage/bonus/ydpz.vue b/src/views/configManage/bonus/ydpz.vue index c5e911a..2a2c701 100644 --- a/src/views/configManage/bonus/ydpz.vue +++ b/src/views/configManage/bonus/ydpz.vue @@ -45,40 +45,40 @@ export default { moren: "ydpz", topList: [ { - name: this.$t('MN_F_T_412'), + name: '奖项配置', path: "bonus", }, { - name: this.$t('MN_F_T_114'), + name: '直推配置', path: "ztpz", }, { - name: this.$t('MN_F_T_413'), + name: '拓展配置', path: "kzpz", }, { - name: this.$t('MN_F_T_116'), + name: '辅导分红', path: "fdfh", }, { - name: this.$t('MN_F_T_117'), + name: '服务补贴', path: "fwbt", }, { - name: this.$t('MN_F_T_118'), + name: '奖金扣项', path: "jjkx", }, { - name: this.$t('MN_F_T_119'), + name: '云代配置', path: "ydpz", }, { - name: this.$t('MN_F_T_120'), + name: '环球积分', path: "hqjf", }, { - name: this.$t('MN_F_T_121'), + name: '车奖积分', path: "njjf", }, ], diff --git a/src/views/configManage/bonus/ztpz.vue b/src/views/configManage/bonus/ztpz.vue index 3254b1e..c018402 100644 --- a/src/views/configManage/bonus/ztpz.vue +++ b/src/views/configManage/bonus/ztpz.vue @@ -446,40 +446,40 @@ export default { moren: 'ztpz', topList: [ { - name: this.$t('MN_F_T_412'), + name: '奖项配置', path: 'bonus' }, { - name: this.$t('MN_F_T_114'), + name: '直推配置', path: 'ztpz' }, { - name: this.$t('MN_F_T_413'), + name: '拓展配置', path: 'kzpz' }, { - name: this.$t('MN_F_T_116'), + name: '辅导分红', path: 'fdfh' }, { - name: this.$t('MN_F_T_117'), + name: '服务补贴', path: 'fwbt' }, { - name: this.$t('MN_F_T_118'), + name: '奖金扣项', path: 'jjkx' }, { - name: this.$t('MN_F_T_119'), + name: '云代配置', path: 'ydpz' }, { - name: this.$t('MN_F_T_120'), + name: '环球积分', path: 'hqjf' }, { - name: this.$t('MN_F_T_121'), + name: '车奖积分', path: 'njjf' } ], @@ -532,15 +532,15 @@ export default { cdSelectList: [ { value: '1', - label: this.$t('MN_F_T_493') + label: '覆盖' }, { value: '2', - label: this.$t('MN_F_T_494') + label: '补差' }, { value: '3', - label: this.$t('MN_F_T_495') + label: '累计' } ], // 升级方式 rules: {}, diff --git a/src/views/configManage/businesshandling/index.vue b/src/views/configManage/businesshandling/index.vue index eb89aec..b51e4f9 100644 --- a/src/views/configManage/businesshandling/index.vue +++ b/src/views/configManage/businesshandling/index.vue @@ -258,7 +258,7 @@ export default { moren: "ywblsxf", topList: [ { - name: this.$t("MN_F_T_134"), + name: '业务办理手续费', path: "ywblsxf", }, ], @@ -289,14 +289,14 @@ export default { type: [ { required: true, - message: this.$t("MN_F_T_1213"), + message: '请选择业务', trigger: "change", }, ], pkAccount: [ { required: true, - message: this.$t("MN_F_T_1214"), + message: '请选择币种', trigger: "change", }, ], @@ -386,7 +386,7 @@ export default { // 添加 adddate() { this.updateShow = true; - this.updateTitle = this.$t("w_0328"); + this.updateTitle = '添加'; this.addOrEdit = true; this.form.pkId = null; this.form = { @@ -403,7 +403,7 @@ export default { }, // 修改 update(row) { - this.updateTitle = this.$t("PER_DA_20"); + this.updateTitle = '修改'; this.updateShow = true; this.addOrEdit = false; getOneHandelWorkList(row.pkId).then((res) => { @@ -412,9 +412,9 @@ export default { }, // 删除 deleteRow(row) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { deletHandelWork(row.pkId).then((res) => { @@ -439,9 +439,9 @@ export default { }, /** 导出按钮操作 */ handleExport() { - this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm( '是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning', }).then((_) => { this.download( diff --git a/src/views/configManage/cuMemberRetailRegion/index.vue b/src/views/configManage/cuMemberRetailRegion/index.vue index 70097c1..628db3e 100644 --- a/src/views/configManage/cuMemberRetailRegion/index.vue +++ b/src/views/configManage/cuMemberRetailRegion/index.vue @@ -129,7 +129,7 @@ export default { children: "children", expandTrigger: "hover", }, - title: this.$t("w_0328"), + title: '添加', forms: "", pickerOptions: { disabledDate(time) { @@ -140,7 +140,7 @@ export default { }, rules: { memberCode: [ - { required: true, message: this.$t("MN_F_T_355"), trigger: "blur" }, + { required: true, message: '请选择发布位置', trigger: "blur" }, ], }, table: { @@ -171,12 +171,12 @@ export default { gradeRangList: [], awardsList: [], statusList: [ - { name: this.$t("MN_F_T_334"), id: "1" }, - { name: this.$t("MN_F_T_335"), id: "2" }, + { name: '立即发送', id: "1" }, + { name: '定时发送', id: "2" }, ], statusList1: [ - { name: this.$t("MN_F_T_359"), id: "0" }, - { name: this.$t("MN_F_T_360"), id: "1" }, + { name: '未发送', id: "0" }, + { name: '已发送', id: "1" }, ], menuOptions: [], loading: false, @@ -197,9 +197,9 @@ export default { }, methods: { handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( @@ -244,7 +244,7 @@ export default { addRules() { this.types = 1; this.ruleShow = true; - this.title = this.$t("w_0328"); + this.title = '添加'; }, submitBtn() { // 添加角色 @@ -252,7 +252,7 @@ export default { }, updateShow(item) { this.types = 2; - this.title = this.$t("PER_DA_20"); + this.title = '修改'; this.table = item; let arr = [item.province + "", item.city + "", (item.county || "") + ""]; arr = arr.filter((item) => item != ""); @@ -263,9 +263,9 @@ export default { this.ruleShow = true; }, delRole(item) { - this.$confirm(this.$t("确认要删除该配置吗?"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm(this.$t("确认要删除该配置吗?"), '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { con.delRetailRegion(item.pkId).then((res) => { diff --git a/src/views/configManage/dealSet/agreementWhitelist.vue b/src/views/configManage/dealSet/agreementWhitelist.vue index 63059bc..427c26d 100644 --- a/src/views/configManage/dealSet/agreementWhitelist.vue +++ b/src/views/configManage/dealSet/agreementWhitelist.vue @@ -293,10 +293,10 @@ export default { ifadd: "", rules: { memberCode: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], // contacts: [ - // { required: true, message: this.$t('S_C_70'), trigger: 'blur' }, + // { required: true, message: '请输入', trigger: 'blur' }, // ], }, deleteId: "", @@ -338,7 +338,7 @@ export default { }, /** 导入按钮操作 */ handleImport() { - this.upload.title = this.$t("ENU_APPROVE_B_123"); + this.upload.title = '安置架构'; this.upload.open = true; }, // 文件上传中处理 @@ -357,7 +357,7 @@ export default { this.upload.open = false; this.upload.isUploading = false; this.$refs.upload.clearFiles(); - this.$alert(response.msg, this.$t("MN_F_T_233"), { + this.$alert(response.msg, '导入结果', { dangerouslyUseHTMLString: true, }); // this.getList(); @@ -365,7 +365,7 @@ export default { // 上传文件数量超出后的动作 handleExceed() { this.upload.isUploading = false; - this.msgInfo(this.$t("MN_F_T_234")); + this.msgInfo('仅可上传一个文件哦'); }, // 提交上传文件 submitFileForm() { @@ -430,9 +430,9 @@ export default { }, // 删除 handleDelete(row) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { if (row.pkId) { @@ -457,7 +457,7 @@ export default { }); }, openDig() { - this.dialogTitle = this.$t("w_0328"); + this.dialogTitle = '添加'; this.form = {}; this.ifadd = 1; this.dialogVisible = true; @@ -473,9 +473,9 @@ export default { }, /** 导出按钮操作 */ handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/configManage/dealSet/index.vue b/src/views/configManage/dealSet/index.vue index 445c9fa..27d6918 100644 --- a/src/views/configManage/dealSet/index.vue +++ b/src/views/configManage/dealSet/index.vue @@ -304,9 +304,9 @@ export default { }, // 删除 handleDelete(id) { - this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { api @@ -336,15 +336,15 @@ export default { handleSelectionChange(val) {}, /** 导出按钮操作 */ handleExport() { - this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then((_) => { this.download( '/system/manage/ho-enterprise-mission/export', Object.assign({}, this.queryParams, this.select), - `${this.$t('MN_F_T_193')}${new Date().getTime()}.xlsx` + `${'企业使命'}${new Date().getTime()}.xlsx` ) }) }, diff --git a/src/views/configManage/dealSet/transSet.vue b/src/views/configManage/dealSet/transSet.vue index 521cb70..1bf1ae0 100644 --- a/src/views/configManage/dealSet/transSet.vue +++ b/src/views/configManage/dealSet/transSet.vue @@ -105,11 +105,11 @@ export default { this.tabActive = 2 this.topList = [ { - name: this.$t('MN_F_T_103'), + name: '转账配置', id: 2 }, { - name: this.$t('MN_F_T_104'), + name: '提现配置', id: 1 } ] @@ -129,14 +129,14 @@ export default { if (res.data.businessModule == 2) { this.topList = [ { - name: this.$t('MN_F_T_103'), + name: '转账配置', id: 2 } ] } else { this.topList = [ { - name: this.$t('MN_F_T_104'), + name: '提现配置', id: 1 } ] diff --git a/src/views/configManage/dealSet/transferWhite.vue b/src/views/configManage/dealSet/transferWhite.vue index a7ae85f..d2b6462 100644 --- a/src/views/configManage/dealSet/transferWhite.vue +++ b/src/views/configManage/dealSet/transferWhite.vue @@ -252,10 +252,10 @@ export default { dialogTitle: "", rules: { memberCode: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], pkAccount: [ - { required: true, message: this.$t("CK_KS_38"), trigger: "change" }, + { required: true, message: '请选择', trigger: "change" }, ], }, addEdit: 0, @@ -282,9 +282,9 @@ export default { }, //批量删除 deleteChoice() { - this.$confirm(this.$t("MN_F_T_911"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认操作?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { let thepkIds = []; @@ -345,9 +345,9 @@ export default { }, // 删除 handleDelete(id) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { api @@ -367,10 +367,10 @@ export default { this.form = {}; this.dialogVisible = true; this.addEdit = 1; - this.dialogTitle = this.$t("w_0328"); + this.dialogTitle = '添加'; }, updateRow(row) { - this.dialogTitle = this.$t("PER_DA_20"); + this.dialogTitle = '修改'; api.transferWhiteDetail({ pkId: row.pkId }).then((res) => { res.data.pkAccount = res.data.pkAccountId; this.form = res.data; @@ -390,9 +390,9 @@ export default { }, /** 导出按钮操作 */ handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/configManage/dealSet/whiteList.vue b/src/views/configManage/dealSet/whiteList.vue index b25c8d6..144710c 100644 --- a/src/views/configManage/dealSet/whiteList.vue +++ b/src/views/configManage/dealSet/whiteList.vue @@ -350,13 +350,13 @@ export default { ], rules: { memberCode: [ - { required: true, message: this.$t("w_0046"), trigger: "blur" }, + { required: true, message: '请输入会员编号', trigger: "blur" }, ], withdrawalState: [ - { required: true, message: this.$t("CK_KS_38"), trigger: "change" }, + { required: true, message: '请选择', trigger: "change" }, ], transferState: [ - { required: true, message: this.$t("CK_KS_38"), trigger: "change" }, + { required: true, message: '请选择', trigger: "change" }, ], }, addOrEdit: true, @@ -460,9 +460,9 @@ export default { // 删除 handleDelete(id) { let arr; - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { if (id) { @@ -505,9 +505,9 @@ export default { }, /** 导出按钮操作 */ handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/configManage/deliveryWay/index.vue b/src/views/configManage/deliveryWay/index.vue index aef2463..693cde5 100644 --- a/src/views/configManage/deliveryWay/index.vue +++ b/src/views/configManage/deliveryWay/index.vue @@ -58,7 +58,7 @@ export default { moren: "deliveryWay", topList: [ { - name: this.$t('w_0061'), + name: '发货方式', path: "deliveryWay", }, ], diff --git a/src/views/configManage/freePostageAreas/index.vue b/src/views/configManage/freePostageAreas/index.vue index a51117b..93beca3 100644 --- a/src/views/configManage/freePostageAreas/index.vue +++ b/src/views/configManage/freePostageAreas/index.vue @@ -183,7 +183,7 @@ export default { moren: "freePostageAreas", topList: [ { - name: this.$t("CK_KS_155"), + name: '免邮专区配置', path: "freePostageAreas", }, ], @@ -199,11 +199,11 @@ export default { updateTitle: "", agreeList: [ { - label: this.$t("ENU_POPUP_TYPE_1"), + label: '允许', value: 0, }, { - label: this.$t("ENU_POPUP_TYPE_2"), + label: '禁止', value: 1, }, ], @@ -218,10 +218,10 @@ export default { { required: true, message: "请输入", trigger: "blur" }, ], specialArea: [ - { required: true, message: this.$t("CK_KS_38"), trigger: 'change' }, + { required: true, message: '请选择', trigger: 'change' }, ], enableState: [ - { required: true, message: this.$t("CK_KS_38"), trigger: "change" }, + { required: true, message: '请选择', trigger: "change" }, ], }, }; @@ -243,31 +243,31 @@ export default { if (e == 3 || e == 26 || e == 12 || e == 22 || e == 14) { this.$set(this, 'topList', [ { - name: this.$t('MN_F_T_1122'), + name: '基础设置', id: 0, }, { - name: this.$t('MN_F_T_1164'), + name: '产品明细', id: 1, }, { - name: this.$t('MN_F_T_617'), + name: '规格明细', id: 2, }, { - name: this.$t('MN_F_T_1163'), + name: '团队配置', id: 3, }, { - name: this.$t('MN_F_T_623'), + name: '级差配置', id: 4, }, { - name: this.$t('MN_F_T_1166'), + name: '等级配置', id: 5, }, { - name: this.$t('MN_F_T_109'), + name: '奖衔配置', id: 6, }, { @@ -278,28 +278,28 @@ export default { } else { this.$set(this, 'topList', [ { - name: this.$t('MN_F_T_1122'), + name: '基础设置', id: 0, }, { - name: this.$t('MN_F_T_1164'), + name: '产品明细', id: 1, }, { - name: this.$t('MN_F_T_617'), + name: '规格明细', id: 2, }, { - name: this.$t('MN_F_T_1163'), + name: '团队配置', id: 3, }, { - name: this.$t('MN_F_T_1166'), + name: '等级配置', id: 5, }, { - name: this.$t('MN_F_T_109'), + name: '奖衔配置', id: 6, }, { @@ -360,13 +360,13 @@ export default { //添加 adddate() { this.updateShow = true; - this.updateTitle = this.$t("w_0328"); + this.updateTitle = '添加'; this.addOrEdit = true; }, //修改 update(row) { - this.updateTitle = this.$t("PER_DA_20"); + this.updateTitle = '修改'; this.addOrEdit = false; this.updateShow = true; con.getAresFreePostageRow(row.pkId).then((res) => { @@ -375,7 +375,7 @@ export default { }, //删除 deleteRow(row) { - this.$confirm(this.$t("MN_F_T_431")).then((_) => { + this.$confirm('确定删除?').then((_) => { con.deleteAresFreePostage(row.pkId).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/configManage/honorAdmin/index.vue b/src/views/configManage/honorAdmin/index.vue index 0410769..33fd22a 100644 --- a/src/views/configManage/honorAdmin/index.vue +++ b/src/views/configManage/honorAdmin/index.vue @@ -241,7 +241,7 @@ export default { moren: "honorAdmin", topList: [ { - name: this.$t('MN_F_T_137'), + name: '荣誉馆配置', path: "honorAdmin", }, ], @@ -258,13 +258,13 @@ export default { dialogVisible: false, rules: { name: [ - { required: true, message: this.$t('S_C_70'), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], title: [ - { required: true, message: this.$t('S_C_70'), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], value: [ - { required: true, message: this.$t('S_C_70'), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], type: [ { required: true, message: "请选择达标标准", trigger: "change" }, @@ -273,7 +273,7 @@ export default { img: [ { required: true, - message: this.$t('MN_F_T_356'), + message: '请上传图片', trigger: "change", }, ], @@ -300,9 +300,9 @@ export default { methods: { //删除 deleteRow(row) { - this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { delMember(row.pkId).then((res) => { @@ -337,7 +337,7 @@ export default { //修改 update(data) { this.selectIndex = data.type - this.dialogTitle = this.$t('PER_DA_20'); + this.dialogTitle = '修改'; this.ifadd = 2; this.form.name = data.name this.form.value = data.value @@ -349,15 +349,15 @@ export default { }, //导出 handleExport() { - this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( "/system/manage/store-level/export", { ...this.queryParams }, - `${this.$t('MN_F_T_1203')}${new Date().getTime()}.xlsx` + `${'店铺等级'}${new Date().getTime()}.xlsx` ); }); }, @@ -419,7 +419,7 @@ export default { }); }, addData() { - this.dialogTitle = this.$t('w_0328'); + this.dialogTitle = '添加'; this.ifadd = 1; this.form = { value: "", diff --git a/src/views/configManage/kValue/index.vue b/src/views/configManage/kValue/index.vue index cd68158..81817f5 100644 --- a/src/views/configManage/kValue/index.vue +++ b/src/views/configManage/kValue/index.vue @@ -237,25 +237,25 @@ export default { }, data() { return { - title: this.$t("w_0328"), + title: '添加', modifiedTime: [], modifiedTime1: [], forms: "", rules: { memberCode: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], expandRatio: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], coachGeneration: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], startDate: [ - { required: true, message: this.$t("CK_KS_38"), trigger: "change" }, + { required: true, message: '请选择', trigger: "change" }, ], endDate: [ - { required: true, message: this.$t("CK_KS_38"), trigger: "change" }, + { required: true, message: '请选择', trigger: "change" }, ], }, table: {}, @@ -283,11 +283,11 @@ export default { addRules() { this.types = 1; this.ruleShow = true; - this.title = this.$t("w_0328"); + this.title = '添加'; }, updateShow(item) { this.types = 2; - this.title = this.$t("PER_DA_20"); + this.title = '修改'; api .kValueDetail({ pkMemberRiskControl: item.pkId, @@ -300,9 +300,9 @@ export default { }); }, delRole(item) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { api diff --git a/src/views/configManage/label/index.vue b/src/views/configManage/label/index.vue index 998c509..3bc4b69 100644 --- a/src/views/configManage/label/index.vue +++ b/src/views/configManage/label/index.vue @@ -198,7 +198,7 @@ export default { moren: "label", topList: [ { - name: this.$t('MN_F_T_131'), + name: '标签配置', path: "label", }, ], @@ -216,8 +216,8 @@ export default { }, total: 0, rules: { - label: [{ required: true, message: this.$t('S_C_70'), trigger: "blur" }], - labelType: [{ required: true, message: this.$t('CK_KS_38'), trigger: "change" }], + label: [{ required: true, message: '请输入', trigger: "blur" }], + labelType: [{ required: true, message: '请选择', trigger: "change" }], labelImage: [ { required: true, message: "请选择图片", trigger: "change" }, ], @@ -241,7 +241,7 @@ export default { this.download( "/system/manage/label/export", { ...this.queryParams }, - `${this.$t('MN_F_T_131')}${new Date().getTime()}.xlsx` + `${'标签配置'}${new Date().getTime()}.xlsx` ); }, //点击保存 @@ -272,7 +272,7 @@ export default { }, //删除 deleteRow(row) { - this.$confirm(this.$t('MN_F_T_431')).then((_) => { + this.$confirm('确定删除?').then((_) => { deletLabel({ pkId: row.pkId }).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/configManage/label/oldlabel.vue b/src/views/configManage/label/oldlabel.vue index 18fe073..2a99ddb 100644 --- a/src/views/configManage/label/oldlabel.vue +++ b/src/views/configManage/label/oldlabel.vue @@ -79,7 +79,7 @@ moren: "label", topList: [ { - name: this.$t('MN_F_T_131'), + name: '标签配置', path: "label", }, ], @@ -110,7 +110,7 @@ }, //删除标签 deletLabel(id) { - this.$confirm(this.$t('MN_F_T_431')).then((_) => { + this.$confirm('确定删除?').then((_) => { deletLabel({ pkId: id }).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/configManage/lenjoyStore/index.vue b/src/views/configManage/lenjoyStore/index.vue index 3b64c16..09c8180 100644 --- a/src/views/configManage/lenjoyStore/index.vue +++ b/src/views/configManage/lenjoyStore/index.vue @@ -248,7 +248,7 @@ export default { picture: [ { required: true, - message: this.$t("MN_F_T_356"), + message: '请上传图片', trigger: "change", }, ], @@ -284,9 +284,9 @@ export default { }); }, deleteRow(row) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { con.delRangeStore(row.pkId).then((res) => { @@ -316,7 +316,7 @@ export default { }, //修改 update(pkId) { - this.dialogTitle = this.$t("PER_DA_20"); + this.dialogTitle = '修改'; this.ifadd = 2; con.getStoreLevelOne({ pkId: pkId }).then((res) => { this.form = res.data; @@ -327,9 +327,9 @@ export default { }, //导出 handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( @@ -352,7 +352,7 @@ export default { con.rangeStoreAdd(this.form).then((res) => { if (res.code == 200) { this.$message({ - message: this.$t("MN_F_T_477"), + message: '添加成功', type: "success", }); this.dialogVisible = false; @@ -384,7 +384,7 @@ export default { }); }, addData() { - this.dialogTitle = this.$t("w_0328"); + this.dialogTitle = '添加'; this.ifadd = 1; this.form = { memberCode: "", diff --git a/src/views/configManage/level/fgjc.vue b/src/views/configManage/level/fgjc.vue index 2b69331..68b40d6 100644 --- a/src/views/configManage/level/fgjc.vue +++ b/src/views/configManage/level/fgjc.vue @@ -204,19 +204,19 @@ export default { moren: "fgjc", topList: [ { - name: this.$t('MN_F_T_1166'), + name: '等级配置', path: "level", }, { - name: this.$t('MN_F_T_109'), + name: '奖衔配置', path: "jxpz", }, { - name: this.$t('MN_F_T_110'), + name: '复购极差', path: "fgjc", }, { - name: this.$t('MN_F_T_111'), + name: '配送中心', path: "pszx", }, ], @@ -266,7 +266,7 @@ export default { methods: { //添加 adddate() { - this.dialogTitle = this.$t('w_0328'); + this.dialogTitle = '添加'; this.updateShow = true; this.addEdit = 1; this.$refs["form"].clearValidate(); @@ -279,7 +279,7 @@ export default { }, //修改 update(row) { - this.dialogTitle = this.$t('PER_DA_20'); + this.dialogTitle = '修改'; this.addEdit = 2; this.updateShow = true; getOneManage(row.pkId).then((res) => { @@ -367,7 +367,7 @@ export default { }, //删除 deleteRow(row, item) { - this.$confirm(this.$t('MN_F_T_431')).then((_) => { + this.$confirm('确定删除?').then((_) => { deleteRange(row.pkId).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/configManage/level/index.vue b/src/views/configManage/level/index.vue index 7bc49ec..51d4355 100644 --- a/src/views/configManage/level/index.vue +++ b/src/views/configManage/level/index.vue @@ -271,19 +271,19 @@ export default { moren: "level", topList: [ { - name: this.$t('MN_F_T_1166'), + name: '等级配置', path: "level", }, { - name: this.$t('MN_F_T_109'), + name: '奖衔配置', path: "jxpz", }, { - name: this.$t('MN_F_T_110'), + name: '复购极差', path: "fgjc", }, { - name: this.$t('MN_F_T_111'), + name: '配送中心', path: "pszx", }, ], @@ -332,10 +332,10 @@ export default { { required: true, message: "请选择注册权限", trigger: "change" }, ], image: [ - { required: true, message: this.$t('MN_F_T_356'), trigger: "change" }, + { required: true, message: '请上传图片', trigger: "change" }, ], icon: [ - { required: true, message: this.$t('MN_F_T_766'), trigger: "change" }, + { required: true, message: '请上传图标', trigger: "change" }, ], }, addEdit: "", @@ -360,9 +360,9 @@ export default { }, //启用/禁用 updateState(row) { - this.$confirm(this.$t('MN_F_T_804'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认更改状态?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { var thestate = ""; @@ -405,7 +405,7 @@ export default { }, //添加 adddate() { - this.dialogTitle = this.$t('w_0328'); + this.dialogTitle = '添加'; this.updateShow = true; this.addEdit = 1; this.$refs["form"].clearValidate(); @@ -486,7 +486,7 @@ export default { }, //修改 update(row, item) { - this.dialogTitle = this.$t('PER_DA_20'); + this.dialogTitle = '修改'; this.updateShow = true; this.addEdit = 2; getOnelist(row.pkId).then((res) => { @@ -498,7 +498,7 @@ export default { }, //删除 deleteRow(row, item) { - this.$confirm(this.$t('MN_F_T_431')).then((_) => { + this.$confirm('确定删除?').then((_) => { deleteGrade(row.pkId).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/configManage/level/jxpz.vue b/src/views/configManage/level/jxpz.vue index 8f35a15..74d0af8 100644 --- a/src/views/configManage/level/jxpz.vue +++ b/src/views/configManage/level/jxpz.vue @@ -327,19 +327,19 @@ export default { moren: "jxpz", topList: [ { - name: this.$t('MN_F_T_1166'), + name: '等级配置', path: "level", }, { - name: this.$t('MN_F_T_109'), + name: '奖衔配置', path: "jxpz", }, { - name: this.$t('MN_F_T_110'), + name: '复购极差', path: "fgjc", }, { - name: this.$t('MN_F_T_111'), + name: '配送中心', path: "pszx", }, ], @@ -420,9 +420,9 @@ export default { //启用/禁用 updateState(row) { - this.$confirm(this.$t('MN_F_T_804'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认更改状态?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { var thestate = ""; @@ -474,7 +474,7 @@ export default { }, //点击添加 adddate() { - this.dialogTitle = this.$t('w_0328'); + this.dialogTitle = '添加'; this.updateShow = true; this.addEdit = 1; this.$refs["form"].clearValidate(); @@ -489,7 +489,7 @@ export default { update(row, item) { this.addEdit = 2; this.updateShow = true; - this.dialogTitle = this.$t('PER_DA_20'); + this.dialogTitle = '修改'; getOneAwards(row.pkId).then((res) => { this.form = res.data; }); @@ -562,7 +562,7 @@ export default { }, //删除 deleteRow(row, item) { - this.$confirm(this.$t('MN_F_T_431')).then((_) => { + this.$confirm('确定删除?').then((_) => { deleteAwards(row.pkId).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/configManage/level/pszx.vue b/src/views/configManage/level/pszx.vue index 5b2b413..d7ba478 100644 --- a/src/views/configManage/level/pszx.vue +++ b/src/views/configManage/level/pszx.vue @@ -224,19 +224,19 @@ export default { moren: "pszx", topList: [ { - name: this.$t('MN_F_T_1166'), + name: '等级配置', path: "level", }, { - name: this.$t('MN_F_T_109'), + name: '奖衔配置', path: "jxpz", }, { - name: this.$t('MN_F_T_110'), + name: '复购极差', path: "fgjc", }, { - name: this.$t('MN_F_T_111'), + name: '配送中心', path: "pszx", }, ], @@ -281,7 +281,7 @@ export default { { type: "string", required: true, - message: this.$t('MN_F_T_691'), + message: '请选择时间', trigger: "change", }, ], @@ -298,9 +298,9 @@ export default { methods: { //启用/禁用 updateState(row) { - this.$confirm(this.$t('MN_F_T_804'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认更改状态?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { var thestate = ""; @@ -330,7 +330,7 @@ export default { }, //添加 adddate() { - this.dialogTitle = this.$t('w_0328') + this.dialogTitle = '添加' this.updateShow = true; this.addEdit = 1 this.$refs["form"].clearValidate(); @@ -362,7 +362,7 @@ export default { }, //修改 update(row) { - this.dialogTitle = this.$t('PER_DA_20') + this.dialogTitle = '修改' this.addEdit = 2 this.updateShow = true; getshopOnelist(row.pkId).then((res) => { @@ -424,7 +424,7 @@ export default { }, //删除 deleteRow(row) { - this.$confirm(this.$t('MN_F_T_431')).then((_) => { + this.$confirm('确定删除?').then((_) => { deleteShop(row.pkId).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/configManage/memberControl/index.vue b/src/views/configManage/memberControl/index.vue index 9747c77..e7ad316 100644 --- a/src/views/configManage/memberControl/index.vue +++ b/src/views/configManage/memberControl/index.vue @@ -207,10 +207,10 @@ export default { dialogTitle: "", rules: { memberCode: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], controlType: [ - { required: true, message: this.$t("CK_KS_38"), trigger: "change" }, + { required: true, message: '请选择', trigger: "change" }, ], }, addEdit: 0, @@ -232,9 +232,9 @@ export default { }, //批量删除 deleteChoice() { - this.$confirm(this.$t("MN_F_T_911"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认操作?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { let thepkIds = []; @@ -290,9 +290,9 @@ export default { }, // 删除 handleDelete(id) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { api @@ -312,10 +312,10 @@ export default { this.form = {}; this.dialogVisible = true; this.addEdit = 1; - this.dialogTitle = this.$t("w_0328"); + this.dialogTitle = '添加'; }, updateRow(row) { - this.dialogTitle = this.$t("PER_DA_20"); + this.dialogTitle = '修改'; api.getMemeberControlListDetail(row.pkId).then((res) => { this.form = res.data; }); @@ -334,9 +334,9 @@ export default { }, /** 导出按钮操作 */ handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/configManage/memberRetailRegion/index.vue b/src/views/configManage/memberRetailRegion/index.vue index 7a80e5a..40563d4 100644 --- a/src/views/configManage/memberRetailRegion/index.vue +++ b/src/views/configManage/memberRetailRegion/index.vue @@ -323,7 +323,7 @@ export default { children: "children", expandTrigger: "hover", }, - title: this.$t("w_0328"), + title: '添加', forms: "", pickerOptions: { disabledDate(time) { @@ -334,7 +334,7 @@ export default { }, rules: { memberCode: [ - { required: true, message: this.$t("MN_F_T_355"), trigger: "blur" }, + { required: true, message: '请选择发布位置', trigger: "blur" }, ], }, table: { @@ -365,12 +365,12 @@ export default { gradeRangList: [], awardsList: [], statusList: [ - { name: this.$t("MN_F_T_334"), id: "1" }, - { name: this.$t("MN_F_T_335"), id: "2" }, + { name: '立即发送', id: "1" }, + { name: '定时发送', id: "2" }, ], statusList1: [ - { name: this.$t("MN_F_T_359"), id: "0" }, - { name: this.$t("MN_F_T_360"), id: "1" }, + { name: '未发送', id: "0" }, + { name: '已发送', id: "1" }, ], menuOptions: [], loading: false, @@ -391,9 +391,9 @@ export default { }, methods: { handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( @@ -438,7 +438,7 @@ export default { addRules() { this.types = 1; this.ruleShow = true; - this.title = this.$t("w_0328"); + this.title = '添加'; }, submitBtn() { // 添加角色 @@ -446,7 +446,7 @@ export default { }, updateShow(item) { this.types = 2; - this.title = this.$t("PER_DA_20"); + this.title = '修改'; this.table = item; let arr = [item.province + "", item.city + "", (item.county || "") + ""]; arr = arr.filter((item) => item != ""); @@ -457,9 +457,9 @@ export default { this.ruleShow = true; }, delRole(item) { - this.$confirm(this.$t("确认要删除该配置吗?"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm(this.$t("确认要删除该配置吗?"), '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { con.delRetailRegion(item.pkId).then((res) => { diff --git a/src/views/configManage/paySet/index.vue b/src/views/configManage/paySet/index.vue index bfb73e3..c7f34a5 100644 --- a/src/views/configManage/paySet/index.vue +++ b/src/views/configManage/paySet/index.vue @@ -58,7 +58,7 @@ export default { }, topList: [ { - name: this.$t('MN_F_T_112'), + name: '支付配置', id: 0, }, ], diff --git a/src/views/configManage/protocol/find.vue b/src/views/configManage/protocol/find.vue index 7899f5d..4b7dd01 100644 --- a/src/views/configManage/protocol/find.vue +++ b/src/views/configManage/protocol/find.vue @@ -97,7 +97,7 @@ export default { moren: "protocol", topList: [ { - name: this.$t('MN_F_T_130'), + name: '协议配置', path: "protocol", }, ], diff --git a/src/views/configManage/protocol/index.vue b/src/views/configManage/protocol/index.vue index 34e9172..ec97eb6 100644 --- a/src/views/configManage/protocol/index.vue +++ b/src/views/configManage/protocol/index.vue @@ -133,7 +133,7 @@ export default { moren: "protocol", topList: [ { - name: this.$t('MN_F_T_130'), + name: '协议配置', path: "protocol", }, ], @@ -173,9 +173,9 @@ export default { //删除 deleteRow(row) { - this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { deleteAgreement(row.pkId).then((res) => { diff --git a/src/views/configManage/registrationConfiguration/index.vue b/src/views/configManage/registrationConfiguration/index.vue index ec7b954..ab85bc7 100644 --- a/src/views/configManage/registrationConfiguration/index.vue +++ b/src/views/configManage/registrationConfiguration/index.vue @@ -57,7 +57,7 @@ export default { moren: "zcympz", topList: [ { - name: this.$t('MN_F_T_141'), + name: '注册页面配置', path: "zcympz", }, ], diff --git a/src/views/configManage/retailLevel/fgjc.vue b/src/views/configManage/retailLevel/fgjc.vue index dca8716..53afea1 100644 --- a/src/views/configManage/retailLevel/fgjc.vue +++ b/src/views/configManage/retailLevel/fgjc.vue @@ -219,15 +219,15 @@ export default { moren: "retailFgjc", topList: [ { - name: this.$t("MN_F_T_1166"), + name: '等级配置', path: "retailLevel", }, { - name: this.$t("MN_F_T_109"), + name: '奖衔配置', path: "retailJxpz", }, { - name: this.$t("MN_F_T_110"), + name: '复购极差', path: "retailFgjc", }, ], @@ -276,9 +276,9 @@ export default { }, methods: { exported() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( @@ -290,7 +290,7 @@ export default { }, //添加 adddate() { - this.dialogTitle = this.$t("w_0328"); + this.dialogTitle = '添加'; this.updateShow = true; this.addEdit = 1; this.$refs["form"].clearValidate(); @@ -303,7 +303,7 @@ export default { }, //修改 update(row) { - this.dialogTitle = this.$t("PER_DA_20"); + this.dialogTitle = '修改'; this.addEdit = 2; this.updateShow = true; getOneManage(row.pkId).then((res) => { @@ -391,7 +391,7 @@ export default { }, //删除 deleteRow(row, item) { - this.$confirm(this.$t("MN_F_T_431")).then((_) => { + this.$confirm('确定删除?').then((_) => { deleteRange(row.pkId).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/configManage/retailLevel/index.vue b/src/views/configManage/retailLevel/index.vue index 5bae7d4..65be07b 100644 --- a/src/views/configManage/retailLevel/index.vue +++ b/src/views/configManage/retailLevel/index.vue @@ -441,19 +441,19 @@ export default { moren: "retailLevel", topList: [ { - name: this.$t("MN_F_T_1166"), + name: '等级配置', path: "retailLevel", }, { - name: this.$t("MN_F_T_109"), + name: '奖衔配置', path: "retailJxpz", }, { - name: this.$t("MN_F_T_110"), + name: '复购极差', path: "retailFgjc", }, // { - // name: this.$t('MN_F_T_111'), + // name: '配送中心', // path: "pszx", // }, ], @@ -510,10 +510,10 @@ export default { { required: true, message: "请选择注册权限", trigger: "change" }, ], image: [ - { required: true, message: this.$t("MN_F_T_356"), trigger: "change" }, + { required: true, message: '请上传图片', trigger: "change" }, ], icon: [ - { required: true, message: this.$t("MN_F_T_766"), trigger: "change" }, + { required: true, message: '请上传图标', trigger: "change" }, ], }, addEdit: "", @@ -531,9 +531,9 @@ export default { }, methods: { exported() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( @@ -551,9 +551,9 @@ export default { }, //启用/禁用 updateState(row) { - this.$confirm(this.$t("MN_F_T_804"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认更改状态?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { var thestate = ""; @@ -596,7 +596,7 @@ export default { }, //添加 adddate() { - this.dialogTitle = this.$t("w_0328"); + this.dialogTitle = '添加'; this.updateShow = true; this.addEdit = 1; this.$refs["form"].clearValidate(); @@ -677,7 +677,7 @@ export default { }, //修改 update(row, item) { - this.dialogTitle = this.$t("PER_DA_20"); + this.dialogTitle = '修改'; this.updateShow = true; this.addEdit = 2; getOnelist(row.pkId).then((res) => { @@ -689,7 +689,7 @@ export default { }, //删除 deleteRow(row, item) { - this.$confirm(this.$t("MN_F_T_431")).then((_) => { + this.$confirm('确定删除?').then((_) => { deleteGrade(row.pkId).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/configManage/retailLevel/jxpz.vue b/src/views/configManage/retailLevel/jxpz.vue index e59a767..974e2d9 100644 --- a/src/views/configManage/retailLevel/jxpz.vue +++ b/src/views/configManage/retailLevel/jxpz.vue @@ -519,15 +519,15 @@ export default { moren: "retailJxpz", topList: [ { - name: this.$t("MN_F_T_1166"), + name: '等级配置', path: "retailLevel", }, { - name: this.$t("MN_F_T_109"), + name: '奖衔配置', path: "retailJxpz", }, { - name: this.$t("MN_F_T_110"), + name: '复购极差', path: "retailFgjc", }, ], @@ -618,9 +618,9 @@ export default { //启用/禁用 updateState(row) { - this.$confirm(this.$t("MN_F_T_804"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认更改状态?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { var thestate = ""; @@ -673,7 +673,7 @@ export default { }, //点击添加 adddate() { - this.dialogTitle = this.$t("w_0328"); + this.dialogTitle = '添加'; this.updateShow = true; this.addEdit = 1; this.$refs["form"].clearValidate(); @@ -688,7 +688,7 @@ export default { update(row, item) { this.addEdit = 2; this.updateShow = true; - this.dialogTitle = this.$t("PER_DA_20"); + this.dialogTitle = '修改'; getOneAwards(row.pkId).then((res) => { this.form = res.data; }); @@ -761,7 +761,7 @@ export default { }, //删除 deleteRow(row, item) { - this.$confirm(this.$t("MN_F_T_431")).then((_) => { + this.$confirm('确定删除?').then((_) => { deleteAwards(row.pkId).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/configManage/selectMember/index.vue b/src/views/configManage/selectMember/index.vue index d87ad71..21a2bfb 100644 --- a/src/views/configManage/selectMember/index.vue +++ b/src/views/configManage/selectMember/index.vue @@ -232,16 +232,16 @@ export default { forms: '', rules: { roleName: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ], roleSort: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ], ruleStr: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ], status: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ] }, table: { 'roleName': '', 'roleSort': '', 'roleKey': '', 'status': ['正常'] }, @@ -249,15 +249,15 @@ export default { moren: 'smsRecordList', topList: [ { - name: this.$t('MN_F_T_338'), + name: '短信记录', path: 'smsRecordList' }, { - name: this.$t('MN_F_T_125'), + name: '短信模板', path: 'smsTemplate' }, { - name: this.$t('MN_F_T_126'), + name: '新增短信', path: 'addSms' } ], @@ -328,13 +328,13 @@ export default { this.upload.open = false; this.upload.isUploading = false; this.$refs.upload.clearFiles(); - this.$alert(response.msg, this.$t('MN_F_T_233'), { dangerouslyUseHTMLString: true }); + this.$alert(response.msg, '导入结果', { dangerouslyUseHTMLString: true }); // this.getList(); }, // 上传文件数量超出后的动作 handleExceed() { this.upload.isUploading = false; - this.msgInfo(this.$t('MN_F_T_234')); + this.msgInfo('仅可上传一个文件哦'); }, // 提交上传文件 submitFileForm() { @@ -396,15 +396,15 @@ export default { }, delRole(item) { // 删除角色信息 - this.$confirm(this.$t('MN_F_T_340'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认要删除该角色吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { api.delRole(item.roleId).then((res) => { if (res.code === 200) { Message({ - message: this.$t('w_0089'), + message: '删除成功', type: 'success' }) this.research() @@ -435,7 +435,7 @@ export default { api.addRole(datas).then((res) => { if (res.code === 200) { Message({ - message: this.$t('MN_F_T_477'), + message: '添加成功', type: 'success' }) that.ruleShow = false @@ -461,7 +461,7 @@ export default { api.putRole(datas).then((res) => { if (res.code === 200) { Message({ - message: this.$t('MN_F_T_478'), + message: '修改成功', type: 'success' }) that.ruleShow = false diff --git a/src/views/configManage/selectOrder/index.vue b/src/views/configManage/selectOrder/index.vue index 8ac4408..a46e6d5 100644 --- a/src/views/configManage/selectOrder/index.vue +++ b/src/views/configManage/selectOrder/index.vue @@ -230,16 +230,16 @@ export default { forms: '', rules: { roleName: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ], roleSort: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ], ruleStr: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ], status: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ] }, table: { 'roleName': '', 'roleSort': '', 'roleKey': '', 'status': ['正常'] }, @@ -247,15 +247,15 @@ export default { moren: 'smsRecordList', topList: [ { - name: this.$t('MN_F_T_338'), + name: '短信记录', path: 'smsRecordList' }, { - name: this.$t('MN_F_T_125'), + name: '短信模板', path: 'smsTemplate' }, { - name: this.$t('MN_F_T_126'), + name: '新增短信', path: 'addSms' } ], @@ -331,13 +331,13 @@ export default { this.upload.open = false; this.upload.isUploading = false; this.$refs.upload.clearFiles(); - this.$alert(response.msg, this.$t('MN_F_T_233'), { dangerouslyUseHTMLString: true }); + this.$alert(response.msg, '导入结果', { dangerouslyUseHTMLString: true }); // this.getList(); }, // 上传文件数量超出后的动作 handleExceed() { this.upload.isUploading = false; - this.msgInfo(this.$t('MN_F_T_234')); + this.msgInfo('仅可上传一个文件哦'); }, // 提交上传文件 submitFileForm() { @@ -348,7 +348,7 @@ export default { this.download( "/sale/manage/order/order-select-template", {}, - `${this.$t('MN_F_T_127')}-${new Date().getTime()}.xlsx` + `${'选择订单'}-${new Date().getTime()}.xlsx` ); }, handleChange1(res) { @@ -424,15 +424,15 @@ export default { }, delRole(item) { // 删除角色信息 - this.$confirm(this.$t('MN_F_T_340'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认要删除该角色吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { api.delRole(item.roleId).then((res) => { if (res.code === 200) { Message({ - message: this.$t('w_0089'), + message: '删除成功', type: 'success' }) this.research() @@ -463,7 +463,7 @@ export default { api.addRole(datas).then((res) => { if (res.code === 200) { Message({ - message: this.$t('MN_F_T_477'), + message: '添加成功', type: 'success' }) that.ruleShow = false @@ -489,7 +489,7 @@ export default { api.putRole(datas).then((res) => { if (res.code === 200) { Message({ - message: this.$t('MN_F_T_478'), + message: '修改成功', type: 'success' }) that.ruleShow = false diff --git a/src/views/configManage/serviceNumber/index.vue b/src/views/configManage/serviceNumber/index.vue index c623623..edcd03b 100644 --- a/src/views/configManage/serviceNumber/index.vue +++ b/src/views/configManage/serviceNumber/index.vue @@ -202,7 +202,7 @@ export default { dialogTitle: "", rules: { memberCode: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], }, multipleSelection: [], @@ -260,9 +260,9 @@ export default { }, // 删除 handleDelete(code) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { api @@ -281,7 +281,7 @@ export default { openDig() { this.form = {}; this.dialogVisible = true; - this.dialogTitle = this.$t("w_0328"); + this.dialogTitle = '添加'; }, getList() { @@ -296,9 +296,9 @@ export default { }, /** 导出按钮操作 */ handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/configManage/signing/index.vue b/src/views/configManage/signing/index.vue index 62315c7..7aea83b 100644 --- a/src/views/configManage/signing/index.vue +++ b/src/views/configManage/signing/index.vue @@ -271,7 +271,7 @@ export default { moren: "qcpz", topList: [ { - name: this.$t('MN_F_T_132'), + name: '签呈配置', path: "qcpz", }, ], @@ -379,9 +379,9 @@ export default { //删除 deleteRow(row) { - this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { deleteApproval(row.pkId).then((res) => { diff --git a/src/views/configManage/smsRecord/index.vue b/src/views/configManage/smsRecord/index.vue index 0dffa12..9695f86 100644 --- a/src/views/configManage/smsRecord/index.vue +++ b/src/views/configManage/smsRecord/index.vue @@ -175,16 +175,16 @@ export default { forms: '', rules: { roleName: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ], roleSort: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ], ruleStr: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ], status: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ] }, table: { 'roleName': '', 'roleSort': '', 'roleKey': '', 'status': ['正常'] }, @@ -192,15 +192,15 @@ export default { moren: 'smsRecordList', topList: [ { - name: this.$t('MN_F_T_338'), + name: '短信记录', path: 'smsRecordList' }, { - name: this.$t('MN_F_T_125'), + name: '短信模板', path: 'smsTemplate' }, { - name: this.$t('MN_F_T_126'), + name: '新增短信', path: 'addSms' } ], @@ -219,8 +219,8 @@ export default { }, gradeRangList: [], awardsList: [], - statusList: [{ 'name': this.$t('MN_F_T_334'), 'id': '1' }, { 'name': this.$t('MN_F_T_335'), 'id': '2' }], - statusList1: [{ 'name': this.$t('MN_F_T_359'), 'id': '0' }, { 'name': this.$t('MN_F_T_360'), 'id': '1' }], + statusList: [{ 'name': '立即发送', 'id': '1' }, { 'name': '定时发送', 'id': '2' }], + statusList1: [{ 'name': '未发送', 'id': '0' }, { 'name': '已发送', 'id': '1' }], menuOptions: [], tableData: [], loading:false, @@ -267,15 +267,15 @@ export default { }, delRole(item) { // 删除角色信息 - this.$confirm(this.$t('MN_F_T_340'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认要删除该角色吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { api.delRole(item.roleId).then((res) => { if (res.code === 200) { Message({ - message: this.$t('w_0089'), + message: '删除成功', type: 'success' }) this.research() @@ -306,7 +306,7 @@ export default { api.addRole(datas).then((res) => { if (res.code === 200) { Message({ - message: this.$t('MN_F_T_477'), + message: '添加成功', type: 'success' }) that.ruleShow = false @@ -332,7 +332,7 @@ export default { api.putRole(datas).then((res) => { if (res.code === 200) { Message({ - message: this.$t('MN_F_T_478'), + message: '修改成功', type: 'success' }) that.ruleShow = false diff --git a/src/views/configManage/smsTemplate/index.vue b/src/views/configManage/smsTemplate/index.vue index acf7dc3..5295ebc 100644 --- a/src/views/configManage/smsTemplate/index.vue +++ b/src/views/configManage/smsTemplate/index.vue @@ -181,16 +181,16 @@ export default { forms: '', rules: { roleName: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ], roleSort: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ], ruleStr: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ], status: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ] }, table: { 'roleName': '', 'roleSort': '', 'roleKey': '', 'status': ['正常'] }, @@ -198,15 +198,15 @@ export default { moren: 'smsTemplate', topList: [ { - name: this.$t('MN_F_T_338'), + name: '短信记录', path: 'smsRecordList' }, { - name: this.$t('MN_F_T_125'), + name: '短信模板', path: 'smsTemplate' }, { - name: this.$t('MN_F_T_126'), + name: '新增短信', path: 'addSms' } ], @@ -222,7 +222,7 @@ export default { }, gradeRangList: [], awardsList: [], - statusList: [{ 'name': this.$t('ENU_POPUP_TYPE_1'), 'id': '0' }, { 'name': this.$t('ENU_POPUP_TYPE_2'), 'id': '1' }], + statusList: [{ 'name': '允许', 'id': '0' }, { 'name': '禁止', 'id': '1' }], menuOptions: [], tableData: [], loading:false, @@ -236,9 +236,9 @@ export default { }, methods: { buttonSubmit(item) { - this.$confirm(`是否${item.enable == 0 ? this.$t('ENU_POPUP_TYPE_2') : this.$t('ENU_POPUP_TYPE_1')}该模板数据?`, this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm(`是否${item.enable == 0 ? '禁止' : '允许'}该模板数据?`, '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then((_) => { const data = { @@ -282,15 +282,15 @@ export default { }, delRole(item) { // 删除角色信息 - this.$confirm(this.$t('MN_F_T_340'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认要删除该角色吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { api.delRole(item.roleId).then((res) => { if (res.code === 200) { Message({ - message: this.$t('w_0089'), + message: '删除成功', type: 'success' }) this.research() @@ -321,7 +321,7 @@ export default { api.addRole(datas).then((res) => { if (res.code === 200) { Message({ - message: this.$t('MN_F_T_477'), + message: '添加成功', type: 'success' }) that.ruleShow = false @@ -347,7 +347,7 @@ export default { api.putRole(datas).then((res) => { if (res.code === 200) { Message({ - message: this.$t('MN_F_T_478'), + message: '修改成功', type: 'success' }) that.ruleShow = false @@ -418,7 +418,7 @@ export default { api.smsTemplateList(this.queryParams).then((res) => { res.rows.forEach((element, i) => { element.indexs = i + 1 - element.enable1 = element.enable === 0 ? this.$t('ENU_POPUP_TYPE_1') : this.$t('ENU_POPUP_TYPE_2') + element.enable1 = element.enable === 0 ? '允许' : '禁止' }) // res.rows.forEach((element) => { // element.alist = [] diff --git a/src/views/configManage/smsTemplateAdd/index.vue b/src/views/configManage/smsTemplateAdd/index.vue index 36ea14e..d4af0db 100644 --- a/src/views/configManage/smsTemplateAdd/index.vue +++ b/src/views/configManage/smsTemplateAdd/index.vue @@ -138,13 +138,13 @@ export default { forms: '', rules: { templateCode: [ - { required: true, message: this.$t('MN_F_T_321'), trigger: 'blur' } + { required: true, message: '请输入短信编号', trigger: 'blur' } ], templateName: [ - { required: true, message: this.$t('MN_F_T_324'), trigger: 'blur' } + { required: true, message: '请输入模板名称', trigger: 'blur' } ], templateContent: [ - { required: true, message: this.$t('MN_F_T_326'), trigger: 'blur' } + { required: true, message: '请输入短信内容', trigger: 'blur' } ] }, table: { 'templateCode': '', 'templateName': '', 'templateContent': '' }, @@ -152,15 +152,15 @@ export default { moren: 'smsTemplate', topList: [ { - name: this.$t('MN_F_T_338'), + name: '短信记录', path: 'smsRecordList' }, { - name: this.$t('MN_F_T_125'), + name: '短信模板', path: 'smsTemplate' }, { - name: this.$t('MN_F_T_126'), + name: '新增短信', path: 'addSms' } ], @@ -289,15 +289,15 @@ export default { }, delRole(item) { // 删除角色信息 - this.$confirm(this.$t('MN_F_T_340'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认要删除该角色吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { api.delRole(item.roleId).then((res) => { if (res.code === 200) { Message({ - message: this.$t('w_0089'), + message: '删除成功', type: 'success' }) this.research() diff --git a/src/views/configManage/storeConfiguration/index.vue b/src/views/configManage/storeConfiguration/index.vue index 27fbbd5..182ae67 100644 --- a/src/views/configManage/storeConfiguration/index.vue +++ b/src/views/configManage/storeConfiguration/index.vue @@ -259,7 +259,7 @@ export default { moren: "storeConfiguration", topList: [ { - name: this.$t('MN_F_T_135'), + name: '店铺配置', path: "storeConfiguration", }, ], @@ -282,20 +282,20 @@ export default { dialogVisible: false, rules: { storeName: [ - { required: true, message: this.$t('MN_F_T_726'), trigger: "blur" }, + { required: true, message: '请输入店铺名称', trigger: "blur" }, ], memberCode: [ - { required: true, message: this.$t('MN_F_T_727'), trigger: "blur" }, + { required: true, message: '请输入店长编号', trigger: "blur" }, ], pkStoreLevel: [ - { required: true, message: this.$t('MN_F_T_728'), trigger: "change" }, + { required: true, message: '请选择店铺等级', trigger: "change" }, ], shoppingAddress: [ - { required: true, message: this.$t('w_0069'), trigger: "change" }, + { required: true, message: '请选择收货地址', trigger: "change" }, ], picture:[{ - required: true, message: this.$t('MN_F_T_356'), trigger: "change" + required: true, message: '请上传图片', trigger: "change" }] }, form: { @@ -321,9 +321,9 @@ export default { methods: { //导出 handleExport() { - this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( @@ -340,7 +340,7 @@ export default { con.saveManageStore(this.form).then((res) => { if (res.code == 200) { this.$message({ - message: this.$t('MN_F_T_477'), + message: '添加成功', type: "success", }); this.dialogVisible = false; diff --git a/src/views/configManage/storeGradeConfiguration/index.vue b/src/views/configManage/storeGradeConfiguration/index.vue index 9c354be..1fa1d2c 100644 --- a/src/views/configManage/storeGradeConfiguration/index.vue +++ b/src/views/configManage/storeGradeConfiguration/index.vue @@ -246,7 +246,7 @@ export default { moren: "storeGradeConfiguration", topList: [ { - name: this.$t('MN_F_T_1203'), + name: '店铺等级', path: "storeGradeConfiguration", }, ], @@ -272,7 +272,7 @@ export default { picture: [ { required: true, - message: this.$t('MN_F_T_356'), + message: '请上传图片', trigger: "change", }, ], @@ -310,7 +310,7 @@ export default { }, //修改 update(pkId) { - this.dialogTitle = this.$t('PER_DA_20'); + this.dialogTitle = '修改'; this.ifadd = 2; con.getStoreLevelOne({ pkId: pkId }).then((res) => { this.form = res.data; @@ -321,15 +321,15 @@ export default { }, //导出 handleExport() { - this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( "/system/manage/store-level/export", { ...this.queryParams }, - `${this.$t('MN_F_T_1203')}${new Date().getTime()}.xlsx` + `${'店铺等级'}${new Date().getTime()}.xlsx` ); }); }, @@ -352,7 +352,7 @@ export default { url(this.form).then((res) => { if (res.code == 200) { this.$message({ - message: this.$t('MN_F_T_477'), + message: '添加成功', type: "success", }); this.dialogVisible = false; @@ -381,7 +381,7 @@ export default { }); }, addData() { - this.dialogTitle = this.$t('w_0328'); + this.dialogTitle = '添加'; this.ifadd = 1; this.form = { storeLevelName: "", diff --git a/src/views/configManage/systemconfiguration/index.vue b/src/views/configManage/systemconfiguration/index.vue index 668b1e9..3cb11f5 100644 --- a/src/views/configManage/systemconfiguration/index.vue +++ b/src/views/configManage/systemconfiguration/index.vue @@ -246,7 +246,7 @@ export default { moren: "txpz", topList: [ { - name: this.$t("MN_F_T_123"), + name: '体系配置', path: "txpz", }, ], @@ -269,13 +269,13 @@ export default { rules: { vertexName: [ - { required: true, message: this.$t("MN_F_T_366"), trigger: "blur" }, + { required: true, message: '请输入体系名称', trigger: "blur" }, ], memberCode: [ - { required: true, message: this.$t("w_0046"), trigger: "blur" }, + { required: true, message: '请输入会员编号', trigger: "blur" }, ], memberCode: [ - { required: true, message: this.$t("w_0046"), trigger: "blur" }, + { required: true, message: '请输入会员编号', trigger: "blur" }, ], }, vertexList: [], @@ -293,8 +293,8 @@ export default { }, upData() { this.$confirm("是否确认更新该体系?", "", { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { const loading = this.$loading({ @@ -317,8 +317,8 @@ export default { // 更新团队 updateTeam(row) { this.$confirm("是否确认更新该体系?", "", { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { updateVertexs(row.pkId).then((res) => { @@ -368,9 +368,9 @@ export default { }, //删除 deleteRow(row) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { deleteVertex(row.pkId).then((res) => { @@ -396,7 +396,7 @@ export default { "font-size:13px; background:#a7ae35; color:#ebf279;", row ); - this.updateTitle = this.$t("PER_DA_20"); + this.updateTitle = '修改'; this.updateShow = true; this.addOrEdit = false; getOnevertexList({ pkId: row.pkId }).then((res) => { @@ -406,7 +406,7 @@ export default { //添加 adddate() { this.updateShow = true; - this.updateTitle = this.$t("w_0328"); + this.updateTitle = '添加'; this.addOrEdit = true; this.formd = { vertexName: "", //体系名称 diff --git a/src/views/configManage/useSet/index.vue b/src/views/configManage/useSet/index.vue index 587de66..7c081ea 100644 --- a/src/views/configManage/useSet/index.vue +++ b/src/views/configManage/useSet/index.vue @@ -101,7 +101,7 @@ export default { dialogTitle: "", rules: { purpose: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], }, @@ -157,9 +157,9 @@ export default { }, // 删除 handleDelete(id) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { api.bdPurposeDel(id).then((res) => { @@ -175,10 +175,10 @@ export default { this.form = {}; this.dialogVisible1 = true; this.addEdit = 1 - this.dialogTitle = this.$t("w_0328"); + this.dialogTitle = '添加'; }, updateRow(row) { - this.dialogTitle = this.$t("PER_DA_20"); + this.dialogTitle = '修改'; api .bdPurposeDetails(row.pkId) .then((res) => { @@ -199,9 +199,9 @@ export default { }, /** 导出按钮操作 */ handleExport() { - this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then((_) => { this.download( diff --git a/src/views/configManage/walletConfig/bzpz.vue b/src/views/configManage/walletConfig/bzpz.vue index 24d718f..37c424e 100644 --- a/src/views/configManage/walletConfig/bzpz.vue +++ b/src/views/configManage/walletConfig/bzpz.vue @@ -388,42 +388,42 @@ export default { countryList: [], agreeList: [ { - text: this.$t("ENU_POPUP_TYPE_1"), + text: '允许', val: 0, }, { - text: this.$t("ENU_POPUP_TYPE_2"), + text: '禁止', val: 1, }, ], moren: "bzpz", topList: [ { - name: this.$t("MN_F_T_101"), + name: '币种配置', path: "bzpz", }, { - name: this.$t("MN_F_T_102"), + name: '消费配置', path: "xfpz", }, { - name: this.$t("MN_F_T_103"), + name: '转账配置', path: "zzpz", }, { - name: this.$t("MN_F_T_104"), + name: '提现配置', path: "txpz", }, { - name: this.$t("MN_F_T_105"), + name: '提现个税', path: "txgs", }, { - name: this.$t("MN_F_T_106"), + name: '提现手续费', path: "txsxf", }, { - name: this.$t("MN_F_T_107"), + name: '特殊消费', path: "specialMoney", }, { @@ -484,10 +484,10 @@ export default { { required: true, message: "请上传封面", trigger: "change" }, ], effectiveDate: [ - { required: true, message: this.$t("MN_F_T_402"), trigger: "change" }, + { required: true, message: '请选择生效时间', trigger: "change" }, ], showStatus: [ - { required: true, message: this.$t("CK_KS_38"), trigger: "change" }, + { required: true, message: '请选择', trigger: "change" }, ], }, pubEnumsAccountList: [], @@ -508,9 +508,9 @@ export default { methods: { /** 导出按钮操作 */ handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( @@ -540,7 +540,7 @@ export default { }, // 点击修改 toFixed(id) { - this.dialogTitle = this.$t("PER_DA_20"); + this.dialogTitle = '修改'; this.addOrEdit = false; this.dialogVisible = true; api.getAccount(id).then((res) => { @@ -549,9 +549,9 @@ export default { }, // 删除 handleDelete(id) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { api.delAccount(id).then((res) => { @@ -596,7 +596,7 @@ export default { openDig() { this.dialogVisible = true; this.addOrEdit = true; - this.dialogTitle = this.$t("w_0328"); + this.dialogTitle = '添加'; }, getCountry() { userCountryList().then((res) => { diff --git a/src/views/configManage/walletConfig/consumption.vue b/src/views/configManage/walletConfig/consumption.vue index 5a944dd..fbfbd20 100644 --- a/src/views/configManage/walletConfig/consumption.vue +++ b/src/views/configManage/walletConfig/consumption.vue @@ -272,9 +272,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t("ENU_POPUP_TYPE_1"); + return '允许'; } else { - return this.$t("ENU_POPUP_TYPE_2"); + return '禁止'; } }, }, @@ -302,42 +302,42 @@ export default { loading: false, agreeList: [ { - text: this.$t("ENU_POPUP_TYPE_1"), + text: '允许', val: 0, }, { - text: this.$t("ENU_POPUP_TYPE_2"), + text: '禁止', val: 1, }, ], moren: "consumption", topList: [ { - name: this.$t("MN_F_T_101"), + name: '币种配置', path: "bzpz", }, { - name: this.$t("MN_F_T_102"), + name: '消费配置', path: "xfpz", }, { - name: this.$t("MN_F_T_103"), + name: '转账配置', path: "zzpz", }, { - name: this.$t("MN_F_T_104"), + name: '提现配置', path: "txpz", }, { - name: this.$t("MN_F_T_105"), + name: '提现个税', path: "txgs", }, { - name: this.$t("MN_F_T_106"), + name: '提现手续费', path: "txsxf", }, { - name: this.$t("MN_F_T_107"), + name: '特殊消费', path: "specialMoney", }, { @@ -360,16 +360,16 @@ export default { }, rules: { memberCode: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], deductMaxRatio: [ { required: true, message: "请输入扣款最大比例", trigger: "blur" }, ], deductSort: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], deductRatio: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], pkAccount: [ { required: true, message: "请选择扣款账户", trigger: "change" }, @@ -408,7 +408,7 @@ export default { }, // 点击修改 toFixed(id) { - this.dialogTitle = this.$t("PER_DA_20"); + this.dialogTitle = '修改'; this.addOrEdit = false; this.dialogVisible = true; api @@ -439,9 +439,9 @@ export default { }, // 删除 handleDelete(id) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { api.specialCurrencyDelete(id).then((res) => { @@ -495,7 +495,7 @@ export default { openDig() { this.dialogVisible = true; this.addOrEdit = true; - this.dialogTitle = this.$t("w_0328"); + this.dialogTitle = '添加'; }, getDataList() { this.loading = true; diff --git a/src/views/configManage/walletConfig/specialMoney.vue b/src/views/configManage/walletConfig/specialMoney.vue index dc88444..36578b6 100644 --- a/src/views/configManage/walletConfig/specialMoney.vue +++ b/src/views/configManage/walletConfig/specialMoney.vue @@ -244,9 +244,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t("ENU_POPUP_TYPE_1"); + return '允许'; } else { - return this.$t("ENU_POPUP_TYPE_2"); + return '禁止'; } }, }, @@ -274,42 +274,42 @@ export default { loading: false, agreeList: [ { - text: this.$t("ENU_POPUP_TYPE_1"), + text: '允许', val: 0, }, { - text: this.$t("ENU_POPUP_TYPE_2"), + text: '禁止', val: 1, }, ], moren: "specialMoney", topList: [ { - name: this.$t("MN_F_T_101"), + name: '币种配置', path: "bzpz", }, { - name: this.$t("MN_F_T_102"), + name: '消费配置', path: "xfpz", }, { - name: this.$t("MN_F_T_103"), + name: '转账配置', path: "zzpz", }, { - name: this.$t("MN_F_T_104"), + name: '提现配置', path: "txpz", }, { - name: this.$t("MN_F_T_105"), + name: '提现个税', path: "txgs", }, { - name: this.$t("MN_F_T_106"), + name: '提现手续费', path: "txsxf", }, { - name: this.$t("MN_F_T_107"), + name: '特殊消费', path: "specialMoney", }, { @@ -331,16 +331,16 @@ export default { }, rules: { tempName: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], deductMaxRatio: [ { required: true, message: "请输入扣款最大比例", trigger: "blur" }, ], deductSort: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], deductRatio: [ - { required: true, message: this.$t("S_C_70"), trigger: "blur" }, + { required: true, message: '请输入', trigger: "blur" }, ], pkAccount: [ { required: true, message: "请选择扣款账户", trigger: "change" }, @@ -365,7 +365,7 @@ export default { }, // 点击修改 toFixed(id) { - this.dialogTitle = this.$t("PER_DA_20"); + this.dialogTitle = '修改'; this.addOrEdit = false; this.dialogVisible = true; api @@ -400,9 +400,9 @@ export default { }, // 删除 handleDelete(id) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { api.specialDelete({ pkId: id }).then((res) => { @@ -456,7 +456,7 @@ export default { openDig() { this.dialogVisible = true; this.addOrEdit = true; - this.dialogTitle = this.$t("w_0328"); + this.dialogTitle = '添加'; }, getDataList() { this.loading = true; diff --git a/src/views/configManage/walletConfig/txgs.vue b/src/views/configManage/walletConfig/txgs.vue index b5f61f7..1872fc0 100644 --- a/src/views/configManage/walletConfig/txgs.vue +++ b/src/views/configManage/walletConfig/txgs.vue @@ -275,31 +275,31 @@ export default { moren: "txgs", topList: [ { - name: this.$t("MN_F_T_101"), + name: '币种配置', path: "bzpz", }, { - name: this.$t("MN_F_T_102"), + name: '消费配置', path: "xfpz", }, { - name: this.$t("MN_F_T_103"), + name: '转账配置', path: "zzpz", }, { - name: this.$t("MN_F_T_104"), + name: '提现配置', path: "txpz", }, { - name: this.$t("MN_F_T_105"), + name: '提现个税', path: "txgs", }, { - name: this.$t("MN_F_T_106"), + name: '提现手续费', path: "txsxf", }, { - name: this.$t("MN_F_T_107"), + name: '特殊消费', path: "specialMoney", }, { @@ -351,10 +351,10 @@ export default { }, ], serviceType: [ - { required: true, message: this.$t("CK_KS_38"), trigger: "change" }, + { required: true, message: '请选择', trigger: "change" }, ], effectiveDate: [ - { required: true, message: this.$t("MN_F_T_402"), trigger: "change" }, + { required: true, message: '请选择生效时间', trigger: "change" }, ], }, }; @@ -436,7 +436,7 @@ export default { //添加 adddate() { this.updateShow = true; - this.updateTitle = this.$t("w_0328"); + this.updateTitle = '添加'; this.addOrEdit = true; if (this.$refs.form) { @@ -460,7 +460,7 @@ export default { }, //修改 update(row) { - this.updateTitle = this.$t("PER_DA_20"); + this.updateTitle = '修改'; this.addOrEdit = false; this.updateShow = true; getOneWithdrawalList(row.pkId).then((res) => { @@ -469,7 +469,7 @@ export default { }, //删除 deleteRow(row) { - this.$confirm(this.$t("MN_F_T_431")).then((_) => { + this.$confirm('确定删除?').then((_) => { deleteWithdrawal(row.pkId).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/configManage/walletConfig/txpz.vue b/src/views/configManage/walletConfig/txpz.vue index b5f66d0..9508539 100644 --- a/src/views/configManage/walletConfig/txpz.vue +++ b/src/views/configManage/walletConfig/txpz.vue @@ -402,42 +402,42 @@ export default { countryList: [], agreeList: [ { - text: this.$t("ENU_POPUP_TYPE_1"), + text: '允许', val: 0, }, { - text: this.$t("ENU_POPUP_TYPE_2"), + text: '禁止', val: 1, }, ], moren: "txpz", topList: [ { - name: this.$t("MN_F_T_101"), + name: '币种配置', path: "bzpz", }, { - name: this.$t("MN_F_T_102"), + name: '消费配置', path: "xfpz", }, { - name: this.$t("MN_F_T_103"), + name: '转账配置', path: "zzpz", }, { - name: this.$t("MN_F_T_104"), + name: '提现配置', path: "txpz", }, { - name: this.$t("MN_F_T_105"), + name: '提现个税', path: "txgs", }, { - name: this.$t("MN_F_T_106"), + name: '提现手续费', path: "txsxf", }, { - name: this.$t("MN_F_T_107"), + name: '特殊消费', path: "specialMoney", }, { @@ -463,7 +463,7 @@ export default { { required: true, message: "请输入最大自动提现", trigger: "blur" }, ], withdrawalNumber: [ - { required: true, message: this.$t("MN_F_T_847"), trigger: "blur" }, + { required: true, message: '请输入提现次数', trigger: "blur" }, ], isAuto: [ { required: true, message: "请选择自动提现", trigger: "change" }, @@ -475,7 +475,7 @@ export default { { required: true, message: "请选择提现周期", trigger: "change" }, ], effectiveDate: [ - { required: true, message: this.$t("MN_F_T_402"), trigger: "change" }, + { required: true, message: '请选择生效时间', trigger: "change" }, ], }, }; @@ -610,9 +610,9 @@ export default { }, // 删除 handleDelete(id) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { api.delWithdrawal(id).then((res) => { diff --git a/src/views/configManage/walletConfig/txsxf.vue b/src/views/configManage/walletConfig/txsxf.vue index 3658c3f..2ac207c 100644 --- a/src/views/configManage/walletConfig/txsxf.vue +++ b/src/views/configManage/walletConfig/txsxf.vue @@ -187,9 +187,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t("ENU_POPUP_TYPE_1"); + return '允许'; } else { - return this.$t("ENU_POPUP_TYPE_2"); + return '禁止'; } }, }, @@ -198,31 +198,31 @@ export default { moren: "txsxf", topList: [ { - name: this.$t("MN_F_T_101"), + name: '币种配置', path: "bzpz", }, { - name: this.$t("MN_F_T_102"), + name: '消费配置', path: "xfpz", }, { - name: this.$t("MN_F_T_103"), + name: '转账配置', path: "zzpz", }, { - name: this.$t("MN_F_T_104"), + name: '提现配置', path: "txpz", }, { - name: this.$t("MN_F_T_105"), + name: '提现个税', path: "txgs", }, { - name: this.$t("MN_F_T_106"), + name: '提现手续费', path: "txsxf", }, { - name: this.$t("MN_F_T_107"), + name: '特殊消费', path: "specialMoney", }, { @@ -252,10 +252,10 @@ export default { { required: true, message: "请输入手续费值", trigger: "blur" }, ], serviceType: [ - { required: true, message: this.$t("CK_KS_38"), trigger: "change" }, + { required: true, message: '请选择', trigger: "change" }, ], effectiveDate: [ - { required: true, message: this.$t("MN_F_T_402"), trigger: "change" }, + { required: true, message: '请选择生效时间', trigger: "change" }, ], }, }; @@ -331,7 +331,7 @@ export default { //添加 adddate() { this.updateShow = true; - this.updateTitle = this.$t("w_0328"); + this.updateTitle = '添加'; this.addOrEdit = true; if (this.$refs.form) { @@ -348,7 +348,7 @@ export default { }, //修改 update(row) { - this.updateTitle = this.$t("PER_DA_20"); + this.updateTitle = '修改'; this.addOrEdit = false; this.updateShow = true; getOneWithdrawalProcessList(row.pkId).then((res) => { @@ -357,7 +357,7 @@ export default { }, //删除 deleteRow(row) { - this.$confirm(this.$t("MN_F_T_431")).then((_) => { + this.$confirm('确定删除?').then((_) => { deleteWithdrawalProcess(row.pkId).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/configManage/walletConfig/xfpz.vue b/src/views/configManage/walletConfig/xfpz.vue index 7a0dcb2..3836af3 100644 --- a/src/views/configManage/walletConfig/xfpz.vue +++ b/src/views/configManage/walletConfig/xfpz.vue @@ -234,9 +234,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t("ENU_POPUP_TYPE_1"); + return '允许'; } else { - return this.$t("ENU_POPUP_TYPE_2"); + return '禁止'; } }, }, @@ -262,18 +262,18 @@ export default { countryList: [], agreeList: [ { - text: this.$t("ENU_POPUP_TYPE_1"), + text: '允许', val: 0, }, { - text: this.$t("ENU_POPUP_TYPE_2"), + text: '禁止', val: 1, }, ], moren: "xfpz", topList: [ { - name: this.$t("MN_F_T_101"), + name: '币种配置', path: "bzpz", }, { @@ -285,7 +285,7 @@ export default { path: "zzpz", }, { - name: this.$t("MN_F_T_104"), + name: '提现配置', path: "txpz", }, { @@ -297,7 +297,7 @@ export default { path: "txsxf", }, { - name: this.$t("MN_F_T_107"), + name: '特殊消费', path: "specialMoney", }, { @@ -329,7 +329,7 @@ export default { { required: true, message: "请选择扣款顺序", trigger: "change" }, ], effectiveDate: [ - { required: true, message: this.$t("MN_F_T_402"), trigger: "change" }, + { required: true, message: '请选择生效时间', trigger: "change" }, ], }, areaList: [], @@ -363,7 +363,7 @@ export default { }, // 点击修改 toFixed(id) { - this.dialogTitle = this.$t("PER_DA_20"); + this.dialogTitle = '修改'; this.addOrEdit = false; this.dialogVisible = true; api.getAreaCurrency(id).then((res) => { @@ -435,7 +435,7 @@ export default { this.resetData(); }, openDig() { - this.dialogTitle = this.$t("w_0328"); + this.dialogTitle = '添加'; this.dialogVisible = true; this.addOrEdit = true; this.$nextTick(() => { diff --git a/src/views/configManage/walletConfig/zzpz.vue b/src/views/configManage/walletConfig/zzpz.vue index 67494c8..33a5bb6 100644 --- a/src/views/configManage/walletConfig/zzpz.vue +++ b/src/views/configManage/walletConfig/zzpz.vue @@ -326,31 +326,31 @@ export default { moren: "zzpz", topList: [ { - name: this.$t("MN_F_T_101"), + name: '币种配置', path: "bzpz", }, { - name: this.$t("MN_F_T_102"), + name: '消费配置', path: "xfpz", }, { - name: this.$t("MN_F_T_103"), + name: '转账配置', path: "zzpz", }, { - name: this.$t("MN_F_T_104"), + name: '提现配置', path: "txpz", }, { - name: this.$t("MN_F_T_105"), + name: '提现个税', path: "txgs", }, { - name: this.$t("MN_F_T_106"), + name: '提现手续费', path: "txsxf", }, { - name: this.$t("MN_F_T_107"), + name: '特殊消费', path: "specialMoney", }, { @@ -372,11 +372,11 @@ export default { updateTitle: "", agreeList: [ { - label: this.$t("ENU_POPUP_TYPE_1"), + label: '允许', value: 0, }, { - label: this.$t("ENU_POPUP_TYPE_2"), + label: '禁止', value: 1, }, ], @@ -404,14 +404,14 @@ export default { { required: true, message: "请输入手续费数值", trigger: "blur" }, ], isReference: [ - { required: true, message: this.$t("CK_KS_38"), trigger: "change" }, + { required: true, message: '请选择', trigger: "change" }, ], isRounding: [ - { required: true, message: this.$t("CK_KS_38"), trigger: "change" }, + { required: true, message: '请选择', trigger: "change" }, ], multiple: [{ required: true, message: "请输入倍数", trigger: "blur" }], effectiveDate: [ - { required: true, message: this.$t("MN_F_T_402"), trigger: "change" }, + { required: true, message: '请选择生效时间', trigger: "change" }, ], }, }; @@ -492,7 +492,7 @@ export default { //添加 adddate() { this.updateShow = true; - this.updateTitle = this.$t("w_0328"); + this.updateTitle = '添加'; this.addOrEdit = true; }, //获取国家 @@ -503,7 +503,7 @@ export default { }, //修改 update(row) { - this.updateTitle = this.$t("PER_DA_20"); + this.updateTitle = '修改'; this.addOrEdit = false; this.updateShow = true; getOnetransferList(row.pkId).then((res) => { @@ -512,7 +512,7 @@ export default { }, //删除 deleteRow(row) { - this.$confirm(this.$t("MN_F_T_431")).then((_) => { + this.$confirm('确定删除?').then((_) => { deleteTransfer(row.pkId).then((res) => { if (res.code == 200) { this.$message({ diff --git a/src/views/dashboard/goodsCheck.vue b/src/views/dashboard/goodsCheck.vue index dae13ac..d8c2332 100644 --- a/src/views/dashboard/goodsCheck.vue +++ b/src/views/dashboard/goodsCheck.vue @@ -212,7 +212,7 @@ export default { forms: '', rules: { reviewRemarks: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ] }, table: { 'auditStatus': 1, 'reviewRemarks': '' }, @@ -220,19 +220,19 @@ export default { moren: 'goodsCheck', topList: [ { - name: this.$t('MN_F_1'), + name: '待办', path: 'dashboard', }, { - name: this.$t('MN_F_T_2'), + name: '已办', path: 'hasIndex', }, { - name: this.$t('MN_F_T_4'), + name: '商品审核', path: 'goodsCheck', }, { - name: this.$t('MN_F_T_5'), + name: '产品审核', path: 'productCheck' }, ], @@ -257,9 +257,9 @@ export default { total: 0, types: '', userId: '', - statusList: [{ 'name': this.$t('MN_F_T_372'), 'id': '0' }, { 'name': '停用', 'id': '1' }], // 启用状态 - smsList: [{ 'name': this.$t('MN_F_T_372'), 'id': '0' }, { 'name': '停用', 'id': '1' }], // 短信启用状态 - authorityList: [{ 'name': this.$t('MN_F_T_372'), 'id': '0' }, { 'name': '停用', 'id': '1' }], // 审核启用状态 + statusList: [{ 'name': '启用', 'id': '0' }, { 'name': '停用', 'id': '1' }], // 启用状态 + smsList: [{ 'name': '启用', 'id': '0' }, { 'name': '停用', 'id': '1' }], // 短信启用状态 + authorityList: [{ 'name': '启用', 'id': '0' }, { 'name': '停用', 'id': '1' }], // 审核启用状态 vertexList: [], // 体系列表 stateList: [], // 国家列表 deptList: [], // 部门列表 @@ -286,9 +286,9 @@ export default { }, stopRole(item) { // 停用管理员 - this.$confirm(`确认要${item.status === 0 ? this.$t('MN_F_T_373') : '恢复'}该管理员吗?`, this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm(`确认要${item.status === 0 ? '禁用' : '恢复'}该管理员吗?`, '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { api.stopAdmin({ 'userId': item.userId, 'status': item.status === 1 ? 0 : 1 }).then((res) => { @@ -400,9 +400,9 @@ export default { verifySelect() { const len = this.$refs.multipleTable.selection.length if (len === 0) { - Message({ message: this.$t('MN_F_T_527'), type: 'warning' }) + Message({ message: '请选择一条数据', type: 'warning' }) } else if (len > 1) { - Message({ message: this.$t('MN_F_T_528'), type: 'warning' }) + Message({ message: '只能选择一条', type: 'warning' }) } else { return true } @@ -419,7 +419,7 @@ export default { api.modifyRecord(this.queryParams).then((res) => { res.rows.forEach((element) => { element.auditStatus1 = element.auditStatus - element.auditStatus = element.auditStatus === 0 ? this.$t('ENU_APPROVE_S_2') : (element.auditStatus === 1 ? this.$t('ENU_R_A_O_2') : this.$t('ENU_R_A_O_3')) + element.auditStatus = element.auditStatus === 0 ? '待审核' : (element.auditStatus === 1 ? '审核通过' : '审核驳回') }) // res.rows.forEach((element) => { // element.alist = [] diff --git a/src/views/dashboard/hasIndex.vue b/src/views/dashboard/hasIndex.vue index 0e0a9ae..e72eab9 100644 --- a/src/views/dashboard/hasIndex.vue +++ b/src/views/dashboard/hasIndex.vue @@ -315,11 +315,11 @@ export default { path: "receiveIndex", }, // { - // name: this.$t('MN_F_T_4'), + // name: '商品审核', // path: 'goodsCheck', // }, // { - // name: this.$t('MN_F_T_5'), + // name: '产品审核', // path: 'productCheck', // }, ], @@ -407,9 +407,9 @@ export default { }, /** 导出按钮操作 */ handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 229e3e1..a7016e5 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -286,11 +286,11 @@ export default { path: "receiveIndex", }, // { - // name: this.$t('MN_F_T_4'), + // name: '商品审核', // path: 'goodsCheck', // }, // { - // name: this.$t('MN_F_T_5'), + // name: '产品审核', // path: 'productCheck', // }, ], diff --git a/src/views/dashboard/productCheck.vue b/src/views/dashboard/productCheck.vue index 1f5f59d..00b6f1c 100644 --- a/src/views/dashboard/productCheck.vue +++ b/src/views/dashboard/productCheck.vue @@ -211,7 +211,7 @@ export default { forms: '', rules: { reviewRemarks: [ - { required: true, message: this.$t('S_C_70'), trigger: 'blur' } + { required: true, message: '请输入', trigger: 'blur' } ] }, table: { 'auditStatus': 1, 'reviewRemarks': '' }, @@ -219,19 +219,19 @@ export default { moren: 'productCheck', topList: [ { - name: this.$t('MN_F_1'), + name: '待办', path: 'dashboard', }, { - name: this.$t('MN_F_T_2'), + name: '已办', path: 'hasIndex', }, { - name: this.$t('MN_F_T_4'), + name: '商品审核', path: 'goodsCheck', }, { - name: this.$t('MN_F_T_5'), + name: '产品审核', path: 'productCheck' }, ], @@ -256,9 +256,9 @@ export default { total: 0, types: '', userId: '', - statusList: [{ 'name': this.$t('MN_F_T_372'), 'id': '0' }, { 'name': '停用', 'id': '1' }], // 启用状态 - smsList: [{ 'name': this.$t('MN_F_T_372'), 'id': '0' }, { 'name': '停用', 'id': '1' }], // 短信启用状态 - authorityList: [{ 'name': this.$t('MN_F_T_372'), 'id': '0' }, { 'name': '停用', 'id': '1' }], // 审核启用状态 + statusList: [{ 'name': '启用', 'id': '0' }, { 'name': '停用', 'id': '1' }], // 启用状态 + smsList: [{ 'name': '启用', 'id': '0' }, { 'name': '停用', 'id': '1' }], // 短信启用状态 + authorityList: [{ 'name': '启用', 'id': '0' }, { 'name': '停用', 'id': '1' }], // 审核启用状态 vertexList: [], // 体系列表 stateList: [], // 国家列表 deptList: [], // 部门列表 @@ -285,9 +285,9 @@ export default { }, stopRole(item) { // 停用管理员 - this.$confirm(`确认要${item.status === 0 ? this.$t('MN_F_T_373') : '恢复'}该管理员吗?`, this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm(`确认要${item.status === 0 ? '禁用' : '恢复'}该管理员吗?`, '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { api.stopAdmin({ 'userId': item.userId, 'status': item.status === 1 ? 0 : 1 }).then((res) => { @@ -399,9 +399,9 @@ export default { verifySelect() { const len = this.$refs.multipleTable.selection.length if (len === 0) { - Message({ message: this.$t('MN_F_T_527'), type: 'warning' }) + Message({ message: '请选择一条数据', type: 'warning' }) } else if (len > 1) { - Message({ message: this.$t('MN_F_T_528'), type: 'warning' }) + Message({ message: '只能选择一条', type: 'warning' }) } else { return true } @@ -418,7 +418,7 @@ export default { api.modifyRecord(this.queryParams).then((res) => { res.rows.forEach((element) => { element.auditStatus1 = element.auditStatus - element.auditStatus = element.auditStatus === 0 ? this.$t('ENU_APPROVE_S_2') : (element.auditStatus === 1 ? this.$t('ENU_R_A_O_2') : this.$t('ENU_R_A_O_3')) + element.auditStatus = element.auditStatus === 0 ? '待审核' : (element.auditStatus === 1 ? '审核通过' : '审核驳回') }) // res.rows.forEach((element) => { // element.alist = [] diff --git a/src/views/dashboard/receiveIndex.vue b/src/views/dashboard/receiveIndex.vue index 9df11b8..5a29001 100644 --- a/src/views/dashboard/receiveIndex.vue +++ b/src/views/dashboard/receiveIndex.vue @@ -231,11 +231,11 @@ export default { path: "receiveIndex", }, // { - // name: this.$t('MN_F_T_4'), + // name: '商品审核', // path: 'goodsCheck', // }, // { - // name: this.$t('MN_F_T_5'), + // name: '产品审核', // path: 'productCheck', // }, ], @@ -350,9 +350,9 @@ export default { }, /** 导出按钮操作 */ handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/dashboard/userCentre.vue b/src/views/dashboard/userCentre.vue index 09552b8..0fa5ba3 100644 --- a/src/views/dashboard/userCentre.vue +++ b/src/views/dashboard/userCentre.vue @@ -241,10 +241,10 @@ export default { }, naxIndex: 0, moren: 'userCentre', - userNavList: [{ 'name': this.$t('MN_F_26') }, { 'name': this.$t('MN_F_34') }], + userNavList: [{ 'name': '基础资料' }, { 'name': '修改密码' }], topList: [ { - name: this.$t('MN_F_16'), + name: '个人中心', path: 'userCentre' } ], @@ -257,21 +257,21 @@ export default { grades: [] }, rules: { - oldPassword: [{ required: true, message: this.$t('w_0498'), trigger: 'blur' }, - { min: 6, max: 20, message: this.$t('w_0501'), trigger: 'blur' }, + oldPassword: [{ required: true, message: '请输入旧密码6-20位', trigger: 'blur' }, + { min: 6, max: 20, message: '密码长度必须介于 6 和 20 之间', trigger: 'blur' }, // { pattern: /^(?=.*\d)(?=.*[a-z]).{6,20}$/, message: '请输入6-20位,由大小写字母组合的密码' } ], - newPassword: [{ required: true, message: this.$t('w_0499'), trigger: 'blur' }, - { min: 6, max: 20, message: this.$t('w_0501'), trigger: 'blur' }, + newPassword: [{ required: true, message: '请输入新密码6-20位', trigger: 'blur' }, + { min: 6, max: 20, message: '密码长度必须介于 6 和 20 之间', trigger: 'blur' }, // { pattern: /^(?=.*\d)(?=.*[a-z]).{6,20}$/, message: '请输入6-20位,由大小写字母组合的密码' } ], - newPassword1: [{ required: true, message: this.$t('w_0500'), trigger: 'blur' }, - { min: 6, max: 20, message: this.$t('w_0501'), trigger: 'blur' }, + newPassword1: [{ required: true, message: '请输入确认新密码6-20位', trigger: 'blur' }, + { min: 6, max: 20, message: '密码长度必须介于 6 和 20 之间', trigger: 'blur' }, // { pattern: /^(?=.*\d)(?=.*[a-z]).{6,20}$/, message: '请输入6-20位,由大小写字母组合的密码' } ], - username: [{ required: true, message: this.$t('MN_F_T_778'), trigger: 'blur' }], - phone: [{ required: true, message: this.$t('w_0053'), trigger: 'blur' }, - { pattern: /^1[3|4|5|6|7|8|9]\d{9}$/, message: this.$t('CK_KS_73') } + username: [{ required: true, message: '请输入管理姓名', trigger: 'blur' }], + phone: [{ required: true, message: '请输入联系方式', trigger: 'blur' }, + { pattern: /^1[3|4|5|6|7|8|9]\d{9}$/, message: '请输入正确的手机号' } ] }, localList: [], @@ -334,7 +334,7 @@ export default { if (valid) { if (this.loginForm1.newPassword1 !== this.loginForm1.newPassword) { this.$message({ - message: this.$t('MN_F_35') + message: '两次输入的密码不一致' }) return } diff --git a/src/views/equipmentManage/devices/devicesDetail.vue b/src/views/equipmentManage/devices/devicesDetail.vue index 09e3ccf..357b42f 100644 --- a/src/views/equipmentManage/devices/devicesDetail.vue +++ b/src/views/equipmentManage/devices/devicesDetail.vue @@ -172,9 +172,9 @@ export default { this.queryParams.endDate = val[1]; }, handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/equipmentManage/devices/index.vue b/src/views/equipmentManage/devices/index.vue index f0e17a0..d999735 100644 --- a/src/views/equipmentManage/devices/index.vue +++ b/src/views/equipmentManage/devices/index.vue @@ -250,9 +250,9 @@ export default { }) }, handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( @@ -291,7 +291,7 @@ export default { this.upload.open = false; this.upload.isUploading = false; this.$refs.upload.clearFiles(); - this.$alert(response.msg, this.$t("MN_F_T_233"), { + this.$alert(response.msg, '导入结果', { dangerouslyUseHTMLString: true, }); // this.getList(); @@ -299,7 +299,7 @@ export default { // 上传文件数量超出后的动作 handleExceed() { this.upload.isUploading = false; - this.msgInfo(this.$t("MN_F_T_234")); + this.msgInfo('仅可上传一个文件哦'); }, // 提交上传文件 submitFileForm() { diff --git a/src/views/equipmentManage/devices/purchaseDetail.vue b/src/views/equipmentManage/devices/purchaseDetail.vue index 0dd2ef0..86f4c12 100644 --- a/src/views/equipmentManage/devices/purchaseDetail.vue +++ b/src/views/equipmentManage/devices/purchaseDetail.vue @@ -129,9 +129,9 @@ export default { this.queryParams.endDate = val[1] }, handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/equipmentManage/devices/purchases.vue b/src/views/equipmentManage/devices/purchases.vue index 6a5223f..b1abc9d 100644 --- a/src/views/equipmentManage/devices/purchases.vue +++ b/src/views/equipmentManage/devices/purchases.vue @@ -156,9 +156,9 @@ export default { }); }, handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/equipmentManage/equipmentBanner/index.vue b/src/views/equipmentManage/equipmentBanner/index.vue index d8b550b..c5e2867 100644 --- a/src/views/equipmentManage/equipmentBanner/index.vue +++ b/src/views/equipmentManage/equipmentBanner/index.vue @@ -181,7 +181,7 @@ export default { visibleShow: false, rules: { cover: [ - { required: true, message: this.$t("MN_F_T_302"), trigger: "blur" }, + { required: true, message: '请输入规格类型', trigger: "blur" }, ], }, addEdit: "", @@ -218,12 +218,12 @@ export default { }, addBanner() { this.addEdit = 1; - this.dialogTitle = this.$t('w_0328'); + this.dialogTitle = '添加'; this.visibleShow = true; }, updateBanner(row) { this.addEdit = 2; - this.dialogTitle = this.$t('ENU_CONTROL_TYPE_2'); + this.dialogTitle = '修改'; this.visibleShow = true; equ.getBannerRowDetail({ pkId: row.pkId }).then((res) => { this.form = res.data; diff --git a/src/views/equipmentManage/equipmentPackage/index.vue b/src/views/equipmentManage/equipmentPackage/index.vue index ad6c658..8b3e27e 100644 --- a/src/views/equipmentManage/equipmentPackage/index.vue +++ b/src/views/equipmentManage/equipmentPackage/index.vue @@ -142,9 +142,9 @@ export default { }, methods: { handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/equipmentManage/equipmentProduct/addEquProduct.vue b/src/views/equipmentManage/equipmentProduct/addEquProduct.vue index cbe0c5c..fe859df 100644 --- a/src/views/equipmentManage/equipmentProduct/addEquProduct.vue +++ b/src/views/equipmentManage/equipmentProduct/addEquProduct.vue @@ -85,7 +85,7 @@ export default { uploadImgUrl: process.env.VUE_APP_BASE_API + "/system/upload", rules: { cover: [ - { required: true, message: this.$t("MN_F_T_302"), trigger: "blur" }, + { required: true, message: '请输入规格类型', trigger: "blur" }, ], content: [{ required: true, message: "请输入", trigger: "blur" }], }, diff --git a/src/views/equipmentManage/equipmentProduct/index.vue b/src/views/equipmentManage/equipmentProduct/index.vue index cdde0ae..81614d7 100644 --- a/src/views/equipmentManage/equipmentProduct/index.vue +++ b/src/views/equipmentManage/equipmentProduct/index.vue @@ -187,9 +187,9 @@ export default { }, methods: { deleteRow(row) { - this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then(() => { equ.deletBannerRow(row.pkId).then((res) => { diff --git a/src/views/financial/balanceSummary/detail.vue b/src/views/financial/balanceSummary/detail.vue index 2cec45b..1da6287 100644 --- a/src/views/financial/balanceSummary/detail.vue +++ b/src/views/financial/balanceSummary/detail.vue @@ -742,7 +742,7 @@ export default { moren: "detailSummary", topList: [ { - name: this.$t('w_0483'), + name: '余额汇总', path: "detailSummary", }, ], @@ -773,9 +773,9 @@ export default { }, //导出 handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/financial/balanceSummary/index.vue b/src/views/financial/balanceSummary/index.vue index 7b127ee..6432048 100644 --- a/src/views/financial/balanceSummary/index.vue +++ b/src/views/financial/balanceSummary/index.vue @@ -350,7 +350,7 @@ export default { moren: "balanceSummary", topList: [ { - name: this.$t("w_0483"), + name: '余额汇总', path: "balanceSummary", }, ], @@ -393,9 +393,9 @@ export default { }, //导出 handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( @@ -406,9 +406,9 @@ export default { }); }, exportRow(row) { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/financial/balanceSummaryTotal/index.vue b/src/views/financial/balanceSummaryTotal/index.vue index b91964b..245b30f 100644 --- a/src/views/financial/balanceSummaryTotal/index.vue +++ b/src/views/financial/balanceSummaryTotal/index.vue @@ -426,7 +426,7 @@ export default { value: "1", }, { label: "体系", value: "2" }, - { label: this.$t("MN_T_1"), value: "3" }, + { label: '会员编号', value: "3" }, ], topMemberList:[], vertexList:[] diff --git a/src/views/financial/cashDetails/index.vue b/src/views/financial/cashDetails/index.vue index 5c15a32..d91acc6 100644 --- a/src/views/financial/cashDetails/index.vue +++ b/src/views/financial/cashDetails/index.vue @@ -633,9 +633,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t("ENU_POPUP_TYPE_1"); + return '允许'; } else { - return this.$t("ENU_POPUP_TYPE_2"); + return '禁止'; } }, }, @@ -646,13 +646,13 @@ export default { moren: "cashDetails", topList: [ { - name: this.$t("MN_F_T_90"), + name: '提现明细', path: "cashDetails", url: "CashDetails", changed: false, }, { - name: this.$t("MN_F_T_91"), + name: '京东代付', path: "jdToPay", url: "jdToPay", changed: false, @@ -902,7 +902,7 @@ export default { }); if (dk) { this.$message({ - message: this.$t("MN_F_T_557"), + message: '存在已打款或未审核单据', type: "warning", }); return false; @@ -989,7 +989,7 @@ export default { return [ "", - this.$t("MN_F_T_688"), + '合计', "", "", "", @@ -1052,9 +1052,9 @@ export default { }, /** 导出按钮操作 */ handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( diff --git a/src/views/financial/cashDetails/txzxqc.vue b/src/views/financial/cashDetails/txzxqc.vue index 2e50bea..80a273c 100644 --- a/src/views/financial/cashDetails/txzxqc.vue +++ b/src/views/financial/cashDetails/txzxqc.vue @@ -171,7 +171,7 @@ export default { moren: 'txzxqc', topList: [ { - name: this.$t('MN_F_T_14'), + name: '在线签呈', path: 'txzxqc', }, ], diff --git a/src/views/financial/consumptionDetails/index.vue b/src/views/financial/consumptionDetails/index.vue index 0022052..93061a6 100644 --- a/src/views/financial/consumptionDetails/index.vue +++ b/src/views/financial/consumptionDetails/index.vue @@ -228,9 +228,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t('ENU_POPUP_TYPE_1'); + return '允许'; } else { - return this.$t('ENU_POPUP_TYPE_2'); + return '禁止'; } }, }, @@ -239,7 +239,7 @@ export default { moren: "consumptionDetails", topList: [ { - name: this.$t('MN_F_T_92'), + name: '消费明细', path: "consumptionDetails", }, ], @@ -380,15 +380,15 @@ export default { handleSelectionChange(val) {}, /** 导出按钮操作 */ handleExport() { - this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm( '是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning', }).then((_) => { this.download( '/member/manager/trade/export', Object.assign({}, this.queryParams, this.select), - ` ${this.$t('MN_F_T_92')} ${new Date().getTime()}.xlsx` + ` ${'消费明细'} ${new Date().getTime()}.xlsx` ) }) }, diff --git a/src/views/financial/freezeDetail/index.vue b/src/views/financial/freezeDetail/index.vue index 3d375fd..3e23756 100644 --- a/src/views/financial/freezeDetail/index.vue +++ b/src/views/financial/freezeDetail/index.vue @@ -170,7 +170,7 @@ export default { moren: "djmx", topList: [ { - name: this.$t('MN_F_T_93'), + name: '冻结明细', path: "djmx", }, ], @@ -238,7 +238,7 @@ export default { this.download( "/member/manager/frozen/frozen-export", { ...this.queryParams }, - `${this.$t('MN_F_T_93')}${new Date().getTime()}.xlsx` + `${'冻结明细'}${new Date().getTime()}.xlsx` ); }, handleSelectionChange(val) { diff --git a/src/views/financial/jdToPay/index.vue b/src/views/financial/jdToPay/index.vue index fd8616c..240344c 100644 --- a/src/views/financial/jdToPay/index.vue +++ b/src/views/financial/jdToPay/index.vue @@ -351,11 +351,11 @@ export default { moren: 'jdToPay', topList: [ { - name: this.$t('MN_F_T_90'), + name: '提现明细', path: 'cashDetails', }, { - name: this.$t('MN_F_T_91'), + name: '京东代付', path: 'jdToPay', }, ], @@ -365,20 +365,20 @@ export default { }, rules: { bankCode: [ - { required: true, message: this.$t('w_0270'), trigger: 'blur' }, + { required: true, message: '请选择银行名称', trigger: 'blur' }, ], bankAccountNo: [ - { required: true, message: this.$t('MN_F_T_576'), trigger: 'blur' }, + { required: true, message: '请输入银行账户', trigger: 'blur' }, ], bankAccountName: [ - { required: true, message: this.$t('MN_F_T_566'), trigger: 'blur' }, + { required: true, message: '请输入收款人', trigger: 'blur' }, ], agentAmount: [ - { required: true, message: this.$t('MN_F_T_577'), trigger: 'blur' }, + { required: true, message: '请输入提现金额', trigger: 'blur' }, ], - biz: [{ required: true, message: this.$t('MN_F_T_567'), trigger: 'change' }], + biz: [{ required: true, message: '请选择账户类型', trigger: 'change' }], agentChannel: [ - { required: true, message: this.$t('MN_F_T_574'), trigger: 'change' }, + { required: true, message: '请选择渠道', trigger: 'change' }, ], }, select: {}, @@ -394,41 +394,41 @@ export default { eAgentBiz: [ { value: 'B2B', - label: this.$t('MN_F_T_578'), + label: '对公', }, { value: 'B2C', - label: this.$t('MN_F_T_579'), + label: '对私', }, ], // 提现状态 eAgentStatus: [ { value: 0, - label: this.$t('MN_F_T_580'), + label: '未提现', }, { value: 1, - label: this.$t('MN_F_T_581'), + label: '提现成功', }, { value: 2, - label: this.$t('MN_F_T_582'), + label: '提现失败', }, ], // 审核状态 eAgentApprovalStatus: [ { value: 1, - label: this.$t('ENU_APPROVE_S_3'), + label: '审核中', }, { value: 2, - label: this.$t('ENU_R_A_O_2'), + label: '审核通过', }, { value: 3, - label: this.$t('ENU_R_A_O_3'), + label: '审核驳回', }, ], // 银行列表 @@ -497,7 +497,7 @@ export default { qudaoList: [ { value: 4, - label: this.$t('ENU_PAY_CHA_4'), + label: '京东', }, ], } @@ -564,15 +564,15 @@ export default { handleSelectionChange(val) {}, /** 导出按钮操作 */ handleExport() { - this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm( '是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning', }).then((_) => { this.download( '/pay/manage/jd-agent/export', Object.assign({}, this.queryParams, this.select), - `${this.$t('MN_F_T_92')}${new Date().getTime()}.xlsx` + `${'消费明细'}${new Date().getTime()}.xlsx` ) }) }, diff --git a/src/views/financial/jdToPay/jdZxqc.vue b/src/views/financial/jdToPay/jdZxqc.vue index 927fd23..4121f31 100644 --- a/src/views/financial/jdToPay/jdZxqc.vue +++ b/src/views/financial/jdToPay/jdZxqc.vue @@ -175,7 +175,7 @@ export default { moren: 'jdZxqc', topList: [ { - name: this.$t('MN_F_T_14'), + name: '在线签呈', path: 'jdZxqc', }, ], @@ -304,7 +304,7 @@ export default { } else { this.$message({ type: 'error', - message: this.$t('MY_ORD_79'), + message: '上传失败', }) } }, diff --git a/src/views/financial/onlinePayDetails/index.vue b/src/views/financial/onlinePayDetails/index.vue index 5cc2710..e294a73 100644 --- a/src/views/financial/onlinePayDetails/index.vue +++ b/src/views/financial/onlinePayDetails/index.vue @@ -256,9 +256,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t('ENU_POPUP_TYPE_1'); + return '允许'; } else { - return this.$t('ENU_POPUP_TYPE_2'); + return '禁止'; } }, }, @@ -280,22 +280,22 @@ export default { peyTypeList: [ { value: '1', - label: this.$t('ENU_PAY_TY_1'), + label: '支付宝', }, { value: '2', - label: this.$t('ENU_PAY_TY_2'), + label: '微信', }, { value: '3', - label: this.$t('ENU_PAY_TY_3'), + label: '银行卡', }, ], tradeTypeList: [], moren: 'onlinePayDetails', topList: [ { - name: this.$t('MN_F_T_97'), + name: '在线支付明细', path: 'onlinePayDetails', }, ], @@ -359,15 +359,15 @@ export default { handleSelectionChange(val) {}, /** 导出按钮操作 */ handleExport() { - this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm( '是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning', }).then((_) => { this.download( '/pay/manage/online-payment/export', Object.assign({}, this.queryParams, this.select), - `${this.$t('MN_F_T_97')}${new Date().getTime()}.xlsx` + `${'在线支付明细'}${new Date().getTime()}.xlsx` ) }) }, diff --git a/src/views/financial/onlineRefundDetails/index.vue b/src/views/financial/onlineRefundDetails/index.vue index 220c826..45e55f1 100644 --- a/src/views/financial/onlineRefundDetails/index.vue +++ b/src/views/financial/onlineRefundDetails/index.vue @@ -266,7 +266,7 @@ export default { moren: "onlineRefundDetails", topList: [ { - name: this.$t("MY_ORD_84"), + name: '在线退款明细', path: "onlineRefundDetails", }, ], @@ -329,15 +329,15 @@ export default { handleSelectionChange(val) {}, /** 导出按钮操作 */ handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( "/pay/manage/online-refund/refund-export", { ...this.queryParams }, - `${this.$t("MY_ORD_84")}${new Date().getTime()}.xlsx` + `${'在线退款明细'}${new Date().getTime()}.xlsx` ); }); }, diff --git a/src/views/financial/recharge/copy.vue b/src/views/financial/recharge/copy.vue index c8f2ec6..a2e613c 100644 --- a/src/views/financial/recharge/copy.vue +++ b/src/views/financial/recharge/copy.vue @@ -262,13 +262,13 @@ moren: "chongzhi", topList: [ { - name: this.$t('MN_F_T_87'), + name: '充值', path: "chongzhi", url: "Chongzhi", changed: false, }, { - name: this.$t('MN_F_T_88'), + name: '冻结', path: "dongjie", url: "Dongjie", changed: false, @@ -326,7 +326,7 @@ this.download( "/member/manager/recharge/download-template", {}, - `${this.$t('MN_F_T_232')}${new Date().getTime()}.xlsx` + `${'模板'}${new Date().getTime()}.xlsx` ); }, getUserRoute() { @@ -342,7 +342,7 @@ }, /** 导入按钮操作 */ handleImport() { - this.upload.title = this.$t('MN_F_T_589'); + this.upload.title = '翻译导入'; this.upload.open = true; }, // 文件上传中处理 @@ -361,13 +361,13 @@ this.upload.open = false; this.upload.isUploading = false; this.$refs.upload.clearFiles(); - this.$alert(response.msg, this.$t('MN_F_T_233'), { dangerouslyUseHTMLString: true }); + this.$alert(response.msg, '导入结果', { dangerouslyUseHTMLString: true }); // this.getList(); }, // 上传文件数量超出后的动作 handleExceed() { this.upload.isUploading = false; - this.msgInfo(this.$t('MN_F_T_234')); + this.msgInfo('仅可上传一个文件哦'); }, // 提交上传文件 submitFileForm() { @@ -383,7 +383,7 @@ saveDate(formName) { if (!this.form.rechargeMethod) { this.$message({ - message: this.$t('MN_F_T_590'), + message: '请先选择充值方式', type: "warning", }); return; @@ -443,7 +443,7 @@ changeAccountType() { if (!this.form.czlx) { this.$message({ - message: this.$t('MN_F_T_591'), + message: '请先选择操作类型', type: "warning", }); this.theaccountType = []; diff --git a/src/views/financial/recharge/dongjie.vue b/src/views/financial/recharge/dongjie.vue index 0eb00c9..d3ceea2 100644 --- a/src/views/financial/recharge/dongjie.vue +++ b/src/views/financial/recharge/dongjie.vue @@ -286,13 +286,13 @@ export default { moren: "dongjie", topList: [ { - name: this.$t('MN_F_T_87'), + name: '充值', path: "chongzhi", url: "Chongzhi", changed: false, }, { - name: this.$t('MN_F_T_88'), + name: '冻结', path: "dongjie", url: "Dongjie", changed: false, @@ -351,7 +351,7 @@ export default { this.download( "/member/manager/frozen/download-template", {}, - `${this.$t('MN_F_T_264')}${new Date().getTime()}.xlsx` + `${'模板'}${new Date().getTime()}.xlsx` ); }, getUserRoute() { @@ -367,7 +367,7 @@ export default { }, /** 导入按钮操作 */ handleImport() { - this.upload.title = this.$t('MN_F_T_589'); + this.upload.title = '翻译导入'; this.upload.open = true; }, // 文件上传中处理 @@ -386,13 +386,13 @@ export default { this.upload.open = false; this.upload.isUploading = false; this.$refs.upload.clearFiles(); - this.$alert(response.msg, this.$t('MN_F_T_233'), { dangerouslyUseHTMLString: true }); + this.$alert(response.msg, '导入结果', { dangerouslyUseHTMLString: true }); // this.getList(); }, // 上传文件数量超出后的动作 handleExceed() { this.upload.isUploading = false; - this.msgInfo(this.$t('MN_F_T_234')); + this.msgInfo('仅可上传一个文件哦'); }, // 提交上传文件 submitFileForm() { @@ -447,7 +447,7 @@ export default { changeAccountType() { if (!this.form.czlx) { this.$message({ - message: this.$t('MN_F_T_591'), + message: '请先选择操作类型', type: "warning", }); this.theaccountType = []; diff --git a/src/views/financial/recharge/doubleCz.vue b/src/views/financial/recharge/doubleCz.vue index db0c6d2..3e4231b 100644 --- a/src/views/financial/recharge/doubleCz.vue +++ b/src/views/financial/recharge/doubleCz.vue @@ -270,13 +270,13 @@ export default { this.download( "/member/manager/recharge/download-template", {}, - `${this.$t("MN_F_T_232")}${new Date().getTime()}.xlsx` + `${'模板'}${new Date().getTime()}.xlsx` ); }, /** 导入按钮操作 */ handleImport() { - this.upload.title = this.$t("MN_T_9"); + this.upload.title = '导入'; this.upload.open = true; }, // 文件上传中处理 @@ -340,7 +340,7 @@ export default { // 上传文件数量超出后的动作 handleExceed() { this.upload.isUploading = false; - this.msgInfo(this.$t("MN_F_T_234")); + this.msgInfo('仅可上传一个文件哦'); }, // 提交上传文件 submitFileForm() { @@ -361,7 +361,7 @@ export default { saveDate(formName) { if (!this.rechargeMethod) { this.$message({ - message: this.$t("MN_F_T_590"), + message: '请先选择充值方式', type: "warning", }); return; @@ -373,7 +373,7 @@ export default { if (!ele.paymentMethod) { shouldTerminate = true; this.$message({ - message: this.$t("MN_F_T_595"), + message: '交款方式不能为空', type: "warning", }); return; diff --git a/src/views/financial/recharge/index.vue b/src/views/financial/recharge/index.vue index 3c03994..a181807 100644 --- a/src/views/financial/recharge/index.vue +++ b/src/views/financial/recharge/index.vue @@ -51,13 +51,13 @@ export default { moren: "chongzhi", topList: [ { - name: this.$t('MN_F_T_87'), + name: '充值', path: "chongzhi", url: "Chongzhi", changed: false, }, { - name: this.$t('MN_F_T_88'), + name: '冻结', path: "dongjie", url: "Dongjie", changed: false, diff --git a/src/views/financial/recharge/singleCz.vue b/src/views/financial/recharge/singleCz.vue index 0d1a3aa..7b7f0cc 100644 --- a/src/views/financial/recharge/singleCz.vue +++ b/src/views/financial/recharge/singleCz.vue @@ -236,7 +236,7 @@ export default { saveDate(formName) { if (!this.rechargeMethod) { this.$message({ - message: this.$t("MN_F_T_590"), + message: '请先选择充值方式', type: "warning", }); return; @@ -249,7 +249,7 @@ export default { if (!ele.paymentMethod) { shouldTerminate = true; this.$message({ - message: this.$t("MN_F_T_595"), + message: '交款方式不能为空', type: "warning", }); return; diff --git a/src/views/financial/rechargeDetail/index.vue b/src/views/financial/rechargeDetail/index.vue index b687cbb..e30e92b 100644 --- a/src/views/financial/rechargeDetail/index.vue +++ b/src/views/financial/rechargeDetail/index.vue @@ -364,7 +364,7 @@ export default { moren: "czmx", topList: [ { - name: this.$t("MN_F_T_89"), + name: '充值明细', path: "czmx", }, ], @@ -566,15 +566,15 @@ export default { this.multipleSelection = val; }, handleExport() { - this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), { - confirmButtonText: this.$t("w_0035"), - cancelButtonText: this.$t("ENU_P_TYPE0"), + this.$confirm('是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: "warning", }).then((_) => { this.download( "/member/manager/recharge/export", { ...this.queryParams }, - `${this.$t("MN_F_T_89")}${new Date().getTime()}.xlsx` + `${'充值明细'}${new Date().getTime()}.xlsx` ); }); }, diff --git a/src/views/financial/transferDetails/index.vue b/src/views/financial/transferDetails/index.vue index 2254cb3..cf7bb68 100644 --- a/src/views/financial/transferDetails/index.vue +++ b/src/views/financial/transferDetails/index.vue @@ -247,9 +247,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t('ENU_POPUP_TYPE_1'); + return '允许'; } else { - return this.$t('ENU_POPUP_TYPE_2'); + return '禁止'; } }, }, @@ -258,7 +258,7 @@ export default { moren: "transferDetails", topList: [ { - name: this.$t('MN_F_T_94'), + name: '转账明细', path: "transferDetails", }, ], @@ -409,15 +409,15 @@ export default { handleSelectionChange(val) {}, /** 导出按钮操作 */ handleExport() { - this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm( '是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning', }).then((_) => { this.download( '/member/manager/transfer/export', Object.assign({}, this.queryParams, this.select), - `${this.$t('MN_F_T_94')}${new Date().getTime()}.xlsx` + `${'转账明细'}${new Date().getTime()}.xlsx` ) }) }, diff --git a/src/views/financial/walletDetails/details.vue b/src/views/financial/walletDetails/details.vue index a349f27..c6760cd 100644 --- a/src/views/financial/walletDetails/details.vue +++ b/src/views/financial/walletDetails/details.vue @@ -253,9 +253,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t('ENU_POPUP_TYPE_1'); + return '允许'; } else { - return this.$t('ENU_POPUP_TYPE_2'); + return '禁止'; } }, }, @@ -267,7 +267,7 @@ export default { moren: "details", topList: [ { - name: this.$t('MN_F_T_1181'), + name: '钱包详情', path: "details", }, ], @@ -341,9 +341,9 @@ this.loading = false handleSelectionChange(val) {}, /** 导出按钮操作 */ handleExport() { - this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm( '是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning', }).then((_) => { this.download( @@ -355,9 +355,9 @@ this.loading = false }, /** 导出按钮操作 */ handleExport1(pkId) { - this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm( '是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning', }).then((_) => { this.download( diff --git a/src/views/financial/walletDetails/index.vue b/src/views/financial/walletDetails/index.vue index 8723f0f..7c95159 100644 --- a/src/views/financial/walletDetails/index.vue +++ b/src/views/financial/walletDetails/index.vue @@ -446,9 +446,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t('ENU_POPUP_TYPE_1'); + return '允许'; } else { - return this.$t('ENU_POPUP_TYPE_2'); + return '禁止'; } }, }, @@ -475,7 +475,7 @@ export default { moren: "walletDetails", topList: [ { - name: this.$t('MN_F_T_96'), + name: '钱包明细', path: "walletDetails", }, ], @@ -570,29 +570,29 @@ export default { handleSelectionChange(val) {}, /** 导出按钮操作 */ handleExport() { - this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm( '是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning', }).then((_) => { this.download( '/member/manager/account/export', Object.assign({}, this.queryParams, this.select), - `${this.$t('MN_F_T_96')}${new Date().getTime()}.xlsx` + `${'钱包明细'}${new Date().getTime()}.xlsx` ) }) }, handleExportAlone(id) { console.log('%c [ id ]-468', 'font-size:13px; background:#34e86c; color:#78ffb0;', id) - this.$confirm(this.$t('MN_F_T_1199'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('是否确认导出当前数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning', }).then((_) => { this.download( '/member/manager/account/export', {pkIds:[id]}, - `${this.$t('MN_F_T_96')}${new Date().getTime()}.xlsx` + `${'钱包明细'}${new Date().getTime()}.xlsx` ) }) }, diff --git a/src/views/framework/architecture/azjg2.vue b/src/views/framework/architecture/azjg2.vue index 44e53bc..f0f0d04 100644 --- a/src/views/framework/architecture/azjg2.vue +++ b/src/views/framework/architecture/azjg2.vue @@ -248,19 +248,19 @@ export default { moren: "azjg2", topList: [ { - name: this.$t('w_0175'), + name: '方案一', path: "azjg", }, { - name: this.$t('w_0176'), + name: '方案二', path: "azjg2", }, { - name: this.$t('w_0177'), + name: '方案三', path: "azjg3", }, { - name: this.$t('w_0178'), + name: '方案四', path: "azjg4", }, { @@ -316,7 +316,7 @@ export default { try { document.execCommand("copy"); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { @@ -377,7 +377,7 @@ export default { }), ]); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { @@ -455,7 +455,7 @@ export default { event.stopPropagation(), this.goTop(data); }} > - {this.$t('N_I_245')} + {'置顶'} diff --git a/src/views/framework/architecture/azjg3.vue b/src/views/framework/architecture/azjg3.vue index 32862ca..131ab0a 100644 --- a/src/views/framework/architecture/azjg3.vue +++ b/src/views/framework/architecture/azjg3.vue @@ -232,19 +232,19 @@ export default { moren: "azjg3", topList: [ { - name: this.$t('w_0175'), + name: '方案一', path: "azjg", }, { - name: this.$t('w_0176'), + name: '方案二', path: "azjg2", }, { - name: this.$t('w_0177'), + name: '方案三', path: "azjg3", }, { - name: this.$t('w_0178'), + name: '方案四', path: "azjg4", }, { @@ -301,7 +301,7 @@ export default { try { document.execCommand("copy"); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { @@ -382,27 +382,27 @@ export default {
-
{ this.$t('MN_T_1') }
+
{ '会员编号' }
{data.memberCode}
-
{ this.$t('CK_KS_14') }
+
{ '会员姓名' }
{data.name}
-
{ this.$t('MN_F_T_914') }
+
{ '支付日期' }
{data.payDate}
-
{this.$t('MN_F_18')}
+
{'结算国家'}
-
{ this.$t('ENU_TOTAL_V_1') }({isLocals()})
-
{this.$t('w_0165')}
+
{ '业绩' }({isLocals()})
+
{'真实新增'}
首购新增
复购新增
真实累计
@@ -457,7 +457,7 @@ export default { event.stopPropagation(), this.goTop(data); }} > - {this.$t('N_I_245')} + {'置顶'}
@@ -495,7 +495,7 @@ export default { }), ]); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { diff --git a/src/views/framework/architecture/azjg4.vue b/src/views/framework/architecture/azjg4.vue index 5e24796..e900f6f 100644 --- a/src/views/framework/architecture/azjg4.vue +++ b/src/views/framework/architecture/azjg4.vue @@ -229,19 +229,19 @@ export default { moren: "azjg4", topList: [ { - name: this.$t('w_0175'), + name: '方案一', path: "azjg", }, { - name: this.$t('w_0176'), + name: '方案二', path: "azjg2", }, { - name: this.$t('w_0177'), + name: '方案三', path: "azjg3", }, { - name: this.$t('w_0178'), + name: '方案四', path: "azjg4", }, { @@ -325,7 +325,7 @@ export default { try { document.execCommand("copy"); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { @@ -353,7 +353,7 @@ export default { }), ]); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { @@ -422,7 +422,7 @@ export default { event.stopPropagation(), this.goTop(data); }} > - {this.$t('N_I_245')} + {'置顶'} diff --git a/src/views/framework/architecture/azjg5.vue b/src/views/framework/architecture/azjg5.vue index 9a727ea..9ecf613 100644 --- a/src/views/framework/architecture/azjg5.vue +++ b/src/views/framework/architecture/azjg5.vue @@ -237,19 +237,19 @@ moren: "azjg5", topList: [ { - name: this.$t('w_0175'), + name: '方案一', path: "azjg", }, { - name: this.$t('w_0176'), + name: '方案二', path: "azjg2", }, { - name: this.$t('w_0177'), + name: '方案三', path: "azjg3", }, { - name: this.$t('w_0178'), + name: '方案四', path: "azjg4", }, { @@ -300,7 +300,7 @@ try { document.execCommand("copy"); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { @@ -361,7 +361,7 @@ }), ]); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { @@ -439,7 +439,7 @@ event.stopPropagation(), this.goTop(data); }} > - {this.$t('N_I_245')} + {'置顶'} diff --git a/src/views/framework/architecture/index.vue b/src/views/framework/architecture/index.vue index 65fff46..97d3f2b 100644 --- a/src/views/framework/architecture/index.vue +++ b/src/views/framework/architecture/index.vue @@ -254,19 +254,19 @@ export default { moren: "azjg", topList: [ { - name: this.$t('w_0175'), + name: '方案一', path: "azjg", }, { - name: this.$t('w_0176'), + name: '方案二', path: "azjg2", }, { - name: this.$t('w_0177'), + name: '方案三', path: "azjg3", }, { - name: this.$t('w_0178'), + name: '方案四', path: "azjg4", }, { @@ -322,7 +322,7 @@ export default { try { document.execCommand("copy"); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { @@ -381,7 +381,7 @@ export default { }), ]); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { diff --git a/src/views/framework/recommend/index.vue b/src/views/framework/recommend/index.vue index 7d50ee8..8f251a5 100644 --- a/src/views/framework/recommend/index.vue +++ b/src/views/framework/recommend/index.vue @@ -78,19 +78,19 @@ export default { moren: "tjjg", topList: [ { - name: this.$t("w_0175"), + name: '方案一', path: "tjjg", }, { - name: this.$t("w_0176"), + name: '方案二', path: "tjjg2", }, { - name: this.$t("w_0177"), + name: '方案三', path: "tjjg3", }, { - name: this.$t("w_0178"), + name: '方案四', path: "tjjg4", }, ], @@ -163,7 +163,7 @@ export default { document.execCommand("Copy"); } this.$message({ - message: this.$t("MY_CK_29"), + message: '复制成功', type: "success", }); }, diff --git a/src/views/framework/recommend/tjjg2.vue b/src/views/framework/recommend/tjjg2.vue index 46bec06..5423d60 100644 --- a/src/views/framework/recommend/tjjg2.vue +++ b/src/views/framework/recommend/tjjg2.vue @@ -174,19 +174,19 @@ export default { moren: "tjjg2", topList: [ { - name: this.$t('w_0175'), + name: '方案一', path: "tjjg", }, { - name: this.$t('w_0176'), + name: '方案二', path: "tjjg2", }, { - name: this.$t('w_0177'), + name: '方案三', path: "tjjg3", }, { - name: this.$t('w_0178'), + name: '方案四', path: "tjjg4", }, ], @@ -266,7 +266,7 @@ export default { try { document.execCommand("copy"); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { @@ -343,32 +343,32 @@ export default {
-
{ this.$t('MN_T_1')}
+
{ '会员编号'}
{data.memberCode}
-
{ this.$t('CK_KS_14') }
+
{ '会员姓名' }
{data.name}
-
{this.$t('w_0354')}
+
{'直推代数'}
{data.level}
-
{ this.$t('MN_F_T_914') }
+
{ '支付日期' }
{data.payDate}
-
{this.$t('MN_F_18')}
+
{'结算国家'}
-
{ this.$t('w_0355') }
+
{ '类型' }
人数
-
{ this.$t('ENU_TOTAL_V_1') }({isLocals()})
+
{ '业绩' }({isLocals()})
直推
@@ -376,7 +376,7 @@ export default {
{data.newPerformancePv}
-
{this.$t('N_I_118') }
+
{'团队' }
{data.teamNumber}
{data.teamHistoryPerformancePv }
@@ -399,7 +399,7 @@ export default { 复制文字
this.goTop(data)}> - {this.$t('N_I_245')} + {'置顶'}
diff --git a/src/views/framework/recommend/tjjg3.vue b/src/views/framework/recommend/tjjg3.vue index cb97fce..b9e6dbf 100644 --- a/src/views/framework/recommend/tjjg3.vue +++ b/src/views/framework/recommend/tjjg3.vue @@ -186,19 +186,19 @@ export default { moren: "tjjg3", topList: [ { - name: this.$t('w_0175'), + name: '方案一', path: "tjjg", }, { - name: this.$t('w_0176'), + name: '方案二', path: "tjjg2", }, { - name: this.$t('w_0177'), + name: '方案三', path: "tjjg3", }, { - name: this.$t('w_0178'), + name: '方案四', path: "tjjg4", }, ], @@ -277,7 +277,7 @@ export default { try { document.execCommand("copy"); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { @@ -305,7 +305,7 @@ export default { }), ]); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { @@ -370,7 +370,7 @@ export default { event.stopPropagation(), this.goTop(data); }} > - {this.$t('N_I_245')} + {'置顶'} diff --git a/src/views/framework/recommend/tjjg4.vue b/src/views/framework/recommend/tjjg4.vue index 408955d..b03bc0d 100644 --- a/src/views/framework/recommend/tjjg4.vue +++ b/src/views/framework/recommend/tjjg4.vue @@ -185,19 +185,19 @@ export default { moren: "tjjg4", topList: [ { - name: this.$t('w_0175'), + name: '方案一', path: "tjjg", }, { - name: this.$t('w_0176'), + name: '方案二', path: "tjjg2", }, { - name: this.$t('w_0177'), + name: '方案三', path: "tjjg3", }, { - name: this.$t('w_0178'), + name: '方案四', path: "tjjg4", }, ], @@ -276,7 +276,7 @@ export default { try { document.execCommand("copy"); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { @@ -303,7 +303,7 @@ export default { }), ]); this.$message({ - message: this.$t('MY_CK_29'), + message: '复制成功', type: "success", }); } catch (error) { @@ -368,7 +368,7 @@ export default { event.stopPropagation(), this.goTop(data); }} > - {this.$t('N_I_245')} + {'置顶'} diff --git a/src/views/goodsManage/goodsClassify/index.vue b/src/views/goodsManage/goodsClassify/index.vue index 815338e..1c07758 100644 --- a/src/views/goodsManage/goodsClassify/index.vue +++ b/src/views/goodsManage/goodsClassify/index.vue @@ -255,15 +255,15 @@ export default { }, agreeList: [ { - text: this.$t('ENU_POPUP_TYPE_1'), + text: '允许', val: 0, }, { - text: this.$t('ENU_POPUP_TYPE_2'), + text: '禁止', val: 1, }, ], - addOrEdit: this.$t('ENU_CONTROL_TYPE_1'), + addOrEdit: '新增', total: 0, dialogVisible: false, loading:false, @@ -276,17 +276,17 @@ export default { }, rules: { classifyName: [ - { required: true, message: this.$t('MN_F_T_462'), trigger: 'blur' }, + { required: true, message: '请输入名称', trigger: 'blur' }, ], - sort: [{ required: true, message: this.$t('MN_F_T_357'), trigger: 'blur' }], + sort: [{ required: true, message: '请输入排序', trigger: 'blur' }], classifyImg: [ - { required: true, message: this.$t('MN_F_T_356'), trigger: 'change' }, + { required: true, message: '请上传图片', trigger: 'change' }, ], enableState: [ - { required: true, message: this.$t('MN_F_T_613'), trigger: 'change' }, + { required: true, message: '请选择显示', trigger: 'change' }, ], specialAreaList: [ - { required: true, message: this.$t('MN_F_T_614'), trigger: 'change' }, + { required: true, message: '请选择所属专区', trigger: 'change' }, ], }, maps: new Map(), @@ -306,9 +306,9 @@ export default { toTj(index) { let str if (index == 1) { - str = this.$t('MN_F_T_615') + str = '取消成功' } else { - str = this.$t('MN_F_T_616') + str = '推荐成功' } api .classifyRecommend({ @@ -352,9 +352,9 @@ export default { } this.hasIndex = index if (this.hasIndex == 1) { - this.addOrEdit = this.$t('PER_DA_20') + this.addOrEdit = '修改' } else if (this.hasIndex == 2) { - this.addOrEdit = this.$t('MY_CK_27') + this.addOrEdit = '复制' } this.dialogVisible = true api.areaClassifyDetail({ pkId: row.pkId }).then((res) => { @@ -369,9 +369,9 @@ export default { handleDelete(row) { this.nowRow = row - this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm('确认删除?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning', }).then(() => { api.areaClassifyDel(row.pkId).then((res) => { @@ -409,9 +409,9 @@ export default { this.$refs[formName].validate((valid) => { if (valid) { let url = '' - if (this.addOrEdit == this.$t('ENU_CONTROL_TYPE_1') || this.addOrEdit == this.$t('MY_CK_27')) { + if (this.addOrEdit == '新增' || this.addOrEdit == '复制') { url = areaClassifySave - } else if (this.addOrEdit == this.$t('PER_DA_20')) { + } else if (this.addOrEdit == '修改') { url = areaClassifyUpdate } url(this.form).then((res) => { @@ -479,7 +479,7 @@ export default { this.form.pkParent = 0 } this.dialogVisible = true - this.addOrEdit = this.$t('ENU_CONTROL_TYPE_1') + this.addOrEdit = '新增' }, getDataList() { this.loading = true @@ -540,9 +540,9 @@ export default { /** 导出按钮操作 */ handleExport() { const queryParams = this.queryParams - this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), { - confirmButtonText: this.$t('w_0035'), - cancelButtonText: this.$t('ENU_P_TYPE0'), + this.$confirm( '是否确认导出所有数据项?', '警告', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning', }) .then(function () { diff --git a/src/views/goodsManage/goodsList/goodsEdit/cpmx.vue b/src/views/goodsManage/goodsList/goodsEdit/cpmx.vue index 2ed9aea..2b1b088 100644 --- a/src/views/goodsManage/goodsList/goodsEdit/cpmx.vue +++ b/src/views/goodsManage/goodsList/goodsEdit/cpmx.vue @@ -155,9 +155,9 @@ export default { filters: { isAgree(val) { if (!val) { - return this.$t('ENU_POPUP_TYPE_1') + return '允许' } else { - return this.$t('ENU_POPUP_TYPE_2') + return '禁止' } }, }, @@ -196,11 +196,11 @@ export default { tableArr: [], agreeList: [ { - text: this.$t('ENU_SALE_T_0'), + text: '赠品', val: 0, }, { - text: this.$t('ENU_SALE_T_1'), + text: '销售', val: 1, }, ], diff --git a/src/views/goodsManage/goodsList/goodsEdit/ggmx.vue b/src/views/goodsManage/goodsList/goodsEdit/ggmx.vue index e41f7b6..c53463e 100644 --- a/src/views/goodsManage/goodsList/goodsEdit/ggmx.vue +++ b/src/views/goodsManage/goodsList/goodsEdit/ggmx.vue @@ -330,11 +330,11 @@ export default { return { agreeList: [ { - text: this.$t("ENU_POPUP_TYPE_1"), + text: '允许', val: 0, }, { - text: this.$t("ENU_POPUP_TYPE_2"), + text: '禁止', val: 1, }, ], diff --git a/src/views/goodsManage/goodsList/goodsEdit/jcpz.vue b/src/views/goodsManage/goodsList/goodsEdit/jcpz.vue index 02fa83c..64bf065 100644 --- a/src/views/goodsManage/goodsList/goodsEdit/jcpz.vue +++ b/src/views/goodsManage/goodsList/goodsEdit/jcpz.vue @@ -77,12 +77,12 @@ export default { tableList: [], smallTableList: [], levelList: [ - { pkRange: 1, rangeName: this.$t('MN_F_T_625') }, - { pkRange: 2, rangeName: this.$t('MN_F_T_626') }, - { pkRange: 3, rangeName: this.$t('MN_F_T_627') }, - { pkRange: 4, rangeName: this.$t('MN_F_T_628') }, - { pkRange: 5, rangeName: this.$t('MN_F_T_629') }, - { pkRange: 6, rangeName: this.$t('MN_F_T_630') }, + { pkRange: 1, rangeName: '嗨粉级' }, + { pkRange: 2, rangeName: '会员级' }, + { pkRange: 3, rangeName: 'VIP级' }, + { pkRange: 4, rangeName: '经理级' }, + { pkRange: 5, rangeName: '总监级' }, + { pkRange: 6, rangeName: '董事级' }, ], selList: [], newSelList: [], diff --git a/src/views/goodsManage/goodsList/goodsEdit/jcsz.vue b/src/views/goodsManage/goodsList/goodsEdit/jcsz.vue index a5de1ef..b00307a 100644 --- a/src/views/goodsManage/goodsList/goodsEdit/jcsz.vue +++ b/src/views/goodsManage/goodsList/goodsEdit/jcsz.vue @@ -8,17 +8,17 @@
{{ item.name }}
-
+
+ /> @@ -44,38 +44,38 @@ + /> + /> + /> + /> @@ -84,11 +84,11 @@ prop="waresAchieve" > + /> + @change="flChange" + /> + /> + /> + /> + /> + /> + /> + /> + /> - + + /> - + + /> - + + /> + /> - + + /> - + + /> @@ -340,65 +340,64 @@ v-for="(item, index) in bzList" :key="item.pkId" :label="item.pkId" - >{{ item.label }} + >{{ item.label }} + @change="mdChange" + /> + /> + />
{{ item.label }}
+ /> + /> + />
@@ -454,44 +453,41 @@ - + /> - + /> - + /> + /> @@ -504,7 +500,7 @@ ref="upImg1" @getImg="getImg1" @delImg="delImg1"> --> - + @@ -594,10 +590,10 @@ @@ -633,10 +629,10 @@ @@ -646,27 +642,27 @@ + />
+ />
{{ '团队配置' }}
-
+
+ /> + /> @@ -720,12 +716,12 @@ v-show="methods != 0" class="el-icon-remove-outline addIcon" @click="removeTeamPz(index)" - > + /> @@ -733,7 +729,7 @@ v-show="methods != 0" class="el-icon-circle-plus-outline addIcon" @click="addTeamPz" - > + /> @@ -744,9 +740,9 @@ + />
@@ -754,7 +750,7 @@
{{ '等级配置' }}
{{ '选择能够购买该商品的会员等级,若不选择则默认全部可购买' }}
-
+
{{ '全部' }} + >{{ '全部' }}
{{ item.gradeName }} + >{{ item.gradeName }}
@@ -791,7 +785,7 @@
{{ '奖衔配置' }}
-
+
{{ '全部' }} + >{{ '全部' }}
{{ item.awardsName }} + >{{ item.awardsName }}
@@ -828,7 +820,7 @@
商品权限
-
+
{{ item.label }} + >{{ item.label }}
-