Browse Source

fix:[资源库管理][仪器管理]中英

lkf
HanLong 3 months ago
parent
commit
02d3ea45de
3 changed files with 8 additions and 4 deletions
  1. +3
    -1
      src/lang/en/business/resource/yq.js
  2. +3
    -1
      src/lang/zh/business/resource/yq.js
  3. +2
    -2
      src/views/business/resource/yq/list.vue

+ 3
- 1
src/lang/en/business/resource/yq.js View File

@ -7,5 +7,7 @@ export default {
ssbm: 'Department', ssbm: 'Department',
yqxh: 'Type', yqxh: 'Type',
yqly: 'Source', yqly: 'Source',
wc: 'Compartment'
wc: 'Compartment',
xzyq: 'Add Instrument',
bjyq: 'Edit Instrument Information'
} }

+ 3
- 1
src/lang/zh/business/resource/yq.js View File

@ -8,5 +8,7 @@ export default {
yqxh: '仪器型号', yqxh: '仪器型号',
yqly: '仪器来源', yqly: '仪器来源',
wc: '温层', wc: '温层',
xgnr: '修改内容'
xgnr: '修改内容',
xzyq: '新增仪器',
bjyq: '编辑仪器',
} }

+ 2
- 2
src/views/business/resource/yq/list.vue View File

@ -263,7 +263,7 @@ export default {
jzrq: null, jzrq: null,
bmId: null, bmId: null,
wc: null, wc: null,
qmyy: '新增仪器'
qmyy: this.$t('page.business.resource.yq.xzyq'),
} }
this.resetForm('form') this.resetForm('form')
}, },
@ -290,7 +290,7 @@ export default {
const id = row.id || this.ids const id = row.id || this.ids
yq_info({ id: id }).then((response) => { yq_info({ id: id }).then((response) => {
this.form = response.data 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.open = true
this.title = this.$t('form.edit') this.title = this.$t('form.edit')
}) })

Loading…
Cancel
Save