|
|
@@ -1,64 +1,61 @@
|
|
|
-export default {
|
|
|
+export default {
|
|
|
|
|
|
- // 编辑后的评价内容
|
|
|
- contractEvaluationTree(formData,myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/contract-evaluation/tree',
|
|
|
- method: 'post',
|
|
|
- data: formData
|
|
|
- });
|
|
|
- },
|
|
|
+ // 编辑后的评价内容
|
|
|
+ contractEvaluationTree (formData, myAxios) {
|
|
|
+ return myAxios({
|
|
|
+ url: '/contract-evaluation/tree',
|
|
|
+ method: 'post',
|
|
|
+ data: formData
|
|
|
+ })
|
|
|
+ },
|
|
|
|
|
|
- //评价新增
|
|
|
- addContractEvaluate(formData, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/contract-review/add',
|
|
|
- method: 'post',
|
|
|
- data: formData
|
|
|
- });
|
|
|
- },
|
|
|
- //评价编辑
|
|
|
- updateContractEvaluate(entityId,formData, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/contract-review/update/'+entityId,
|
|
|
- method: 'post',
|
|
|
- data: formData
|
|
|
- });
|
|
|
- },
|
|
|
+ // 评价新增
|
|
|
+ addContractEvaluate (formData, myAxios) {
|
|
|
+ return myAxios({
|
|
|
+ url: '/contract-review/add',
|
|
|
+ method: 'post',
|
|
|
+ data: formData
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 评价编辑
|
|
|
+ updateContractEvaluate (entityId, formData, myAxios) {
|
|
|
+ return myAxios({
|
|
|
+ url: '/contract-review/update/' + entityId,
|
|
|
+ method: 'post',
|
|
|
+ data: formData
|
|
|
+ })
|
|
|
+ },
|
|
|
|
|
|
- //评价查询审评流程参数
|
|
|
- getEntityAndCert(entityId, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/contract-review/get/'+entityId,
|
|
|
- method: 'GET',
|
|
|
- })
|
|
|
- },
|
|
|
+ // 评价查询审评流程参数
|
|
|
+ getEntityAndCert (entityId, myAxios) {
|
|
|
+ return myAxios({
|
|
|
+ url: '/contract-review/get/' + entityId,
|
|
|
+ method: 'GET'
|
|
|
+ })
|
|
|
+ },
|
|
|
|
|
|
+ // 审核确定
|
|
|
+ contractUnitAudit (entityId, params, myAxios) {
|
|
|
+ return myAxios({
|
|
|
+ url: '/contract-review/unit-audit/' + entityId,
|
|
|
+ method: 'post',
|
|
|
+ params: params
|
|
|
+ })
|
|
|
+ },
|
|
|
|
|
|
- //审核确定
|
|
|
- contractUnitAudit(entityId,params, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/contract-review/unit-audit/'+entityId,
|
|
|
- method: 'post',
|
|
|
- params: params
|
|
|
- });
|
|
|
- },
|
|
|
+ // 评价列表
|
|
|
+ getReviewList (CreateOn, params, myAxios) {
|
|
|
+ return myAxios({
|
|
|
+ url: '/contract-review/list?CreateOn=' + CreateOn,
|
|
|
+ method: 'GET',
|
|
|
+ params: params
|
|
|
+ })
|
|
|
+ },
|
|
|
+ deleteEntity (entityId, myAxios) {
|
|
|
+ return myAxios({
|
|
|
+ url: '/contract-review/delete/' + entityId,
|
|
|
+ method: 'delete'
|
|
|
+ })
|
|
|
+ }
|
|
|
|
|
|
-
|
|
|
- //评价列表
|
|
|
- getReviewList(CreateOn, params, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/contract-review/list?CreateOn='+ CreateOn,
|
|
|
- method: 'GET',
|
|
|
- params: params
|
|
|
- });
|
|
|
- },
|
|
|
- deleteEntity(entityId, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/contract-review/delete/'+entityId,
|
|
|
- method: 'delete'
|
|
|
- })
|
|
|
- },
|
|
|
-
|
|
|
-
|
|
|
-}
|
|
|
+}
|