|
|
@@ -1,17 +1,17 @@
|
|
|
-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
|
|
|
- })
|
|
|
+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({
|
|
|
@@ -35,13 +35,20 @@ export default {
|
|
|
method: 'GET',
|
|
|
})
|
|
|
},
|
|
|
-
|
|
|
- getList(CreateOn, params, myAxios) {
|
|
|
- return myAxios({
|
|
|
- url: '/contract-score/list?CreateOn='+ CreateOn,
|
|
|
- method: 'GET',
|
|
|
- params: params
|
|
|
- });
|
|
|
+
|
|
|
+ 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({
|
|
|
@@ -66,5 +73,5 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
|
|
|
-
|
|
|
+
|
|
|
}
|