mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
exam support valid multiple
This commit is contained in:
Vendored
+21
@@ -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);
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
+3
-1
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user