From dd2f4dd10766c70761b73eb7de6736e33f57c1f2 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Fri, 12 Apr 2024 14:20:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=8D=95=E5=8F=98=E6=9B=B4=20=20?= =?UTF-8?q?=E7=A1=AE=E5=AE=9A=E6=8C=89=E9=92=AE=E5=B1=95=E7=A4=BA=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/request.js | 2 +- src/views/plan/workorder/index.vue | 1 + src/views/system/datasource/index.vue | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/utils/request.js b/src/utils/request.js index 36245380..eff9a736 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -18,7 +18,7 @@ const service = axios.create({ baseURL: process.env.VUE_APP_BASE_API, // baseURL: 'http://192.168.202.34:30000/prod-api', // 超时 - timeout: 10000 + timeout: 30000 }) // request拦截器 diff --git a/src/views/plan/workorder/index.vue b/src/views/plan/workorder/index.vue index 7e9369d9..e7eadd9e 100644 --- a/src/views/plan/workorder/index.vue +++ b/src/views/plan/workorder/index.vue @@ -1049,6 +1049,7 @@ export default { this.open = true; this.title = "修改生产工单"; + this.showDetail = true; } }) diff --git a/src/views/system/datasource/index.vue b/src/views/system/datasource/index.vue index dd099782..13a7aa1d 100644 --- a/src/views/system/datasource/index.vue +++ b/src/views/system/datasource/index.vue @@ -385,11 +385,12 @@ export default { }, /**测试数据库链接**/ handleTestDB:function(row) { + this.loading = true; const datasourceId = row.id; changeDBStatus(datasourceId).then(response => { - debugger this.$modal.msgSuccess(response.msg); this.getList(); + this.loading = false; }); }, }