Browse Source

fix:[模板管理]导出

lkf
15881625488@163.com 1 month ago
parent
commit
77875ece30
3 changed files with 6 additions and 3 deletions
  1. +2
    -1
      src/views/business/resource/gsp/comps/gsp/Xq.vue
  2. +2
    -1
      src/views/business/resource/gyzj/comps/gyzj/Xq.vue
  3. +2
    -1
      src/views/business/resource/mjy/comps/mjy/Xq.vue

+ 2
- 1
src/views/business/resource/gsp/comps/gsp/Xq.vue View File

@ -135,6 +135,7 @@ export default {
components: { JcgjList, },
data() {
return {
appTitle: process.env.VUE_APP_TITLE,
form: {},
tzList: [],
totalTz: 0,
@ -159,7 +160,7 @@ export default {
methods: {
exportPDF() {
this.$modal.loading()
exportDetail({ id: this.form.id,lang:this.$store.getters.language.split("_")[0] }).then(response => {
exportDetail({ id: this.form.id,lang:this.$store.getters.language.split("_")[0],version:this.appTitle }).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()

+ 2
- 1
src/views/business/resource/gyzj/comps/gyzj/Xq.vue View File

@ -162,6 +162,7 @@ export default {
data() {
return {
form: {},
appTitle: process.env.VUE_APP_TITLE,
tzList: [],
totalTz: 0,
loadingTz: true,
@ -185,7 +186,7 @@ export default {
methods: {
exportExcel() {
this.$modal.loading()
exportDetail({ id: this.form.id,lang:this.$store.getters.language.split("_")[0] }).then(response => {
exportDetail({ id: this.form.id,lang:this.$store.getters.language.split("_")[0],version:this.appTitle }).then(response => {
window.open(process.env.VUE_APP_FILE_DOMAIN +response.msg)
this.$modal.closeLoading()
}).finally(() => {

+ 2
- 1
src/views/business/resource/mjy/comps/mjy/Xq.vue View File

@ -160,6 +160,7 @@ export default {
data() {
return {
form: {},
appTitle: process.env.VUE_APP_TITLE,
tzList: [],
totalTz: 0,
loadingTz: true,
@ -183,7 +184,7 @@ export default {
methods: {
exportExcel() {
this.$modal.loading()
exportDetail({ id: this.form.id,lang:this.$store.getters.language.split("_")[0] }).then(response => {
exportDetail({ id: this.form.id,lang:this.$store.getters.language.split("_")[0],version:this.appTitle }).then(response => {
window.open(process.env.VUE_APP_FILE_DOMAIN +response.msg)
this.$modal.closeLoading()
}).finally(() => {

Loading…
Cancel
Save