diff --git a/src/i18n/langs/en/orderAuthor.js b/src/i18n/langs/en/orderAuthor.js index 0b813f430..64514d27b 100644 --- a/src/i18n/langs/en/orderAuthor.js +++ b/src/i18n/langs/en/orderAuthor.js @@ -45,14 +45,9 @@ export default { authorityDetails: 'AuthorityDetails', renew: 'Renew', productName: 'ProductName', - updateProductTip: 'Will this operation modify the commodity status?', - deleteProductTip: 'This operation will delete the item. Do you want to continue?', recovery: 'Recovery', permissionPack: 'PermissionPack', privilegeTransferQRCode: 'PrivilegeTransferQRCode', - getQRCodeFailure: 'Failed to obtain the package authority qr code', - recoveryPrivilegeTip: 'This action will reclaim permissions. Do you want to continue?', - unpackingTip: 'This operation will be unpacked. Do you want to continue?', generatingQRCode: 'GeneratingQRCode', transferQRCode: 'TransferQRCode', today: 'Today', @@ -66,27 +61,7 @@ export default { increasePermissionNumber: 'IncreasePermissionNumber', choosePermissionNumber: 'ChoosePermissionNumber', itemPricing: 'itemPricing', - organizationInput: 'Please enter the name of the organization or business', - productSelect: 'Please select products', - itemPricingInput: 'Please enter unit price', - orderTypeSelect: 'Please select the order type', - contractNumberInput: 'Please enter the contract number', - contractNumberLimit: 'The length is between 1 and 25 characters', - salesmanInput: 'Please select a salesperson', - foreverRadio: 'Please select a', - amountInput: 'Please enter the number of permissions to purchase', - amountInputError: 'Please enter the number of valid permissions', - totalPriceInput: 'Please enter the total price', - totalPriceInputError1: 'Please enter the price in two decimal places', - totalPriceInputError2: 'Please enter valid total price', - monthAmountInput: 'Please enter purchase month', - monthAmountInputError: 'Please enter valid months of purchase', - startTimePick: 'Please select a start date', - bizTypeSelect: 'Select a business type', - payWaysSelect: 'Please select payment method', - payStatusSelect: 'Please select payment status', - addOrganizationPrefix: 'Whether to add "', - addOrganizationSuffix: '" Organization/enterprise entry information?', + addUserPermissions: 'Add user permissions', publicAuthority: 'PublicAuthority', privateAuthority: 'PrivateAuthority', optionPrivilegeTransfer: 'Option privilege transfer', @@ -95,7 +70,6 @@ export default { addRecords: 'AddRecords', totalNumber: 'TotalNumber', permissionToDistributeQRCode: 'Permission to distribute qr code', - packagingFailed: 'Authority distribution packaging failed', selectPackagingRecord: 'Please select the packaging record', editPermissionRules: 'Edit permission rules', addGoods: 'AddGoods', @@ -104,17 +78,6 @@ export default { whetherTrial: 'WhetherTrial', unitOfTime: 'UnitOfTime', trialTime: 'TrialTime', - goodsNameInput: 'Please enter product name', - productTypeInput: 'Please select product type', - mapInput: 'Please select map', - productInput: 'Please select product', - lessonInput: 'Please select courses', - trialTimeInput: 'Please enter trial duration', - unitOfTimeRadio: 'Please select a time unit', - goodsDescribtionInput: 'Please enter product description', - addUserPermissions: 'Add user permissions', - userNameInput: 'Please enter user name', - permissionTypeInput: 'Please select the permission type', distributionUser: 'DistributionUser', orderNumber: 'OrderNumber', sourcesOfInformation: 'SourcesOfInformation', diff --git a/src/i18n/langs/en/rules.js b/src/i18n/langs/en/rules.js index 9ad7f13e1..325d415fa 100644 --- a/src/i18n/langs/en/rules.js +++ b/src/i18n/langs/en/rules.js @@ -148,5 +148,33 @@ export default { pleaseSelectStatus: '请选择状态', pleaseInputCode: '请输入编码', strLength1To25: '长度在 1 到 25 个字符', - strLengthNotExceed50: '不能超过 50 个字符' + strLengthNotExceed50: '不能超过 50 个字符', + + organizationInput: 'Please enter the name of the organization or business', + productSelect: 'Please select products', + itemPricingInput: 'Please enter unit price', + orderTypeSelect: 'Please select the order type', + contractNumberInput: 'Please enter the contract number', + salesmanInput: 'Please select a salesperson', + authorAmountInput: 'Please enter the number of permissions to purchase', + authorAmountInputError: 'Please enter the number of valid permissions', + totalPriceInput: 'Please enter the total price', + totalPriceInputError1: 'Please enter the price in two decimal places', + totalPriceInputError2: 'Please enter valid total price', + monthAmountInput: 'Please enter purchase month', + monthAmountInputError: 'Please enter valid months of purchase', + startTimePick: 'Please select a start date', + bizTypeSelect: 'Select a business type', + payWaysSelect: 'Please select payment method', + payStatusSelect: 'Please select payment status', + goodsNameInput: 'Please enter product name', + productTypeInput: 'Please select product type', + mapInput: 'Please select map', + productInput: 'Please select product', + lessonInput: 'Please select courses', + trialTimeInput: 'Please enter trial duration', + unitOfTimeRadio: 'Please select a time unit', + goodsDescribtionInput: 'Please enter product description', + userNameInput: 'Please enter user name', + permissionTypeInput: 'Please select the permission type' }; diff --git a/src/i18n/langs/en/tip.js b/src/i18n/langs/en/tip.js index fb573db4b..42700b811 100644 --- a/src/i18n/langs/en/tip.js +++ b/src/i18n/langs/en/tip.js @@ -73,5 +73,15 @@ export default { requestFailed: '请求失败', dataQuestion: '有问题数据', - dataList: '数据列表' + dataList: '数据列表', + + updateProductTip: 'Will this operation modify the commodity status?', + deleteProductTip: 'This operation will delete the item. Do you want to continue?', + getQRCodeFailure: 'Failed to obtain the package authority qr code', + recoveryPrivilegeTip: 'This action will reclaim permissions. Do you want to continue?', + unpackingTip: 'This operation will be unpacked. Do you want to continue?', + updatePrivilegeTip: 'This action will modify the permission status. Do you want to continue?', + addOrganizationPrefix: 'Whether to add "', + addOrganizationSuffix: '" Organization/enterprise entry information?', + packagingFailed: 'Authority distribution packaging failed' }; diff --git a/src/i18n/langs/zh/orderAuthor.js b/src/i18n/langs/zh/orderAuthor.js index f6fd13a22..6c1dea71e 100644 --- a/src/i18n/langs/zh/orderAuthor.js +++ b/src/i18n/langs/zh/orderAuthor.js @@ -45,15 +45,9 @@ export default { authorityDetails: '权限详情', renew: '续费', productName: '产品名称', - updateProductTip: '此操作将修改商品状态?', - deleteProductTip: '此操作将删除该商品, 是否继续?', recovery: '回收', permissionPack: '权限包', privilegeTransferQRCode: '权限转赠二维码', - getQRCodeFailure: '获取打包权限二维码失败', - recoveryPrivilegeTip: '此操作将回收权限, 是否继续?', - unpackingTip: '此操作将解包, 是否继续?', - updatePrivilegeTip: '此操作将修改权限状态?', generatingQRCode: '生成二维码', transferQRCode: '转赠二维码', today: '今天', @@ -68,27 +62,7 @@ export default { increasePermissionNumber: '增加权限数量', choosePermissionNumber: '选择权限数量', itemPricing: '商品单价', - organizationInput: '请输入组织或者企业名称', - productSelect: '请选择商品', - itemPricingInput: '请输入商品单价', - orderTypeSelect: '请选择订单类型', - contractNumberInput: '请输入合同编号', - contractNumberLimit: '长度在 1 到 25 个字符', - salesmanInput: '请选择销售人员', - foreverRadio: '请选择', - amountInput: '请输入购买的权限个数', - amountInputError: '请输入有效权限个数', - totalPriceInput: '请输入总价格', - totalPriceInputError1: '请输入的价格在两位小数', - totalPriceInputError2: '请输入有效总价格', - monthAmountInput: '请输入购买月数', - monthAmountInputError: '请输入有效购买月数', - startTimePick: '请选择开始日期', - bizTypeSelect: '请选择业务类型', - payWaysSelect: '请选择支付方式', - payStatusSelect: '请选择支付状态', - addOrganizationPrefix: '是否添加 "', - addOrganizationSuffix: '" 组织/企业条目信息?', + addUserPermissions: '添加用户权限', publicAuthority: '公用权限', privateAuthority: '专用权限', optionPrivilegeTransfer: '选择权限转赠', @@ -97,7 +71,6 @@ export default { addRecords: '添加记录', totalNumber: '总数', permissionToDistributeQRCode: '权限分发二维码', - packagingFailed: '权限分发打包失败', selectPackagingRecord: '请选择打包记录', editPermissionRules: '编辑权限规则', addGoods: '添加商品', @@ -106,17 +79,6 @@ export default { whetherTrial: '是否试用', unitOfTime: '时间单位', trialTime: '试用时长', - goodsNameInput: '请输入商品名称', - productTypeInput: '请选择产品类型', - mapInput: '请选择地图', - productInput: '请选择产品', - lessonInput: '请选择课程', - trialTimeInput: '请输入试用时长', - unitOfTimeRadio: '请选择时间单位', - goodsDescribtionInput: '请输入商品描述', - addUserPermissions: '添加用户权限', - userNameInput: '请输入用户名称', - permissionTypeInput: '请选择权限类型', distributionUser: '分发用户', orderNumber: '订单号', sourcesOfInformation: '信息来源', diff --git a/src/i18n/langs/zh/rules.js b/src/i18n/langs/zh/rules.js index 9ad7f13e1..2528adb4f 100644 --- a/src/i18n/langs/zh/rules.js +++ b/src/i18n/langs/zh/rules.js @@ -148,5 +148,33 @@ export default { pleaseSelectStatus: '请选择状态', pleaseInputCode: '请输入编码', strLength1To25: '长度在 1 到 25 个字符', - strLengthNotExceed50: '不能超过 50 个字符' + strLengthNotExceed50: '不能超过 50 个字符', + + organizationInput: '请输入组织或者企业名称', + productSelect: '请选择商品', + itemPricingInput: '请输入商品单价', + orderTypeSelect: '请选择订单类型', + contractNumberInput: '请输入合同编号', + salesmanInput: '请选择销售人员', + authorAmountInput: '请输入购买的权限个数', + authorAmountInputError: '请输入有效权限个数', + totalPriceInput: '请输入总价格', + totalPriceInputError1: '请输入的价格在两位小数', + totalPriceInputError2: '请输入有效总价格', + monthAmountInput: '请输入购买月数', + monthAmountInputError: '请输入有效购买月数', + startTimePick: '请选择开始日期', + bizTypeSelect: '请选择业务类型', + payWaysSelect: '请选择支付方式', + payStatusSelect: '请选择支付状态', + goodsNameInput: '请输入商品名称', + productTypeInput: '请选择产品类型', + mapInput: '请选择地图', + productInput: '请选择产品', + lessonInput: '请选择课程', + trialTimeInput: '请输入试用时长', + unitOfTimeRadio: '请选择时间单位', + goodsDescribtionInput: '请输入商品描述', + userNameInput: '请输入用户名称', + permissionTypeInput: '请选择权限类型' }; diff --git a/src/i18n/langs/zh/tip.js b/src/i18n/langs/zh/tip.js index fb573db4b..7fc9e684e 100644 --- a/src/i18n/langs/zh/tip.js +++ b/src/i18n/langs/zh/tip.js @@ -73,5 +73,16 @@ export default { requestFailed: '请求失败', dataQuestion: '有问题数据', - dataList: '数据列表' + dataList: '数据列表', + + updateProductTip: '此操作将修改商品状态?', + deleteProductTip: '此操作将删除该商品, 是否继续?', + getQRCodeFailure: '获取打包权限二维码失败', + recoveryPrivilegeTip: '此操作将回收权限, 是否继续?', + unpackingTip: '此操作将解包, 是否继续?', + updatePrivilegeTip: '此操作将修改权限状态,是否继续?', + addOrganizationPrefix: '是否添加 "', + addOrganizationSuffix: '" 组织/企业条目信息?', + packagingFailed: '权限分发打包失败' + }; diff --git a/src/views/orderauthor/author/draft.vue b/src/views/orderauthor/author/draft.vue index 822de9b96..23cc20b9e 100644 --- a/src/views/orderauthor/author/draft.vue +++ b/src/views/orderauthor/author/draft.vue @@ -66,25 +66,25 @@ export default { const _this = this; const baseRules = { userId: [ - { required: true, message: this.$t('orderAuthor.userNameInput'), trigger: 'blur' } + { required: true, message: this.$t('rules.userNameInput'), trigger: 'blur' } ], lessonId: [ - { required: true, message: this.$t('orderAuthor.lessonInput'), trigger: 'change' } + { required: true, message: this.$t('rules.lessonInput'), trigger: 'change' } ], type: [ - { required: true, message: this.$t('orderAuthor.permissionTypeInput'), trigger: 'change' } + { required: true, message: this.$t('rules.permissionTypeInput'), trigger: 'change' } ], forever: [ - { required: true, message: this.$t('orderAuthor.foreverRadio'), trigger: 'change' } + { required: true, message: this.$t('rules.pleaseSelect'), trigger: 'change' } ], total: [ - { required: true, message: this.$t('orderAuthor.amountInput'), trigger: 'change' }, + { required: true, message: this.$t('rules.authorAmountInput'), trigger: 'change' }, { validator(rule, value, callback) { if (Number.isInteger(Number(value)) && Number(value) >= 0) { callback(); } else { - callback(new Error(_this.$t('orderAuthor.amountInputError'))); + callback(new Error(_this.$t('rules.authorAmountInputError'))); } }, trigger: 'blur' diff --git a/src/views/orderauthor/author/index.vue b/src/views/orderauthor/author/index.vue index 04deb3e24..30db034cf 100644 --- a/src/views/orderauthor/author/index.vue +++ b/src/views/orderauthor/author/index.vue @@ -207,7 +207,7 @@ return getLessonPermissonPageList(params); }, handleSetFailure(index, row) { - this.$confirm(this.$t('orderAuthor.updatePrivilegeTip'), this.$t('tip.hint'), { + this.$confirm(this.$t('tip.updatePrivilegeTip'), this.$t('tip.hint'), { confirmButtonText: this.$t('tip.confirm'), cancelButtonText: this.$t('tip.cancel'), type: 'warning' diff --git a/src/views/orderauthor/commodity/draft.vue b/src/views/orderauthor/commodity/draft.vue index 41358264e..739a0209e 100644 --- a/src/views/orderauthor/commodity/draft.vue +++ b/src/views/orderauthor/commodity/draft.vue @@ -126,48 +126,48 @@ export default { rules() { const baseRules = { name: [ - { required: true, message: this.$t('orderAuthor.goodsNameInput'), trigger: 'blur' } + { required: true, message: this.$t('rules.goodsNameInput'), trigger: 'blur' } ], productType: [ - { required: true, message: this.$t('orderAuthor.productTypeInput'), trigger: 'change' } + { required: true, message: this.$t('rules.productTypeInput'), trigger: 'change' } ], mapId: [ - { required: true, message: this.$t('orderAuthor.mapInput'), trigger: 'change' } + { required: true, message: this.$t('rules.mapInput'), trigger: 'change' } ], mapProductCode: [ - { required: true, message: this.$t('orderAuthor.productInput'), trigger: 'change' } + { required: true, message: this.$t('rules.productInput'), trigger: 'change' } ], lessonId: [ - { required: true, message: this.$t('orderAuthor.lessonInput'), trigger: 'change' } + { required: true, message: this.$t('rules.lessonInput'), trigger: 'change' } ], forever: [ - { required: true, message: this.$t('orderAuthor.foreverRadio'), trigger: 'change' } + { required: true, message: this.$t('rules.pleaseSelect'), trigger: 'change' } ], tryUseTime: [ - { required: true, message: this.$t('orderAuthor.trialTimeInput'), trigger: 'change' } + { required: true, message: this.$t('rules.trialTimeInput'), trigger: 'change' } ], tryUseTimeUnit: [ - { required: true, message: this.$t('orderAuthor.unitOfTimeRadio'), trigger: 'change' } + { required: true, message: this.$t('rules.unitOfTimeRadio'), trigger: 'change' } ], price: [ - { required: true, message: this.$t('orderAuthor.totalPriceInput'), trigger: 'change' }, + { required: true, message: this.$t('rules.totalPriceInput'), trigger: 'change' }, { validator(rule, value, callback) { if (Number(value) >= 0) { if (String(value).split('.')[1] && String(value).split('.')[1].length > 2) { - callback(new Error(this.$t('orderAuthor.totalPriceInputError1'))); + callback(new Error(this.$t('rules.totalPriceInputError1'))); } else { callback(); } } else { - callback(new Error(this.$t('orderAuthor.totalPriceInputError2'))); + callback(new Error(this.$t('rules.totalPriceInputError2'))); } }, trigger: 'blur' } ], remarks: [ - { required: true, message: this.$t('orderAuthor.goodsDescribtionInput'), trigger: 'blur' } + { required: true, message: this.$t('rules.goodsDescribtionInput'), trigger: 'blur' } ] }; diff --git a/src/views/orderauthor/commodity/index.vue b/src/views/orderauthor/commodity/index.vue index a0a40d39a..d271e66e4 100644 --- a/src/views/orderauthor/commodity/index.vue +++ b/src/views/orderauthor/commodity/index.vue @@ -183,7 +183,7 @@ }, // 设置失效 handleEfficacy(index, row) { - this.$confirm(this.$t('orderAuthor.updateProductTip'), this.$t('tip.hint'), { + this.$confirm(this.$t('tip.updateProductTip'), this.$t('tip.hint'), { confirmButtonText: this.$t('tip.confirm'), cancelButtonText: this.$t('tip.cancel'), type: 'warning' @@ -198,7 +198,7 @@ }).catch(() => { }) }, handleDelete(index, row) { - this.$confirm(this.$t('orderAuthor.deleteProductTip'), this.$t('tip.hint'), { + this.$confirm(this.$t('tip.deleteProductTip'), this.$t('tip.hint'), { confirmButtonText: this.$t('tip.confirm'), cancelButtonText: this.$t('tip.cancel'), type: 'warning' diff --git a/src/views/orderauthor/order/draft.vue b/src/views/orderauthor/order/draft.vue index daef73392..d593daf3d 100644 --- a/src/views/orderauthor/order/draft.vue +++ b/src/views/orderauthor/order/draft.vue @@ -185,84 +185,84 @@ const _this = this; let baseRules = { organizationId: [ - { required: true, message: this.$t('orderAuthor.organizationInput'), trigger: 'blur' } + { required: true, message: this.$t('rules.organizationInput'), trigger: 'blur' } ], // goodsId: [ // { required: true, message: '请选择商品', trigger: 'change' } // ], goodsName: [ - { required: true, message: this.$t('orderAuthor.productSelect'), trigger: 'change' } + { required: true, message: this.$t('rules.productSelect'), trigger: 'change' } ], price: [ - { required: true, message: this.$t('orderAuthor.itemPricingInput'), trigger: 'blur' } + { required: true, message: this.$t('rules.itemPricingInput'), trigger: 'blur' } ], orderType: [ - { required: true, message: this.$t('orderAuthor.orderTypeSelect'), trigger: 'change' } + { required: true, message: this.$t('rules.orderTypeSelect'), trigger: 'change' } ], contractNo: [ - { required: true, message: this.$t('orderAuthor.contractNumberInput'), trigger: 'blur' }, - { min: 1, max: 25, message: this.$t('orderAuthor.contractNumberLimit'), trigger: 'blur' } + { required: true, message: this.$t('rules.contractNumberInput'), trigger: 'blur' }, + { min: 1, max: 25, message: this.$t('rules.strLength1To25'), trigger: 'blur' } ], sellerId: [ - { required: true, message: this.$t('orderAuthor.salesmanInput'), trigger: 'change' } + { required: true, message: this.$t('rules.salesmanInput'), trigger: 'change' } ], forever: [ - { required: true, message: this.$t('orderAuthor.foreverRadio'), trigger: 'change' } + { required: true, message: this.$t('rules.pleaseSelect'), trigger: 'change' } ], amount: [ - { required: true, message: this.$t('orderAuthor.amountInput'), trigger: 'change' }, + { required: true, message: this.$t('rules.authorAmountInput'), trigger: 'change' }, { validator(rule, value, callback) { if (Number.isInteger(Number(value)) && Number(value) > 0) { callback(); } else { - callback(new Error(_this.$t('orderAuthor.amountInputError'))); + callback(new Error(_this.$t('rules.authorAmountInputError'))); } }, trigger: 'blur', } ], totalPrice: [ - { required: true, message: this.$t('orderAuthor.totalPriceInput'), trigger: 'change' }, + { required: true, message: this.$t('rules.totalPriceInput'), trigger: 'change' }, { validator(rule, value, callback) { if (Number(value) >= 0) { if (String(value).split('.')[1] && String(value).split('.')[1].length > 2) { - callback(new Error(this.$t('orderAuthor.totalPriceInputError1'))); + callback(new Error(this.$t('rules.totalPriceInputError1'))); } else { callback(); } } else { - callback(new Error(_this.$t('orderAuthor.totalPriceInputError2'))); + callback(new Error(_this.$t('rules.totalPriceInputError2'))); } }, trigger: 'blur', } ], monthAmount: [ - { required: true, message: this.$t('orderAuthor.monthAmountInput'), trigger: 'change' }, + { required: true, message: this.$t('rules.monthAmountInput'), trigger: 'change' }, { validator(rule, value, callback) { if (Number.isInteger(Number(value)) && Number(value) > 0) { callback(); } else { - callback(new Error(_this.$t('orderAuthor.monthAmountInputError'))); + callback(new Error(_this.$t('rules.monthAmountInputError'))); } }, trigger: 'blur', } ], startTime: [ - { required: true, message: this.$t('orderAuthor.startTimePick'), trigger: 'change' } + { required: true, message: this.$t('rules.startTimePick'), trigger: 'change' } ], bizType: [ - { required: true, message: this.$t('orderAuthor.bizTypeSelect'), trigger: 'change' } + { required: true, message: this.$t('rules.bizTypeSelect'), trigger: 'change' } ], payWays: [ - { required: true && this.isShowPayType, message: this.$t('orderAuthor.payWaysSelect'), trigger: 'change' } + { required: true && this.isShowPayType, message: this.$t('rules.payWaysSelect'), trigger: 'change' } ], payStatus: [ - { required: true && this.isShowPayStatus, message: this.$t('orderAuthor.payStatusSelect'), trigger: 'change' } + { required: true && this.isShowPayStatus, message: this.$t('rules.payStatusSelect'), trigger: 'change' } ] } @@ -406,7 +406,7 @@ }; //如果需要添加的条目,不存在List当中,则需要提示是否添加条目,并且增加对应的处理 - this.$confirm(this.$t('orderAuthor.addOrganizationPrefix') + input + this.$t('orderAuthor.addOrganizationSuffix'), this.$t('tip.hint'), { + this.$confirm(this.$t('tip.addOrganizationPrefix') + input + this.$t('tip.addOrganizationSuffix'), this.$t('tip.hint'), { confirmButtonText: this.$t('tip.confirm'), cancelButtonText: this.$t('tip.cancel'), type: 'warning' diff --git a/src/views/orderauthor/permission/draft/ruleForm.vue b/src/views/orderauthor/permission/draft/ruleForm.vue index 59e9a9864..fa7ec9450 100644 --- a/src/views/orderauthor/permission/draft/ruleForm.vue +++ b/src/views/orderauthor/permission/draft/ruleForm.vue @@ -168,7 +168,7 @@ export default { }; this.qrCodeShow(); }).catch(() => { - this.$messageBox(this.$t('orderAuthor.packagingFailed')); + this.$messageBox(this.$t('tip.packagingFailed')); }); } else { this.$messageBox(this.$t('orderAuthor.selectPackagingRecord')); diff --git a/src/views/orderauthor/permission/index.vue b/src/views/orderauthor/permission/index.vue index 2c7c9bb17..5abbadc96 100644 --- a/src/views/orderauthor/permission/index.vue +++ b/src/views/orderauthor/permission/index.vue @@ -225,11 +225,11 @@ title: this.$t('orderAuthor.privilegeTransferQRCode') }); }).catch(error => { - this.$messageBox(this.$t('orderAuthor.getQRCodeFailure')); + this.$messageBox(this.$t('tip.getQRCodeFailure')); }) }, handleRestore(index, row) { - this.$confirm(this.$t('orderAuthor.recoveryPrivilegeTip'), this.$t('tip.hint'), { + this.$confirm(this.$t('tip.recoveryPrivilegeTip'), this.$t('tip.hint'), { confirmButtonText: this.$t('tip.confirm'), cancelButtonText: this.$t('tip.cancel'), type: 'warning' @@ -243,7 +243,7 @@ }).catch(() => { }); }, handleUnPackage(index, row) { - this.$confirm(this.$t('orderAuthor.unpackingTip'), this.$t('tip.hint'), { + this.$confirm(this.$t('tip.unpackingTip'), this.$t('tip.hint'), { confirmButtonText: this.$t('tip.confirm'), cancelButtonText: this.$t('tip.cancel'), type: 'warning'