This commit is contained in:
BianLzhaoMin 2025-11-18 13:54:07 +08:00
parent e6cda55f1f
commit 1898d1b730
2 changed files with 48 additions and 5 deletions

View File

@ -70,8 +70,27 @@
<i
:class="getFileIcon(scope.row.fileType)"
class="file-icon"
></i>
/>
<span class="file-name">{{ scope.row.name }}</span>
<el-dropdown trigger="click">
<span class="el-dropdown-link">
<i
class="el-icon-setting el-icon--right"
style="font-size: 18px"
>
</i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item
:key="item.label"
@click="item.click"
v-for="item in dropdownList"
>
{{ item.label }}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
</template>
</el-table-column>
@ -314,6 +333,30 @@ export default {
},
],
dropdownList: [
{
label: '下载',
},
{
label: '移动',
click: this.handleMove,
},
{
label: '删除',
},
{
label: '共享',
click: this.handleShare,
},
{
label: '重命名',
},
{
label: '添加副本',
click: this.handleAddCopy,
},
],
dialogConfig: {
outerTitle: '批量下载',
outerVisible: false,

View File

@ -46,7 +46,7 @@
closable
@close="removeSelectedUser(user.userId)"
>
{{ user.nickName }}
{{ user.userName }}
</el-tag>
</div>
</el-form-item>
@ -169,7 +169,7 @@
<el-table-column type="selection" width="60" />
<el-table-column type="index" label="序号" width="80" />
<el-table-column
prop="nickName"
prop="userName"
label="姓名"
min-width="200"
show-overflow-tooltip
@ -188,7 +188,7 @@
closable
@close="removeTempSelected(user.userId)"
>
{{ user.nickName }}
{{ user.userName }}
</el-tag>
</div>
<el-empty v-else description="暂未选择人员" :image-size="60" />
@ -270,7 +270,7 @@ export default {
shareTargetNames() {
if (!this.form.shareTargets.length) return ''
return this.form.shareTargets
.map((item) => item.nickName)
.map((item) => item.userName)
.join('')
},
filteredRoleList() {