|
|
@ -32,6 +32,7 @@ |
|
|
<i class="iconfont icon-daochu" /> |
|
|
<i class="iconfont icon-daochu" /> |
|
|
导出 |
|
|
导出 |
|
|
</el-button> |
|
|
</el-button> |
|
|
|
|
|
<el-button size="mini" :disabled="crud.selections.length !== 1" @click="handleForm('copy')"><i class="iconfont icon-xinzeng" />追加复制</el-button> |
|
|
</template> |
|
|
</template> |
|
|
<template v-slot:rightButtonGroup> |
|
|
<template v-slot:rightButtonGroup> |
|
|
<div> |
|
|
<div> |
|
|
@ -359,6 +360,13 @@ export default { |
|
|
documentId: this.selectedDocument.id, |
|
|
documentId: this.selectedDocument.id, |
|
|
archivesId: this.crud.selections[0].id |
|
|
archivesId: this.crud.selections[0].id |
|
|
} |
|
|
} |
|
|
|
|
|
} else if (type === 'copy') { |
|
|
|
|
|
this.formTitle = '复制文件' |
|
|
|
|
|
this.arcId = this.crud.selections[0].id |
|
|
|
|
|
params = { |
|
|
|
|
|
documentId: this.selectedDocument.id, |
|
|
|
|
|
archivesId: this.crud.selections[0].id |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
this.getFormInfo(params, type) |
|
|
this.getFormInfo(params, type) |
|
|
}, |
|
|
}, |
|
|
@ -405,6 +413,11 @@ export default { |
|
|
this.$refs.previewForm.fileJsonString = fileJsonString |
|
|
this.$refs.previewForm.fileJsonString = fileJsonString |
|
|
console.log('fileJsonString', JSON.parse(fileJsonString)) |
|
|
console.log('fileJsonString', JSON.parse(fileJsonString)) |
|
|
console.log('fileJsonString', JSON.parse(fileJsonString).length) |
|
|
console.log('fileJsonString', JSON.parse(fileJsonString).length) |
|
|
|
|
|
} else if (type === 'copy') { |
|
|
|
|
|
this.$refs.previewForm.archivesType = 'add' |
|
|
|
|
|
this.$refs.previewForm.addOrUpdateForm = data.echo |
|
|
|
|
|
this.$refs.previewForm.fileOriginal = '' |
|
|
|
|
|
this.$refs.previewForm.fileJsonString = '' |
|
|
} else { |
|
|
} else { |
|
|
this.$refs.previewForm.archivesType = 'add' |
|
|
this.$refs.previewForm.archivesType = 'add' |
|
|
} |
|
|
} |
|
|
|