| | |
| | | }, |
| | | }) |
| | | .then((res) => { |
| | | if (res.code === 201) { |
| | | this.addLoad = false; |
| | | return; |
| | | } |
| | | this.$message.success("添加成功"); |
| | | this.addDia = false; |
| | | this.selectList("page"); |
| | |
| | | } |
| | | ) |
| | | .then((res) => { |
| | | if (res.code === 201) { |
| | | this.loading = false; |
| | | return; |
| | | } |
| | | this.downDia = false; |
| | | this.loading = false; |
| | | this.$message.success("导出成功"); |
| | |
| | | this.$refs.upload.clearFiles(); |
| | | this.uploadDia = false; |
| | | this.uploading = false; |
| | | if (response.code == 201) { |
| | | if (response.code != 200) { |
| | | this.$message.error(response.message); |
| | | return; |
| | | } |
| | |
| | | ), |
| | | }) |
| | | .then((res) => { |
| | | if (res.code === 201) { |
| | | return; |
| | | } |
| | | this.$message.success("删除成功"); |
| | | this.selectList("page"); |
| | | }) |
| | |
| | | } |
| | | ) |
| | | .then((res) => { |
| | | if (res.code === 201) { |
| | | return; |
| | | } |
| | | this.$parent.submitBatchCheckDialog(); |
| | | this.$message.success("操作成功"); |
| | | }); |