zss
2023-09-14 49bd2c4b798bd57ec09c5d731e2bc78345c6fb25
update
已修改4个文件
27 ■■■■ 文件已修改
src/components/view/Technicalindex.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/laboratoryManagement.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/technology.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/Technicalindex.vue
@@ -413,7 +413,8 @@
                        "Content-Type": "application/json"
                    }
                }).then(res => {
                    this.selectAllright()
                    /* this.selectAllright() */
                    this.$parent.removeAllTab()
                })
            },
            submitUpData() { //确定
@@ -426,8 +427,9 @@
                this.$axios.post(this.$api.url.delTechBy, {
                    id: this.upData.id
                }).then(res => {
                    this.selectAllright()
                    /* this.selectAllright() */
                    this.$message.success('删除完成')
                    this.$parent.removeAllTab()
                })
            },
            deleteRow(index, rows) {
@@ -441,7 +443,8 @@
                this.$axios.post(this.$api.url.delAllTechskill, {
                    ids: this.delete
                }).then(res => {
                    this.selectAllright()
                    /* this.selectAllright() */
                    this.$parent.removeAllTab()
                })
            },
            dels() {
src/components/view/laboratoryManagement.vue
@@ -696,7 +696,9 @@
    delDeviceById() {
      this.$axios.post(this.$api.url.delDeviceById,{
          id:this.delete.id
      })
      }).then(res=>{
        this.$parent.removeAllTab()
      });
    },
    handleClick(row) {
      console.log(row);
src/components/view/technology.vue
@@ -624,8 +624,9 @@
        )
        .then((res) => {
          console.log(res);
          this.selectAllTechNam();
          /* this.selectAllTechNam(); */
          this.form = {};
          this.$parent.removeAllTab()
        });
    },
@@ -664,6 +665,8 @@
      console.log(this.delete);
      this.$axios.post(this.$api.url.delAllTech, {
        ids: this.delete,
      }).then(res=>{
        this.$parent.removeAllTab()
      });
    },
    //删除
@@ -671,6 +674,8 @@
      console.log(this.$api.url.delTechById, this.upData.id);
      this.$axios.post(this.$api.url.delTechById, {
        id: this.upData.id,
      }).then(res=>{
        this.$parent.removeAllTab()
      });
    },
    //编辑
@@ -699,7 +704,8 @@
          }
        )
        .then((res) => {
          this.selectAllTechNam()
          /* this.selectAllTechNam(), */
          this.$parent.removeAllTab()
        });
    },
@@ -720,7 +726,8 @@
          let one=this.towTree.filter(item=>{
            return item.children.length>0
          })[0]
          let name=one.children[0].name
          let name=one.children[0].name
      this.checkTreeNode.name=name
          this.selectAllTechNamStart(name)
          this.selectDataList();
        });
src/view/index.vue
@@ -579,6 +579,7 @@
            },
            removeAllTab(){
                this.upIndex++
                this.$message.warning('数据变动较大,页面自动更新!')
            }
        }
    };