WXL
4 天以前 952ce5369317b40f6c6f2e11e70969d50108d240
src/views/patient/patient/behospitalized.vue
@@ -547,7 +547,7 @@
  created() {
    this.getList();
    this.listDept();
    // this.listDept();
    this.gettabList();
  },
  methods: {
@@ -577,12 +577,12 @@
        this.loading = false;
      });
    },
    listDept() {
      listDept(this.queryParams).then((res) => {
        this.deptList = res.data;
        console.log(this.deptList, "this.deptList");
      });
    },
    // listDept() {
    //   listDept(this.queryParams).then((res) => {
    //     this.deptList = res.data;
    //     console.log(this.deptList, "this.deptList");
    //   });
    // },
    /** 查询标签列表 */
    gettabList() {
      const tagqueryParams = {
@@ -647,8 +647,19 @@
    /** 重置按钮操作 */
    resetQuery() {
      this.dateRange = [];
      this.resetForm("queryForm");
      this.$refs.tree.setCurrentKey(null);
      this.queryParams= {
        pageNum: 1,
        pageSize: 10,
        cry: 0,
        searchscope:2,
        idcardno: undefined,
        name: undefined,
        status: undefined,
        tagIds: undefined,
        telcode: undefined,
      };
      // this.resetForm("queryForm");
      // this.$refs.tree.setCurrentKey(null);
      this.handleQuery();
    },
    // 多选框选中数据