From b7c86bc0e556bee5c155cdd73a9d02d05ec3d07b Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Tue, 9 Jul 2024 15:09:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=97=A5=E7=A8=8B?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8F=B0=E7=AB=99=E6=97=B6=EF=BC=8C=E6=9D=A5?= =?UTF-8?q?=E5=9B=9E=E5=88=86=E9=85=8D=E5=8F=B0=E7=AB=99=E6=97=B6=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=9B=E4=BF=AE=E6=94=B9=E4=BB=8EDB?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E8=B0=B1=E5=88=97=E8=A1=A8=E7=9A=84rowKey?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Modals/LoadFromDBModal.vue | 5 +- src/views/system/Scheduling.vue | 73 ++++++++++--------- 2 files changed, 43 insertions(+), 35 deletions(-) diff --git a/src/views/spectrumAnalysis/components/Modals/LoadFromDBModal.vue b/src/views/spectrumAnalysis/components/Modals/LoadFromDBModal.vue index 44b10d1..b3d6ee6 100644 --- a/src/views/spectrumAnalysis/components/Modals/LoadFromDBModal.vue +++ b/src/views/spectrumAnalysis/components/Modals/LoadFromDBModal.vue @@ -8,7 +8,7 @@ { if (res.success) { const result = res.result.records || res.result - result.forEach((item) => { + result.forEach((item, index) => { const fileName = item.inputFileName if (fileName) { const arr = fileName.split('/') item.inputFileName = arr[arr.length - 1] } + item._index = index }) this.dataSource = result diff --git a/src/views/system/Scheduling.vue b/src/views/system/Scheduling.vue index a8f84ed..f548e62 100644 --- a/src/views/system/Scheduling.vue +++ b/src/views/system/Scheduling.vue @@ -140,7 +140,7 @@ - - - - + + + + @@ -631,9 +631,7 @@ export default { // 穿梭框变化 onChange(targetKeys, direction, moveKeys) { - console.log(targetKeys, direction, moveKeys) - debugger - if (direction == 'left') { + if (direction == 'right') { if (!this.checkedAccount) { this.$message.warning('Please Select A Person To Assign') return @@ -959,6 +957,7 @@ export default { .ant-transfer { margin-top: 15px; margin-bottom: 10px; + flex-direction: row-reverse; ::v-deep { .ant-transfer-list { @@ -990,6 +989,10 @@ export default { width: 92px; height: 26px; padding: 0; + display: flex; + justify-content: center; + align-items: center; + .anticon { display: none; } @@ -998,25 +1001,29 @@ export default { } &:first-child { margin-bottom: 52px; - &::after { - display: inline-block; - margin-left: 13px; - content: ''; - width: 18px; - height: 10px; - background: url(~@/assets/images/system/transfer-right.png) no-repeat; - background-size: contain; - } - } - &:nth-child(2) { + gap: 13px; + &::before { - display: inline-block; - margin-right: 6px; + position: static; + display: block; content: ''; width: 18px; height: 10px; background: url(~@/assets/images/system/transfer-left.png) no-repeat; background-size: contain; + opacity: 1; + } + } + &:nth-child(2) { + gap: 6px; + + &::after { + display: inline-block; + content: ''; + width: 18px; + height: 10px; + background: url(~@/assets/images/system/transfer-right.png) no-repeat; + background-size: contain; position: static; opacity: initial; }