This commit is contained in:
zhutianqi
2021-12-27 20:43:46 +08:00
parent cd450ce285
commit 3d24519c51
2 changed files with 6 additions and 4 deletions
@@ -47,7 +47,7 @@
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
<el-button
size="small"
@click="updateFile(item)"
@click="updateFile2(item)"
icon="el-icon-download"
style="height: 32px; margin-left: 5px;"
></el-button>
@@ -63,7 +63,7 @@
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
<el-button
size="small"
@click="updateFile(item)"
@click="updateFile2(item)"
icon="el-icon-download"
style="height: 32px; margin-left: 5px;"
></el-button>
@@ -346,6 +346,9 @@
updateFile (item) {
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.fileId
},
updateFile2 (item) {
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
},
// 导入按钮 上传之前的钩子
beginImportFile (file) {
var filename = file.name
@@ -385,7 +388,6 @@
}
},
fileUpload () {
this.fileMadel = true
},
handleTabs(name) {
@@ -464,7 +464,7 @@ export default {
if (this.commentText) {
this.isSubmit = true
var json = this.json
json.directorFlag = '0'
json.directorFlag = '1'
json.commentText = this.commentText
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),