Browse Source

Merge remote-tracking branch 'origin/master'

master
God 2 years ago
parent
commit
eb92065da8
  1. 14
      anrui-riskcenter-ui/src/views/managementcreditaudit/managementcreditauditfeedback.vue
  2. 14
      anrui-riskcenter-ui/src/views/unsecuredbusiness/unsecuredbusiness.vue

14
anrui-riskcenter-ui/src/views/managementcreditaudit/managementcreditauditfeedback.vue

@ -149,6 +149,7 @@ import req from '@/api/managementcreditaudit/managementcreditaudit'
import Pagination from '@/components/pagination' import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye' import pageye from '@/components/pagination/pageye'
import ButtonBar from '@/components/ButtonBar' import ButtonBar from '@/components/ButtonBar'
import { getButtonPermissions } from '@/api/Common/dictcommons'
export default { export default {
name: 'ManagementCreditAuditFeedBack', name: 'ManagementCreditAuditFeedBack',
@ -210,7 +211,18 @@ export default {
} }
}, },
mounted() { mounted() {
this.$refs['btnbar'].setButtonList(this.btnList) getButtonPermissions({ userSid: window.sessionStorage.getItem('userSid'), url: this.$route.path, type: 0 }).then((res) => {
if (res.success) {
for (var i = 0; i < res.data.length; i++) {
for (var k = 0; k < this.btnList.length; k++) {
if (res.data[i].buttonId === this.btnList[k].btnKey) {
this.btnList.splice(k, 1)
}
}
}
this.$refs['btnbar'].setButtonList(this.btnList)
}
})
}, },
methods: { methods: {
// //

14
anrui-riskcenter-ui/src/views/unsecuredbusiness/unsecuredbusiness.vue

@ -107,6 +107,7 @@ import ButtonBar from '@/components/ButtonBar'
import req from '@/api/unsecuredbusiness/unsecuredbusiness' import req from '@/api/unsecuredbusiness/unsecuredbusiness'
import unsecuredbusinessAdd from './unsecuredbusinessAdd' import unsecuredbusinessAdd from './unsecuredbusinessAdd'
import unsecuredbusinessInfo from './unsecuredbusinessInfo' import unsecuredbusinessInfo from './unsecuredbusinessInfo'
import { getButtonPermissions } from '@/api/Common/dictcommons'
export default { export default {
name: 'UnsecuredBusiness', name: 'UnsecuredBusiness',
@ -181,7 +182,18 @@ export default {
this.getList() this.getList()
}, },
mounted() { mounted() {
this.$refs['btnbar'].setButtonList(this.btnList) getButtonPermissions({ userSid: window.sessionStorage.getItem('userSid'), url: this.$route.path, type: 0 }).then((res) => {
if (res.success) {
for (var i = 0; i < res.data.length; i++) {
for (var k = 0; k < this.btnList.length; k++) {
if (res.data[i].buttonId === this.btnList[k].btnKey) {
this.btnList.splice(k, 1)
}
}
}
this.$refs['btnbar'].setButtonList(this.btnList)
}
})
}, },
methods: { methods: {
// //

Loading…
Cancel
Save