diff --git a/src/lang/en/business/resource/yq.js b/src/lang/en/business/resource/yq.js index f8a502c..3515c24 100644 --- a/src/lang/en/business/resource/yq.js +++ b/src/lang/en/business/resource/yq.js @@ -7,5 +7,7 @@ export default { ssbm: 'Department', yqxh: 'Type', yqly: 'Source', - wc: 'Compartment' + wc: 'Compartment', + xzyq: 'Add Instrument', + bjyq: 'Edit Instrument Information' } diff --git a/src/lang/zh/business/resource/yq.js b/src/lang/zh/business/resource/yq.js index 2d27736..a5ebc04 100644 --- a/src/lang/zh/business/resource/yq.js +++ b/src/lang/zh/business/resource/yq.js @@ -8,5 +8,7 @@ export default { yqxh: '仪器型号', yqly: '仪器来源', wc: '温层', - xgnr: '修改内容' + xgnr: '修改内容', + xzyq: '新增仪器', + bjyq: '编辑仪器', } \ No newline at end of file diff --git a/src/views/business/resource/yq/list.vue b/src/views/business/resource/yq/list.vue index b545201..dc5e949 100644 --- a/src/views/business/resource/yq/list.vue +++ b/src/views/business/resource/yq/list.vue @@ -263,7 +263,7 @@ export default { jzrq: null, bmId: null, wc: null, - qmyy: '新增仪器' + qmyy: this.$t('page.business.resource.yq.xzyq'), } this.resetForm('form') }, @@ -290,7 +290,7 @@ export default { const id = row.id || this.ids yq_info({ id: id }).then((response) => { this.form = response.data - this.form.qmyy = this.$t('page.form.edit') + this.form.qmyy = this.$t('page.business.resource.yq.bjyq') this.open = true this.title = this.$t('form.edit') })