Commit 3bf9bcd1 authored by yanzhongrong's avatar yanzhongrong

ui style

parent 289766ca
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
label: '自动监控' label: '自动监控'
} }
], ],
data: [ data: [
        {          { 
          type: 1,           type: 1,
          id: 0,           id: 0,
...@@ -61,72 +61,42 @@ export default { ...@@ -61,72 +61,42 @@ export default {
              type: 2,               type: 2,
              iconName: 'level2_R',               iconName: 'level2_R',
              label: 'STATION1未开通',               label: 'STATION1未开通',
              children: [{               children: []
                id: 13,
                type: 3,
                iconName: 'level3_R',
                label: '三级 1-1-1'
              }]
            },             },
            {             {
              id: 2,               id: 2,
              type: 2,               type: 2,
              iconName: 'level2_R',               iconName: 'level2_R',
              label: 'STATION2未开通',               label: 'STATION2未开通',
              children: [{               children: []
                id: 12,
                type: 3,
                iconName: 'level3_R',
                label: '三级 1-1-1'
              }]
            },             },
{ {
              id: 3,               id: 3,
              type: 2,               type: 2,
              iconName: 'level2_R',               iconName: 'level2_R',
              label: 'STATION3未开通',               label: 'STATION3未开通',
              children: [{               children: []
                id: 12,
                type: 3,
                iconName: 'level3_R',
                label: '三级 1-1-1'
              }]
            },             },
{ {
              id: 4,               id: 4,
              type: 2,               type: 2,
              iconName: 'level2_R',               iconName: 'level2_R',
              label: 'STATION4未开通',               label: 'STATION4未开通',
              children: [{               children: []
                id: 12,
                type: 3,
                iconName: 'level3_R',
                label: '三级 1-1-1'
              }]
            },             },
{ {
              id: 5,               id: 5,
              type: 2,               type: 2,
              iconName: 'level2_R',               iconName: 'level2_R',
              label: 'STATION5未开通',               label: 'STATION5未开通',
              children: [{               children: []
                id: 12,
                type: 3,
                iconName: 'level3_R',
                label: '三级 1-1-1'
              }]
            },             },
{ {
              id: 6,               id: 6,
              type: 2,               type: 2,
              iconName: 'level2_R',               iconName: 'level2_R',
              label: 'STATION6未开通',               label: 'STATION6未开通',
              children: [{               children: []
                id: 12,
                type: 3,
                iconName: 'level3_R',
                label: '三级 1-1-1'
              }]
            },             },
            {             {
              id: 7,               id: 7,
...@@ -147,26 +117,26 @@ export default { ...@@ -147,26 +117,26 @@ export default {
children: [{ children: [{
id: 1, id: 1,
                  type: 5,                   type: 5,
                  iconName: 'level4_R',                   iconName: 'level5_R',
                  label: '漏缆K362+784张家口方向'                   label: '漏缆K362+784张...'
},{ },{
id: 2, id: 2,
                  type: 5,                   type: 5,
                  iconName: 'level4_R',                   iconName: 'level5_R',
                  label: '漏缆K362+7呼和浩特方向'                   label: '漏缆K362+7呼和...'
} }
] ]
                },                 },
                {                  { 
                  type: 5,                   type: 5,
                  id: 6,                   id: 6,
                  iconName: 'level5_R',                   iconName: 'level4_R',
                  label: '故障定位单位_K365'                   label: '故障定位单位_K365'
                },                 },
                {                  { 
                  type: 5,                   type: 5,
                  id: 7,                   id: 7,
                  iconName: 'level5_R',                   iconName: 'level4_R',
                  label: '故障定位单位_K368'                   label: '故障定位单位_K368'
                }                 }
] ]
...@@ -179,13 +149,13 @@ export default { ...@@ -179,13 +149,13 @@ export default {
                children: [{                 children: [{
                  id: 8,                   id: 8,
                  type: 3,                   type: 3,
                  iconName: 'level2_Z',                   iconName: 'level4_R',
                  label: '漏缆K362+784张...'                   label: '漏缆K362+784张...'
                },                 },
                {                 {
                  id:9,                   id:9,
                  type: 2,                   type: 2,
                  iconName: 'level5_R',                   iconName: 'level4_R',
                  label: '漏缆K362+784张...'                   label: '漏缆K362+784张...'
                }]                 }]
              }               }
...@@ -196,17 +166,13 @@ export default { ...@@ -196,17 +166,13 @@ export default {
              type: 2,               type: 2,
              iconName: 'level2_R',               iconName: 'level2_R',
              label: '(8)VLCB-ZZT02',               label: '(8)VLCB-ZZT02',
              children: [{               children: []
                id: 12,
                type: 3,
                iconName: 'level3_R',
                label: '三级 1-1-1'
              }]
            }             }
          ]           ]
        }         }
      ],       ]
