| 123456789101112131415161718192021222324252627282930313233343536373839 |
- import { get } from '../http/http'
- const prefix = "dawn/api/v1/"
- const apiBase = {
- getAssignStatusOptions() {
- return get(prefix + "assignment-status-select")
- },
- getChargerTypeOptions() {
- return get(prefix + "charger-type-select")
- },
- getDataStatusOptions() {
- return get(prefix + "data-status-select")
- },
- getAuditStatusOptions() {
- return get(prefix + "audit-status-select")
- },
- getUserGroupOptions(groupType) {
- return get(prefix + "group-select", {groupType: groupType})
- },
- getUserTypeOptions() {
- return get(prefix + "user-type-select")
- },
- /**
- * 获取用户列表(模糊查询)
- * @param {Object} data {email}
- */
- getUserOptions(data) {
- return get(prefix + "user-select", data)
- },
- getCountryList() {
- return get(prefix + "country-select")
- },
- getProviderList() {
- return get(prefix + "service-provider-select")
- }
- }
- export default apiBase;
|