系统设置页面样式
This commit is contained in:
parent
aa81e1f430
commit
676502bbf7
|
@ -15,9 +15,11 @@
|
|||
<style scoped>
|
||||
|
||||
.ms-aside-container {
|
||||
border: 1px solid #EBEEF5;
|
||||
border: 1px solid #E6E6E6;
|
||||
padding: 10px;
|
||||
border-radius: 2px;
|
||||
background: white;
|
||||
box-sizing: border-box;
|
||||
background-color: #FFF;
|
||||
height: calc(100vh - 80px);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,37 +1,42 @@
|
|||
<template>
|
||||
<el-row type="flex">
|
||||
<div class="menus">
|
||||
<ms-container>
|
||||
|
||||
<ms-aside-container>
|
||||
<ms-current-user/>
|
||||
<el-divider/>
|
||||
<h1>{{$t('commons.setting')}}</h1>
|
||||
<ms-setting-menu/>
|
||||
</div>
|
||||
<div class="container">
|
||||
</ms-aside-container>
|
||||
|
||||
<ms-main-container>
|
||||
<keep-alive>
|
||||
<router-view class="main-content"/>
|
||||
<router-view/>
|
||||
</keep-alive>
|
||||
</div>
|
||||
</el-row>
|
||||
</ms-main-container>
|
||||
</ms-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import MsCurrentUser from "./CurrentUser";
|
||||
import MsSettingMenu from "./SettingMenu";
|
||||
import MsAsideContainer from "../common/components/MsAsideContainer";
|
||||
import MsContainer from "../common/components/MsContainer";
|
||||
import MsMainContainer from "../common/components/MsMainContainer";
|
||||
|
||||
export default {
|
||||
name: "MsSetting",
|
||||
components: {MsSettingMenu, MsCurrentUser},
|
||||
components: {MsMainContainer, MsContainer, MsAsideContainer, MsSettingMenu, MsCurrentUser},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.menus {
|
||||
width: 280px;
|
||||
height: 100%;
|
||||
border-right: 1px solid #E6E6E6;
|
||||
.ms-aside-container {
|
||||
height: calc(100vh - 40px);
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
background-color: #FFF;
|
||||
}
|
||||
|
||||
.ms-main-container {
|
||||
height: calc(100vh - 40px);
|
||||
}
|
||||
|
||||
h1 {
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
<span>{{$t('commons.workspace')}}</span>
|
||||
</template>
|
||||
<el-menu-item index="/setting/member">{{$t('commons.member')}}</el-menu-item>
|
||||
<el-menu-item index="/setting/testcase/report/template">测试报告模版</el-menu-item>
|
||||
<el-menu-item index="/setting/testcase/report/template">{{$t('test_track.plan_view.report_template')}}</el-menu-item>
|
||||
</el-submenu>
|
||||
|
||||
<el-submenu index="4">
|
||||
|
|
|
@ -1,21 +1,18 @@
|
|||
<template>
|
||||
<el-card v-loading="result.loading">
|
||||
<template v-slot:header>
|
||||
<ms-table-header :condition.sync="condition" @search="initData"
|
||||
:title="$t('test_track.plan_view.report_template')"
|
||||
:create-tip="$t('test_track.plan_view.create_template')" @create="templateEdit">
|
||||
</ms-table-header>
|
||||
</template>
|
||||
|
||||
<ms-main-container v-loading="result.loading">
|
||||
<el-card>
|
||||
<template v-slot:header>
|
||||
<ms-table-header :condition.sync="condition" @search="initData"
|
||||
:title="$t('test_track.plan_view.report_template')"
|
||||
:create-tip="$t('test_track.plan_view.create_template')" @create="templateEdit">
|
||||
</ms-table-header>
|
||||
</template>
|
||||
<testcase-template-item v-for="item in templates" :key="item.id"
|
||||
:template="item" @templateEdit="templateEdit" @refresh="initData"/>
|
||||
|
||||
<testcase-template-item v-for="item in templates" :key="item.id"
|
||||
:template="item" @templateEdit="templateEdit" @refresh="initData"/>
|
||||
<test-case-report-template-edit ref="templateEdit" @refresh="initData"/>
|
||||
|
||||
<test-case-report-template-edit ref="templateEdit" @refresh="initData"/>
|
||||
|
||||
</el-card>
|
||||
</ms-main-container>
|
||||
</el-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
Loading…
Reference in New Issue