|
|
@@ -26,35 +26,6 @@
|
|
|
</router-link>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!--<div class="column">-->
|
|
|
- <!--<div v-if="detailLoading"><page-section-loading show /></div>-->
|
|
|
- <!--<div v-else class="page-section">-->
|
|
|
- <!--<h5 class="test-title title is-5">-->
|
|
|
- <!--页面测试:-->
|
|
|
- <!--<div-->
|
|
|
- <!--v-if="functionTestList && functionTestList.length > 0"-->
|
|
|
- <!--:class="{ 'is-loading': testing }"-->
|
|
|
- <!--@click="makeTest"-->
|
|
|
- <!--class="button is-primary test-title__action"-->
|
|
|
- <!-->-->
|
|
|
- <!--触发测试-->
|
|
|
- <!--</div>-->
|
|
|
- <!--</h5>-->
|
|
|
- <!--<router-link-->
|
|
|
- <!--class="test-item"-->
|
|
|
- <!--:key="item.id"-->
|
|
|
- <!--:to="`${$route.path}/functional/${item.id}`"-->
|
|
|
- <!--v-for="item in functionTestList"-->
|
|
|
- <!--tag="div"-->
|
|
|
- <!-->-->
|
|
|
- <!--<div><strong>FUNCTIONAL TEST : #</strong> {{ item.id }}</div>-->
|
|
|
- <!--<pass-tag :pass="item.isPassAll" />-->
|
|
|
- <!--<span style="padding-left: 10px">{{-->
|
|
|
- <!--displayUnixTime(item.time)-->
|
|
|
- <!--}}</span>-->
|
|
|
- <!--</router-link>-->
|
|
|
- <!--</div>-->
|
|
|
- <!--</div>-->
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -89,31 +60,6 @@ export default {
|
|
|
},
|
|
|
mixins: [timeMixins],
|
|
|
methods: {
|
|
|
- // async makeTest() {
|
|
|
- // const { functionTestList } = this;
|
|
|
- // if (functionTestList && functionTestList.length > 0) {
|
|
|
- // this.testing = true;
|
|
|
- // const { deployId } = functionTestList[0];
|
|
|
- // const { homeworkId, projectId } = this.$route.params;
|
|
|
- // const { data } = await makeFunctionalTest({
|
|
|
- // homeworkId,
|
|
|
- // projectId,
|
|
|
- // deployId
|
|
|
- // });
|
|
|
- // this.testing = false;
|
|
|
- // if (data.success) {
|
|
|
- // this.$toast.open({
|
|
|
- // message: `测试触发成功`,
|
|
|
- // type: "is-success"
|
|
|
- // });
|
|
|
- // } else {
|
|
|
- // this.$toast.open({
|
|
|
- // message: `测试触发失败`,
|
|
|
- // type: "is-danger"
|
|
|
- // });
|
|
|
- // }
|
|
|
- // }
|
|
|
- // },
|
|
|
sortTestList(list) {
|
|
|
console.log(list);
|
|
|
if (!list) return [];
|