zhangzengfei
2021-01-28 beab00107c3daefd102cc559fb44300da9b7497a
add bhomebus api
11个文件已修改
36 ■■■■ 已修改文件
src/api/area.ts 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/camera.ts 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/system.ts 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/treeMenu/jsTree/tree.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/cameraAccess/components/CameraInfo.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/cameraAccess/components/LinkageRule.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/cameraAccess/components/SceneRule.vue 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/cameraAccess/index/App.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/cameraAccess/index/VideoManage.vue 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/gb28181/index/api.ts 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/area.ts
@@ -11,7 +11,7 @@
export const getGB28181CameraTree = (query: any) => {
  return request({
    url: "/data/api-v/area/gb28181Tree",
    url: "/data/api-v/gb28181/tree",
    method: "get",
    params: query
  });
@@ -51,7 +51,7 @@
export const refreshGB28181Tree = () => {
  return request({
    url: "/data/api-v/area/gb28181TreeRefresh",
    url: "/data/api-v/gb28181/treeRefresh",
    method: "post",
  });
};
src/api/camera.ts
@@ -27,8 +27,9 @@
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 }
  });
};
src/api/system.ts
@@ -24,7 +24,7 @@
export const getGB28181Config = () => {
  return request({
    url: "/data/api-v/sysset/gb28181ConfigShow",
    url: "/data/api-v/gb28181/configShow",
    method: "get"
  });
};
@@ -47,7 +47,7 @@
export const saveGB28181Config = (query: any) => {
  return request({
    url: "/data/api-v/sysset/gb28181ConfigEdit",
    url: "/data/api-v/gb28181/configEdit",
    method: "post",
    data: query
  });
src/components/treeMenu/jsTree/tree.vue
@@ -335,7 +335,6 @@
    this.initializeData(this.data);
  },
  mounted() {
    debugger
    if (this.async) {
      this.$set(this.data, 0, this.initializeLoading());
      this.handleAsyncLoad(this.data, this);
src/pages/cameraAccess/components/CameraInfo.vue
@@ -258,6 +258,7 @@
    document.addEventListener("visibilitychange", () => {
      this.visibilitychange();
    });
    debugger
    this.getSounds();
    this.eventAudio.addEventListener("ended", () => {
src/pages/cameraAccess/components/LinkageRule.vue
@@ -307,7 +307,7 @@
  position: relative;
  .devide{
    height: 10px;
    background: #E9EBF2;
    background: #e9ebf2;
  }
  .top {
    width: 100%;
@@ -577,7 +577,6 @@
  .add-btn:hover {
    color: #2249b4;
  }
}
</style>
<style lang="scss" scoped>
src/pages/cameraAccess/components/SceneRule.vue
src/pages/cameraAccess/index/App.vue
@@ -47,7 +47,7 @@
    this.TreeDataPool.readonly = false;
    this.TreeDataPool.gbReadonly = false;
    this.DataStackPool.readonly = false;
    debugger
  },
  methods: {
    getUrlKey () {
@@ -134,7 +134,7 @@
  }
  .resize-bar:hover ~ .resize-line::after,
  .resize-bar:active ~ .resize-line::after {
    content: '';
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
src/pages/cameraAccess/index/VideoManage.vue
src/pages/gb28181/index/api.ts
@@ -2,7 +2,7 @@
export const getGB28181Config = () => {
  return request({
    url: "/data/api-v/sysset/gb28181ConfigShow",
    url: "/data/api-v/gb28181/configShow",
    method: "get"
  });
};
@@ -10,7 +10,7 @@
export const saveGB28181Config = (query: any) => {
  return request({
    url: "/data/api-v/sysset/gb28181ConfigEdit",
    url: "/data/api-v/gb28181/configEdit",
    method: "post",
    data: query
  });
vue.config.js
@@ -74,7 +74,7 @@
        changeOrigin: true,
      },
      '/ws': {
        target: 'http://192.168.20.10:7003',
        target: 'http://192.168.20.189:7003',
        // ws: true,
        changeOrigin: true,
      },
@@ -91,7 +91,7 @@
        changeOrigin: true
      },
      "/api-v": {
        target: 'http://192.168.20.10:8000',
        target: 'http://192.168.20.189:8888',
        changeOrigin: true
      },
      "/api-f": {
@@ -105,15 +105,15 @@
        changeOrigin: true
      },
      "/api-u": {
        target: 'http://192.168.20.10:8000',
        target: 'http://192.168.20.189:8888',
        changeOrigin: true
      },
      "/httpImage": {
        target: 'http://192.168.20.10:7003',
        target: 'http://192.168.20.189:7003',
        changeOrigin: true, //开启代理
      },
      "/files": {
        target: 'http://192.168.20.10:7003',
        target: 'http://192.168.20.189:7003',
        changeOrigin: true, //开启代理
      }
    }