zhaoxiaoqiang
2023-09-07 96f3af2ea35e3e104916b78a803afb794d6d9588
src/components/table.vue
@@ -1,7 +1,7 @@
<!--
 * @Author: zxq
 * @Date: 2021-09-13 17:29:07
 * @LastEditTime: 2023-08-31 17:14:36
 * @LastEditTime: 2023-09-05 15:30:33
 * @LastEditors: zhaoxiaoqiang 287285524@qq.com
 * @Description: In User Settings Edit
 * @FilePath: \qyp_finlean_plat\src\components\table.vue
@@ -486,6 +486,7 @@
            this.$emit("getDataList", body);
          } else if (this.nameUrl == "roleGetRoleList") {
            this.tableData = body;
            console.log(this.tableData)
            this.totals = body.total;
            this.$emit("getDataList", body);
          } else {
@@ -546,13 +547,12 @@
          data[key] = data[key].join(',');
        }
      }
      if(index==1){
       if (this.exportUrl.query) {
        data = { ...data, ...this.exportUrl.query };
      }
      this.exportLoading = true;
        request({
      request({
        url: this.exportUrl.url,
        method: "get",
        params: { ...data },