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