Browse Source

fix:[资源库管理]导出

lkf
15881625488@163.com 3 months ago
parent
commit
14449080c8
4 changed files with 4 additions and 5 deletions
  1. +1
    -1
      .env.development
  2. +1
    -1
      src/views/business/resource/gyzj/comps/gyzj/Xq.vue
  3. +1
    -2
      src/views/business/resource/mjy/comps/mjy/Xq.vue
  4. +1
    -1
      src/views/business/study/comp/tbbd/Xq.vue

+ 1
- 1
.env.development View File

@ -7,7 +7,7 @@ ENV = 'development'
# 华西海圻管理系统/开发环境 # 华西海圻管理系统/开发环境
VUE_APP_BASE_API = '/dev-api' VUE_APP_BASE_API = '/dev-api'
VUE_APP_FILE_DOMAIN = 'http://127.0.0.1:9300'
VUE_APP_FILE_DOMAIN = 'http://39.99.251.173:9300'
# 路由懒加载 # 路由懒加载

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

@ -200,7 +200,7 @@ export default {
exportExcel() { exportExcel() {
this.$modal.loading() 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] }).then(response => {
window.open(this.baseUrl +response.msg)
window.open(process.env.VUE_APP_FILE_DOMAIN +response.msg)
this.$modal.closeLoading() this.$modal.closeLoading()
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()

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

@ -173,7 +173,6 @@ export default {
components: { JcgjList }, components: { JcgjList },
data() { data() {
return { return {
baseUrl:process.env.VUE_APP_FILE_DOMAIN,
form: {}, form: {},
tzList: [], tzList: [],
totalTz: 0, totalTz: 0,
@ -199,7 +198,7 @@ export default {
exportExcel() { exportExcel() {
this.$modal.loading() 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] }).then(response => {
window.open(this.baseUrl +response.msg)
window.open(process.env.VUE_APP_FILE_DOMAIN +response.msg)
this.$modal.closeLoading() this.$modal.closeLoading()
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()

+ 1
- 1
src/views/business/study/comp/tbbd/Xq.vue View File

@ -195,7 +195,7 @@ export default {
exportExcel(jcgjlx) { exportExcel(jcgjlx) {
this.$modal.loading() this.$modal.loading()
studyFormFill_exportDetail(_.merge({}, this.queryParamsJcgj, { jcgjlx: jcgjlx ,lang: this.$store.getters.language.split("_")[0]})).then(response => { studyFormFill_exportDetail(_.merge({}, this.queryParamsJcgj, { jcgjlx: jcgjlx ,lang: this.$store.getters.language.split("_")[0]})).then(response => {
window.open(this.baseUrl + response.msg)
window.open(process.env.VUE_APP_FILE_DOMAIN + response.msg)
this.$modal.closeLoading() this.$modal.closeLoading()
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()

Loading…
Cancel
Save