Browse Source

导出功能默认userID

noToken
安虹睿 1 year ago
parent
commit
862ed86189
  1. 3
      PC/InterFace.Dash/src/mixins/TableHeaderMixins.js
  2. 3
      PC/UI.WinIn.FasterZ.Store/src/mixins/TableHeaderMixins.js

3
PC/InterFace.Dash/src/mixins/TableHeaderMixins.js

@ -38,10 +38,11 @@ export const TableHeaderMixins = {
// 导出功能
exportDropSubmit(type,form){
const name = this.$route.meta.title
let _userId = this.$store.getters.currentUserInfo && this.$store.getters.currentUserInfo.id ? this.$store.getters.currentUserInfo.id : '00000000-0000-0000-0000-000000000000'
let _params = {
isRedundance:Boolean(form.isRedundance),
isDetailExport:Boolean(form.isDetail),
userId:this.$store.getters.currentUserInfo.id
userId:_userId
}
let _exportUrl = this.URLOption_export ? this.URLOption_export : this.URLOption_base;
let _special = this.URLOption_export ? true : false

3
PC/UI.WinIn.FasterZ.Store/src/mixins/TableHeaderMixins.js

@ -38,10 +38,11 @@ export const TableHeaderMixins = {
// 导出功能
exportDropSubmit(type,form){
const name = this.$route.meta.title
let _userId = this.$store.getters.currentUserInfo && this.$store.getters.currentUserInfo.id ? this.$store.getters.currentUserInfo.id : '00000000-0000-0000-0000-000000000000'
let _params = {
isRedundance:Boolean(form.isRedundance),
isDetailExport:Boolean(form.isDetail),
userId:this.$store.getters.currentUserInfo.id
userId:_userId
}
let _exportUrl = this.URLOption_export ? this.URLOption_export : this.URLOption_base;
let _special = this.URLOption_export ? true : false

Loading…
Cancel
Save