修改已知问题

This commit is contained in:
qq787203167
2022-05-25 16:35:16 +08:00
parent 6ac094c4e9
commit 56eb985472
4 changed files with 36 additions and 68 deletions
@@ -163,7 +163,7 @@
this.textLoading = this.$t('Returning')
this.loading = true
this.$refs.examineInformationRef.submitNoRule((res) => {
this.completeTask({ ...res,flag: 1 }, handlingTime,)
this.completeTask({ ...res, flag: 1 }, handlingTime)
})
},
queryTaskDetailByTask(callback) {
@@ -203,14 +203,16 @@
}
if (!this.queryProject.verifyDeliverableType && !this.queryProject.prehomoDeliverableType &&
!this.queryProject.designDeliverableType) {
this.$router.push({
path: '/ProcessCenter'
})
window.close()
// this.$router.push({
// path: '/ProcessCenter'
// })
}
} else {
this.$router.push({
path: '/ProcessCenter'
})
window.close()
// this.$router.push({
// path: '/ProcessCenter'
// })
}
} else {
this.$router.push({
@@ -226,6 +228,7 @@
startProcessDesign(value, num) {
let query = {
type: num,
projectLawsInventoryId: value.id,
msg: JSON.stringify(value).replace(/\"/g, '\'')
}
postAction('/workFlow/startProcess', query).then((res) => {
@@ -247,10 +250,12 @@
postAction('/workFlow/completeTask', query).then((res) => {
if (res.success) {
this.visible = false
// this.$message.success(this.$t('OperationSuccessful'))
this.$router.push({
path: '/ProcessCenter'
})
setTimeout(() => {
window.close()
}, 2000)
// this.$router.push({
// path: '/ProcessCenter'
// })
} else {
this.$message.warning(this.$t('operationFailed'))
}