| | |
| | | if (_this.showType == "list") { |
| | | _this.tableTotal = res.total; |
| | | _this.tableData = res.data; |
| | | debugger; |
| | | } else { |
| | | _this.tabTotal = res.total; |
| | | _this.tabData = res.data; |
| | |
| | | IsFollow: this.IsFollow, |
| | | IsOperate: this.IsOperate, |
| | | }; |
| | | this.optionalConfigs = []; |
| | | this.highLevelConfigs = []; |
| | | let filterQuerys = []; |
| | | this.checkedConfigs.forEach((config) => { |
| | | let checkedOpts = config.data.filter((option) => option.isChecked); |
| | | if (checkedOpts.length) { |
| | | var linkOpts = checkedOpts.map((opt) => opt.name); |
| | | linkOpts = linkOpts.join(","); |
| | | let obj = {}; |
| | | obj[config.NameEn] = linkOpts; |
| | | filterQuerys.push(obj); |
| | | } |
| | | }); |
| | | Object.assign(query, ...filterQuerys); |
| | | // this.optionalConfigs = []; |
| | | // this.highLevelConfigs = []; |
| | | getlstInit(query).then((res) => { |
| | | if (_this.showType == "list") { |
| | | _this.tableTotal = res.total; |