|
|
@@ -1,148 +1,140 @@
|
|
|
export default {
|
|
|
|
|
|
- //评价新增(专业处室)
|
|
|
- saveSecEvaluation(entityId,formData, myAxios) {
|
|
|
+ // 评价新增(专业处室)
|
|
|
+ saveSecEvaluation (entityId, formData, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract-review/save-sec-evaluation/'+entityId,
|
|
|
+ url: '/contract-review/save-sec-evaluation/' + entityId,
|
|
|
method: 'post',
|
|
|
data: formData
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
// 最初始的上级节点
|
|
|
- evaluationItemsOnelist(params,entityId, myAxios) {
|
|
|
+ evaluationItemsOnelist (params, entityId, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/evaluation-items/onelist/'+entityId+'/'+params.Category,
|
|
|
- method: 'GET',
|
|
|
- });
|
|
|
+ url: '/evaluation-items/onelist/' + entityId + '/' + params.Category,
|
|
|
+ method: 'GET'
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
-
|
|
|
- //初审
|
|
|
- contractUnitAudit(entityId,params, myAxios) {
|
|
|
+ // 初审
|
|
|
+ contractUnitAudit (entityId, params, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract-review/unit-audit/'+entityId,
|
|
|
+ url: '/contract-review/unit-audit/' + entityId,
|
|
|
method: 'post',
|
|
|
params: params
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
- //初审(年审)
|
|
|
- contractUnitAuditYear(entityId,params, myAxios) {
|
|
|
+ // 初审(年审)
|
|
|
+ contractUnitAuditYear (entityId, params, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract-score/unit-audit/'+entityId,
|
|
|
+ url: '/contract-score/unit-audit/' + entityId,
|
|
|
method: 'post',
|
|
|
params: params
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
- //复审
|
|
|
- contractCommonAudit(entityId,params, myAxios) {
|
|
|
+ // 复审
|
|
|
+ contractCommonAudit (entityId, params, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract-review/common-audit/'+entityId,
|
|
|
+ url: '/contract-review/common-audit/' + entityId,
|
|
|
method: 'post',
|
|
|
params: params
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
- //复审(年审)
|
|
|
- contractCommonAuditYear(entityId,params, myAxios) {
|
|
|
+ // 复审(年审)
|
|
|
+ contractCommonAuditYear (entityId, params, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract-score/common-audit/'+entityId,
|
|
|
+ url: '/contract-score/common-audit/' + entityId,
|
|
|
method: 'post',
|
|
|
params: params
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
- //专业处室接收审批
|
|
|
- businessSeparateAudit(entityId,params, myAxios) {
|
|
|
+ // 专业处室接收审批
|
|
|
+ businessSeparateAudit (entityId, params, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract-review/business-separate-audit/'+entityId,
|
|
|
+ url: '/contract-review/business-separate-audit/' + entityId,
|
|
|
method: 'post',
|
|
|
params: params
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
- //专业处室接收审批(年审)
|
|
|
- businessSeparateAuditYear(entityId,params, myAxios) {
|
|
|
+ // 专业处室接收审批(年审)
|
|
|
+ businessSeparateAuditYear (entityId, params, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract-score/business-separate-audit/'+entityId,
|
|
|
+ url: '/contract-score/business-separate-audit/' + entityId,
|
|
|
method: 'post',
|
|
|
params: params
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- //合同下发
|
|
|
- contractOrderAdd(formData, myAxios) {
|
|
|
+ // 合同下发
|
|
|
+ contractOrderAdd (formData, myAxios) {
|
|
|
return myAxios({
|
|
|
url: '/contract-order/add',
|
|
|
method: 'post',
|
|
|
data: formData
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
- //合同完结
|
|
|
- contractOrderFinish(entityId, myAxios) {
|
|
|
+ // 合同完结
|
|
|
+ contractOrderFinish (entityId, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract/finish/'+entityId,
|
|
|
- method: 'GET',
|
|
|
- });
|
|
|
+ url: '/contract/finish/' + entityId,
|
|
|
+ method: 'GET'
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
- //工单确认
|
|
|
- contractOrderUpdate(formData,entityId, myAxios) {
|
|
|
+ // 工单确认
|
|
|
+ contractOrderUpdate (formData, entityId, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract-order/update/'+entityId,
|
|
|
+ url: '/contract-order/update/' + entityId,
|
|
|
method: 'post',
|
|
|
data: formData
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
// 编辑后的评价内容
|
|
|
- contractEvaluationTree(params, myAxios) {
|
|
|
+ contractEvaluationTree (params, myAxios) {
|
|
|
return myAxios({
|
|
|
url: '/contract-evaluation-items/tree/',
|
|
|
method: 'GET',
|
|
|
params: params
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
- //评价新增
|
|
|
- addContractEvaluate(formData, myAxios) {
|
|
|
+ // 评价新增
|
|
|
+ addContractEvaluate (formData, myAxios) {
|
|
|
return myAxios({
|
|
|
url: '/contract-review/add',
|
|
|
method: 'post',
|
|
|
data: formData
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
- //评价编辑
|
|
|
- updateContractEvaluate(entityId,formData, myAxios) {
|
|
|
+ // 评价编辑
|
|
|
+ updateContractEvaluate (entityId, formData, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract-review/update/'+entityId,
|
|
|
+ url: '/contract-review/update/' + entityId,
|
|
|
method: 'post',
|
|
|
data: formData
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
- //评价查询审评流程参数
|
|
|
- getEntityAndCert(entityId, myAxios) {
|
|
|
+ // 评价查询审评流程参数
|
|
|
+ getEntityAndCert (entityId, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract-review/get/'+entityId,
|
|
|
- method: 'GET',
|
|
|
+ url: '/contract-review/get/' + entityId,
|
|
|
+ method: 'GET'
|
|
|
})
|
|
|
},
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- //评价列表
|
|
|
- getReviewList(CreateOn, params, myAxios) {
|
|
|
+ // 评价列表
|
|
|
+ getReviewList (CreateOn, params, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract-review/list?CreateOn='+ CreateOn,
|
|
|
+ url: '/contract-review/list?CreateOn=' + CreateOn,
|
|
|
method: 'GET',
|
|
|
params: params
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
-
|
|
|
- addEntity(formData, myAxios) {
|
|
|
+ addEntity (formData, myAxios) {
|
|
|
return myAxios({
|
|
|
url: '/contract/add',
|
|
|
method: 'post',
|
|
|
@@ -150,36 +142,36 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
|
|
|
- getList(CreateOn, params, myAxios) {
|
|
|
+ getList (CreateOn, params, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract/list?CreateOn='+ CreateOn,
|
|
|
+ url: '/contract/list?CreateOn=' + CreateOn,
|
|
|
method: 'GET',
|
|
|
params: params
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
- getDictList(myAxios) {
|
|
|
+ getDictList (myAxios) {
|
|
|
return myAxios({
|
|
|
url: '/contract/dictlist/',
|
|
|
method: 'GET'
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
- getEntity(entityId, myAxios) {
|
|
|
+ getEntity (entityId, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract/get/'+entityId,
|
|
|
- method: 'GET',
|
|
|
+ url: '/contract/get/' + entityId,
|
|
|
+ method: 'GET'
|
|
|
})
|
|
|
},
|
|
|
|
|
|
- updateEntity(entityId, formData, myAxios) {
|
|
|
+ updateEntity (entityId, formData, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract/update/'+entityId,
|
|
|
+ url: '/contract/update/' + entityId,
|
|
|
method: 'post',
|
|
|
data: formData
|
|
|
})
|
|
|
},
|
|
|
- deleteEntity(entityId, myAxios) {
|
|
|
+ deleteEntity (entityId, myAxios) {
|
|
|
return myAxios({
|
|
|
- url: '/contract/delete/'+entityId,
|
|
|
+ url: '/contract/delete/' + entityId,
|
|
|
method: 'delete'
|
|
|
})
|
|
|
},
|
|
|
@@ -203,7 +195,7 @@ export default {
|
|
|
docexport (id, myAxios) {
|
|
|
return myAxios({
|
|
|
url: `/contract/exportword/${id}`,
|
|
|
- method: 'get',
|
|
|
+ method: 'get'
|
|
|
})
|
|
|
},
|
|
|
|
|
|
@@ -211,9 +203,8 @@ export default {
|
|
|
docexportEle (id, myAxios) {
|
|
|
return myAxios({
|
|
|
url: `/contract-review/exportword/${id}`,
|
|
|
- method: 'get',
|
|
|
+ method: 'get'
|
|
|
})
|
|
|
- },
|
|
|
-
|
|
|
+ }
|
|
|
|
|
|
}
|