From 2a70168080d4009b55f857abbd2118c1ad2e301d Mon Sep 17 00:00:00 2001 From: zhaomeijing Date: Sat, 11 Jun 2022 18:26:18 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E6=8C=89=E9=92=AE=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/tableCollection/index.vue | 9 --------- .../ParameterItemCollectionList.vue | 19 ++++++++----------- 2 files changed, 8 insertions(+), 20 deletions(-) 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;