commit
This commit is contained in:
@@ -47,7 +47,7 @@
|
|||||||
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
|
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
|
||||||
<el-button
|
<el-button
|
||||||
size="small"
|
size="small"
|
||||||
@click="updateFile(item)"
|
@click="updateFile2(item)"
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
style="height: 32px; margin-left: 5px;"
|
style="height: 32px; margin-left: 5px;"
|
||||||
></el-button>
|
></el-button>
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
|
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
|
||||||
<el-button
|
<el-button
|
||||||
size="small"
|
size="small"
|
||||||
@click="updateFile(item)"
|
@click="updateFile2(item)"
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
style="height: 32px; margin-left: 5px;"
|
style="height: 32px; margin-left: 5px;"
|
||||||
></el-button>
|
></el-button>
|
||||||
@@ -346,6 +346,9 @@
|
|||||||
updateFile (item) {
|
updateFile (item) {
|
||||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.fileId
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.fileId
|
||||||
},
|
},
|
||||||
|
updateFile2 (item) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
||||||
|
},
|
||||||
// 导入按钮 上传之前的钩子
|
// 导入按钮 上传之前的钩子
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
var filename = file.name
|
var filename = file.name
|
||||||
@@ -385,7 +388,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
fileUpload () {
|
fileUpload () {
|
||||||
|
|
||||||
this.fileMadel = true
|
this.fileMadel = true
|
||||||
},
|
},
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
|
|||||||
@@ -464,7 +464,7 @@ export default {
|
|||||||
if (this.commentText) {
|
if (this.commentText) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
var json = this.json
|
var json = this.json
|
||||||
json.directorFlag = '0'
|
json.directorFlag = '1'
|
||||||
json.commentText = this.commentText
|
json.commentText = this.commentText
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
json: JSON.stringify(json),
|
json: JSON.stringify(json),
|
||||||
|
|||||||
Reference in New Issue
Block a user