|
|
|
@ -136,6 +136,7 @@ export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
appTitle: process.env.VUE_APP_TITLE, |
|
|
|
appTitleEn: process.env.VUE_APP_TITLE_EN, |
|
|
|
form: {}, |
|
|
|
tzList: [], |
|
|
|
totalTz: 0, |
|
|
|
@ -160,7 +161,7 @@ export default { |
|
|
|
methods: { |
|
|
|
exportPDF() { |
|
|
|
this.$modal.loading() |
|
|
|
exportDetail({ id: this.form.id,lang:this.$store.getters.language.split("_")[0],version:this.appTitle }).then(response => { |
|
|
|
exportDetail({ id: this.form.id,lang:this.$store.getters.language.split("_")[0],version:this.$store.getters.language.split("_")[0]=='zh'?this.appTitle:this.appTitleEn }).then(response => { |
|
|
|
window.open(process.env.VUE_APP_FILE_DOMAIN +response.msg) |
|
|
|
this.saveSimpleLog({name:this.form.bh,nameEn:this.form.bh,jcmc:'供试品导出',jcmcEn:'Test Item Export'}) |
|
|
|
this.$modal.closeLoading() |
|
|
|
|