|
@@ -33,7 +33,7 @@
|
|
|
title="上传文件" width="85" @click="uploadFiles(item)"/>
|
|
title="上传文件" width="85" @click="uploadFiles(item)"/>
|
|
|
<main-button v-if="permissions.permissions.home_folder_authorize" icon="Pointer" title="授权操作" width="85"
|
|
<main-button v-if="permissions.permissions.home_folder_authorize" icon="Pointer" title="授权操作" width="85"
|
|
|
@click='getFileList(item)'/>
|
|
@click='getFileList(item)'/>
|
|
|
- <main-button v-if="permissions.permissions.home_folder_apply && item.isAccess === 3" icon="Position"
|
|
|
|
|
|
|
+ <main-button v-if="permissions.permissions.home_folder_apply && [1,3].includes(item.isAccess)" icon="Position"
|
|
|
title="授权申请" width="85" @click="folderApply(item)"/>
|
|
title="授权申请" width="85" @click="folderApply(item)"/>
|
|
|
<main-button v-if="permissions.permissions.home_folder_del" icon="Delete" title="删除" width="85"
|
|
<main-button v-if="permissions.permissions.home_folder_del" icon="Delete" title="删除" width="85"
|
|
|
@click="folderRemove(item)"/>
|
|
@click="folderRemove(item)"/>
|
|
@@ -240,7 +240,7 @@ export default {
|
|
|
item.volume = res.response.data.volume
|
|
item.volume = res.response.data.volume
|
|
|
item.fileId = res.response.data.id
|
|
item.fileId = res.response.data.id
|
|
|
item.url = res.response.data.filePath
|
|
item.url = res.response.data.filePath
|
|
|
- item.projectId = this.$route.query.projectId
|
|
|
|
|
|
|
+ item.projectId = this.$route.query.id
|
|
|
if (this.type === 0) {
|
|
if (this.type === 0) {
|
|
|
item.fileFolderId = this.currentRow.fileFolderId
|
|
item.fileFolderId = this.currentRow.fileFolderId
|
|
|
} else {
|
|
} else {
|
|
@@ -293,7 +293,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
SendMsg () {
|
|
SendMsg () {
|
|
|
this.sendParams.ids = this.fileList.map(e => e.fileId).join(',')
|
|
this.sendParams.ids = this.fileList.map(e => e.fileId).join(',')
|
|
|
- this.sendParams.projectId = this.$route.query.projectId
|
|
|
|
|
|
|
+ this.sendParams.projectId = this.$route.query.id
|
|
|
this.sendParams.ownerId = this.$route.query.ownerId
|
|
this.sendParams.ownerId = this.$route.query.ownerId
|
|
|
this.$api.project.send(this.sendParams).then(res => {
|
|
this.$api.project.send(this.sendParams).then(res => {
|
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|