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; }); }, }