对接设计符合性确认
This commit is contained in:
@@ -69,7 +69,8 @@
|
||||
url: {
|
||||
urlFrom: 'project/projectLibraryBase/queryById',
|
||||
queryProjectLawsInventoryInfoById: 'project/projectLawsInventoryEO/queryProjectLawsInventoryInfoById',
|
||||
queryTaskDetailByTaskIds: '/task/queryTaskDetailByTaskIds'
|
||||
queryTaskDetailByTaskIds: '/task/queryTaskDetailByTaskIds',
|
||||
edit: '/project/projectTaskInventoryDetailEO/edit'
|
||||
},
|
||||
queryBy: {},
|
||||
queryProject: {},
|
||||
@@ -256,9 +257,10 @@
|
||||
if (res.success) {
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.loading = false
|
||||
this.edit()
|
||||
this.$router.push({
|
||||
path: '/ProjectDetails',
|
||||
query: this.$route.query
|
||||
query: this.$route.query.primaryKeyId
|
||||
})
|
||||
} else {
|
||||
this.loading = false
|
||||
@@ -266,6 +268,17 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
edit() {
|
||||
let query = {
|
||||
id: this.$route.query.primaryKeyId,
|
||||
status: 'haveDone'
|
||||
}
|
||||
postAction(this.url.edit, query).then((res) => {
|
||||
if (res.success) {
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
queryTaskDetailByTask(callback) {
|
||||
this.loading = true
|
||||
getAction(this.url.queryTaskDetailByTaskIds, { taskIds: this.$route.query.taskIds }).then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user