gaoshp
2025-08-28 68e4f07d5312537d4c8b9f8f856265e611e51e14
搜索
已修改1个文件
18 ■■■■ 文件已修改
src/views/wel/shemi.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wel/shemi.vue
@@ -200,7 +200,7 @@
  data() {
    let rejectText = '驳回';//+this.row.categoryName;
    return {
      isSearch: false,
      isSearch: null,
      treeSearchLoad: false,
      drawingNoList: [],
      searchLoading: false,
@@ -922,7 +922,7 @@
      if (this.searchTreeData.programStatus.length == 0) return;
      if (this.searchTreeData.drawingNo == "") return;
      this.treeSearchLoad = true;
      this.isSearch = true
      this.isSearch = !this.isSearch
      this.searchTreeData.status = this.searchTreeData.programStatus.join();
      this.treeData = []
      axios({
@@ -931,7 +931,11 @@
        params: this.searchTreeData
      }).then(res => {
        
        if (res.data.data.length == 0) return;
        if (res.data.data.length == 0) {
          this.treeData = [];
          this.treeSearchLoad = false;
          return
        };
        // this.option.defaultExpandAll = true;
        let treeData = this.removeHasChildren(res.data.data);
        console.log('treeData', treeData)
@@ -1280,8 +1284,12 @@
    },
    treeLoad(tree, treeNode, resolve) {
      console.log('tree', tree, treeNode, this.option)
      if(this.isSearch !== null){
        return
      }
      this.loading = true;
      var obj = { parentId: tree.id }
      axios({
        url: '/blade-mdm/program/node/lazy-list',
        method: 'get',
@@ -1303,8 +1311,12 @@
    },
    onLoad() {  //查询treeTable
      if(this.isSearch !== null){
        return
      }
      this.loading = true;
      var obj = { parentId: "" }
      axios({
        url: '/blade-mdm/program/node/lazy-list',
        method: 'get',