exam support valid multiple

This commit is contained in:
xiaomlove
2022-04-17 16:38:44 +08:00
parent bacfdd0df1
commit e0a515b66c
59 changed files with 950 additions and 79 deletions
+21
View File
@@ -172,6 +172,27 @@ const api = {
deleteTag: (id) => {
return axios.delete('tags/' + id);
},
listHr: (params = {}) => {
return axios.get('hr', {params: params});
},
listHrStatus: (params = {}) => {
return axios.get('hr-status');
},
storeHr: (params = {}) => {
return axios.post('hr', params);
},
updateHr: (id, params = {}) => {
return axios.put('hr/' + id, params);
},
getHr: (id) => {
return axios.get('hr/' + id);
},
deleteHr: (id) => {
return axios.delete('hr/' + id);
},
pardonHr: (id) => {
return axios.put('hr-pardon/' + id);
},
}
+3 -1
View File
@@ -52,5 +52,7 @@ export const pathMap = {
'medal': 'Medal',
'medal-form': 'Medal form',
'tag': 'Tag',
'tag-form': 'Tag form'
'tag-form': 'Tag form',
'hr': 'H&R',
'hr-detail': 'H&R Detail'
}