【修改】增加菜单
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
const routes = [
|
||||||
|
// 报告管理
|
||||||
|
{
|
||||||
|
path: '/basemes',
|
||||||
|
name: 'Layout',
|
||||||
|
component: () => import('../../views/Layout.vue'),
|
||||||
|
children:[
|
||||||
|
{
|
||||||
|
path: 'setting',
|
||||||
|
name: 'Setting',
|
||||||
|
component: () => import('../../views/baseMes/index.vue'),
|
||||||
|
meta: {
|
||||||
|
crumb: ['基本设置']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
export default routes
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
<template>
|
||||||
|
<div class="content-height">
|
||||||
|
<el-row class="inputForm">
|
||||||
|
<el-col :span="6">
|
||||||
|
<div class="tag-item showLimit">
|
||||||
|
<label class="tag-title">水印前缀:</label>
|
||||||
|
<el-input v-model="name" placeholder="请输入水印前缀"
|
||||||
|
maxlength="100" show-word-limit></el-input>
|
||||||
|
</div>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="2" align="right" class="tag-btns">
|
||||||
|
<el-button type="primary" @click="save">保存</el-button>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "index",
|
||||||
|
data(){
|
||||||
|
return {
|
||||||
|
name:'',
|
||||||
|
processForm:{}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
label.tag-title {
|
||||||
|
//width: auto;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: normal;
|
||||||
|
color: #646464;
|
||||||
|
display: inline-block;
|
||||||
|
width: 112px;
|
||||||
|
height: 19px;
|
||||||
|
line-height: 19px;
|
||||||
|
padding-left: 13px;
|
||||||
|
// border-right: 1px solid #BFBFBF;
|
||||||
|
margin-right: 10px;
|
||||||
|
margin-top: 2.5px;
|
||||||
|
}
|
||||||
|
.tag-item {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.inputForm{
|
||||||
|
padding-top: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user