|
|
@ -119,7 +119,7 @@ import Pagination from '@/components/pagination' |
|
|
|
import pageye from '@/components/pagination/pageye' |
|
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
|
import req from '@/api/otherfinancialpolicymanagement/otherfinancialpolicymanagement' |
|
|
|
import { typeValues } from '@/api/Common/dictcommons' |
|
|
|
import { typeValues, getButtonPermissions } from '@/api/Common/dictcommons' |
|
|
|
import otherfinancialpolicymanagementAdd from './otherfinancialpolicymanagementAdd' |
|
|
|
import otherfinancialpolicymanagementInfo from './otherfinancialpolicymanagementInfo' |
|
|
|
import otherfinancialproductsreportAdd from '../otherfinancialproductsreport/otherfinancialproductsreportAdd' |
|
|
@ -276,7 +276,18 @@ export default { |
|
|
|
this.init() |
|
|
|
}, |
|
|
|
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: { |
|
|
|
// 搜索条件效果 |
|
|
|