王震
2023-09-14 7d3abf8ef0ca35f431e74f8282d80beda40e535d
src/components/view/laboratoryManagement.vue
@@ -1,8 +1,8 @@
<template>
  <div>
  <div class="laboratoryMangement">
    <el-row>
      <el-col :span="12" class="top_left_name">设备维护</el-col>
      <el-col :span="12" style="text-align: right;">
      <el-col :span="12" style="text-align: right;" class="title">
        <el-button
          @click="testItem()"
          type="primary"
@@ -588,6 +588,7 @@
        let one=this.towTree[0]
        console.log(one);
        let name =one.father
        this.checkTreeNode.father = name
           console.log(name);
        this.selectDeviceStart(name)
        });
@@ -696,7 +697,9 @@
    delDeviceById() {
      this.$axios.post(this.$api.url.delDeviceById,{
          id:this.delete.id
      })
      }).then(res=>{
        this.$parent.removeAllTab()
      });
    },
    handleClick(row) {
      console.log(row);
@@ -995,3 +998,25 @@
  line-height: 14px;
}
</style>
<style>
   .laboratoryMangement .title *{
      font-size: 14px;
   }
   .laboratoryMangement .table_top_div *{
      font-size: 14px;
   }
   .laboratoryMangement .title .el-button {
     height: 32px;
     border: 1px solid rgba(190, 190, 190, 0.44);
     box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41);
     padding: 0 12px;
   }
   .laboratoryMangement .table_top_div .el-button {
     height: 32px;
     border: 1px solid rgba(190, 190, 190, 0.44);
     box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41);
     padding: 0 12px;
   }
</style>