|
|
@@ -305,19 +305,23 @@ export default {
|
|
|
},
|
|
|
fileView(item) {
|
|
|
if (this.type === 0) {
|
|
|
- console.log(item)
|
|
|
+ const data = {
|
|
|
+ id: item.id,
|
|
|
+ projectId: item.projectId,
|
|
|
+ ownerId: this.ownerId,
|
|
|
+ dictKey: item.dictKey,
|
|
|
+ projectStageId: item.stageId,
|
|
|
+ isAccess: item.isAccess,
|
|
|
+ folderName: item.title,
|
|
|
+ folderNumber: item.fileAmount,
|
|
|
+ dispatchType: this.dispatchParams.dispatchType,
|
|
|
+ type: this.dispatchParams.type,
|
|
|
+ year: this.dispatchParams.year,
|
|
|
+ month: this.dispatchParams.month
|
|
|
+ }
|
|
|
this.$router.push({
|
|
|
path: '/home/files',
|
|
|
- query: {
|
|
|
- id: item.id,
|
|
|
- projectId: item.projectId,
|
|
|
- ownerId: this.ownerId,
|
|
|
- dictKey: item.dictKey,
|
|
|
- projectStageId: item.stageId,
|
|
|
- isAccess: item.isAccess,
|
|
|
- folderName: item.title,
|
|
|
- folderNumber: item.fileAmount
|
|
|
- }
|
|
|
+ query: data
|
|
|
})
|
|
|
} else {
|
|
|
this.$router.push({
|