流程页面基本完成

This commit is contained in:
zhoulingpo
2023-04-17 17:03:58 +08:00
parent c8db1229dc
commit f87f00b2e7
10 changed files with 270 additions and 368 deletions
+4 -38
View File
@@ -105,6 +105,7 @@
</template>
<script>
export default {
name: 'approvalHistory',
props: ['query'],
@@ -144,49 +145,14 @@ export default {
}
},
getListByInstance (form) {
this.$http.get('lawss/activiti/get_list_by_instance', {
this.$api.process.getHistory({
prcNum: this.query.prcNum,
...form
}, {
_this: this,
loading: 'loading'
}, res => {
}).then(res => {
this.standTableList = res
}, e => {
})
},
lookFile (approvalFile) {
this.importModalshowflagtemp = true
this.clickButtonToUpload(approvalFile)
},
fileDown (id) {
window.location.href = '/api/att/attFile/downloadFile?fileId=' + id
// this.$http.get('att/attFile/downloadFile', {
// fileId: id
// }, {
// _this: this
// }, res => {
//
// }, e => {
// })
},
clickButtonToUpload (current) {
if (current) {
this.$http.get('att/attFile/getMultiFileInfos', {
fileIds: current
}, {
_this: this
}, res => {
res.data.map(item => {
item.name = item.oldFileName
})
this.defaultFileList = res.data || []
}, e => {
})
} else {
this.defaultFileList = []
}
}
}
}
</script>