Browse Source

完善优惠包交接--数据权限(orgPath、menuUrl参数)

zhanglei
yunuo970428 2 years ago
parent
commit
2ae8821086
  1. 10
      anrui-buscenter/anrui-buscenter-ui/src/views/discountpackagehandover/discountpackagehandover.vue
  2. 10
      anrui-buscenter/anrui-buscenter-ui/src/views/discountpackagehandover/discountpackagetobehandover.vue

10
anrui-buscenter/anrui-buscenter-ui/src/views/discountpackagehandover/discountpackagehandover.vue

@ -170,7 +170,9 @@ export default {
contractNo: '',
customerName: '',
recName: '',
transferName: ''
transferName: '',
orgPath: '',
menuUrl: ''
},
current: 1,
size: 10,
@ -231,6 +233,8 @@ export default {
getList() {
this.listLoading = true
this.listQuery.params.userSid = window.sessionStorage.getItem('userSid')
this.listQuery.params.orgPath = window.sessionStorage.getItem('defaultOrgPath')
this.listQuery.params.menuUrl = this.$route.path
listPage(this.listQuery).then((response) => {
console.log('列表查询结果:', response)
this.listLoading = false
@ -262,7 +266,9 @@ export default {
contractNo: '',
customerName: '',
recName: '',
transferName: ''
transferName: '',
orgPath: '',
menuUrl: ''
},
current: 1,
size: 10,

10
anrui-buscenter/anrui-buscenter-ui/src/views/discountpackagehandover/discountpackagetobehandover.vue

@ -165,7 +165,9 @@ export default {
contractNo: '',
customerName: '',
recName: '',
transferName: ''
transferName: '',
orgPath: '',
menuUrl: ''
},
current: 1,
size: 10,
@ -219,6 +221,8 @@ export default {
getList() {
this.listLoading = true
this.listQuery.params.userSid = window.sessionStorage.getItem('userSid')
this.listQuery.params.orgPath = window.sessionStorage.getItem('defaultOrgPath')
this.listQuery.params.menuUrl = this.$route.path
listPage(this.listQuery).then((response) => {
this.listLoading = false
if (response.success) {
@ -250,7 +254,9 @@ export default {
contractNo: '',
customerName: '',
recName: '',
transferName: ''
transferName: '',
orgPath: '',
menuUrl: ''
},
current: 1,
size: 10,

Loading…
Cancel
Save