sd
2025-08-06 11a88a9bf8febf05cdd9dee2389ddd43273f3e05
摄像机配置-对接国标便摄像机配置任务接口
3个文件已修改
16 ■■■■ 已修改文件
src/pages/cameraAccess/components/SceneRule.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/cameraAccessHy/components/SeparateRules.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/modelTuning/components/rightCardList.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/cameraAccess/components/SceneRule.vue
@@ -251,6 +251,11 @@
  created() {
    this.userInfo = sessionStorage.getItem("userInfo") && JSON.parse(sessionStorage.getItem("userInfo"))
  },
  computed: {
    isGb28182() {
      return this.TreeDataPool.selectedNode.cameraType === 1
    }
  },
  mounted() {
    // window.addEventListener('resize', this.windowSizeChange)
    this.getSounds();
@@ -518,6 +523,7 @@
      return true;
    },
    saveSceneRule() {
      console.log(this.Camera)
      if (!this.validateForm()) {
        return;
      }
@@ -553,7 +559,8 @@
      // this.sceneForm.workTimes = workTimes
      this.sceneForm.taskDescription = this.sceneForm.desc
      this.sceneForm.knows = fileIds,
        this.sceneForm.createUser = this.userInfo.id
      this.sceneForm.createUser = this.userInfo.id
      this.sceneForm.type = this.isGb28182?1:0
      // console.info(this.sceneForm)
      this.onSaveScene(this.sceneForm);
    },
src/pages/cameraAccessHy/components/SeparateRules.vue
@@ -313,9 +313,9 @@
  methods: {
    getStatus() {
      let refreshCameraInfo = getCameraInfo
      if (this.Camera.gb28181) {
        refreshCameraInfo = getGB28181CameraInfo
      }
      // if (this.Camera.gb28181) {//2025-08-05 国标和普通摄像机暂用一个家口
      //   refreshCameraInfo = getGB28181CameraInfo
      // }
      refreshCameraInfo(this.Camera.cameraId).then((res) => {
        if (res.success) {
          switch (res.data.status) {
src/pages/modelTuning/components/rightCardList.vue
@@ -314,6 +314,7 @@
                    type: 'success',
                    message: '成功'
                });
                // for (let i = 0; i < this.galleryItems.length; i++) {
                //     if (parm.trainId === this.galleryItems[i].trainId) {
                //         this.galleryItems[i].status = parm.status