diff --git a/jero-web/src/components/tableCollection/index.vue b/jero-web/src/components/tableCollection/index.vue index 654667688..e4af7d15e 100644 --- a/jero-web/src/components/tableCollection/index.vue +++ b/jero-web/src/components/tableCollection/index.vue @@ -342,15 +342,6 @@ this.LoginUserType = res.result this.getTableList() this.$emit('LoginUserType', this.LoginUserType) - res.result.split(',').forEach((item, index) => { - if (item === 'homo') { - this.homo = 1 - } else if (item === 'sdt') { - this.sdt = 1 - } else if (item === 'dre') { - this.dre = 1 - } - }) } }) }, diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index dae7991f7..c12cc08a8 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -226,7 +226,7 @@ {{$t('roleSwitching')}} - @@ -407,7 +407,6 @@ export default { this.visibleRoleSwitching = true }, GetgetLoginUserType() { - console.log('ooo') this.$refs.CollectionTabel.getLoginUserType() }, GetgetTableList() { @@ -723,14 +722,12 @@ export default { return flag }, LoginUserType(val) { - val.split(',').forEach((item,index) => { - if(item === 'homo') { - this.homo = 1 - } else if(item === 'sdt') { - this.sdt = 1 - } else if(item === 'dre') { - this.dre = 1 - } + this.RoleType = val + val.forEach((item) => { + console.log(item,'pppp') + // if(item) { + // + // } }) }, // 表格所选中得行内容 @@ -1286,7 +1283,7 @@ export default { text-overflow: ellipsis; white-space: nowrap; height: 42px; - line-height: 48px; + line-height: 36px; } .box-input .ant-select-selection { height: 38px !important;