chenhaozhe
2025-12-03 b5bfca1185e60b954a403ecedd784f50f40fcc80
src/views/component/HSourceReportHtml/index.vue
@@ -306,10 +306,12 @@
                    limit: this.pageSize,
                },
            }).then((response) => {
                console.log(response)
                this.tyResList = response.data.data; //总数据
                let data1 = response.data;
                let option = [];
                if (data1.code == 1) {
                // if (data1.code == 1) {
                    this.btResList = data1.list; //接口表头数据
                    this.total = data1.count;
                    var data = []; //列字段数据
@@ -366,6 +368,9 @@
                    }
                    option.cols = [col];
                    this.dataList = option;
                if (data1.code == 0) {
                    data1.data = []
                }
                    option.data = data1.data;
                    var result = data1.data;
                    option.data = result;
@@ -409,8 +414,9 @@
                            break;
                    }
                    this.DisPlay_HideColumn(this.HModName, sessionStorage["HUserName"], option, this.dataList);
                }
                // }
            }).catch((error) => {
                console.log(error)
                this.$modal.msgError("接口请求失败!");
            });
        },