,
defaultProps: { defaultProps: {
children: 'children', children: 'children',
label: 'label' label: 'label'
......
...@@ -80,7 +80,7 @@ export const constantRoutes = [ ...@@ -80,7 +80,7 @@ export const constantRoutes = [
component: Layout, component: Layout,
redirect: '/setting/add', redirect: '/setting/add',
name: 'Setting', name: 'Setting',
meta: { title: '配置管理' }, meta: { title: '配置管理', icon: 'dashboard' },
children: [ children: [
{ {
path: 'add', path: 'add',
...@@ -156,6 +156,18 @@ export const constantRoutes = [ ...@@ -156,6 +156,18 @@ export const constantRoutes = [
name: 'leakyCableRepair', name: 'leakyCableRepair',
component: () => import('@/views/history/leakyCableRepair/index.vue'), component: () => import('@/views/history/leakyCableRepair/index.vue'),
meta: { title: '漏缆监测维护状态' } meta: { title: '漏缆监测维护状态' }
},
{
path: '',
name: 'leakyCableRepair',
component: () => import('@/views/history/leakyCableRepair/index.vue'),
meta: { title: '设备连接历史状态' }
},
{
path: '',
name: 'leakyCableRepair',
component: () => import('@/views/history/leakyCableRepair/index.vue'),
meta: { title: '设备连接维修历史' }
} }
] ]
}, },
...@@ -169,13 +181,13 @@ export const constantRoutes = [ ...@@ -169,13 +181,13 @@ export const constantRoutes = [
path: 'updateUser', path: 'updateUser',
name: 'UpdateUser', name: 'UpdateUser',
component: () => import('@/views/user/updateUser'), component: () => import('@/views/user/updateUser'),
meta: { title: '个人信息管理', icon: 'dashboard' } meta: { title: '个人信息管理' }
}, },
{ {
path: 'userList', path: 'userList',
name: 'UserList', name: 'UserList',
component: () => import('@/views/user/userList'), component: () => import('@/views/user/userList'),
meta: { title: '用户信息列表', icon: 'dashboard' } meta: { title: '用户信息列表' }
} }
] ]
}, },
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
<el-tab-pane label="未确认" name="third">未确认</el-tab-pane> <el-tab-pane label="未确认" name="third">未确认</el-tab-pane>
</el-tabs> </el-tabs>
<div class="operate-btn"> <div class="operate-btn">
<el-button type="primary" size="small">刷新</el-button> <el-button type="primary">刷新</el-button>
<el-button type="primary" size="small">查询</el-button> <el-button type="primary">查询</el-button>
<el-button type="primary" size="small">导出</el-button> <el-button type="primary">导出</el-button>
</div> </div>
</div> </div>
<div style="color: #666666"> <div style="color: #666666">
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
label="操作" label="操作"
width="100"> width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" size="small">确认</el-button> <el-button type="text" >确认</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
label="操作" label="操作"
width="100"> width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" size="small">确认</el-button> <el-button type="text">确认</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</div> </div>
<el-row :gutter="20" v-else-if="k.handle"> <el-row :gutter="20" v-else-if="k.handle">
<el-col :span="10" class="value_handle">{{ k.value }}</el-col> <el-col :span="10" class="value_handle">{{ k.value }}</el-col>
<el-col :span="10"><el-button size="mini" type="primary">处理告警</el-button></el-col> <el-col :span="10"><el-button type="primary" size="mini">处理告警</el-button></el-col>
</el-row> </el-row>
<div v-else>{{ k.value }}</div> <div v-else>{{ k.value }}</div>
</el-col> </el-col>
......
...@@ -44,13 +44,13 @@ ...@@ -44,13 +44,13 @@
<el-row style="margin-bottom: 10px"> <el-row style="margin-bottom: 10px">
<el-radio :label="1">复位重启FSU</el-radio> <el-radio :label="1">复位重启FSU</el-radio>
<el-radio :label="2">常规测试>>次数 <el-radio :label="2">常规测试>>次数
<el-input-number v-model="formData2.routineNum" size="small" :min="1" /> <el-input-number v-model="formData2.routineNum" :min="1" />
</el-radio> </el-radio>
</el-row> </el-row>
<el-row> <el-row>
<el-radio :label="3">请求实时连接</el-radio> <el-radio :label="3">请求实时连接</el-radio>
<el-radio :label="4">自检测试>>次数 <el-radio :label="4">自检测试>>次数
<el-input-number v-model="formData2.selfNum" size="small" :min="1" /> <el-input-number v-model="formData2.selfNum" :min="1" />
</el-radio> </el-radio>
</el-row> </el-row>
</el-radio-group> </el-radio-group>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div> <div>
<el-row class="header"> <el-row class="header">
<el-col :span="4"> <el-col :span="4">
<div class="message"><span>{{ total }}</span>条数据</div> <div class="message"><span>5</span>条数据</div>
</el-col> </el-col>
<el-col :span="2" :offset="18"> <el-col :span="2" :offset="18">
<el-button type="primary">添加新用户</el-button> <el-button type="primary">添加新用户</el-button>
...@@ -108,15 +108,11 @@ export default { ...@@ -108,15 +108,11 @@ export default {
.message { .message {
display: inline-block; display: inline-block;
margin-top: 20px; margin-top: 20px;
font-size: 14px; font-size: 16px;
color:#666666; color:#666666;
span {
font-size: 18px;
color: #409eff;
}
} }
.header { .header {
margin: 20px 0; margin-bottom: 20px;
} }
</style> </style>
<style lang="scss"> <style lang="scss">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment