vue2-client 1.8.21 → 1.8.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -108,6 +108,7 @@ import XImportExcel from '@vue2-client/base-client/components/common/XImportExce
|
|
|
108
108
|
import { Modal } from 'ant-design-vue'
|
|
109
109
|
import { post } from '@vue2-client/services/api'
|
|
110
110
|
import { CommonTempTable } from '@vue2-client/services/api/commonTempTable'
|
|
111
|
+
import { mapState } from 'vuex'
|
|
111
112
|
|
|
112
113
|
export default {
|
|
113
114
|
name: 'XTable',
|
|
@@ -213,7 +214,8 @@ export default {
|
|
|
213
214
|
selectedRowKeys: this.selectedRowKeys,
|
|
214
215
|
onChange: this.onSelectChange
|
|
215
216
|
}
|
|
216
|
-
}
|
|
217
|
+
},
|
|
218
|
+
...mapState('setting', ['compatible'])
|
|
217
219
|
},
|
|
218
220
|
mounted () {},
|
|
219
221
|
methods: {
|
|
@@ -369,7 +371,11 @@ export default {
|
|
|
369
371
|
queryParams: that.queryParams,
|
|
370
372
|
form: conditionParams
|
|
371
373
|
}, that.serviceName).then(res => {
|
|
372
|
-
|
|
374
|
+
let value = res
|
|
375
|
+
if (this.compatible === 'V4') {
|
|
376
|
+
value = res.value
|
|
377
|
+
}
|
|
378
|
+
window.open('/res/excel/export/' + value)
|
|
373
379
|
})
|
|
374
380
|
},
|
|
375
381
|
onCancel () {}
|