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