From 666dd4033f07cd2114f9ca362d3bdf81ad28b0be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Fri, 22 Sep 2023 11:09:06 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=8B=86=E5=88=86=E5=B7=B2=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E6=96=87=E6=9C=AC-=E8=AF=B7=E6=B1=82=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../documentSplit/modules/SplitText.vue | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/src/views/documentTool/documentSplit/modules/SplitText.vue b/src/views/documentTool/documentSplit/modules/SplitText.vue index dbe4e242..66edb28b 100644 --- a/src/views/documentTool/documentSplit/modules/SplitText.vue +++ b/src/views/documentTool/documentSplit/modules/SplitText.vue @@ -150,34 +150,6 @@ export default { this.visible = false this.$emit('visible', false) }, - loadData (arg) { - if (!this.url.list) { - this.$message.error('请设置url.list属性!') - return - } - // 加载数据 若传入参数1则加载第一页的内容 - if (arg === 1) { - this.ipagination.current = 1 - } - const params = this.getQueryParams()// 查询条件 - this.loading = true - postAction(this.url.list, params).then((res) => { - if (res.success) { - // update-begin---author:zhangyafei Date:20201118 for:适配不分页的数据列表------------ - this.dataSource = res.result.records || res.result - if (res.result.total) { - this.ipagination.total = res.result.total - } else { - this.ipagination.total = 0 - } - // update-end---author:zhangyafei Date:20201118 for:适配不分页的数据列表------------ - } else { - this.$message.warning(res.message) - } - }).finally(() => { - this.loading = false - }) - }, // 取消 cancelSplit () { this.visible = false