|
|
@@ -313,15 +313,20 @@ export default {
|
|
|
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
|
|
|
+ folderNumber: item.fileAmount
|
|
|
+ }
|
|
|
+ let dispatchQuery = {}
|
|
|
+ if (this.dispatchParams) {
|
|
|
+ dispatchQuery = {
|
|
|
+ dispatchType: this.dispatchParams.dispatchType,
|
|
|
+ type: this.dispatchParams.type,
|
|
|
+ year: this.dispatchParams.year,
|
|
|
+ month: this.dispatchParams.month
|
|
|
+ }
|
|
|
}
|
|
|
this.$router.push({
|
|
|
path: '/home/files',
|
|
|
- query: data
|
|
|
+ query: Object.assign(data, dispatchQuery)
|
|
|
})
|
|
|
} else {
|
|
|
this.$router.push({
|