| | |
| | | } |
| | | if (await this.$tip.confirm(this.$t('prompt.info', {'handle': this.$t('delete')}))) { |
| | | console.log(this.dataSelectedList,' this.dataSelectedList') |
| | | console.log( this.deleteUrl,' async deleteHandle(row) this.deleteUrl') |
| | | let res = await this.$http.delete( |
| | | this.deleteUrl, |
| | | { |
| | |
| | | this.total = 0 |
| | | return this.$tip.error(res.msg) |
| | | } |
| | | console.log(res.data,'res.data') |
| | | this.dataList = this.paging ? res.data.list : res.data |
| | | this.total = this.paging ? res.data.total : 0 |
| | | if (this.editLimit && this.editPage) { |
| | | this.editLimit = '' |
| | | this.editPage = '' |
| | | } |
| | | console.log(this.dataList,'this.dataList') |
| | | this.$emit('dataLoaded', this.dataList) |
| | | this.$emit('fatherMethod') |
| | | } |