111
lkk
2025-01-20 33b53ec9f9804067fa30fe0b8d5e16a0ae2368e1
src/views/system/package/index.vue
@@ -560,7 +560,7 @@
          <el-input
            placeholder="输入关键字进行过滤"
            @input="handleFilterInput"
            v-model="queryParams.nr"
            v-model="queryParams1.nr"
            clearable
          />
          <div class="tab3" style="height: 365px">
@@ -580,11 +580,11 @@
            </el-tree>
            <pagination
              small
              v-show="total > 0"
              :total="total"
              :page.sync="queryParams.page"
              :limit.sync="queryParams.pageSize"
              @pagination="handlePageChange"
              v-show="total1 > 0"
              :total="total1"
              :page.sync="queryParams1.page"
              :limit.sync="queryParams1.pageSize"
              @pagination="getDataList"
            />
          </div>
        </el-col>
@@ -826,13 +826,18 @@
      pacId: "",
      // 总条数
      total: 0,
      total1: 0,
      // 查询参数
      queryParams: {
        page: 1,
        pageNum: 1,
        pageSize: 10,
        pacName: null,
        pacRemark: null,
      },
      queryParams1: {
        page: 1,
        pageSize: 30,
        nr: "",
      },
      // 表单参数
@@ -1267,9 +1272,9 @@
    },
    getDataList() {
      this.loading = true;
      search(this.queryParams).then((response) => {
      search(this.queryParams1).then((response) => {
        this.Treedata = response.data.list; // 更新树形数据
        this.total = response.data.total; // 更新总条数
        this.total1 = response.data.total; // 更新总条数
        this.pics = this.DataList.reduce(
          (total, item) => total + item.priceOrd,
          0
@@ -1284,12 +1289,12 @@
    //     this.Treedata = response.data.list;
    //     /*  if (this.form.tjProjectList) {
    //       this.form.tjProjectList.forEach((item) => {
    //         this.Treedata.forEach((item1) => {
    //         this.Treedata.forEach((item1) => {
    //           if (item.proId == item1.proId) {
    //             this.checkedkey.push(item1.proId);
    //             this.DataList.push(item1);
    //             this.DataList.forEach((item1) => {
    //               item1.limits = 10;
    //               if (item1.limits > 10) {
@@ -1299,7 +1304,7 @@
    //               }
    //               this.updateProPrice(item1); // 更新价格或其他逻辑
    //             });
    //           }
    //         });
    //       });