|
|
@@ -1,6 +1,5 @@
|
|
|
<template>
|
|
|
<basic-container class='mt-10'>
|
|
|
- {{view}}
|
|
|
<div class='flex flex-align-start flex flex-col'>
|
|
|
<span class='bold'>任务基本信息:</span>
|
|
|
<el-divider/>
|
|
|
@@ -131,6 +130,10 @@ export default {
|
|
|
{
|
|
|
label: '更新时间',
|
|
|
prop: 'updateTime'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '创建人',
|
|
|
+ prop: 'createUserName'
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
@@ -261,6 +264,7 @@ export default {
|
|
|
this.$api.task.completeTask({ taskId: this.taskId }).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.$message.success(res.msg)
|
|
|
+ this.taskInfo.isCompleted = 1
|
|
|
} else {
|
|
|
this.$message.error(res.msg)
|
|
|
}
|
|
|
@@ -309,7 +313,7 @@ export default {
|
|
|
sub.url = sub.filePath
|
|
|
return sub
|
|
|
})
|
|
|
- const data = { dispatcherUser: this.currentFolder.dispatcherUser, folderId: this.currentFolder.folderId, files: this.fileList }
|
|
|
+ const data = { taskId: this.taskId, dispatcherUser: this.currentFolder.dispatcherUser, folderId: this.currentFolder.folderId, files: this.fileList }
|
|
|
this.$api.task.uploadFile(data).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.show = false
|
|
|
@@ -327,7 +331,7 @@ export default {
|
|
|
this.$api.task.taskConfirm({ taskId: this.taskId }).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.$message.success(res.msg)
|
|
|
- this.onLoad()
|
|
|
+ this.taskInfo.isConfirmed = 1
|
|
|
} else {
|
|
|
this.$message.error(res.msg)
|
|
|
}
|