| | |
| | | const result = this.$route.query.id.substring(0, index); |
| | | this.idData = result; |
| | | this.removeList(); |
| | | getTreeList({'conditionMap[id]': this.idData}).then(res => { |
| | | let conditionMaps = {}; |
| | | conditionMaps["conditionMap[id]"] = this.idData; |
| | | conditionMaps["conditionMap[authType]"] = "data_auth"; |
| | | // 数据授权中是否具备查看权限 |
| | | conditionMaps["conditionMap[menuCode]"] = "data_view"; |
| | | getTreeList(conditionMaps).then(res => { |
| | | if (res) { |
| | | if (res.data.length === 0) { |
| | | this.$message.error("主数据分类查询为空!"); |
| | |
| | | <style lang="scss" scoped> |
| | | .app { |
| | | overflow: auto; |
| | | height: calc(100vh - 150px); |
| | | height: calc(100vh - 145px); |
| | | } |
| | | |
| | | .app::-webkit-scrollbar { |