对接设计符合性确认

This commit is contained in:
qq787203167
2022-05-10 09:58:13 +08:00
parent 1add665a46
commit b6313d30fc
2 changed files with 27 additions and 11 deletions
@@ -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) => {