Commit c1773542 by yuwei

2.0.0项目初始化

parent 6822437d
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -59,7 +59,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '数据集新增',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -58,7 +58,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '数据集详情',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -59,7 +59,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '数据集编辑',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<el-form :model="queryParams" ref="queryForm" :inline="true">
<el-form-item label="数据集名称" prop="setName">
<el-input
......@@ -166,8 +166,7 @@ export default {
name: 'DataSetList',
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
tableHeight: document.body.offsetHeight - 230 + 'px',
tableHeight: document.body.offsetHeight - 340 + 'px',
// 展示切换
showOptions: {
data: {},
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -22,19 +22,19 @@
<el-form-item label="数据源名称" prop="sourceName">
<el-input v-model="form.sourceName" placeholder="请输入数据源名称" />
</el-form-item>
<el-form-item label="主机" prop="host">
<el-form-item label="主机" prop="dbSchema.host">
<el-input v-model="form.dbSchema.host" placeholder="请输入主机" />
</el-form-item>
<el-form-item label="端口" prop="port">
<el-form-item label="端口" prop="dbSchema.port">
<el-input v-model="form.dbSchema.port" placeholder="请输入端口" />
</el-form-item>
<el-form-item label="数据库" prop="dbName">
<el-form-item label="数据库" prop="dbSchema.dbName">
<el-input v-model="form.dbSchema.dbName" placeholder="请输入数据库" />
</el-form-item>
<el-form-item label="用户名" prop="username">
<el-form-item label="用户名" prop="dbSchema.username">
<el-input v-model="form.dbSchema.username" placeholder="请输入用户名" />
</el-form-item>
<el-form-item label="密码" prop="password">
<el-form-item label="密码" prop="dbSchema.password">
<el-input v-model="form.dbSchema.password" placeholder="请输入密码" />
</el-form-item>
<el-form-item label="状态" prop="status">
......@@ -69,7 +69,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '数据源新增',
// 展示切换
showOptions: {
......@@ -98,19 +97,19 @@ export default {
sourceName: [
{ required: true, message: '数据源名称不能为空', trigger: 'blur' }
],
host: [
'dbSchema.host': [
{ required: true, message: '主机不能为空', trigger: 'blur' }
],
port: [
'dbSchema.port': [
{ required: true, message: '端口不能为空', trigger: 'blur' }
],
dbName: [
'dbSchema.dbName': [
{ required: true, message: '数据库不能为空', trigger: 'blur' }
],
username: [
'dbSchema.username': [
{ required: true, message: '用户名不能为空', trigger: 'blur' }
],
password: [
'dbSchema.password': [
{ required: true, message: '密码不能为空', trigger: 'blur' }
]
},
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -68,7 +68,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '数据源详情',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -69,7 +69,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '数据源编辑',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<el-form :model="queryParams" ref="queryForm" :inline="true">
<el-form-item label="数据源名称" prop="sourceName">
<el-input
......@@ -99,7 +99,7 @@
border
tooltip-effect="dark"
:size="tableSize"
:max-height="tableHeight"
:height="tableHeight"
style="width: 100%;margin: 15px 0;"
>
<el-table-column type="selection" width="55" align="center" />
......@@ -166,8 +166,7 @@ export default {
name: 'DataSourceList',
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
tableHeight: document.body.offsetHeight - 230 + 'px',
tableHeight: document.body.offsetHeight - 340 + 'px',
// 展示切换
showOptions: {
data: {},
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -43,7 +43,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '登录日志详情',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<el-form :model="queryParams" ref="queryForm" :inline="true">
<el-form-item label="用户名称" prop="userName">
<el-input
......@@ -84,7 +84,7 @@
border
tooltip-effect="dark"
:size="tableSize"
:max-height="tableHeight"
:height="tableHeight"
style="width: 100%;margin: 15px 0;"
>
<el-table-column type="selection" width="55" align="center" />
......@@ -144,8 +144,7 @@ export default {
name: 'LoginLogList',
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
tableHeight: document.body.offsetHeight - 230 + 'px',
tableHeight: document.body.offsetHeight - 340 + 'px',
// 展示切换
showOptions: {
data: {},
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -70,7 +70,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '操作日志详情',
// 展示切换
showOptions: {
......
......@@ -159,7 +159,7 @@ export default {
name: 'OperLogList',
data () {
return {
tableHeight: document.body.offsetHeight - 330 + 'px',
tableHeight: document.body.offsetHeight - 340 + 'px',
// 展示切换
showOptions: {
data: {},
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -56,7 +56,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '任务新增',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -55,7 +55,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '任务详情',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -56,7 +56,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '任务编辑',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<el-form :model="queryParams" ref="queryForm" :inline="true">
<el-form-item label="任务名称" prop="jobName">
<el-input
......@@ -123,7 +123,7 @@
border
tooltip-effect="dark"
:size="tableSize"
:max-height="tableHeight"
:height="tableHeight"
style="width: 100%;margin: 15px 0;"
>
<el-table-column type="selection" width="55" align="center" />
......@@ -211,8 +211,7 @@ export default {
name: 'JobList',
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
tableHeight: document.body.offsetHeight - 230 + 'px',
tableHeight: document.body.offsetHeight - 340 + 'px',
// 展示切换
showOptions: {
data: {},
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -43,7 +43,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '任务日志详情',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<el-form :model="queryParams" ref="queryForm" :inline="true">
<el-form-item label="定时任务" prop="jobId">
<el-select
......@@ -91,7 +91,7 @@
border
tooltip-effect="dark"
:size="tableSize"
:max-height="tableHeight"
:height="tableHeight"
style="width: 100%;margin: 15px 0;"
>
<el-table-column type="selection" width="55" align="center" />
......@@ -152,8 +152,7 @@ export default {
name: 'JobLogList',
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
tableHeight: document.body.offsetHeight - 230 + 'px',
tableHeight: document.body.offsetHeight - 340 + 'px',
// 展示切换
showOptions: {
data: {},
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -50,7 +50,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '参数新增',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -49,7 +49,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '参数详情',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -50,7 +50,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '参数编辑',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<el-form :model="queryParams" ref="queryForm" :inline="true">
<el-form-item label="参数名称" prop="configName">
<el-input
......@@ -106,7 +106,7 @@
border
tooltip-effect="dark"
:size="tableSize"
:max-height="tableHeight"
:height="tableHeight"
style="width: 100%;margin: 15px 0;"
>
<el-table-column type="selection" width="55" align="center" />
......@@ -173,8 +173,7 @@ export default {
name: 'ConfigList',
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
tableHeight: document.body.offsetHeight - 230 + 'px',
tableHeight: document.body.offsetHeight - 340 + 'px',
// 展示切换
showOptions: {
data: {},
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -54,7 +54,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '部门新增',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -53,7 +53,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '部门详情',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -54,7 +54,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '部门编辑',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
......@@ -60,7 +60,7 @@
border
tooltip-effect="dark"
:size="tableSize"
:max-height="tableHeight"
:height="tableHeight"
default-expand-all
style="width: 100%;margin: 15px 0;"
>
......@@ -120,8 +120,7 @@ export default {
name: 'DeptList',
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
tableHeight: document.body.offsetHeight - 230 + 'px',
tableHeight: document.body.offsetHeight - 340 + 'px',
// 展示切换
showOptions: {
data: {},
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -47,7 +47,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '字典新增',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -46,7 +46,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '字典详情',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -47,7 +47,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 200 + 'px',
title: '字典编辑',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -50,7 +50,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '字典项新增',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -49,7 +49,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '字典项详情',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -50,7 +50,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '字典项编辑',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<el-form :model="queryParams" ref="queryForm" :inline="true">
<el-form-item label="字典项文本" prop="itemText">
<el-input
......@@ -107,7 +107,7 @@
border
tooltip-effect="dark"
:size="tableSize"
:max-height="tableHeight"
:height="tableHeight"
style="width: 100%;margin: 15px 0;"
>
<el-table-column type="selection" width="55" align="center" />
......@@ -182,8 +182,7 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
tableHeight: document.body.offsetHeight - 230 + 'px',
tableHeight: document.body.offsetHeight - 340 + 'px',
// 展示切换
showOptions: {
data: {},
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -81,7 +81,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '资源新增',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -80,7 +80,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '资源详情',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -81,7 +81,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '资源编辑',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<el-row type="flex" justify="space-between">
<el-col :span="12">
<el-button-group>
......@@ -60,7 +60,7 @@
border
tooltip-effect="dark"
:size="tableSize"
:max-height="tableHeight"
:height="tableHeight"
style="width: 100%;margin: 15px 0;"
>
<template v-for="(item, index) in tableColumns">
......@@ -119,8 +119,7 @@ export default {
name: 'MenuList',
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
tableHeight: document.body.offsetHeight - 230 + 'px',
tableHeight: document.body.offsetHeight - 340 + 'px',
// 展示切换
showOptions: {
data: {},
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -44,7 +44,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '岗位新增',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -43,7 +43,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '岗位详情',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -44,7 +44,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '岗位编辑',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<el-form :model="queryParams" ref="queryForm" :inline="true">
<el-form-item label="岗位名称" prop="postName">
<el-input
......@@ -99,7 +99,7 @@
border
tooltip-effect="dark"
:size="tableSize"
:max-height="tableHeight"
:height="tableHeight"
style="width: 100%;margin: 15px 0;"
>
<el-table-column type="selection" width="55" align="center" />
......@@ -166,8 +166,7 @@ export default {
name: 'PostList',
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
tableHeight: document.body.offsetHeight - 230 + 'px',
tableHeight: document.body.offsetHeight - 340 + 'px',
// 展示切换
showOptions: {
data: {},
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -87,7 +87,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '角色新增',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -88,7 +88,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '角色详情',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -89,7 +89,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '角色编辑',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<el-form :model="queryParams" ref="queryForm" :inline="true">
<el-form-item label="角色名称" prop="roleName">
<el-input
......@@ -99,7 +99,7 @@
border
tooltip-effect="dark"
:size="tableSize"
:max-height="tableHeight"
:height="tableHeight"
style="width: 100%;margin: 15px 0;"
>
<el-table-column type="selection" width="55" align="center" />
......@@ -166,8 +166,7 @@ export default {
name: 'RoleList',
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
tableHeight: document.body.offsetHeight - 230 + 'px',
tableHeight: document.body.offsetHeight - 340 + 'px',
// 展示切换
showOptions: {
data: {},
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -92,7 +92,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '用户新增',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -91,7 +91,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '用户详情',
// 展示切换
showOptions: {
......
<template>
<div>
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<div slot="header" class="clearfix">
<span>{{ title }}</span>
<el-button-group style="float: right;">
......@@ -92,7 +92,6 @@ export default {
},
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
title: '用户编辑',
// 展示切换
showOptions: {
......
......@@ -2,7 +2,7 @@
<div>
<el-row :gutter="20">
<el-col :span="4">
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<el-tree
:data="deptOptions"
default-expand-all
......@@ -15,7 +15,7 @@
</el-card>
</el-col>
<el-col :span="20">
<el-card class="box-card" shadow="always" :body-style="{ height: bodyHeight }" style="overflow-y: auto;">
<el-card class="box-card" shadow="always">
<el-form :model="queryParams" ref="queryForm" :inline="true">
<el-form-item label="用户名称" prop="username">
<el-input
......@@ -133,7 +133,7 @@
border
tooltip-effect="dark"
:size="tableSize"
:max-height="tableHeight"
:height="tableHeight"
style="width: 100%;margin: 15px 0;"
>
<el-table-column type="selection" width="55" align="center" />
......@@ -204,8 +204,7 @@ export default {
name: 'UserList',
data () {
return {
bodyHeight: document.body.offsetHeight - 130 + 'px',
tableHeight: document.body.offsetHeight - 230 + 'px',
tableHeight: document.body.offsetHeight - 340 + 'px',
// 展示切换
showOptions: {
data: {},
......
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