管道基础大数据平台系统开发-【前端】-新系統界面
liupengpeng
2023-02-13 a670b7361a32c8b40af9afbf49770d47f4c240e9
src/views/datamanage/dataLoader.vue
@@ -260,7 +260,7 @@
          @size-change="handleSizeChange"
          @current-change="handleCurrentChange"
          :current-page="listData.pageIndex"
          :page-sizes="[10, 20, 30, 40]"
          :page-sizes="[10, 20, 50, 100]"
          :page-size="listData.pageSize"
          layout="total, sizes, prev, pager, next, jumper"
          :total="count"
@@ -342,7 +342,7 @@
          @size-change="handleLoaderSizeChange"
          @current-change="handleLoaderCurrentChange"
          :current-page="listLoader.pageIndex"
          :page-sizes="[10, 20, 30, 40]"
          :page-sizes="[10, 20, 50, 100]"
          :page-size="listLoader.pageSize"
          layout="total, sizes, prev, pager, next, jumper"
          :total="count1"
@@ -426,9 +426,10 @@
        checkStrictly: true,
        emitPath: false,
      },
      wareSelectOne: null,
      wareSelectTwo: null,
      listWare: [],
        wareSelectOne: null,
      wareSelectTwo: null,
      activeName: '',
      activeName2: '',
      activeName3: '',
@@ -771,10 +772,8 @@
    },
    singleElection3(res) {
      this.wareTableFlag = res;
      this.activeName3 = this.tableWareThree[res].tab + res;
    },
    //查询所有的表
@@ -855,7 +854,7 @@
    },
    //文件上传
    setFileUpload() {
      this.handlerLoading(true);
      this.fullscreenLoading = true;
      var token = getToken();
      var formData = new FormData();
@@ -874,22 +873,24 @@
        processData: false,
        contentType: false,
        success: (rs) => {
          this.getFileLength();
          this.$message({
this.fullscreenLoading = false;
   this.$message({
            message: '数据上传成功',
            type: 'success'
          });
          this.getFileLength();
      this.clearFileSelect();
        },
        error: (rs) => {
          this.fullscreenLoading = false;
          this.$message.error('数据上传失败');
           this.clearFileSelect();
        }
      });
      this.handlerLoading(false);
    },
    //获取文件上传数据
    async getFileLength() {
@@ -977,7 +978,7 @@
    //Loading显隐
    handlerLoading(res) {
      this.fullscreenLoading = res;
    },
    //目录切换
    catalogChange(value) {
@@ -1217,15 +1218,7 @@
      justify-content: center;
    }
  }
  .el-icon-d-arrow-right {
    color: white;
  }
  .el-icon-d-arrow-left {
    color: #fff;
  }
  .el-icon-plus {
    color: white;
  }
  /*修改table 表体的背景颜色和文字颜色*/
  /deep/ .el-table {
    background-color: transparent;
@@ -1328,3 +1321,4 @@
  }
}
</style>