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