| | |
| | | checkStrictly: true, |
| | | emitPath: false, |
| | | }, |
| | | wareSelectOne: null, |
| | | wareSelectTwo: null, |
| | | |
| | | listWare: [], |
| | | wareSelectOne: null, |
| | | wareSelectTwo: null, |
| | | activeName: '', |
| | | activeName2: '', |
| | | activeName3: '', |
| | |
| | | |
| | | }, |
| | | singleElection3(res) { |
| | | |
| | | this.wareTableFlag = res; |
| | | this.activeName3 = this.tableWareThree[res].tab + res; |
| | | |
| | | }, |
| | | |
| | | //查询所有的表 |
| | |
| | | }, |
| | | //文件上传 |
| | | setFileUpload() { |
| | | this.handlerLoading(true); |
| | | this.fullscreenLoading = true; |
| | | var token = getToken(); |
| | | var formData = new FormData(); |
| | | |
| | |
| | | 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() { |
| | |
| | | |
| | | //Loading显隐 |
| | | handlerLoading(res) { |
| | | this.fullscreenLoading = res; |
| | | |
| | | }, |
| | | //目录切换 |
| | | catalogChange(value) { |
| | |
| | | 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; |
| | |
| | | } |
| | | } |
| | | </style> |
| | | |