2
3
baichengfei 5 роки тому
батько
коміт
f9b1f5fbb0

+ 69 - 70
src/dashoo.cn/frontend_web/src/api/oilcontract/contractSumScore.js

@@ -1,77 +1,76 @@
 export default {
-    GetComputeList(CreateOn, params,myAxios){  //  计算列表
-        return myAxios({
-            url: '/contract-score/compute-list?CreateOn='+ CreateOn,
-            method: 'GET',
-            params: params
-          });
-    },
-    addEntity(formData, myAxios) {   // 新增年度审核
-        return myAxios({
-          url: '/contract-score/add',
-          method: 'post',
-          data: formData
-        })
-      },
-    updateEntity(entityId,formData, myAxios) {//编辑
-      return myAxios({
-        url: '/contract-score/update/'+entityId,
-        method: 'post',
-        data: formData
-      });
-    },
-    //评价新增(专业处室年度)
-    saveSecEvaluation(entityId,formData, myAxios) {
-      return myAxios({
-        url: '/contract-score/save-sec-score/'+entityId,
-        method: 'post',
-        data: formData
-      });
-    },
+  GetComputeList (CreateOn, params, myAxios) { //  计算列表
+    return myAxios({
+      url: '/contract-score/compute-list?CreateOn=' + CreateOn,
+      method: 'GET',
+      params: params
+    })
+  },
+  addEntity (formData, myAxios) { // 新增年度审核
+    return myAxios({
+      url: '/contract-score/add',
+      method: 'post',
+      data: formData
+    })
+  },
+  updateEntity (entityId, formData, myAxios) { // 编辑
+    return myAxios({
+      url: '/contract-score/update/' + entityId,
+      method: 'post',
+      data: formData
+    })
+  },
+  // 评价新增(专业处室年度)
+  saveSecEvaluation (entityId, formData, myAxios) {
+    return myAxios({
+      url: '/contract-score/save-sec-score/' + entityId,
+      method: 'post',
+      data: formData
+    })
+  },
 
-    getEntity(category,entityId, myAxios) {
-      return myAxios({
-        url: '/contract-score/get/'+entityId+'/'+category,
-        method: 'GET',
-      })
-    },
+  getEntity (category, entityId, myAxios) {
+    return myAxios({
+      url: '/contract-score/get/' + entityId + '/' + category,
+      method: 'GET'
+    })
+  },
 
-    GetResultEntity(entityId, myAxios) {
-      return myAxios({
-        url: '/contract-score/getresult/'+entityId,
-        method: 'GET',
-      })
-    },
+  GetResultEntity (entityId, myAxios) {
+    return myAxios({
+      url: '/contract-score/getresult/' + entityId,
+      method: 'GET'
+    })
+  },
 
-    getList(CreateOn, params, myAxios) {
-      return myAxios({
-        url: '/contract-score/list?CreateOn='+ CreateOn,
-        method: 'GET',
-        params: params
-      });
-    },
-    deleteEntity(entityId, myAxios) {
-      return myAxios({
-        url: '/contract-score/delete/'+entityId,
-        method: 'delete'
-      })
-    },
-
-    // 导出评论合同
-    docexportEle(id, myAxios) {
-      return myAxios({
-        url: `/contract-score/exportword/${id}`,
-        method: 'get',
-      })
-    },
-    // 导出评论excel
-    docexportExcel(CreateOn, params, myAxios) {
-      return myAxios({
-        url: '/contract-score/exportexcel?CreateOn='+ CreateOn,
-        method: 'GET',
-        params: params
-      })
-    },
+  getList (CreateOn, params, myAxios) {
+    return myAxios({
+      url: '/contract-score/list?CreateOn=' + CreateOn,
+      method: 'GET',
+      params: params
+    })
+  },
+  deleteEntity (entityId, myAxios) {
+    return myAxios({
+      url: '/contract-score/delete/' + entityId,
+      method: 'delete'
+    })
+  },
 
+  // 导出评论合同
+  docexportEle (id, myAxios) {
+    return myAxios({
+      url: `/contract-score/exportword/${id}`,
+      method: 'get'
+    })
+  },
+  // 导出评论excel
+  docexportExcel (CreateOn, params, myAxios) {
+    return myAxios({
+      url: '/contract-score/exportexcel?CreateOn=' + CreateOn,
+      method: 'GET',
+      params: params
+    })
+  }
 
 }