shuishen
2021-11-05 3a2d7d729aaeada800616ebd60eec5f42066670f
src/views/dispatch/dispatchChildoperableSee.vue
@@ -20,7 +20,7 @@
      </avue-crud>
    </div>
  </basic-container>
</template>
</template>
<script>
import {
@@ -281,12 +281,10 @@
    };
  },
  created() {
    console.log(this.userInfo);
    this.option1.column[1]["value"] = this.userInfo.dept_id;
    this.option1.column[3]["value"] = this.userInfo.Id;
    this.option1.column[4]["value"] = this.userInfo.nick_name;
    if (this.userInfo.role_name == "保安公司管理员") {
      console.log("保安公司管理员登入");
      const deptColumn = this.findObject(this.option1.column, "deptId");
      deptColumn.search = false;
    } else {
@@ -411,10 +409,8 @@
    },
    selectionChange1(list) {
      this.selectionList1 = list;
      // console.log(this.selectionList1.length);
    },
    handleDelete1() {
      console.log(this.selectionList1);
      if (this.selectionList1.length === 0) {
        this.$message.warning("请选择至少一条数据");
        return;
@@ -437,7 +433,6 @@
        });
    },
    refreshChange1() {
      // console.log(4534)
      this.onLoad1(this.page1, this.query1);
    },
@@ -520,7 +515,6 @@
            this.option1.column,
            "dispatcherUnitId"
          );
          // console.log(res.data.data, 111);
          dispatcherUnitIdColumn.dicData = res.data.data;
        });
      }
@@ -544,7 +538,6 @@
  //   //   this.initData();
  //   // }
  //   deps(){
  //     console.log(this.deps,5646646)
  //   }
  // },
  mounted() {
@@ -563,4 +556,4 @@
.el-collapse-item {
  padding-top: 15px !important;
}
</style>
</style>