| | |
| | | |
| | | export const getGB28181CameraTree = (query: any) => { |
| | | return request({ |
| | | url: "/data/api-v/area/gb28181Tree", |
| | | url: "/data/api-v/gb28181/tree", |
| | | method: "get", |
| | | params: query |
| | | }); |
| | |
| | | |
| | | export const refreshGB28181Tree = () => { |
| | | return request({ |
| | | url: "/data/api-v/area/gb28181RefreshTree", |
| | | url: "/data/api-v/gb28181/treeRefresh", |
| | | method: "post", |
| | | }); |
| | | }; |
| | |
| | | |
| | | export const getCameraInfo = (id: string) => { |
| | | return request({ |
| | | url: "/data/api-v/camera/show/" + id, |
| | | method: "get" |
| | | url: "/data/api-v/camera/show", |
| | | method: "get", |
| | | params: { cid: id } |
| | | }); |
| | | }; |
| | | |
| | |
| | | |
| | | export const getGB28181Config = () => { |
| | | return request({ |
| | | url: "/data/api-v/sysset/gb28181ConfigShow", |
| | | url: "/data/api-v/gb28181/configShow", |
| | | method: "get" |
| | | }); |
| | | }; |
| | |
| | | |
| | | export const saveGB28181Config = (query: any) => { |
| | | return request({ |
| | | url: "/data/api-v/sysset/gb28181ConfEdit", |
| | | url: "/data/api-v/gb28181/configEdit", |
| | | method: "post", |
| | | data: query |
| | | }); |
| | |
| | | this.initializeData(this.data); |
| | | }, |
| | | mounted() { |
| | | debugger |
| | | if (this.async) { |
| | | this.$set(this.data, 0, this.initializeLoading()); |
| | | this.handleAsyncLoad(this.data, this); |
| | |
| | | document.addEventListener("visibilitychange", () => { |
| | | this.visibilitychange(); |
| | | }); |
| | | debugger |
| | | this.getSounds(); |
| | | |
| | | this.eventAudio.addEventListener("ended", () => { |
| | |
| | | position: relative; |
| | | .devide{ |
| | | height: 10px; |
| | | background: #E9EBF2; |
| | | background: #e9ebf2; |
| | | } |
| | | .top { |
| | | width: 100%; |
| | |
| | | .add-btn:hover { |
| | | color: #2249b4; |
| | | } |
| | | |
| | | } |
| | | </style> |
| | | <style lang="scss" scoped> |
| | |
| | | this.TreeDataPool.readonly = false; |
| | | this.TreeDataPool.gbReadonly = false; |
| | | this.DataStackPool.readonly = false; |
| | | |
| | | debugger |
| | | }, |
| | | methods: { |
| | | getUrlKey () { |
| | |
| | | } |
| | | .resize-bar:hover ~ .resize-line::after, |
| | | .resize-bar:active ~ .resize-line::after { |
| | | content: ''; |
| | | content: ""; |
| | | position: absolute; |
| | | width: 16px; |
| | | height: 16px; |
| | |
| | | |
| | | export const getGB28181Config = () => { |
| | | return request({ |
| | | url: "/data/api-v/sysset/gb28181ConfigShow", |
| | | url: "/data/api-v/gb28181/configShow", |
| | | method: "get" |
| | | }); |
| | | }; |
| | |
| | | |
| | | export const saveGB28181Config = (query: any) => { |
| | | return request({ |
| | | url: "/data/api-v/sysset/gb28181ConfEdit", |
| | | url: "/data/api-v/gb28181/configEdit", |
| | | method: "post", |
| | | data: query |
| | | }); |