This commit is contained in:
parent
e6cda55f1f
commit
1898d1b730
|
|
@ -70,8 +70,27 @@
|
||||||
<i
|
<i
|
||||||
:class="getFileIcon(scope.row.fileType)"
|
:class="getFileIcon(scope.row.fileType)"
|
||||||
class="file-icon"
|
class="file-icon"
|
||||||
></i>
|
/>
|
||||||
<span class="file-name">{{ scope.row.name }}</span>
|
<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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</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: {
|
dialogConfig: {
|
||||||
outerTitle: '批量下载',
|
outerTitle: '批量下载',
|
||||||
outerVisible: false,
|
outerVisible: false,
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
closable
|
closable
|
||||||
@close="removeSelectedUser(user.userId)"
|
@close="removeSelectedUser(user.userId)"
|
||||||
>
|
>
|
||||||
{{ user.nickName }}
|
{{ user.userName }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
@ -169,7 +169,7 @@
|
||||||
<el-table-column type="selection" width="60" />
|
<el-table-column type="selection" width="60" />
|
||||||
<el-table-column type="index" label="序号" width="80" />
|
<el-table-column type="index" label="序号" width="80" />
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="nickName"
|
prop="userName"
|
||||||
label="姓名"
|
label="姓名"
|
||||||
min-width="200"
|
min-width="200"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
|
|
@ -188,7 +188,7 @@
|
||||||
closable
|
closable
|
||||||
@close="removeTempSelected(user.userId)"
|
@close="removeTempSelected(user.userId)"
|
||||||
>
|
>
|
||||||
{{ user.nickName }}
|
{{ user.userName }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</div>
|
</div>
|
||||||
<el-empty v-else description="暂未选择人员" :image-size="60" />
|
<el-empty v-else description="暂未选择人员" :image-size="60" />
|
||||||
|
|
@ -270,7 +270,7 @@ export default {
|
||||||
shareTargetNames() {
|
shareTargetNames() {
|
||||||
if (!this.form.shareTargets.length) return ''
|
if (!this.form.shareTargets.length) return ''
|
||||||
return this.form.shareTargets
|
return this.form.shareTargets
|
||||||
.map((item) => item.nickName)
|
.map((item) => item.userName)
|
||||||
.join(',')
|
.join(',')
|
||||||
},
|
},
|
||||||
filteredRoleList() {
|
filteredRoleList() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue