|
|
@ -1,9 +1,9 @@ |
|
|
|
"use strict"; |
|
|
|
|
|
|
|
import { basicAction } from "@peace/utils"; |
|
|
|
import { ApiTable } from "$utils"; |
|
|
|
// import { basicAction } from "@peace/utils";
|
|
|
|
import { ApiTable, basicAction } from "$utils"; |
|
|
|
|
|
|
|
export function getMembers(orgId) { |
|
|
|
export function getMembers (orgId) { |
|
|
|
return (dispatch) => |
|
|
|
basicAction({ |
|
|
|
type: "get", |
|
|
@ -15,7 +15,7 @@ export function getMembers(orgId) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
export function getNvr(query) { |
|
|
|
export function getNvr (query) { |
|
|
|
return (dispatch) => |
|
|
|
basicAction({ |
|
|
|
type: "get", |
|
|
@ -28,7 +28,7 @@ export function getNvr(query) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
export function getNvrDetails(orgId) { |
|
|
|
export function getNvrDetails (orgId) { |
|
|
|
return (dispatch) => |
|
|
|
basicAction({ |
|
|
|
type: "get", |
|
|
@ -39,7 +39,7 @@ export function getNvrDetails(orgId) { |
|
|
|
reducer: { name: "nvrDetails" }, |
|
|
|
}); |
|
|
|
} |
|
|
|
export function delNvr(orgId) { |
|
|
|
export function delNvr (orgId) { |
|
|
|
return (dispatch) => |
|
|
|
basicAction({ |
|
|
|
type: "del", |
|
|
@ -53,7 +53,7 @@ export function delNvr(orgId) { |
|
|
|
reducer: { name: "" }, |
|
|
|
}); |
|
|
|
} |
|
|
|
export function addchangeNvr(data) { |
|
|
|
export function addchangeNvr (data) { |
|
|
|
return (dispatch) => |
|
|
|
basicAction({ |
|
|
|
type: "post", |
|
|
@ -65,7 +65,7 @@ export function addchangeNvr(data) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
export function getVender() { |
|
|
|
export function getVender () { |
|
|
|
//获取设备厂商
|
|
|
|
return (dispatch) => |
|
|
|
basicAction({ |
|
|
@ -78,7 +78,7 @@ export function getVender() { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
export function getExport() { |
|
|
|
export function getExport () { |
|
|
|
return (dispatch) => |
|
|
|
basicAction({ |
|
|
|
type: "get", |
|
|
@ -91,7 +91,7 @@ export function getExport() { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export function getCheck(data) { |
|
|
|
export function getCheck (data) { |
|
|
|
return (dispatch) => |
|
|
|
basicAction({ |
|
|
|
type: "post", |
|
|
|