|
@@ -845,6 +845,7 @@ export default {
|
|
|
// console.log("res", res);
|
|
|
});
|
|
|
window.handleListClick = this.handleListClick;
|
|
|
+ window.handleBenchClick = this.handleBenchClick;
|
|
|
window.handleClickTask = this.handleClickTask.bind(this);
|
|
|
window.selectRowPlan = this.selectRowPlan.bind(this);
|
|
|
window.selectRowCase = this.selectRowCase.bind(this);
|
|
@@ -2417,6 +2418,11 @@ export default {
|
|
|
bus.emit("benchInfoVisible", this.currentBench);
|
|
|
});
|
|
|
},
|
|
|
+ handleBenchClick(benchId, showRemoteButton) {
|
|
|
+ this.currentBench = this.benchList.find(b => b.id == benchId);
|
|
|
+ this.isRemoteBtnVisible = showRemoteButton;
|
|
|
+ this.isDetailVisible = true;
|
|
|
+ },
|
|
|
handleListDbClick(benchId, itemtype) {
|
|
|
//this.currentBench = this.benchList.find(b => b.id == benchId);
|
|
|
//this.isDetailVisible = true;
|