|
@@ -42,7 +42,7 @@ export default {
|
|
|
this.$message.error("下载失败");
|
|
|
});
|
|
|
},
|
|
|
- isRole: this.$checkBtnRole("import")
|
|
|
+ isRole: this.$checkBtnRole("import", this.$route.meta.roles)
|
|
|
}
|
|
|
]
|
|
|
],
|
|
@@ -51,7 +51,7 @@ export default {
|
|
|
{
|
|
|
name: '',
|
|
|
render:this.importButton(partsNewInImport),
|
|
|
- isRole: this.$checkBtnRole("import")
|
|
|
+ isRole: this.$checkBtnRole("import", this.$route.meta.roles)
|
|
|
}
|
|
|
]
|
|
|
]
|
|
@@ -69,6 +69,8 @@ export default {
|
|
|
recordSelected: []
|
|
|
}
|
|
|
},
|
|
|
+ created () {
|
|
|
+ },
|
|
|
methods: {
|
|
|
// 列表请求函数
|
|
|
getList(...p) {
|