src/components/smallModule/NewTest.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/pages/test/testManager/noTest.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/smallModule/NewTest.vue
@@ -8,7 +8,7 @@ </div> </div> <div class="new-test-content"> <el-button class="block-button" type="primary" size="small" :disabled="!to">新建试验</el-button> <el-button class="block-button" type="primary" size="small" :disabled="!to" @click="routeTo">新建试验</el-button> </div> </div> </template> @@ -46,6 +46,11 @@ } }, methods: { routeTo() { this.$router.push(this.to); } }, computed: { url(){ let url = ""; src/pages/test/testManager/noTest.vue
@@ -11,9 +11,9 @@ <test-card title="试验选择" no-header no-footer> <div class="new-test-list"> <div class="new-test-item"> <new-test text2="绕阻试验"></new-test> <new-test text2="空载试验" :icon="1"></new-test> <new-test text2="负载试验" :icon="2"></new-test> <new-test text2="绕阻试验" to="/index/windingTestIndex"></new-test> <new-test text2="空载试验" :icon="1" to="/index/noLoadTest"></new-test> <new-test text2="负载试验" :icon="2" to="/index/loadTest"></new-test> </div> <div class="new-test-item"> <new-test text2="升温试验" :icon="4"></new-test>