parent
8ab5782b64
commit
affcb543bc
|
@ -0,0 +1,18 @@
|
|||
package io.metersphere.track.dto;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* @author song.tianyang
|
||||
* @Date 2021/4/26 5:06 下午
|
||||
* @Description
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
public class TestPlanScenarioCaseDTO {
|
||||
private String id;
|
||||
private String projectId;
|
||||
private String testPlanId;
|
||||
private String apiScenarioId;
|
||||
}
|
|
@ -258,6 +258,7 @@ export default {
|
|||
}
|
||||
this.$nextTick(() => {
|
||||
checkTableRowIsSelect(this, this.condition, this.tableData, this.$refs.scenarioTable, this.selectRows);
|
||||
this.selectDataCounts = getSelectDataCounts(this.condition, this.total, this.selectRows);
|
||||
})
|
||||
});
|
||||
}
|
||||
|
@ -279,6 +280,7 @@ export default {
|
|||
}
|
||||
this.$nextTick(() => {
|
||||
checkTableRowIsSelect(this, this.condition, this.tableData, this.$refs.scenarioTable, this.selectRows);
|
||||
this.selectDataCounts = getSelectDataCounts(this.condition, this.total, this.selectRows);
|
||||
})
|
||||
});
|
||||
}
|
||||
|
@ -294,18 +296,7 @@ export default {
|
|||
})
|
||||
},
|
||||
handleBatchExecute() {
|
||||
if(this.condition != null && this.condition.selectAll) {
|
||||
this.$alert(this.$t('commons.option_cannot_spread_pages'), '', {
|
||||
confirmButtonText: this.$t('commons.confirm'),
|
||||
callback: (action) => {
|
||||
if (action === 'confirm') {
|
||||
this.$refs.runMode.open();
|
||||
}
|
||||
}
|
||||
})
|
||||
}else {
|
||||
this.$refs.runMode.open();
|
||||
}
|
||||
},
|
||||
orderBySelectRows(rows){
|
||||
let selectIds = Array.from(rows).map(row => row.id);
|
||||
|
|
Loading…
Reference in New Issue