hanbaoshan
2020-12-03 35322555f2ddbc26e73b477e083d9267348c84cb
修复编辑区域名称不显示的bug;数据栈信息名称添加命名限制
4个文件已修改
26 ■■■■■ 已修改文件
src/components/canvas/Dialog.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/cameraAccess/components/DataStackInfo.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/labelMark/components/RightSide.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/search/index/Searching.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/canvas/Dialog.vue
@@ -218,7 +218,8 @@
    cancel() {
      this.changeType('0')
      this.undisabled()
      this.delCursor = {}
      //this.delCursor = {}
      this.delCursor = { type: -1, index: -1, remarksName: "", id: "" };
      this.canvasHistory.length = 0;
      this.step = -1;
      this.canvasData = JSON.parse(JSON.stringify(this.canvasDataToChild));
@@ -536,6 +537,7 @@
          _this.type = "0";
          _this.delCursor.type = "2";
          _this.delCursor.index = i;
          debugger
          _this.delCursor.remarksName = v.name;
          _this.delCursor.id = v.id;
          // console.log("当前选中元素:",_this.delCursor)
src/pages/cameraAccess/components/DataStackInfo.vue
@@ -555,6 +555,15 @@
    // 保存
    onSubmit(formName) {
      if (formName == 'addForm') {
        if (this.form.name.indexOf('/') >= 0) {
          this.$notify({
            type: "error",
            message: "保存失败,数据栈名称不能包含'/'!"
          });
          return;
        }
      }
      this.$refs[formName].validate(async valid => {
        if (valid) {
          saveDir(this.form).then(rsp => {
@@ -875,19 +884,19 @@
    vertical-align: middle;
  }
  .snapshot-video {
    background: url("/images/cameraAccess/video.png");
    background: url('/images/cameraAccess/video.png');
    background-repeat: round;
  }
  .snapshot-image {
    background: url("/images/cameraAccess/image.png");
    background: url('/images/cameraAccess/image.png');
    background-repeat: round;
  }
  .snapshot-audio {
    background: url("/images/cameraAccess/audio.png");
    background: url('/images/cameraAccess/audio.png');
    background-repeat: round;
  }
  .snapshot-files {
    background: url("/images/cameraAccess/files.png");
    background: url('/images/cameraAccess/files.png');
    background-repeat: round;
  }
}
src/pages/labelMark/components/RightSide.vue
@@ -366,7 +366,6 @@
      if (this.isShowPop) return;
      //获取鼠标相对于画板的定位
      console.log('获取当前定位信息');
      //this.$refs['labelForm'].clearValidate();
      this.$refs['labelForm'].resetFields();
      let target = {
        id: '',
@@ -378,7 +377,6 @@
      target.id = 'n'+(this.curCameraData.coords.length-1);
      //this.labels.push(target);
      this.curCameraData.coords.push(target);
      //this.curLabel = JSON.parse(JSON.stringify(target));
      this.curLabel = target;
      this.isShowPop = true;
      this.isNewLabel = true;
src/pages/search/index/Searching.vue
@@ -367,9 +367,10 @@
          if (this.VideoPhotoData.uploadType) {
            this.VideoPhotoData.findPersonByPage()
          } else {
            // this.VideoPhotoData.querySearchList();
            console.log('TreeDataPool.selectedNodes 查询es')
            this.setLoadSearch(this.VideoPhotoData.querySearchList());
          }
        }
      },