|
@@ -42,6 +42,8 @@
|
|
|
<el-button plain class="enter-button" @click.native="handleSelect('1')"><svg-icon icon-class="env-enter" />环境管理</el-button>
|
|
|
<el-button plain class="enter-button" @click.native="handleSelect('playback')"><svg-icon icon-class="playback-enter" />流量回放</el-button>
|
|
|
<el-button plain class="enter-button" @click.native="handleSelect('9')"><svg-icon icon-class="tool-enter" />工具集合</el-button>
|
|
|
+ <el-button v-if="false" plain class="enter-button" @click.native="handleSelect('auto')">
|
|
|
+ <svg-icon icon-class="tool-enter" />自动化测试</el-button>
|
|
|
</div>
|
|
|
<div class="home-carousel">
|
|
|
<el-carousel :height="imgHeight + 'px'" indicator-position="outside">
|
|
@@ -192,6 +194,7 @@ img.img-arrow {
|
|
|
left: 48.95%;
|
|
|
}
|
|
|
.enter-button {
|
|
|
+ width: 120px;
|
|
|
margin-top: 6vh;
|
|
|
margin-right: 30px;
|
|
|
margin-left: 0px;
|
|
@@ -299,7 +302,7 @@ img.img-arrow {
|
|
|
<script>
|
|
|
import { mapGetters } from 'vuex'
|
|
|
import FloatMenu from './floatMenu'
|
|
|
-import { logoutUrl, envUrl, toolsUrl, playBackUrl } from '@/apiConfig/requestIP.js'
|
|
|
+import { logoutUrl, envUrl, toolsUrl, playBackUrl, automation } from '@/apiConfig/requestIP.js'
|
|
|
import { settingUserGetBiz } from '@/api/projectIndex'
|
|
|
import { materialGetMaterialList } from '@/api/monthly/index.js'
|
|
|
|
|
@@ -400,6 +403,9 @@ export default {
|
|
|
case '10':
|
|
|
this.$router.push({ name: '测试用例' })
|
|
|
break
|
|
|
+ case 'auto':
|
|
|
+ window.open(automation, '_block')
|
|
|
+ break
|
|
|
case 'playback':
|
|
|
window.open(playBackUrl, '_self')
|
|
|
break
|