Merge remote-tracking branch 'origin/master'

master
mengjiao 5 months ago
commit 21769234be

@ -18,7 +18,7 @@ const service = axios.create({
baseURL: process.env.VUE_APP_BASE_API, baseURL: process.env.VUE_APP_BASE_API,
// baseURL: 'http://192.168.202.34:30000/prod-api', // baseURL: 'http://192.168.202.34:30000/prod-api',
// 超时 // 超时
timeout: 10000 timeout: 30000
}) })
// request拦截器 // request拦截器

@ -1049,6 +1049,7 @@ export default {
this.open = true; this.open = true;
this.title = "修改生产工单"; this.title = "修改生产工单";
this.showDetail = true;
} }
}) })

@ -385,11 +385,12 @@ export default {
}, },
/**测试数据库链接**/ /**测试数据库链接**/
handleTestDB:function(row) { handleTestDB:function(row) {
this.loading = true;
const datasourceId = row.id; const datasourceId = row.id;
changeDBStatus(datasourceId).then(response => { changeDBStatus(datasourceId).then(response => {
debugger
this.$modal.msgSuccess(response.msg); this.$modal.msgSuccess(response.msg);
this.getList(); this.getList();
this.loading = false;
}); });
}, },
} }

Loading…
Cancel
Save