对接法规技术评估
This commit is contained in:
+10
-3
@@ -418,7 +418,7 @@
|
||||
value.startTime = startTime
|
||||
value.flowStatus = 'Underway'
|
||||
value.taskAffirmDueDate = value.endTime
|
||||
value.id = this.getUUID()
|
||||
value.lawsTechnologyEvaluationId = this.getUUID()
|
||||
value.regulationOwnerId = this.userInfo().id
|
||||
Object.keys(value).forEach(res => {
|
||||
if (value[res] && value[res] instanceof Array) {
|
||||
@@ -437,13 +437,20 @@
|
||||
startProcess(value) {
|
||||
let query = {
|
||||
type: 6,
|
||||
msg: JSON.stringify(value).replace(/\"/g, '\'')
|
||||
...value,
|
||||
msg: JSON.stringify(value.evaluators).replace(/\"/g, '\'')
|
||||
}
|
||||
postAction('/workFlow/startProcess', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.completeTask(value, res.result)
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.JLoading = false
|
||||
this.$router.push({
|
||||
path: '/technologyAssessment'
|
||||
})
|
||||
// this.completeTask(value, res.result)
|
||||
} else {
|
||||
this.JLoading = false
|
||||
this.$message.warning(this.$t('operationFailed'))
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -160,7 +160,7 @@
|
||||
return {
|
||||
//url传参严格按照当前命名
|
||||
url: {
|
||||
list: '',
|
||||
list: '/lawsTechnologyEvaluation/lawsTechnologyEvaluationEO/page',
|
||||
getSysCategoryTree: '/sys/category/getSysCategoryTree'
|
||||
},
|
||||
visible: false,
|
||||
|
||||
Reference in New Issue
Block a user