From d8e1d04b42dc073b84a41f05a2b1ae19f1ad401b Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Tue, 22 Oct 2024 10:25:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AB=98=E4=BA=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/XyTable/index.vue | 2 ++ src/utils/downloadRequest.js | 2 +- src/views/customer/component/addCustomer.vue | 2 +- src/views/finance/component/serveDraw.vue | 2 +- src/views/finance/scheduleList.vue | 17 +++++++++++------ src/views/finance/serveDetail.vue | 13 +++++++------ 6 files changed, 23 insertions(+), 15 deletions(-) diff --git a/src/components/XyTable/index.vue b/src/components/XyTable/index.vue index 6df14ca..3a0a33f 100644 --- a/src/components/XyTable/index.vue +++ b/src/components/XyTable/index.vue @@ -244,7 +244,9 @@ export default { span-method={this.spanMethod} tree-props={treeProps} fit={true} + highlight-current-roll={true} on={{ + ['row-click']: (row, column, event) => this.$emit('row-click', {row, column, event}), ['select']: selectClick, ['cell-click']: cellClick, ['select-all']: selectAllClick, diff --git a/src/utils/downloadRequest.js b/src/utils/downloadRequest.js index 3dfce31..7915bc8 100644 --- a/src/utils/downloadRequest.js +++ b/src/utils/downloadRequest.js @@ -21,7 +21,7 @@ export async function download(url,method='get',info,filename){ url, method, responseType: 'blob', - timeout:10000, + timeout: 60000, headers: { Accept: 'application/json','Content-Type':'application/json; charset=utf-8', withCredentials: true, diff --git a/src/views/customer/component/addCustomer.vue b/src/views/customer/component/addCustomer.vue index a604291..1ad742e 100644 --- a/src/views/customer/component/addCustomer.vue +++ b/src/views/customer/component/addCustomer.vue @@ -264,7 +264,7 @@ -