qx
qx
2025-04-17 f097802c6898879b23bbd0398f3a854b10698189
src/views/hosp/project/index.vue
@@ -130,6 +130,7 @@
          v-loading="loading"
          :data="projectList"
          ref="tableRef"
          height="580"
          border
        >
          <el-table-column
@@ -1120,9 +1121,9 @@
  created() {
    this.getConsumables();
    this.getDeptList();
    this.getDeptTree().then(() => {
      this.precomputePinyin();
    });
    // this.getDeptTree().then(() => {
    //   this.precomputePinyin();
    // });
  },
  mounted() {
    this.getDeptTree().then(() => {
@@ -1410,13 +1411,18 @@
    getDeptTree() {
      return deptTree111().then((response) => {
        this.deptOptions = response.data;
        this.treeId.push(this.treeDate.id);
        this.treeId = []
        if(this.treeDate.id){
          this.treeId.push( this.treeDate.id)
        }else{
          this.treeId.push("532")
        }
      });
    },
    handleNodeClick(date) {
      this.treeDate = date;
      this.treeId = []
      console.log(this.treeId,2222);
      this.xiugaiList ={}
      this.xiugais = date.qf === "0";
      let proId = date.id;
      getInfoByProId(proId).then((response) => {
@@ -1571,6 +1577,7 @@
      }
    },
    handleUpdate1() {
      this.form={}
      this.form = this.xiugaiList;
      this.form.proStatus = this.form.proStatus.toString();
      this.proParent = true;