|
@@ -52,21 +52,21 @@
|
|
|
<el-button
|
|
|
type="text"
|
|
|
size="small"
|
|
|
- @click="handleTest(scope.row, scope.$index)"
|
|
|
+ @click="handleTest(scope.row, scope.row.caseId-1)"
|
|
|
:disabled="!runningStatus"
|
|
|
>
|
|
|
{{
|
|
|
- runningStatusArr[scope.$index] === 1
|
|
|
+ runningStatusArr[scope.row.caseId-1] === 1
|
|
|
? '执行测试中'
|
|
|
: '执行测试'
|
|
|
}}
|
|
|
</el-button>
|
|
|
- <span v-if="runningStatusArr[scope.$index] === 1">|</span>
|
|
|
+ <span v-if="runningStatusArr[scope.row.caseId-1] === 1">|</span>
|
|
|
<el-button
|
|
|
- v-if="runningStatusArr[scope.$index] === 1"
|
|
|
+ v-if="runningStatusArr[scope.row.caseId-1] === 1"
|
|
|
type="text"
|
|
|
size="small"
|
|
|
- @click="handleUpdateStatus(scope.row, scope.$index)"
|
|
|
+ @click="handleUpdateStatus(scope.row, scope.row.caseId-1)"
|
|
|
>重置</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|